diff --git a/.gitignore b/.gitignore index 1a0307b0..8a6cd606 100644 --- a/.gitignore +++ b/.gitignore @@ -1,13 +1,28 @@ -node_modules/ -coverage -.nyc_output/ -*.DS_Store -auth-info.json -config.json -.idea/ -npm-debug.log -*.class +# Mobile Tools for Java (J2ME) +.mtj.tmp/ + +# Package Files # +*.jar +*.war +*.ear + +# exclude jar for gradle wrapper +!gradle/wrapper/*.jar + +# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml +hs_err_pid* + +# build files +**/target target +.gradle +build +*.class .classpath .settings .project + +# others +.idea/ +*.iml +.DS_Store \ No newline at end of file diff --git a/.swagger-codegen-ignore b/.swagger-codegen-ignore new file mode 100644 index 00000000..716bcf16 --- /dev/null +++ b/.swagger-codegen-ignore @@ -0,0 +1,32 @@ +# Swagger Codegen Ignore + +# Use this file to prevent files from being overwritten by the generator. +# The patterns follow closely to .gitignore or .dockerignore. + +# As an example, the C# client generator defines ApiClient.cs. +# You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line: +#ApiClient.cs + +# You can match any string of characters against a directory, file or extension with a single asterisk (*): +#foo/*/qux +# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux + +# You can recursively match patterns against a directory, file or extension with a double asterisk (**): +#foo/**/qux +# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux + +# You can also negate patterns with an exclamation (!). +# For example, you can ignore all files in a docs folder with the file extension .md: +#docs/*.md +# Then explicitly reverse the ignore rule for a single file: +#!docs/README.md + +# Swagger and Git files +.swagger-codegen-ignore +git_push.sh + +# Project files +LICENSE +gradle* +build.sbt +.travis.yml diff --git a/.swagger-codegen/VERSION b/.swagger-codegen/VERSION new file mode 100644 index 00000000..580ce109 --- /dev/null +++ b/.swagger-codegen/VERSION @@ -0,0 +1 @@ +2.4.21-SNAPSHOT \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index 7ea808fb..27bab522 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,9 +16,11 @@ notifications: on_failure: change jdk: - - oraclejdk8 - - openjdk7 + - oraclejdk11 + - oraclejdk12 + - oraclejdk13 script: mvn -X clean test after_failure: "cat /home/travis/build/docusign/docusign-java-client/target/surefire-reports/SdkUnitTests.txt && cat /home/travis/build/docusign/docusign-java-client/target/surefire-reports/TEST-SdkUnitTests.xml" + diff --git a/CHANGELOG.md b/CHANGELOG.md index 57743d17..99af03de 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,45 +1,188 @@ # DocuSign Java Client Changelog See [DocuSign Support Center](https://support.docusign.com/en/releasenotes/) for Product Release Notes. +## [v2.23.0] - ESignature API v2-21.3.00.00 - 2021-09-29 +### Changed +- Added support for version v2-21.3.00.00 of the DocuSign eSignature API. +- Updated the SDK release version. +### Added +- SSL certificate chain-of-trust validation. (DCM-5802) +### Removed +- Removed Joda dependency. + +## [v2.23.0-RC1] - ESignature API v2-21.2.02.00 - 2021-08-30 +### Changed +- Added support for version v2-21.2.02.00 of the DocuSign ESignature API. +- Updated the SDK release version. + +## [v2.22.0] - eSignature API v2-21.2.00.00 - 2021-07-22 +### Changed +- Added support for version v2-21.2.00.00 of the DocuSign eSignature API. +- Updated the SDK release version. + +## [v2.22.0-RC1] - eSignature API v2-21.2.00.00 - 2021-07-09 +### Changed +- Added support for version v2-21.2.00.00 of the DocuSign eSignature API. +- Updated the SDK release version. + +## [v2.21.1] - eSignature API v2-21.1.02.00 - 2021-07-07 +### Fixed +- Issue [`#194`](https://github.com/docusign/docusign-java-client/issues/194): Error Reading Entity from Input Stream. (DCM-5802) + +## [v2.21.1-RC1] - eSignature API v2-21.1.02.00 - 2021-05-28 +### Fixed +- Issue [`#194`](https://github.com/docusign/docusign-java-client/issues/194): Error Reading Entity from Input Stream. (DCM-5802) + +## [v2.21.0-RC1] - eSignature API v2-21.1.02.00 - 2021-05-24 +### Removed +- Removed methods `getAccountSettingsExport`,`getSealProviders` from Accounts. +- Removed methods `createConnectSecret`,`deleteConnectSecret`,`generateConnectSecret`,`getConnectSecrets` from Connect. +- Removed methods `completeSignHash`,`getUserInfo`,`healthCheck`,`signHashSessionInfo`,`updateTransaction` from TrustServiceProviders. +- Removed method `getUserListExport` from Users. +### Changed +- Added support for version v2-21.1.02.00 of the DocuSign eSignature API. +- Updated the SDK release version. + +## [v2.20.0] - eSignature API v2-21.1.01.03 - 2021-04-26 +### Added +- Added new method `deleteConnectSecret` to connect. +### Changed +- Added support for version v2-21.1.01.03 of the DocuSign eSignature API. +- Updated the SDK release version. + +## [v2.20.0-RC1] - eSignature API v2-21.1.01 - 2021-04-13 +### Changed +- Added support for version v2-21.1.01 of the DocuSign eSignature API. +- Updated the SDK release version. + +## [v2.19.0-RC2] - eSignature API v2-20.4.01 - 2021-01-20 +### Changed +- Added support for version v2-20.4.01 of the DocuSign eSignature API. +- Updated the SDK release version. +### Fixed +- Expected field name for **Group level** brands resource model is `brandOptions` (as opposed to `brands`). The model name has been renamed to `GroupBrands` (instead of `BrandsResponse`). Setter and Getter methods were also updated. (DCM-4463) + +## [v2.18.0] - eSignature API v2-20.3.00 - 2020-09-24 +### Changed +- Added support for version v2-20.3.00 of the DocuSign eSignature API. +- Updated the SDK release version. + +## [v2.18.0-RC1] - eSignature API v2-20.3.00 - 2020-09-14 +### Changed +- Added support for version v2-20.3.00 of the DocuSign eSignature API. +- Updated the SDK release version. + +## [2.17.0] - Jersey2 with support of DELETE request body - 2020-08-21 +### Changed +- Upgraded the HTTP client from Jersey1 to Jersey 2. This resulted in a non-breaking change but the dependency list has largely been changed. (DCM-3324) +- Added support for request body in all DELETE methods. (DCM-4454) +- Added support for version v2-20.2.02 of the DocuSign eSignature API. +- Updated the SDK release version. + +## [2.17.0-BETA] - Jersey2 with support of DELETE request body - 2020-08-11 +### Changed +- Upgraded the HTTP client from Jersey1 to Jersey 2. This resulted in a non-breaking change but the dependency list has largely been changed. (DCM-3324) +- Added support for request body in all DELETE methods. (DCM-4454) +- Added support for version v2-20.2.02 of the DocuSign eSignature API. +- Updated the SDK release version. + +## [2.16.0-BETA] - Upgrade to Jersey2 - 2020-07-02 +### Changed +- Upgraded the HTTP client from Jersey1 to Jersey 2. This resulted in a non-breaking change but the dependency list has largely been changed. (DCM-3324) +- Added support for version v2-20.2.00 of the DocuSign eSignature API. +- Updated the SDK release version. + +## [v2.15.0] - eSignature API v2-20.1.02 - 2020-06-02 +### Changed +- Added support for version v2-20.1.02 of the DocuSign eSignature API. +- Updated the SDK release version. + +## [v2.14.0] - eSignature API v2-20.1.00 - 2020-03-30 +### Changed +- Added support for version v2-20.1.00 of the DocuSign eSignature API. +- Updated the SDK release version. +### Fixed +- POST calls fail on some instances of WebLogic server because of strict Content-Length policy (DCM-3939). +### Added +- Added the new property `copyRecipientData` to envelopes. When set to **true**, the information that recipients enter is retained when you clone an envelope. For example, if you resend an envelope that was declined or voided after one or more recipients entered data, that data is retained. Note that the new account UI setting `enableEnvelopeCopyWithData` must be enabled for the account. +- Added `RecipientIdentityInputOption` and `inputOptions` to `RecipientIdentityVerification`: Reserved for DocuSign. + +## [v2.13.0] - eSignature API v2-19.4.01 - 2020-02-03 +### Changed +- The SDK now supports version 19.4.01 of the DocuSign eSignature v2 API. +- SDK Release Version updated. + +# [v2.13.0-RC2] - eSignature API v2-19.4.01 - 2019-12-31 +### Added +- TSPs API endpoints + +## [v2.13.0-RC1] - eSignature API v2-19.4.01 - 2019-12-26 +### Changed +- The SDK now supports version 19.4.01 of the DocuSign eSignature v2 API. +- SDK Release Version updated. + +## [v2.12.0] - eSignature API v2-19.2.02 - 2019-10-08 +### Changed +- The SDK now supports version 19.2.02 of the DocuSign eSignature v2 API. +- SDK Release Version updated. +- Changed JDK versions for TravisCI as older versions reached EOL. +## Fixed +- Issue [`#55`](https://github.com/docusign/docusign-java-client/issues/55): Unable to revoke OAuth token. (DCM-2926) +- requestJWTUserToken does not give error response in exception. (DCM-3410) + +## [v2.12.0-RC1] - eSignature API v2-19.2.02 - 2019-08-29 +### Changed +- The SDK now supports version 19.2.02 of the DocuSign eSignature v2 API. +- SDK Release Version updated. +## Fixed +- Issue [`#55`](https://github.com/docusign/docusign-java-client/issues/55): Unable to revoke OAuth token. (DCM-2926) +- requestJWTUserToken does not give error response in exception. (DCM-3410) + +## [v2.11.0] Full support of the Bulk Send API - 2019-06-26 +## Fixed +- Issue [`#98`](https://github.com/docusign/docusign-java-client/issues/98): 411 Error thrown from BulkEnvelopesAPI updateRecipients call. +### Removed +- Removed hardcoded test config values from the test cases. Now getting test config values from the environment variables. + ## [v2.10.1] - Jackson library patch - 2019-05-23 ### Security - [CVE-2019-12086](https://nvd.nist.gov/vuln/detail/CVE-2019-12086). ## [v2.10.0] - eSignature API v19.1.02 - 2019-05-16 ### Changed -* The SDK now supports version 19.1.02 of the DocuSign eSignature API. -* SDK Release Version updated. +- The SDK now supports version 19.1.02 of the DocuSign eSignature API. +- SDK Release Version updated. ### Added -* Added support for the new http.nonProxyHosts Proxy option, which you can use to indicate hosts that should be accessed without going through a proxy. (DCM-2850) -* Added new Cache-Control and Pragma headers to OAuth server request calls. (DCM-2242) -* Added a new *tabGroupLabels* field to all Tabs models -* Added a new *Witnesses* field to all Recipients models -* Implemented models for Smart Sections feature -* Implemented initial support of HMAC for DocuSign Connect +- Added support for the new http.nonProxyHosts Proxy option, which you can use to indicate hosts that should be accessed without going through a proxy. (DCM-2850) +- Added new Cache-Control and Pragma headers to OAuth server request calls. (DCM-2242) +- Added a new *tabGroupLabels* field to all Tabs models +- Added a new *Witnesses* field to all Recipients models +- Implemented models for Smart Sections feature +- Implemented initial support of HMAC for DocuSign Connect ### Fixed -* A bug with that could cause the *moveEnvelopes* method call to return a response without a *Content-Type* header. (DCM-1403) -* A bug that could prevent a user from replacing their JWT auth token. (DCM-3209) -* Removed Gradle references to an insecure/outdated Jackson package. (DCM-3267) +- A bug with that could cause the *moveEnvelopes* method call to return a response without a *Content-Type* header. (DCM-1403) +- A bug that could prevent a user from replacing their JWT auth token. (DCM-3209) +- Removed Gradle references to an insecure/outdated Jackson package. (DCM-3267) ## [v2.10.0-RC2] - eSignature API v19.1.02 - 2019-05-09 ### Fixed -* A regression bug where the ApiClient authentications member field was locked and prevented writing to it. +- A regression bug where the ApiClient authentications member field was locked and prevented writing to it. ## [v2.10.0-RC1] - eSignature API v19.1.02 - 2019-05-03 ### Changed -* The SDK now supports version 19.1.02 of the DocuSign eSignature API. -* SDK Release Version updated. +- The SDK now supports version 19.1.02 of the DocuSign eSignature API. +- SDK Release Version updated. ### Added -* Added support for the new http.nonProxyHosts Proxy option, which you can use to indicate hosts that should be accessed without going through a proxy. (DCM-2850) -* Added new Cache-Control and Pragma headers to OAuth server request calls. (DCM-2242) -* Added a new *tabGroupLabels* field to all Tabs models -* Added a new *Witnesses* field to all Recipients models -* Implemented models for Smart Sections feature -* Implemented initial support of HMAC for DocuSign Connect +- Added support for the new http.nonProxyHosts Proxy option, which you can use to indicate hosts that should be accessed without going through a proxy. (DCM-2850) +- Added new Cache-Control and Pragma headers to OAuth server request calls. (DCM-2242) +- Added a new *tabGroupLabels* field to all Tabs models +- Added a new *Witnesses* field to all Recipients models +- Implemented models for Smart Sections feature +- Implemented initial support of HMAC for DocuSign Connect ### Fixed -* A bug with that could cause the *moveEnvelopes* method call to return a response without a *Content-Type* header. (DCM-1403) -* A bug that could prevent a user from replacing their JWT auth token. (DCM-3209) -* Removed Gradle references to an insecure/outdated Jackson package. (DCM-3267) +- A bug with that could cause the *moveEnvelopes* method call to return a response without a *Content-Type* header. (DCM-1403) +- A bug that could prevent a user from replacing their JWT auth token. (DCM-3209) +- Removed Gradle references to an insecure/outdated Jackson package. (DCM-3267) ## [v2.9.0] - eSignature API v18.4.02 - 2019-02-27 ### Added diff --git a/README.md b/README.md index f72a5d7c..6b7ef8cf 100644 --- a/README.md +++ b/README.md @@ -1,91 +1,72 @@ -# The Official DocuSign Java Client +# The Official DocuSign eSignature Java Client SDK [![Build status][travis-image]][travis-url] [![Maven Central status][maven-image]][maven-url] ## Requirements -- Java 1.7+ -- Free [Developer Sandbox](https://go.docusign.com/sandbox/productshot/?elqCampaignId=16531) +* Java 1.9+ +* Free [Developer Sandbox](https://go.docusign.com/sandbox/productshot/?elqCampaignId=16531) ## Compatibility -- Java 1.7+ - -## Note - -This open-source SDK is provided for cases where you would like to make additional changes that the SDK does not provide out-of-the-box. If you simply want to use the SDK with any of the examples shown in the [Developer Center](https://developers.docusign.com/esign-rest-api/code-examples), follow the installation instructions below. +* Java 1.9+ ## Installation +This SDK is provided as open source, which enables you to customize its functionality to suit your particular use case. To do so, download or clone the repository. If the SDK’s given functionality meets your integration needs, or if you’re working through our [code examples](https://developers.docusign.com/docs/esign-rest-api/how-to/) from the [DocuSign Developer Center](https://developers.docusign.com/), you merely need to install it by following the instructions below. -Note: DocuSign uses **Eclipse** with **Maven** for testing purposes. +**Note:** DocuSign uses Eclipse with Maven for testing purposes. ### Maven: - -1. In Eclipse, create a new project by selecting **File** -> **New** -> **Project**. -2. In the **New Project Wizard** , expand **Maven** , then select **Maven Project.** +1. In Eclipse, create a new project by selecting **File > New > Project**. +2. In the New Project Wizard, expand **Maven,** then select **Maven Project.** 3. Leave **Create a simple project** unchecked. -4. Select **Next** , then provide a unique **Group** and **Artifact Id**. -5. In the directory where you've saved your project, open the _pom.xml_ file. -6. In the _pom.xml_ file, locate the **dependencies** node. -7. Add: - -``` - - com.docusign - docusign-esign-java - 2.10.1 - -``` - -8. If your project is still open, restart **Eclipse**. +4. Select **Next,** then provide a unique **groupId** and **artifactId.** +5. In the directory where you've saved your project, open the pom.xml file. +6. In the pom.xml file, locate the `dependencies` node. +7. Add: + ``` + + com.docusign + docusign-esign-java + 2.23.0 + + ``` +8. If your project is still open, restart Eclipse. ## Dependencies - This client has the following external dependencies: -- swagger:swagger-annotations:jar:1.5.8 -- sun.jersey:jersey-client:jar:1.19.1 -- sun.jersey.contribs:jersey-multipart:jar:1.19.1 -- fasterxml.jackson.core:jackson-core:jar:2.9.9 -- fasterxml.jackson.core:jackson-annotations:jar:2.9.9 -- fasterxml.jackson.core:jackson-databind:jar:2.9.9 -- fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:jar:2.9.9 -- fasterxml.jackson.datatype:jackson-datatype-joda:jar:2.1.5 -- joda-time:joda-time:jar:2.9.3 -- brsanthu:migbase64:jar:2.2 -- apache.oltu.oauth2:org.apache.oltu.oauth2.client:1.0.2 -- junit:junit:jar:4.12 - -## Code Examples - -### Launchers +* swagger:swagger-annotations:jar:1.5.8 +* sun.jersey:jersey-client:jar:1.19.1 +* sun.jersey.contribs:jersey-multipart:jar:1.19.1 +* fasterxml.jackson.core:jackson-core:jar:2.12.1 +* fasterxml.jackson.core:jackson-annotations:jar:2.12.1 +* fasterxml.jackson.core:jackson-databind:jar:2.12.1 +* fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:jar:2.12.1 +* brsanthu:migbase64:jar:2.2 +* apache.oltu.oauth2:org.apache.oltu.oauth2.client:1.0.2 +* junit:junit:jar:4.13.1 -DocuSign provides a sample application referred to as a [Launcher](https://github.com/docusign/eg-03-java-auth-code-grant). The Launcher contains a set of 14 common use cases and associated source files. These examples use DocuSign's [Authorization Code Grant](https://developers.docusign.com/esign-rest-api/guides/authentication/oauth2-code-grant) flow. +## Code examples +You can find on our GitHub a self-executing package of code examples for the eSignature Java SDK, called a [Launcher](https://github.com/docusign/code-examples-java/blob/master/README.md), that demonstrates common use cases. You can also download a version preconfigured for your DocuSign developer account from [Quickstart](https://developers.docusign.com/docs/esign-rest-api/quickstart/). These examples can use either the [Authorization Code Grant](https://developers.docusign.com/esign-rest-api/guides/authentication/oauth2-code-grant) or [JSON Web Token (JWT)](https://developers.docusign.com/esign-rest-api/guides/authentication/oauth2-jsonwebtoken) authentication workflows. -### Proof-of-concept applications +## OAuth implementations +For details regarding which type of OAuth grant will work best for your DocuSign integration, see [Choose OAuth Type](https://developers.docusign.com/platform/auth/choose/) in the [DocuSign Developer Center](https://developers.docusign.com/). -If your goal is to create a proof-of-concept application, DocuSign provides a set of [Quick Start](https://github.com/docusign/qs-java) examples. The Quick Start examples are meant to be used with DocuSign's [OAuth Token Generator](https://developers.docusign.com/oauth-token-generator), which will allow you to generate tokens for the Demo/Sandbox environment only. These tokens last for eight hours and will enable you to build your proof-of-concept application without the need to fully implement an OAuth solution. - -## OAuth Implementations - -For details regarding which type of OAuth grant will work best for your DocuSign integration, see the [REST API Authentication Overview](https://developers.docusign.com/esign-rest-api/guides/authentication) guide located on the [DocuSign Developer Center](https://developers.docusign.com/esign-rest-api/guides/authentication). - -For security purposes, DocuSign recommends using the Authorization Code Grant flow. - -There are other use-case scenarios, such as **single page applications** (SPA) that use **Cross-Origin Resource Sharing** (CORS), or where there may not be a user to interact with your Service Account. For these use cases, DocuSign also supports [JWT](https://developers.docusign.com/esign-rest-api/guides/authentication/oauth2-jsonwebtoken) and [Implicit](https://developers.docusign.com/esign-rest-api/guides/authentication/oauth2-implicit) grants. For code examples, see the links below: - -- [JWT (JSON Web Token)](https://github.com/docusign/eg-01-java-jwt) -- Implicit Grant (coming soon) +For security purposes, DocuSign recommends using the [Authorization Code Grant](https://developers.docusign.com/esign-rest-api/guides/authentication/oauth2-code-grant) flow. ## Support - Log issues against this client through GitHub. We also have an [active developer community on Stack Overflow](https://stackoverflow.com/questions/tagged/docusignapi). ## License +The DocuSign eSignature Java Client SDK is licensed under the [MIT License](https://github.com/docusign/docusign-java-client/blob/master/LICENSE). -The DocuSign Java Client is licensed under the [MIT License](https://github.com/docusign/docusign-java-client/blob/master/LICENSE). - +### Additional resources +* [DocuSign Developer Center](https://developers.docusign.com/) +* [DocuSign API on Twitter](https://twitter.com/docusignapi) +* [DocuSign For Developers on LinkedIn](https://www.linkedin.com/showcase/docusign-for-developers/) +* [DocuSign For Developers on YouTube](https://www.youtube.com/channel/UCJSJ2kMs_qeQotmw4-lX2NQ) [travis-image]: https://img.shields.io/travis/docusign/docusign-java-client.svg?style=flat [travis-url]: https://travis-ci.org/docusign/docusign-java-client diff --git a/build.gradle b/build.gradle index 5547fe38..1b80f714 100644 --- a/build.gradle +++ b/build.gradle @@ -2,15 +2,15 @@ apply plugin: 'idea' apply plugin: 'eclipse' group = 'com.docusign' -version = '2.10.1' +version = '2.23.0' buildscript { repositories { jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:1.2.2' - classpath 'com.github.dcendents:android-maven-plugin:1.2' + classpath 'com.android.tools.build:gradle:2.3.+' + classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5' classpath 'ch.raffael.pegdown-doclet:pegdown-doclet:1.3' } } @@ -25,19 +25,19 @@ if(hasProperty('target') && target == 'android') { apply plugin: 'com.android.library' apply plugin: 'com.github.dcendents.android-maven' - + android { - compileSdkVersion 22 - buildToolsVersion '22.0.0' + compileSdkVersion 25 + buildToolsVersion '25.0.2' defaultConfig { minSdkVersion 14 - targetSdkVersion 22 + targetSdkVersion 25 } compileOptions { sourceCompatibility JavaVersion.VERSION_1_7 targetCompatibility JavaVersion.VERSION_1_7 } - + // Rename the aar correctly libraryVariants.all { variant -> variant.outputs.each { output -> @@ -53,7 +53,7 @@ if(hasProperty('target') && target == 'android') { provided 'javax.annotation:jsr250-api:1.0' } } - + afterEvaluate { android.libraryVariants.all { variant -> def task = project.tasks.create "jar${variant.name.capitalize()}", Jar @@ -65,12 +65,12 @@ if(hasProperty('target') && target == 'android') { artifacts.add('archives', task); } } - + task sourcesJar(type: Jar) { from android.sourceSets.main.java.srcDirs classifier = 'sources' } - + artifacts { archives sourcesJar } @@ -79,20 +79,35 @@ if(hasProperty('target') && target == 'android') { apply plugin: 'java' apply plugin: 'maven' - + sourceCompatibility = JavaVersion.VERSION_1_7 targetCompatibility = JavaVersion.VERSION_1_7 - + install { repositories.mavenInstaller { pom.artifactId = 'docusign-esign-java' } } - + task execute(type:JavaExec) { main = System.getProperty('mainClass') classpath = sourceSets.main.runtimeClasspath } + + task sourcesJar(type: Jar, dependsOn: classes) { + classifier = 'sources' + from sourceSets.main.allSource + } + + task javadocJar(type: Jar, dependsOn: javadoc) { + classifier = 'javadoc' + from javadoc.destinationDir + } + + artifacts { + archives sourcesJar + archives javadocJar + } } task getDeps(type: Copy) { @@ -101,10 +116,9 @@ task getDeps(type: Copy) { } ext { - swagger_annotations_version = "1.5.8" - jackson_version = "2.9.9" - jersey_version = "1.19.1" - jodatime_version = "2.9.3" + swagger_annotations_version = "1.5.17" + jackson_version = "2.10.1" + jersey_version = "2.29.1" junit_version = "4.12" oltu_version = "1.0.2" jwt_version = "3.4.1" @@ -113,17 +127,16 @@ ext { dependencies { compile "io.swagger:swagger-annotations:$swagger_annotations_version" - compile "com.sun.jersey:jersey-client:$jersey_version" - compile "com.sun.jersey.contribs:jersey-multipart:$jersey_version" + compile "org.glassfish.jersey.core:jersey-client:$jersey_version" + compile "org.glassfish.jersey.media:jersey-media-multipart:$jersey_version" + compile "org.glassfish.jersey.media:jersey-media-json-jackson:$jersey_version" compile "com.fasterxml.jackson.core:jackson-core:$jackson_version" compile "com.fasterxml.jackson.core:jackson-annotations:$jackson_version" compile "com.fasterxml.jackson.core:jackson-databind:$jackson_version" - compile "com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:$jackson_version" - compile "com.fasterxml.jackson.datatype:jackson-datatype-joda:2.1.5" - compile "joda-time:joda-time:$jodatime_version" compile "com.brsanthu:migbase64:2.2" - compile "org.apache.oltu.oauth2:org.apache.oltu.oauth2.client:$oltu_version" testCompile "junit:junit:$junit_version" + compile "org.apache.oltu.oauth2:org.apache.oltu.oauth2.client:$oltu_version" compile "com.auth0:java-jwt:$jwt_version" compile "org.bouncycastle:bcprov-jdk15on:$bouncy_version" } + diff --git a/checkstyle.xml b/checkstyle.xml new file mode 100644 index 00000000..ab167882 --- /dev/null +++ b/checkstyle.xml @@ -0,0 +1,328 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/gradle.properties b/gradle.properties deleted file mode 100644 index 05644f07..00000000 --- a/gradle.properties +++ /dev/null @@ -1,2 +0,0 @@ -# Uncomment to build for Android -#target = android \ No newline at end of file diff --git a/pom.xml b/pom.xml index 9f6f22a9..fa090fb8 100644 --- a/pom.xml +++ b/pom.xml @@ -4,9 +4,9 @@ docusign-esign-java jar docusign-esign-java - 2.10.1 + 2.23.0 The official DocuSign eSignature JAVA client is based on version 2 of the DocuSign REST API and provides libraries for JAVA application integration. It is recommended that you use this version of the library for new development. - https://www.docusign.com/developer-center + https://developers.docusign.com 2.2.0 @@ -100,7 +100,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 2.10.4 + 3.1.0 attach-javadocs @@ -109,6 +109,11 @@ + + + -Xdoclint:none + + @@ -162,8 +167,8 @@ maven-compiler-plugin 2.3.2 - 1.7 - 1.7 + 11 + 11 @@ -181,7 +186,7 @@ DocuSign Developer Center devcenter@docusign.com DocuSign - https://www.docusign.com/developer-center + https://developers.docusign.com @@ -192,101 +197,96 @@ - - io.swagger - swagger-annotations - ${swagger-annotations-version} - - - - - com.sun.jersey - jersey-client - ${jersey-version} - - - com.sun.jersey.contribs - jersey-multipart - ${jersey-version} - - - - - com.fasterxml.jackson.core - jackson-core - ${jackson-version} - - - com.fasterxml.jackson.core - jackson-annotations - ${jackson-version} - - - com.fasterxml.jackson.core - jackson-databind - ${jackson-version} - - - com.fasterxml.jackson.jaxrs - jackson-jaxrs-json-provider - ${jackson-version} - - - com.fasterxml.jackson.dataformat - jackson-dataformat-csv - ${jackson-version} - - - com.fasterxml.jackson.datatype - jackson-datatype-joda - 2.1.5 - - - joda-time - joda-time - ${jodatime-version} - - - org.apache.oltu.oauth2 - org.apache.oltu.oauth2.client - ${oltu-version} - - - - - com.auth0 - java-jwt - 3.4.1 - - - org.bouncycastle - bcprov-jdk15on - 1.60 - - - - - com.brsanthu - migbase64 - 2.2 - + + io.swagger + swagger-annotations + ${swagger-core-version} + - - - junit - junit - ${junit-version} - test - - - - UTF-8 - 1.5.8 - 1.19.1 - 2.9.9 - 2.9.3 - 1.0.0 - 4.12 - 1.0.2 - + + + org.glassfish.jersey.core + jersey-client + ${jersey-version} + + + org.glassfish.jersey.media + jersey-media-multipart + ${jersey-version} + + + org.glassfish.jersey.media + jersey-media-json-jackson + ${jersey-version} + + + org.glassfish.jersey.inject + jersey-hk2 + ${jersey-version} + + + + com.fasterxml.jackson.core + jackson-core + ${jackson-version} + + + com.fasterxml.jackson.core + jackson-annotations + ${jackson-version} + + + com.fasterxml.jackson.core + jackson-databind + ${jackson-version} + + + com.fasterxml.jackson.jaxrs + jackson-jaxrs-json-provider + ${jackson-version} + + + org.apache.oltu.oauth2 + org.apache.oltu.oauth2.client + ${oltu-version} + + + + com.auth0 + java-jwt + 3.4.1 + + + org.bouncycastle + bcprov-jdk15on + 1.60 + + + com.fasterxml.jackson.dataformat + jackson-dataformat-csv + ${jackson-version} + + + + com.brsanthu + migbase64 + 2.2 + + + + junit + junit + ${junit-version} + test + + + + UTF-8 + 1.5.18 + 2.29.1 + 2.12.1 + 1.0.0 + 4.13.1 + 1.0.2 + diff --git a/src/main/java/com/docusign/esign/api/AccountsApi.java b/src/main/java/com/docusign/esign/api/AccountsApi.java index 71b126c4..f4519f9c 100644 --- a/src/main/java/com/docusign/esign/api/AccountsApi.java +++ b/src/main/java/com/docusign/esign/api/AccountsApi.java @@ -1,85 +1,88 @@ + package com.docusign.esign.api; -import com.sun.jersey.api.client.GenericType; +import javax.ws.rs.core.GenericType; import com.docusign.esign.client.ApiException; import com.docusign.esign.client.ApiClient; import com.docusign.esign.client.Configuration; +import com.docusign.esign.model.*; import com.docusign.esign.client.Pair; -import com.docusign.esign.model.AccountIdentityVerificationResponse; -import com.docusign.esign.model.AccountInformation; -import com.docusign.esign.model.AccountPasswordRules; -import com.docusign.esign.model.AccountSettingsInformation; -import com.docusign.esign.model.AccountSharedAccess; -import com.docusign.esign.model.AccountSignatureProviders; -import com.docusign.esign.model.BillingChargeResponse; -import com.docusign.esign.model.Brand; -import com.docusign.esign.model.BrandResources; -import com.docusign.esign.model.BrandResourcesList; -import com.docusign.esign.model.BrandsRequest; -import com.docusign.esign.model.BrandsResponse; -import com.docusign.esign.model.CaptiveRecipientInformation; -import com.docusign.esign.model.ConsumerDisclosure; -import com.docusign.esign.model.CustomField; -import com.docusign.esign.model.CustomFields; -import com.docusign.esign.model.ENoteConfiguration; -import com.docusign.esign.model.ErrorDetails; -import com.docusign.esign.model.FileTypeList; -import com.docusign.esign.model.NewAccountDefinition; -import com.docusign.esign.model.NewAccountSummary; -import com.docusign.esign.model.PaymentGatewayAccountsInfo; -import com.docusign.esign.model.PermissionProfile; -import com.docusign.esign.model.PermissionProfileInformation; -import com.docusign.esign.model.ProvisioningInformation; -import com.docusign.esign.model.RecipientNamesResponse; -import com.docusign.esign.model.SupportedLanguages; -import com.docusign.esign.model.TabAccountSettings; -import com.docusign.esign.model.UserPasswordRules; -import com.docusign.esign.model.Watermark; - - - - - public class AccountsApi { + + + +/** + * AccountsApi class. + * + **/ +public class AccountsApi { private ApiClient apiClient; + /** + * AccountsApi. + * + **/ public AccountsApi() { - this(Configuration.getDefaultApiClient()); + this(Configuration.getDefaultApiClient()); } + /** + * AccountsApi. + * + **/ public AccountsApi(ApiClient apiClient) { - this.apiClient = apiClient; + this.apiClient = apiClient; } + /** + * getApiClient Method. + * + * @return ApiClient + **/ public ApiClient getApiClient() { - return apiClient; + return apiClient; } + /** + * setApiClient Method. + * + **/ public void setApiClient(ApiClient apiClient) { - this.apiClient = apiClient; + this.apiClient = apiClient; } /// /// Creates new accounts. Creates new DocuSign service accounts. This is used to create multiple DocuSign accounts with one call. It uses the same information and formats as the normal a [Accounts:create](accounts_create) call with the information included within a `newAccountRequests` element. A maximum of 100 new accounts can be created at one time. Note that the structure of the XML request is slightly different than the JSON request, in that the new account information is included in a `newAccountDefinition` property inside the `newAccountRequests` element. Response The response returns the new account ID, password and the default user information for each newly created account. A 201 code is returned if the call succeeded. While the call may have succeed, some of the individual account requests may have failed. In the case of failures to create the account, an `errorDetails` node is added in the response to each specific request that failed. /// + + /** + * CreateOptions Class. + * + **/ public class CreateOptions { private String previewBillingPlan = null; - /* - * When set to **true**, creates the account using a preview billing plan. - */ + + /** + * setPreviewBillingPlan method. + */ public void setPreviewBillingPlan(String previewBillingPlan) { this.previewBillingPlan = previewBillingPlan; } - + + /** + * getPreviewBillingPlan method. + * + * @return String + */ public String getPreviewBillingPlan() { return this.previewBillingPlan; } } /** - * Creates new accounts. + * Creates new accounts.. * Creates new DocuSign service accounts. This is used to create multiple DocuSign accounts with one call. It uses the same information and formats as the normal a [Accounts:create](accounts_create) call with the information included within a `newAccountRequests` element. A maximum of 100 new accounts can be created at one time. Note that the structure of the XML request is slightly different than the JSON request, in that the new account information is included in a `newAccountDefinition` property inside the `newAccountRequests` element. Response The response returns the new account ID, password and the default user information for each newly created account. A 201 code is returned if the call succeeded. While the call may have succeed, some of the individual account requests may have failed. In the case of failures to create the account, an `errorDetails` node is added in the response to each specific request that failed. * @param newAccountDefinition (optional) * @return NewAccountSummary @@ -89,7 +92,7 @@ public NewAccountSummary create(NewAccountDefinition newAccountDefinition) throw } /** - * Creates new accounts. + * Creates new accounts.. * Creates new DocuSign service accounts. This is used to create multiple DocuSign accounts with one call. It uses the same information and formats as the normal a [Accounts:create](accounts_create) call with the information included within a `newAccountRequests` element. A maximum of 100 new accounts can be created at one time. Note that the structure of the XML request is slightly different than the JSON request, in that the new account information is included in a `newAccountDefinition` property inside the `newAccountRequests` element. Response The response returns the new account ID, password and the default user information for each newly created account. A 201 code is returned if the call succeeded. While the call may have succeed, some of the individual account requests may have failed. In the case of failures to create the account, an `errorDetails` node is added in the response to each specific request that failed. * @param newAccountDefinition (optional) * @param options for modifying the method behavior. @@ -100,38 +103,42 @@ public NewAccountSummary create(NewAccountDefinition newAccountDefinition, Accou Object localVarPostBody = newAccountDefinition; // create path and map variables - String localVarPath = "/v2/accounts".replaceAll("\\{format\\}","json"); + String localVarPath = "/v2/accounts"; // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "preview_billing_plan", options.previewBillingPlan)); + localVarQueryParams.addAll(apiClient.parameterToPair("preview_billing_plan", options.previewBillingPlan)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Creates one or more brand profile files for the account. + * Creates one or more brand profile files for the account.. * Creates one or more brand profile files for the account. The Account Branding feature (accountSettings properties `canSelfBrandSend` and `canSelfBrandSig`) must be set to **true** for the account to use this call. An error is returned if `brandId` property for a brand profile is already set for the account. To upload a new version of an existing brand profile, you must delete the profile and then upload the newer version. When brand profile files are being uploaded, they must be combined into one zip file and the `Content-Type` must be `application/zip`. - * @param accountId The external account number (int) or account ID Guid. (required) + * @param accountId The external account number (int) or account id GUID. (required) * @param brand (optional) * @return BrandsResponse * @throws ApiException if fails to make API call @@ -139,58 +146,73 @@ public NewAccountSummary create(NewAccountDefinition newAccountDefinition, Accou public BrandsResponse createBrand(String accountId, Brand brand) throws ApiException { Object localVarPostBody = brand; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling createBrand"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/brands".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/brands" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Creates an acount custom field. /// + + /** + * CreateCustomFieldOptions Class. + * + **/ public class CreateCustomFieldOptions { private String applyToTemplates = null; - /* - * - */ + + /** + * setApplyToTemplates method. + */ public void setApplyToTemplates(String applyToTemplates) { this.applyToTemplates = applyToTemplates; } - + + /** + * getApplyToTemplates method. + * + * @return String + */ public String getApplyToTemplates() { return this.applyToTemplates; } } /** - * Creates an acount custom field. + * Creates an acount custom field.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param customField (optional) @@ -201,7 +223,7 @@ public CustomFields createCustomField(String accountId, CustomField customField) } /** - * Creates an acount custom field. + * Creates an acount custom field.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param customField (optional) @@ -212,60 +234,75 @@ public CustomFields createCustomField(String accountId, CustomField customField) public CustomFields createCustomField(String accountId, CustomField customField, AccountsApi.CreateCustomFieldOptions options) throws ApiException { Object localVarPostBody = customField; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling createCustomField"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/custom_fields".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/custom_fields" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "apply_to_templates", options.applyToTemplates)); + localVarQueryParams.addAll(apiClient.parameterToPair("apply_to_templates", options.applyToTemplates)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Creates a new permission profile in the specified account. /// + + /** + * CreatePermissionProfileOptions Class. + * + **/ public class CreatePermissionProfileOptions { private String include = null; - /* - * - */ + + /** + * setInclude method. + */ public void setInclude(String include) { this.include = include; } - + + /** + * getInclude method. + * + * @return String + */ public String getInclude() { return this.include; } } /** - * Creates a new permission profile in the specified account. + * Creates a new permission profile in the specified account.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param permissionProfile (optional) @@ -276,7 +313,7 @@ public PermissionProfile createPermissionProfile(String accountId, PermissionPro } /** - * Creates a new permission profile in the specified account. + * Creates a new permission profile in the specified account.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param permissionProfile (optional) @@ -287,43 +324,47 @@ public PermissionProfile createPermissionProfile(String accountId, PermissionPro public PermissionProfile createPermissionProfile(String accountId, PermissionProfile permissionProfile, AccountsApi.CreatePermissionProfileOptions options) throws ApiException { Object localVarPostBody = permissionProfile; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling createPermissionProfile"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/permission_profiles".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/permission_profiles" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "include", options.include)); + localVarQueryParams.addAll(apiClient.parameterToPair("include", options.include)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Deletes the specified account. + * Deletes the specified account.. * This closes the specified account. You must be an account admin to close your account. Once closed, an account must be reopened by DocuSign. * @param accountId The external account number (int) or account ID Guid. (required) * @throws ApiException if fails to make API call @@ -331,41 +372,45 @@ public PermissionProfile createPermissionProfile(String accountId, PermissionPro public void delete(String accountId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling delete"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + + apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); + } /** - * Removes a brand. + * Removes a brand.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param brandId The unique identifier of a brand. (required) @@ -374,47 +419,51 @@ public void delete(String accountId) throws ApiException { public void deleteBrand(String accountId, String brandId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling deleteBrand"); - } + } - // verify the required parameter 'brandId' is set - if (brandId == null) { + // verify the required parameter 'brandId' is set + if (brandId == null) { throw new ApiException(400, "Missing the required parameter 'brandId' when calling deleteBrand"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/brands/{brandId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/brands/{brandId}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "brandId" + "\\}", apiClient.escapeString(brandId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); - } + + apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); + } /** - * Delete one branding logo. + * Delete one branding logo.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param brandId The unique identifier of a brand. (required) @@ -424,53 +473,57 @@ public void deleteBrand(String accountId, String brandId) throws ApiException { public void deleteBrandLogoByType(String accountId, String brandId, String logoType) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling deleteBrandLogoByType"); - } + } - // verify the required parameter 'brandId' is set - if (brandId == null) { + // verify the required parameter 'brandId' is set + if (brandId == null) { throw new ApiException(400, "Missing the required parameter 'brandId' when calling deleteBrandLogoByType"); - } + } - // verify the required parameter 'logoType' is set - if (logoType == null) { + // verify the required parameter 'logoType' is set + if (logoType == null) { throw new ApiException(400, "Missing the required parameter 'logoType' when calling deleteBrandLogoByType"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/brands/{brandId}/logos/{logoType}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/brands/{brandId}/logos/{logoType}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "brandId" + "\\}", apiClient.escapeString(brandId.toString())) .replaceAll("\\{" + "logoType" + "\\}", apiClient.escapeString(logoType.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); - } + + apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); + } /** - * Deletes one or more brand profiles. + * Deletes one or more brand profiles.. * Deletes one or more brand profiles from an account. The Account Branding feature (accountSettings properties `canSelfBrandSend` and `canSelfBrandSend`) must be set to **true** to use this call. * @param accountId The external account number (int) or account ID Guid. (required) * @param brandsRequest (optional) @@ -480,41 +533,45 @@ public void deleteBrandLogoByType(String accountId, String brandId, String logoT public BrandsResponse deleteBrands(String accountId, BrandsRequest brandsRequest) throws ApiException { Object localVarPostBody = brandsRequest; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling deleteBrands"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/brands".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/brands" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Deletes the signature for one or more captive recipient records. + * Deletes the signature for one or more captive recipient records.. * Deletes the signature for one or more captive recipient records; it is primarily used for testing. This provides a way to reset the signature associated with a client user ID so that a new signature can be created the next time the client user ID is used. * @param accountId The external account number (int) or account ID Guid. (required) * @param recipientPart (required) @@ -525,75 +582,89 @@ public BrandsResponse deleteBrands(String accountId, BrandsRequest brandsRequest public CaptiveRecipientInformation deleteCaptiveRecipient(String accountId, String recipientPart, CaptiveRecipientInformation captiveRecipientInformation) throws ApiException { Object localVarPostBody = captiveRecipientInformation; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling deleteCaptiveRecipient"); - } + } - // verify the required parameter 'recipientPart' is set - if (recipientPart == null) { + // verify the required parameter 'recipientPart' is set + if (recipientPart == null) { throw new ApiException(400, "Missing the required parameter 'recipientPart' when calling deleteCaptiveRecipient"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/captive_recipients/{recipientPart}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/captive_recipients/{recipientPart}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "recipientPart" + "\\}", apiClient.escapeString(recipientPart.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Delete an existing account custom field. /// + + /** + * DeleteCustomFieldOptions Class. + * + **/ public class DeleteCustomFieldOptions { private String applyToTemplates = null; - /* - * - */ + + /** + * setApplyToTemplates method. + */ public void setApplyToTemplates(String applyToTemplates) { this.applyToTemplates = applyToTemplates; } - + + /** + * getApplyToTemplates method. + * + * @return String + */ public String getApplyToTemplates() { return this.applyToTemplates; } } /** - * Delete an existing account custom field. + * Delete an existing account custom field.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param customFieldId (required) - * @return void */ public void deleteCustomField(String accountId, String customFieldId) throws ApiException { deleteCustomField(accountId, customFieldId, null); } /** - * Delete an existing account custom field. + * Delete an existing account custom field.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param customFieldId (required) @@ -603,49 +674,53 @@ public void deleteCustomField(String accountId, String customFieldId) throws Api public void deleteCustomField(String accountId, String customFieldId, AccountsApi.DeleteCustomFieldOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling deleteCustomField"); - } + } - // verify the required parameter 'customFieldId' is set - if (customFieldId == null) { + // verify the required parameter 'customFieldId' is set + if (customFieldId == null) { throw new ApiException(400, "Missing the required parameter 'customFieldId' when calling deleteCustomField"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/custom_fields/{customFieldId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/custom_fields/{customFieldId}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "customFieldId" + "\\}", apiClient.escapeString(customFieldId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "apply_to_templates", options.applyToTemplates)); + localVarQueryParams.addAll(apiClient.parameterToPair("apply_to_templates", options.applyToTemplates)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); - } + + apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); + } /** - * Deletes configuration information for the eNote eOriginal integration. + * Deletes configuration information for the eNote eOriginal integration.. * * @param accountId The external account number (int) or account ID Guid. (required) * @throws ApiException if fails to make API call @@ -653,90 +728,139 @@ public void deleteCustomField(String accountId, String customFieldId, AccountsAp public void deleteENoteConfiguration(String accountId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling deleteENoteConfiguration"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/settings/enote_configuration".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/settings/enote_configuration" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + + apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); + } + /// + /// Deletes a permissions profile within the specified account. + /// + + /** + * DeletePermissionProfileOptions Class. + * + **/ + public class DeletePermissionProfileOptions + { + private String moveUsersTo = null; + + /** + * setMoveUsersTo method. + */ + public void setMoveUsersTo(String moveUsersTo) { + this.moveUsersTo = moveUsersTo; + } + + /** + * getMoveUsersTo method. + * + * @return String + */ + public String getMoveUsersTo() { + return this.moveUsersTo; + } + } + + /** + * Deletes a permissions profile within the specified account.. + * + * @param accountId The external account number (int) or account ID Guid. (required) + * @param permissionProfileId (required) + */ + public void deletePermissionProfile(String accountId, String permissionProfileId) throws ApiException { + deletePermissionProfile(accountId, permissionProfileId, null); + } /** - * Deletes a permissions profile within the specified account. + * Deletes a permissions profile within the specified account.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param permissionProfileId (required) + * @param options for modifying the method behavior. * @throws ApiException if fails to make API call */ - public void deletePermissionProfile(String accountId, String permissionProfileId) throws ApiException { + public void deletePermissionProfile(String accountId, String permissionProfileId, AccountsApi.DeletePermissionProfileOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling deletePermissionProfile"); - } + } - // verify the required parameter 'permissionProfileId' is set - if (permissionProfileId == null) { + // verify the required parameter 'permissionProfileId' is set + if (permissionProfileId == null) { throw new ApiException(400, "Missing the required parameter 'permissionProfileId' when calling deletePermissionProfile"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/permission_profiles/{permissionProfileId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/permission_profiles/{permissionProfileId}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "permissionProfileId" + "\\}", apiClient.escapeString(permissionProfileId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("move_users_to", options.moveUsersTo)); + } + - - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); - } + + apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); + } /** - * Get the list of identity verification options for an account + * Get the list of identity verification options for an account. * * @param accountId The external account number (int) or account ID Guid. (required) * @return AccountIdentityVerificationResponse @@ -745,58 +869,73 @@ public void deletePermissionProfile(String accountId, String permissionProfileId public AccountIdentityVerificationResponse getAccountIdentityVerification(String accountId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getAccountIdentityVerification"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/identity_verification".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/identity_verification" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Retrieves the account information for the specified account. Retrieves the account information for the specified account. **Response** The `canUpgrade` property contains is a Boolean that indicates whether the account can be upgraded through the API. /// + + /** + * GetAccountInformationOptions Class. + * + **/ public class GetAccountInformationOptions { private String includeAccountSettings = null; - /* - * When set to **true**, includes the account settings for the account in the response. - */ + + /** + * setIncludeAccountSettings method. + */ public void setIncludeAccountSettings(String includeAccountSettings) { this.includeAccountSettings = includeAccountSettings; } - + + /** + * getIncludeAccountSettings method. + * + * @return String + */ public String getIncludeAccountSettings() { return this.includeAccountSettings; } } /** - * Retrieves the account information for the specified account. + * Retrieves the account information for the specified account.. * Retrieves the account information for the specified account. **Response** The `canUpgrade` property contains is a Boolean that indicates whether the account can be upgraded through the API. * @param accountId The external account number (int) or account ID Guid. (required) * @return AccountInformation @@ -806,7 +945,7 @@ public AccountInformation getAccountInformation(String accountId) throws ApiExce } /** - * Retrieves the account information for the specified account. + * Retrieves the account information for the specified account.. * Retrieves the account information for the specified account. **Response** The `canUpgrade` property contains is a Boolean that indicates whether the account can be upgraded through the API. * @param accountId The external account number (int) or account ID Guid. (required) * @param options for modifying the method behavior. @@ -816,43 +955,47 @@ public AccountInformation getAccountInformation(String accountId) throws ApiExce public AccountInformation getAccountInformation(String accountId, AccountsApi.GetAccountInformationOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getAccountInformation"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "include_account_settings", options.includeAccountSettings)); + localVarQueryParams.addAll(apiClient.parameterToPair("include_account_settings", options.includeAccountSettings)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Returns tab settings list for specified account + * Returns tab settings list for specified account. * * @param accountId The external account number (int) or account ID Guid. (required) * @return TabAccountSettings @@ -861,41 +1004,45 @@ public AccountInformation getAccountInformation(String accountId, AccountsApi.Ge public TabAccountSettings getAccountTabSettings(String accountId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getAccountTabSettings"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/settings/tabs".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/settings/tabs" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Get all payment gateway account for the provided accountId + * Get all payment gateway account for the provided accountId. * * @param accountId The external account number (int) or account ID Guid. (required) * @return PaymentGatewayAccountsInfo @@ -904,58 +1051,73 @@ public TabAccountSettings getAccountTabSettings(String accountId) throws ApiExce public PaymentGatewayAccountsInfo getAllPaymentGatewayAccounts(String accountId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getAllPaymentGatewayAccounts"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/payment_gateway_accounts".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/payment_gateway_accounts" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Gets list of recurring and usage charges for the account. Retrieves the list of recurring and usage charges for the account. This can be used to determine the charge structure and usage of charge plan items. Privileges required: account administrator /// + + /** + * GetBillingChargesOptions Class. + * + **/ public class GetBillingChargesOptions { private String includeCharges = null; - /* - * Specifies which billing charges to return. Valid values are: * envelopes * seats - */ + + /** + * setIncludeCharges method. + */ public void setIncludeCharges(String includeCharges) { this.includeCharges = includeCharges; } - + + /** + * getIncludeCharges method. + * + * @return String + */ public String getIncludeCharges() { return this.includeCharges; } } /** - * Gets list of recurring and usage charges for the account. + * Gets list of recurring and usage charges for the account.. * Retrieves the list of recurring and usage charges for the account. This can be used to determine the charge structure and usage of charge plan items. Privileges required: account administrator * @param accountId The external account number (int) or account ID Guid. (required) * @return BillingChargeResponse @@ -965,7 +1127,7 @@ public BillingChargeResponse getBillingCharges(String accountId) throws ApiExcep } /** - * Gets list of recurring and usage charges for the account. + * Gets list of recurring and usage charges for the account.. * Retrieves the list of recurring and usage charges for the account. This can be used to determine the charge structure and usage of charge plan items. Privileges required: account administrator * @param accountId The external account number (int) or account ID Guid. (required) * @param options for modifying the method behavior. @@ -975,71 +1137,92 @@ public BillingChargeResponse getBillingCharges(String accountId) throws ApiExcep public BillingChargeResponse getBillingCharges(String accountId, AccountsApi.GetBillingChargesOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getBillingCharges"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/billing_charges".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/billing_charges" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "include_charges", options.includeCharges)); + localVarQueryParams.addAll(apiClient.parameterToPair("include_charges", options.includeCharges)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Get information for a specific brand. /// + + /** + * GetBrandOptions Class. + * + **/ public class GetBrandOptions { private String includeExternalReferences = null; private String includeLogos = null; - /* - * - */ + + /** + * setIncludeExternalReferences method. + */ public void setIncludeExternalReferences(String includeExternalReferences) { this.includeExternalReferences = includeExternalReferences; } - + + /** + * getIncludeExternalReferences method. + * + * @return String + */ public String getIncludeExternalReferences() { return this.includeExternalReferences; } - /* - * - */ + + /** + * setIncludeLogos method. + */ public void setIncludeLogos(String includeLogos) { this.includeLogos = includeLogos; } - + + /** + * getIncludeLogos method. + * + * @return String + */ public String getIncludeLogos() { return this.includeLogos; } } /** - * Get information for a specific brand. + * Get information for a specific brand.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param brandId The unique identifier of a brand. (required) @@ -1050,7 +1233,7 @@ public Brand getBrand(String accountId, String brandId) throws ApiException { } /** - * Get information for a specific brand. + * Get information for a specific brand.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param brandId The unique identifier of a brand. (required) @@ -1061,50 +1244,55 @@ public Brand getBrand(String accountId, String brandId) throws ApiException { public Brand getBrand(String accountId, String brandId, AccountsApi.GetBrandOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getBrand"); - } + } - // verify the required parameter 'brandId' is set - if (brandId == null) { + // verify the required parameter 'brandId' is set + if (brandId == null) { throw new ApiException(400, "Missing the required parameter 'brandId' when calling getBrand"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/brands/{brandId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/brands/{brandId}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "brandId" + "\\}", apiClient.escapeString(brandId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "include_external_references", options.includeExternalReferences)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "include_logos", options.includeLogos)); + localVarQueryParams.addAll(apiClient.parameterToPair("include_external_references", options.includeExternalReferences)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("include_logos", options.includeLogos)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Export a specific brand. + * Export a specific brand.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param brandId The unique identifier of a brand. (required) @@ -1113,47 +1301,51 @@ public Brand getBrand(String accountId, String brandId, AccountsApi.GetBrandOpti public void getBrandExportFile(String accountId, String brandId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getBrandExportFile"); - } + } - // verify the required parameter 'brandId' is set - if (brandId == null) { + // verify the required parameter 'brandId' is set + if (brandId == null) { throw new ApiException(400, "Missing the required parameter 'brandId' when calling getBrandExportFile"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/brands/{brandId}/file".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/brands/{brandId}/file" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "brandId" + "\\}", apiClient.escapeString(brandId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + + apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); + } /** - * Obtains the specified image for a brand. + * Obtains the specified image for a brand.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param brandId The unique identifier of a brand. (required) @@ -1164,53 +1356,57 @@ public void getBrandExportFile(String accountId, String brandId) throws ApiExcep public byte[] getBrandLogoByType(String accountId, String brandId, String logoType) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getBrandLogoByType"); - } + } - // verify the required parameter 'brandId' is set - if (brandId == null) { + // verify the required parameter 'brandId' is set + if (brandId == null) { throw new ApiException(400, "Missing the required parameter 'brandId' when calling getBrandLogoByType"); - } + } - // verify the required parameter 'logoType' is set - if (logoType == null) { + // verify the required parameter 'logoType' is set + if (logoType == null) { throw new ApiException(400, "Missing the required parameter 'logoType' when calling getBrandLogoByType"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/brands/{brandId}/logos/{logoType}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/brands/{brandId}/logos/{logoType}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "brandId" + "\\}", apiClient.escapeString(brandId.toString())) .replaceAll("\\{" + "logoType" + "\\}", apiClient.escapeString(logoType.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "image/png" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "image/png" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Returns the specified account's list of branding resources (metadata). + * Returns the specified account's list of branding resources (metadata).. * * @param accountId The external account number (int) or account ID Guid. (required) * @param brandId The unique identifier of a brand. (required) @@ -1220,87 +1416,107 @@ public byte[] getBrandLogoByType(String accountId, String brandId, String logoTy public BrandResourcesList getBrandResources(String accountId, String brandId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getBrandResources"); - } + } - // verify the required parameter 'brandId' is set - if (brandId == null) { + // verify the required parameter 'brandId' is set + if (brandId == null) { throw new ApiException(400, "Missing the required parameter 'brandId' when calling getBrandResources"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/brands/{brandId}/resources".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/brands/{brandId}/resources" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "brandId" + "\\}", apiClient.escapeString(brandId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Returns the specified branding resource file. /// + + /** + * GetBrandResourcesByContentTypeOptions Class. + * + **/ public class GetBrandResourcesByContentTypeOptions { private String langcode = null; private String returnMaster = null; - /* - * - */ + + /** + * setLangcode method. + */ public void setLangcode(String langcode) { this.langcode = langcode; } - + + /** + * getLangcode method. + * + * @return String + */ public String getLangcode() { return this.langcode; } - /* - * - */ + + /** + * setReturnMaster method. + */ public void setReturnMaster(String returnMaster) { this.returnMaster = returnMaster; } - + + /** + * getReturnMaster method. + * + * @return String + */ public String getReturnMaster() { return this.returnMaster; } } /** - * Returns the specified branding resource file. + * Returns the specified branding resource file.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param brandId The unique identifier of a brand. (required) * @param resourceContentType (required) - * @return void */ public void getBrandResourcesByContentType(String accountId, String brandId, String resourceContentType) throws ApiException { getBrandResourcesByContentType(accountId, brandId, resourceContentType, null); } /** - * Returns the specified branding resource file. + * Returns the specified branding resource file.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param brandId The unique identifier of a brand. (required) @@ -1311,123 +1527,143 @@ public void getBrandResourcesByContentType(String accountId, String brandId, Str public void getBrandResourcesByContentType(String accountId, String brandId, String resourceContentType, AccountsApi.GetBrandResourcesByContentTypeOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getBrandResourcesByContentType"); - } + } - // verify the required parameter 'brandId' is set - if (brandId == null) { + // verify the required parameter 'brandId' is set + if (brandId == null) { throw new ApiException(400, "Missing the required parameter 'brandId' when calling getBrandResourcesByContentType"); - } + } - // verify the required parameter 'resourceContentType' is set - if (resourceContentType == null) { + // verify the required parameter 'resourceContentType' is set + if (resourceContentType == null) { throw new ApiException(400, "Missing the required parameter 'resourceContentType' when calling getBrandResourcesByContentType"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/brands/{brandId}/resources/{resourceContentType}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/brands/{brandId}/resources/{resourceContentType}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "brandId" + "\\}", apiClient.escapeString(brandId.toString())) .replaceAll("\\{" + "resourceContentType" + "\\}", apiClient.escapeString(resourceContentType.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "langcode", options.langcode)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "return_master", options.returnMaster)); + localVarQueryParams.addAll(apiClient.parameterToPair("langcode", options.langcode)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("return_master", options.returnMaster)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + + apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); + } /** - * Gets the Electronic Record and Signature Disclosure. + * Gets the Electronic Record and Signature Disclosure.. * Retrieves the Electronic Record and Signature Disclosure, with HTML formatting, for the requested envelope recipient. This might be different than the current account disclosure depending on account settings, such as branding, and when the account disclosure was last updated. An optional query string can be included to return the language for the disclosure. * @param accountId The external account number (int) or account ID Guid. (required) - * @param langCode The simple type enumeration the language used in the response. The supported languages, with the language value shown in parenthesis, are:Arabic (ar), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk) and Vietnamese (vi). Additionally, the value can be set to �browser� to automatically detect the browser language being used by the viewer and display the disclosure in that language. (required) + * @param langCode The simple type enumeration the language used in the response. The supported languages, with the language value shown in parenthesis, are:Arabic (ar), Armenian (hy), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk) and Vietnamese (vi). Additionally, the value can be set to �browser� to automatically detect the browser language being used by the viewer and display the disclosure in that language. (required) * @return ConsumerDisclosure * @throws ApiException if fails to make API call */ public ConsumerDisclosure getConsumerDisclosure(String accountId, String langCode) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getConsumerDisclosure"); - } + } - // verify the required parameter 'langCode' is set - if (langCode == null) { + // verify the required parameter 'langCode' is set + if (langCode == null) { throw new ApiException(400, "Missing the required parameter 'langCode' when calling getConsumerDisclosure"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/consumer_disclosure/{langCode}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/consumer_disclosure/{langCode}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "langCode" + "\\}", apiClient.escapeString(langCode.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Gets the Electronic Record and Signature Disclosure for the account. Retrieves the Electronic Record and Signature Disclosure, with HTML formatting, associated with the account. You can use an optional query string to set the language for the disclosure. /// + + /** + * GetConsumerDisclosureDefaultOptions Class. + * + **/ public class GetConsumerDisclosureDefaultOptions { private String langCode = null; - /* - * Specifies the language used in the response. The supported languages, with the language value shown in parenthesis, are: Arabic (ar), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk), and Vietnamese (vi). Additionally, the value can be set to `browser` to automatically detect the browser language being used by the viewer and display the disclosure in that language. - */ + + /** + * setLangCode method. + */ public void setLangCode(String langCode) { this.langCode = langCode; } - + + /** + * getLangCode method. + * + * @return String + */ public String getLangCode() { return this.langCode; } } /** - * Gets the Electronic Record and Signature Disclosure for the account. + * Gets the Electronic Record and Signature Disclosure for the account.. * Retrieves the Electronic Record and Signature Disclosure, with HTML formatting, associated with the account. You can use an optional query string to set the language for the disclosure. * @param accountId The external account number (int) or account ID Guid. (required) * @return ConsumerDisclosure @@ -1437,7 +1673,7 @@ public ConsumerDisclosure getConsumerDisclosureDefault(String accountId) throws } /** - * Gets the Electronic Record and Signature Disclosure for the account. + * Gets the Electronic Record and Signature Disclosure for the account.. * Retrieves the Electronic Record and Signature Disclosure, with HTML formatting, associated with the account. You can use an optional query string to set the language for the disclosure. * @param accountId The external account number (int) or account ID Guid. (required) * @param options for modifying the method behavior. @@ -1447,43 +1683,47 @@ public ConsumerDisclosure getConsumerDisclosureDefault(String accountId) throws public ConsumerDisclosure getConsumerDisclosureDefault(String accountId, AccountsApi.GetConsumerDisclosureDefaultOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getConsumerDisclosureDefault"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/consumer_disclosure".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/consumer_disclosure" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "langCode", options.langCode)); + localVarQueryParams.addAll(apiClient.parameterToPair("langCode", options.langCode)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Returns the configuration information for the eNote eOriginal integration. + * Returns the configuration information for the eNote eOriginal integration.. * * @param accountId The external account number (int) or account ID Guid. (required) * @return ENoteConfiguration @@ -1492,41 +1732,45 @@ public ConsumerDisclosure getConsumerDisclosureDefault(String accountId, Account public ENoteConfiguration getENoteConfiguration(String accountId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getENoteConfiguration"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/settings/enote_configuration".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/settings/enote_configuration" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Get the password rules + * Get the password rules. * * @param accountId The external account number (int) or account ID Guid. (required) * @return AccountPasswordRules @@ -1535,41 +1779,45 @@ public ENoteConfiguration getENoteConfiguration(String accountId) throws ApiExce public AccountPasswordRules getPasswordRules(String accountId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getPasswordRules"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/settings/password_rules".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/settings/password_rules" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Get membership account password rules + * Get membership account password rules. * * @return UserPasswordRules * @throws ApiException if fails to make API call @@ -1578,51 +1826,66 @@ public UserPasswordRules getPasswordRules_0() throws ApiException { Object localVarPostBody = "{}"; // create path and map variables - String localVarPath = "/v2/current_user/password_rules".replaceAll("\\{format\\}","json"); + String localVarPath = "/v2/current_user/password_rules"; // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Returns a permissions profile in the specified account. /// + + /** + * GetPermissionProfileOptions Class. + * + **/ public class GetPermissionProfileOptions { private String include = null; - /* - * - */ + + /** + * setInclude method. + */ public void setInclude(String include) { this.include = include; } - + + /** + * getInclude method. + * + * @return String + */ public String getInclude() { return this.include; } } /** - * Returns a permissions profile in the specified account. + * Returns a permissions profile in the specified account.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param permissionProfileId (required) @@ -1633,7 +1896,7 @@ public PermissionProfile getPermissionProfile(String accountId, String permissio } /** - * Returns a permissions profile in the specified account. + * Returns a permissions profile in the specified account.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param permissionProfileId (required) @@ -1644,49 +1907,53 @@ public PermissionProfile getPermissionProfile(String accountId, String permissio public PermissionProfile getPermissionProfile(String accountId, String permissionProfileId, AccountsApi.GetPermissionProfileOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getPermissionProfile"); - } + } - // verify the required parameter 'permissionProfileId' is set - if (permissionProfileId == null) { + // verify the required parameter 'permissionProfileId' is set + if (permissionProfileId == null) { throw new ApiException(400, "Missing the required parameter 'permissionProfileId' when calling getPermissionProfile"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/permission_profiles/{permissionProfileId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/permission_profiles/{permissionProfileId}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "permissionProfileId" + "\\}", apiClient.escapeString(permissionProfileId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "include", options.include)); + localVarQueryParams.addAll(apiClient.parameterToPair("include", options.include)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Retrieves the account provisioning information for the account. + * Retrieves the account provisioning information for the account.. * Retrieves the account provisioning information for the account. * @return ProvisioningInformation * @throws ApiException if fails to make API call @@ -1695,34 +1962,38 @@ public ProvisioningInformation getProvisioning() throws ApiException { Object localVarPostBody = "{}"; // create path and map variables - String localVarPath = "/v2/accounts/provisioning".replaceAll("\\{format\\}","json"); + String localVarPath = "/v2/accounts/provisioning"; // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Gets list of supported languages for recipient language setting. + * Gets list of supported languages for recipient language setting.. * * @param accountId The external account number (int) or account ID Guid. (required) * @return SupportedLanguages @@ -1731,41 +2002,45 @@ public ProvisioningInformation getProvisioning() throws ApiException { public SupportedLanguages getSupportedLanguages(String accountId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getSupportedLanguages"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/supported_languages".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/supported_languages" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Get watermark information. + * Get watermark information.. * * @param accountId The external account number (int) or account ID Guid. (required) * @return Watermark @@ -1774,41 +2049,45 @@ public SupportedLanguages getSupportedLanguages(String accountId) throws ApiExce public Watermark getWatermark(String accountId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getWatermark"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/watermark".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/watermark" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Get watermark preview. + * Get watermark preview.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param watermark (optional) @@ -1818,69 +2097,90 @@ public Watermark getWatermark(String accountId) throws ApiException { public Watermark getWatermarkPreview(String accountId, Watermark watermark) throws ApiException { Object localVarPostBody = watermark; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getWatermarkPreview"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/watermark/preview".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/watermark/preview" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Gets a list of brand profiles. Retrieves the list of brand profiles associated with the account and the default brand profiles. The Account Branding feature (accountSettings properties `canSelfBrandSend` and `canSelfBrandSend`) must be set to **true** for the account to use this call. /// + + /** + * ListBrandsOptions Class. + * + **/ public class ListBrandsOptions { private String excludeDistributorBrand = null; private String includeLogos = null; - /* - * When set to **true**, excludes distributor brand information from the response set. - */ + + /** + * setExcludeDistributorBrand method. + */ public void setExcludeDistributorBrand(String excludeDistributorBrand) { this.excludeDistributorBrand = excludeDistributorBrand; } - + + /** + * getExcludeDistributorBrand method. + * + * @return String + */ public String getExcludeDistributorBrand() { return this.excludeDistributorBrand; } - /* - * When set to **true**, returns the logos associated with the brand. - */ + + /** + * setIncludeLogos method. + */ public void setIncludeLogos(String includeLogos) { this.includeLogos = includeLogos; } - + + /** + * getIncludeLogos method. + * + * @return String + */ public String getIncludeLogos() { return this.includeLogos; } } /** - * Gets a list of brand profiles. + * Gets a list of brand profiles.. * Retrieves the list of brand profiles associated with the account and the default brand profiles. The Account Branding feature (accountSettings properties `canSelfBrandSend` and `canSelfBrandSend`) must be set to **true** for the account to use this call. * @param accountId The external account number (int) or account ID Guid. (required) * @return BrandsResponse @@ -1890,7 +2190,7 @@ public BrandsResponse listBrands(String accountId) throws ApiException { } /** - * Gets a list of brand profiles. + * Gets a list of brand profiles.. * Retrieves the list of brand profiles associated with the account and the default brand profiles. The Account Branding feature (accountSettings properties `canSelfBrandSend` and `canSelfBrandSend`) must be set to **true** for the account to use this call. * @param accountId The external account number (int) or account ID Guid. (required) * @param options for modifying the method behavior. @@ -1900,44 +2200,49 @@ public BrandsResponse listBrands(String accountId) throws ApiException { public BrandsResponse listBrands(String accountId, AccountsApi.ListBrandsOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling listBrands"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/brands".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/brands" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "exclude_distributor_brand", options.excludeDistributorBrand)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "include_logos", options.includeLogos)); + localVarQueryParams.addAll(apiClient.parameterToPair("exclude_distributor_brand", options.excludeDistributorBrand)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("include_logos", options.includeLogos)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Gets a list of custom fields associated with the account. + * Gets a list of custom fields associated with the account.. * Retrieves a list of envelope custom fields associated with the account. You can use these fields in the envelopes for your account to record information about the envelope, help search for envelopes and track information. The envelope custom fields are shown in the Envelope Settings section when a user is creating an envelope in the DocuSign member console. The envelope custom fields are not seen by the envelope recipients. There are two types of envelope custom fields, text, and list. A text custom field lets the sender enter the value for the field. The list custom field lets the sender select the value of the field from a list you provide. * @param accountId The external account number (int) or account ID Guid. (required) * @return CustomFields @@ -1946,58 +2251,73 @@ public BrandsResponse listBrands(String accountId, AccountsApi.ListBrandsOptions public CustomFields listCustomFields(String accountId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling listCustomFields"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/custom_fields".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/custom_fields" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Gets a list of permission profiles. Retrieves a list of Permission Profiles. Permission Profiles are a standard set of user permissions that you can apply to individual users or users in a Group. This makes it easier to manage user permissions for a large number of users, without having to change permissions on a user-by-user basis. Currently, Permission Profiles can only be created and modified in the DocuSign console. /// + + /** + * ListPermissionsOptions Class. + * + **/ public class ListPermissionsOptions { private String include = null; - /* - * - */ + + /** + * setInclude method. + */ public void setInclude(String include) { this.include = include; } - + + /** + * getInclude method. + * + * @return String + */ public String getInclude() { return this.include; } } /** - * Gets a list of permission profiles. + * Gets a list of permission profiles.. * Retrieves a list of Permission Profiles. Permission Profiles are a standard set of user permissions that you can apply to individual users or users in a Group. This makes it easier to manage user permissions for a large number of users, without having to change permissions on a user-by-user basis. Currently, Permission Profiles can only be created and modified in the DocuSign console. * @param accountId The external account number (int) or account ID Guid. (required) * @return PermissionProfileInformation @@ -2007,7 +2327,7 @@ public PermissionProfileInformation listPermissions(String accountId) throws Api } /** - * Gets a list of permission profiles. + * Gets a list of permission profiles.. * Retrieves a list of Permission Profiles. Permission Profiles are a standard set of user permissions that you can apply to individual users or users in a Group. This makes it easier to manage user permissions for a large number of users, without having to change permissions on a user-by-user basis. Currently, Permission Profiles can only be created and modified in the DocuSign console. * @param accountId The external account number (int) or account ID Guid. (required) * @param options for modifying the method behavior. @@ -2017,60 +2337,75 @@ public PermissionProfileInformation listPermissions(String accountId) throws Api public PermissionProfileInformation listPermissions(String accountId, AccountsApi.ListPermissionsOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling listPermissions"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/permission_profiles".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/permission_profiles" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "include", options.include)); + localVarQueryParams.addAll(apiClient.parameterToPair("include", options.include)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Gets recipient names associated with an email address. Retrieves a list of recipients in the specified account that are associated with a email address supplied in the query string. /// + + /** + * ListRecipientNamesByEmailOptions Class. + * + **/ public class ListRecipientNamesByEmailOptions { private String email = null; - /* - * The email address for the user - */ + + /** + * setEmail method. + */ public void setEmail(String email) { this.email = email; } - + + /** + * getEmail method. + * + * @return String + */ public String getEmail() { return this.email; } } /** - * Gets recipient names associated with an email address. + * Gets recipient names associated with an email address.. * Retrieves a list of recipients in the specified account that are associated with a email address supplied in the query string. * @param accountId The external account number (int) or account ID Guid. (required) * @return RecipientNamesResponse @@ -2080,7 +2415,7 @@ public RecipientNamesResponse listRecipientNamesByEmail(String accountId) throws } /** - * Gets recipient names associated with an email address. + * Gets recipient names associated with an email address.. * Retrieves a list of recipients in the specified account that are associated with a email address supplied in the query string. * @param accountId The external account number (int) or account ID Guid. (required) * @param options for modifying the method behavior. @@ -2090,43 +2425,47 @@ public RecipientNamesResponse listRecipientNamesByEmail(String accountId) throws public RecipientNamesResponse listRecipientNamesByEmail(String accountId, AccountsApi.ListRecipientNamesByEmailOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling listRecipientNamesByEmail"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/recipient_names".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/recipient_names" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "email", options.email)); + localVarQueryParams.addAll(apiClient.parameterToPair("email", options.email)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Gets account settings information. + * Gets account settings information.. * Retrieves the account settings information for the specified account. * @param accountId The external account number (int) or account ID Guid. (required) * @return AccountSettingsInformation @@ -2135,41 +2474,50 @@ public RecipientNamesResponse listRecipientNamesByEmail(String accountId, Accoun public AccountSettingsInformation listSettings(String accountId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling listSettings"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/settings".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/settings" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Reserved: Gets the shared item status for one or more users. Reserved: Retrieves shared item status for one or more users and types of items. Users with account administration privileges can retrieve shared access information for all account users. Users without account administrator privileges can only retrieve shared access information for themselves and the returned information is limited to the retrieving the status of all members of the account that are sharing their folders to the user. This is equivalent to setting the shared=shared_from. /// + + /** + * ListSharedAccessOptions Class. + * + **/ public class ListSharedAccessOptions { private String count = null; @@ -2180,90 +2528,138 @@ public class ListSharedAccessOptions private String shared = null; private String startPosition = null; private String userIds = null; - /* - * Specifies maximum number of results included in the response. If no value is specified, this defaults to 1000. - */ + + /** + * setCount method. + */ public void setCount(String count) { this.count = count; } - + + /** + * getCount method. + * + * @return String + */ public String getCount() { return this.count; } - /* - * - */ + + /** + * setEnvelopesNotSharedUserStatus method. + */ public void setEnvelopesNotSharedUserStatus(String envelopesNotSharedUserStatus) { this.envelopesNotSharedUserStatus = envelopesNotSharedUserStatus; } - + + /** + * getEnvelopesNotSharedUserStatus method. + * + * @return String + */ public String getEnvelopesNotSharedUserStatus() { return this.envelopesNotSharedUserStatus; } - /* - * - */ + + /** + * setFolderIds method. + */ public void setFolderIds(String folderIds) { this.folderIds = folderIds; } - + + /** + * getFolderIds method. + * + * @return String + */ public String getFolderIds() { return this.folderIds; } - /* - * Specifies the type of shared item being requested. The accepted values are: -envelopes: returns information about envelope sharing between users. - */ + + /** + * setItemType method. + */ public void setItemType(String itemType) { this.itemType = itemType; } - + + /** + * getItemType method. + * + * @return String + */ public String getItemType() { return this.itemType; } - /* - * This can be used to filter user names in the response. The wild-card '*' (asterisk) can be used around the string. - */ + + /** + * setSearchText method. + */ public void setSearchText(String searchText) { this.searchText = searchText; } - + + /** + * getSearchText method. + * + * @return String + */ public String getSearchText() { return this.searchText; } - /* - * Specifies which users should be included in the response. Multiple values can be used in the query by using a comma separated list of shared values. If the requestor does not have account administrator privileges, the shared_to value is used. Requestors that do not have account administrator privileges can only use the shared_to, any other setting will result in an error. The accepted values are: -not_shared: Returns account users that the specified item type is not being shared with and that are not sharing the specified item type with the user. User X (Share) X Account user -shared_to: Returns account users that the specified item type is not being shared with and who are sharing the specified item type with the user (only shared to the user). User X (Share) Account user -shared_from: Returns account users that the specified item type is being shared with and who are not sharing the specified item type with the user (only shared from the user). User (Share) >> Account user -shared_to_and_from: Returns account users that the specified item type is being shared with and who are sharing the specified item type with the user. User << (Share) >> Account user - */ + + /** + * setShared method. + */ public void setShared(String shared) { this.shared = shared; } - + + /** + * getShared method. + * + * @return String + */ public String getShared() { return this.shared; } - /* - * If the response set exceeds Count, this can be used to specify that the method should return users starting at the specified index. The first index is 0, and should be used in the first GET call. Typically this number is a multiple of Count. If no value is specified, this defaults to be 0. - */ + + /** + * setStartPosition method. + */ public void setStartPosition(String startPosition) { this.startPosition = startPosition; } - + + /** + * getStartPosition method. + * + * @return String + */ public String getStartPosition() { return this.startPosition; } - /* - * A comma separated list of userIds for whom the shared item information is being requested. - */ + + /** + * setUserIds method. + */ public void setUserIds(String userIds) { this.userIds = userIds; } - + + /** + * getUserIds method. + * + * @return String + */ public String getUserIds() { return this.userIds; } } /** - * Reserved: Gets the shared item status for one or more users. + * Reserved: Gets the shared item status for one or more users.. * Reserved: Retrieves shared item status for one or more users and types of items. Users with account administration privileges can retrieve shared access information for all account users. Users without account administrator privileges can only retrieve shared access information for themselves and the returned information is limited to the retrieving the status of all members of the account that are sharing their folders to the user. This is equivalent to setting the shared=shared_from. * @param accountId The external account number (int) or account ID Guid. (required) * @return AccountSharedAccess @@ -2273,7 +2669,7 @@ public AccountSharedAccess listSharedAccess(String accountId) throws ApiExceptio } /** - * Reserved: Gets the shared item status for one or more users. + * Reserved: Gets the shared item status for one or more users.. * Reserved: Retrieves shared item status for one or more users and types of items. Users with account administration privileges can retrieve shared access information for all account users. Users without account administrator privileges can only retrieve shared access information for themselves and the returned information is limited to the retrieving the status of all members of the account that are sharing their folders to the user. This is equivalent to setting the shared=shared_from. * @param accountId The external account number (int) or account ID Guid. (required) * @param options for modifying the method behavior. @@ -2283,50 +2679,61 @@ public AccountSharedAccess listSharedAccess(String accountId) throws ApiExceptio public AccountSharedAccess listSharedAccess(String accountId, AccountsApi.ListSharedAccessOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling listSharedAccess"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/shared_access".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/shared_access" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "count", options.count)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "envelopes_not_shared_user_status", options.envelopesNotSharedUserStatus)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "folder_ids", options.folderIds)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "item_type", options.itemType)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "search_text", options.searchText)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "shared", options.shared)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "start_position", options.startPosition)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "user_ids", options.userIds)); + localVarQueryParams.addAll(apiClient.parameterToPair("count", options.count)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("envelopes_not_shared_user_status", options.envelopesNotSharedUserStatus)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("folder_ids", options.folderIds)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("item_type", options.itemType)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("search_text", options.searchText)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("shared", options.shared)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("start_position", options.startPosition)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("user_ids", options.userIds)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Returns Account available signature providers for specified account. + * Returns Account available signature providers for specified account.. * * @param accountId The external account number (int) or account ID Guid. (required) * @return AccountSignatureProviders @@ -2335,41 +2742,45 @@ public AccountSharedAccess listSharedAccess(String accountId, AccountsApi.ListSh public AccountSignatureProviders listSignatureProviders(String accountId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling listSignatureProviders"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/signatureProviders".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/signatureProviders" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Gets a list of unsupported file types. + * Gets a list of unsupported file types.. * Retrieves a list of file types (mime-types and file-extensions) that are not supported for upload through the DocuSign system. * @param accountId The external account number (int) or account ID Guid. (required) * @return FileTypeList @@ -2378,41 +2789,45 @@ public AccountSignatureProviders listSignatureProviders(String accountId) throws public FileTypeList listUnsupportedFileTypes(String accountId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling listUnsupportedFileTypes"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/unsupported_file_types".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/unsupported_file_types" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Modifies tab settings for specified account + * Modifies tab settings for specified account. * * @param accountId The external account number (int) or account ID Guid. (required) * @param tabAccountSettings (optional) @@ -2422,41 +2837,45 @@ public FileTypeList listUnsupportedFileTypes(String accountId) throws ApiExcepti public TabAccountSettings updateAccountTabSettings(String accountId, TabAccountSettings tabAccountSettings) throws ApiException { Object localVarPostBody = tabAccountSettings; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling updateAccountTabSettings"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/settings/tabs".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/settings/tabs" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Updates an existing brand. + * Updates an existing brand.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param brandId The unique identifier of a brand. (required) @@ -2467,49 +2886,53 @@ public TabAccountSettings updateAccountTabSettings(String accountId, TabAccountS public Brand updateBrand(String accountId, String brandId, Brand brand) throws ApiException { Object localVarPostBody = brand; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling updateBrand"); - } + } - // verify the required parameter 'brandId' is set - if (brandId == null) { + // verify the required parameter 'brandId' is set + if (brandId == null) { throw new ApiException(400, "Missing the required parameter 'brandId' when calling updateBrand"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/brands/{brandId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/brands/{brandId}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "brandId" + "\\}", apiClient.escapeString(brandId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Put one branding logo. + * Put one branding logo.. * - * @param accountId The external account number (int) or account ID Guid. (required) + * @param accountId The external account number (int) or account id GUID. (required) * @param brandId The unique identifier of a brand. (required) * @param logoType One of **Primary**, **Secondary** or **Email**. (required) * @param logoFileBytes Brand logo binary Stream. Supported formats: JPG, GIF, PNG. Maximum file size: 300 KB. Recommended dimensions: 296 x 76 pixels (larger images will be resized). Changes may take up to one hour to display in all places (required) @@ -2518,135 +2941,162 @@ public Brand updateBrand(String accountId, String brandId, Brand brand) throws A public void updateBrandLogoByType(String accountId, String brandId, String logoType, byte[] logoFileBytes) throws ApiException { Object localVarPostBody = logoFileBytes; - // verify the required parameter 'logoFileBytes' is set - if (logoFileBytes == null) { - throw new ApiException(400, "Missing the required parameter 'logoFileBytes' when calling updateBrandLogoByType"); - } - - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling updateBrandLogoByType"); - } + } - // verify the required parameter 'brandId' is set - if (brandId == null) { + // verify the required parameter 'brandId' is set + if (brandId == null) { throw new ApiException(400, "Missing the required parameter 'brandId' when calling updateBrandLogoByType"); - } + } - // verify the required parameter 'logoType' is set - if (logoType == null) { + // verify the required parameter 'logoType' is set + if (logoType == null) { throw new ApiException(400, "Missing the required parameter 'logoType' when calling updateBrandLogoByType"); - } + } + + // verify the required parameter 'logoFileBytes' is set + if (logoFileBytes == null) { + throw new ApiException(400, "Missing the required parameter 'logoFileBytes' when calling updateBrandLogoByType"); + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/brands/{brandId}/logos/{logoType}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/brands/{brandId}/logos/{logoType}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "brandId" + "\\}", apiClient.escapeString(brandId.toString())) .replaceAll("\\{" + "logoType" + "\\}", apiClient.escapeString(logoType.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + + - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - "image/png" - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarContentTypes = { + "image/png" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); - } + + apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); + } /** - * Uploads a branding resource file. + * Uploads a branding resource file.. * - * @param accountId The external account number (int) or account ID Guid. (required) + * @param accountId The external account number (int) or account id GUID. (required) * @param brandId The unique identifier of a brand. (required) * @param resourceContentType (required) + * @param fileXml Brand resource XML file. (required) * @return BrandResources * @throws ApiException if fails to make API call */ - public BrandResources updateBrandResourcesByContentType(String accountId, String brandId, String resourceContentType) throws ApiException { + public BrandResources updateBrandResourcesByContentType(String accountId, String brandId, String resourceContentType, byte[] fileXml) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling updateBrandResourcesByContentType"); - } + } - // verify the required parameter 'brandId' is set - if (brandId == null) { + // verify the required parameter 'brandId' is set + if (brandId == null) { throw new ApiException(400, "Missing the required parameter 'brandId' when calling updateBrandResourcesByContentType"); - } + } - // verify the required parameter 'resourceContentType' is set - if (resourceContentType == null) { + // verify the required parameter 'resourceContentType' is set + if (resourceContentType == null) { throw new ApiException(400, "Missing the required parameter 'resourceContentType' when calling updateBrandResourcesByContentType"); - } + } + + // verify the required parameter 'fileXml' is set + if (fileXml == null) { + throw new ApiException(400, "Missing the required parameter 'fileXml' when calling updateBrandResourcesByContentType"); + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/brands/{brandId}/resources/{resourceContentType}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/brands/{brandId}/resources/{resourceContentType}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "brandId" + "\\}", apiClient.escapeString(brandId.toString())) .replaceAll("\\{" + "resourceContentType" + "\\}", apiClient.escapeString(resourceContentType.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); - - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + if (fileXml != null) { + localVarFormParams.put("file.xml", fileXml); + } - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + "multipart/form-data" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Update Consumer Disclosure. /// + + /** + * UpdateConsumerDisclosureOptions Class. + * + **/ public class UpdateConsumerDisclosureOptions { private String includeMetadata = null; - /* - * - */ + + /** + * setIncludeMetadata method. + */ public void setIncludeMetadata(String includeMetadata) { this.includeMetadata = includeMetadata; } - + + /** + * getIncludeMetadata method. + * + * @return String + */ public String getIncludeMetadata() { return this.includeMetadata; } } /** - * Update Consumer Disclosure. + * Update Consumer Disclosure.. * * @param accountId The external account number (int) or account ID Guid. (required) - * @param langCode The simple type enumeration the language used in the response. The supported languages, with the language value shown in parenthesis, are:Arabic (ar), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk) and Vietnamese (vi). Additionally, the value can be set to �browser� to automatically detect the browser language being used by the viewer and display the disclosure in that language. (required) + * @param langCode The simple type enumeration the language used in the response. The supported languages, with the language value shown in parenthesis, are:Arabic (ar), Armenian (hy), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk) and Vietnamese (vi). Additionally, the value can be set to �browser� to automatically detect the browser language being used by the viewer and display the disclosure in that language. (required) * @param consumerDisclosure (optional) * @return ConsumerDisclosure */ @@ -2655,10 +3105,10 @@ public ConsumerDisclosure updateConsumerDisclosure(String accountId, String lang } /** - * Update Consumer Disclosure. + * Update Consumer Disclosure.. * * @param accountId The external account number (int) or account ID Guid. (required) - * @param langCode The simple type enumeration the language used in the response. The supported languages, with the language value shown in parenthesis, are:Arabic (ar), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk) and Vietnamese (vi). Additionally, the value can be set to �browser� to automatically detect the browser language being used by the viewer and display the disclosure in that language. (required) + * @param langCode The simple type enumeration the language used in the response. The supported languages, with the language value shown in parenthesis, are:Arabic (ar), Armenian (hy), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk) and Vietnamese (vi). Additionally, the value can be set to �browser� to automatically detect the browser language being used by the viewer and display the disclosure in that language. (required) * @param consumerDisclosure (optional) * @param options for modifying the method behavior. * @return ConsumerDisclosure @@ -2667,66 +3117,81 @@ public ConsumerDisclosure updateConsumerDisclosure(String accountId, String lang public ConsumerDisclosure updateConsumerDisclosure(String accountId, String langCode, ConsumerDisclosure consumerDisclosure, AccountsApi.UpdateConsumerDisclosureOptions options) throws ApiException { Object localVarPostBody = consumerDisclosure; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling updateConsumerDisclosure"); - } + } - // verify the required parameter 'langCode' is set - if (langCode == null) { + // verify the required parameter 'langCode' is set + if (langCode == null) { throw new ApiException(400, "Missing the required parameter 'langCode' when calling updateConsumerDisclosure"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/consumer_disclosure/{langCode}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/consumer_disclosure/{langCode}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "langCode" + "\\}", apiClient.escapeString(langCode.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "include_metadata", options.includeMetadata)); + localVarQueryParams.addAll(apiClient.parameterToPair("include_metadata", options.includeMetadata)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Updates an existing account custom field. /// + + /** + * UpdateCustomFieldOptions Class. + * + **/ public class UpdateCustomFieldOptions { private String applyToTemplates = null; - /* - * - */ + + /** + * setApplyToTemplates method. + */ public void setApplyToTemplates(String applyToTemplates) { this.applyToTemplates = applyToTemplates; } - + + /** + * getApplyToTemplates method. + * + * @return String + */ public String getApplyToTemplates() { return this.applyToTemplates; } } /** - * Updates an existing account custom field. + * Updates an existing account custom field.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param customFieldId (required) @@ -2738,7 +3203,7 @@ public CustomFields updateCustomField(String accountId, String customFieldId, Cu } /** - * Updates an existing account custom field. + * Updates an existing account custom field.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param customFieldId (required) @@ -2750,49 +3215,53 @@ public CustomFields updateCustomField(String accountId, String customFieldId, Cu public CustomFields updateCustomField(String accountId, String customFieldId, CustomField customField, AccountsApi.UpdateCustomFieldOptions options) throws ApiException { Object localVarPostBody = customField; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling updateCustomField"); - } + } - // verify the required parameter 'customFieldId' is set - if (customFieldId == null) { + // verify the required parameter 'customFieldId' is set + if (customFieldId == null) { throw new ApiException(400, "Missing the required parameter 'customFieldId' when calling updateCustomField"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/custom_fields/{customFieldId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/custom_fields/{customFieldId}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "customFieldId" + "\\}", apiClient.escapeString(customFieldId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "apply_to_templates", options.applyToTemplates)); + localVarQueryParams.addAll(apiClient.parameterToPair("apply_to_templates", options.applyToTemplates)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Updates configuration information for the eNote eOriginal integration. + * Updates configuration information for the eNote eOriginal integration.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param eNoteConfiguration (optional) @@ -2802,41 +3271,45 @@ public CustomFields updateCustomField(String accountId, String customFieldId, Cu public ENoteConfiguration updateENoteConfiguration(String accountId, ENoteConfiguration eNoteConfiguration) throws ApiException { Object localVarPostBody = eNoteConfiguration; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling updateENoteConfiguration"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/settings/enote_configuration".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/settings/enote_configuration" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Update the password rules + * Update the password rules. * * @param accountId The external account number (int) or account ID Guid. (required) * @param accountPasswordRules (optional) @@ -2846,58 +3319,73 @@ public ENoteConfiguration updateENoteConfiguration(String accountId, ENoteConfig public AccountPasswordRules updatePasswordRules(String accountId, AccountPasswordRules accountPasswordRules) throws ApiException { Object localVarPostBody = accountPasswordRules; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling updatePasswordRules"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/settings/password_rules".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/settings/password_rules" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Updates a permission profile within the specified account. /// + + /** + * UpdatePermissionProfileOptions Class. + * + **/ public class UpdatePermissionProfileOptions { private String include = null; - /* - * - */ + + /** + * setInclude method. + */ public void setInclude(String include) { this.include = include; } - + + /** + * getInclude method. + * + * @return String + */ public String getInclude() { return this.include; } } /** - * Updates a permission profile within the specified account. + * Updates a permission profile within the specified account.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param permissionProfileId (required) @@ -2909,7 +3397,7 @@ public PermissionProfile updatePermissionProfile(String accountId, String permis } /** - * Updates a permission profile within the specified account. + * Updates a permission profile within the specified account.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param permissionProfileId (required) @@ -2921,49 +3409,53 @@ public PermissionProfile updatePermissionProfile(String accountId, String permis public PermissionProfile updatePermissionProfile(String accountId, String permissionProfileId, PermissionProfile permissionProfile, AccountsApi.UpdatePermissionProfileOptions options) throws ApiException { Object localVarPostBody = permissionProfile; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling updatePermissionProfile"); - } + } - // verify the required parameter 'permissionProfileId' is set - if (permissionProfileId == null) { + // verify the required parameter 'permissionProfileId' is set + if (permissionProfileId == null) { throw new ApiException(400, "Missing the required parameter 'permissionProfileId' when calling updatePermissionProfile"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/permission_profiles/{permissionProfileId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/permission_profiles/{permissionProfileId}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "permissionProfileId" + "\\}", apiClient.escapeString(permissionProfileId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "include", options.include)); + localVarQueryParams.addAll(apiClient.parameterToPair("include", options.include)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Updates the account settings for an account. + * Updates the account settings for an account.. * Updates the account settings for the specified account. * @param accountId The external account number (int) or account ID Guid. (required) * @param accountSettingsInformation (optional) @@ -2972,69 +3464,90 @@ public PermissionProfile updatePermissionProfile(String accountId, String permis public void updateSettings(String accountId, AccountSettingsInformation accountSettingsInformation) throws ApiException { Object localVarPostBody = accountSettingsInformation; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling updateSettings"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/settings".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/settings" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + + apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); + } /// /// Reserved: Sets the shared access information for users. Reserved: Sets the shared access information for one or more users. /// + + /** + * UpdateSharedAccessOptions Class. + * + **/ public class UpdateSharedAccessOptions { private String itemType = null; private String userIds = null; - /* - * - */ + + /** + * setItemType method. + */ public void setItemType(String itemType) { this.itemType = itemType; } - + + /** + * getItemType method. + * + * @return String + */ public String getItemType() { return this.itemType; } - /* - * - */ + + /** + * setUserIds method. + */ public void setUserIds(String userIds) { this.userIds = userIds; } - + + /** + * getUserIds method. + * + * @return String + */ public String getUserIds() { return this.userIds; } } /** - * Reserved: Sets the shared access information for users. + * Reserved: Sets the shared access information for users.. * Reserved: Sets the shared access information for one or more users. * @param accountId The external account number (int) or account ID Guid. (required) * @param accountSharedAccess (optional) @@ -3045,7 +3558,7 @@ public AccountSharedAccess updateSharedAccess(String accountId, AccountSharedAcc } /** - * Reserved: Sets the shared access information for users. + * Reserved: Sets the shared access information for users.. * Reserved: Sets the shared access information for one or more users. * @param accountId The external account number (int) or account ID Guid. (required) * @param accountSharedAccess (optional) @@ -3056,44 +3569,49 @@ public AccountSharedAccess updateSharedAccess(String accountId, AccountSharedAcc public AccountSharedAccess updateSharedAccess(String accountId, AccountSharedAccess accountSharedAccess, AccountsApi.UpdateSharedAccessOptions options) throws ApiException { Object localVarPostBody = accountSharedAccess; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling updateSharedAccess"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/shared_access".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/shared_access" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "item_type", options.itemType)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "user_ids", options.userIds)); + localVarQueryParams.addAll(apiClient.parameterToPair("item_type", options.itemType)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("user_ids", options.userIds)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Update watermark information. + * Update watermark information.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param watermark (optional) @@ -3103,36 +3621,40 @@ public AccountSharedAccess updateSharedAccess(String accountId, AccountSharedAcc public Watermark updateWatermark(String accountId, Watermark watermark) throws ApiException { Object localVarPostBody = watermark; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling updateWatermark"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/watermark".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/watermark" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } +} diff --git a/src/main/java/com/docusign/esign/api/AuthenticationApi.java b/src/main/java/com/docusign/esign/api/AuthenticationApi.java index 8e9fd62e..8e3fb24d 100644 --- a/src/main/java/com/docusign/esign/api/AuthenticationApi.java +++ b/src/main/java/com/docusign/esign/api/AuthenticationApi.java @@ -1,44 +1,60 @@ + package com.docusign.esign.api; -import com.sun.jersey.api.client.GenericType; +import javax.ws.rs.core.GenericType; import com.docusign.esign.client.ApiException; import com.docusign.esign.client.ApiClient; import com.docusign.esign.client.Configuration; +import com.docusign.esign.model.*; import com.docusign.esign.client.Pair; -import com.docusign.esign.model.ErrorDetails; -import com.docusign.esign.model.LoginInformation; -import com.docusign.esign.model.OauthAccess; -import com.docusign.esign.model.SocialAccountInformation; -import com.docusign.esign.model.UserPasswordInformation; -import com.docusign.esign.model.UserSocialIdResult; - - public class AuthenticationApi { +/** + * AuthenticationApi class. + * + **/ +public class AuthenticationApi { private ApiClient apiClient; + /** + * AuthenticationApi. + * + **/ public AuthenticationApi() { - this(Configuration.getDefaultApiClient()); + this(Configuration.getDefaultApiClient()); } + /** + * AuthenticationApi. + * + **/ public AuthenticationApi(ApiClient apiClient) { - this.apiClient = apiClient; + this.apiClient = apiClient; } + /** + * getApiClient Method. + * + * @return ApiClient + **/ public ApiClient getApiClient() { - return apiClient; + return apiClient; } + /** + * setApiClient Method. + * + **/ public void setApiClient(ApiClient apiClient) { - this.apiClient = apiClient; + this.apiClient = apiClient; } /** - * Deletes user's social account. + * Deletes user's social account.. * Deletes a social account from a use's account. * @param accountId The external account number (int) or account ID Guid. (required) * @param userId The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing. (required) @@ -48,47 +64,51 @@ public void setApiClient(ApiClient apiClient) { public void deleteSocialLogin(String accountId, String userId, SocialAccountInformation socialAccountInformation) throws ApiException { Object localVarPostBody = socialAccountInformation; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling deleteSocialLogin"); - } + } - // verify the required parameter 'userId' is set - if (userId == null) { + // verify the required parameter 'userId' is set + if (userId == null) { throw new ApiException(400, "Missing the required parameter 'userId' when calling deleteSocialLogin"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/users/{userId}/social".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/users/{userId}/social" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "userId" + "\\}", apiClient.escapeString(userId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); - } + + apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); + } /** - * Creates an authorization token. + * Creates an authorization token.. * Creates an OAuth2 authorization server token endpoint. * @return OauthAccess * @throws ApiException if fails to make API call @@ -97,34 +117,38 @@ public OauthAccess getOAuthToken() throws ApiException { Object localVarPostBody = "{}"; // create path and map variables - String localVarPath = "/v2/oauth2/token".replaceAll("\\{format\\}","json"); + String localVarPath = "/v2/oauth2/token"; // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Gets a list of a user's social accounts. + * Gets a list of a user's social accounts.. * Retrieves a list of social accounts linked to a user's account. * @param accountId The external account number (int) or account ID Guid. (required) * @param userId The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing. (required) @@ -134,97 +158,130 @@ public OauthAccess getOAuthToken() throws ApiException { public UserSocialIdResult listSocialLogins(String accountId, String userId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling listSocialLogins"); - } + } - // verify the required parameter 'userId' is set - if (userId == null) { + // verify the required parameter 'userId' is set + if (userId == null) { throw new ApiException(400, "Missing the required parameter 'userId' when calling listSocialLogins"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/users/{userId}/social".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/users/{userId}/social" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "userId" + "\\}", apiClient.escapeString(userId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Gets login information for a specified user. Retrieves login information for a specified user. Each account that is associated with the login credentials is listed. You can use the returned information to determine whether a user is authenticated and select an account to use in future operations. The `baseUrl` property, returned in the response, is used in all future API calls as the base of the request URL. The `baseUrl` property contains the DocuSign server, the API version, and the `accountId` property that is used for the login. This request uses your DocuSign credentials to retrieve the account information. /// + + /** + * LoginOptions Class. + * + **/ public class LoginOptions { private String apiPassword = null; private String embedAccountIdGuid = null; private String includeAccountIdGuid = null; private String loginSettings = null; - /* - * When set to **true**, shows the account API password in the response. - */ + + /** + * setApiPassword method. + */ public void setApiPassword(String apiPassword) { this.apiPassword = apiPassword; } - + + /** + * getApiPassword method. + * + * @return String + */ public String getApiPassword() { return this.apiPassword; } - /* - * - */ + + /** + * setEmbedAccountIdGuid method. + */ public void setEmbedAccountIdGuid(String embedAccountIdGuid) { this.embedAccountIdGuid = embedAccountIdGuid; } - + + /** + * getEmbedAccountIdGuid method. + * + * @return String + */ public String getEmbedAccountIdGuid() { return this.embedAccountIdGuid; } - /* - * When set to **true**, shows the account ID GUID in the response. - */ + + /** + * setIncludeAccountIdGuid method. + */ public void setIncludeAccountIdGuid(String includeAccountIdGuid) { this.includeAccountIdGuid = includeAccountIdGuid; } - + + /** + * getIncludeAccountIdGuid method. + * + * @return String + */ public String getIncludeAccountIdGuid() { return this.includeAccountIdGuid; } - /* - * Determines whether login settings are returned in the response. Valid Values: * all - All the login settings are returned. * none - no login settings are returned. - */ + + /** + * setLoginSettings method. + */ public void setLoginSettings(String loginSettings) { this.loginSettings = loginSettings; } - + + /** + * getLoginSettings method. + * + * @return String + */ public String getLoginSettings() { return this.loginSettings; } } /** - * Gets login information for a specified user. + * Gets login information for a specified user.. * Retrieves login information for a specified user. Each account that is associated with the login credentials is listed. You can use the returned information to determine whether a user is authenticated and select an account to use in future operations. The `baseUrl` property, returned in the response, is used in all future API calls as the base of the request URL. The `baseUrl` property contains the DocuSign server, the API version, and the `accountId` property that is used for the login. This request uses your DocuSign credentials to retrieve the account information. * @return LoginInformation */ @@ -233,7 +290,7 @@ public LoginInformation login() throws ApiException { } /** - * Gets login information for a specified user. + * Gets login information for a specified user.. * Retrieves login information for a specified user. Each account that is associated with the login credentials is listed. You can use the returned information to determine whether a user is authenticated and select an account to use in future operations. The `baseUrl` property, returned in the response, is used in all future API calls as the base of the request URL. The `baseUrl` property contains the DocuSign server, the API version, and the `accountId` property that is used for the login. This request uses your DocuSign credentials to retrieve the account information. * @param options for modifying the method behavior. * @return LoginInformation @@ -243,39 +300,46 @@ public LoginInformation login(AuthenticationApi.LoginOptions options) throws Api Object localVarPostBody = "{}"; // create path and map variables - String localVarPath = "/v2/login_information".replaceAll("\\{format\\}","json"); + String localVarPath = "/v2/login_information"; // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "api_password", options.apiPassword)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "embed_account_id_guid", options.embedAccountIdGuid)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "include_account_id_guid", options.includeAccountIdGuid)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "login_settings", options.loginSettings)); + localVarQueryParams.addAll(apiClient.parameterToPair("api_password", options.apiPassword)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("embed_account_id_guid", options.embedAccountIdGuid)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("include_account_id_guid", options.includeAccountIdGuid)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("login_settings", options.loginSettings)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Revokes an authorization token. + * Revokes an authorization token.. * Revokes an OAuth2 authorization server token. After the revocation is complete, a caller must re-authenticate to restore access. * @throws ApiException if fails to make API call */ @@ -283,34 +347,38 @@ public void revokeOAuthToken() throws ApiException { Object localVarPostBody = "{}"; // create path and map variables - String localVarPath = "/v2/oauth2/revoke".replaceAll("\\{format\\}","json"); + String localVarPath = "/v2/oauth2/revoke"; // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); - } + + apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); + } /** - * Updates the password for a specified user. + * Updates the password for a specified user.. * Updates the password for a specified user. * @param loginPart Currently, only the value **password** is supported. (required) * @param userPasswordInformation (optional) @@ -319,41 +387,45 @@ public void revokeOAuthToken() throws ApiException { public void updatePassword(String loginPart, UserPasswordInformation userPasswordInformation) throws ApiException { Object localVarPostBody = userPasswordInformation; - // verify the required parameter 'loginPart' is set - if (loginPart == null) { + // verify the required parameter 'loginPart' is set + if (loginPart == null) { throw new ApiException(400, "Missing the required parameter 'loginPart' when calling updatePassword"); - } + } // create path and map variables - String localVarPath = "/v2/login_information/{loginPart}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/login_information/{loginPart}" .replaceAll("\\{" + "loginPart" + "\\}", apiClient.escapeString(loginPart.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); - } + + apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); + } /** - * Adds social account for a user. + * Adds social account for a user.. * Adds a new social account to a user's account. * @param accountId The external account number (int) or account ID Guid. (required) * @param userId The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing. (required) @@ -363,42 +435,46 @@ public void updatePassword(String loginPart, UserPasswordInformation userPasswor public void updateSocialLogin(String accountId, String userId, SocialAccountInformation socialAccountInformation) throws ApiException { Object localVarPostBody = socialAccountInformation; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling updateSocialLogin"); - } + } - // verify the required parameter 'userId' is set - if (userId == null) { + // verify the required parameter 'userId' is set + if (userId == null) { throw new ApiException(400, "Missing the required parameter 'userId' when calling updateSocialLogin"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/users/{userId}/social".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/users/{userId}/social" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "userId" + "\\}", apiClient.escapeString(userId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); - } - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + + apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); + } +} diff --git a/src/main/java/com/docusign/esign/api/BillingApi.java b/src/main/java/com/docusign/esign/api/BillingApi.java index 3aed9141..718f1d1d 100644 --- a/src/main/java/com/docusign/esign/api/BillingApi.java +++ b/src/main/java/com/docusign/esign/api/BillingApi.java @@ -1,53 +1,60 @@ + package com.docusign.esign.api; -import com.sun.jersey.api.client.GenericType; +import javax.ws.rs.core.GenericType; import com.docusign.esign.client.ApiException; import com.docusign.esign.client.ApiClient; import com.docusign.esign.client.Configuration; +import com.docusign.esign.model.*; import com.docusign.esign.client.Pair; -import com.docusign.esign.model.AccountBillingPlanResponse; -import com.docusign.esign.model.BillingInvoice; -import com.docusign.esign.model.BillingInvoicesResponse; -import com.docusign.esign.model.BillingInvoicesSummary; -import com.docusign.esign.model.BillingPaymentItem; -import com.docusign.esign.model.BillingPaymentRequest; -import com.docusign.esign.model.BillingPaymentResponse; -import com.docusign.esign.model.BillingPaymentsResponse; -import com.docusign.esign.model.BillingPlanInformation; -import com.docusign.esign.model.BillingPlanResponse; -import com.docusign.esign.model.BillingPlanUpdateResponse; -import com.docusign.esign.model.BillingPlansResponse; -import com.docusign.esign.model.CreditCardInformation; -import com.docusign.esign.model.ErrorDetails; -import com.docusign.esign.model.PurchasedEnvelopesInformation; - - public class BillingApi { +/** + * BillingApi class. + * + **/ +public class BillingApi { private ApiClient apiClient; + /** + * BillingApi. + * + **/ public BillingApi() { - this(Configuration.getDefaultApiClient()); + this(Configuration.getDefaultApiClient()); } + /** + * BillingApi. + * + **/ public BillingApi(ApiClient apiClient) { - this.apiClient = apiClient; + this.apiClient = apiClient; } + /** + * getApiClient Method. + * + * @return ApiClient + **/ public ApiClient getApiClient() { - return apiClient; + return apiClient; } + /** + * setApiClient Method. + * + **/ public void setApiClient(ApiClient apiClient) { - this.apiClient = apiClient; + this.apiClient = apiClient; } /** - * Get the billing plan details. + * Get the billing plan details.. * Retrieves the billing plan details for the specified billing plan ID. * @param billingPlanId The ID of the billing plan being accessed. (required) * @return BillingPlanResponse @@ -56,41 +63,45 @@ public void setApiClient(ApiClient apiClient) { public BillingPlanResponse getBillingPlan(String billingPlanId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'billingPlanId' is set - if (billingPlanId == null) { + // verify the required parameter 'billingPlanId' is set + if (billingPlanId == null) { throw new ApiException(400, "Missing the required parameter 'billingPlanId' when calling getBillingPlan"); - } + } // create path and map variables - String localVarPath = "/v2/billing_plans/{billingPlanId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/billing_plans/{billingPlanId}" .replaceAll("\\{" + "billingPlanId" + "\\}", apiClient.escapeString(billingPlanId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Get metadata for a given credit card. + * Get metadata for a given credit card.. * * @param accountId The external account number (int) or account ID Guid. (required) * @return CreditCardInformation @@ -99,42 +110,46 @@ public BillingPlanResponse getBillingPlan(String billingPlanId) throws ApiExcept public CreditCardInformation getCreditCardInfo(String accountId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getCreditCardInfo"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/billing_plan/credit_card".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/billing_plan/credit_card" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Retrieves a billing invoice. - * Retrieves the specified invoice. ###### Note: If the `pdfAvailable` property in the response is set to *true*, you can download a PDF version of the invoice. To download the PDF, make the call again and change the value of the `Accept` property in the header to `Accept: application/pdf`. Privileges required: account administrator The response returns a list of charges and information about the charges. Quantities are usually shown as 'unlimited' or an integer. Amounts are shown in the currency set for the account. **Response** The following table provides a description of the different `chargeName` property values. The information will grow as more chargeable items are added to the system. | chargeName | Description | | --- | --- | | id_check | ID Check Charge | | in_person_signing | In Person Signing charge | | envelopes Included | Sent Envelopes for the account | | age_verify | Age verification check | | ofac | OFAC Check | | id_confirm | ID confirmation check | | student_authentication | STAN PIN authentication check | | wet_sign_fax | Pages for returning signed documents by fax | | attachment_fax | Pages for returning attachments by fax | | phone_authentication | Phone authentication charge | | powerforms | PowerForm envelopes sent | | signer_payments | Payment processing charge | | outbound_fax | Send by fax charge | | bulk_recipient_envelopes | Bulk Recipient Envelopes sent | | sms_authentications | SMS authentication charge | | saml_authentications | SAML authentication charge | | express_signer_certificate | DocuSign Express Certificate charge | | personal_signer_certificate | Personal Signer Certificate charge | | safe_certificate | SAFE BioPharma Signer Certificate charge | | seats | Included active seats charge | | open_trust_certificate | OpenTrust Signer Certificate charge | + * Retrieves a billing invoice.. + * Retrieves the specified invoice. ###### Note: If the `pdfAvailable` property in the response is set to *true*, you can download a PDF version of the invoice. To download the PDF, make the call again and change the value of the `Accept` property in the header to `Accept: application/pdf`. Privileges required: account administrator The response returns a list of charges and information about the charges. Quantities are usually shown as 'unlimited' or an integer. Amounts are shown in the currency set for the account. **Response** The following table provides a description of the different `chargeName` property values. The information will grow as more chargeable items are added to the system. | chargeName | Description | | --- | --- | | id_check | ID Check Charge | | in_person_signing | In Person Signing charge | | envelopes Included | Sent Envelopes for the account | | age_verify | Age verification check | | ofac | OFAC Check | | id_confirm | ID confirmation check | | student_authentication | STAN PIN authentication check | | wet_sign_fax | Pages for returning signed documents by fax | | attachment_fax | Pages for returning attachments by fax | | phone_authentication | Phone authentication charge | | powerforms | PowerForm envelopes sent | | signer_payments | Payment processing charge | | outbound_fax | Send by fax charge | | bulk_recipient_envelopes | Bulk Recipient Envelopes sent | | sms_authentications | SMS authentication charge | | saml_authentications | SAML authentication charge | | express_signer_certificate | DocuSign Express Certificate charge | | personal_signer_certificate | Personal Signer Certificate charge | | safe_certificate | SAFE BioPharma Signer Certificate charge | | seats | Included active seats charge | | open_trust_certificate | OpenTrust Signer Certificate charge | * @param accountId The external account number (int) or account ID Guid. (required) * @param invoiceId (required) * @return BillingInvoice @@ -143,47 +158,51 @@ public CreditCardInformation getCreditCardInfo(String accountId) throws ApiExcep public BillingInvoice getInvoice(String accountId, String invoiceId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getInvoice"); - } + } - // verify the required parameter 'invoiceId' is set - if (invoiceId == null) { + // verify the required parameter 'invoiceId' is set + if (invoiceId == null) { throw new ApiException(400, "Missing the required parameter 'invoiceId' when calling getInvoice"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/billing_invoices/{invoiceId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/billing_invoices/{invoiceId}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "invoiceId" + "\\}", apiClient.escapeString(invoiceId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Gets billing payment information for a specific payment. + * Gets billing payment information for a specific payment.. * Retrieves the information for a specified payment. Privileges required: account administrator * @param accountId The external account number (int) or account ID Guid. (required) * @param paymentId (required) @@ -193,86 +212,130 @@ public BillingInvoice getInvoice(String accountId, String invoiceId) throws ApiE public BillingPaymentItem getPayment(String accountId, String paymentId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getPayment"); - } + } - // verify the required parameter 'paymentId' is set - if (paymentId == null) { + // verify the required parameter 'paymentId' is set + if (paymentId == null) { throw new ApiException(400, "Missing the required parameter 'paymentId' when calling getPayment"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/billing_payments/{paymentId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/billing_payments/{paymentId}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "paymentId" + "\\}", apiClient.escapeString(paymentId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Get Account Billing Plan Retrieves the billing plan information for the specified account, including the current billing plan, successor plans, billing address, and billing credit card. By default the successor plan and credit card information is included in the response. This information can be excluded from the response by adding the appropriate optional query string with the `setting` set to **false**. Response The response returns the billing plan information, including the currency code, for the plan. The `billingPlan` and `succesorPlans` property values are the same as those shown in the [ML:Get Billing Plan Details] reference. the `billingAddress` and `creditCardInformation` property values are the same as those shown in the [ML:Update Billing Plan] reference. ###### Note: When credit card number information is shown, a mask is applied to the response so that only the last 4 digits of the card number are visible. /// + + /** + * GetPlanOptions Class. + * + **/ public class GetPlanOptions { private String includeCreditCardInformation = null; + private String includeDowngradeInformation = null; private String includeMetadata = null; private String includeSuccessorPlans = null; - /* - * When set to **true**, excludes credit card information from the response. - */ + + /** + * setIncludeCreditCardInformation method. + */ public void setIncludeCreditCardInformation(String includeCreditCardInformation) { this.includeCreditCardInformation = includeCreditCardInformation; } - + + /** + * getIncludeCreditCardInformation method. + * + * @return String + */ public String getIncludeCreditCardInformation() { return this.includeCreditCardInformation; } - /* - * When set to **true**, the `canUpgrade` and `renewalStatus` properities are included the response and an array of `supportedCountries` property is added to the `billingAddress` information. - */ + + /** + * setIncludeDowngradeInformation method. + */ + public void setIncludeDowngradeInformation(String includeDowngradeInformation) { + this.includeDowngradeInformation = includeDowngradeInformation; + } + + /** + * getIncludeDowngradeInformation method. + * + * @return String + */ + public String getIncludeDowngradeInformation() { + return this.includeDowngradeInformation; + } + + /** + * setIncludeMetadata method. + */ public void setIncludeMetadata(String includeMetadata) { this.includeMetadata = includeMetadata; } - + + /** + * getIncludeMetadata method. + * + * @return String + */ public String getIncludeMetadata() { return this.includeMetadata; } - /* - * When set to **true**, excludes successor information from the response. - */ + + /** + * setIncludeSuccessorPlans method. + */ public void setIncludeSuccessorPlans(String includeSuccessorPlans) { this.includeSuccessorPlans = includeSuccessorPlans; } - + + /** + * getIncludeSuccessorPlans method. + * + * @return String + */ public String getIncludeSuccessorPlans() { return this.includeSuccessorPlans; } } /** - * Get Account Billing Plan + * Get Account Billing Plan. * Retrieves the billing plan information for the specified account, including the current billing plan, successor plans, billing address, and billing credit card. By default the successor plan and credit card information is included in the response. This information can be excluded from the response by adding the appropriate optional query string with the `setting` set to **false**. Response The response returns the billing plan information, including the currency code, for the plan. The `billingPlan` and `succesorPlans` property values are the same as those shown in the [ML:Get Billing Plan Details] reference. the `billingAddress` and `creditCardInformation` property values are the same as those shown in the [ML:Update Billing Plan] reference. ###### Note: When credit card number information is shown, a mask is applied to the response so that only the last 4 digits of the card number are visible. * @param accountId The external account number (int) or account ID Guid. (required) * @return AccountBillingPlanResponse @@ -282,7 +345,7 @@ public AccountBillingPlanResponse getPlan(String accountId) throws ApiException } /** - * Get Account Billing Plan + * Get Account Billing Plan. * Retrieves the billing plan information for the specified account, including the current billing plan, successor plans, billing address, and billing credit card. By default the successor plan and credit card information is included in the response. This information can be excluded from the response by adding the appropriate optional query string with the `setting` set to **false**. Response The response returns the billing plan information, including the currency code, for the plan. The `billingPlan` and `succesorPlans` property values are the same as those shown in the [ML:Get Billing Plan Details] reference. the `billingAddress` and `creditCardInformation` property values are the same as those shown in the [ML:Update Billing Plan] reference. ###### Note: When credit card number information is shown, a mask is applied to the response so that only the last 4 digits of the card number are visible. * @param accountId The external account number (int) or account ID Guid. (required) * @param options for modifying the method behavior. @@ -292,45 +355,53 @@ public AccountBillingPlanResponse getPlan(String accountId) throws ApiException public AccountBillingPlanResponse getPlan(String accountId, BillingApi.GetPlanOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getPlan"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/billing_plan".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/billing_plan" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "include_credit_card_information", options.includeCreditCardInformation)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "include_metadata", options.includeMetadata)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "include_successor_plans", options.includeSuccessorPlans)); + localVarQueryParams.addAll(apiClient.parameterToPair("include_credit_card_information", options.includeCreditCardInformation)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("include_downgrade_information", options.includeDowngradeInformation)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("include_metadata", options.includeMetadata)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("include_successor_plans", options.includeSuccessorPlans)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Gets the list of available billing plans. + * Gets the list of available billing plans.. * Retrieves a list of the billing plans associated with a distributor. * @return BillingPlansResponse * @throws ApiException if fails to make API call @@ -339,62 +410,83 @@ public BillingPlansResponse listBillingPlans() throws ApiException { Object localVarPostBody = "{}"; // create path and map variables - String localVarPath = "/v2/billing_plans".replaceAll("\\{format\\}","json"); + String localVarPath = "/v2/billing_plans"; // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Get a List of Billing Invoices Retrieves a list of invoices for the account. If the from date or to date queries are not specified, the response returns invoices for the last 365 days. Privileges required: account administrator /// + + /** + * ListInvoicesOptions Class. + * + **/ public class ListInvoicesOptions { private String fromDate = null; private String toDate = null; - /* - * Specifies the date/time of the earliest invoice in the account to retrieve. - */ + + /** + * setFromDate method. + */ public void setFromDate(String fromDate) { this.fromDate = fromDate; } - + + /** + * getFromDate method. + * + * @return String + */ public String getFromDate() { return this.fromDate; } - /* - * Specifies the date/time of the latest invoice in the account to retrieve. - */ + + /** + * setToDate method. + */ public void setToDate(String toDate) { this.toDate = toDate; } - + + /** + * getToDate method. + * + * @return String + */ public String getToDate() { return this.toDate; } } /** - * Get a List of Billing Invoices + * Get a List of Billing Invoices. * Retrieves a list of invoices for the account. If the from date or to date queries are not specified, the response returns invoices for the last 365 days. Privileges required: account administrator * @param accountId The external account number (int) or account ID Guid. (required) * @return BillingInvoicesResponse @@ -404,7 +496,7 @@ public BillingInvoicesResponse listInvoices(String accountId) throws ApiExceptio } /** - * Get a List of Billing Invoices + * Get a List of Billing Invoices. * Retrieves a list of invoices for the account. If the from date or to date queries are not specified, the response returns invoices for the last 365 days. Privileges required: account administrator * @param accountId The external account number (int) or account ID Guid. (required) * @param options for modifying the method behavior. @@ -414,44 +506,49 @@ public BillingInvoicesResponse listInvoices(String accountId) throws ApiExceptio public BillingInvoicesResponse listInvoices(String accountId, BillingApi.ListInvoicesOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling listInvoices"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/billing_invoices".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/billing_invoices" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "from_date", options.fromDate)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "to_date", options.toDate)); + localVarQueryParams.addAll(apiClient.parameterToPair("from_date", options.fromDate)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("to_date", options.toDate)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Get a list of past due invoices. + * Get a list of past due invoices.. * Returns a list past due invoices for the account and notes if payment can be made through the REST API. Privileges Required: account administrator * @param accountId The external account number (int) or account ID Guid. (required) * @return BillingInvoicesSummary @@ -460,69 +557,90 @@ public BillingInvoicesResponse listInvoices(String accountId, BillingApi.ListInv public BillingInvoicesSummary listInvoicesPastDue(String accountId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling listInvoicesPastDue"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/billing_invoices_past_due".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/billing_invoices_past_due" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Gets payment information for one or more payments. Retrieves a list containing information about one or more payments. If the from date or to date queries are not used, the response returns payment information for the last 365 days. Privileges required: account administrator /// + + /** + * ListPaymentsOptions Class. + * + **/ public class ListPaymentsOptions { private String fromDate = null; private String toDate = null; - /* - * Specifies the date/time of the earliest payment in the account to retrieve. - */ + + /** + * setFromDate method. + */ public void setFromDate(String fromDate) { this.fromDate = fromDate; } - + + /** + * getFromDate method. + * + * @return String + */ public String getFromDate() { return this.fromDate; } - /* - * Specifies the date/time of the latest payment in the account to retrieve. - */ + + /** + * setToDate method. + */ public void setToDate(String toDate) { this.toDate = toDate; } - + + /** + * getToDate method. + * + * @return String + */ public String getToDate() { return this.toDate; } } /** - * Gets payment information for one or more payments. + * Gets payment information for one or more payments.. * Retrieves a list containing information about one or more payments. If the from date or to date queries are not used, the response returns payment information for the last 365 days. Privileges required: account administrator * @param accountId The external account number (int) or account ID Guid. (required) * @return BillingPaymentsResponse @@ -532,7 +650,7 @@ public BillingPaymentsResponse listPayments(String accountId) throws ApiExceptio } /** - * Gets payment information for one or more payments. + * Gets payment information for one or more payments.. * Retrieves a list containing information about one or more payments. If the from date or to date queries are not used, the response returns payment information for the last 365 days. Privileges required: account administrator * @param accountId The external account number (int) or account ID Guid. (required) * @param options for modifying the method behavior. @@ -542,44 +660,49 @@ public BillingPaymentsResponse listPayments(String accountId) throws ApiExceptio public BillingPaymentsResponse listPayments(String accountId, BillingApi.ListPaymentsOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling listPayments"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/billing_payments".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/billing_payments" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "from_date", options.fromDate)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "to_date", options.toDate)); + localVarQueryParams.addAll(apiClient.parameterToPair("from_date", options.fromDate)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("to_date", options.toDate)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Posts a payment to a past due invoice. + * Posts a payment to a past due invoice.. * Posts a payment to a past due invoice. ###### Note: This can only be used if the `paymentAllowed` value for a past due invoice is true. This can be determined calling [ML:GetBillingInvoicesPastDue]. The response returns information for a single payment, if a payment ID was used in the endpoint, or a list of payments. If the from date or to date queries or payment ID are not used, the response returns payment information for the last 365 days. If the request was for a single payment ID, the `nextUri` and `previousUri` properties are not returned. Privileges required: account administrator * @param accountId The external account number (int) or account ID Guid. (required) * @param billingPaymentRequest (optional) @@ -589,41 +712,45 @@ public BillingPaymentsResponse listPayments(String accountId, BillingApi.ListPay public BillingPaymentResponse makePayment(String accountId, BillingPaymentRequest billingPaymentRequest) throws ApiException { Object localVarPostBody = billingPaymentRequest; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling makePayment"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/billing_payments".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/billing_payments" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Reserverd: Purchase additional envelopes. + * Reserverd: Purchase additional envelopes.. * Reserved: At this time, this endpoint is limited to DocuSign internal use only. Completes the purchase of envelopes for your account. The actual purchase is done as part of an internal workflow interaction with an envelope vendor. * @param accountId The external account number (int) or account ID Guid. (required) * @param purchasedEnvelopesInformation (optional) @@ -632,58 +759,73 @@ public BillingPaymentResponse makePayment(String accountId, BillingPaymentReques public void purchaseEnvelopes(String accountId, PurchasedEnvelopesInformation purchasedEnvelopesInformation) throws ApiException { Object localVarPostBody = purchasedEnvelopesInformation; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling purchaseEnvelopes"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/billing_plan/purchased_envelopes".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/billing_plan/purchased_envelopes" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + + apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); + } /// /// Updates the account billing plan. Updates the billing plan information, billing address, and credit card information for the specified account. /// + + /** + * UpdatePlanOptions Class. + * + **/ public class UpdatePlanOptions { private String previewBillingPlan = null; - /* - * When set to **true**, updates the account using a preview billing plan. - */ + + /** + * setPreviewBillingPlan method. + */ public void setPreviewBillingPlan(String previewBillingPlan) { this.previewBillingPlan = previewBillingPlan; } - + + /** + * getPreviewBillingPlan method. + * + * @return String + */ public String getPreviewBillingPlan() { return this.previewBillingPlan; } } /** - * Updates the account billing plan. + * Updates the account billing plan.. * Updates the billing plan information, billing address, and credit card information for the specified account. * @param accountId The external account number (int) or account ID Guid. (required) * @param billingPlanInformation (optional) @@ -694,7 +836,7 @@ public BillingPlanUpdateResponse updatePlan(String accountId, BillingPlanInforma } /** - * Updates the account billing plan. + * Updates the account billing plan.. * Updates the billing plan information, billing address, and credit card information for the specified account. * @param accountId The external account number (int) or account ID Guid. (required) * @param billingPlanInformation (optional) @@ -705,38 +847,42 @@ public BillingPlanUpdateResponse updatePlan(String accountId, BillingPlanInforma public BillingPlanUpdateResponse updatePlan(String accountId, BillingPlanInformation billingPlanInformation, BillingApi.UpdatePlanOptions options) throws ApiException { Object localVarPostBody = billingPlanInformation; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling updatePlan"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/billing_plan".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/billing_plan" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "preview_billing_plan", options.previewBillingPlan)); + localVarQueryParams.addAll(apiClient.parameterToPair("preview_billing_plan", options.previewBillingPlan)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } +} diff --git a/src/main/java/com/docusign/esign/api/BulkEnvelopesApi.java b/src/main/java/com/docusign/esign/api/BulkEnvelopesApi.java index da295111..fde0c680 100644 --- a/src/main/java/com/docusign/esign/api/BulkEnvelopesApi.java +++ b/src/main/java/com/docusign/esign/api/BulkEnvelopesApi.java @@ -1,40 +1,33 @@ + package com.docusign.esign.api; -import com.sun.jersey.api.client.GenericType; +import javax.ws.rs.core.GenericType; import com.docusign.esign.client.ApiException; import com.docusign.esign.client.ApiClient; import com.docusign.esign.client.Configuration; +import com.docusign.esign.model.*; import com.docusign.esign.client.Pair; -import com.docusign.esign.model.BulkEnvelopeStatus; -import com.docusign.esign.model.BulkEnvelopesResponse; -import com.docusign.esign.model.BulkRecipientsRequest; -import com.docusign.esign.model.BulkRecipientsResponse; -import com.docusign.esign.model.BulkRecipientsSummaryResponse; -import com.docusign.esign.model.BulkRecipientsUpdateResponse; -import com.docusign.esign.model.ErrorDetails; - - - public class BulkEnvelopesApi { +public class BulkEnvelopesApi { private ApiClient apiClient; public BulkEnvelopesApi() { - this(Configuration.getDefaultApiClient()); + this(Configuration.getDefaultApiClient()); } public BulkEnvelopesApi(ApiClient apiClient) { - this.apiClient = apiClient; + this.apiClient = apiClient; } public ApiClient getApiClient() { - return apiClient; + return apiClient; } public void setApiClient(ApiClient apiClient) { - this.apiClient = apiClient; + this.apiClient = apiClient; } @@ -50,50 +43,54 @@ public void setApiClient(ApiClient apiClient) { public BulkRecipientsUpdateResponse deleteRecipients(String accountId, String envelopeId, String recipientId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling deleteRecipients"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling deleteRecipients"); - } + } - // verify the required parameter 'recipientId' is set - if (recipientId == null) { + // verify the required parameter 'recipientId' is set + if (recipientId == null) { throw new ApiException(400, "Missing the required parameter 'recipientId' when calling deleteRecipients"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/bulk_recipients".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/bulk_recipients" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())) .replaceAll("\\{" + "recipientId" + "\\}", apiClient.escapeString(recipientId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Gets the status of a specified bulk send operation. Retrieves the status information of a single bulk recipient batch. A bulk recipient batch is the set of envelopes sent from a single bulk recipient file. /// @@ -108,17 +105,17 @@ public class GetOptions public void setCount(String count) { this.count = count; } - + public String getCount() { return this.count; } /* - * Specifies which entries are included in the response. Multiple entries can be included by using commas in the query string (example: ?include=”failed,queued”) Valid values are: * all - Returns all entries. If present, overrides all other query settings. This is the default if no query string is provided. * failed - This only returns entries with a failed status. * queued - This only returns entries with a queued status. * sent – This only returns entries with a sent status. + * Specifies which entries are included in the response. Multiple entries can be included by using commas in the query string (example: ?include=”failed,queued”) Valid values are: * all - Returns all entries. If present, overrides all other query settings. This is the default if no query string is provided. * failed - This only returns entries with a failed status. * queued - This only returns entries with a queued status. * sent – This only returns entries with a sent status. */ public void setInclude(String include) { this.include = include; } - + public String getInclude() { return this.include; } @@ -128,7 +125,7 @@ public String getInclude() { public void setStartPosition(String startPosition) { this.startPosition = startPosition; } - + public String getStartPosition() { return this.startPosition; } @@ -157,48 +154,54 @@ public BulkEnvelopeStatus get(String accountId, String batchId) throws ApiExcept public BulkEnvelopeStatus get(String accountId, String batchId, BulkEnvelopesApi.GetOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling get"); - } + } - // verify the required parameter 'batchId' is set - if (batchId == null) { + // verify the required parameter 'batchId' is set + if (batchId == null) { throw new ApiException(400, "Missing the required parameter 'batchId' when calling get"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/bulk_envelopes/{batchId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/bulk_envelopes/{batchId}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "batchId" + "\\}", apiClient.escapeString(batchId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "count", options.count)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "include", options.include)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "start_position", options.startPosition)); + localVarQueryParams.addAll(apiClient.parameterToPair("count", options.count)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("include", options.include)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("start_position", options.startPosition)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Gets the bulk recipient file from an envelope. Retrieves the bulk recipient file information from an envelope that has a bulk recipient. /// @@ -212,7 +215,7 @@ public class GetRecipientsOptions public void setIncludeTabs(String includeTabs) { this.includeTabs = includeTabs; } - + public String getIncludeTabs() { return this.includeTabs; } @@ -222,7 +225,7 @@ public String getIncludeTabs() { public void setStartPosition(String startPosition) { this.startPosition = startPosition; } - + public String getStartPosition() { return this.startPosition; } @@ -253,60 +256,64 @@ public BulkRecipientsResponse getRecipients(String accountId, String envelopeId, public BulkRecipientsResponse getRecipients(String accountId, String envelopeId, String recipientId, BulkEnvelopesApi.GetRecipientsOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getRecipients"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling getRecipients"); - } + } - // verify the required parameter 'recipientId' is set - if (recipientId == null) { + // verify the required parameter 'recipientId' is set + if (recipientId == null) { throw new ApiException(400, "Missing the required parameter 'recipientId' when calling getRecipients"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/bulk_recipients".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/bulk_recipients" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())) .replaceAll("\\{" + "recipientId" + "\\}", apiClient.escapeString(recipientId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "include_tabs", options.includeTabs)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "start_position", options.startPosition)); + localVarQueryParams.addAll(apiClient.parameterToPair("include_tabs", options.includeTabs)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("start_position", options.startPosition)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Gets status information about bulk recipient batches. Retrieves status information about all the bulk recipient batches. A bulk recipient batch is the set of envelopes sent from a single bulk recipient file. The response includes general information about each bulk recipient batch. The response returns information about the envelopes sent with bulk recipient batches, including the `batchId` property, which can be used to retrieve a more detailed status of individual bulk recipient batches. /// public class ListOptions { private String count = null; - private String include = null; private String startPosition = null; /* * The number of results to return. This can be 1 to 20. @@ -314,27 +321,17 @@ public class ListOptions public void setCount(String count) { this.count = count; } - + public String getCount() { return this.count; } - /* - * - */ - public void setInclude(String include) { - this.include = include; - } - - public String getInclude() { - return this.include; - } /* * The position of the bulk envelope items in the response. This is used for repeated calls, when the number of bulk envelopes returned is too large for one return. The default value is 0. */ public void setStartPosition(String startPosition) { this.startPosition = startPosition; } - + public String getStartPosition() { return this.startPosition; } @@ -361,98 +358,111 @@ public BulkEnvelopesResponse list(String accountId) throws ApiException { public BulkEnvelopesResponse list(String accountId, BulkEnvelopesApi.ListOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling list"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/bulk_envelopes".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/bulk_envelopes" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "count", options.count)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "include", options.include)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "start_position", options.startPosition)); + localVarQueryParams.addAll(apiClient.parameterToPair("count", options.count)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("start_position", options.startPosition)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** * Adds or replaces envelope bulk recipients. * Updates the bulk recipients in a draft envelope using a file upload. The Content-Type supported for uploading a bulk recipient file is CSV (text/csv). The REST API does not support modifying individual rows or values in the bulk recipients file. It only allows the entire file to be added or replaced with a new file. - * @param accountId The external account number (int) or account ID Guid. (required) - * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) - * @param recipientId The ID of the recipient being accessed. (required) - * @param bulkRecipientsRequest (optional) + * @param accountId The external account number (int) or account id GUID. (required) + * @param envelopeId The envelope's GUID. Eg 93be49ab-afa0-4adf-933c-f752070d71ec (required) + * @param recipientId A local reference that senders use to map recipients to other objects, such as specific document tabs. Within an envelope, each `recipientId` must be unique, but there is no uniqueness requirement across envelopes. For example, many envelopes assign the first recipient a `recipientId` of `1`. (required) + * @param bulkRecipientsRequest (required) * @return BulkRecipientsSummaryResponse * @throws ApiException if fails to make API call */ - public BulkRecipientsSummaryResponse updateRecipients(String accountId, String envelopeId, String recipientId, BulkRecipientsRequest bulkRecipientsRequest) throws ApiException { + public BulkRecipientsSummaryResponse updateRecipients(String accountId, String envelopeId, String recipientId, byte[] bulkRecipientsRequest) throws ApiException { Object localVarPostBody = bulkRecipientsRequest; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling updateRecipients"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling updateRecipients"); - } + } - // verify the required parameter 'recipientId' is set - if (recipientId == null) { + // verify the required parameter 'recipientId' is set + if (recipientId == null) { throw new ApiException(400, "Missing the required parameter 'recipientId' when calling updateRecipients"); - } + } + + // verify the required parameter 'bulkRecipientsRequest' is set + if (bulkRecipientsRequest == null) { + throw new ApiException(400, "Missing the required parameter 'bulkRecipientsRequest' when calling updateRecipients"); + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/bulk_recipients".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/bulk_recipients" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())) .replaceAll("\\{" + "recipientId" + "\\}", apiClient.escapeString(recipientId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + + - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - "text/csv" - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarContentTypes = { + "text/csv" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } +} diff --git a/src/main/java/com/docusign/esign/api/CloudStorageApi.java b/src/main/java/com/docusign/esign/api/CloudStorageApi.java index 38483f72..30da0c48 100644 --- a/src/main/java/com/docusign/esign/api/CloudStorageApi.java +++ b/src/main/java/com/docusign/esign/api/CloudStorageApi.java @@ -1,41 +1,267 @@ + package com.docusign.esign.api; -import com.sun.jersey.api.client.GenericType; +import javax.ws.rs.core.GenericType; import com.docusign.esign.client.ApiException; import com.docusign.esign.client.ApiClient; import com.docusign.esign.client.Configuration; +import com.docusign.esign.model.*; import com.docusign.esign.client.Pair; -import com.docusign.esign.model.CloudStorageProviders; -import com.docusign.esign.model.ErrorDetails; -import com.docusign.esign.model.ExternalFolder; - - public class CloudStorageApi { +/** + * CloudStorageApi class. + * + **/ +public class CloudStorageApi { private ApiClient apiClient; + /** + * CloudStorageApi. + * + **/ public CloudStorageApi() { - this(Configuration.getDefaultApiClient()); + this(Configuration.getDefaultApiClient()); } + /** + * CloudStorageApi. + * + **/ public CloudStorageApi(ApiClient apiClient) { - this.apiClient = apiClient; + this.apiClient = apiClient; } + /** + * getApiClient Method. + * + * @return ApiClient + **/ public ApiClient getApiClient() { - return apiClient; + return apiClient; } + /** + * setApiClient Method. + * + **/ public void setApiClient(ApiClient apiClient) { - this.apiClient = apiClient; + this.apiClient = apiClient; + } + + /// + /// Gets a list of all the items from the specified cloud storage provider. Retrieves a list of all the items in all the folders associated with the user from the specified cloud storage provider. You can limit the scope of the returned items by providing a comma separated list of folder IDs in the request. + /// + + /** + * CallListOptions Class. + * + **/ + public class CallListOptions + { + private String cloudStorageFolderPath = null; + private String count = null; + private String order = null; + private String orderBy = null; + private String searchText = null; + private String startPosition = null; + + /** + * setCloudStorageFolderPath method. + */ + public void setCloudStorageFolderPath(String cloudStorageFolderPath) { + this.cloudStorageFolderPath = cloudStorageFolderPath; + } + + /** + * getCloudStorageFolderPath method. + * + * @return String + */ + public String getCloudStorageFolderPath() { + return this.cloudStorageFolderPath; + } + + /** + * setCount method. + */ + public void setCount(String count) { + this.count = count; } + /** + * getCount method. + * + * @return String + */ + public String getCount() { + return this.count; + } + + /** + * setOrder method. + */ + public void setOrder(String order) { + this.order = order; + } + + /** + * getOrder method. + * + * @return String + */ + public String getOrder() { + return this.order; + } + + /** + * setOrderBy method. + */ + public void setOrderBy(String orderBy) { + this.orderBy = orderBy; + } + + /** + * getOrderBy method. + * + * @return String + */ + public String getOrderBy() { + return this.orderBy; + } + + /** + * setSearchText method. + */ + public void setSearchText(String searchText) { + this.searchText = searchText; + } + + /** + * getSearchText method. + * + * @return String + */ + public String getSearchText() { + return this.searchText; + } + + /** + * setStartPosition method. + */ + public void setStartPosition(String startPosition) { + this.startPosition = startPosition; + } + + /** + * getStartPosition method. + * + * @return String + */ + public String getStartPosition() { + return this.startPosition; + } + } + + /** + * Gets a list of all the items from the specified cloud storage provider.. + * Retrieves a list of all the items in all the folders associated with the user from the specified cloud storage provider. You can limit the scope of the returned items by providing a comma separated list of folder IDs in the request. + * @param accountId The external account number (int) or account ID Guid. (required) + * @param userId The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing. (required) + * @param serviceId The ID of the service to access. Valid values are the service name (\"Box\") or the numerical serviceId (\"4136\"). (required) + * @param folderId The ID of the folder being accessed. (required) + * @return ExternalFolder + */ + public ExternalFolder callList(String accountId, String userId, String serviceId, String folderId) throws ApiException { + return callList(accountId, userId, serviceId, folderId, null); + } /** - * Configures the redirect URL information for one or more cloud storage providers for the specified user. + * Gets a list of all the items from the specified cloud storage provider.. + * Retrieves a list of all the items in all the folders associated with the user from the specified cloud storage provider. You can limit the scope of the returned items by providing a comma separated list of folder IDs in the request. + * @param accountId The external account number (int) or account ID Guid. (required) + * @param userId The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing. (required) + * @param serviceId The ID of the service to access. Valid values are the service name (\"Box\") or the numerical serviceId (\"4136\"). (required) + * @param folderId The ID of the folder being accessed. (required) + * @param options for modifying the method behavior. + * @return ExternalFolder + * @throws ApiException if fails to make API call + */ + public ExternalFolder callList(String accountId, String userId, String serviceId, String folderId, CloudStorageApi.CallListOptions options) throws ApiException { + Object localVarPostBody = "{}"; + + // verify the required parameter 'accountId' is set + if (accountId == null) { + throw new ApiException(400, "Missing the required parameter 'accountId' when calling callList"); + } + + // verify the required parameter 'userId' is set + if (userId == null) { + throw new ApiException(400, "Missing the required parameter 'userId' when calling callList"); + } + + // verify the required parameter 'serviceId' is set + if (serviceId == null) { + throw new ApiException(400, "Missing the required parameter 'serviceId' when calling callList"); + } + + // verify the required parameter 'folderId' is set + if (folderId == null) { + throw new ApiException(400, "Missing the required parameter 'folderId' when calling callList"); + } + + // create path and map variables + String localVarPath = "/v2/accounts/{accountId}/users/{userId}/cloud_storage/{serviceId}/folders/{folderId}" + .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) + .replaceAll("\\{" + "userId" + "\\}", apiClient.escapeString(userId.toString())) + .replaceAll("\\{" + "serviceId" + "\\}", apiClient.escapeString(serviceId.toString())) + .replaceAll("\\{" + "folderId" + "\\}", apiClient.escapeString(folderId.toString())); + + // query params + java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); + java.util.Map localVarHeaderParams = new java.util.HashMap(); + java.util.Map localVarFormParams = new java.util.HashMap(); + + if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("cloud_storage_folder_path", options.cloudStorageFolderPath)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("count", options.count)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("order", options.order)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("order_by", options.orderBy)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("search_text", options.searchText)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("start_position", options.startPosition)); + } + + + + + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } + + /** + * Configures the redirect URL information for one or more cloud storage providers for the specified user.. * Configures the redirect URL information for one or more cloud storage providers for the specified user. The redirect URL is added to the authentication URL to complete the return route. * @param accountId The external account number (int) or account ID Guid. (required) * @param userId The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing. (required) @@ -46,47 +272,51 @@ public void setApiClient(ApiClient apiClient) { public CloudStorageProviders createProvider(String accountId, String userId, CloudStorageProviders cloudStorageProviders) throws ApiException { Object localVarPostBody = cloudStorageProviders; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling createProvider"); - } + } - // verify the required parameter 'userId' is set - if (userId == null) { + // verify the required parameter 'userId' is set + if (userId == null) { throw new ApiException(400, "Missing the required parameter 'userId' when calling createProvider"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/users/{userId}/cloud_storage".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/users/{userId}/cloud_storage" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "userId" + "\\}", apiClient.escapeString(userId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Deletes the user authentication information for the specified cloud storage provider. + * Deletes the user authentication information for the specified cloud storage provider.. * Deletes the user authentication information for the specified cloud storage provider. The next time the user tries to access the cloud storage provider, they must pass normal authentication for this cloud storage provider. * @param accountId The external account number (int) or account ID Guid. (required) * @param userId The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing. (required) @@ -97,53 +327,57 @@ public CloudStorageProviders createProvider(String accountId, String userId, Clo public CloudStorageProviders deleteProvider(String accountId, String userId, String serviceId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling deleteProvider"); - } + } - // verify the required parameter 'userId' is set - if (userId == null) { + // verify the required parameter 'userId' is set + if (userId == null) { throw new ApiException(400, "Missing the required parameter 'userId' when calling deleteProvider"); - } + } - // verify the required parameter 'serviceId' is set - if (serviceId == null) { + // verify the required parameter 'serviceId' is set + if (serviceId == null) { throw new ApiException(400, "Missing the required parameter 'serviceId' when calling deleteProvider"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/users/{userId}/cloud_storage/{serviceId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/users/{userId}/cloud_storage/{serviceId}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "userId" + "\\}", apiClient.escapeString(userId.toString())) .replaceAll("\\{" + "serviceId" + "\\}", apiClient.escapeString(serviceId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Deletes the user authentication information for one or more cloud storage providers. + * Deletes the user authentication information for one or more cloud storage providers.. * Deletes the user authentication information for one or more cloud storage providers. The next time the user tries to access the cloud storage provider, they must pass normal authentication. * @param accountId The external account number (int) or account ID Guid. (required) * @param userId The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing. (required) @@ -154,64 +388,79 @@ public CloudStorageProviders deleteProvider(String accountId, String userId, Str public CloudStorageProviders deleteProviders(String accountId, String userId, CloudStorageProviders cloudStorageProviders) throws ApiException { Object localVarPostBody = cloudStorageProviders; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling deleteProviders"); - } + } - // verify the required parameter 'userId' is set - if (userId == null) { + // verify the required parameter 'userId' is set + if (userId == null) { throw new ApiException(400, "Missing the required parameter 'userId' when calling deleteProviders"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/users/{userId}/cloud_storage".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/users/{userId}/cloud_storage" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "userId" + "\\}", apiClient.escapeString(userId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Gets the specified Cloud Storage Provider configuration for the User. Retrieves the list of cloud storage providers enabled for the account and the configuration information for the user. /// + + /** + * GetProviderOptions Class. + * + **/ public class GetProviderOptions { private String redirectUrl = null; - /* - * The URL the user is redirected to after the cloud storage provider authenticates the user. Using this will append the redirectUrl to the authenticationUrl. The redirectUrl is restricted to URLs in the docusign.com or docusign.net domains. - */ + + /** + * setRedirectUrl method. + */ public void setRedirectUrl(String redirectUrl) { this.redirectUrl = redirectUrl; } - + + /** + * getRedirectUrl method. + * + * @return String + */ public String getRedirectUrl() { return this.redirectUrl; } } /** - * Gets the specified Cloud Storage Provider configuration for the User. + * Gets the specified Cloud Storage Provider configuration for the User.. * Retrieves the list of cloud storage providers enabled for the account and the configuration information for the user. * @param accountId The external account number (int) or account ID Guid. (required) * @param userId The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing. (required) @@ -223,7 +472,7 @@ public CloudStorageProviders getProvider(String accountId, String userId, String } /** - * Gets the specified Cloud Storage Provider configuration for the User. + * Gets the specified Cloud Storage Provider configuration for the User.. * Retrieves the list of cloud storage providers enabled for the account and the configuration information for the user. * @param accountId The external account number (int) or account ID Guid. (required) * @param userId The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing. (required) @@ -235,212 +484,64 @@ public CloudStorageProviders getProvider(String accountId, String userId, String public CloudStorageProviders getProvider(String accountId, String userId, String serviceId, CloudStorageApi.GetProviderOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getProvider"); - } + } - // verify the required parameter 'userId' is set - if (userId == null) { + // verify the required parameter 'userId' is set + if (userId == null) { throw new ApiException(400, "Missing the required parameter 'userId' when calling getProvider"); - } + } - // verify the required parameter 'serviceId' is set - if (serviceId == null) { + // verify the required parameter 'serviceId' is set + if (serviceId == null) { throw new ApiException(400, "Missing the required parameter 'serviceId' when calling getProvider"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/users/{userId}/cloud_storage/{serviceId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/users/{userId}/cloud_storage/{serviceId}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "userId" + "\\}", apiClient.escapeString(userId.toString())) .replaceAll("\\{" + "serviceId" + "\\}", apiClient.escapeString(serviceId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "redirectUrl", options.redirectUrl)); + localVarQueryParams.addAll(apiClient.parameterToPair("redirectUrl", options.redirectUrl)); } - - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; - - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } - /// - /// Gets a list of all the items from the specified cloud storage provider. Retrieves a list of all the items in all the folders associated with the user from the specified cloud storage provider. You can limit the scope of the returned items by providing a comma separated list of folder IDs in the request. - /// - public class ListOptions - { - private String cloudStorageFolderPath = null; - private String count = null; - private String order = null; - private String orderBy = null; - private String searchText = null; - private String startPosition = null; - /* - * - */ - public void setCloudStorageFolderPath(String cloudStorageFolderPath) { - this.cloudStorageFolderPath = cloudStorageFolderPath; - } - - public String getCloudStorageFolderPath() { - return this.cloudStorageFolderPath; - } - /* - * An optional value that sets how many items are included in the response. The default setting for this is 25. - */ - public void setCount(String count) { - this.count = count; - } - - public String getCount() { - return this.count; - } - /* - * An optional value that sets the direction order used to sort the item list. Valid values are: * asc = ascending sort order * desc = descending sort order - */ - public void setOrder(String order) { - this.order = order; - } - - public String getOrder() { - return this.order; - } - /* - * An optional value that sets the file attribute used to sort the item list. Valid values are: * modified * name - */ - public void setOrderBy(String orderBy) { - this.orderBy = orderBy; - } - - public String getOrderBy() { - return this.orderBy; - } - /* - * - */ - public void setSearchText(String searchText) { - this.searchText = searchText; - } - - public String getSearchText() { - return this.searchText; - } - /* - * Indicates the starting point of the first item included in the response set. It uses a 0-based index. The default setting for this is 0. - */ - public void setStartPosition(String startPosition) { - this.startPosition = startPosition; - } - - public String getStartPosition() { - return this.startPosition; - } - } - - /** - * Gets a list of all the items from the specified cloud storage provider. - * Retrieves a list of all the items in all the folders associated with the user from the specified cloud storage provider. You can limit the scope of the returned items by providing a comma separated list of folder IDs in the request. - * @param accountId The external account number (int) or account ID Guid. (required) - * @param userId The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing. (required) - * @param serviceId The ID of the service to access. Valid values are the service name (\"Box\") or the numerical serviceId (\"4136\"). (required) - * @param folderId The ID of the folder being accessed. (required) - * @return ExternalFolder - */ - public ExternalFolder list(String accountId, String userId, String serviceId, String folderId) throws ApiException { - return list(accountId, userId, serviceId, folderId, null); - } - - /** - * Gets a list of all the items from the specified cloud storage provider. - * Retrieves a list of all the items in all the folders associated with the user from the specified cloud storage provider. You can limit the scope of the returned items by providing a comma separated list of folder IDs in the request. - * @param accountId The external account number (int) or account ID Guid. (required) - * @param userId The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing. (required) - * @param serviceId The ID of the service to access. Valid values are the service name (\"Box\") or the numerical serviceId (\"4136\"). (required) - * @param folderId The ID of the folder being accessed. (required) - * @param options for modifying the method behavior. - * @return ExternalFolder - * @throws ApiException if fails to make API call - */ - public ExternalFolder list(String accountId, String userId, String serviceId, String folderId, CloudStorageApi.ListOptions options) throws ApiException { - Object localVarPostBody = "{}"; - - // verify the required parameter 'accountId' is set - if (accountId == null) { - throw new ApiException(400, "Missing the required parameter 'accountId' when calling list"); - } - - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException(400, "Missing the required parameter 'userId' when calling list"); - } - - // verify the required parameter 'serviceId' is set - if (serviceId == null) { - throw new ApiException(400, "Missing the required parameter 'serviceId' when calling list"); - } - - // verify the required parameter 'folderId' is set - if (folderId == null) { - throw new ApiException(400, "Missing the required parameter 'folderId' when calling list"); - } - // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/users/{userId}/cloud_storage/{serviceId}/folders/{folderId}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) - .replaceAll("\\{" + "userId" + "\\}", apiClient.escapeString(userId.toString())) - .replaceAll("\\{" + "serviceId" + "\\}", apiClient.escapeString(serviceId.toString())) - .replaceAll("\\{" + "folderId" + "\\}", apiClient.escapeString(folderId.toString())); - // query params - java.util.List localVarQueryParams = new java.util.ArrayList(); - java.util.Map localVarHeaderParams = new java.util.HashMap(); - java.util.Map localVarFormParams = new java.util.HashMap(); + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "cloud_storage_folder_path", options.cloudStorageFolderPath)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "count", options.count)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "order", options.order)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "order_by", options.orderBy)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "search_text", options.searchText)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "start_position", options.startPosition)); - } - - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Retrieves a list of all the items in a specified folder from the specified cloud storage provider. Retrieves a list of all the items in a specified folder from the specified cloud storage provider. /// + + /** + * ListFoldersOptions Class. + * + **/ public class ListFoldersOptions { private String cloudStorageFolderPath = null; @@ -449,70 +550,106 @@ public class ListFoldersOptions private String orderBy = null; private String searchText = null; private String startPosition = null; - /* - * A comma separated list of folder IDs included in the request. - */ + + /** + * setCloudStorageFolderPath method. + */ public void setCloudStorageFolderPath(String cloudStorageFolderPath) { this.cloudStorageFolderPath = cloudStorageFolderPath; } - + + /** + * getCloudStorageFolderPath method. + * + * @return String + */ public String getCloudStorageFolderPath() { return this.cloudStorageFolderPath; } - /* - * An optional value that sets how many items are included in the response. The default setting for this is 25. - */ + + /** + * setCount method. + */ public void setCount(String count) { this.count = count; } - + + /** + * getCount method. + * + * @return String + */ public String getCount() { return this.count; } - /* - * An optional value that sets the direction order used to sort the item list. Valid values are: * asc = ascending sort order * desc = descending sort order - */ + + /** + * setOrder method. + */ public void setOrder(String order) { this.order = order; } - + + /** + * getOrder method. + * + * @return String + */ public String getOrder() { return this.order; } - /* - * An optional value that sets the file attribute used to sort the item list. Valid values are: * modified * name - */ + + /** + * setOrderBy method. + */ public void setOrderBy(String orderBy) { this.orderBy = orderBy; } - + + /** + * getOrderBy method. + * + * @return String + */ public String getOrderBy() { return this.orderBy; } - /* - * - */ + + /** + * setSearchText method. + */ public void setSearchText(String searchText) { this.searchText = searchText; } - + + /** + * getSearchText method. + * + * @return String + */ public String getSearchText() { return this.searchText; } - /* - * Indicates the starting point of the first item included in the response set. It uses a 0-based index. The default setting for this is 0. - */ + + /** + * setStartPosition method. + */ public void setStartPosition(String startPosition) { this.startPosition = startPosition; } - + + /** + * getStartPosition method. + * + * @return String + */ public String getStartPosition() { return this.startPosition; } } /** - * Retrieves a list of all the items in a specified folder from the specified cloud storage provider. + * Retrieves a list of all the items in a specified folder from the specified cloud storage provider.. * Retrieves a list of all the items in a specified folder from the specified cloud storage provider. * @param accountId The external account number (int) or account ID Guid. (required) * @param userId The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing. (required) @@ -524,7 +661,7 @@ public ExternalFolder listFolders(String accountId, String userId, String servic } /** - * Retrieves a list of all the items in a specified folder from the specified cloud storage provider. + * Retrieves a list of all the items in a specified folder from the specified cloud storage provider.. * Retrieves a list of all the items in a specified folder from the specified cloud storage provider. * @param accountId The external account number (int) or account ID Guid. (required) * @param userId The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing. (required) @@ -536,77 +673,97 @@ public ExternalFolder listFolders(String accountId, String userId, String servic public ExternalFolder listFolders(String accountId, String userId, String serviceId, CloudStorageApi.ListFoldersOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling listFolders"); - } + } - // verify the required parameter 'userId' is set - if (userId == null) { + // verify the required parameter 'userId' is set + if (userId == null) { throw new ApiException(400, "Missing the required parameter 'userId' when calling listFolders"); - } + } - // verify the required parameter 'serviceId' is set - if (serviceId == null) { + // verify the required parameter 'serviceId' is set + if (serviceId == null) { throw new ApiException(400, "Missing the required parameter 'serviceId' when calling listFolders"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/users/{userId}/cloud_storage/{serviceId}/folders".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/users/{userId}/cloud_storage/{serviceId}/folders" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "userId" + "\\}", apiClient.escapeString(userId.toString())) .replaceAll("\\{" + "serviceId" + "\\}", apiClient.escapeString(serviceId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "cloud_storage_folder_path", options.cloudStorageFolderPath)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "count", options.count)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "order", options.order)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "order_by", options.orderBy)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "search_text", options.searchText)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "start_position", options.startPosition)); + localVarQueryParams.addAll(apiClient.parameterToPair("cloud_storage_folder_path", options.cloudStorageFolderPath)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("count", options.count)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("order", options.order)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("order_by", options.orderBy)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("search_text", options.searchText)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("start_position", options.startPosition)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Get the Cloud Storage Provider configuration for the specified user. Retrieves the list of cloud storage providers enabled for the account and the configuration information for the user. The {serviceId} parameter can be either the service name or serviceId. /// + + /** + * ListProvidersOptions Class. + * + **/ public class ListProvidersOptions { private String redirectUrl = null; - /* - * The URL the user is redirected to after the cloud storage provider authenticates the user. Using this will append the redirectUrl to the authenticationUrl. The redirectUrl is restricted to URLs in the docusign.com or docusign.net domains. - */ + + /** + * setRedirectUrl method. + */ public void setRedirectUrl(String redirectUrl) { this.redirectUrl = redirectUrl; } - + + /** + * getRedirectUrl method. + * + * @return String + */ public String getRedirectUrl() { return this.redirectUrl; } } /** - * Get the Cloud Storage Provider configuration for the specified user. + * Get the Cloud Storage Provider configuration for the specified user.. * Retrieves the list of cloud storage providers enabled for the account and the configuration information for the user. The {serviceId} parameter can be either the service name or serviceId. * @param accountId The external account number (int) or account ID Guid. (required) * @param userId The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing. (required) @@ -617,7 +774,7 @@ public CloudStorageProviders listProviders(String accountId, String userId) thro } /** - * Get the Cloud Storage Provider configuration for the specified user. + * Get the Cloud Storage Provider configuration for the specified user.. * Retrieves the list of cloud storage providers enabled for the account and the configuration information for the user. The {serviceId} parameter can be either the service name or serviceId. * @param accountId The external account number (int) or account ID Guid. (required) * @param userId The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing. (required) @@ -628,44 +785,48 @@ public CloudStorageProviders listProviders(String accountId, String userId) thro public CloudStorageProviders listProviders(String accountId, String userId, CloudStorageApi.ListProvidersOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling listProviders"); - } + } - // verify the required parameter 'userId' is set - if (userId == null) { + // verify the required parameter 'userId' is set + if (userId == null) { throw new ApiException(400, "Missing the required parameter 'userId' when calling listProviders"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/users/{userId}/cloud_storage".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/users/{userId}/cloud_storage" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "userId" + "\\}", apiClient.escapeString(userId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "redirectUrl", options.redirectUrl)); + localVarQueryParams.addAll(apiClient.parameterToPair("redirectUrl", options.redirectUrl)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } +} diff --git a/src/main/java/com/docusign/esign/api/CommentsApi.java b/src/main/java/com/docusign/esign/api/CommentsApi.java deleted file mode 100644 index 4a1cf405..00000000 --- a/src/main/java/com/docusign/esign/api/CommentsApi.java +++ /dev/null @@ -1,115 +0,0 @@ -package com.docusign.esign.api; - -import com.sun.jersey.api.client.GenericType; - -import com.docusign.esign.client.ApiException; -import com.docusign.esign.client.ApiClient; -import com.docusign.esign.client.Configuration; -import com.docusign.esign.client.Pair; - -import com.docusign.esign.model.ErrorDetails; - - - - - public class CommentsApi { - private ApiClient apiClient; - - public CommentsApi() { - this(Configuration.getDefaultApiClient()); - } - - public CommentsApi(ApiClient apiClient) { - this.apiClient = apiClient; - } - - public ApiClient getApiClient() { - return apiClient; - } - - public void setApiClient(ApiClient apiClient) { - this.apiClient = apiClient; - } - - /// - /// Gets comment transcript for envelope and user - /// - public class GetCommentsTranscriptOptions - { - private String encoding = null; - /* - * - */ - public void setEncoding(String encoding) { - this.encoding = encoding; - } - - public String getEncoding() { - return this.encoding; - } - } - - /** - * Gets comment transcript for envelope and user - * - * @param accountId The external account number (int) or account ID Guid. (required) - * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) - * @return byte[] - */ - public byte[] getCommentsTranscript(String accountId, String envelopeId) throws ApiException { - return getCommentsTranscript(accountId, envelopeId, null); - } - - /** - * Gets comment transcript for envelope and user - * - * @param accountId The external account number (int) or account ID Guid. (required) - * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) - * @param options for modifying the method behavior. - * @return byte[] - * @throws ApiException if fails to make API call - */ - public byte[] getCommentsTranscript(String accountId, String envelopeId, CommentsApi.GetCommentsTranscriptOptions options) throws ApiException { - Object localVarPostBody = "{}"; - - // verify the required parameter 'accountId' is set - if (accountId == null) { - throw new ApiException(400, "Missing the required parameter 'accountId' when calling getCommentsTranscript"); - } - - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { - throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling getCommentsTranscript"); - } - - // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/comments/transcript".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) - .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())); - - // query params - java.util.List localVarQueryParams = new java.util.ArrayList(); - java.util.Map localVarHeaderParams = new java.util.HashMap(); - java.util.Map localVarFormParams = new java.util.HashMap(); - - if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "encoding", options.encoding)); - } - - - final String[] localVarAccepts = { - "application/pdf" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; - - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } - } diff --git a/src/main/java/com/docusign/esign/api/ConnectApi.java b/src/main/java/com/docusign/esign/api/ConnectApi.java index c5ed6424..4b867374 100644 --- a/src/main/java/com/docusign/esign/api/ConnectApi.java +++ b/src/main/java/com/docusign/esign/api/ConnectApi.java @@ -1,46 +1,60 @@ + package com.docusign.esign.api; -import com.sun.jersey.api.client.GenericType; +import javax.ws.rs.core.GenericType; import com.docusign.esign.client.ApiException; import com.docusign.esign.client.ApiClient; import com.docusign.esign.client.Configuration; +import com.docusign.esign.model.*; import com.docusign.esign.client.Pair; -import com.docusign.esign.model.ConnectConfigResults; -import com.docusign.esign.model.ConnectCustomConfiguration; -import com.docusign.esign.model.ConnectFailureFilter; -import com.docusign.esign.model.ConnectFailureResults; -import com.docusign.esign.model.ConnectLog; -import com.docusign.esign.model.ConnectLogs; -import com.docusign.esign.model.ErrorDetails; -import com.docusign.esign.model.IntegratedUserInfoList; - - public class ConnectApi { +/** + * ConnectApi class. + * + **/ +public class ConnectApi { private ApiClient apiClient; + /** + * ConnectApi. + * + **/ public ConnectApi() { - this(Configuration.getDefaultApiClient()); + this(Configuration.getDefaultApiClient()); } + /** + * ConnectApi. + * + **/ public ConnectApi(ApiClient apiClient) { - this.apiClient = apiClient; + this.apiClient = apiClient; } + /** + * getApiClient Method. + * + * @return ApiClient + **/ public ApiClient getApiClient() { - return apiClient; + return apiClient; } + /** + * setApiClient Method. + * + **/ public void setApiClient(ApiClient apiClient) { - this.apiClient = apiClient; + this.apiClient = apiClient; } /** - * Creates a connect configuration for the specified account. + * Creates a connect configuration for the specified account.. * Creates a DocuSign Custom Connect definition for your account. DocuSign Connect enables the sending of real-time data updates to external applications. These updates are generated by user transactions as the envelope progresses through actions to completion. The Connect Service provides updated information about the status of these transactions and returns updates that include the actual content of document form fields. Be aware that, these updates might or might not include the document itself. For more information about Connect, see the [ML:DocuSign Connect Service Guide]. ###### Note: Connect must be enabled for your account to use this function. This cannot be used to set up Connect configurations for Salesforce or eOriginal. * @param accountId The external account number (int) or account ID Guid. (required) * @param connectCustomConfiguration (optional) @@ -50,41 +64,45 @@ public void setApiClient(ApiClient apiClient) { public ConnectCustomConfiguration createConfiguration(String accountId, ConnectCustomConfiguration connectCustomConfiguration) throws ApiException { Object localVarPostBody = connectCustomConfiguration; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling createConfiguration"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/connect".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/connect" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Deletes the specified connect configuration. + * Deletes the specified connect configuration.. * Deletes the specified DocuSign Connect configuration. ###### Note: Connect must be enabled for your account to use this function. * @param accountId The external account number (int) or account ID Guid. (required) * @param connectId The ID of the custom Connect configuration being accessed. (required) @@ -93,47 +111,51 @@ public ConnectCustomConfiguration createConfiguration(String accountId, ConnectC public void deleteConfiguration(String accountId, String connectId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling deleteConfiguration"); - } + } - // verify the required parameter 'connectId' is set - if (connectId == null) { + // verify the required parameter 'connectId' is set + if (connectId == null) { throw new ApiException(400, "Missing the required parameter 'connectId' when calling deleteConfiguration"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/connect/{connectId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/connect/{connectId}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "connectId" + "\\}", apiClient.escapeString(connectId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + + apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); + } /** - * Deletes a Connect failure log entry. + * Deletes a Connect failure log entry.. * Deletes the Connect failure log information for the specified entry. * @param accountId The external account number (int) or account ID Guid. (required) * @param failureId The ID of the failed connect log entry. (required) @@ -142,47 +164,51 @@ public void deleteConfiguration(String accountId, String connectId) throws ApiEx public void deleteEventFailureLog(String accountId, String failureId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling deleteEventFailureLog"); - } + } - // verify the required parameter 'failureId' is set - if (failureId == null) { + // verify the required parameter 'failureId' is set + if (failureId == null) { throw new ApiException(400, "Missing the required parameter 'failureId' when calling deleteEventFailureLog"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/connect/failures/{failureId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/connect/failures/{failureId}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "failureId" + "\\}", apiClient.escapeString(failureId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + + apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); + } /** - * Deletes a specified Connect log entry. + * Deletes a specified Connect log entry.. * Deletes a specified entry from the Connect Log. * @param accountId The external account number (int) or account ID Guid. (required) * @param logId The ID of the connect log entry (required) @@ -191,47 +217,51 @@ public void deleteEventFailureLog(String accountId, String failureId) throws Api public void deleteEventLog(String accountId, String logId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling deleteEventLog"); - } + } - // verify the required parameter 'logId' is set - if (logId == null) { + // verify the required parameter 'logId' is set + if (logId == null) { throw new ApiException(400, "Missing the required parameter 'logId' when calling deleteEventLog"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/connect/logs/{logId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/connect/logs/{logId}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "logId" + "\\}", apiClient.escapeString(logId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + + apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); + } /** - * Gets a list of Connect log entries. + * Gets a list of Connect log entries.. * Retrieves a list of connect log entries for your account. ###### Note: The `enableLog` property in the Connect configuration must be set to **true** to enable logging. If logging is not enabled, then no log entries are recorded. * @param accountId The external account number (int) or account ID Guid. (required) * @throws ApiException if fails to make API call @@ -239,41 +269,93 @@ public void deleteEventLog(String accountId, String logId) throws ApiException { public void deleteEventLogs(String accountId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling deleteEventLogs"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/connect/logs".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/connect/logs" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + + - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + + apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); + } + + /** + * Reserved. + * Reserved: + * @param accountId The external account number (int) or account ID Guid. (required) + * @param mobileNotifierConfigurationInformation (optional) + * @return MobileNotifierConfigurationInformation + * @throws ApiException if fails to make API call + */ + public MobileNotifierConfigurationInformation deleteMobileNotifiers(String accountId, MobileNotifierConfigurationInformation mobileNotifierConfigurationInformation) throws ApiException { + Object localVarPostBody = mobileNotifierConfigurationInformation; - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + // verify the required parameter 'accountId' is set + if (accountId == null) { + throw new ApiException(400, "Missing the required parameter 'accountId' when calling deleteMobileNotifiers"); + } + + // create path and map variables + String localVarPath = "/v2/accounts/{accountId}/connect/mobile_notifiers" + .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + // query params + java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); + java.util.Map localVarHeaderParams = new java.util.HashMap(); + java.util.Map localVarFormParams = new java.util.HashMap(); + + + + + + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); } /** - * Get a Connect Configuration Information + * Get a Connect Configuration Information. * Retrieves the information for the specified DocuSign Connect configuration. ###### Note: Connect must be enabled for your account to use this function. * @param accountId The external account number (int) or account ID Guid. (required) * @param connectId The ID of the custom Connect configuration being accessed. (required) @@ -283,64 +365,79 @@ public void deleteEventLogs(String accountId) throws ApiException { public ConnectConfigResults getConfiguration(String accountId, String connectId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getConfiguration"); - } + } - // verify the required parameter 'connectId' is set - if (connectId == null) { + // verify the required parameter 'connectId' is set + if (connectId == null) { throw new ApiException(400, "Missing the required parameter 'connectId' when calling getConfiguration"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/connect/{connectId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/connect/{connectId}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "connectId" + "\\}", apiClient.escapeString(connectId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Get the specified Connect log entry. Retrieves the specified Connect log entry for your account. ###### Note: The `enableLog` setting in the Connect configuration must be set to true to enable logging. If logging is not enabled, then no log entries are recorded. /// + + /** + * GetEventLogOptions Class. + * + **/ public class GetEventLogOptions { private String additionalInfo = null; - /* - * When true, the connectDebugLog information is included in the response. - */ + + /** + * setAdditionalInfo method. + */ public void setAdditionalInfo(String additionalInfo) { this.additionalInfo = additionalInfo; } - + + /** + * getAdditionalInfo method. + * + * @return String + */ public String getAdditionalInfo() { return this.additionalInfo; } } /** - * Get the specified Connect log entry. + * Get the specified Connect log entry.. * Retrieves the specified Connect log entry for your account. ###### Note: The `enableLog` setting in the Connect configuration must be set to true to enable logging. If logging is not enabled, then no log entries are recorded. * @param accountId The external account number (int) or account ID Guid. (required) * @param logId The ID of the connect log entry (required) @@ -351,7 +448,7 @@ public ConnectLog getEventLog(String accountId, String logId) throws ApiExceptio } /** - * Get the specified Connect log entry. + * Get the specified Connect log entry.. * Retrieves the specified Connect log entry for your account. ###### Note: The `enableLog` setting in the Connect configuration must be set to true to enable logging. If logging is not enabled, then no log entries are recorded. * @param accountId The external account number (int) or account ID Guid. (required) * @param logId The ID of the connect log entry (required) @@ -362,49 +459,53 @@ public ConnectLog getEventLog(String accountId, String logId) throws ApiExceptio public ConnectLog getEventLog(String accountId, String logId, ConnectApi.GetEventLogOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getEventLog"); - } + } - // verify the required parameter 'logId' is set - if (logId == null) { + // verify the required parameter 'logId' is set + if (logId == null) { throw new ApiException(400, "Missing the required parameter 'logId' when calling getEventLog"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/connect/logs/{logId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/connect/logs/{logId}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "logId" + "\\}", apiClient.escapeString(logId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "additional_info", options.additionalInfo)); + localVarQueryParams.addAll(apiClient.parameterToPair("additional_info", options.additionalInfo)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Get Connect Configuration Information + * Get Connect Configuration Information. * Retrieves all the DocuSign Custom Connect definitions for the specified account. ###### Note: Connect must be enabled for your account to use this function. This does not retrieve information for Connect configurations for Box, eOriginal, or Salesforce. * @param accountId The external account number (int) or account ID Guid. (required) * @return ConnectConfigResults @@ -413,69 +514,90 @@ public ConnectLog getEventLog(String accountId, String logId, ConnectApi.GetEven public ConnectConfigResults listConfigurations(String accountId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling listConfigurations"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/connect".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/connect" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Gets the Connect failure log information. Retrieves the Connect Failure Log information. It can be used to determine which envelopes failed to post, so a republish request can be created. /// + + /** + * ListEventFailureLogsOptions Class. + * + **/ public class ListEventFailureLogsOptions { private String fromDate = null; private String toDate = null; - /* - * - */ + + /** + * setFromDate method. + */ public void setFromDate(String fromDate) { this.fromDate = fromDate; } - + + /** + * getFromDate method. + * + * @return String + */ public String getFromDate() { return this.fromDate; } - /* - * - */ + + /** + * setToDate method. + */ public void setToDate(String toDate) { this.toDate = toDate; } - + + /** + * getToDate method. + * + * @return String + */ public String getToDate() { return this.toDate; } } /** - * Gets the Connect failure log information. + * Gets the Connect failure log information.. * Retrieves the Connect Failure Log information. It can be used to determine which envelopes failed to post, so a republish request can be created. * @param accountId The external account number (int) or account ID Guid. (required) * @return ConnectLogs @@ -485,7 +607,7 @@ public ConnectLogs listEventFailureLogs(String accountId) throws ApiException { } /** - * Gets the Connect failure log information. + * Gets the Connect failure log information.. * Retrieves the Connect Failure Log information. It can be used to determine which envelopes failed to post, so a republish request can be created. * @param accountId The external account number (int) or account ID Guid. (required) * @param options for modifying the method behavior. @@ -495,72 +617,94 @@ public ConnectLogs listEventFailureLogs(String accountId) throws ApiException { public ConnectLogs listEventFailureLogs(String accountId, ConnectApi.ListEventFailureLogsOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling listEventFailureLogs"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/connect/failures".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/connect/failures" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "from_date", options.fromDate)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "to_date", options.toDate)); + localVarQueryParams.addAll(apiClient.parameterToPair("from_date", options.fromDate)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("to_date", options.toDate)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Gets the Connect log. Retrieves a list of connect log entries for your account. ###### Note: The `enableLog` setting in the Connect configuration must be set to true to enable logging. If logging is not enabled, then no log entries are recorded. /// + + /** + * ListEventLogsOptions Class. + * + **/ public class ListEventLogsOptions { private String fromDate = null; private String toDate = null; - /* - * - */ + + /** + * setFromDate method. + */ public void setFromDate(String fromDate) { this.fromDate = fromDate; } - + + /** + * getFromDate method. + * + * @return String + */ public String getFromDate() { return this.fromDate; } - /* - * - */ + + /** + * setToDate method. + */ public void setToDate(String toDate) { this.toDate = toDate; } - + + /** + * getToDate method. + * + * @return String + */ public String getToDate() { return this.toDate; } } /** - * Gets the Connect log. + * Gets the Connect log.. * Retrieves a list of connect log entries for your account. ###### Note: The `enableLog` setting in the Connect configuration must be set to true to enable logging. If logging is not enabled, then no log entries are recorded. * @param accountId The external account number (int) or account ID Guid. (required) * @return ConnectLogs @@ -570,7 +714,7 @@ public ConnectLogs listEventLogs(String accountId) throws ApiException { } /** - * Gets the Connect log. + * Gets the Connect log.. * Retrieves a list of connect log entries for your account. ###### Note: The `enableLog` setting in the Connect configuration must be set to true to enable logging. If logging is not enabled, then no log entries are recorded. * @param accountId The external account number (int) or account ID Guid. (required) * @param options for modifying the method behavior. @@ -580,44 +724,101 @@ public ConnectLogs listEventLogs(String accountId) throws ApiException { public ConnectLogs listEventLogs(String accountId, ConnectApi.ListEventLogsOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling listEventLogs"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/connect/logs".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/connect/logs" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "from_date", options.fromDate)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "to_date", options.toDate)); + localVarQueryParams.addAll(apiClient.parameterToPair("from_date", options.fromDate)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("to_date", options.toDate)); + } + + + + + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } + + /** + * Reserved. + * Reserved: + * @param accountId The external account number (int) or account ID Guid. (required) + * @return MobileNotifierConfigurationInformation + * @throws ApiException if fails to make API call + */ + public MobileNotifierConfigurationInformation listMobileNotifiers(String accountId) throws ApiException { + Object localVarPostBody = "{}"; + + // verify the required parameter 'accountId' is set + if (accountId == null) { + throw new ApiException(400, "Missing the required parameter 'accountId' when calling listMobileNotifiers"); } + // create path and map variables + String localVarPath = "/v2/accounts/{accountId}/connect/mobile_notifiers" + .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); + + // query params + java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); + java.util.Map localVarHeaderParams = new java.util.HashMap(); + java.util.Map localVarFormParams = new java.util.HashMap(); + + + - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Returns users from the configured Connect service. Returns users from the configured Connect service. /// + + /** + * ListUsersOptions Class. + * + **/ public class ListUsersOptions { private String count = null; @@ -626,70 +827,106 @@ public class ListUsersOptions private String startPosition = null; private String status = null; private String userNameSubstring = null; - /* - * - */ + + /** + * setCount method. + */ public void setCount(String count) { this.count = count; } - + + /** + * getCount method. + * + * @return String + */ public String getCount() { return this.count; } - /* - * - */ + + /** + * setEmailSubstring method. + */ public void setEmailSubstring(String emailSubstring) { this.emailSubstring = emailSubstring; } - + + /** + * getEmailSubstring method. + * + * @return String + */ public String getEmailSubstring() { return this.emailSubstring; } - /* - * - */ + + /** + * setListIncludedUsers method. + */ public void setListIncludedUsers(String listIncludedUsers) { this.listIncludedUsers = listIncludedUsers; } - + + /** + * getListIncludedUsers method. + * + * @return String + */ public String getListIncludedUsers() { return this.listIncludedUsers; } - /* - * - */ + + /** + * setStartPosition method. + */ public void setStartPosition(String startPosition) { this.startPosition = startPosition; } - + + /** + * getStartPosition method. + * + * @return String + */ public String getStartPosition() { return this.startPosition; } - /* - * - */ + + /** + * setStatus method. + */ public void setStatus(String status) { this.status = status; } - + + /** + * getStatus method. + * + * @return String + */ public String getStatus() { return this.status; } - /* - * - */ + + /** + * setUserNameSubstring method. + */ public void setUserNameSubstring(String userNameSubstring) { this.userNameSubstring = userNameSubstring; } - + + /** + * getUserNameSubstring method. + * + * @return String + */ public String getUserNameSubstring() { return this.userNameSubstring; } } /** - * Returns users from the configured Connect service. + * Returns users from the configured Connect service.. * Returns users from the configured Connect service. * @param accountId The external account number (int) or account ID Guid. (required) * @param connectId The ID of the custom Connect configuration being accessed. (required) @@ -700,7 +937,7 @@ public IntegratedUserInfoList listUsers(String accountId, String connectId) thro } /** - * Returns users from the configured Connect service. + * Returns users from the configured Connect service.. * Returns users from the configured Connect service. * @param accountId The external account number (int) or account ID Guid. (required) * @param connectId The ID of the custom Connect configuration being accessed. (required) @@ -711,54 +948,63 @@ public IntegratedUserInfoList listUsers(String accountId, String connectId) thro public IntegratedUserInfoList listUsers(String accountId, String connectId, ConnectApi.ListUsersOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling listUsers"); - } + } - // verify the required parameter 'connectId' is set - if (connectId == null) { + // verify the required parameter 'connectId' is set + if (connectId == null) { throw new ApiException(400, "Missing the required parameter 'connectId' when calling listUsers"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/connect/{connectId}/users".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/connect/{connectId}/users" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "connectId" + "\\}", apiClient.escapeString(connectId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "count", options.count)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "email_substring", options.emailSubstring)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "list_included_users", options.listIncludedUsers)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "start_position", options.startPosition)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "status", options.status)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "user_name_substring", options.userNameSubstring)); + localVarQueryParams.addAll(apiClient.parameterToPair("count", options.count)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("email_substring", options.emailSubstring)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("list_included_users", options.listIncludedUsers)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("start_position", options.startPosition)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("status", options.status)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("user_name_substring", options.userNameSubstring)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Republishes Connect information for the specified envelope. + * Republishes Connect information for the specified envelope.. * Republishes Connect information for the specified envelope. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -768,47 +1014,51 @@ public IntegratedUserInfoList listUsers(String accountId, String connectId, Conn public ConnectFailureResults retryEventForEnvelope(String accountId, String envelopeId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling retryEventForEnvelope"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling retryEventForEnvelope"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/connect/envelopes/{envelopeId}/retry_queue".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/connect/envelopes/{envelopeId}/retry_queue" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Republishes Connect information for multiple envelopes. + * Republishes Connect information for multiple envelopes.. * Republishes Connect information for the specified set of envelopes. The primary use is to republish Connect post failures by including envelope IDs for the envelopes that failed to post in the request. The list of envelope IDs that failed to post correctly can be retrieved by calling to [ML:GetConnectLog] retrieve the failure log. * @param accountId The external account number (int) or account ID Guid. (required) * @param connectFailureFilter (optional) @@ -818,41 +1068,45 @@ public ConnectFailureResults retryEventForEnvelope(String accountId, String enve public ConnectFailureResults retryEventForEnvelopes(String accountId, ConnectFailureFilter connectFailureFilter) throws ApiException { Object localVarPostBody = connectFailureFilter; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling retryEventForEnvelopes"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/connect/envelopes/retry_queue".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/connect/envelopes/retry_queue" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Updates a specified Connect configuration. + * Updates a specified Connect configuration.. * Updates the specified DocuSign Connect configuration in your account. ###### Note: Connect must be enabled for your account to use this function. This cannot be used to update Connect configurations for Box, eOriginal, or Salesforce. * @param accountId The external account number (int) or account ID Guid. (required) * @param connectCustomConfiguration (optional) @@ -862,36 +1116,88 @@ public ConnectFailureResults retryEventForEnvelopes(String accountId, ConnectFai public ConnectCustomConfiguration updateConfiguration(String accountId, ConnectCustomConfiguration connectCustomConfiguration) throws ApiException { Object localVarPostBody = connectCustomConfiguration; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling updateConfiguration"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/connect".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/connect" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } + + /** + * Reserved. + * Reserved: + * @param accountId The external account number (int) or account ID Guid. (required) + * @param mobileNotifierConfigurationInformation (optional) + * @return MobileNotifierConfigurationInformation + * @throws ApiException if fails to make API call + */ + public MobileNotifierConfigurationInformation updateMobileNotifiers(String accountId, MobileNotifierConfigurationInformation mobileNotifierConfigurationInformation) throws ApiException { + Object localVarPostBody = mobileNotifierConfigurationInformation; + + // verify the required parameter 'accountId' is set + if (accountId == null) { + throw new ApiException(400, "Missing the required parameter 'accountId' when calling updateMobileNotifiers"); } + + // create path and map variables + String localVarPath = "/v2/accounts/{accountId}/connect/mobile_notifiers" + .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); + + // query params + java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); + java.util.Map localVarHeaderParams = new java.util.HashMap(); + java.util.Map localVarFormParams = new java.util.HashMap(); + + + + + + + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } +} diff --git a/src/main/java/com/docusign/esign/api/CustomTabsApi.java b/src/main/java/com/docusign/esign/api/CustomTabsApi.java index cad8c015..2fc05564 100644 --- a/src/main/java/com/docusign/esign/api/CustomTabsApi.java +++ b/src/main/java/com/docusign/esign/api/CustomTabsApi.java @@ -1,257 +1,303 @@ + package com.docusign.esign.api; -import com.sun.jersey.api.client.GenericType; +import javax.ws.rs.core.GenericType; import com.docusign.esign.client.ApiException; import com.docusign.esign.client.ApiClient; import com.docusign.esign.client.Configuration; +import com.docusign.esign.model.*; import com.docusign.esign.client.Pair; -import com.docusign.esign.model.ErrorDetails; -import com.docusign.esign.model.TabMetadata; -import com.docusign.esign.model.TabMetadataList; - - public class CustomTabsApi { +/** + * CustomTabsApi class. + * + **/ +public class CustomTabsApi { private ApiClient apiClient; + /** + * CustomTabsApi. + * + **/ public CustomTabsApi() { - this(Configuration.getDefaultApiClient()); + this(Configuration.getDefaultApiClient()); } + /** + * CustomTabsApi. + * + **/ public CustomTabsApi(ApiClient apiClient) { - this.apiClient = apiClient; + this.apiClient = apiClient; } + /** + * getApiClient Method. + * + * @return ApiClient + **/ public ApiClient getApiClient() { - return apiClient; + return apiClient; } + /** + * setApiClient Method. + * + **/ public void setApiClient(ApiClient apiClient) { - this.apiClient = apiClient; + this.apiClient = apiClient; + } + + /// + /// Gets a list of all account tabs. Retrieves a list of all tabs associated with the account. + /// + + /** + * CallListOptions Class. + * + **/ + public class CallListOptions + { + private String customTabOnly = null; + + /** + * setCustomTabOnly method. + */ + public void setCustomTabOnly(String customTabOnly) { + this.customTabOnly = customTabOnly; + } + + /** + * getCustomTabOnly method. + * + * @return String + */ + public String getCustomTabOnly() { + return this.customTabOnly; + } } + /** + * Gets a list of all account tabs.. + * Retrieves a list of all tabs associated with the account. + * @param accountId The external account number (int) or account ID Guid. (required) + * @return TabMetadataList + */ + public TabMetadataList callList(String accountId) throws ApiException { + return callList(accountId, null); + } /** - * Creates a custom tab. - * Creates a tab with pre-defined properties, such as a text tab with a certain font type and validation pattern. Users can access the custom tabs when sending documents through the DocuSign web application. Custom tabs can be created for approve, checkbox, company, date, date signed, decline, email, email address, envelope ID, first name, formula, full name, initial here, last name, list, note, number, radio, sign here, signer attachment, SSN, text, title, and zip tabs. + * Gets a list of all account tabs.. + * Retrieves a list of all tabs associated with the account. * @param accountId The external account number (int) or account ID Guid. (required) - * @param tabMetadata (optional) - * @return TabMetadata + * @param options for modifying the method behavior. + * @return TabMetadataList * @throws ApiException if fails to make API call */ - public TabMetadata create(String accountId, TabMetadata tabMetadata) throws ApiException { - Object localVarPostBody = tabMetadata; + public TabMetadataList callList(String accountId, CustomTabsApi.CallListOptions options) throws ApiException { + Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { - throw new ApiException(400, "Missing the required parameter 'accountId' when calling create"); - } + // verify the required parameter 'accountId' is set + if (accountId == null) { + throw new ApiException(400, "Missing the required parameter 'accountId' when calling callList"); + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/tab_definitions".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/tab_definitions" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("custom_tab_only", options.customTabOnly)); + } + - - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Deletes custom tab information. - * Deletes the custom from the specified account. + * Creates a custom tab.. + * Creates a tab with pre-defined properties, such as a text tab with a certain font type and validation pattern. Users can access the custom tabs when sending documents through the DocuSign web application. Custom tabs can be created for approve, checkbox, company, date, date signed, decline, email, email address, envelope ID, first name, formula, full name, initial here, last name, list, note, number, radio, sign here, signer attachment, SSN, text, title, and zip tabs. * @param accountId The external account number (int) or account ID Guid. (required) - * @param customTabId (required) + * @param tabMetadata (optional) + * @return TabMetadata * @throws ApiException if fails to make API call */ - public void delete(String accountId, String customTabId) throws ApiException { - Object localVarPostBody = "{}"; - - // verify the required parameter 'accountId' is set - if (accountId == null) { - throw new ApiException(400, "Missing the required parameter 'accountId' when calling delete"); - } + public TabMetadata create(String accountId, TabMetadata tabMetadata) throws ApiException { + Object localVarPostBody = tabMetadata; - // verify the required parameter 'customTabId' is set - if (customTabId == null) { - throw new ApiException(400, "Missing the required parameter 'customTabId' when calling delete"); - } + // verify the required parameter 'accountId' is set + if (accountId == null) { + throw new ApiException(400, "Missing the required parameter 'accountId' when calling create"); + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/tab_definitions/{customTabId}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) - .replaceAll("\\{" + "customTabId" + "\\}", apiClient.escapeString(customTabId.toString())); + String localVarPath = "/v2/accounts/{accountId}/tab_definitions" + .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); } /** - * Gets custom tab information. - * Retrieves information about the requested custom tab on the specified account. + * Deletes custom tab information.. + * Deletes the custom from the specified account. * @param accountId The external account number (int) or account ID Guid. (required) * @param customTabId (required) - * @return TabMetadata * @throws ApiException if fails to make API call */ - public TabMetadata get(String accountId, String customTabId) throws ApiException { + public void delete(String accountId, String customTabId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { - throw new ApiException(400, "Missing the required parameter 'accountId' when calling get"); - } + // verify the required parameter 'accountId' is set + if (accountId == null) { + throw new ApiException(400, "Missing the required parameter 'accountId' when calling delete"); + } - // verify the required parameter 'customTabId' is set - if (customTabId == null) { - throw new ApiException(400, "Missing the required parameter 'customTabId' when calling get"); - } + // verify the required parameter 'customTabId' is set + if (customTabId == null) { + throw new ApiException(400, "Missing the required parameter 'customTabId' when calling delete"); + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/tab_definitions/{customTabId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/tab_definitions/{customTabId}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "customTabId" + "\\}", apiClient.escapeString(customTabId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } - /// - /// Gets a list of all account tabs. Retrieves a list of all tabs associated with the account. - /// - public class ListOptions - { - private String customTabOnly = null; - /* - * When set to **true**, only custom tabs are returned in the response. - */ - public void setCustomTabOnly(String customTabOnly) { - this.customTabOnly = customTabOnly; - } - - public String getCustomTabOnly() { - return this.customTabOnly; - } - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - /** - * Gets a list of all account tabs. - * Retrieves a list of all tabs associated with the account. - * @param accountId The external account number (int) or account ID Guid. (required) - * @return TabMetadataList - */ - public TabMetadataList list(String accountId) throws ApiException { - return list(accountId, null); + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + + apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); } /** - * Gets a list of all account tabs. - * Retrieves a list of all tabs associated with the account. + * Gets custom tab information.. + * Retrieves information about the requested custom tab on the specified account. * @param accountId The external account number (int) or account ID Guid. (required) - * @param options for modifying the method behavior. - * @return TabMetadataList + * @param customTabId (required) + * @return TabMetadata * @throws ApiException if fails to make API call */ - public TabMetadataList list(String accountId, CustomTabsApi.ListOptions options) throws ApiException { + public TabMetadata get(String accountId, String customTabId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { - throw new ApiException(400, "Missing the required parameter 'accountId' when calling list"); - } + // verify the required parameter 'accountId' is set + if (accountId == null) { + throw new ApiException(400, "Missing the required parameter 'accountId' when calling get"); + } + + // verify the required parameter 'customTabId' is set + if (customTabId == null) { + throw new ApiException(400, "Missing the required parameter 'customTabId' when calling get"); + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/tab_definitions".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); + String localVarPath = "/v2/accounts/{accountId}/tab_definitions/{customTabId}" + .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) + .replaceAll("\\{" + "customTabId" + "\\}", apiClient.escapeString(customTabId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); - if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "custom_tab_only", options.customTabOnly)); - } + - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Updates custom tab information. + * Updates custom tab information. . * Updates the information in a custom tab for the specified account. * @param accountId The external account number (int) or account ID Guid. (required) * @param customTabId (required) @@ -262,42 +308,46 @@ public TabMetadataList list(String accountId, CustomTabsApi.ListOptions options) public TabMetadata update(String accountId, String customTabId, TabMetadata tabMetadata) throws ApiException { Object localVarPostBody = tabMetadata; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling update"); - } + } - // verify the required parameter 'customTabId' is set - if (customTabId == null) { + // verify the required parameter 'customTabId' is set + if (customTabId == null) { throw new ApiException(400, "Missing the required parameter 'customTabId' when calling update"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/tab_definitions/{customTabId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/tab_definitions/{customTabId}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "customTabId" + "\\}", apiClient.escapeString(customTabId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } +} diff --git a/src/main/java/com/docusign/esign/api/DiagnosticsApi.java b/src/main/java/com/docusign/esign/api/DiagnosticsApi.java index 02112ec3..24a91147 100644 --- a/src/main/java/com/docusign/esign/api/DiagnosticsApi.java +++ b/src/main/java/com/docusign/esign/api/DiagnosticsApi.java @@ -1,43 +1,60 @@ + package com.docusign.esign.api; -import com.sun.jersey.api.client.GenericType; +import javax.ws.rs.core.GenericType; import com.docusign.esign.client.ApiException; import com.docusign.esign.client.ApiClient; import com.docusign.esign.client.Configuration; +import com.docusign.esign.model.*; import com.docusign.esign.client.Pair; -import com.docusign.esign.model.ApiRequestLogsResult; -import com.docusign.esign.model.DiagnosticsSettingsInformation; -import com.docusign.esign.model.ErrorDetails; -import com.docusign.esign.model.ResourceInformation; -import com.docusign.esign.model.ServiceInformation; - - public class DiagnosticsApi { +/** + * DiagnosticsApi class. + * + **/ +public class DiagnosticsApi { private ApiClient apiClient; + /** + * DiagnosticsApi. + * + **/ public DiagnosticsApi() { - this(Configuration.getDefaultApiClient()); + this(Configuration.getDefaultApiClient()); } + /** + * DiagnosticsApi. + * + **/ public DiagnosticsApi(ApiClient apiClient) { - this.apiClient = apiClient; + this.apiClient = apiClient; } + /** + * getApiClient Method. + * + * @return ApiClient + **/ public ApiClient getApiClient() { - return apiClient; + return apiClient; } + /** + * setApiClient Method. + * + **/ public void setApiClient(ApiClient apiClient) { - this.apiClient = apiClient; + this.apiClient = apiClient; } /** - * Deletes the request log files. + * Deletes the request log files.. * Deletes the request log files. * @throws ApiException if fails to make API call */ @@ -45,34 +62,38 @@ public void deleteRequestLogs() throws ApiException { Object localVarPostBody = "{}"; // create path and map variables - String localVarPath = "/v2/diagnostics/request_logs".replaceAll("\\{format\\}","json"); + String localVarPath = "/v2/diagnostics/request_logs"; // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + + apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); + } /** - * Gets a request logging log file. + * Gets a request logging log file.. * Retrieves information for a single log entry. **Request** The `requestLogfId` property can be retrieved by getting the list of log entries. The Content-Transfer-Encoding header can be set to base64 to retrieve the API request/response as base 64 string. Otherwise the bytes of the request/response are returned. **Response** If the Content-Transfer-Encoding header was set to base64, the log is returned as a base64 string. * @param requestLogId (required) * @return byte[] @@ -81,41 +102,45 @@ public void deleteRequestLogs() throws ApiException { public byte[] getRequestLog(String requestLogId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'requestLogId' is set - if (requestLogId == null) { + // verify the required parameter 'requestLogId' is set + if (requestLogId == null) { throw new ApiException(400, "Missing the required parameter 'requestLogId' when calling getRequestLog"); - } + } // create path and map variables - String localVarPath = "/v2/diagnostics/request_logs/{requestLogId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/diagnostics/request_logs/{requestLogId}" .replaceAll("\\{" + "requestLogId" + "\\}", apiClient.escapeString(requestLogId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "text/plain" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "text/plain" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Gets the API request logging settings. + * Gets the API request logging settings.. * Retrieves the current API request logging setting for the user and remaining log entries. **Response** The response includes the current API request logging setting for the user, along with the maximum log entries and remaining log entries. * @return DiagnosticsSettingsInformation * @throws ApiException if fails to make API call @@ -124,34 +149,38 @@ public DiagnosticsSettingsInformation getRequestLogSettings() throws ApiExceptio Object localVarPostBody = "{}"; // create path and map variables - String localVarPath = "/v2/diagnostics/settings".replaceAll("\\{format\\}","json"); + String localVarPath = "/v2/diagnostics/settings"; // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Lists resources for REST version specified + * Lists resources for REST version specified. * Retrieves the base resources available for the DocuSign REST APIs. You do not need an integrator key to view the REST API versions and resources. Example: https://demo.docusign.net/restapi/v2 lists all of the base resources available in version 2 of the REST API on the DocuSign Demo system. To view descriptions and samples of the service operations for all versions, remove the version number and add /help to the URL. Example: https://demo.docusign.net/restapi/help lists the REST API operations on the DocuSign Demo system with XML and JSON request and response samples. * @return ResourceInformation * @throws ApiException if fails to make API call @@ -160,34 +189,38 @@ public ResourceInformation getResources() throws ApiException { Object localVarPostBody = "{}"; // create path and map variables - String localVarPath = "/v2".replaceAll("\\{format\\}","json"); + String localVarPath = "/v2"; // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Retrieves the available REST API versions. + * Retrieves the available REST API versions.. * Retrieves the available REST API versions. DocuSign Production system: https://www.docusign.net/restapi/service_information DocuSign Demo system: https://demo.docusign.net/restapi/service_information You do not need an integrator key to view the REST API versions and resources. * @return ServiceInformation * @throws ApiException if fails to make API call @@ -196,51 +229,66 @@ public ServiceInformation getService() throws ApiException { Object localVarPostBody = "{}"; // create path and map variables - String localVarPath = "/service_information".replaceAll("\\{format\\}","json"); + String localVarPath = "/service_information"; // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Gets the API request logging log files. Retrieves a list of log entries as a JSON or xml object or as a zip file containing the entries. If the Accept header is set to application/zip, the response is a zip file containing individual text files, each representing an API request. If the Accept header is set to `application/json` or `application/xml`, the response returns list of log entries in either JSON or XML. An example JSON response body is shown below. /// + + /** + * ListRequestLogsOptions Class. + * + **/ public class ListRequestLogsOptions { private String encoding = null; - /* - * - */ + + /** + * setEncoding method. + */ public void setEncoding(String encoding) { this.encoding = encoding; } - + + /** + * getEncoding method. + * + * @return String + */ public String getEncoding() { return this.encoding; } } /** - * Gets the API request logging log files. + * Gets the API request logging log files.. * Retrieves a list of log entries as a JSON or xml object or as a zip file containing the entries. If the Accept header is set to application/zip, the response is a zip file containing individual text files, each representing an API request. If the Accept header is set to `application/json` or `application/xml`, the response returns list of log entries in either JSON or XML. An example JSON response body is shown below. * @return ApiRequestLogsResult */ @@ -249,7 +297,7 @@ public ApiRequestLogsResult listRequestLogs() throws ApiException { } /** - * Gets the API request logging log files. + * Gets the API request logging log files.. * Retrieves a list of log entries as a JSON or xml object or as a zip file containing the entries. If the Accept header is set to application/zip, the response is a zip file containing individual text files, each representing an API request. If the Accept header is set to `application/json` or `application/xml`, the response returns list of log entries in either JSON or XML. An example JSON response body is shown below. * @param options for modifying the method behavior. * @return ApiRequestLogsResult @@ -259,36 +307,40 @@ public ApiRequestLogsResult listRequestLogs(DiagnosticsApi.ListRequestLogsOption Object localVarPostBody = "{}"; // create path and map variables - String localVarPath = "/v2/diagnostics/request_logs".replaceAll("\\{format\\}","json"); + String localVarPath = "/v2/diagnostics/request_logs"; // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "encoding", options.encoding)); + localVarQueryParams.addAll(apiClient.parameterToPair("encoding", options.encoding)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Enables or disables API request logging for troubleshooting. + * Enables or disables API request logging for troubleshooting.. * Enables or disables API request logging for troubleshooting. When enabled (`apiRequestLogging` is set to true), REST API requests and responses for the user are added to a log. A log can have up to 50 requests/responses and the current number of log entries can be determined by getting the settings. Logging is automatically disabled when the log limit of 50 is reached. You can call [ML:GetRequestLog] or [ML:GetRequestLogs] to download the log files (individually or as a zip file). Call [ML:DeleteRequestLogs] to clear the log by deleting current entries. Private information, such as passwords and integrator key information, which is normally located in the call header is omitted from the request/response log. ###### Note: API request logging only captures requests from the authenticated user. Any call that does not authenticate the user and resolve a userId isn't logged. Meaning that login_information, NewAccounts, or other distributor-credential calls are not logged. * @param diagnosticsSettingsInformation (optional) * @return DiagnosticsSettingsInformation @@ -298,29 +350,33 @@ public DiagnosticsSettingsInformation updateRequestLogSettings(DiagnosticsSettin Object localVarPostBody = diagnosticsSettingsInformation; // create path and map variables - String localVarPath = "/v2/diagnostics/settings".replaceAll("\\{format\\}","json"); + String localVarPath = "/v2/diagnostics/settings"; // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } +} diff --git a/src/main/java/com/docusign/esign/api/EnvelopesApi.java b/src/main/java/com/docusign/esign/api/EnvelopesApi.java index ac5490dc..33805687 100644 --- a/src/main/java/com/docusign/esign/api/EnvelopesApi.java +++ b/src/main/java/com/docusign/esign/api/EnvelopesApi.java @@ -1,80 +1,60 @@ + package com.docusign.esign.api; -import com.sun.jersey.api.client.GenericType; +import javax.ws.rs.core.GenericType; import com.docusign.esign.client.ApiException; import com.docusign.esign.client.ApiClient; import com.docusign.esign.client.Configuration; +import com.docusign.esign.model.*; import com.docusign.esign.client.Pair; -import com.docusign.esign.model.Attachment; -import com.docusign.esign.model.ChunkedUploadRequest; -import com.docusign.esign.model.ChunkedUploadResponse; -import com.docusign.esign.model.ConsoleViewRequest; -import com.docusign.esign.model.ConsumerDisclosure; -import com.docusign.esign.model.CorrectViewRequest; -import com.docusign.esign.model.CustomFields; -import com.docusign.esign.model.CustomFieldsEnvelope; -import com.docusign.esign.model.DocumentFieldsInformation; -import com.docusign.esign.model.DocumentHtmlDefinition; -import com.docusign.esign.model.DocumentHtmlDefinitionOriginals; -import com.docusign.esign.model.DocumentHtmlDefinitions; -import com.docusign.esign.model.DocumentTemplateList; -import com.docusign.esign.model.DocumentVisibilityList; -import com.docusign.esign.model.EmailSettings; -import com.docusign.esign.model.Envelope; -import com.docusign.esign.model.EnvelopeAttachmentsRequest; -import com.docusign.esign.model.EnvelopeAttachmentsResult; -import com.docusign.esign.model.EnvelopeAuditEventResponse; -import com.docusign.esign.model.EnvelopeDefinition; -import com.docusign.esign.model.EnvelopeDocumentsResult; -import com.docusign.esign.model.EnvelopeFormData; -import com.docusign.esign.model.EnvelopeIdsRequest; -import com.docusign.esign.model.EnvelopeNotificationRequest; -import com.docusign.esign.model.EnvelopeSummary; -import com.docusign.esign.model.EnvelopeUpdateSummary; -import com.docusign.esign.model.EnvelopesInformation; -import com.docusign.esign.model.ErrorDetails; -import com.docusign.esign.model.LockInformation; -import com.docusign.esign.model.LockRequest; -import com.docusign.esign.model.Notification; -import com.docusign.esign.model.PageImages; -import com.docusign.esign.model.PageRequest; -import com.docusign.esign.model.RecipientViewRequest; -import com.docusign.esign.model.Recipients; -import com.docusign.esign.model.RecipientsUpdateSummary; -import com.docusign.esign.model.ReturnUrlRequest; -import com.docusign.esign.model.Tabs; -import com.docusign.esign.model.TemplateDocumentVisibilityList; -import com.docusign.esign.model.TemplateInformation; -import com.docusign.esign.model.UserSignature; -import com.docusign.esign.model.ViewUrl; - - - - - public class EnvelopesApi { + + + +/** + * EnvelopesApi class. + * + **/ +public class EnvelopesApi { private ApiClient apiClient; + /** + * EnvelopesApi. + * + **/ public EnvelopesApi() { - this(Configuration.getDefaultApiClient()); + this(Configuration.getDefaultApiClient()); } + /** + * EnvelopesApi. + * + **/ public EnvelopesApi(ApiClient apiClient) { - this.apiClient = apiClient; + this.apiClient = apiClient; } + /** + * getApiClient Method. + * + * @return ApiClient + **/ public ApiClient getApiClient() { - return apiClient; + return apiClient; } + /** + * setApiClient Method. + * + **/ public void setApiClient(ApiClient apiClient) { - this.apiClient = apiClient; + this.apiClient = apiClient; } /** - * Adds templates to an envelope. + * Adds templates to an envelope.. * Adds templates to the specified envelope. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -85,47 +65,51 @@ public void setApiClient(ApiClient apiClient) { public DocumentTemplateList applyTemplate(String accountId, String envelopeId, DocumentTemplateList documentTemplateList) throws ApiException { Object localVarPostBody = documentTemplateList; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling applyTemplate"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling applyTemplate"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/templates".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/templates" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Adds templates to a document in an envelope. + * Adds templates to a document in an envelope.. * Adds templates to a document in the specified envelope. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -137,53 +121,57 @@ public DocumentTemplateList applyTemplate(String accountId, String envelopeId, D public DocumentTemplateList applyTemplateToDocument(String accountId, String envelopeId, String documentId, DocumentTemplateList documentTemplateList) throws ApiException { Object localVarPostBody = documentTemplateList; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling applyTemplateToDocument"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling applyTemplateToDocument"); - } + } - // verify the required parameter 'documentId' is set - if (documentId == null) { + // verify the required parameter 'documentId' is set + if (documentId == null) { throw new ApiException(400, "Missing the required parameter 'documentId' when calling applyTemplateToDocument"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/templates".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/templates" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())) .replaceAll("\\{" + "documentId" + "\\}", apiClient.escapeString(documentId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Initiate a new ChunkedUpload. + * Initiate a new ChunkedUpload.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param chunkedUploadRequest (optional) @@ -193,41 +181,45 @@ public DocumentTemplateList applyTemplateToDocument(String accountId, String env public ChunkedUploadResponse createChunkedUpload(String accountId, ChunkedUploadRequest chunkedUploadRequest) throws ApiException { Object localVarPostBody = chunkedUploadRequest; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling createChunkedUpload"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/chunked_uploads".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/chunked_uploads" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Returns a URL to the authentication view UI. + * Returns a URL to the authentication view UI.. * Returns a URL that allows you to embed the authentication view of the DocuSign UI in your applications. * @param accountId The external account number (int) or account ID Guid. (required) * @param consoleViewRequest (optional) @@ -237,41 +229,45 @@ public ChunkedUploadResponse createChunkedUpload(String accountId, ChunkedUpload public ViewUrl createConsoleView(String accountId, ConsoleViewRequest consoleViewRequest) throws ApiException { Object localVarPostBody = consoleViewRequest; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling createConsoleView"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/views/console".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/views/console" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Returns a URL to the envelope correction UI. + * Returns a URL to the envelope correction UI.. * Returns a URL that allows you to embed the envelope correction view of the DocuSign UI in your applications. Important: iFrames should not be used for embedded operations on mobile devices due to screen space issues. For iOS devices DocuSign recommends using a WebView. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -282,47 +278,51 @@ public ViewUrl createConsoleView(String accountId, ConsoleViewRequest consoleVie public ViewUrl createCorrectView(String accountId, String envelopeId, CorrectViewRequest correctViewRequest) throws ApiException { Object localVarPostBody = correctViewRequest; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling createCorrectView"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling createCorrectView"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/views/correct".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/views/correct" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Updates envelope custom fields for an envelope. + * Updates envelope custom fields for an envelope.. * Updates the envelope custom fields for draft and in-process envelopes. Each custom field used in an envelope must have a unique name. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -333,47 +333,51 @@ public ViewUrl createCorrectView(String accountId, String envelopeId, CorrectVie public CustomFields createCustomFields(String accountId, String envelopeId, CustomFields customFields) throws ApiException { Object localVarPostBody = customFields; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling createCustomFields"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling createCustomFields"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/custom_fields".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/custom_fields" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Creates custom document fields in an existing envelope document. + * Creates custom document fields in an existing envelope document.. * Creates custom document fields in an existing envelope document. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -385,53 +389,57 @@ public CustomFields createCustomFields(String accountId, String envelopeId, Cust public DocumentFieldsInformation createDocumentFields(String accountId, String envelopeId, String documentId, DocumentFieldsInformation documentFieldsInformation) throws ApiException { Object localVarPostBody = documentFieldsInformation; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling createDocumentFields"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling createDocumentFields"); - } + } - // verify the required parameter 'documentId' is set - if (documentId == null) { + // verify the required parameter 'documentId' is set + if (documentId == null) { throw new ApiException(400, "Missing the required parameter 'documentId' when calling createDocumentFields"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/fields".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/fields" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())) .replaceAll("\\{" + "documentId" + "\\}", apiClient.escapeString(documentId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Get Responsive HTML Preview for a document in an envelope. + * Get Responsive HTML Preview for a document in an envelope.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -443,53 +451,57 @@ public DocumentFieldsInformation createDocumentFields(String accountId, String e public DocumentHtmlDefinitions createDocumentResponsiveHtmlPreview(String accountId, String envelopeId, String documentId, DocumentHtmlDefinition documentHtmlDefinition) throws ApiException { Object localVarPostBody = documentHtmlDefinition; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling createDocumentResponsiveHtmlPreview"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling createDocumentResponsiveHtmlPreview"); - } + } - // verify the required parameter 'documentId' is set - if (documentId == null) { + // verify the required parameter 'documentId' is set + if (documentId == null) { throw new ApiException(400, "Missing the required parameter 'documentId' when calling createDocumentResponsiveHtmlPreview"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/responsive_html_preview".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/responsive_html_preview" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())) .replaceAll("\\{" + "documentId" + "\\}", apiClient.escapeString(documentId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Returns a URL to the edit view UI. + * Returns a URL to the edit view UI.. * Returns a URL that allows you to embed the edit view of the DocuSign UI in your applications. This is a one-time use login token that allows the user to be placed into the DocuSign editing view. Upon sending completion, the user is returned to the return URL provided by the API application. Important: iFrames should not be used for embedded operations on mobile devices due to screen space issues. For iOS devices DocuSign recommends using a WebView. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -500,47 +512,51 @@ public DocumentHtmlDefinitions createDocumentResponsiveHtmlPreview(String accoun public ViewUrl createEditView(String accountId, String envelopeId, ReturnUrlRequest returnUrlRequest) throws ApiException { Object localVarPostBody = returnUrlRequest; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling createEditView"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling createEditView"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/views/edit".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/views/edit" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Adds email setting overrides to an envelope. + * Adds email setting overrides to an envelope.. * Adds email override settings, changing the email address to reply to an email address, name, or the BCC for email archive information, for the envelope. Note that adding email settings will only affect email communications that occur after the addition was made. ### Important: The BCC Email address feature is designed to provide a copy of all email communications for external archiving purposes. DocuSign recommends that envelopes sent using the BCC for Email Archive feature, including the BCC Email Override option, include additional signer authentication options. To send a copy of the envelope to a recipient who does not need to sign, use a Carbon Copies or Certified Deliveries Recipient Type. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -551,97 +567,147 @@ public ViewUrl createEditView(String accountId, String envelopeId, ReturnUrlRequ public EmailSettings createEmailSettings(String accountId, String envelopeId, EmailSettings emailSettings) throws ApiException { Object localVarPostBody = emailSettings; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling createEmailSettings"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling createEmailSettings"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/email_settings".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/email_settings" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Creates an envelope. Creates an envelope. Using this function you can: * Create an envelope and send it. * Create an envelope from an existing template and send it. In either case, you can choose to save the envelope as a draft envelope instead of sending it by setting the request's `status` property to `created` instead of `sent`. ## Sending Envelopes Documents can be included with the Envelopes::create call itself or a template can include documents. Documents can be added by using a multi-part/form request or by using the `documentBase64` field of the [`document` object](#/definitions/document) ### Recipient Types An [`envelopeDefinition` object](#/definitions/envelopeDefinition) is used as the method's body. Envelope recipients can be defined in the envelope or in templates. The `envelopeDefinition` object's `recipients` field is an [`EnvelopeRecipients` resource object](#/definitions/EnvelopeRecipients). It includes arrays of the seven types of recipients defined by DocuSign: Recipient type | Object definition -------------- | ----------------- agent (can add name and email information for later recipients/signers) | [`agent`](#/definitions/agent) carbon copy (receives a copy of the documents) | [`carbonCopy`](#/definitions/carbonCopy) certified delivery (receives a copy of the documents and must acknowledge receipt) | [`certifiedDelivery`](#/definitions/certifiedDelivery) editor (can change recipients and document fields for later recipients/signers) | [`editor`](#/definitions/editor) in-person signer (\"hosts\" someone who signs in-person) | [`inPersonSigner`](#/definitions/inPersonSigner) intermediary (can add name and email information for some later recipients/signers.) | [`intermediary`](#/definitions/intermediary) signer (signs and/or updates document fields) | [`signer`](#/definitions/signer) Additional information about the different types of recipients is available from the [`EnvelopeRecipients` resource page](../../EnvelopeRecipients) and from the [Developer Center](https://www.docusign.com/developer-center/explore/features/recipients) ### Tabs Tabs (also referred to as `tags` and as `fields` in the web sending user interface), can be defined in the `envelopeDefinition`, in templates, by transforming PDF Form Fields, or by using Composite Templates (see below). Defining tabs: the `inPersonSigner`, and `signer` recipient objects include a `tabs` field. It is an [`EnvelopeTabs` resource object](#/definitions/EnvelopeTabs). It includes arrays of the 24 different tab types available. See the [`EnvelopeTabs` resource](../../EnvelopeTabs) for more information. ## Using Templates Envelopes use specific people or groups as recipients. Templates can specify a role, eg `account_manager.` When a template is used in an envelope, the roles must be replaced with specific people or groups. When you create an envelope using a `templateId`, the different recipient type objects within the [`EnvelopeRecipients` object](#/definitions/EnvelopeRecipients) are used to assign recipients to the template's roles via the `roleName` property. The recipient objects can also override settings that were specified in the template, and set values for tab fields that were defined in the template. ### Message Lock When a template is added or applied to an envelope and the template has a locked email subject and message, that subject and message are used for the envelope and cannot be changed even if another locked template is subsequently added or applied to the envelope. The field `messageLock` is used to lock the email subject and message. If an email subject or message is entered before adding or applying a template with `messageLock` **true**, the email subject and message is overwritten with the locked email subject and message from the template. ## Envelope Status The status of sent envelopes can be determined through the DocuSign webhook system or by polling. Webhooks are highly recommended: they provide your application with the quickest updates when an envelope's status changes. DocuSign limits polling to once every 15 minutes or less frequently. When a webhook is used, DocuSign calls your application, via the URL you provide, with a notification XML message. See the [Webhook recipe](https://www.docusign.com/developer-center/recipes/webhook-status) for examples and live demos of using webhooks. ## Webhook Options The two webhook options, *eventNotification* and *Connect* use the same notification mechanism and message formats. eventNotification is used to create a webhook for a specific envelope sent via the API. Connect webhooks can be used for any envelope sent from an account, from any user, from any client. ### eventNotification Webhooks The Envelopes::create method includes an optional [eventNotification object](#definition-eventNotification) that adds a webhook to the envelope. eventNotification webhooks are available for all DocuSign accounts with API access. ### Connect Webhooks Connect can be used to create a webhook for all envelopes sent by all users in an account, either through the API or via other DocuSign clients (web, mobile, etc). Connect configurations are independent of specific envelopes. A Connect configuration includes a filter that may be used to limit the webhook to specific users, envelope statuses, etc. Connect configurations may be created and managed using the [ConnectConfigurations resource](../../Connect/ConnectConfigurations). Configurations can also be created and managed from the Administration tool accessed by selecting \"Go to Admin\" from the menu next to your picture on the DocuSign web app. See the Integrations/Connect section of the Admin tool. For repeatability, and to minimize support questions, creating Connect configurations via the API is recommended, especially for ISVs. Connect is available for some DocuSign account types. Please contact DocuSign Sales for more information. ## Composite Templates The Composite Templates feature, like [compositing in film production](https://en.wikipedia.org/wiki/Compositing), enables you to *overlay* document, recipient, and tab definitions from multiple sources, including PDF Form Field definitions, templates defined on the server, and more. Each Composite Template consists of optional elements: server templates, inline templates, PDF Metadata templates, and documents. * The Composite Template ID is an optional element used to identify the composite template. It is used as a reference when adding document object information via a multi-part HTTP message. If used, the document content-disposition must include the `compositeTemplateId` to which the document should be added. If `compositeTemplateId` is not specified in the content-disposition, the document is applied based on the `documentId` only. If no document object is specified, the composite template inherits the first document. * Server Templates are server-side templates stored on the DocuSign platform. If supplied, they are overlaid into the envelope in the order of their Sequence value. * Inline Templates provide a container to add documents, recipients, tabs, and custom fields. If inline templates are supplied, they are overlaid into the envelope in the order of their Sequence value. * Document objects are optional structures that provide a container to pass in a document or form. If this object is not included, the composite template inherits the *first* document it finds from a server template or inline template, starting with the lowest sequence value. PDF Form objects are only transformed from the document object. DocuSign does not derive PDF form properties from server templates or inline templates. To instruct DocuSign to transform fields from the PDF form, set `transformPdfFields` to \"true\" for the document. See the Transform PDF Fields section for more information about process. * PDF Metadata Templates provide a container to embed design-time template information into a PDF document. DocuSign uses this information when processing the Envelope. This convention allows the document to carry the signing instructions with it, so that less information needs to be provided at run-time through an inline template or synchronized with an external structure like a server template. PDF Metadata templates are stored in the Metadata layer of a PDF in accordance with Acrobat's XMP specification. DocuSign will only find PDF Metadata templates inside documents passed in the Document object (see below). If supplied, the PDF metadata template will be overlaid into the envelope in the order of its Sequence value. ### Compositing the definitions Each Composite Template adds a new document and templates overlay into the envelope. For each Composite Template these rules are applied: * Templates are overlaid in the order of their Sequence value. * If Document is not passed into the Composite Template's `document` field, the *first* template's document (based on the template's Sequence value) is used. * Last in wins in all cases except for the document (i.e. envelope information, recipient information, secure field information). There is no special casing. For example, if you want higher security on a tab, then that needs to be specified in a later template (by sequence number) then where the tab is included. If you want higher security on a role recipient, then it needs to be in a later template then where that role recipient is specified. * Recipient matching is based on Recipient Role and Routing Order. If there are matches, the recipient information is merged together. A final pass is done on all Composite Templates, after all template overlays have been applied, to collapse recipients with the same email, username and routing order. This prevents having the same recipients at the same routing order. * If you specify in a template that a recipient is locked, once that recipient is overlaid the recipient attributes can no longer be changed. The only items that can be changed for the recipient in this case are the email, username, access code and IDCheckInformationInput. * Tab matching is based on Tab Labels, Tab Types and Documents. If a Tab Label matches but the Document is not supplied, the Tab is overlaid for all the Documents. For example, if you have a simple inline template with only one tab in it with a label and a value, the Signature, Initial, Company, Envelope ID, User Name tabs will only be matched and collapsed if they fall in the exact same X and Y locations. * roleName and tabLabel matching is case sensitive. * The defaultRecipient field enables you to specify which recipient the generated tabs from a PDF form are mapped to. You can also set PDF form generated tabs to a recipient other than the DefaultRecipient by specifying the mapping of the tab label that is created to one of the template recipients. * You can use tabLabel wild carding to map a series of tabs from the PDF form. To use this you must end a tab label with \"\\*\" and then the system matches tabs that start with the label. * If no DefaultRecipient is specified, tabs must be explicitly mapped to recipients in order to be generated from the form. Unmapped form objects will not be generated into their DocuSign equivalents. (In the case of Signature/Initials, the tabs will be disregarded entirely; in the case of pdf text fields, the field data will be flattened on the Envelope document, but there will not be a corresponding DocuSign data tab.) ### Including the Document Content for Composite Templates Document content can be supplied inline, using the `documentBase64` or can be included in a multi-part HTTP message. If a multi-part message is used and there are multiple Composite Templates, the document content-disposition can include the `compositeTemplateId` to which the document should be added. Using the `compositeTemplateId` sets which documents are associated with particular composite templates. An example of this usage is: ``` --5cd3320a-5aac-4453-b3a4-cbb52a4cba5d Content-Type: application/pdf Content-Disposition: file; filename=\"eula.pdf\"; documentId=1; compositeTemplateId=\"1\" Content-Transfer-Encoding: base64 ``` ### PDF Form Field Transformation Only the following PDF Form FieldTypes will be transformed to DocuSign tabs: CheckBox, DateTime, ListBox, Numeric, Password, Radio, Signature, and Text Field Properties that will be transformed: Read Only, Required, Max Length, Positions, and Initial Data. When transforming a *PDF Form Digital Signature Field,* the following rules are used: If the PDF Field Name Contains | Then the DocuSign Tab Will be ------- | -------- DocuSignSignHere or eSignSignHere | Signature DocuSignSignHereOptional or eSignSignHereOptional | Optional Signature DocuSignInitialHere or eSignInitialHere | Initials DocuSignInitialHereOptional or eSignInitialHereOptional | Optional Initials Any other PDF Form Digital Signature Field will be transformed to a DocuSign Signature tab When transforming *PDF Form Text Fields,* the following rules are used: If the PDF Field Name Contains | Then the DocuSign Tab Will be ------- | -------- DocuSignSignHere or eSignSignHere | Signature DocuSignSignHereOptional or eSignSignHereOptional | Optional Signature DocuSignInitialHere or eSignInitialHere | Initials DocuSignInitialHereOptional or eSignInitialHereOptional | Optional Initials DocuSignEnvelopeID or eSignEnvelopeID | EnvelopeID DocuSignCompany or eSignCompany | Company DocuSignDateSigned or eSignDateSigned | Date Signed DocuSignTitle or eSignTitle | Title DocuSignFullName or eSignFullName | Full Name DocuSignSignerAttachmentOptional or eSignSignerAttachmentOptional | Optional Signer Attachment Any other PDF Form Text Field will be transformed to a DocuSign data (text) tab. PDF Form Field Names that include \"DocuSignIgnoreTransform\" or \"eSignIgnoreTransform\" will not be transformed. PDF Form Date fields will be transformed to Date Signed fields if their name includes DocuSignDateSigned or eSignDateSigned. ## Template Email Subject Merge Fields This feature enables you to insert recipient name and email address merge fields into the email subject line when creating or sending from a template. The merge fields, based on the recipient's `roleName`, are added to the `emailSubject` when the template is created or when the template is used to create an envelope. After a template sender adds the name and email information for the recipient and sends the envelope, the recipient information is automatically merged into the appropriate fields in the email subject line. Both the sender and the recipients will see the information in the email subject line for any emails associated with the template. This provides an easy way for senders to organize their envelope emails without having to open an envelope to check the recipient. If merging the recipient information into the subject line causes the subject line to exceed 100 characters, then any characters over the 100 character limit are not included in the subject line. For cases where the recipient name or email is expected to be long, you should consider placing the merge field at the start of the email subject. * To add a recipient's name in the subject line add the following text in the `emailSubject` when creating the template or when sending an envelope from a template: [[<roleName>_UserName]] Example: `\"emailSubject\":\"[[Signer 1_UserName]], Please sign this NDA\",` * To add a recipient's email address in the subject line add the following text in the emailSubject when creating the template or when sending an envelope from a template: [[<roleName>_Email]] Example: `\"emailSubject\":\"[[Signer 1_Email]], Please sign this NDA\",` In both cases the <roleName> is the recipient's `roleName` in the template. For cases where another recipient (such as an Agent, Editor, or Intermediary recipient) is entering the name and email information for the recipient included in the email subject, then [[<roleName>_UserName]] or [[<roleName>_Email]] is shown in the email subject. ## Branding an envelope The following rules are used to determine the `brandId` used in an envelope: * If a `brandId` is specified in the envelope/template and that brandId is available to the account, that brand is used in the envelope. * If more than one template is used in an envelope and more than one `brandId` is specified, the first `brandId` specified is used throughout the envelope. * In cases where no brand is specified and the sender belongs to a Group; if there is only one brand associated with the Group, then that brand is used in the envelope. Otherwise, the account's default signing brand is used. * For envelopes that do not meet any of the previous criteria, the account's default signing brand is used for the envelope. ## BCC Email address feature The BCC Email address feature is designed to provide a copy of all email communications for external archiving purposes. DocuSign recommends that envelopes sent using the BCC for Email Archive feature, including the BCC Email Override option, include additional signer authentication options. To send a copy of the envelope to a recipient who does not need to sign, don't use the BCC Email field. Use a Carbon Copy or Certified Delivery Recipient type. ## Merge Recipient Roles for Draft Envelopes When an envelope with multiple templates is sent, the recipients from the templates are merged according to the template roles, and empty recipients are removed. When creating an envelope with multiple templates, but not sending it (keeping it in a created state), duplicate recipients are not merged, which could cause leave duplicate recipients in the envelope. To prevent this, the query parameter `merge_roles_on_draft` should be added when posting a draft envelope (status=created) with multiple templates. Doing this will merge template roles and remove empty recipients. ###### Note: DocuSign recommends that the `merge_roles_on_draft` query parameter be used anytime you are creating an envelope with multiple templates and keeping it in draft (created) status. /// + + /** + * CreateEnvelopeOptions Class. + * + **/ public class CreateEnvelopeOptions { private String cdseMode = null; private String changeRoutingOrder = null; private String completedDocumentsOnly = null; private String mergeRolesOnDraft = null; - /* - * - */ + private String tabLabelExactMatches = null; + + /** + * setCdseMode method. + */ public void setCdseMode(String cdseMode) { this.cdseMode = cdseMode; } - + + /** + * getCdseMode method. + * + * @return String + */ public String getCdseMode() { return this.cdseMode; } - /* - * - */ + + /** + * setChangeRoutingOrder method. + */ public void setChangeRoutingOrder(String changeRoutingOrder) { this.changeRoutingOrder = changeRoutingOrder; } - + + /** + * getChangeRoutingOrder method. + * + * @return String + */ public String getChangeRoutingOrder() { return this.changeRoutingOrder; } - /* - * If set to true then we want to set the sourceEnvelopeId to indicate that this is a\"forward\" envelope action - */ + + /** + * setCompletedDocumentsOnly method. + */ public void setCompletedDocumentsOnly(String completedDocumentsOnly) { this.completedDocumentsOnly = completedDocumentsOnly; } - + + /** + * getCompletedDocumentsOnly method. + * + * @return String + */ public String getCompletedDocumentsOnly() { return this.completedDocumentsOnly; } - /* - * When set to **true**, merges template roles and remove empty recipients when you create an envelope with multiple templates. - */ + + /** + * setMergeRolesOnDraft method. + */ public void setMergeRolesOnDraft(String mergeRolesOnDraft) { this.mergeRolesOnDraft = mergeRolesOnDraft; } - + + /** + * getMergeRolesOnDraft method. + * + * @return String + */ public String getMergeRolesOnDraft() { return this.mergeRolesOnDraft; } + + /** + * setTabLabelExactMatches method. + */ + public void setTabLabelExactMatches(String tabLabelExactMatches) { + this.tabLabelExactMatches = tabLabelExactMatches; + } + + /** + * getTabLabelExactMatches method. + * + * @return String + */ + public String getTabLabelExactMatches() { + return this.tabLabelExactMatches; + } } /** - * Creates an envelope. + * Creates an envelope.. * Creates an envelope. Using this function you can: * Create an envelope and send it. * Create an envelope from an existing template and send it. In either case, you can choose to save the envelope as a draft envelope instead of sending it by setting the request's `status` property to `created` instead of `sent`. ## Sending Envelopes Documents can be included with the Envelopes::create call itself or a template can include documents. Documents can be added by using a multi-part/form request or by using the `documentBase64` field of the [`document` object](#/definitions/document) ### Recipient Types An [`envelopeDefinition` object](#/definitions/envelopeDefinition) is used as the method's body. Envelope recipients can be defined in the envelope or in templates. The `envelopeDefinition` object's `recipients` field is an [`EnvelopeRecipients` resource object](#/definitions/EnvelopeRecipients). It includes arrays of the seven types of recipients defined by DocuSign: Recipient type | Object definition -------------- | ----------------- agent (can add name and email information for later recipients/signers) | [`agent`](#/definitions/agent) carbon copy (receives a copy of the documents) | [`carbonCopy`](#/definitions/carbonCopy) certified delivery (receives a copy of the documents and must acknowledge receipt) | [`certifiedDelivery`](#/definitions/certifiedDelivery) editor (can change recipients and document fields for later recipients/signers) | [`editor`](#/definitions/editor) in-person signer (\"hosts\" someone who signs in-person) | [`inPersonSigner`](#/definitions/inPersonSigner) intermediary (can add name and email information for some later recipients/signers.) | [`intermediary`](#/definitions/intermediary) signer (signs and/or updates document fields) | [`signer`](#/definitions/signer) Additional information about the different types of recipients is available from the [`EnvelopeRecipients` resource page](../../EnvelopeRecipients) and from the [Developer Center](https://www.docusign.com/developer-center/explore/features/recipients) ### Tabs Tabs (also referred to as `tags` and as `fields` in the web sending user interface), can be defined in the `envelopeDefinition`, in templates, by transforming PDF Form Fields, or by using Composite Templates (see below). Defining tabs: the `inPersonSigner`, and `signer` recipient objects include a `tabs` field. It is an [`EnvelopeTabs` resource object](#/definitions/EnvelopeTabs). It includes arrays of the 24 different tab types available. See the [`EnvelopeTabs` resource](../../EnvelopeTabs) for more information. ## Using Templates Envelopes use specific people or groups as recipients. Templates can specify a role, eg `account_manager.` When a template is used in an envelope, the roles must be replaced with specific people or groups. When you create an envelope using a `templateId`, the different recipient type objects within the [`EnvelopeRecipients` object](#/definitions/EnvelopeRecipients) are used to assign recipients to the template's roles via the `roleName` property. The recipient objects can also override settings that were specified in the template, and set values for tab fields that were defined in the template. ### Message Lock When a template is added or applied to an envelope and the template has a locked email subject and message, that subject and message are used for the envelope and cannot be changed even if another locked template is subsequently added or applied to the envelope. The field `messageLock` is used to lock the email subject and message. If an email subject or message is entered before adding or applying a template with `messageLock` **true**, the email subject and message is overwritten with the locked email subject and message from the template. ## Envelope Status The status of sent envelopes can be determined through the DocuSign webhook system or by polling. Webhooks are highly recommended: they provide your application with the quickest updates when an envelope's status changes. DocuSign limits polling to once every 15 minutes or less frequently. When a webhook is used, DocuSign calls your application, via the URL you provide, with a notification XML message. See the [Webhook recipe](https://www.docusign.com/developer-center/recipes/webhook-status) for examples and live demos of using webhooks. ## Webhook Options The two webhook options, *eventNotification* and *Connect* use the same notification mechanism and message formats. eventNotification is used to create a webhook for a specific envelope sent via the API. Connect webhooks can be used for any envelope sent from an account, from any user, from any client. ### eventNotification Webhooks The Envelopes::create method includes an optional [eventNotification object](#definition-eventNotification) that adds a webhook to the envelope. eventNotification webhooks are available for all DocuSign accounts with API access. ### Connect Webhooks Connect can be used to create a webhook for all envelopes sent by all users in an account, either through the API or via other DocuSign clients (web, mobile, etc). Connect configurations are independent of specific envelopes. A Connect configuration includes a filter that may be used to limit the webhook to specific users, envelope statuses, etc. Connect configurations may be created and managed using the [ConnectConfigurations resource](../../Connect/ConnectConfigurations). Configurations can also be created and managed from the Administration tool accessed by selecting \"Go to Admin\" from the menu next to your picture on the DocuSign web app. See the Integrations/Connect section of the Admin tool. For repeatability, and to minimize support questions, creating Connect configurations via the API is recommended, especially for ISVs. Connect is available for some DocuSign account types. Please contact DocuSign Sales for more information. ## Composite Templates The Composite Templates feature, like [compositing in film production](https://en.wikipedia.org/wiki/Compositing), enables you to *overlay* document, recipient, and tab definitions from multiple sources, including PDF Form Field definitions, templates defined on the server, and more. Each Composite Template consists of optional elements: server templates, inline templates, PDF Metadata templates, and documents. * The Composite Template ID is an optional element used to identify the composite template. It is used as a reference when adding document object information via a multi-part HTTP message. If used, the document content-disposition must include the `compositeTemplateId` to which the document should be added. If `compositeTemplateId` is not specified in the content-disposition, the document is applied based on the `documentId` only. If no document object is specified, the composite template inherits the first document. * Server Templates are server-side templates stored on the DocuSign platform. If supplied, they are overlaid into the envelope in the order of their Sequence value. * Inline Templates provide a container to add documents, recipients, tabs, and custom fields. If inline templates are supplied, they are overlaid into the envelope in the order of their Sequence value. * Document objects are optional structures that provide a container to pass in a document or form. If this object is not included, the composite template inherits the *first* document it finds from a server template or inline template, starting with the lowest sequence value. PDF Form objects are only transformed from the document object. DocuSign does not derive PDF form properties from server templates or inline templates. To instruct DocuSign to transform fields from the PDF form, set `transformPdfFields` to \"true\" for the document. See the Transform PDF Fields section for more information about process. * PDF Metadata Templates provide a container to embed design-time template information into a PDF document. DocuSign uses this information when processing the Envelope. This convention allows the document to carry the signing instructions with it, so that less information needs to be provided at run-time through an inline template or synchronized with an external structure like a server template. PDF Metadata templates are stored in the Metadata layer of a PDF in accordance with Acrobat's XMP specification. DocuSign will only find PDF Metadata templates inside documents passed in the Document object (see below). If supplied, the PDF metadata template will be overlaid into the envelope in the order of its Sequence value. ### Compositing the definitions Each Composite Template adds a new document and templates overlay into the envelope. For each Composite Template these rules are applied: * Templates are overlaid in the order of their Sequence value. * If Document is not passed into the Composite Template's `document` field, the *first* template's document (based on the template's Sequence value) is used. * Last in wins in all cases except for the document (i.e. envelope information, recipient information, secure field information). There is no special casing. For example, if you want higher security on a tab, then that needs to be specified in a later template (by sequence number) then where the tab is included. If you want higher security on a role recipient, then it needs to be in a later template then where that role recipient is specified. * Recipient matching is based on Recipient Role and Routing Order. If there are matches, the recipient information is merged together. A final pass is done on all Composite Templates, after all template overlays have been applied, to collapse recipients with the same email, username and routing order. This prevents having the same recipients at the same routing order. * If you specify in a template that a recipient is locked, once that recipient is overlaid the recipient attributes can no longer be changed. The only items that can be changed for the recipient in this case are the email, username, access code and IDCheckInformationInput. * Tab matching is based on Tab Labels, Tab Types and Documents. If a Tab Label matches but the Document is not supplied, the Tab is overlaid for all the Documents. For example, if you have a simple inline template with only one tab in it with a label and a value, the Signature, Initial, Company, Envelope ID, User Name tabs will only be matched and collapsed if they fall in the exact same X and Y locations. * roleName and tabLabel matching is case sensitive. * The defaultRecipient field enables you to specify which recipient the generated tabs from a PDF form are mapped to. You can also set PDF form generated tabs to a recipient other than the DefaultRecipient by specifying the mapping of the tab label that is created to one of the template recipients. * You can use tabLabel wild carding to map a series of tabs from the PDF form. To use this you must end a tab label with \"\\*\" and then the system matches tabs that start with the label. * If no DefaultRecipient is specified, tabs must be explicitly mapped to recipients in order to be generated from the form. Unmapped form objects will not be generated into their DocuSign equivalents. (In the case of Signature/Initials, the tabs will be disregarded entirely; in the case of pdf text fields, the field data will be flattened on the Envelope document, but there will not be a corresponding DocuSign data tab.) ### Including the Document Content for Composite Templates Document content can be supplied inline, using the `documentBase64` or can be included in a multi-part HTTP message. If a multi-part message is used and there are multiple Composite Templates, the document content-disposition can include the `compositeTemplateId` to which the document should be added. Using the `compositeTemplateId` sets which documents are associated with particular composite templates. An example of this usage is: ``` --5cd3320a-5aac-4453-b3a4-cbb52a4cba5d Content-Type: application/pdf Content-Disposition: file; filename=\"eula.pdf\"; documentId=1; compositeTemplateId=\"1\" Content-Transfer-Encoding: base64 ``` ### PDF Form Field Transformation Only the following PDF Form FieldTypes will be transformed to DocuSign tabs: CheckBox, DateTime, ListBox, Numeric, Password, Radio, Signature, and Text Field Properties that will be transformed: Read Only, Required, Max Length, Positions, and Initial Data. When transforming a *PDF Form Digital Signature Field,* the following rules are used: If the PDF Field Name Contains | Then the DocuSign Tab Will be ------- | -------- DocuSignSignHere or eSignSignHere | Signature DocuSignSignHereOptional or eSignSignHereOptional | Optional Signature DocuSignInitialHere or eSignInitialHere | Initials DocuSignInitialHereOptional or eSignInitialHereOptional | Optional Initials Any other PDF Form Digital Signature Field will be transformed to a DocuSign Signature tab When transforming *PDF Form Text Fields,* the following rules are used: If the PDF Field Name Contains | Then the DocuSign Tab Will be ------- | -------- DocuSignSignHere or eSignSignHere | Signature DocuSignSignHereOptional or eSignSignHereOptional | Optional Signature DocuSignInitialHere or eSignInitialHere | Initials DocuSignInitialHereOptional or eSignInitialHereOptional | Optional Initials DocuSignEnvelopeID or eSignEnvelopeID | EnvelopeID DocuSignCompany or eSignCompany | Company DocuSignDateSigned or eSignDateSigned | Date Signed DocuSignTitle or eSignTitle | Title DocuSignFullName or eSignFullName | Full Name DocuSignSignerAttachmentOptional or eSignSignerAttachmentOptional | Optional Signer Attachment Any other PDF Form Text Field will be transformed to a DocuSign data (text) tab. PDF Form Field Names that include \"DocuSignIgnoreTransform\" or \"eSignIgnoreTransform\" will not be transformed. PDF Form Date fields will be transformed to Date Signed fields if their name includes DocuSignDateSigned or eSignDateSigned. ## Template Email Subject Merge Fields This feature enables you to insert recipient name and email address merge fields into the email subject line when creating or sending from a template. The merge fields, based on the recipient's `roleName`, are added to the `emailSubject` when the template is created or when the template is used to create an envelope. After a template sender adds the name and email information for the recipient and sends the envelope, the recipient information is automatically merged into the appropriate fields in the email subject line. Both the sender and the recipients will see the information in the email subject line for any emails associated with the template. This provides an easy way for senders to organize their envelope emails without having to open an envelope to check the recipient. If merging the recipient information into the subject line causes the subject line to exceed 100 characters, then any characters over the 100 character limit are not included in the subject line. For cases where the recipient name or email is expected to be long, you should consider placing the merge field at the start of the email subject. * To add a recipient's name in the subject line add the following text in the `emailSubject` when creating the template or when sending an envelope from a template: [[<roleName>_UserName]] Example: `\"emailSubject\":\"[[Signer 1_UserName]], Please sign this NDA\",` * To add a recipient's email address in the subject line add the following text in the emailSubject when creating the template or when sending an envelope from a template: [[<roleName>_Email]] Example: `\"emailSubject\":\"[[Signer 1_Email]], Please sign this NDA\",` In both cases the <roleName> is the recipient's `roleName` in the template. For cases where another recipient (such as an Agent, Editor, or Intermediary recipient) is entering the name and email information for the recipient included in the email subject, then [[<roleName>_UserName]] or [[<roleName>_Email]] is shown in the email subject. ## Branding an envelope The following rules are used to determine the `brandId` used in an envelope: * If a `brandId` is specified in the envelope/template and that brandId is available to the account, that brand is used in the envelope. * If more than one template is used in an envelope and more than one `brandId` is specified, the first `brandId` specified is used throughout the envelope. * In cases where no brand is specified and the sender belongs to a Group; if there is only one brand associated with the Group, then that brand is used in the envelope. Otherwise, the account's default signing brand is used. * For envelopes that do not meet any of the previous criteria, the account's default signing brand is used for the envelope. ## BCC Email address feature The BCC Email address feature is designed to provide a copy of all email communications for external archiving purposes. DocuSign recommends that envelopes sent using the BCC for Email Archive feature, including the BCC Email Override option, include additional signer authentication options. To send a copy of the envelope to a recipient who does not need to sign, don't use the BCC Email field. Use a Carbon Copy or Certified Delivery Recipient type. ## Merge Recipient Roles for Draft Envelopes When an envelope with multiple templates is sent, the recipients from the templates are merged according to the template roles, and empty recipients are removed. When creating an envelope with multiple templates, but not sending it (keeping it in a created state), duplicate recipients are not merged, which could cause leave duplicate recipients in the envelope. To prevent this, the query parameter `merge_roles_on_draft` should be added when posting a draft envelope (status=created) with multiple templates. Doing this will merge template roles and remove empty recipients. ###### Note: DocuSign recommends that the `merge_roles_on_draft` query parameter be used anytime you are creating an envelope with multiple templates and keeping it in draft (created) status. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeDefinition (optional) @@ -652,7 +718,7 @@ public EnvelopeSummary createEnvelope(String accountId, EnvelopeDefinition envel } /** - * Creates an envelope. + * Creates an envelope.. * Creates an envelope. Using this function you can: * Create an envelope and send it. * Create an envelope from an existing template and send it. In either case, you can choose to save the envelope as a draft envelope instead of sending it by setting the request's `status` property to `created` instead of `sent`. ## Sending Envelopes Documents can be included with the Envelopes::create call itself or a template can include documents. Documents can be added by using a multi-part/form request or by using the `documentBase64` field of the [`document` object](#/definitions/document) ### Recipient Types An [`envelopeDefinition` object](#/definitions/envelopeDefinition) is used as the method's body. Envelope recipients can be defined in the envelope or in templates. The `envelopeDefinition` object's `recipients` field is an [`EnvelopeRecipients` resource object](#/definitions/EnvelopeRecipients). It includes arrays of the seven types of recipients defined by DocuSign: Recipient type | Object definition -------------- | ----------------- agent (can add name and email information for later recipients/signers) | [`agent`](#/definitions/agent) carbon copy (receives a copy of the documents) | [`carbonCopy`](#/definitions/carbonCopy) certified delivery (receives a copy of the documents and must acknowledge receipt) | [`certifiedDelivery`](#/definitions/certifiedDelivery) editor (can change recipients and document fields for later recipients/signers) | [`editor`](#/definitions/editor) in-person signer (\"hosts\" someone who signs in-person) | [`inPersonSigner`](#/definitions/inPersonSigner) intermediary (can add name and email information for some later recipients/signers.) | [`intermediary`](#/definitions/intermediary) signer (signs and/or updates document fields) | [`signer`](#/definitions/signer) Additional information about the different types of recipients is available from the [`EnvelopeRecipients` resource page](../../EnvelopeRecipients) and from the [Developer Center](https://www.docusign.com/developer-center/explore/features/recipients) ### Tabs Tabs (also referred to as `tags` and as `fields` in the web sending user interface), can be defined in the `envelopeDefinition`, in templates, by transforming PDF Form Fields, or by using Composite Templates (see below). Defining tabs: the `inPersonSigner`, and `signer` recipient objects include a `tabs` field. It is an [`EnvelopeTabs` resource object](#/definitions/EnvelopeTabs). It includes arrays of the 24 different tab types available. See the [`EnvelopeTabs` resource](../../EnvelopeTabs) for more information. ## Using Templates Envelopes use specific people or groups as recipients. Templates can specify a role, eg `account_manager.` When a template is used in an envelope, the roles must be replaced with specific people or groups. When you create an envelope using a `templateId`, the different recipient type objects within the [`EnvelopeRecipients` object](#/definitions/EnvelopeRecipients) are used to assign recipients to the template's roles via the `roleName` property. The recipient objects can also override settings that were specified in the template, and set values for tab fields that were defined in the template. ### Message Lock When a template is added or applied to an envelope and the template has a locked email subject and message, that subject and message are used for the envelope and cannot be changed even if another locked template is subsequently added or applied to the envelope. The field `messageLock` is used to lock the email subject and message. If an email subject or message is entered before adding or applying a template with `messageLock` **true**, the email subject and message is overwritten with the locked email subject and message from the template. ## Envelope Status The status of sent envelopes can be determined through the DocuSign webhook system or by polling. Webhooks are highly recommended: they provide your application with the quickest updates when an envelope's status changes. DocuSign limits polling to once every 15 minutes or less frequently. When a webhook is used, DocuSign calls your application, via the URL you provide, with a notification XML message. See the [Webhook recipe](https://www.docusign.com/developer-center/recipes/webhook-status) for examples and live demos of using webhooks. ## Webhook Options The two webhook options, *eventNotification* and *Connect* use the same notification mechanism and message formats. eventNotification is used to create a webhook for a specific envelope sent via the API. Connect webhooks can be used for any envelope sent from an account, from any user, from any client. ### eventNotification Webhooks The Envelopes::create method includes an optional [eventNotification object](#definition-eventNotification) that adds a webhook to the envelope. eventNotification webhooks are available for all DocuSign accounts with API access. ### Connect Webhooks Connect can be used to create a webhook for all envelopes sent by all users in an account, either through the API or via other DocuSign clients (web, mobile, etc). Connect configurations are independent of specific envelopes. A Connect configuration includes a filter that may be used to limit the webhook to specific users, envelope statuses, etc. Connect configurations may be created and managed using the [ConnectConfigurations resource](../../Connect/ConnectConfigurations). Configurations can also be created and managed from the Administration tool accessed by selecting \"Go to Admin\" from the menu next to your picture on the DocuSign web app. See the Integrations/Connect section of the Admin tool. For repeatability, and to minimize support questions, creating Connect configurations via the API is recommended, especially for ISVs. Connect is available for some DocuSign account types. Please contact DocuSign Sales for more information. ## Composite Templates The Composite Templates feature, like [compositing in film production](https://en.wikipedia.org/wiki/Compositing), enables you to *overlay* document, recipient, and tab definitions from multiple sources, including PDF Form Field definitions, templates defined on the server, and more. Each Composite Template consists of optional elements: server templates, inline templates, PDF Metadata templates, and documents. * The Composite Template ID is an optional element used to identify the composite template. It is used as a reference when adding document object information via a multi-part HTTP message. If used, the document content-disposition must include the `compositeTemplateId` to which the document should be added. If `compositeTemplateId` is not specified in the content-disposition, the document is applied based on the `documentId` only. If no document object is specified, the composite template inherits the first document. * Server Templates are server-side templates stored on the DocuSign platform. If supplied, they are overlaid into the envelope in the order of their Sequence value. * Inline Templates provide a container to add documents, recipients, tabs, and custom fields. If inline templates are supplied, they are overlaid into the envelope in the order of their Sequence value. * Document objects are optional structures that provide a container to pass in a document or form. If this object is not included, the composite template inherits the *first* document it finds from a server template or inline template, starting with the lowest sequence value. PDF Form objects are only transformed from the document object. DocuSign does not derive PDF form properties from server templates or inline templates. To instruct DocuSign to transform fields from the PDF form, set `transformPdfFields` to \"true\" for the document. See the Transform PDF Fields section for more information about process. * PDF Metadata Templates provide a container to embed design-time template information into a PDF document. DocuSign uses this information when processing the Envelope. This convention allows the document to carry the signing instructions with it, so that less information needs to be provided at run-time through an inline template or synchronized with an external structure like a server template. PDF Metadata templates are stored in the Metadata layer of a PDF in accordance with Acrobat's XMP specification. DocuSign will only find PDF Metadata templates inside documents passed in the Document object (see below). If supplied, the PDF metadata template will be overlaid into the envelope in the order of its Sequence value. ### Compositing the definitions Each Composite Template adds a new document and templates overlay into the envelope. For each Composite Template these rules are applied: * Templates are overlaid in the order of their Sequence value. * If Document is not passed into the Composite Template's `document` field, the *first* template's document (based on the template's Sequence value) is used. * Last in wins in all cases except for the document (i.e. envelope information, recipient information, secure field information). There is no special casing. For example, if you want higher security on a tab, then that needs to be specified in a later template (by sequence number) then where the tab is included. If you want higher security on a role recipient, then it needs to be in a later template then where that role recipient is specified. * Recipient matching is based on Recipient Role and Routing Order. If there are matches, the recipient information is merged together. A final pass is done on all Composite Templates, after all template overlays have been applied, to collapse recipients with the same email, username and routing order. This prevents having the same recipients at the same routing order. * If you specify in a template that a recipient is locked, once that recipient is overlaid the recipient attributes can no longer be changed. The only items that can be changed for the recipient in this case are the email, username, access code and IDCheckInformationInput. * Tab matching is based on Tab Labels, Tab Types and Documents. If a Tab Label matches but the Document is not supplied, the Tab is overlaid for all the Documents. For example, if you have a simple inline template with only one tab in it with a label and a value, the Signature, Initial, Company, Envelope ID, User Name tabs will only be matched and collapsed if they fall in the exact same X and Y locations. * roleName and tabLabel matching is case sensitive. * The defaultRecipient field enables you to specify which recipient the generated tabs from a PDF form are mapped to. You can also set PDF form generated tabs to a recipient other than the DefaultRecipient by specifying the mapping of the tab label that is created to one of the template recipients. * You can use tabLabel wild carding to map a series of tabs from the PDF form. To use this you must end a tab label with \"\\*\" and then the system matches tabs that start with the label. * If no DefaultRecipient is specified, tabs must be explicitly mapped to recipients in order to be generated from the form. Unmapped form objects will not be generated into their DocuSign equivalents. (In the case of Signature/Initials, the tabs will be disregarded entirely; in the case of pdf text fields, the field data will be flattened on the Envelope document, but there will not be a corresponding DocuSign data tab.) ### Including the Document Content for Composite Templates Document content can be supplied inline, using the `documentBase64` or can be included in a multi-part HTTP message. If a multi-part message is used and there are multiple Composite Templates, the document content-disposition can include the `compositeTemplateId` to which the document should be added. Using the `compositeTemplateId` sets which documents are associated with particular composite templates. An example of this usage is: ``` --5cd3320a-5aac-4453-b3a4-cbb52a4cba5d Content-Type: application/pdf Content-Disposition: file; filename=\"eula.pdf\"; documentId=1; compositeTemplateId=\"1\" Content-Transfer-Encoding: base64 ``` ### PDF Form Field Transformation Only the following PDF Form FieldTypes will be transformed to DocuSign tabs: CheckBox, DateTime, ListBox, Numeric, Password, Radio, Signature, and Text Field Properties that will be transformed: Read Only, Required, Max Length, Positions, and Initial Data. When transforming a *PDF Form Digital Signature Field,* the following rules are used: If the PDF Field Name Contains | Then the DocuSign Tab Will be ------- | -------- DocuSignSignHere or eSignSignHere | Signature DocuSignSignHereOptional or eSignSignHereOptional | Optional Signature DocuSignInitialHere or eSignInitialHere | Initials DocuSignInitialHereOptional or eSignInitialHereOptional | Optional Initials Any other PDF Form Digital Signature Field will be transformed to a DocuSign Signature tab When transforming *PDF Form Text Fields,* the following rules are used: If the PDF Field Name Contains | Then the DocuSign Tab Will be ------- | -------- DocuSignSignHere or eSignSignHere | Signature DocuSignSignHereOptional or eSignSignHereOptional | Optional Signature DocuSignInitialHere or eSignInitialHere | Initials DocuSignInitialHereOptional or eSignInitialHereOptional | Optional Initials DocuSignEnvelopeID or eSignEnvelopeID | EnvelopeID DocuSignCompany or eSignCompany | Company DocuSignDateSigned or eSignDateSigned | Date Signed DocuSignTitle or eSignTitle | Title DocuSignFullName or eSignFullName | Full Name DocuSignSignerAttachmentOptional or eSignSignerAttachmentOptional | Optional Signer Attachment Any other PDF Form Text Field will be transformed to a DocuSign data (text) tab. PDF Form Field Names that include \"DocuSignIgnoreTransform\" or \"eSignIgnoreTransform\" will not be transformed. PDF Form Date fields will be transformed to Date Signed fields if their name includes DocuSignDateSigned or eSignDateSigned. ## Template Email Subject Merge Fields This feature enables you to insert recipient name and email address merge fields into the email subject line when creating or sending from a template. The merge fields, based on the recipient's `roleName`, are added to the `emailSubject` when the template is created or when the template is used to create an envelope. After a template sender adds the name and email information for the recipient and sends the envelope, the recipient information is automatically merged into the appropriate fields in the email subject line. Both the sender and the recipients will see the information in the email subject line for any emails associated with the template. This provides an easy way for senders to organize their envelope emails without having to open an envelope to check the recipient. If merging the recipient information into the subject line causes the subject line to exceed 100 characters, then any characters over the 100 character limit are not included in the subject line. For cases where the recipient name or email is expected to be long, you should consider placing the merge field at the start of the email subject. * To add a recipient's name in the subject line add the following text in the `emailSubject` when creating the template or when sending an envelope from a template: [[<roleName>_UserName]] Example: `\"emailSubject\":\"[[Signer 1_UserName]], Please sign this NDA\",` * To add a recipient's email address in the subject line add the following text in the emailSubject when creating the template or when sending an envelope from a template: [[<roleName>_Email]] Example: `\"emailSubject\":\"[[Signer 1_Email]], Please sign this NDA\",` In both cases the <roleName> is the recipient's `roleName` in the template. For cases where another recipient (such as an Agent, Editor, or Intermediary recipient) is entering the name and email information for the recipient included in the email subject, then [[<roleName>_UserName]] or [[<roleName>_Email]] is shown in the email subject. ## Branding an envelope The following rules are used to determine the `brandId` used in an envelope: * If a `brandId` is specified in the envelope/template and that brandId is available to the account, that brand is used in the envelope. * If more than one template is used in an envelope and more than one `brandId` is specified, the first `brandId` specified is used throughout the envelope. * In cases where no brand is specified and the sender belongs to a Group; if there is only one brand associated with the Group, then that brand is used in the envelope. Otherwise, the account's default signing brand is used. * For envelopes that do not meet any of the previous criteria, the account's default signing brand is used for the envelope. ## BCC Email address feature The BCC Email address feature is designed to provide a copy of all email communications for external archiving purposes. DocuSign recommends that envelopes sent using the BCC for Email Archive feature, including the BCC Email Override option, include additional signer authentication options. To send a copy of the envelope to a recipient who does not need to sign, don't use the BCC Email field. Use a Carbon Copy or Certified Delivery Recipient type. ## Merge Recipient Roles for Draft Envelopes When an envelope with multiple templates is sent, the recipients from the templates are merged according to the template roles, and empty recipients are removed. When creating an envelope with multiple templates, but not sending it (keeping it in a created state), duplicate recipients are not merged, which could cause leave duplicate recipients in the envelope. To prevent this, the query parameter `merge_roles_on_draft` should be added when posting a draft envelope (status=created) with multiple templates. Doing this will merge template roles and remove empty recipients. ###### Note: DocuSign recommends that the `merge_roles_on_draft` query parameter be used anytime you are creating an envelope with multiple templates and keeping it in draft (created) status. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeDefinition (optional) @@ -663,46 +729,55 @@ public EnvelopeSummary createEnvelope(String accountId, EnvelopeDefinition envel public EnvelopeSummary createEnvelope(String accountId, EnvelopeDefinition envelopeDefinition, EnvelopesApi.CreateEnvelopeOptions options) throws ApiException { Object localVarPostBody = envelopeDefinition; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling createEnvelope"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "cdse_mode", options.cdseMode)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "change_routing_order", options.changeRoutingOrder)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "completed_documents_only", options.completedDocumentsOnly)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "merge_roles_on_draft", options.mergeRolesOnDraft)); + localVarQueryParams.addAll(apiClient.parameterToPair("cdse_mode", options.cdseMode)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("change_routing_order", options.changeRoutingOrder)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("completed_documents_only", options.completedDocumentsOnly)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("merge_roles_on_draft", options.mergeRolesOnDraft)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("tab_label_exact_matches", options.tabLabelExactMatches)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Provides a URL to start a shared recipient view of the Envelope UI + * Provides a URL to start a shared recipient view of the Envelope UI. * * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -713,47 +788,51 @@ public EnvelopeSummary createEnvelope(String accountId, EnvelopeDefinition envel public ViewUrl createEnvelopeRecipientSharedView(String accountId, String envelopeId, RecipientViewRequest recipientViewRequest) throws ApiException { Object localVarPostBody = recipientViewRequest; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling createEnvelopeRecipientSharedView"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling createEnvelopeRecipientSharedView"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/views/shared".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/views/shared" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Lock an envelope. + * Lock an envelope.. * Locks the specified envelope, and sets the time until the lock expires, to prevent other users or recipients from accessing and changing the envelope. ###### Note: Users must have envelope locking capability enabled to use this function (userSetting `canLockEnvelopes` must be set to true for the user). * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -764,64 +843,79 @@ public ViewUrl createEnvelopeRecipientSharedView(String accountId, String envelo public LockInformation createLock(String accountId, String envelopeId, LockRequest lockRequest) throws ApiException { Object localVarPostBody = lockRequest; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling createLock"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling createLock"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/lock".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/lock" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Adds one or more recipients to an envelope. Adds one or more recipients to an envelope. For an in process envelope, one that has been sent and has not been completed or voided, an email is sent to a new recipient when they are reached in the routing order. If the new recipient's routing order is before or the same as the envelope's next recipient, an email is only sent if the optional `resend_envelope` query string is set to **true**. /// + + /** + * CreateRecipientOptions Class. + * + **/ public class CreateRecipientOptions { private String resendEnvelope = null; - /* - * When set to **true**, resends the envelope if the new recipient's routing order is before or the same as the envelope's next recipient. - */ + + /** + * setResendEnvelope method. + */ public void setResendEnvelope(String resendEnvelope) { this.resendEnvelope = resendEnvelope; } - + + /** + * getResendEnvelope method. + * + * @return String + */ public String getResendEnvelope() { return this.resendEnvelope; } } /** - * Adds one or more recipients to an envelope. + * Adds one or more recipients to an envelope.. * Adds one or more recipients to an envelope. For an in process envelope, one that has been sent and has not been completed or voided, an email is sent to a new recipient when they are reached in the routing order. If the new recipient's routing order is before or the same as the envelope's next recipient, an email is only sent if the optional `resend_envelope` query string is set to **true**. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -833,7 +927,7 @@ public Recipients createRecipient(String accountId, String envelopeId, Recipient } /** - * Adds one or more recipients to an envelope. + * Adds one or more recipients to an envelope.. * Adds one or more recipients to an envelope. For an in process envelope, one that has been sent and has not been completed or voided, an email is sent to a new recipient when they are reached in the routing order. If the new recipient's routing order is before or the same as the envelope's next recipient, an email is only sent if the optional `resend_envelope` query string is set to **true**. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -845,49 +939,53 @@ public Recipients createRecipient(String accountId, String envelopeId, Recipient public Recipients createRecipient(String accountId, String envelopeId, Recipients recipients, EnvelopesApi.CreateRecipientOptions options) throws ApiException { Object localVarPostBody = recipients; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling createRecipient"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling createRecipient"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/recipients".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/recipients" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "resend_envelope", options.resendEnvelope)); + localVarQueryParams.addAll(apiClient.parameterToPair("resend_envelope", options.resendEnvelope)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Returns a URL to the recipient view UI. + * Returns a URL to the recipient view UI.. * Returns a URL that allows you to embed the recipient view of the DocuSign UI in your applications. This call cannot be used to view draft envelopes, since those envelopes have not been sent. Important: iFrames should not be used for embedded operations on mobile devices due to screen space issues. For iOS devices DocuSign recommends using a WebView. An entry is added into the Security Level section of the DocuSign Certificate of Completion that reflects the `securityDomain` and `authenticationMethod` properties used to verify the user identity. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -898,47 +996,51 @@ public Recipients createRecipient(String accountId, String envelopeId, Recipient public ViewUrl createRecipientView(String accountId, String envelopeId, RecipientViewRequest recipientViewRequest) throws ApiException { Object localVarPostBody = recipientViewRequest; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling createRecipientView"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling createRecipientView"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/views/recipient".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/views/recipient" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Get Responsive HTML Preview for all documents in an envelope. + * Get Responsive HTML Preview for all documents in an envelope.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -949,47 +1051,51 @@ public ViewUrl createRecipientView(String accountId, String envelopeId, Recipien public DocumentHtmlDefinitions createResponsiveHtmlPreview(String accountId, String envelopeId, DocumentHtmlDefinition documentHtmlDefinition) throws ApiException { Object localVarPostBody = documentHtmlDefinition; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling createResponsiveHtmlPreview"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling createResponsiveHtmlPreview"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/responsive_html_preview".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/responsive_html_preview" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Returns a URL to the sender view UI. + * Returns a URL to the sender view UI.. * Returns a URL that allows you to embed the sender view of the DocuSign UI in your applications. This is a one-time use login token that allows the user to be placed into the DocuSign sending view. Upon sending completion, the user is returned to the return URL provided by the API application. Important: iFrames should not be used for embedded operations on mobile devices due to screen space issues. For iOS devices DocuSign recommends using a WebView. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -1000,47 +1106,51 @@ public DocumentHtmlDefinitions createResponsiveHtmlPreview(String accountId, Str public ViewUrl createSenderView(String accountId, String envelopeId, ReturnUrlRequest returnUrlRequest) throws ApiException { Object localVarPostBody = returnUrlRequest; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling createSenderView"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling createSenderView"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/views/sender".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/views/sender" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Adds tabs for a recipient. + * Adds tabs for a recipient.. * Adds one or more tabs for a recipient. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -1052,53 +1162,57 @@ public ViewUrl createSenderView(String accountId, String envelopeId, ReturnUrlRe public Tabs createTabs(String accountId, String envelopeId, String recipientId, Tabs tabs) throws ApiException { Object localVarPostBody = tabs; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling createTabs"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling createTabs"); - } + } - // verify the required parameter 'recipientId' is set - if (recipientId == null) { + // verify the required parameter 'recipientId' is set + if (recipientId == null) { throw new ApiException(400, "Missing the required parameter 'recipientId' when calling createTabs"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/tabs".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/tabs" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())) .replaceAll("\\{" + "recipientId" + "\\}", apiClient.escapeString(recipientId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Delete one or more attachments from a DRAFT envelope. + * Delete one or more attachments from a DRAFT envelope.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -1109,47 +1223,51 @@ public Tabs createTabs(String accountId, String envelopeId, String recipientId, public EnvelopeAttachmentsResult deleteAttachments(String accountId, String envelopeId, EnvelopeAttachmentsRequest envelopeAttachmentsRequest) throws ApiException { Object localVarPostBody = envelopeAttachmentsRequest; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling deleteAttachments"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling deleteAttachments"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/attachments".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/attachments" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Delete an existing ChunkedUpload. + * Delete an existing ChunkedUpload.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param chunkedUploadId (required) @@ -1159,47 +1277,51 @@ public EnvelopeAttachmentsResult deleteAttachments(String accountId, String enve public ChunkedUploadResponse deleteChunkedUpload(String accountId, String chunkedUploadId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling deleteChunkedUpload"); - } + } - // verify the required parameter 'chunkedUploadId' is set - if (chunkedUploadId == null) { + // verify the required parameter 'chunkedUploadId' is set + if (chunkedUploadId == null) { throw new ApiException(400, "Missing the required parameter 'chunkedUploadId' when calling deleteChunkedUpload"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/chunked_uploads/{chunkedUploadId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/chunked_uploads/{chunkedUploadId}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "chunkedUploadId" + "\\}", apiClient.escapeString(chunkedUploadId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Deletes envelope custom fields for draft and in-process envelopes. + * Deletes envelope custom fields for draft and in-process envelopes.. * Deletes envelope custom fields for draft and in-process envelopes. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -1210,47 +1332,51 @@ public ChunkedUploadResponse deleteChunkedUpload(String accountId, String chunke public CustomFields deleteCustomFields(String accountId, String envelopeId, CustomFields customFields) throws ApiException { Object localVarPostBody = customFields; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling deleteCustomFields"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling deleteCustomFields"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/custom_fields".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/custom_fields" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Deletes custom document fields from an existing envelope document. + * Deletes custom document fields from an existing envelope document.. * Deletes custom document fields from an existing envelope document. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -1262,53 +1388,57 @@ public CustomFields deleteCustomFields(String accountId, String envelopeId, Cust public DocumentFieldsInformation deleteDocumentFields(String accountId, String envelopeId, String documentId, DocumentFieldsInformation documentFieldsInformation) throws ApiException { Object localVarPostBody = documentFieldsInformation; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling deleteDocumentFields"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling deleteDocumentFields"); - } + } - // verify the required parameter 'documentId' is set - if (documentId == null) { + // verify the required parameter 'documentId' is set + if (documentId == null) { throw new ApiException(400, "Missing the required parameter 'documentId' when calling deleteDocumentFields"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/fields".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/fields" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())) .replaceAll("\\{" + "documentId" + "\\}", apiClient.escapeString(documentId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Deletes a page from a document in an envelope. + * Deletes a page from a document in an envelope.. * Deletes a page from a document in an envelope based on the page number. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -1319,28 +1449,28 @@ public DocumentFieldsInformation deleteDocumentFields(String accountId, String e public void deleteDocumentPage(String accountId, String envelopeId, String documentId, String pageNumber) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling deleteDocumentPage"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling deleteDocumentPage"); - } + } - // verify the required parameter 'documentId' is set - if (documentId == null) { + // verify the required parameter 'documentId' is set + if (documentId == null) { throw new ApiException(400, "Missing the required parameter 'documentId' when calling deleteDocumentPage"); - } + } - // verify the required parameter 'pageNumber' is set - if (pageNumber == null) { + // verify the required parameter 'pageNumber' is set + if (pageNumber == null) { throw new ApiException(400, "Missing the required parameter 'pageNumber' when calling deleteDocumentPage"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/pages/{pageNumber}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/pages/{pageNumber}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())) .replaceAll("\\{" + "documentId" + "\\}", apiClient.escapeString(documentId.toString())) @@ -1348,30 +1478,34 @@ public void deleteDocumentPage(String accountId, String envelopeId, String docum // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + + apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); + } /** - * Deletes documents from a draft envelope. + * Deletes documents from a draft envelope.. * Deletes one or more documents from an existing draft envelope. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -1382,47 +1516,51 @@ public void deleteDocumentPage(String accountId, String envelopeId, String docum public EnvelopeDocumentsResult deleteDocuments(String accountId, String envelopeId, EnvelopeDefinition envelopeDefinition) throws ApiException { Object localVarPostBody = envelopeDefinition; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling deleteDocuments"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling deleteDocuments"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/documents".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/documents" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Deletes the email setting overrides for an envelope. + * Deletes the email setting overrides for an envelope.. * Deletes all existing email override settings for the envelope. If you want to delete an individual email override setting, use the PUT and set the value to an empty string. Note that deleting email settings will only affect email communications that occur after the deletion and the normal account email settings are used for future email communications. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -1432,47 +1570,105 @@ public EnvelopeDocumentsResult deleteDocuments(String accountId, String envelope public EmailSettings deleteEmailSettings(String accountId, String envelopeId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling deleteEmailSettings"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling deleteEmailSettings"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/email_settings".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/email_settings" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + + + + + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } + + /** + * Revokes the correction view URL to the Envelope UI. + * + * @param accountId The external account number (int) or account ID Guid. (required) + * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) + * @param correctViewRequest (optional) + * @throws ApiException if fails to make API call + */ + public void deleteEnvelopeCorrectView(String accountId, String envelopeId, CorrectViewRequest correctViewRequest) throws ApiException { + Object localVarPostBody = correctViewRequest; + + // verify the required parameter 'accountId' is set + if (accountId == null) { + throw new ApiException(400, "Missing the required parameter 'accountId' when calling deleteEnvelopeCorrectView"); + } + + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { + throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling deleteEnvelopeCorrectView"); + } + + // create path and map variables + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/views/correct" + .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) + .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())); + + // query params + java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); + java.util.Map localVarHeaderParams = new java.util.HashMap(); + java.util.Map localVarFormParams = new java.util.HashMap(); + + - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); + } /** - * Deletes an envelope lock. + * Deletes an envelope lock.. * Deletes the lock from the specified envelope. The `X-DocuSign-Edit` header must be included in the request. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -1482,47 +1678,51 @@ public EmailSettings deleteEmailSettings(String accountId, String envelopeId) th public LockInformation deleteLock(String accountId, String envelopeId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling deleteLock"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling deleteLock"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/lock".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/lock" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Deletes a recipient from an envelope. + * Deletes a recipient from an envelope.. * Deletes the specified recipient file from the specified envelope. This cannot be used if the envelope has been sent. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -1533,53 +1733,57 @@ public LockInformation deleteLock(String accountId, String envelopeId) throws Ap public Recipients deleteRecipient(String accountId, String envelopeId, String recipientId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling deleteRecipient"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling deleteRecipient"); - } + } - // verify the required parameter 'recipientId' is set - if (recipientId == null) { + // verify the required parameter 'recipientId' is set + if (recipientId == null) { throw new ApiException(400, "Missing the required parameter 'recipientId' when calling deleteRecipient"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())) .replaceAll("\\{" + "recipientId" + "\\}", apiClient.escapeString(recipientId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Deletes recipients from an envelope. + * Deletes recipients from an envelope.. * Deletes one or more recipients from a draft or sent envelope. Recipients to be deleted are listed in the request, with the `recipientId` being used as the key for deleting recipients. If the envelope is `In Process`, meaning that it has been sent and has not been completed or voided, recipients that have completed their actions cannot be deleted. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -1590,47 +1794,51 @@ public Recipients deleteRecipient(String accountId, String envelopeId, String re public Recipients deleteRecipients(String accountId, String envelopeId, Recipients recipients) throws ApiException { Object localVarPostBody = recipients; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling deleteRecipients"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling deleteRecipients"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/recipients".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/recipients" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Deletes the tabs associated with a recipient. + * Deletes the tabs associated with a recipient.. * Deletes one or more tabs associated with a recipient in a draft envelope. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -1642,53 +1850,57 @@ public Recipients deleteRecipients(String accountId, String envelopeId, Recipien public Tabs deleteTabs(String accountId, String envelopeId, String recipientId, Tabs tabs) throws ApiException { Object localVarPostBody = tabs; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling deleteTabs"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling deleteTabs"); - } + } - // verify the required parameter 'recipientId' is set - if (recipientId == null) { + // verify the required parameter 'recipientId' is set + if (recipientId == null) { throw new ApiException(400, "Missing the required parameter 'recipientId' when calling deleteTabs"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/tabs".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/tabs" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())) .replaceAll("\\{" + "recipientId" + "\\}", apiClient.escapeString(recipientId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Deletes a template from a document in an existing envelope. + * Deletes a template from a document in an existing envelope.. * Deletes the specified template from a document in an existing envelope. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -1699,28 +1911,28 @@ public Tabs deleteTabs(String accountId, String envelopeId, String recipientId, public void deleteTemplatesFromDocument(String accountId, String envelopeId, String documentId, String templateId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling deleteTemplatesFromDocument"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling deleteTemplatesFromDocument"); - } + } - // verify the required parameter 'documentId' is set - if (documentId == null) { + // verify the required parameter 'documentId' is set + if (documentId == null) { throw new ApiException(400, "Missing the required parameter 'documentId' when calling deleteTemplatesFromDocument"); - } + } - // verify the required parameter 'templateId' is set - if (templateId == null) { + // verify the required parameter 'templateId' is set + if (templateId == null) { throw new ApiException(400, "Missing the required parameter 'templateId' when calling deleteTemplatesFromDocument"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/templates/{templateId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/templates/{templateId}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())) .replaceAll("\\{" + "documentId" + "\\}", apiClient.escapeString(documentId.toString())) @@ -1728,30 +1940,34 @@ public void deleteTemplatesFromDocument(String accountId, String envelopeId, Str // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); - } + + apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); + } /** - * Retrieves an attachment from the envelope. + * Retrieves an attachment from the envelope.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -1761,53 +1977,57 @@ public void deleteTemplatesFromDocument(String accountId, String envelopeId, Str public void getAttachment(String accountId, String envelopeId, String attachmentId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getAttachment"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling getAttachment"); - } + } - // verify the required parameter 'attachmentId' is set - if (attachmentId == null) { + // verify the required parameter 'attachmentId' is set + if (attachmentId == null) { throw new ApiException(400, "Missing the required parameter 'attachmentId' when calling getAttachment"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/attachments/{attachmentId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/attachments/{attachmentId}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())) .replaceAll("\\{" + "attachmentId" + "\\}", apiClient.escapeString(attachmentId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + + apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); + } /** - * Returns a list of attachments associated with the specified envelope + * Returns a list of attachments associated with the specified envelope. * * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -1817,64 +2037,79 @@ public void getAttachment(String accountId, String envelopeId, String attachment public EnvelopeAttachmentsResult getAttachments(String accountId, String envelopeId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getAttachments"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling getAttachments"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/attachments".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/attachments" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Retrieves the current metadata of a ChunkedUpload. /// + + /** + * GetChunkedUploadOptions Class. + * + **/ public class GetChunkedUploadOptions { private String include = null; - /* - * - */ + + /** + * setInclude method. + */ public void setInclude(String include) { this.include = include; } - + + /** + * getInclude method. + * + * @return String + */ public String getInclude() { return this.include; } } /** - * Retrieves the current metadata of a ChunkedUpload. + * Retrieves the current metadata of a ChunkedUpload.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param chunkedUploadId (required) @@ -1885,7 +2120,7 @@ public ChunkedUploadResponse getChunkedUpload(String accountId, String chunkedUp } /** - * Retrieves the current metadata of a ChunkedUpload. + * Retrieves the current metadata of a ChunkedUpload.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param chunkedUploadId (required) @@ -1896,71 +2131,182 @@ public ChunkedUploadResponse getChunkedUpload(String accountId, String chunkedUp public ChunkedUploadResponse getChunkedUpload(String accountId, String chunkedUploadId, EnvelopesApi.GetChunkedUploadOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getChunkedUpload"); - } + } - // verify the required parameter 'chunkedUploadId' is set - if (chunkedUploadId == null) { + // verify the required parameter 'chunkedUploadId' is set + if (chunkedUploadId == null) { throw new ApiException(400, "Missing the required parameter 'chunkedUploadId' when calling getChunkedUpload"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/chunked_uploads/{chunkedUploadId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/chunked_uploads/{chunkedUploadId}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "chunkedUploadId" + "\\}", apiClient.escapeString(chunkedUploadId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "include", options.include)); + localVarQueryParams.addAll(apiClient.parameterToPair("include", options.include)); } + + - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } + /// + /// Gets comment transcript for envelope and user + /// + + /** + * GetCommentsTranscriptOptions Class. + * + **/ + public class GetCommentsTranscriptOptions + { + private String encoding = null; + + /** + * setEncoding method. + */ + public void setEncoding(String encoding) { + this.encoding = encoding; + } + + /** + * getEncoding method. + * + * @return String + */ + public String getEncoding() { + return this.encoding; + } + } + + /** + * Gets comment transcript for envelope and user. + * + * @param accountId The external account number (int) or account ID Guid. (required) + * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) + * @return byte[] + */ + public byte[] getCommentsTranscript(String accountId, String envelopeId) throws ApiException { + return getCommentsTranscript(accountId, envelopeId, null); + } + + /** + * Gets comment transcript for envelope and user. + * + * @param accountId The external account number (int) or account ID Guid. (required) + * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) + * @param options for modifying the method behavior. + * @return byte[] + * @throws ApiException if fails to make API call + */ + public byte[] getCommentsTranscript(String accountId, String envelopeId, EnvelopesApi.GetCommentsTranscriptOptions options) throws ApiException { + Object localVarPostBody = "{}"; + + // verify the required parameter 'accountId' is set + if (accountId == null) { + throw new ApiException(400, "Missing the required parameter 'accountId' when calling getCommentsTranscript"); + } - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { + throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling getCommentsTranscript"); + } + + // create path and map variables + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/comments/transcript" + .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) + .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + // query params + java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); + java.util.Map localVarHeaderParams = new java.util.HashMap(); + java.util.Map localVarFormParams = new java.util.HashMap(); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("encoding", options.encoding)); + } + + + + + + final String[] localVarAccepts = { + "application/pdf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Reserved: Gets the Electronic Record and Signature Disclosure associated with the account. Reserved: Retrieves the Electronic Record and Signature Disclosure, with HTML formatting, associated with the account. /// + + /** + * GetConsumerDisclosureOptions Class. + * + **/ public class GetConsumerDisclosureOptions { private String langCode2 = null; - /* - * - */ + + /** + * setLangCode2 method. + */ public void setLangCode2(String langCode2) { this.langCode2 = langCode2; } - + + /** + * getLangCode2 method. + * + * @return String + */ public String getLangCode2() { return this.langCode2; } } /** - * Reserved: Gets the Electronic Record and Signature Disclosure associated with the account. + * Reserved: Gets the Electronic Record and Signature Disclosure associated with the account.. * Reserved: Retrieves the Electronic Record and Signature Disclosure, with HTML formatting, associated with the account. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) * @param recipientId The ID of the recipient being accessed. (required) - * @param langCode The simple type enumeration the language used in the response. The supported languages, with the language value shown in parenthesis, are:Arabic (ar), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk) and Vietnamese (vi). Additionally, the value can be set to �browser� to automatically detect the browser language being used by the viewer and display the disclosure in that language. (required) + * @param langCode The simple type enumeration the language used in the response. The supported languages, with the language value shown in parenthesis, are:Arabic (ar), Armenian (hy), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk) and Vietnamese (vi). Additionally, the value can be set to �browser� to automatically detect the browser language being used by the viewer and display the disclosure in that language. (required) * @return ConsumerDisclosure */ public ConsumerDisclosure getConsumerDisclosure(String accountId, String envelopeId, String recipientId, String langCode) throws ApiException { @@ -1968,12 +2314,12 @@ public ConsumerDisclosure getConsumerDisclosure(String accountId, String envelop } /** - * Reserved: Gets the Electronic Record and Signature Disclosure associated with the account. + * Reserved: Gets the Electronic Record and Signature Disclosure associated with the account.. * Reserved: Retrieves the Electronic Record and Signature Disclosure, with HTML formatting, associated with the account. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) * @param recipientId The ID of the recipient being accessed. (required) - * @param langCode The simple type enumeration the language used in the response. The supported languages, with the language value shown in parenthesis, are:Arabic (ar), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk) and Vietnamese (vi). Additionally, the value can be set to �browser� to automatically detect the browser language being used by the viewer and display the disclosure in that language. (required) + * @param langCode The simple type enumeration the language used in the response. The supported languages, with the language value shown in parenthesis, are:Arabic (ar), Armenian (hy), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk) and Vietnamese (vi). Additionally, the value can be set to �browser� to automatically detect the browser language being used by the viewer and display the disclosure in that language. (required) * @param options for modifying the method behavior. * @return ConsumerDisclosure * @throws ApiException if fails to make API call @@ -1981,28 +2327,28 @@ public ConsumerDisclosure getConsumerDisclosure(String accountId, String envelop public ConsumerDisclosure getConsumerDisclosure(String accountId, String envelopeId, String recipientId, String langCode, EnvelopesApi.GetConsumerDisclosureOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getConsumerDisclosure"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling getConsumerDisclosure"); - } + } - // verify the required parameter 'recipientId' is set - if (recipientId == null) { + // verify the required parameter 'recipientId' is set + if (recipientId == null) { throw new ApiException(400, "Missing the required parameter 'recipientId' when calling getConsumerDisclosure"); - } + } - // verify the required parameter 'langCode' is set - if (langCode == null) { + // verify the required parameter 'langCode' is set + if (langCode == null) { throw new ApiException(400, "Missing the required parameter 'langCode' when calling getConsumerDisclosure"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/consumer_disclosure/{langCode}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/consumer_disclosure/{langCode}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())) .replaceAll("\\{" + "recipientId" + "\\}", apiClient.escapeString(recipientId.toString())) @@ -2010,49 +2356,64 @@ public ConsumerDisclosure getConsumerDisclosure(String accountId, String envelop // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "langCode", options.langCode2)); + localVarQueryParams.addAll(apiClient.parameterToPair("langCode", options.langCode2)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Gets the Electronic Record and Signature Disclosure associated with the account. Retrieves the Electronic Record and Signature Disclosure, with html formatting, associated with the account. You can use an optional query string to set the language for the disclosure. /// + + /** + * GetConsumerDisclosureDefaultOptions Class. + * + **/ public class GetConsumerDisclosureDefaultOptions { private String langCode = null; - /* - * - */ + + /** + * setLangCode method. + */ public void setLangCode(String langCode) { this.langCode = langCode; } - + + /** + * getLangCode method. + * + * @return String + */ public String getLangCode() { return this.langCode; } } /** - * Gets the Electronic Record and Signature Disclosure associated with the account. + * Gets the Electronic Record and Signature Disclosure associated with the account.. * Retrieves the Electronic Record and Signature Disclosure, with html formatting, associated with the account. You can use an optional query string to set the language for the disclosure. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -2064,7 +2425,7 @@ public ConsumerDisclosure getConsumerDisclosureDefault(String accountId, String } /** - * Gets the Electronic Record and Signature Disclosure associated with the account. + * Gets the Electronic Record and Signature Disclosure associated with the account.. * Retrieves the Electronic Record and Signature Disclosure, with html formatting, associated with the account. You can use an optional query string to set the language for the disclosure. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -2076,55 +2437,64 @@ public ConsumerDisclosure getConsumerDisclosureDefault(String accountId, String public ConsumerDisclosure getConsumerDisclosureDefault(String accountId, String envelopeId, String recipientId, EnvelopesApi.GetConsumerDisclosureDefaultOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getConsumerDisclosureDefault"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling getConsumerDisclosureDefault"); - } + } - // verify the required parameter 'recipientId' is set - if (recipientId == null) { + // verify the required parameter 'recipientId' is set + if (recipientId == null) { throw new ApiException(400, "Missing the required parameter 'recipientId' when calling getConsumerDisclosureDefault"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/consumer_disclosure".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/consumer_disclosure" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())) .replaceAll("\\{" + "recipientId" + "\\}", apiClient.escapeString(recipientId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "langCode", options.langCode)); + localVarQueryParams.addAll(apiClient.parameterToPair("langCode", options.langCode)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Gets a document from an envelope. Retrieves the specified document from the envelope. If the account has the Highlight Data Changes feature enabled, there is an option to request that any changes in the envelope be highlighted. You can also use this method to retrieve a PDF containing the combined content of all documents and the certificate. If the account has the Highlight Data Changes feature enabled, there is an option to request that any changes in the envelope be highlighted. To retrieve the combined content replace the `{documentId}` parameter in the endpoint with `combined`. /accounts/{accountId}/envelopes/{envelopeId}/documents/combined /// + + /** + * GetDocumentOptions Class. + * + **/ public class GetDocumentOptions { private String certificate = null; @@ -2134,80 +2504,122 @@ public class GetDocumentOptions private String recipientId = null; private String showChanges = null; private String watermark = null; - /* - * When set to **false**, the envelope signing certificate is removed from the download. - */ + + /** + * setCertificate method. + */ public void setCertificate(String certificate) { this.certificate = certificate; } - + + /** + * getCertificate method. + * + * @return String + */ public String getCertificate() { return this.certificate; } - /* - * - */ + + /** + * setEncoding method. + */ public void setEncoding(String encoding) { this.encoding = encoding; } - + + /** + * getEncoding method. + * + * @return String + */ public String getEncoding() { return this.encoding; } - /* - * When set to **true**, the PDF bytes returned in the response are encrypted for all the key managers configured on your DocuSign account. The documents can be decrypted with the KeyManager Decrypt Document API. - */ + + /** + * setEncrypt method. + */ public void setEncrypt(String encrypt) { this.encrypt = encrypt; } - + + /** + * getEncrypt method. + * + * @return String + */ public String getEncrypt() { return this.encrypt; } - /* - * Specifies the language for the Certificate of Completion in the response. The supported languages, with the language value shown in parenthesis, are: Chinese Simplified (zh_CN), , Chinese Traditional (zh_TW), Dutch (nl), English US (en), French (fr), German (de), Italian (it), Japanese (ja), Korean (ko), Portuguese (pt), Portuguese (Brazil) (pt_BR), Russian (ru), Spanish (es). - */ + + /** + * setLanguage method. + */ public void setLanguage(String language) { this.language = language; } - + + /** + * getLanguage method. + * + * @return String + */ public String getLanguage() { return this.language; } - /* - * - */ + + /** + * setRecipientId method. + */ public void setRecipientId(String recipientId) { this.recipientId = recipientId; } - + + /** + * getRecipientId method. + * + * @return String + */ public String getRecipientId() { return this.recipientId; } - /* - * When set to **true**, any changed fields for the returned PDF are highlighted in yellow and optional signatures or initials outlined in red. - */ + + /** + * setShowChanges method. + */ public void setShowChanges(String showChanges) { this.showChanges = showChanges; } - + + /** + * getShowChanges method. + * + * @return String + */ public String getShowChanges() { return this.showChanges; } - /* - * When set to **true**, the account has the watermark feature enabled, and the envelope is not complete, the watermark for the account is added to the PDF documents. This option can remove the watermark. - */ + + /** + * setWatermark method. + */ public void setWatermark(String watermark) { this.watermark = watermark; } - + + /** + * getWatermark method. + * + * @return String + */ public String getWatermark() { return this.watermark; } } /** - * Gets a document from an envelope. + * Gets a document from an envelope.. * Retrieves the specified document from the envelope. If the account has the Highlight Data Changes feature enabled, there is an option to request that any changes in the envelope be highlighted. You can also use this method to retrieve a PDF containing the combined content of all documents and the certificate. If the account has the Highlight Data Changes feature enabled, there is an option to request that any changes in the envelope be highlighted. To retrieve the combined content replace the `{documentId}` parameter in the endpoint with `combined`. /accounts/{accountId}/envelopes/{envelopeId}/documents/combined * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -2219,7 +2631,7 @@ public byte[] getDocument(String accountId, String envelopeId, String documentId } /** - * Gets a document from an envelope. + * Gets a document from an envelope.. * Retrieves the specified document from the envelope. If the account has the Highlight Data Changes feature enabled, there is an option to request that any changes in the envelope be highlighted. You can also use this method to retrieve a PDF containing the combined content of all documents and the certificate. If the account has the Highlight Data Changes feature enabled, there is an option to request that any changes in the envelope be highlighted. To retrieve the combined content replace the `{documentId}` parameter in the endpoint with `combined`. /accounts/{accountId}/envelopes/{envelopeId}/documents/combined * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -2231,111 +2643,150 @@ public byte[] getDocument(String accountId, String envelopeId, String documentId public byte[] getDocument(String accountId, String envelopeId, String documentId, EnvelopesApi.GetDocumentOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getDocument"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling getDocument"); - } + } - // verify the required parameter 'documentId' is set - if (documentId == null) { + // verify the required parameter 'documentId' is set + if (documentId == null) { throw new ApiException(400, "Missing the required parameter 'documentId' when calling getDocument"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())) .replaceAll("\\{" + "documentId" + "\\}", apiClient.escapeString(documentId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "certificate", options.certificate)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "encoding", options.encoding)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "encrypt", options.encrypt)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "language", options.language)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "recipient_id", options.recipientId)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "show_changes", options.showChanges)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "watermark", options.watermark)); + localVarQueryParams.addAll(apiClient.parameterToPair("certificate", options.certificate)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("encoding", options.encoding)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("encrypt", options.encrypt)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("language", options.language)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("recipient_id", options.recipientId)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("show_changes", options.showChanges)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("watermark", options.watermark)); } + - - final String[] localVarAccepts = { - "application/pdf" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/pdf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Gets a page image from an envelope for display. Retrieves a page image for display from the specified envelope. /// + + /** + * GetDocumentPageImageOptions Class. + * + **/ public class GetDocumentPageImageOptions { private String dpi = null; private String maxHeight = null; private String maxWidth = null; private String showChanges = null; - /* - * Sets the dpi for the image. - */ + + /** + * setDpi method. + */ public void setDpi(String dpi) { this.dpi = dpi; } - + + /** + * getDpi method. + * + * @return String + */ public String getDpi() { return this.dpi; } - /* - * Sets the maximum height for the page image in pixels. The dpi is recalculated based on this setting. - */ + + /** + * setMaxHeight method. + */ public void setMaxHeight(String maxHeight) { this.maxHeight = maxHeight; } - + + /** + * getMaxHeight method. + * + * @return String + */ public String getMaxHeight() { return this.maxHeight; } - /* - * Sets the maximum width for the page image in pixels. The dpi is recalculated based on this setting. - */ + + /** + * setMaxWidth method. + */ public void setMaxWidth(String maxWidth) { this.maxWidth = maxWidth; } - + + /** + * getMaxWidth method. + * + * @return String + */ public String getMaxWidth() { return this.maxWidth; } - /* - * - */ + + /** + * setShowChanges method. + */ public void setShowChanges(String showChanges) { this.showChanges = showChanges; } - + + /** + * getShowChanges method. + * + * @return String + */ public String getShowChanges() { return this.showChanges; } } /** - * Gets a page image from an envelope for display. + * Gets a page image from an envelope for display.. * Retrieves a page image for display from the specified envelope. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -2348,7 +2799,7 @@ public byte[] getDocumentPageImage(String accountId, String envelopeId, String d } /** - * Gets a page image from an envelope for display. + * Gets a page image from an envelope for display.. * Retrieves a page image for display from the specified envelope. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -2361,28 +2812,28 @@ public byte[] getDocumentPageImage(String accountId, String envelopeId, String d public byte[] getDocumentPageImage(String accountId, String envelopeId, String documentId, String pageNumber, EnvelopesApi.GetDocumentPageImageOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getDocumentPageImage"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling getDocumentPageImage"); - } + } - // verify the required parameter 'documentId' is set - if (documentId == null) { + // verify the required parameter 'documentId' is set + if (documentId == null) { throw new ApiException(400, "Missing the required parameter 'documentId' when calling getDocumentPageImage"); - } + } - // verify the required parameter 'pageNumber' is set - if (pageNumber == null) { + // verify the required parameter 'pageNumber' is set + if (pageNumber == null) { throw new ApiException(400, "Missing the required parameter 'pageNumber' when calling getDocumentPageImage"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/pages/{pageNumber}/page_image".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/pages/{pageNumber}/page_image" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())) .replaceAll("\\{" + "documentId" + "\\}", apiClient.escapeString(documentId.toString())) @@ -2390,52 +2841,70 @@ public byte[] getDocumentPageImage(String accountId, String envelopeId, String d // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "dpi", options.dpi)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "max_height", options.maxHeight)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "max_width", options.maxWidth)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "show_changes", options.showChanges)); + localVarQueryParams.addAll(apiClient.parameterToPair("dpi", options.dpi)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("max_height", options.maxHeight)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("max_width", options.maxWidth)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("show_changes", options.showChanges)); } + - - final String[] localVarAccepts = { - "image/png" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "image/png" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Returns tabs on the document. /// + + /** + * GetDocumentTabsOptions Class. + * + **/ public class GetDocumentTabsOptions { private String pageNumbers = null; - /* - * - */ + + /** + * setPageNumbers method. + */ public void setPageNumbers(String pageNumbers) { this.pageNumbers = pageNumbers; } - + + /** + * getPageNumbers method. + * + * @return String + */ public String getPageNumbers() { return this.pageNumbers; } } /** - * Returns tabs on the document. + * Returns tabs on the document.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -2447,7 +2916,7 @@ public Tabs getDocumentTabs(String accountId, String envelopeId, String document } /** - * Returns tabs on the document. + * Returns tabs on the document.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -2459,55 +2928,59 @@ public Tabs getDocumentTabs(String accountId, String envelopeId, String document public Tabs getDocumentTabs(String accountId, String envelopeId, String documentId, EnvelopesApi.GetDocumentTabsOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getDocumentTabs"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling getDocumentTabs"); - } + } - // verify the required parameter 'documentId' is set - if (documentId == null) { + // verify the required parameter 'documentId' is set + if (documentId == null) { throw new ApiException(400, "Missing the required parameter 'documentId' when calling getDocumentTabs"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/tabs".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/tabs" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())) .replaceAll("\\{" + "documentId" + "\\}", apiClient.escapeString(documentId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "page_numbers", options.pageNumbers)); + localVarQueryParams.addAll(apiClient.parameterToPair("page_numbers", options.pageNumbers)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Gets the email setting overrides for an envelope. + * Gets the email setting overrides for an envelope.. * Retrieves the email override settings for the specified envelope. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -2517,75 +2990,96 @@ public Tabs getDocumentTabs(String accountId, String envelopeId, String document public EmailSettings getEmailSettings(String accountId, String envelopeId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getEmailSettings"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling getEmailSettings"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/email_settings".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/email_settings" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Gets the status of a envelope. Retrieves the overall status for the specified envelope. /// + + /** + * GetEnvelopeOptions Class. + * + **/ public class GetEnvelopeOptions { private String advancedUpdate = null; private String include = null; - /* - * When true, envelope information can be added or modified. - */ + + /** + * setAdvancedUpdate method. + */ public void setAdvancedUpdate(String advancedUpdate) { this.advancedUpdate = advancedUpdate; } - + + /** + * getAdvancedUpdate method. + * + * @return String + */ public String getAdvancedUpdate() { return this.advancedUpdate; } - /* - * - */ + + /** + * setInclude method. + */ public void setInclude(String include) { this.include = include; } - + + /** + * getInclude method. + * + * @return String + */ public String getInclude() { return this.include; } } /** - * Gets the status of a envelope. + * Gets the status of a envelope.. * Retrieves the overall status for the specified envelope. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -2596,7 +3090,7 @@ public Envelope getEnvelope(String accountId, String envelopeId) throws ApiExcep } /** - * Gets the status of a envelope. + * Gets the status of a envelope.. * Retrieves the overall status for the specified envelope. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -2607,50 +3101,55 @@ public Envelope getEnvelope(String accountId, String envelopeId) throws ApiExcep public Envelope getEnvelope(String accountId, String envelopeId, EnvelopesApi.GetEnvelopeOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getEnvelope"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling getEnvelope"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "advanced_update", options.advancedUpdate)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "include", options.include)); + localVarQueryParams.addAll(apiClient.parameterToPair("advanced_update", options.advancedUpdate)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("include", options.include)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Get the Original HTML Definition used to generate the Responsive HTML for a given document. + * Get the Original HTML Definition used to generate the Responsive HTML for a given document.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -2661,53 +3160,57 @@ public Envelope getEnvelope(String accountId, String envelopeId, EnvelopesApi.Ge public DocumentHtmlDefinitionOriginals getEnvelopeDocumentHtmlDefinitions(String accountId, String envelopeId, String documentId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getEnvelopeDocumentHtmlDefinitions"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling getEnvelopeDocumentHtmlDefinitions"); - } + } - // verify the required parameter 'documentId' is set - if (documentId == null) { + // verify the required parameter 'documentId' is set + if (documentId == null) { throw new ApiException(400, "Missing the required parameter 'documentId' when calling getEnvelopeDocumentHtmlDefinitions"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/html_definitions".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/html_definitions" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())) .replaceAll("\\{" + "documentId" + "\\}", apiClient.escapeString(documentId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Get the Original HTML Definition used to generate the Responsive HTML for the envelope. + * Get the Original HTML Definition used to generate the Responsive HTML for the envelope.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -2717,47 +3220,51 @@ public DocumentHtmlDefinitionOriginals getEnvelopeDocumentHtmlDefinitions(String public DocumentHtmlDefinitionOriginals getEnvelopeHtmlDefinitions(String accountId, String envelopeId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getEnvelopeHtmlDefinitions"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling getEnvelopeHtmlDefinitions"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/html_definitions".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/html_definitions" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Returns envelope form data for an existing envelope. + * Returns envelope form data for an existing envelope.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -2767,47 +3274,51 @@ public DocumentHtmlDefinitionOriginals getEnvelopeHtmlDefinitions(String account public EnvelopeFormData getFormData(String accountId, String envelopeId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getFormData"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling getFormData"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/form_data".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/form_data" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Gets envelope lock information. + * Gets envelope lock information.. * Retrieves general information about the envelope lock. If the call is made by the locked by user and the request has the same integrator key as original, then the `X-DocuSign-Edit` header and additional lock information is included in the response. This allows users to recover a lost editing session token and the `X-DocuSign-Edit` header. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -2817,47 +3328,51 @@ public EnvelopeFormData getFormData(String accountId, String envelopeId) throws public LockInformation getLock(String accountId, String envelopeId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getLock"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling getLock"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/lock".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/lock" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Gets envelope notification information. + * Gets envelope notification information.. * Retrieves the envelope notification, reminders and expirations, information for an existing envelope. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -2867,47 +3382,51 @@ public LockInformation getLock(String accountId, String envelopeId) throws ApiEx public Notification getNotificationSettings(String accountId, String envelopeId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getNotificationSettings"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling getNotificationSettings"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/notification".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/notification" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Returns tabs on the specified page. + * Returns tabs on the specified page.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -2919,28 +3438,28 @@ public Notification getNotificationSettings(String accountId, String envelopeId) public Tabs getPageTabs(String accountId, String envelopeId, String documentId, String pageNumber) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getPageTabs"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling getPageTabs"); - } + } - // verify the required parameter 'documentId' is set - if (documentId == null) { + // verify the required parameter 'documentId' is set + if (documentId == null) { throw new ApiException(400, "Missing the required parameter 'documentId' when calling getPageTabs"); - } + } - // verify the required parameter 'pageNumber' is set - if (pageNumber == null) { + // verify the required parameter 'pageNumber' is set + if (pageNumber == null) { throw new ApiException(400, "Missing the required parameter 'pageNumber' when calling getPageTabs"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/pages/{pageNumber}/tabs".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/pages/{pageNumber}/tabs" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())) .replaceAll("\\{" + "documentId" + "\\}", apiClient.escapeString(documentId.toString())) @@ -2948,30 +3467,39 @@ public Tabs getPageTabs(String accountId, String envelopeId, String documentId, // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Returns document page image(s) based on input. /// + + /** + * GetPagesOptions Class. + * + **/ public class GetPagesOptions { private String count = null; @@ -2981,80 +3509,122 @@ public class GetPagesOptions private String nocache = null; private String showChanges = null; private String startPosition = null; - /* - * - */ + + /** + * setCount method. + */ public void setCount(String count) { this.count = count; } - + + /** + * getCount method. + * + * @return String + */ public String getCount() { return this.count; } - /* - * - */ + + /** + * setDpi method. + */ public void setDpi(String dpi) { this.dpi = dpi; } - + + /** + * getDpi method. + * + * @return String + */ public String getDpi() { return this.dpi; } - /* - * - */ + + /** + * setMaxHeight method. + */ public void setMaxHeight(String maxHeight) { this.maxHeight = maxHeight; } - + + /** + * getMaxHeight method. + * + * @return String + */ public String getMaxHeight() { return this.maxHeight; } - /* - * - */ + + /** + * setMaxWidth method. + */ public void setMaxWidth(String maxWidth) { this.maxWidth = maxWidth; } - + + /** + * getMaxWidth method. + * + * @return String + */ public String getMaxWidth() { return this.maxWidth; } - /* - * - */ + + /** + * setNocache method. + */ public void setNocache(String nocache) { this.nocache = nocache; } - + + /** + * getNocache method. + * + * @return String + */ public String getNocache() { return this.nocache; } - /* - * - */ + + /** + * setShowChanges method. + */ public void setShowChanges(String showChanges) { this.showChanges = showChanges; } - + + /** + * getShowChanges method. + * + * @return String + */ public String getShowChanges() { return this.showChanges; } - /* - * - */ + + /** + * setStartPosition method. + */ public void setStartPosition(String startPosition) { this.startPosition = startPosition; } - + + /** + * getStartPosition method. + * + * @return String + */ public String getStartPosition() { return this.startPosition; } } /** - * Returns document page image(s) based on input. + * Returns document page image(s) based on input.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -3066,7 +3636,7 @@ public PageImages getPages(String accountId, String envelopeId, String documentI } /** - * Returns document page image(s) based on input. + * Returns document page image(s) based on input.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -3078,61 +3648,71 @@ public PageImages getPages(String accountId, String envelopeId, String documentI public PageImages getPages(String accountId, String envelopeId, String documentId, EnvelopesApi.GetPagesOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getPages"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling getPages"); - } + } - // verify the required parameter 'documentId' is set - if (documentId == null) { + // verify the required parameter 'documentId' is set + if (documentId == null) { throw new ApiException(400, "Missing the required parameter 'documentId' when calling getPages"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/pages".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/pages" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())) .replaceAll("\\{" + "documentId" + "\\}", apiClient.escapeString(documentId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "count", options.count)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "dpi", options.dpi)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "max_height", options.maxHeight)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "max_width", options.maxWidth)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "nocache", options.nocache)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "show_changes", options.showChanges)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "start_position", options.startPosition)); + localVarQueryParams.addAll(apiClient.parameterToPair("count", options.count)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("dpi", options.dpi)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("max_height", options.maxHeight)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("max_width", options.maxWidth)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("nocache", options.nocache)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("show_changes", options.showChanges)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("start_position", options.startPosition)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Returns document visibility for the recipients + * Returns document visibility for the recipients. * * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -3143,70 +3723,85 @@ public PageImages getPages(String accountId, String envelopeId, String documentI public DocumentVisibilityList getRecipientDocumentVisibility(String accountId, String envelopeId, String recipientId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getRecipientDocumentVisibility"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling getRecipientDocumentVisibility"); - } + } - // verify the required parameter 'recipientId' is set - if (recipientId == null) { + // verify the required parameter 'recipientId' is set + if (recipientId == null) { throw new ApiException(400, "Missing the required parameter 'recipientId' when calling getRecipientDocumentVisibility"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/document_visibility".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/document_visibility" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())) .replaceAll("\\{" + "recipientId" + "\\}", apiClient.escapeString(recipientId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Gets the initials image for a user. Retrieves the initials image for the specified user. The image is returned in the same format as it was uploaded. In the request you can specify if the chrome (the added line and identifier around the initial image) is returned with the image. The userId specified in the endpoint must match the authenticated user's user id and the user must be a member of the account. The `signatureIdOrName` paramter accepts signature ID or signature name. DocuSign recommends you use signature ID (`signatureId`), since some names contain characters that do not properly URL encode. If you use the user name, it is likely that the name includes spaces and you might need to URL encode the name before using it in the endpoint. For example: \"Bob Smith\" to \"Bob%20Smith\" Older envelopes might only contain chromed images. If getting the non-chromed image fails, try getting the chromed image. /// + + /** + * GetRecipientInitialsImageOptions Class. + * + **/ public class GetRecipientInitialsImageOptions { private String includeChrome = null; - /* - * The added line and identifier around the initial image. Note: Older envelopes might only have chromed images. If getting the non-chromed image fails, try getting the chromed image. - */ + + /** + * setIncludeChrome method. + */ public void setIncludeChrome(String includeChrome) { this.includeChrome = includeChrome; } - + + /** + * getIncludeChrome method. + * + * @return String + */ public String getIncludeChrome() { return this.includeChrome; } } /** - * Gets the initials image for a user. + * Gets the initials image for a user.. * Retrieves the initials image for the specified user. The image is returned in the same format as it was uploaded. In the request you can specify if the chrome (the added line and identifier around the initial image) is returned with the image. The userId specified in the endpoint must match the authenticated user's user id and the user must be a member of the account. The `signatureIdOrName` paramter accepts signature ID or signature name. DocuSign recommends you use signature ID (`signatureId`), since some names contain characters that do not properly URL encode. If you use the user name, it is likely that the name includes spaces and you might need to URL encode the name before using it in the endpoint. For example: \"Bob Smith\" to \"Bob%20Smith\" Older envelopes might only contain chromed images. If getting the non-chromed image fails, try getting the chromed image. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -3218,7 +3813,7 @@ public byte[] getRecipientInitialsImage(String accountId, String envelopeId, Str } /** - * Gets the initials image for a user. + * Gets the initials image for a user.. * Retrieves the initials image for the specified user. The image is returned in the same format as it was uploaded. In the request you can specify if the chrome (the added line and identifier around the initial image) is returned with the image. The userId specified in the endpoint must match the authenticated user's user id and the user must be a member of the account. The `signatureIdOrName` paramter accepts signature ID or signature name. DocuSign recommends you use signature ID (`signatureId`), since some names contain characters that do not properly URL encode. If you use the user name, it is likely that the name includes spaces and you might need to URL encode the name before using it in the endpoint. For example: \"Bob Smith\" to \"Bob%20Smith\" Older envelopes might only contain chromed images. If getting the non-chromed image fails, try getting the chromed image. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -3230,55 +3825,59 @@ public byte[] getRecipientInitialsImage(String accountId, String envelopeId, Str public byte[] getRecipientInitialsImage(String accountId, String envelopeId, String recipientId, EnvelopesApi.GetRecipientInitialsImageOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getRecipientInitialsImage"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling getRecipientInitialsImage"); - } + } - // verify the required parameter 'recipientId' is set - if (recipientId == null) { + // verify the required parameter 'recipientId' is set + if (recipientId == null) { throw new ApiException(400, "Missing the required parameter 'recipientId' when calling getRecipientInitialsImage"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/initials_image".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/initials_image" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())) .replaceAll("\\{" + "recipientId" + "\\}", apiClient.escapeString(recipientId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "include_chrome", options.includeChrome)); + localVarQueryParams.addAll(apiClient.parameterToPair("include_chrome", options.includeChrome)); } + - - final String[] localVarAccepts = { - "image/gif" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "image/gif" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Gets signature information for a signer or sign-in-person recipient. + * Gets signature information for a signer or sign-in-person recipient.. * Retrieves signature information for a signer or sign-in-person recipient. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -3289,70 +3888,85 @@ public byte[] getRecipientInitialsImage(String accountId, String envelopeId, Str public UserSignature getRecipientSignature(String accountId, String envelopeId, String recipientId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getRecipientSignature"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling getRecipientSignature"); - } + } - // verify the required parameter 'recipientId' is set - if (recipientId == null) { + // verify the required parameter 'recipientId' is set + if (recipientId == null) { throw new ApiException(400, "Missing the required parameter 'recipientId' when calling getRecipientSignature"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/signature".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/signature" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())) .replaceAll("\\{" + "recipientId" + "\\}", apiClient.escapeString(recipientId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Retrieve signature image information for a signer/sign-in-person recipient. Retrieves the specified user signature image. The image is returned in the same format as uploaded. In the request you can specify if the chrome (the added line and identifier around the initial image) is returned with the image. The userId specified in the endpoint must match the authenticated user's user ID and the user must be a member of the account. The `signatureIdOrName` parameter accepts signature ID or signature name. DocuSign recommends you use signature ID (`signatureId`), since some names contain characters that don't properly URL encode. If you use the user name, it is likely that the name includes spaces and you might need to URL encode the name before using it in the endpoint. For example: \"Bob Smith\" to \"Bob%20Smith\" Older envelopes might only have chromed images. If getting the non-chromed image fails, try getting the chromed image. /// + + /** + * GetRecipientSignatureImageOptions Class. + * + **/ public class GetRecipientSignatureImageOptions { private String includeChrome = null; - /* - * When set to **true**, indicates the chromed version of the signature image should be retrieved. - */ + + /** + * setIncludeChrome method. + */ public void setIncludeChrome(String includeChrome) { this.includeChrome = includeChrome; } - + + /** + * getIncludeChrome method. + * + * @return String + */ public String getIncludeChrome() { return this.includeChrome; } } /** - * Retrieve signature image information for a signer/sign-in-person recipient. + * Retrieve signature image information for a signer/sign-in-person recipient.. * Retrieves the specified user signature image. The image is returned in the same format as uploaded. In the request you can specify if the chrome (the added line and identifier around the initial image) is returned with the image. The userId specified in the endpoint must match the authenticated user's user ID and the user must be a member of the account. The `signatureIdOrName` parameter accepts signature ID or signature name. DocuSign recommends you use signature ID (`signatureId`), since some names contain characters that don't properly URL encode. If you use the user name, it is likely that the name includes spaces and you might need to URL encode the name before using it in the endpoint. For example: \"Bob Smith\" to \"Bob%20Smith\" Older envelopes might only have chromed images. If getting the non-chromed image fails, try getting the chromed image. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -3364,7 +3978,7 @@ public byte[] getRecipientSignatureImage(String accountId, String envelopeId, St } /** - * Retrieve signature image information for a signer/sign-in-person recipient. + * Retrieve signature image information for a signer/sign-in-person recipient.. * Retrieves the specified user signature image. The image is returned in the same format as uploaded. In the request you can specify if the chrome (the added line and identifier around the initial image) is returned with the image. The userId specified in the endpoint must match the authenticated user's user ID and the user must be a member of the account. The `signatureIdOrName` parameter accepts signature ID or signature name. DocuSign recommends you use signature ID (`signatureId`), since some names contain characters that don't properly URL encode. If you use the user name, it is likely that the name includes spaces and you might need to URL encode the name before using it in the endpoint. For example: \"Bob Smith\" to \"Bob%20Smith\" Older envelopes might only have chromed images. If getting the non-chromed image fails, try getting the chromed image. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -3376,55 +3990,59 @@ public byte[] getRecipientSignatureImage(String accountId, String envelopeId, St public byte[] getRecipientSignatureImage(String accountId, String envelopeId, String recipientId, EnvelopesApi.GetRecipientSignatureImageOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getRecipientSignatureImage"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling getRecipientSignatureImage"); - } + } - // verify the required parameter 'recipientId' is set - if (recipientId == null) { + // verify the required parameter 'recipientId' is set + if (recipientId == null) { throw new ApiException(400, "Missing the required parameter 'recipientId' when calling getRecipientSignatureImage"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/signature_image".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/signature_image" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())) .replaceAll("\\{" + "recipientId" + "\\}", apiClient.escapeString(recipientId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "include_chrome", options.includeChrome)); + localVarQueryParams.addAll(apiClient.parameterToPair("include_chrome", options.includeChrome)); } + - - final String[] localVarAccepts = { - "image/gif" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "image/gif" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Returns document visibility for the recipients + * Returns document visibility for the recipients. * * @param accountId The external account number (int) or account ID Guid. (required) * @param templateId The ID of the template being accessed. (required) @@ -3435,53 +4053,57 @@ public byte[] getRecipientSignatureImage(String accountId, String envelopeId, St public DocumentVisibilityList getTemplateRecipientDocumentVisibility(String accountId, String templateId, String recipientId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getTemplateRecipientDocumentVisibility"); - } + } - // verify the required parameter 'templateId' is set - if (templateId == null) { + // verify the required parameter 'templateId' is set + if (templateId == null) { throw new ApiException(400, "Missing the required parameter 'templateId' when calling getTemplateRecipientDocumentVisibility"); - } + } - // verify the required parameter 'recipientId' is set - if (recipientId == null) { + // verify the required parameter 'recipientId' is set + if (recipientId == null) { throw new ApiException(400, "Missing the required parameter 'recipientId' when calling getTemplateRecipientDocumentVisibility"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/recipients/{recipientId}/document_visibility".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/recipients/{recipientId}/document_visibility" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "templateId" + "\\}", apiClient.escapeString(templateId.toString())) .replaceAll("\\{" + "recipientId" + "\\}", apiClient.escapeString(recipientId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Gets the envelope audit events for an envelope. + * Gets the envelope audit events for an envelope.. * Gets the envelope audit events for the specified envelope. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -3491,47 +4113,51 @@ public DocumentVisibilityList getTemplateRecipientDocumentVisibility(String acco public EnvelopeAuditEventResponse listAuditEvents(String accountId, String envelopeId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling listAuditEvents"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling listAuditEvents"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/audit_events".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/audit_events" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Gets the custom field information for the specified envelope. + * Gets the custom field information for the specified envelope.. * Retrieves the custom field information for the specified envelope. You can use these fields in the envelopes for your account to record information about the envelope, help search for envelopes, and track information. The envelope custom fields are shown in the Envelope Settings section when a user is creating an envelope in the DocuSign member console. The envelope custom fields are not seen by the envelope recipients. There are two types of envelope custom fields, text, and list. A text custom field lets the sender enter the value for the field. With a list custom field, the sender selects the value of the field from a pre-made list. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -3541,47 +4167,51 @@ public EnvelopeAuditEventResponse listAuditEvents(String accountId, String envel public CustomFieldsEnvelope listCustomFields(String accountId, String envelopeId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling listCustomFields"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling listCustomFields"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/custom_fields".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/custom_fields" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Gets the custom document fields from an existing envelope document. + * Gets the custom document fields from an existing envelope document.. * Retrieves the custom document field information from an existing envelope document. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -3592,142 +4222,215 @@ public CustomFieldsEnvelope listCustomFields(String accountId, String envelopeId public DocumentFieldsInformation listDocumentFields(String accountId, String envelopeId, String documentId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling listDocumentFields"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling listDocumentFields"); - } + } - // verify the required parameter 'documentId' is set - if (documentId == null) { + // verify the required parameter 'documentId' is set + if (documentId == null) { throw new ApiException(400, "Missing the required parameter 'documentId' when calling listDocumentFields"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/fields".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/fields" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())) .replaceAll("\\{" + "documentId" + "\\}", apiClient.escapeString(documentId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } + /// + /// Gets a list of envelope documents. Retrieves a list of documents associated with the specified envelope. + /// + + /** + * ListDocumentsOptions Class. + * + **/ + public class ListDocumentsOptions + { + private String includeDocumentSize = null; + + /** + * setIncludeDocumentSize method. + */ + public void setIncludeDocumentSize(String includeDocumentSize) { + this.includeDocumentSize = includeDocumentSize; + } + + /** + * getIncludeDocumentSize method. + * + * @return String + */ + public String getIncludeDocumentSize() { + return this.includeDocumentSize; + } + } - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + /** + * Gets a list of envelope documents.. + * Retrieves a list of documents associated with the specified envelope. + * @param accountId The external account number (int) or account ID Guid. (required) + * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) + * @return EnvelopeDocumentsResult + */ + public EnvelopeDocumentsResult listDocuments(String accountId, String envelopeId) throws ApiException { + return listDocuments(accountId, envelopeId, null); + } /** - * Gets a list of envelope documents. + * Gets a list of envelope documents.. * Retrieves a list of documents associated with the specified envelope. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) + * @param options for modifying the method behavior. * @return EnvelopeDocumentsResult * @throws ApiException if fails to make API call */ - public EnvelopeDocumentsResult listDocuments(String accountId, String envelopeId) throws ApiException { + public EnvelopeDocumentsResult listDocuments(String accountId, String envelopeId, EnvelopesApi.ListDocumentsOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling listDocuments"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling listDocuments"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/documents".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/documents" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("include_document_size", options.includeDocumentSize)); + } + - - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Gets the status of recipients for an envelope. Retrieves the status of all recipients in a single envelope and identifies the current recipient in the routing list. The `currentRoutingOrder` property of the response contains the `routingOrder` value of the current recipient indicating that the envelope has been sent to the recipient, but the recipient has not completed their actions. /// + + /** + * ListRecipientsOptions Class. + * + **/ public class ListRecipientsOptions { private String includeAnchorTabLocations = null; private String includeExtended = null; private String includeTabs = null; - /* - * When set to **true** and `include_tabs` is set to **true**, all tabs with anchor tab properties are included in the response. - */ + + /** + * setIncludeAnchorTabLocations method. + */ public void setIncludeAnchorTabLocations(String includeAnchorTabLocations) { this.includeAnchorTabLocations = includeAnchorTabLocations; } - + + /** + * getIncludeAnchorTabLocations method. + * + * @return String + */ public String getIncludeAnchorTabLocations() { return this.includeAnchorTabLocations; } - /* - * When set to **true**, the extended properties are included in the response. - */ + + /** + * setIncludeExtended method. + */ public void setIncludeExtended(String includeExtended) { this.includeExtended = includeExtended; } - + + /** + * getIncludeExtended method. + * + * @return String + */ public String getIncludeExtended() { return this.includeExtended; } - /* - * When set to **true**, the tab information associated with the recipient is included in the response. - */ + + /** + * setIncludeTabs method. + */ public void setIncludeTabs(String includeTabs) { this.includeTabs = includeTabs; } - + + /** + * getIncludeTabs method. + * + * @return String + */ public String getIncludeTabs() { return this.includeTabs; } } /** - * Gets the status of recipients for an envelope. + * Gets the status of recipients for an envelope.. * Retrieves the status of all recipients in a single envelope and identifies the current recipient in the routing list. The `currentRoutingOrder` property of the response contains the `routingOrder` value of the current recipient indicating that the envelope has been sent to the recipient, but the recipient has not completed their actions. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -3738,7 +4441,7 @@ public Recipients listRecipients(String accountId, String envelopeId) throws Api } /** - * Gets the status of recipients for an envelope. + * Gets the status of recipients for an envelope.. * Retrieves the status of all recipients in a single envelope and identifies the current recipient in the routing list. The `currentRoutingOrder` property of the response contains the `routingOrder` value of the current recipient indicating that the envelope has been sent to the recipient, but the recipient has not completed their actions. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -3749,51 +4452,62 @@ public Recipients listRecipients(String accountId, String envelopeId) throws Api public Recipients listRecipients(String accountId, String envelopeId, EnvelopesApi.ListRecipientsOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling listRecipients"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling listRecipients"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/recipients".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/recipients" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "include_anchor_tab_locations", options.includeAnchorTabLocations)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "include_extended", options.includeExtended)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "include_tabs", options.includeTabs)); + localVarQueryParams.addAll(apiClient.parameterToPair("include_anchor_tab_locations", options.includeAnchorTabLocations)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("include_extended", options.includeExtended)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("include_tabs", options.includeTabs)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Gets the envelope status for the specified envelopes. Retrieves the envelope status for the specified envelopes. /// + + /** + * ListStatusOptions Class. + * + **/ public class ListStatusOptions { private String acStatus = null; @@ -3808,130 +4522,202 @@ public class ListStatusOptions private String toDate = null; private String transactionIds = null; private String userName = null; - /* - * - */ + + /** + * setAcStatus method. + */ public void setAcStatus(String acStatus) { this.acStatus = acStatus; } - + + /** + * getAcStatus method. + * + * @return String + */ public String getAcStatus() { return this.acStatus; } - /* - * - */ + + /** + * setBlock method. + */ public void setBlock(String block) { this.block = block; } - + + /** + * getBlock method. + * + * @return String + */ public String getBlock() { return this.block; } - /* - * - */ + + /** + * setCount method. + */ public void setCount(String count) { this.count = count; } - + + /** + * getCount method. + * + * @return String + */ public String getCount() { return this.count; } - /* - * - */ + + /** + * setEmail method. + */ public void setEmail(String email) { this.email = email; } - + + /** + * getEmail method. + * + * @return String + */ public String getEmail() { return this.email; } - /* - * - */ + + /** + * setEnvelopeIds method. + */ public void setEnvelopeIds(String envelopeIds) { this.envelopeIds = envelopeIds; } - + + /** + * getEnvelopeIds method. + * + * @return String + */ public String getEnvelopeIds() { return this.envelopeIds; } - /* - * - */ + + /** + * setFromDate method. + */ public void setFromDate(String fromDate) { this.fromDate = fromDate; } - + + /** + * getFromDate method. + * + * @return String + */ public String getFromDate() { return this.fromDate; } - /* - * - */ + + /** + * setFromToStatus method. + */ public void setFromToStatus(String fromToStatus) { this.fromToStatus = fromToStatus; } - + + /** + * getFromToStatus method. + * + * @return String + */ public String getFromToStatus() { return this.fromToStatus; } - /* - * - */ + + /** + * setStartPosition method. + */ public void setStartPosition(String startPosition) { this.startPosition = startPosition; } - + + /** + * getStartPosition method. + * + * @return String + */ public String getStartPosition() { return this.startPosition; } - /* - * - */ + + /** + * setStatus method. + */ public void setStatus(String status) { this.status = status; } - + + /** + * getStatus method. + * + * @return String + */ public String getStatus() { return this.status; } - /* - * - */ + + /** + * setToDate method. + */ public void setToDate(String toDate) { this.toDate = toDate; } - + + /** + * getToDate method. + * + * @return String + */ public String getToDate() { return this.toDate; } - /* - * - */ + + /** + * setTransactionIds method. + */ public void setTransactionIds(String transactionIds) { this.transactionIds = transactionIds; } - + + /** + * getTransactionIds method. + * + * @return String + */ public String getTransactionIds() { return this.transactionIds; } - /* - * - */ + + /** + * setUserName method. + */ public void setUserName(String userName) { this.userName = userName; } - + + /** + * getUserName method. + * + * @return String + */ public String getUserName() { return this.userName; } } /** - * Gets the envelope status for the specified envelopes. + * Gets the envelope status for the specified envelopes.. * Retrieves the envelope status for the specified envelopes. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeIdsRequest (optional) @@ -3942,7 +4728,7 @@ public EnvelopesInformation listStatus(String accountId, EnvelopeIdsRequest enve } /** - * Gets the envelope status for the specified envelopes. + * Gets the envelope status for the specified envelopes.. * Retrieves the envelope status for the specified envelopes. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeIdsRequest (optional) @@ -3953,54 +4739,74 @@ public EnvelopesInformation listStatus(String accountId, EnvelopeIdsRequest enve public EnvelopesInformation listStatus(String accountId, EnvelopeIdsRequest envelopeIdsRequest, EnvelopesApi.ListStatusOptions options) throws ApiException { Object localVarPostBody = envelopeIdsRequest; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling listStatus"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/status".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/status" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "ac_status", options.acStatus)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "block", options.block)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "count", options.count)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "email", options.email)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "envelope_ids", options.envelopeIds)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "from_date", options.fromDate)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "from_to_status", options.fromToStatus)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "start_position", options.startPosition)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "status", options.status)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "to_date", options.toDate)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "transaction_ids", options.transactionIds)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "user_name", options.userName)); + localVarQueryParams.addAll(apiClient.parameterToPair("ac_status", options.acStatus)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("block", options.block)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("count", options.count)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("email", options.email)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("envelope_ids", options.envelopeIds)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("from_date", options.fromDate)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("from_to_status", options.fromToStatus)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("start_position", options.startPosition)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("status", options.status)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("to_date", options.toDate)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("transaction_ids", options.transactionIds)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("user_name", options.userName)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Gets status changes for one or more envelopes. Retrieves envelope status changes for all envelopes. You can modify the information returned by adding query strings to limit the request to check between certain dates and times, or for certain envelopes, or for certain status codes. It is recommended that you use one or more of the query strings in order to limit the size of the response. ### Important: Unless you are requesting the status for specific envelopes (using the `envelopeIds` or `transactionIds` properties), you must add a set the `from_date` property in the request. Getting envelope status using `transactionIds` is useful for offline signing situations where it can be used determine if an envelope was created or not, for the cases where a network connection was lost, before the envelope status could be returned. ### Request Envelope Status Notes ### The REST API GET /envelopes call uses certain filters to find results. In some cases requests are check for \"any status change\" instead of the just the single status requested. In these cases, more envelopes might be returned by the request than otherwise would be. For example, for a request with the begin date is set to Jan 1st, an end date set to Jan 7th and the status qualifier (`from_to_status`) set to `Delivered` &mdash; the response set might contain envelopes that were created during that time period, but not delivered during the time period. To avoid unnecessary database queries, the DocuSign system checks requests to ensure that the added filters will not result in a zero-size response before acting on the request. The following table shows the valid envelope statuses (in the Valid Current Statuses column) for the status qualifiers in the request. If the status and status qualifiers in the API request do not contain any of the values shown in the valid current statuses column, then an empty list is returned. For example, a request with a status qualifier (from_to_status) of `Delivered` and a status of \"`Created`,`Sent`\", DocuSign will always return an empty list. This is because the request essentially translates to: find the envelopes that were delivered between the begin and end dates that have a current status of `Created` or `Sent`, and since an envelope that has been delivered can never have a status of `Created` or `Sent`, a zero-size response would be generated. In this case, DocuSign does not run the request, but just returns the empty list. Client applications should check that the statuses they are requesting make sense for a given status qualifier. /// + + /** + * ListStatusChangesOptions Class. + * + **/ public class ListStatusChangesOptions { private String acStatus = null; @@ -4016,140 +4822,218 @@ public class ListStatusChangesOptions private String toDate = null; private String transactionIds = null; private String userName = null; - /* - * Specifies the Authoritative Copy Status for the envelopes. The possible values are: Unknown, Original, Transferred, AuthoritativeCopy, AuthoritativeCopyExportPending, AuthoritativeCopyExported, DepositPending, Deposited, DepositedEO, or DepositFailed. - */ + + /** + * setAcStatus method. + */ public void setAcStatus(String acStatus) { this.acStatus = acStatus; } - + + /** + * getAcStatus method. + * + * @return String + */ public String getAcStatus() { return this.acStatus; } - /* - * - */ + + /** + * setBlock method. + */ public void setBlock(String block) { this.block = block; } - + + /** + * getBlock method. + * + * @return String + */ public String getBlock() { return this.block; } - /* - * - */ + + /** + * setCount method. + */ public void setCount(String count) { this.count = count; } - + + /** + * getCount method. + * + * @return String + */ public String getCount() { return this.count; } - /* - * This specifies the envelope custom field name and value searched for in the envelope information. The value portion of the query can use partial strings by adding '%' (percent sign) around the custom field query value. Example 1: If you have an envelope custom field called \"Region\" and you want to search for all envelopes where the value is \"West\" you would use the query: `?custom_field=Region=West`. Example 2: To search for envelopes where the `ApplicationID` custom field has the value or partial value of \"DocuSign\" in field, the query would be: `?custom_field=ApplicationId=%DocuSign%` This would find envelopes where the custom field value is \"DocuSign for Salesforce\" or \"DocuSign envelope.\" - */ + + /** + * setCustomField method. + */ public void setCustomField(String customField) { this.customField = customField; } - + + /** + * getCustomField method. + * + * @return String + */ public String getCustomField() { return this.customField; } - /* - * - */ + + /** + * setEmail method. + */ public void setEmail(String email) { this.email = email; } - + + /** + * getEmail method. + * + * @return String + */ public String getEmail() { return this.email; } - /* - * - */ + + /** + * setEnvelopeIds method. + */ public void setEnvelopeIds(String envelopeIds) { this.envelopeIds = envelopeIds; } - + + /** + * getEnvelopeIds method. + * + * @return String + */ public String getEnvelopeIds() { return this.envelopeIds; } - /* - * The date/time setting that specifies the date/time when the request begins checking for status changes for envelopes in the account. This is required unless 'envelopeId's are used. - */ + + /** + * setFromDate method. + */ public void setFromDate(String fromDate) { this.fromDate = fromDate; } - + + /** + * getFromDate method. + * + * @return String + */ public String getFromDate() { return this.fromDate; } - /* - * This is the status type checked for in the `from_date`/`to_date` period. If `changed` is specified, then envelopes that changed status during the period are found. If for example, `created` is specified, then envelopes created during the period are found. Default is `changed`. Possible values are: Voided, Changed, Created, Deleted, Sent, Delivered, Signed, Completed, Declined, TimedOut and Processing. - */ + + /** + * setFromToStatus method. + */ public void setFromToStatus(String fromToStatus) { this.fromToStatus = fromToStatus; } - + + /** + * getFromToStatus method. + * + * @return String + */ public String getFromToStatus() { return this.fromToStatus; } - /* - * - */ + + /** + * setStartPosition method. + */ public void setStartPosition(String startPosition) { this.startPosition = startPosition; } - + + /** + * getStartPosition method. + * + * @return String + */ public String getStartPosition() { return this.startPosition; } - /* - * The list of current statuses to include in the response. By default, all envelopes found are returned. If values are specified, then of the envelopes found, only those with the current status specified are returned in the results. Possible values are: Voided, Created, Deleted, Sent, Delivered, Signed, Completed, Declined, TimedOut and Processing. - */ + + /** + * setStatus method. + */ public void setStatus(String status) { this.status = status; } - + + /** + * getStatus method. + * + * @return String + */ public String getStatus() { return this.status; } - /* - * Optional date/time setting that specifies the date/time when the request stops for status changes for envelopes in the account. If no entry, the system uses the time of the call as the `to_date`. - */ + + /** + * setToDate method. + */ public void setToDate(String toDate) { this.toDate = toDate; } - + + /** + * getToDate method. + * + * @return String + */ public String getToDate() { return this.toDate; } - /* - * If included in the query string, this is a comma separated list of envelope `transactionId`s. If included in the `request_body`, this is a list of envelope `transactionId`s. ###### Note: `transactionId`s are only valid in the DocuSign system for seven days. - */ + + /** + * setTransactionIds method. + */ public void setTransactionIds(String transactionIds) { this.transactionIds = transactionIds; } - + + /** + * getTransactionIds method. + * + * @return String + */ public String getTransactionIds() { return this.transactionIds; } - /* - * - */ + + /** + * setUserName method. + */ public void setUserName(String userName) { this.userName = userName; } - + + /** + * getUserName method. + * + * @return String + */ public String getUserName() { return this.userName; } } /** - * Gets status changes for one or more envelopes. + * Gets status changes for one or more envelopes.. * Retrieves envelope status changes for all envelopes. You can modify the information returned by adding query strings to limit the request to check between certain dates and times, or for certain envelopes, or for certain status codes. It is recommended that you use one or more of the query strings in order to limit the size of the response. ### Important: Unless you are requesting the status for specific envelopes (using the `envelopeIds` or `transactionIds` properties), you must add a set the `from_date` property in the request. Getting envelope status using `transactionIds` is useful for offline signing situations where it can be used determine if an envelope was created or not, for the cases where a network connection was lost, before the envelope status could be returned. ### Request Envelope Status Notes ### The REST API GET /envelopes call uses certain filters to find results. In some cases requests are check for \"any status change\" instead of the just the single status requested. In these cases, more envelopes might be returned by the request than otherwise would be. For example, for a request with the begin date is set to Jan 1st, an end date set to Jan 7th and the status qualifier (`from_to_status`) set to `Delivered` &mdash; the response set might contain envelopes that were created during that time period, but not delivered during the time period. To avoid unnecessary database queries, the DocuSign system checks requests to ensure that the added filters will not result in a zero-size response before acting on the request. The following table shows the valid envelope statuses (in the Valid Current Statuses column) for the status qualifiers in the request. If the status and status qualifiers in the API request do not contain any of the values shown in the valid current statuses column, then an empty list is returned. For example, a request with a status qualifier (from_to_status) of `Delivered` and a status of \"`Created`,`Sent`\", DocuSign will always return an empty list. This is because the request essentially translates to: find the envelopes that were delivered between the begin and end dates that have a current status of `Created` or `Sent`, and since an envelope that has been delivered can never have a status of `Created` or `Sent`, a zero-size response would be generated. In this case, DocuSign does not run the request, but just returns the empty list. Client applications should check that the statuses they are requesting make sense for a given status qualifier. * @param accountId The external account number (int) or account ID Guid. (required) * @return EnvelopesInformation @@ -4159,7 +5043,7 @@ public EnvelopesInformation listStatusChanges(String accountId) throws ApiExcept } /** - * Gets status changes for one or more envelopes. + * Gets status changes for one or more envelopes.. * Retrieves envelope status changes for all envelopes. You can modify the information returned by adding query strings to limit the request to check between certain dates and times, or for certain envelopes, or for certain status codes. It is recommended that you use one or more of the query strings in order to limit the size of the response. ### Important: Unless you are requesting the status for specific envelopes (using the `envelopeIds` or `transactionIds` properties), you must add a set the `from_date` property in the request. Getting envelope status using `transactionIds` is useful for offline signing situations where it can be used determine if an envelope was created or not, for the cases where a network connection was lost, before the envelope status could be returned. ### Request Envelope Status Notes ### The REST API GET /envelopes call uses certain filters to find results. In some cases requests are check for \"any status change\" instead of the just the single status requested. In these cases, more envelopes might be returned by the request than otherwise would be. For example, for a request with the begin date is set to Jan 1st, an end date set to Jan 7th and the status qualifier (`from_to_status`) set to `Delivered` &mdash; the response set might contain envelopes that were created during that time period, but not delivered during the time period. To avoid unnecessary database queries, the DocuSign system checks requests to ensure that the added filters will not result in a zero-size response before acting on the request. The following table shows the valid envelope statuses (in the Valid Current Statuses column) for the status qualifiers in the request. If the status and status qualifiers in the API request do not contain any of the values shown in the valid current statuses column, then an empty list is returned. For example, a request with a status qualifier (from_to_status) of `Delivered` and a status of \"`Created`,`Sent`\", DocuSign will always return an empty list. This is because the request essentially translates to: find the envelopes that were delivered between the begin and end dates that have a current status of `Created` or `Sent`, and since an envelope that has been delivered can never have a status of `Created` or `Sent`, a zero-size response would be generated. In this case, DocuSign does not run the request, but just returns the empty list. Client applications should check that the statuses they are requesting make sense for a given status qualifier. * @param accountId The external account number (int) or account ID Guid. (required) * @param options for modifying the method behavior. @@ -4169,83 +5053,116 @@ public EnvelopesInformation listStatusChanges(String accountId) throws ApiExcept public EnvelopesInformation listStatusChanges(String accountId, EnvelopesApi.ListStatusChangesOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling listStatusChanges"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "ac_status", options.acStatus)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "block", options.block)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "count", options.count)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "custom_field", options.customField)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "email", options.email)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "envelope_ids", options.envelopeIds)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "from_date", options.fromDate)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "from_to_status", options.fromToStatus)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "start_position", options.startPosition)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "status", options.status)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "to_date", options.toDate)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "transaction_ids", options.transactionIds)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "user_name", options.userName)); + localVarQueryParams.addAll(apiClient.parameterToPair("ac_status", options.acStatus)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("block", options.block)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("count", options.count)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("custom_field", options.customField)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("email", options.email)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("envelope_ids", options.envelopeIds)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("from_date", options.fromDate)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("from_to_status", options.fromToStatus)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("start_position", options.startPosition)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("status", options.status)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("to_date", options.toDate)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("transaction_ids", options.transactionIds)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("user_name", options.userName)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Gets the tabs information for a signer or sign-in-person recipient in an envelope. Retrieves information about the tabs associated with a recipient in a draft envelope. /// + + /** + * ListTabsOptions Class. + * + **/ public class ListTabsOptions { private String includeAnchorTabLocations = null; private String includeMetadata = null; - /* - * When set to **true**, all tabs with anchor tab properties are included in the response. - */ + + /** + * setIncludeAnchorTabLocations method. + */ public void setIncludeAnchorTabLocations(String includeAnchorTabLocations) { this.includeAnchorTabLocations = includeAnchorTabLocations; } - + + /** + * getIncludeAnchorTabLocations method. + * + * @return String + */ public String getIncludeAnchorTabLocations() { return this.includeAnchorTabLocations; } - /* - * - */ + + /** + * setIncludeMetadata method. + */ public void setIncludeMetadata(String includeMetadata) { this.includeMetadata = includeMetadata; } - + + /** + * getIncludeMetadata method. + * + * @return String + */ public String getIncludeMetadata() { return this.includeMetadata; } } /** - * Gets the tabs information for a signer or sign-in-person recipient in an envelope. + * Gets the tabs information for a signer or sign-in-person recipient in an envelope.. * Retrieves information about the tabs associated with a recipient in a draft envelope. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -4257,7 +5174,7 @@ public Tabs listTabs(String accountId, String envelopeId, String recipientId) th } /** - * Gets the tabs information for a signer or sign-in-person recipient in an envelope. + * Gets the tabs information for a signer or sign-in-person recipient in an envelope.. * Retrieves information about the tabs associated with a recipient in a draft envelope. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -4269,73 +5186,89 @@ public Tabs listTabs(String accountId, String envelopeId, String recipientId) th public Tabs listTabs(String accountId, String envelopeId, String recipientId, EnvelopesApi.ListTabsOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling listTabs"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling listTabs"); - } + } - // verify the required parameter 'recipientId' is set - if (recipientId == null) { + // verify the required parameter 'recipientId' is set + if (recipientId == null) { throw new ApiException(400, "Missing the required parameter 'recipientId' when calling listTabs"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/tabs".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/tabs" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())) .replaceAll("\\{" + "recipientId" + "\\}", apiClient.escapeString(recipientId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "include_anchor_tab_locations", options.includeAnchorTabLocations)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "include_metadata", options.includeMetadata)); + localVarQueryParams.addAll(apiClient.parameterToPair("include_anchor_tab_locations", options.includeAnchorTabLocations)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("include_metadata", options.includeMetadata)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Get List of Templates used in an Envelope This returns a list of the server-side templates, their name and ID, used in an envelope. /// + + /** + * ListTemplatesOptions Class. + * + **/ public class ListTemplatesOptions { private String include = null; - /* - * The possible values are: matching_applied - This returns template matching information for the template. - */ + + /** + * setInclude method. + */ public void setInclude(String include) { this.include = include; } - + + /** + * getInclude method. + * + * @return String + */ public String getInclude() { return this.include; } } /** - * Get List of Templates used in an Envelope + * Get List of Templates used in an Envelope. * This returns a list of the server-side templates, their name and ID, used in an envelope. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -4346,7 +5279,7 @@ public TemplateInformation listTemplates(String accountId, String envelopeId) th } /** - * Get List of Templates used in an Envelope + * Get List of Templates used in an Envelope. * This returns a list of the server-side templates, their name and ID, used in an envelope. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -4357,66 +5290,81 @@ public TemplateInformation listTemplates(String accountId, String envelopeId) th public TemplateInformation listTemplates(String accountId, String envelopeId, EnvelopesApi.ListTemplatesOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling listTemplates"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling listTemplates"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/templates".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/templates" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "include", options.include)); + localVarQueryParams.addAll(apiClient.parameterToPair("include", options.include)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Gets the templates associated with a document in an existing envelope. Retrieves the templates associated with a document in the specified envelope. /// + + /** + * ListTemplatesForDocumentOptions Class. + * + **/ public class ListTemplatesForDocumentOptions { private String include = null; - /* - * - */ + + /** + * setInclude method. + */ public void setInclude(String include) { this.include = include; } - + + /** + * getInclude method. + * + * @return String + */ public String getInclude() { return this.include; } } /** - * Gets the templates associated with a document in an existing envelope. + * Gets the templates associated with a document in an existing envelope.. * Retrieves the templates associated with a document in the specified envelope. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -4428,7 +5376,7 @@ public TemplateInformation listTemplatesForDocument(String accountId, String env } /** - * Gets the templates associated with a document in an existing envelope. + * Gets the templates associated with a document in an existing envelope.. * Retrieves the templates associated with a document in the specified envelope. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -4440,55 +5388,59 @@ public TemplateInformation listTemplatesForDocument(String accountId, String env public TemplateInformation listTemplatesForDocument(String accountId, String envelopeId, String documentId, EnvelopesApi.ListTemplatesForDocumentOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling listTemplatesForDocument"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling listTemplatesForDocument"); - } + } - // verify the required parameter 'documentId' is set - if (documentId == null) { + // verify the required parameter 'documentId' is set + if (documentId == null) { throw new ApiException(400, "Missing the required parameter 'documentId' when calling listTemplatesForDocument"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/templates".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/templates" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())) .replaceAll("\\{" + "documentId" + "\\}", apiClient.escapeString(documentId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "include", options.include)); + localVarQueryParams.addAll(apiClient.parameterToPair("include", options.include)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Add an attachment to a DRAFT or IN-PROCESS envelope. + * Add an attachment to a DRAFT or IN-PROCESS envelope.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -4500,53 +5452,57 @@ public TemplateInformation listTemplatesForDocument(String accountId, String env public EnvelopeAttachmentsResult putAttachment(String accountId, String envelopeId, String attachmentId, Attachment attachment) throws ApiException { Object localVarPostBody = attachment; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling putAttachment"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling putAttachment"); - } + } - // verify the required parameter 'attachmentId' is set - if (attachmentId == null) { + // verify the required parameter 'attachmentId' is set + if (attachmentId == null) { throw new ApiException(400, "Missing the required parameter 'attachmentId' when calling putAttachment"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/attachments/{attachmentId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/attachments/{attachmentId}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())) .replaceAll("\\{" + "attachmentId" + "\\}", apiClient.escapeString(attachmentId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Add one or more attachments to a DRAFT or IN-PROCESS envelope. + * Add one or more attachments to a DRAFT or IN-PROCESS envelope.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -4557,47 +5513,51 @@ public EnvelopeAttachmentsResult putAttachment(String accountId, String envelope public EnvelopeAttachmentsResult putAttachments(String accountId, String envelopeId, EnvelopeAttachmentsRequest envelopeAttachmentsRequest) throws ApiException { Object localVarPostBody = envelopeAttachmentsRequest; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling putAttachments"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling putAttachments"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/attachments".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/attachments" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Rotates page image from an envelope for display. + * Rotates page image from an envelope for display.. * Rotates page image from an envelope for display. The page image can be rotated to the left or right. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -4609,28 +5569,28 @@ public EnvelopeAttachmentsResult putAttachments(String accountId, String envelop public void rotateDocumentPage(String accountId, String envelopeId, String documentId, String pageNumber, PageRequest pageRequest) throws ApiException { Object localVarPostBody = pageRequest; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling rotateDocumentPage"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling rotateDocumentPage"); - } + } - // verify the required parameter 'documentId' is set - if (documentId == null) { + // verify the required parameter 'documentId' is set + if (documentId == null) { throw new ApiException(400, "Missing the required parameter 'documentId' when calling rotateDocumentPage"); - } + } - // verify the required parameter 'pageNumber' is set - if (pageNumber == null) { + // verify the required parameter 'pageNumber' is set + if (pageNumber == null) { throw new ApiException(400, "Missing the required parameter 'pageNumber' when calling rotateDocumentPage"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/pages/{pageNumber}/page_image".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/pages/{pageNumber}/page_image" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())) .replaceAll("\\{" + "documentId" + "\\}", apiClient.escapeString(documentId.toString())) @@ -4638,58 +5598,79 @@ public void rotateDocumentPage(String accountId, String envelopeId, String docum // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + + apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); + } /// /// Send Draft Envelope/Void Envelope/Move/Purge Envelope/Modify draft The Put Envelopes endpoint provides the following functionality: * Sends the specified single draft envelope. Add {\"status\":\"sent\"} to the request body to send the envelope. * Voids the specified in-process envelope. Add {\"status\":\"voided\", \"voidedReason\":\"The reason for voiding the envelope\"} to the request body to void the envelope. * Replaces the current email subject and message for a draft envelope. Add {\"emailSubject\":\"subject\", \"emailBlurb\":\"message\"} to the request body to modify the subject and message. * Place the envelope documents and envelope metadata in a purge queue so that this information is removed from the DocuSign system. Add {\"purgeState\":\"purge type\"} to the request body. *Additional information on purging documents* The purge request can only be used for completed envelopes that are not marked as the authoritative copy. The requesting user must have permission to purge documents and must be the sender (the requesting user can act as the sender using Send On Behalf Of). ###### Note: If you have set the Document Retention policy on your account, envelope documents are automatically placed in the purge queue and the warning emails are sent at the end of the retention period. ###### Note: You can set the Document Retention policy in the Classic DocuSign Experience by specifying the number of days to retain documents. ###### Note: Setting a Document Retention policy is the same as setting a schedule for purging documents. When the purge request is initiated the envelope documents, or documents and envelope metadata, are placed in a purge queue for deletion in 14 days. A warning email notification is sent to the sender and recipients associated with the envelope, notifying them that the envelope documents will be deleted in 14 days and providing a link to the documents. A second email is sent 7 days later with the same message. At the end of the 14-day period, the envelope documents are deleted from the system. If `purgeState=\"documents_queued\"` is used in the request, then only the documents are deleted and any corresponding attachments and tabs remain in the DocuSign system. If `purgeState= \"documents_and_metadata_queued\"` is used in the request, then the documents, attachments, and tabs are deleted. /// + + /** + * UpdateOptions Class. + * + **/ public class UpdateOptions { private String advancedUpdate = null; private String resendEnvelope = null; - /* - * When set to **true**, allows the caller to update recipients, tabs, custom fields, notification, email settings and other envelope attributes. - */ + + /** + * setAdvancedUpdate method. + */ public void setAdvancedUpdate(String advancedUpdate) { this.advancedUpdate = advancedUpdate; } - + + /** + * getAdvancedUpdate method. + * + * @return String + */ public String getAdvancedUpdate() { return this.advancedUpdate; } - /* - * When set to **true**, sends the specified envelope again. - */ + + /** + * setResendEnvelope method. + */ public void setResendEnvelope(String resendEnvelope) { this.resendEnvelope = resendEnvelope; } - + + /** + * getResendEnvelope method. + * + * @return String + */ public String getResendEnvelope() { return this.resendEnvelope; } } /** - * Send Draft Envelope/Void Envelope/Move/Purge Envelope/Modify draft + * Send Draft Envelope/Void Envelope/Move/Purge Envelope/Modify draft. * The Put Envelopes endpoint provides the following functionality: * Sends the specified single draft envelope. Add {\"status\":\"sent\"} to the request body to send the envelope. * Voids the specified in-process envelope. Add {\"status\":\"voided\", \"voidedReason\":\"The reason for voiding the envelope\"} to the request body to void the envelope. * Replaces the current email subject and message for a draft envelope. Add {\"emailSubject\":\"subject\", \"emailBlurb\":\"message\"} to the request body to modify the subject and message. * Place the envelope documents and envelope metadata in a purge queue so that this information is removed from the DocuSign system. Add {\"purgeState\":\"purge type\"} to the request body. *Additional information on purging documents* The purge request can only be used for completed envelopes that are not marked as the authoritative copy. The requesting user must have permission to purge documents and must be the sender (the requesting user can act as the sender using Send On Behalf Of). ###### Note: If you have set the Document Retention policy on your account, envelope documents are automatically placed in the purge queue and the warning emails are sent at the end of the retention period. ###### Note: You can set the Document Retention policy in the Classic DocuSign Experience by specifying the number of days to retain documents. ###### Note: Setting a Document Retention policy is the same as setting a schedule for purging documents. When the purge request is initiated the envelope documents, or documents and envelope metadata, are placed in a purge queue for deletion in 14 days. A warning email notification is sent to the sender and recipients associated with the envelope, notifying them that the envelope documents will be deleted in 14 days and providing a link to the documents. A second email is sent 7 days later with the same message. At the end of the 14-day period, the envelope documents are deleted from the system. If `purgeState=\"documents_queued\"` is used in the request, then only the documents are deleted and any corresponding attachments and tabs remain in the DocuSign system. If `purgeState= \"documents_and_metadata_queued\"` is used in the request, then the documents, attachments, and tabs are deleted. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -4701,7 +5682,7 @@ public EnvelopeUpdateSummary update(String accountId, String envelopeId, Envelop } /** - * Send Draft Envelope/Void Envelope/Move/Purge Envelope/Modify draft + * Send Draft Envelope/Void Envelope/Move/Purge Envelope/Modify draft. * The Put Envelopes endpoint provides the following functionality: * Sends the specified single draft envelope. Add {\"status\":\"sent\"} to the request body to send the envelope. * Voids the specified in-process envelope. Add {\"status\":\"voided\", \"voidedReason\":\"The reason for voiding the envelope\"} to the request body to void the envelope. * Replaces the current email subject and message for a draft envelope. Add {\"emailSubject\":\"subject\", \"emailBlurb\":\"message\"} to the request body to modify the subject and message. * Place the envelope documents and envelope metadata in a purge queue so that this information is removed from the DocuSign system. Add {\"purgeState\":\"purge type\"} to the request body. *Additional information on purging documents* The purge request can only be used for completed envelopes that are not marked as the authoritative copy. The requesting user must have permission to purge documents and must be the sender (the requesting user can act as the sender using Send On Behalf Of). ###### Note: If you have set the Document Retention policy on your account, envelope documents are automatically placed in the purge queue and the warning emails are sent at the end of the retention period. ###### Note: You can set the Document Retention policy in the Classic DocuSign Experience by specifying the number of days to retain documents. ###### Note: Setting a Document Retention policy is the same as setting a schedule for purging documents. When the purge request is initiated the envelope documents, or documents and envelope metadata, are placed in a purge queue for deletion in 14 days. A warning email notification is sent to the sender and recipients associated with the envelope, notifying them that the envelope documents will be deleted in 14 days and providing a link to the documents. A second email is sent 7 days later with the same message. At the end of the 14-day period, the envelope documents are deleted from the system. If `purgeState=\"documents_queued\"` is used in the request, then only the documents are deleted and any corresponding attachments and tabs remain in the DocuSign system. If `purgeState= \"documents_and_metadata_queued\"` is used in the request, then the documents, attachments, and tabs are deleted. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -4713,67 +5694,83 @@ public EnvelopeUpdateSummary update(String accountId, String envelopeId, Envelop public EnvelopeUpdateSummary update(String accountId, String envelopeId, Envelope envelope, EnvelopesApi.UpdateOptions options) throws ApiException { Object localVarPostBody = envelope; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling update"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling update"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "advanced_update", options.advancedUpdate)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "resend_envelope", options.resendEnvelope)); + localVarQueryParams.addAll(apiClient.parameterToPair("advanced_update", options.advancedUpdate)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("resend_envelope", options.resendEnvelope)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Integrity-Check and Commit a ChunkedUpload, readying it for use elsewhere. /// + + /** + * UpdateChunkedUploadOptions Class. + * + **/ public class UpdateChunkedUploadOptions { private String action = null; - /* - * - */ + + /** + * setAction method. + */ public void setAction(String action) { this.action = action; } - + + /** + * getAction method. + * + * @return String + */ public String getAction() { return this.action; } } /** - * Integrity-Check and Commit a ChunkedUpload, readying it for use elsewhere. + * Integrity-Check and Commit a ChunkedUpload, readying it for use elsewhere.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param chunkedUploadId (required) @@ -4784,7 +5781,7 @@ public ChunkedUploadResponse updateChunkedUpload(String accountId, String chunke } /** - * Integrity-Check and Commit a ChunkedUpload, readying it for use elsewhere. + * Integrity-Check and Commit a ChunkedUpload, readying it for use elsewhere.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param chunkedUploadId (required) @@ -4795,49 +5792,53 @@ public ChunkedUploadResponse updateChunkedUpload(String accountId, String chunke public ChunkedUploadResponse updateChunkedUpload(String accountId, String chunkedUploadId, EnvelopesApi.UpdateChunkedUploadOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling updateChunkedUpload"); - } + } - // verify the required parameter 'chunkedUploadId' is set - if (chunkedUploadId == null) { + // verify the required parameter 'chunkedUploadId' is set + if (chunkedUploadId == null) { throw new ApiException(400, "Missing the required parameter 'chunkedUploadId' when calling updateChunkedUpload"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/chunked_uploads/{chunkedUploadId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/chunked_uploads/{chunkedUploadId}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "chunkedUploadId" + "\\}", apiClient.escapeString(chunkedUploadId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "action", options.action)); + localVarQueryParams.addAll(apiClient.parameterToPair("action", options.action)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Add a chunk, a chunk 'part', to an existing ChunkedUpload. + * Add a chunk, a chunk 'part', to an existing ChunkedUpload.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param chunkedUploadId (required) @@ -4849,53 +5850,57 @@ public ChunkedUploadResponse updateChunkedUpload(String accountId, String chunke public ChunkedUploadResponse updateChunkedUploadPart(String accountId, String chunkedUploadId, String chunkedUploadPartSeq, ChunkedUploadRequest chunkedUploadRequest) throws ApiException { Object localVarPostBody = chunkedUploadRequest; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling updateChunkedUploadPart"); - } + } - // verify the required parameter 'chunkedUploadId' is set - if (chunkedUploadId == null) { + // verify the required parameter 'chunkedUploadId' is set + if (chunkedUploadId == null) { throw new ApiException(400, "Missing the required parameter 'chunkedUploadId' when calling updateChunkedUploadPart"); - } + } - // verify the required parameter 'chunkedUploadPartSeq' is set - if (chunkedUploadPartSeq == null) { + // verify the required parameter 'chunkedUploadPartSeq' is set + if (chunkedUploadPartSeq == null) { throw new ApiException(400, "Missing the required parameter 'chunkedUploadPartSeq' when calling updateChunkedUploadPart"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/chunked_uploads/{chunkedUploadId}/{chunkedUploadPartSeq}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/chunked_uploads/{chunkedUploadId}/{chunkedUploadPartSeq}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "chunkedUploadId" + "\\}", apiClient.escapeString(chunkedUploadId.toString())) .replaceAll("\\{" + "chunkedUploadPartSeq" + "\\}", apiClient.escapeString(chunkedUploadPartSeq.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Updates envelope custom fields in an envelope. + * Updates envelope custom fields in an envelope.. * Updates the envelope custom fields in draft and in-process envelopes. Each custom field used in an envelope must have a unique name. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -4906,76 +5911,90 @@ public ChunkedUploadResponse updateChunkedUploadPart(String accountId, String ch public CustomFields updateCustomFields(String accountId, String envelopeId, CustomFields customFields) throws ApiException { Object localVarPostBody = customFields; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling updateCustomFields"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling updateCustomFields"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/custom_fields".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/custom_fields" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Adds a document to an existing draft envelope. Adds a document to an existing draft envelope. /// + + /** + * UpdateDocumentOptions Class. + * + **/ public class UpdateDocumentOptions { private String applyDocumentFields = null; - /* - * - */ + + /** + * setApplyDocumentFields method. + */ public void setApplyDocumentFields(String applyDocumentFields) { this.applyDocumentFields = applyDocumentFields; } - + + /** + * getApplyDocumentFields method. + * + * @return String + */ public String getApplyDocumentFields() { return this.applyDocumentFields; } } /** - * Adds a document to an existing draft envelope. + * Adds a document to an existing draft envelope.. * Adds a document to an existing draft envelope. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) * @param documentId The ID of the document being accessed. (required) - * @return void */ public void updateDocument(String accountId, String envelopeId, String documentId) throws ApiException { updateDocument(accountId, envelopeId, documentId, null); } /** - * Adds a document to an existing draft envelope. + * Adds a document to an existing draft envelope.. * Adds a document to an existing draft envelope. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -4986,55 +6005,59 @@ public void updateDocument(String accountId, String envelopeId, String documentI public void updateDocument(String accountId, String envelopeId, String documentId, EnvelopesApi.UpdateDocumentOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling updateDocument"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling updateDocument"); - } + } - // verify the required parameter 'documentId' is set - if (documentId == null) { + // verify the required parameter 'documentId' is set + if (documentId == null) { throw new ApiException(400, "Missing the required parameter 'documentId' when calling updateDocument"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())) .replaceAll("\\{" + "documentId" + "\\}", apiClient.escapeString(documentId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "apply_document_fields", options.applyDocumentFields)); + localVarQueryParams.addAll(apiClient.parameterToPair("apply_document_fields", options.applyDocumentFields)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + + apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); + } /** - * Updates existing custom document fields in an existing envelope document. + * Updates existing custom document fields in an existing envelope document.. * Updates existing custom document fields in an existing envelope document. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -5046,81 +6069,102 @@ public void updateDocument(String accountId, String envelopeId, String documentI public DocumentFieldsInformation updateDocumentFields(String accountId, String envelopeId, String documentId, DocumentFieldsInformation documentFieldsInformation) throws ApiException { Object localVarPostBody = documentFieldsInformation; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling updateDocumentFields"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling updateDocumentFields"); - } + } - // verify the required parameter 'documentId' is set - if (documentId == null) { + // verify the required parameter 'documentId' is set + if (documentId == null) { throw new ApiException(400, "Missing the required parameter 'documentId' when calling updateDocumentFields"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/fields".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/fields" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())) .replaceAll("\\{" + "documentId" + "\\}", apiClient.escapeString(documentId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Adds one or more documents to an existing envelope document. Adds one or more documents to an existing envelope document. /// + + /** + * UpdateDocumentsOptions Class. + * + **/ public class UpdateDocumentsOptions { private String applyDocumentFields = null; private String persistTabs = null; - /* - * When true, Document fields can be added or modified while adding or modifying envelope documents. - */ + + /** + * setApplyDocumentFields method. + */ public void setApplyDocumentFields(String applyDocumentFields) { this.applyDocumentFields = applyDocumentFields; } - + + /** + * getApplyDocumentFields method. + * + * @return String + */ public String getApplyDocumentFields() { return this.applyDocumentFields; } - /* - * - */ + + /** + * setPersistTabs method. + */ public void setPersistTabs(String persistTabs) { this.persistTabs = persistTabs; } - + + /** + * getPersistTabs method. + * + * @return String + */ public String getPersistTabs() { return this.persistTabs; } } /** - * Adds one or more documents to an existing envelope document. + * Adds one or more documents to an existing envelope document.. * Adds one or more documents to an existing envelope document. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -5132,7 +6176,7 @@ public EnvelopeDocumentsResult updateDocuments(String accountId, String envelope } /** - * Adds one or more documents to an existing envelope document. + * Adds one or more documents to an existing envelope document.. * Adds one or more documents to an existing envelope document. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -5144,50 +6188,55 @@ public EnvelopeDocumentsResult updateDocuments(String accountId, String envelope public EnvelopeDocumentsResult updateDocuments(String accountId, String envelopeId, EnvelopeDefinition envelopeDefinition, EnvelopesApi.UpdateDocumentsOptions options) throws ApiException { Object localVarPostBody = envelopeDefinition; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling updateDocuments"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling updateDocuments"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/documents".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/documents" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "apply_document_fields", options.applyDocumentFields)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "persist_tabs", options.persistTabs)); + localVarQueryParams.addAll(apiClient.parameterToPair("apply_document_fields", options.applyDocumentFields)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("persist_tabs", options.persistTabs)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Updates the email setting overrides for an envelope. + * Updates the email setting overrides for an envelope.. * Updates the existing email override settings for the specified envelope. Note that modifying email settings will only affect email communications that occur after the modification was made. This can also be used to delete an individual email override setting by using an empty string for the value to be deleted. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -5198,47 +6247,51 @@ public EnvelopeDocumentsResult updateDocuments(String accountId, String envelope public EmailSettings updateEmailSettings(String accountId, String envelopeId, EmailSettings emailSettings) throws ApiException { Object localVarPostBody = emailSettings; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling updateEmailSettings"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling updateEmailSettings"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/email_settings".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/email_settings" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Updates an envelope lock. + * Updates an envelope lock.. * Updates the lock duration time or update the `lockedByApp` property information for the specified envelope. The user and integrator key must match the user specified by the `lockByUser` property and integrator key information and the `X-DocuSign-Edit` header must be included or an error will be generated. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -5249,47 +6302,51 @@ public EmailSettings updateEmailSettings(String accountId, String envelopeId, Em public LockInformation updateLock(String accountId, String envelopeId, LockRequest lockRequest) throws ApiException { Object localVarPostBody = lockRequest; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling updateLock"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling updateLock"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/lock".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/lock" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Sets envelope notification (Reminders/Expirations) structure for an existing envelope. + * Sets envelope notification (Reminders/Expirations) structure for an existing envelope.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -5300,47 +6357,51 @@ public LockInformation updateLock(String accountId, String envelopeId, LockReque public Notification updateNotificationSettings(String accountId, String envelopeId, EnvelopeNotificationRequest envelopeNotificationRequest) throws ApiException { Object localVarPostBody = envelopeNotificationRequest; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling updateNotificationSettings"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling updateNotificationSettings"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/notification".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/notification" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Updates document visibility for the recipients + * Updates document visibility for the recipients. * * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -5352,53 +6413,57 @@ public Notification updateNotificationSettings(String accountId, String envelope public DocumentVisibilityList updateRecipientDocumentVisibility(String accountId, String envelopeId, String recipientId, DocumentVisibilityList documentVisibilityList) throws ApiException { Object localVarPostBody = documentVisibilityList; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling updateRecipientDocumentVisibility"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling updateRecipientDocumentVisibility"); - } + } - // verify the required parameter 'recipientId' is set - if (recipientId == null) { + // verify the required parameter 'recipientId' is set + if (recipientId == null) { throw new ApiException(400, "Missing the required parameter 'recipientId' when calling updateRecipientDocumentVisibility"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/document_visibility".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/document_visibility" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())) .replaceAll("\\{" + "recipientId" + "\\}", apiClient.escapeString(recipientId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Sets the initials image for an accountless signer. + * Sets the initials image for an accountless signer.. * Updates the initials image for a signer that does not have a DocuSign account. The supported image formats for this file are: gif, png, jpeg, and bmp. The file size must be less than 200K. For the Authentication/Authorization for this call, the credentials must match the sender of the envelope, the recipient must be an accountless signer or in person signer. The account must have the `CanSendEnvelope` property set to **true** and the `ExpressSendOnly` property in `SendingUser` structure must be set to **false**. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -5408,53 +6473,57 @@ public DocumentVisibilityList updateRecipientDocumentVisibility(String accountId public void updateRecipientInitialsImage(String accountId, String envelopeId, String recipientId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling updateRecipientInitialsImage"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling updateRecipientInitialsImage"); - } + } - // verify the required parameter 'recipientId' is set - if (recipientId == null) { + // verify the required parameter 'recipientId' is set + if (recipientId == null) { throw new ApiException(400, "Missing the required parameter 'recipientId' when calling updateRecipientInitialsImage"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/initials_image".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/initials_image" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())) .replaceAll("\\{" + "recipientId" + "\\}", apiClient.escapeString(recipientId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + + - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - "image/gif" - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarContentTypes = { + "image/gif" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); - } + + apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); + } /** - * Sets the signature image for an accountless signer. + * Sets the signature image for an accountless signer.. * Updates the signature image for an accountless signer. The supported image formats for this file are: gif, png, jpeg, and bmp. The file size must be less than 200K. For the Authentication/Authorization for this call, the credentials must match the sender of the envelope, the recipient must be an accountless signer or in person signer. The account must have the `CanSendEnvelope` property set to **true** and the `ExpressSendOnly` property in `SendingUser` structure must be set to **false**. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -5464,81 +6533,102 @@ public void updateRecipientInitialsImage(String accountId, String envelopeId, St public void updateRecipientSignatureImage(String accountId, String envelopeId, String recipientId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling updateRecipientSignatureImage"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling updateRecipientSignatureImage"); - } + } - // verify the required parameter 'recipientId' is set - if (recipientId == null) { + // verify the required parameter 'recipientId' is set + if (recipientId == null) { throw new ApiException(400, "Missing the required parameter 'recipientId' when calling updateRecipientSignatureImage"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/signature_image".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/signature_image" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())) .replaceAll("\\{" + "recipientId" + "\\}", apiClient.escapeString(recipientId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + + - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - "image/gif" - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarContentTypes = { + "image/gif" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); - } + + apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); + } /// /// Updates recipients in a draft envelope or corrects recipient information for an in process envelope. Updates recipients in a draft envelope or corrects recipient information for an in process envelope. For draft envelopes, you can edit the following properties: `email`, `userName`, `routingOrder`, `faxNumber`, `deliveryMethod`, `accessCode`, and `requireIdLookup`. Once an envelope has been sent, you can only edit: `email`, `userName`, `signerName`, `routingOrder`, `faxNumber`, and `deliveryMethod`. You can also select to resend an envelope by using the `resend_envelope` option. If you send information for a recipient that does not already exist in a draft envelope, the recipient is added to the envelope (similar to the POST). /// + + /** + * UpdateRecipientsOptions Class. + * + **/ public class UpdateRecipientsOptions { private String offlineSigning = null; private String resendEnvelope = null; - /* - * - */ + + /** + * setOfflineSigning method. + */ public void setOfflineSigning(String offlineSigning) { this.offlineSigning = offlineSigning; } - + + /** + * getOfflineSigning method. + * + * @return String + */ public String getOfflineSigning() { return this.offlineSigning; } - /* - * When set to **true**, resends the envelope if the new recipient's routing order is before or the same as the envelope's next recipient. - */ + + /** + * setResendEnvelope method. + */ public void setResendEnvelope(String resendEnvelope) { this.resendEnvelope = resendEnvelope; } - + + /** + * getResendEnvelope method. + * + * @return String + */ public String getResendEnvelope() { return this.resendEnvelope; } } /** - * Updates recipients in a draft envelope or corrects recipient information for an in process envelope. + * Updates recipients in a draft envelope or corrects recipient information for an in process envelope.. * Updates recipients in a draft envelope or corrects recipient information for an in process envelope. For draft envelopes, you can edit the following properties: `email`, `userName`, `routingOrder`, `faxNumber`, `deliveryMethod`, `accessCode`, and `requireIdLookup`. Once an envelope has been sent, you can only edit: `email`, `userName`, `signerName`, `routingOrder`, `faxNumber`, and `deliveryMethod`. You can also select to resend an envelope by using the `resend_envelope` option. If you send information for a recipient that does not already exist in a draft envelope, the recipient is added to the envelope (similar to the POST). * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -5550,7 +6640,7 @@ public RecipientsUpdateSummary updateRecipients(String accountId, String envelop } /** - * Updates recipients in a draft envelope or corrects recipient information for an in process envelope. + * Updates recipients in a draft envelope or corrects recipient information for an in process envelope.. * Updates recipients in a draft envelope or corrects recipient information for an in process envelope. For draft envelopes, you can edit the following properties: `email`, `userName`, `routingOrder`, `faxNumber`, `deliveryMethod`, `accessCode`, and `requireIdLookup`. Once an envelope has been sent, you can only edit: `email`, `userName`, `signerName`, `routingOrder`, `faxNumber`, and `deliveryMethod`. You can also select to resend an envelope by using the `resend_envelope` option. If you send information for a recipient that does not already exist in a draft envelope, the recipient is added to the envelope (similar to the POST). * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -5562,50 +6652,55 @@ public RecipientsUpdateSummary updateRecipients(String accountId, String envelop public RecipientsUpdateSummary updateRecipients(String accountId, String envelopeId, Recipients recipients, EnvelopesApi.UpdateRecipientsOptions options) throws ApiException { Object localVarPostBody = recipients; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling updateRecipients"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling updateRecipients"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/recipients".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/recipients" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "offline_signing", options.offlineSigning)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "resend_envelope", options.resendEnvelope)); + localVarQueryParams.addAll(apiClient.parameterToPair("offline_signing", options.offlineSigning)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("resend_envelope", options.resendEnvelope)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Updates document visibility for the recipients + * Updates document visibility for the recipients. * * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -5616,47 +6711,51 @@ public RecipientsUpdateSummary updateRecipients(String accountId, String envelop public DocumentVisibilityList updateRecipientsDocumentVisibility(String accountId, String envelopeId, DocumentVisibilityList documentVisibilityList) throws ApiException { Object localVarPostBody = documentVisibilityList; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling updateRecipientsDocumentVisibility"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling updateRecipientsDocumentVisibility"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/recipients/document_visibility".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/recipients/document_visibility" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Updates the tabs for a recipient. + * Updates the tabs for a recipient. . * Updates one or more tabs for a recipient in a draft envelope. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeId The envelopeId Guid of the envelope being accessed. (required) @@ -5668,53 +6767,57 @@ public DocumentVisibilityList updateRecipientsDocumentVisibility(String accountI public Tabs updateTabs(String accountId, String envelopeId, String recipientId, Tabs tabs) throws ApiException { Object localVarPostBody = tabs; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling updateTabs"); - } + } - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) { + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) { throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling updateTabs"); - } + } - // verify the required parameter 'recipientId' is set - if (recipientId == null) { + // verify the required parameter 'recipientId' is set + if (recipientId == null) { throw new ApiException(400, "Missing the required parameter 'recipientId' when calling updateTabs"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/tabs".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/tabs" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString())) .replaceAll("\\{" + "recipientId" + "\\}", apiClient.escapeString(recipientId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Updates document visibility for the recipients + * Updates document visibility for the recipients. * * @param accountId The external account number (int) or account ID Guid. (required) * @param templateId The ID of the template being accessed. (required) @@ -5726,53 +6829,57 @@ public Tabs updateTabs(String accountId, String envelopeId, String recipientId, public TemplateDocumentVisibilityList updateTemplateRecipientDocumentVisibility(String accountId, String templateId, String recipientId, TemplateDocumentVisibilityList templateDocumentVisibilityList) throws ApiException { Object localVarPostBody = templateDocumentVisibilityList; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling updateTemplateRecipientDocumentVisibility"); - } + } - // verify the required parameter 'templateId' is set - if (templateId == null) { + // verify the required parameter 'templateId' is set + if (templateId == null) { throw new ApiException(400, "Missing the required parameter 'templateId' when calling updateTemplateRecipientDocumentVisibility"); - } + } - // verify the required parameter 'recipientId' is set - if (recipientId == null) { + // verify the required parameter 'recipientId' is set + if (recipientId == null) { throw new ApiException(400, "Missing the required parameter 'recipientId' when calling updateTemplateRecipientDocumentVisibility"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/recipients/{recipientId}/document_visibility".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/recipients/{recipientId}/document_visibility" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "templateId" + "\\}", apiClient.escapeString(templateId.toString())) .replaceAll("\\{" + "recipientId" + "\\}", apiClient.escapeString(recipientId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Updates document visibility for the recipients + * Updates document visibility for the recipients. * * @param accountId The external account number (int) or account ID Guid. (required) * @param templateId The ID of the template being accessed. (required) @@ -5783,42 +6890,46 @@ public TemplateDocumentVisibilityList updateTemplateRecipientDocumentVisibility( public TemplateDocumentVisibilityList updateTemplateRecipientsDocumentVisibility(String accountId, String templateId, TemplateDocumentVisibilityList templateDocumentVisibilityList) throws ApiException { Object localVarPostBody = templateDocumentVisibilityList; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling updateTemplateRecipientsDocumentVisibility"); - } + } - // verify the required parameter 'templateId' is set - if (templateId == null) { + // verify the required parameter 'templateId' is set + if (templateId == null) { throw new ApiException(400, "Missing the required parameter 'templateId' when calling updateTemplateRecipientsDocumentVisibility"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/recipients/document_visibility".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/recipients/document_visibility" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "templateId" + "\\}", apiClient.escapeString(templateId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } +} diff --git a/src/main/java/com/docusign/esign/api/FoldersApi.java b/src/main/java/com/docusign/esign/api/FoldersApi.java index af5c9db0..28d12322 100644 --- a/src/main/java/com/docusign/esign/api/FoldersApi.java +++ b/src/main/java/com/docusign/esign/api/FoldersApi.java @@ -1,152 +1,210 @@ + package com.docusign.esign.api; -import com.sun.jersey.api.client.GenericType; +import javax.ws.rs.core.GenericType; import com.docusign.esign.client.ApiException; import com.docusign.esign.client.ApiClient; import com.docusign.esign.client.Configuration; +import com.docusign.esign.model.*; import com.docusign.esign.client.Pair; -import com.docusign.esign.model.ErrorDetails; -import com.docusign.esign.model.FolderItemResponse; -import com.docusign.esign.model.FolderItemsResponse; -import com.docusign.esign.model.FoldersRequest; -import com.docusign.esign.model.FoldersResponse; - - public class FoldersApi { +/** + * FoldersApi class. + * + **/ +public class FoldersApi { private ApiClient apiClient; + /** + * FoldersApi. + * + **/ public FoldersApi() { - this(Configuration.getDefaultApiClient()); + this(Configuration.getDefaultApiClient()); } + /** + * FoldersApi. + * + **/ public FoldersApi(ApiClient apiClient) { - this.apiClient = apiClient; + this.apiClient = apiClient; } + /** + * getApiClient Method. + * + * @return ApiClient + **/ public ApiClient getApiClient() { - return apiClient; + return apiClient; } + /** + * setApiClient Method. + * + **/ public void setApiClient(ApiClient apiClient) { - this.apiClient = apiClient; + this.apiClient = apiClient; } /// /// Gets a list of the folders for the account. Retrieves a list of the folders for the account, including the folder hierarchy. You can specify whether to return just the template folder or template folder and normal folders by setting the `template` query string parameter. /// - public class ListOptions + + /** + * CallListOptions Class. + * + **/ + public class CallListOptions { private String include = null; private String startPosition = null; private String template = null; private String userFilter = null; - /* - * - */ + + /** + * setInclude method. + */ public void setInclude(String include) { this.include = include; } - + + /** + * getInclude method. + * + * @return String + */ public String getInclude() { return this.include; } - /* - * - */ + + /** + * setStartPosition method. + */ public void setStartPosition(String startPosition) { this.startPosition = startPosition; } - + + /** + * getStartPosition method. + * + * @return String + */ public String getStartPosition() { return this.startPosition; } - /* - * Specifies the items that are returned. Valid values are: * include - The folder list will return normal folders plus template folders. * only - Only the list of template folders are returned. - */ + + /** + * setTemplate method. + */ public void setTemplate(String template) { this.template = template; } - + + /** + * getTemplate method. + * + * @return String + */ public String getTemplate() { return this.template; } - /* - * - */ + + /** + * setUserFilter method. + */ public void setUserFilter(String userFilter) { this.userFilter = userFilter; } - + + /** + * getUserFilter method. + * + * @return String + */ public String getUserFilter() { return this.userFilter; } } /** - * Gets a list of the folders for the account. + * Gets a list of the folders for the account.. * Retrieves a list of the folders for the account, including the folder hierarchy. You can specify whether to return just the template folder or template folder and normal folders by setting the `template` query string parameter. * @param accountId The external account number (int) or account ID Guid. (required) * @return FoldersResponse */ - public FoldersResponse list(String accountId) throws ApiException { - return list(accountId, null); + public FoldersResponse callList(String accountId) throws ApiException { + return callList(accountId, null); } /** - * Gets a list of the folders for the account. + * Gets a list of the folders for the account.. * Retrieves a list of the folders for the account, including the folder hierarchy. You can specify whether to return just the template folder or template folder and normal folders by setting the `template` query string parameter. * @param accountId The external account number (int) or account ID Guid. (required) * @param options for modifying the method behavior. * @return FoldersResponse * @throws ApiException if fails to make API call */ - public FoldersResponse list(String accountId, FoldersApi.ListOptions options) throws ApiException { + public FoldersResponse callList(String accountId, FoldersApi.CallListOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { - throw new ApiException(400, "Missing the required parameter 'accountId' when calling list"); - } + // verify the required parameter 'accountId' is set + if (accountId == null) { + throw new ApiException(400, "Missing the required parameter 'accountId' when calling callList"); + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/folders".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/folders" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "include", options.include)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "start_position", options.startPosition)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "template", options.template)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "user_filter", options.userFilter)); + localVarQueryParams.addAll(apiClient.parameterToPair("include", options.include)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("start_position", options.startPosition)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("template", options.template)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("user_filter", options.userFilter)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Gets a list of the envelopes in the specified folder. Retrieves a list of the envelopes in the specified folder. You can narrow the query by specifying search criteria in the query string parameters. /// + + /** + * ListItemsOptions Class. + * + **/ public class ListItemsOptions { private String fromDate = null; @@ -156,80 +214,122 @@ public class ListItemsOptions private String startPosition = null; private String status = null; private String toDate = null; - /* - * Only return items on or after this date. If no value is provided, the default search is the previous 30 days. - */ + + /** + * setFromDate method. + */ public void setFromDate(String fromDate) { this.fromDate = fromDate; } - + + /** + * getFromDate method. + * + * @return String + */ public String getFromDate() { return this.fromDate; } - /* - * The email of the folder owner. - */ + + /** + * setOwnerEmail method. + */ public void setOwnerEmail(String ownerEmail) { this.ownerEmail = ownerEmail; } - + + /** + * getOwnerEmail method. + * + * @return String + */ public String getOwnerEmail() { return this.ownerEmail; } - /* - * The name of the folder owner. - */ + + /** + * setOwnerName method. + */ public void setOwnerName(String ownerName) { this.ownerName = ownerName; } - + + /** + * getOwnerName method. + * + * @return String + */ public String getOwnerName() { return this.ownerName; } - /* - * The search text used to search the items of the envelope. The search looks at recipient names and emails, envelope custom fields, sender name, and subject. - */ + + /** + * setSearchText method. + */ public void setSearchText(String searchText) { this.searchText = searchText; } - + + /** + * getSearchText method. + * + * @return String + */ public String getSearchText() { return this.searchText; } - /* - * The position of the folder items to return. This is used for repeated calls, when the number of envelopes returned is too much for one return (calls return 100 envelopes at a time). The default value is 0. - */ + + /** + * setStartPosition method. + */ public void setStartPosition(String startPosition) { this.startPosition = startPosition; } - + + /** + * getStartPosition method. + * + * @return String + */ public String getStartPosition() { return this.startPosition; } - /* - * The current status of the envelope. If no value is provided, the default search is all/any status. - */ + + /** + * setStatus method. + */ public void setStatus(String status) { this.status = status; } - + + /** + * getStatus method. + * + * @return String + */ public String getStatus() { return this.status; } - /* - * Only return items up to this date. If no value is provided, the default search is to the current date. - */ + + /** + * setToDate method. + */ public void setToDate(String toDate) { this.toDate = toDate; } - + + /** + * getToDate method. + * + * @return String + */ public String getToDate() { return this.toDate; } } /** - * Gets a list of the envelopes in the specified folder. + * Gets a list of the envelopes in the specified folder.. * Retrieves a list of the envelopes in the specified folder. You can narrow the query by specifying search criteria in the query string parameters. * @param accountId The external account number (int) or account ID Guid. (required) * @param folderId The ID of the folder being accessed. (required) @@ -240,7 +340,7 @@ public FolderItemsResponse listItems(String accountId, String folderId) throws A } /** - * Gets a list of the envelopes in the specified folder. + * Gets a list of the envelopes in the specified folder.. * Retrieves a list of the envelopes in the specified folder. You can narrow the query by specifying search criteria in the query string parameters. * @param accountId The external account number (int) or account ID Guid. (required) * @param folderId The ID of the folder being accessed. (required) @@ -251,55 +351,65 @@ public FolderItemsResponse listItems(String accountId, String folderId) throws A public FolderItemsResponse listItems(String accountId, String folderId, FoldersApi.ListItemsOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling listItems"); - } + } - // verify the required parameter 'folderId' is set - if (folderId == null) { + // verify the required parameter 'folderId' is set + if (folderId == null) { throw new ApiException(400, "Missing the required parameter 'folderId' when calling listItems"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/folders/{folderId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/folders/{folderId}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "folderId" + "\\}", apiClient.escapeString(folderId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "from_date", options.fromDate)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "owner_email", options.ownerEmail)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "owner_name", options.ownerName)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "search_text", options.searchText)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "start_position", options.startPosition)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "status", options.status)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "to_date", options.toDate)); + localVarQueryParams.addAll(apiClient.parameterToPair("from_date", options.fromDate)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("owner_email", options.ownerEmail)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("owner_name", options.ownerName)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("search_text", options.searchText)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("start_position", options.startPosition)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("status", options.status)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("to_date", options.toDate)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Moves an envelope from its current folder to the specified folder. + * Moves an envelope from its current folder to the specified folder.. * Moves envelopes to the specified folder. * @param accountId The external account number (int) or account ID Guid. (required) * @param folderId The ID of the folder being accessed. (required) @@ -309,47 +419,56 @@ public FolderItemsResponse listItems(String accountId, String folderId, FoldersA public void moveEnvelopes(String accountId, String folderId, FoldersRequest foldersRequest) throws ApiException { Object localVarPostBody = foldersRequest; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling moveEnvelopes"); - } + } - // verify the required parameter 'folderId' is set - if (folderId == null) { + // verify the required parameter 'folderId' is set + if (folderId == null) { throw new ApiException(400, "Missing the required parameter 'folderId' when calling moveEnvelopes"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/folders/{folderId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/folders/{folderId}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "folderId" + "\\}", apiClient.escapeString(folderId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + + apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); + } /// /// Gets a list of envelopes in folders matching the specified criteria. Retrieves a list of envelopes that match the criteria specified in the query. If the user ID of the user making the call is the same as the user ID for any returned recipient, then the userId property is added to the returned information for those recipients. /// + + /** + * SearchOptions Class. + * + **/ public class SearchOptions { private String all = null; @@ -360,90 +479,138 @@ public class SearchOptions private String orderBy = null; private String startPosition = null; private String toDate = null; - /* - * Specifies that all envelopes that match the criteria are returned. - */ + + /** + * setAll method. + */ public void setAll(String all) { this.all = all; } - + + /** + * getAll method. + * + * @return String + */ public String getAll() { return this.all; } - /* - * Specifies the number of records returned in the cache. The number must be greater than 0 and less than or equal to 100. - */ + + /** + * setCount method. + */ public void setCount(String count) { this.count = count; } - + + /** + * getCount method. + * + * @return String + */ public String getCount() { return this.count; } - /* - * Specifies the start of the date range to return. If no value is provided, the default search is the previous 30 days. - */ + + /** + * setFromDate method. + */ public void setFromDate(String fromDate) { this.fromDate = fromDate; } - + + /** + * getFromDate method. + * + * @return String + */ public String getFromDate() { return this.fromDate; } - /* - * When set to **true**, the recipient information is returned in the response. - */ + + /** + * setIncludeRecipients method. + */ public void setIncludeRecipients(String includeRecipients) { this.includeRecipients = includeRecipients; } - + + /** + * getIncludeRecipients method. + * + * @return String + */ public String getIncludeRecipients() { return this.includeRecipients; } - /* - * Specifies the order in which the list is returned. Valid values are: `asc` for ascending order, and `desc` for descending order. - */ + + /** + * setOrder method. + */ public void setOrder(String order) { this.order = order; } - + + /** + * getOrder method. + * + * @return String + */ public String getOrder() { return this.order; } - /* - * Specifies the property used to sort the list. Valid values are: `action_required`, `created`, `completed`, `sent`, `signer_list`, `status`, or `subject`. - */ + + /** + * setOrderBy method. + */ public void setOrderBy(String orderBy) { this.orderBy = orderBy; } - + + /** + * getOrderBy method. + * + * @return String + */ public String getOrderBy() { return this.orderBy; } - /* - * Specifies the the starting location in the result set of the items that are returned. - */ + + /** + * setStartPosition method. + */ public void setStartPosition(String startPosition) { this.startPosition = startPosition; } - + + /** + * getStartPosition method. + * + * @return String + */ public String getStartPosition() { return this.startPosition; } - /* - * Specifies the end of the date range to return. - */ + + /** + * setToDate method. + */ public void setToDate(String toDate) { this.toDate = toDate; } - + + /** + * getToDate method. + * + * @return String + */ public String getToDate() { return this.toDate; } } /** - * Gets a list of envelopes in folders matching the specified criteria. + * Gets a list of envelopes in folders matching the specified criteria.. * Retrieves a list of envelopes that match the criteria specified in the query. If the user ID of the user making the call is the same as the user ID for any returned recipient, then the userId property is added to the returned information for those recipients. * @param accountId The external account number (int) or account ID Guid. (required) * @param searchFolderId Specifies the envelope group that is searched by the request. These are logical groupings, not actual folder names. Valid values are: drafts, awaiting_my_signature, completed, out_for_signature. (required) @@ -454,7 +621,7 @@ public FolderItemResponse search(String accountId, String searchFolderId) throws } /** - * Gets a list of envelopes in folders matching the specified criteria. + * Gets a list of envelopes in folders matching the specified criteria.. * Retrieves a list of envelopes that match the criteria specified in the query. If the user ID of the user making the call is the same as the user ID for any returned recipient, then the userId property is added to the returned information for those recipients. * @param accountId The external account number (int) or account ID Guid. (required) * @param searchFolderId Specifies the envelope group that is searched by the request. These are logical groupings, not actual folder names. Valid values are: drafts, awaiting_my_signature, completed, out_for_signature. (required) @@ -465,51 +632,62 @@ public FolderItemResponse search(String accountId, String searchFolderId) throws public FolderItemResponse search(String accountId, String searchFolderId, FoldersApi.SearchOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling search"); - } + } - // verify the required parameter 'searchFolderId' is set - if (searchFolderId == null) { + // verify the required parameter 'searchFolderId' is set + if (searchFolderId == null) { throw new ApiException(400, "Missing the required parameter 'searchFolderId' when calling search"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/search_folders/{searchFolderId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/search_folders/{searchFolderId}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "searchFolderId" + "\\}", apiClient.escapeString(searchFolderId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "all", options.all)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "count", options.count)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "from_date", options.fromDate)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "include_recipients", options.includeRecipients)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "order", options.order)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "order_by", options.orderBy)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "start_position", options.startPosition)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "to_date", options.toDate)); + localVarQueryParams.addAll(apiClient.parameterToPair("all", options.all)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("count", options.count)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("from_date", options.fromDate)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("include_recipients", options.includeRecipients)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("order", options.order)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("order_by", options.orderBy)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("start_position", options.startPosition)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("to_date", options.toDate)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } +} diff --git a/src/main/java/com/docusign/esign/api/GroupsApi.java b/src/main/java/com/docusign/esign/api/GroupsApi.java index a96b7bae..2f4db0e1 100644 --- a/src/main/java/com/docusign/esign/api/GroupsApi.java +++ b/src/main/java/com/docusign/esign/api/GroupsApi.java @@ -1,44 +1,60 @@ + package com.docusign.esign.api; -import com.sun.jersey.api.client.GenericType; +import javax.ws.rs.core.GenericType; import com.docusign.esign.client.ApiException; import com.docusign.esign.client.ApiClient; import com.docusign.esign.client.Configuration; +import com.docusign.esign.model.*; import com.docusign.esign.client.Pair; -import com.docusign.esign.model.BrandsRequest; -import com.docusign.esign.model.BrandsResponse; -import com.docusign.esign.model.ErrorDetails; -import com.docusign.esign.model.GroupInformation; -import com.docusign.esign.model.UserInfoList; -import com.docusign.esign.model.UsersResponse; - - public class GroupsApi { +/** + * GroupsApi class. + * + **/ +public class GroupsApi { private ApiClient apiClient; + /** + * GroupsApi. + * + **/ public GroupsApi() { - this(Configuration.getDefaultApiClient()); + this(Configuration.getDefaultApiClient()); } + /** + * GroupsApi. + * + **/ public GroupsApi(ApiClient apiClient) { - this.apiClient = apiClient; + this.apiClient = apiClient; } + /** + * getApiClient Method. + * + * @return ApiClient + **/ public ApiClient getApiClient() { - return apiClient; + return apiClient; } + /** + * setApiClient Method. + * + **/ public void setApiClient(ApiClient apiClient) { - this.apiClient = apiClient; + this.apiClient = apiClient; } /** - * Creates one or more groups for the account. + * Creates one or more groups for the account.. * Creates one or more groups for the account. Groups can be used to help manage users by associating users with a group. You can associate a group with a Permission Profile, which sets the user permissions for users in that group without having to set the `userSettings` property for each user. You are not required to set Permission Profiles for a group, but it makes it easier to manage user permissions for a large number of users. You can also use groups with template sharing to limit user access to templates. * @param accountId The external account number (int) or account ID Guid. (required) * @param groupInformation (optional) @@ -48,92 +64,100 @@ public void setApiClient(ApiClient apiClient) { public GroupInformation createGroups(String accountId, GroupInformation groupInformation) throws ApiException { Object localVarPostBody = groupInformation; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling createGroups"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/groups".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/groups" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Deletes brand information from the requested group. + * Deletes brand information from the requested group.. * Deletes brand information from the requested group. * @param accountId The external account number (int) or account ID Guid. (required) * @param groupId The ID of the group being accessed. (required) * @param brandsRequest (optional) - * @return BrandsResponse + * @return GroupBrands * @throws ApiException if fails to make API call */ - public BrandsResponse deleteBrands(String accountId, String groupId, BrandsRequest brandsRequest) throws ApiException { + public GroupBrands deleteBrands(String accountId, String groupId, BrandsRequest brandsRequest) throws ApiException { Object localVarPostBody = brandsRequest; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling deleteBrands"); - } + } - // verify the required parameter 'groupId' is set - if (groupId == null) { + // verify the required parameter 'groupId' is set + if (groupId == null) { throw new ApiException(400, "Missing the required parameter 'groupId' when calling deleteBrands"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/groups/{groupId}/brands".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/groups/{groupId}/brands" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "groupId" + "\\}", apiClient.escapeString(groupId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Deletes one or more users from a gro + * Deletes one or more users from a gro. * Deletes one or more users from a group. * @param accountId The external account number (int) or account ID Guid. (required) * @param groupId The ID of the group being accessed. (required) @@ -144,47 +168,51 @@ public BrandsResponse deleteBrands(String accountId, String groupId, BrandsReque public UsersResponse deleteGroupUsers(String accountId, String groupId, UserInfoList userInfoList) throws ApiException { Object localVarPostBody = userInfoList; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling deleteGroupUsers"); - } + } - // verify the required parameter 'groupId' is set - if (groupId == null) { + // verify the required parameter 'groupId' is set + if (groupId == null) { throw new ApiException(400, "Missing the required parameter 'groupId' when calling deleteGroupUsers"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/groups/{groupId}/users".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/groups/{groupId}/users" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "groupId" + "\\}", apiClient.escapeString(groupId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Deletes an existing user group. + * Deletes an existing user group.. * Deletes an existing user group. * @param accountId The external account number (int) or account ID Guid. (required) * @param groupInformation (optional) @@ -194,119 +222,144 @@ public UsersResponse deleteGroupUsers(String accountId, String groupId, UserInfo public GroupInformation deleteGroups(String accountId, GroupInformation groupInformation) throws ApiException { Object localVarPostBody = groupInformation; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling deleteGroups"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/groups".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/groups" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Gets group brand ID Information. + * Gets group brand ID Information. . * Retrieves information about the brands associated with the requested group. * @param accountId The external account number (int) or account ID Guid. (required) * @param groupId The ID of the group being accessed. (required) - * @return BrandsResponse + * @return GroupBrands * @throws ApiException if fails to make API call */ - public BrandsResponse getBrands(String accountId, String groupId) throws ApiException { + public GroupBrands getBrands(String accountId, String groupId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getBrands"); - } + } - // verify the required parameter 'groupId' is set - if (groupId == null) { + // verify the required parameter 'groupId' is set + if (groupId == null) { throw new ApiException(400, "Missing the required parameter 'groupId' when calling getBrands"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/groups/{groupId}/brands".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/groups/{groupId}/brands" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "groupId" + "\\}", apiClient.escapeString(groupId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Gets a list of users in a group. Retrieves a list of users in a group. /// + + /** + * ListGroupUsersOptions Class. + * + **/ public class ListGroupUsersOptions { private String count = null; private String startPosition = null; - /* - * Number of records to return. The number must be greater than 1 and less than or equal to 100. - */ + + /** + * setCount method. + */ public void setCount(String count) { this.count = count; } - + + /** + * getCount method. + * + * @return String + */ public String getCount() { return this.count; } - /* - * Starting value for the list. - */ + + /** + * setStartPosition method. + */ public void setStartPosition(String startPosition) { this.startPosition = startPosition; } - + + /** + * getStartPosition method. + * + * @return String + */ public String getStartPosition() { return this.startPosition; } } /** - * Gets a list of users in a group. + * Gets a list of users in a group.. * Retrieves a list of users in a group. * @param accountId The external account number (int) or account ID Guid. (required) * @param groupId The ID of the group being accessed. (required) @@ -317,7 +370,7 @@ public UsersResponse listGroupUsers(String accountId, String groupId) throws Api } /** - * Gets a list of users in a group. + * Gets a list of users in a group.. * Retrieves a list of users in a group. * @param accountId The external account number (int) or account ID Guid. (required) * @param groupId The ID of the group being accessed. (required) @@ -328,100 +381,134 @@ public UsersResponse listGroupUsers(String accountId, String groupId) throws Api public UsersResponse listGroupUsers(String accountId, String groupId, GroupsApi.ListGroupUsersOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling listGroupUsers"); - } + } - // verify the required parameter 'groupId' is set - if (groupId == null) { + // verify the required parameter 'groupId' is set + if (groupId == null) { throw new ApiException(400, "Missing the required parameter 'groupId' when calling listGroupUsers"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/groups/{groupId}/users".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/groups/{groupId}/users" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "groupId" + "\\}", apiClient.escapeString(groupId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "count", options.count)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "start_position", options.startPosition)); + localVarQueryParams.addAll(apiClient.parameterToPair("count", options.count)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("start_position", options.startPosition)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Gets information about groups associated with the account. Retrieves information about groups associated with the account. /// + + /** + * ListGroupsOptions Class. + * + **/ public class ListGroupsOptions { private String count = null; private String groupType = null; private String searchText = null; private String startPosition = null; - /* - * Number of records to return. The number must be greater than 1 and less than or equal to 100. - */ + + /** + * setCount method. + */ public void setCount(String count) { this.count = count; } - + + /** + * getCount method. + * + * @return String + */ public String getCount() { return this.count; } - /* - * - */ + + /** + * setGroupType method. + */ public void setGroupType(String groupType) { this.groupType = groupType; } - + + /** + * getGroupType method. + * + * @return String + */ public String getGroupType() { return this.groupType; } - /* - * - */ + + /** + * setSearchText method. + */ public void setSearchText(String searchText) { this.searchText = searchText; } - + + /** + * getSearchText method. + * + * @return String + */ public String getSearchText() { return this.searchText; } - /* - * Starting value for the list. - */ + + /** + * setStartPosition method. + */ public void setStartPosition(String startPosition) { this.startPosition = startPosition; } - + + /** + * getStartPosition method. + * + * @return String + */ public String getStartPosition() { return this.startPosition; } } /** - * Gets information about groups associated with the account. + * Gets information about groups associated with the account.. * Retrieves information about groups associated with the account. * @param accountId The external account number (int) or account ID Guid. (required) * @return GroupInformation @@ -431,7 +518,7 @@ public GroupInformation listGroups(String accountId) throws ApiException { } /** - * Gets information about groups associated with the account. + * Gets information about groups associated with the account.. * Retrieves information about groups associated with the account. * @param accountId The external account number (int) or account ID Guid. (required) * @param options for modifying the method behavior. @@ -441,97 +528,108 @@ public GroupInformation listGroups(String accountId) throws ApiException { public GroupInformation listGroups(String accountId, GroupsApi.ListGroupsOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling listGroups"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/groups".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/groups" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "count", options.count)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "group_type", options.groupType)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "search_text", options.searchText)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "start_position", options.startPosition)); + localVarQueryParams.addAll(apiClient.parameterToPair("count", options.count)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("group_type", options.groupType)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("search_text", options.searchText)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("start_position", options.startPosition)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Adds group brand ID information to a group. + * Adds group brand ID information to a group.. * Adds group brand ID information to a group. * @param accountId The external account number (int) or account ID Guid. (required) * @param groupId The ID of the group being accessed. (required) * @param brandsRequest (optional) - * @return BrandsResponse + * @return GroupBrands * @throws ApiException if fails to make API call */ - public BrandsResponse updateBrands(String accountId, String groupId, BrandsRequest brandsRequest) throws ApiException { + public GroupBrands updateBrands(String accountId, String groupId, BrandsRequest brandsRequest) throws ApiException { Object localVarPostBody = brandsRequest; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling updateBrands"); - } + } - // verify the required parameter 'groupId' is set - if (groupId == null) { + // verify the required parameter 'groupId' is set + if (groupId == null) { throw new ApiException(400, "Missing the required parameter 'groupId' when calling updateBrands"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/groups/{groupId}/brands".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/groups/{groupId}/brands" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "groupId" + "\\}", apiClient.escapeString(groupId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Adds one or more users to an existing group. + * Adds one or more users to an existing group.. * Adds one or more users to an existing group. * @param accountId The external account number (int) or account ID Guid. (required) * @param groupId The ID of the group being accessed. (required) @@ -542,47 +640,51 @@ public BrandsResponse updateBrands(String accountId, String groupId, BrandsReque public UsersResponse updateGroupUsers(String accountId, String groupId, UserInfoList userInfoList) throws ApiException { Object localVarPostBody = userInfoList; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling updateGroupUsers"); - } + } - // verify the required parameter 'groupId' is set - if (groupId == null) { + // verify the required parameter 'groupId' is set + if (groupId == null) { throw new ApiException(400, "Missing the required parameter 'groupId' when calling updateGroupUsers"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/groups/{groupId}/users".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/groups/{groupId}/users" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "groupId" + "\\}", apiClient.escapeString(groupId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Updates the group information for a group. + * Updates the group information for a group.. * Updates the group name and modifies, or sets, the permission profile for the group. * @param accountId The external account number (int) or account ID Guid. (required) * @param groupInformation (optional) @@ -592,36 +694,40 @@ public UsersResponse updateGroupUsers(String accountId, String groupId, UserInfo public GroupInformation updateGroups(String accountId, GroupInformation groupInformation) throws ApiException { Object localVarPostBody = groupInformation; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling updateGroups"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/groups".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/groups" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } +} diff --git a/src/main/java/com/docusign/esign/api/NotaryApi.java b/src/main/java/com/docusign/esign/api/NotaryApi.java index d1615be2..774b64c8 100644 --- a/src/main/java/com/docusign/esign/api/NotaryApi.java +++ b/src/main/java/com/docusign/esign/api/NotaryApi.java @@ -1,79 +1,122 @@ + package com.docusign.esign.api; -import com.sun.jersey.api.client.GenericType; +import javax.ws.rs.core.GenericType; import com.docusign.esign.client.ApiException; import com.docusign.esign.client.ApiClient; import com.docusign.esign.client.Configuration; +import com.docusign.esign.model.*; import com.docusign.esign.client.Pair; -import com.docusign.esign.model.ErrorDetails; -import com.docusign.esign.model.NotaryJournalList; - - public class NotaryApi { +/** + * NotaryApi class. + * + **/ +public class NotaryApi { private ApiClient apiClient; + /** + * NotaryApi. + * + **/ public NotaryApi() { - this(Configuration.getDefaultApiClient()); + this(Configuration.getDefaultApiClient()); } + /** + * NotaryApi. + * + **/ public NotaryApi(ApiClient apiClient) { - this.apiClient = apiClient; + this.apiClient = apiClient; } + /** + * getApiClient Method. + * + * @return ApiClient + **/ public ApiClient getApiClient() { - return apiClient; + return apiClient; } + /** + * setApiClient Method. + * + **/ public void setApiClient(ApiClient apiClient) { - this.apiClient = apiClient; + this.apiClient = apiClient; } /// /// Get notary jurisdictions for a user /// + + /** + * ListNotaryJournalsOptions Class. + * + **/ public class ListNotaryJournalsOptions { private String count = null; private String searchText = null; private String startPosition = null; - /* - * - */ + + /** + * setCount method. + */ public void setCount(String count) { this.count = count; } - + + /** + * getCount method. + * + * @return String + */ public String getCount() { return this.count; } - /* - * - */ + + /** + * setSearchText method. + */ public void setSearchText(String searchText) { this.searchText = searchText; } - + + /** + * getSearchText method. + * + * @return String + */ public String getSearchText() { return this.searchText; } - /* - * - */ + + /** + * setStartPosition method. + */ public void setStartPosition(String startPosition) { this.startPosition = startPosition; } - + + /** + * getStartPosition method. + * + * @return String + */ public String getStartPosition() { return this.startPosition; } } /** - * Get notary jurisdictions for a user + * Get notary jurisdictions for a user. * * @return NotaryJournalList */ @@ -82,7 +125,7 @@ public NotaryJournalList listNotaryJournals() throws ApiException { } /** - * Get notary jurisdictions for a user + * Get notary jurisdictions for a user. * * @param options for modifying the method behavior. * @return NotaryJournalList @@ -92,33 +135,39 @@ public NotaryJournalList listNotaryJournals(NotaryApi.ListNotaryJournalsOptions Object localVarPostBody = "{}"; // create path and map variables - String localVarPath = "/v2/current_user/notary/journals".replaceAll("\\{format\\}","json"); + String localVarPath = "/v2/current_user/notary/journals"; // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "count", options.count)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "search_text", options.searchText)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "start_position", options.startPosition)); + localVarQueryParams.addAll(apiClient.parameterToPair("count", options.count)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("search_text", options.searchText)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("start_position", options.startPosition)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } +} diff --git a/src/main/java/com/docusign/esign/api/OrganizationsApi.java b/src/main/java/com/docusign/esign/api/OrganizationsApi.java index d01e334f..0bb1fd34 100644 --- a/src/main/java/com/docusign/esign/api/OrganizationsApi.java +++ b/src/main/java/com/docusign/esign/api/OrganizationsApi.java @@ -1,132 +1,161 @@ + package com.docusign.esign.api; -import com.sun.jersey.api.client.GenericType; +import javax.ws.rs.core.GenericType; import com.docusign.esign.client.ApiException; import com.docusign.esign.client.ApiClient; import com.docusign.esign.client.Configuration; +import com.docusign.esign.model.*; import com.docusign.esign.client.Pair; -import com.docusign.esign.model.ErrorDetails; - - public class OrganizationsApi { +/** + * OrganizationsApi class. + * + **/ +public class OrganizationsApi { private ApiClient apiClient; + /** + * OrganizationsApi. + * + **/ public OrganizationsApi() { - this(Configuration.getDefaultApiClient()); + this(Configuration.getDefaultApiClient()); } + /** + * OrganizationsApi. + * + **/ public OrganizationsApi(ApiClient apiClient) { - this.apiClient = apiClient; + this.apiClient = apiClient; } + /** + * getApiClient Method. + * + * @return ApiClient + **/ public ApiClient getApiClient() { - return apiClient; + return apiClient; } + /** + * setApiClient Method. + * + **/ public void setApiClient(ApiClient apiClient) { - this.apiClient = apiClient; + this.apiClient = apiClient; } /** - * Retrieves an account settings comparison. + * Retrieves org level report by correlation id and site.. * * @param organizationId (required) - * @param resultId (required) + * @param reportCorrelationId (required) * @throws ApiException if fails to make API call */ - public void getAccountSettingsExport(String organizationId, String resultId) throws ApiException { + public void deleteReport(String organizationId, String reportCorrelationId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'organizationId' is set - if (organizationId == null) { - throw new ApiException(400, "Missing the required parameter 'organizationId' when calling getAccountSettingsExport"); - } + // verify the required parameter 'organizationId' is set + if (organizationId == null) { + throw new ApiException(400, "Missing the required parameter 'organizationId' when calling deleteReport"); + } - // verify the required parameter 'resultId' is set - if (resultId == null) { - throw new ApiException(400, "Missing the required parameter 'resultId' when calling getAccountSettingsExport"); - } + // verify the required parameter 'reportCorrelationId' is set + if (reportCorrelationId == null) { + throw new ApiException(400, "Missing the required parameter 'reportCorrelationId' when calling deleteReport"); + } // create path and map variables - String localVarPath = "/v2/organization_exports/{organizationId}/account_settings/{resultId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/organization_reporting/{organizationId}/reports/{reportCorrelationId}" .replaceAll("\\{" + "organizationId" + "\\}", apiClient.escapeString(organizationId.toString())) - .replaceAll("\\{" + "resultId" + "\\}", apiClient.escapeString(resultId.toString())); + .replaceAll("\\{" + "reportCorrelationId" + "\\}", apiClient.escapeString(reportCorrelationId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); - } + + apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); + } /** - * Retrieves an attachment from the envelope. + * Retrieves org level report by correlation id and site.. * * @param organizationId (required) - * @param resultId (required) + * @param reportCorrelationId (required) * @throws ApiException if fails to make API call */ - public void getUserListExport(String organizationId, String resultId) throws ApiException { + public void getReport(String organizationId, String reportCorrelationId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'organizationId' is set - if (organizationId == null) { - throw new ApiException(400, "Missing the required parameter 'organizationId' when calling getUserListExport"); - } + // verify the required parameter 'organizationId' is set + if (organizationId == null) { + throw new ApiException(400, "Missing the required parameter 'organizationId' when calling getReport"); + } - // verify the required parameter 'resultId' is set - if (resultId == null) { - throw new ApiException(400, "Missing the required parameter 'resultId' when calling getUserListExport"); - } + // verify the required parameter 'reportCorrelationId' is set + if (reportCorrelationId == null) { + throw new ApiException(400, "Missing the required parameter 'reportCorrelationId' when calling getReport"); + } // create path and map variables - String localVarPath = "/v2/organization_exports/{organizationId}/user_list/{resultId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/organization_reporting/{organizationId}/reports/{reportCorrelationId}" .replaceAll("\\{" + "organizationId" + "\\}", apiClient.escapeString(organizationId.toString())) - .replaceAll("\\{" + "resultId" + "\\}", apiClient.escapeString(resultId.toString())); + .replaceAll("\\{" + "reportCorrelationId" + "\\}", apiClient.escapeString(reportCorrelationId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); - } - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + + apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); + } +} diff --git a/src/main/java/com/docusign/esign/api/PowerFormsApi.java b/src/main/java/com/docusign/esign/api/PowerFormsApi.java index 16d39cbb..53a31e5f 100644 --- a/src/main/java/com/docusign/esign/api/PowerFormsApi.java +++ b/src/main/java/com/docusign/esign/api/PowerFormsApi.java @@ -1,44 +1,60 @@ + package com.docusign.esign.api; -import com.sun.jersey.api.client.GenericType; +import javax.ws.rs.core.GenericType; import com.docusign.esign.client.ApiException; import com.docusign.esign.client.ApiClient; import com.docusign.esign.client.Configuration; +import com.docusign.esign.model.*; import com.docusign.esign.client.Pair; -import com.docusign.esign.model.ErrorDetails; -import com.docusign.esign.model.PowerForm; -import com.docusign.esign.model.PowerFormSendersResponse; -import com.docusign.esign.model.PowerFormsFormDataResponse; -import com.docusign.esign.model.PowerFormsRequest; -import com.docusign.esign.model.PowerFormsResponse; - - public class PowerFormsApi { +/** + * PowerFormsApi class. + * + **/ +public class PowerFormsApi { private ApiClient apiClient; + /** + * PowerFormsApi. + * + **/ public PowerFormsApi() { - this(Configuration.getDefaultApiClient()); + this(Configuration.getDefaultApiClient()); } + /** + * PowerFormsApi. + * + **/ public PowerFormsApi(ApiClient apiClient) { - this.apiClient = apiClient; + this.apiClient = apiClient; } + /** + * getApiClient Method. + * + * @return ApiClient + **/ public ApiClient getApiClient() { - return apiClient; + return apiClient; } + /** + * setApiClient Method. + * + **/ public void setApiClient(ApiClient apiClient) { - this.apiClient = apiClient; + this.apiClient = apiClient; } /** - * Creates a new PowerForm. + * Creates a new PowerForm.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param powerForm (optional) @@ -48,41 +64,45 @@ public void setApiClient(ApiClient apiClient) { public PowerForm createPowerForm(String accountId, PowerForm powerForm) throws ApiException { Object localVarPostBody = powerForm; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling createPowerForm"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/powerforms".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/powerforms" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Delete a PowerForm. + * Delete a PowerForm.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param powerFormId (required) @@ -91,47 +111,51 @@ public PowerForm createPowerForm(String accountId, PowerForm powerForm) throws A public void deletePowerForm(String accountId, String powerFormId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling deletePowerForm"); - } + } - // verify the required parameter 'powerFormId' is set - if (powerFormId == null) { + // verify the required parameter 'powerFormId' is set + if (powerFormId == null) { throw new ApiException(400, "Missing the required parameter 'powerFormId' when calling deletePowerForm"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/powerforms/{powerFormId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/powerforms/{powerFormId}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "powerFormId" + "\\}", apiClient.escapeString(powerFormId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + + apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); + } /** - * Deletes one or more PowerForms + * Deletes one or more PowerForms. * * @param accountId The external account number (int) or account ID Guid. (required) * @param powerFormsRequest (optional) @@ -141,41 +165,45 @@ public void deletePowerForm(String accountId, String powerFormId) throws ApiExce public PowerFormsResponse deletePowerForms(String accountId, PowerFormsRequest powerFormsRequest) throws ApiException { Object localVarPostBody = powerFormsRequest; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling deletePowerForms"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/powerforms".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/powerforms" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Returns a single PowerForm. + * Returns a single PowerForm.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param powerFormId (required) @@ -185,86 +213,113 @@ public PowerFormsResponse deletePowerForms(String accountId, PowerFormsRequest p public PowerForm getPowerForm(String accountId, String powerFormId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getPowerForm"); - } + } - // verify the required parameter 'powerFormId' is set - if (powerFormId == null) { + // verify the required parameter 'powerFormId' is set + if (powerFormId == null) { throw new ApiException(400, "Missing the required parameter 'powerFormId' when calling getPowerForm"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/powerforms/{powerFormId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/powerforms/{powerFormId}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "powerFormId" + "\\}", apiClient.escapeString(powerFormId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Returns the form data associated with the usage of a PowerForm. /// + + /** + * GetPowerFormDataOptions Class. + * + **/ public class GetPowerFormDataOptions { private String dataLayout = null; private String fromDate = null; private String toDate = null; - /* - * - */ + + /** + * setDataLayout method. + */ public void setDataLayout(String dataLayout) { this.dataLayout = dataLayout; } - + + /** + * getDataLayout method. + * + * @return String + */ public String getDataLayout() { return this.dataLayout; } - /* - * - */ + + /** + * setFromDate method. + */ public void setFromDate(String fromDate) { this.fromDate = fromDate; } - + + /** + * getFromDate method. + * + * @return String + */ public String getFromDate() { return this.fromDate; } - /* - * - */ + + /** + * setToDate method. + */ public void setToDate(String toDate) { this.toDate = toDate; } - + + /** + * getToDate method. + * + * @return String + */ public String getToDate() { return this.toDate; } } /** - * Returns the form data associated with the usage of a PowerForm. + * Returns the form data associated with the usage of a PowerForm.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param powerFormId (required) @@ -275,7 +330,7 @@ public PowerFormsFormDataResponse getPowerFormData(String accountId, String powe } /** - * Returns the form data associated with the usage of a PowerForm. + * Returns the form data associated with the usage of a PowerForm.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param powerFormId (required) @@ -286,68 +341,85 @@ public PowerFormsFormDataResponse getPowerFormData(String accountId, String powe public PowerFormsFormDataResponse getPowerFormData(String accountId, String powerFormId, PowerFormsApi.GetPowerFormDataOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getPowerFormData"); - } + } - // verify the required parameter 'powerFormId' is set - if (powerFormId == null) { + // verify the required parameter 'powerFormId' is set + if (powerFormId == null) { throw new ApiException(400, "Missing the required parameter 'powerFormId' when calling getPowerFormData"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/powerforms/{powerFormId}/form_data".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/powerforms/{powerFormId}/form_data" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "powerFormId" + "\\}", apiClient.escapeString(powerFormId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "data_layout", options.dataLayout)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "from_date", options.fromDate)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "to_date", options.toDate)); + localVarQueryParams.addAll(apiClient.parameterToPair("data_layout", options.dataLayout)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("from_date", options.fromDate)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("to_date", options.toDate)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Returns the list of PowerForms available to the user. /// + + /** + * ListPowerFormSendersOptions Class. + * + **/ public class ListPowerFormSendersOptions { private String startPosition = null; - /* - * - */ + + /** + * setStartPosition method. + */ public void setStartPosition(String startPosition) { this.startPosition = startPosition; } - + + /** + * getStartPosition method. + * + * @return String + */ public String getStartPosition() { return this.startPosition; } } /** - * Returns the list of PowerForms available to the user. + * Returns the list of PowerForms available to the user.. * * @param accountId The external account number (int) or account ID Guid. (required) * @return PowerFormSendersResponse @@ -357,7 +429,7 @@ public PowerFormSendersResponse listPowerFormSenders(String accountId) throws Ap } /** - * Returns the list of PowerForms available to the user. + * Returns the list of PowerForms available to the user.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param options for modifying the method behavior. @@ -367,93 +439,126 @@ public PowerFormSendersResponse listPowerFormSenders(String accountId) throws Ap public PowerFormSendersResponse listPowerFormSenders(String accountId, PowerFormsApi.ListPowerFormSendersOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling listPowerFormSenders"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/powerforms/senders".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/powerforms/senders" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "start_position", options.startPosition)); + localVarQueryParams.addAll(apiClient.parameterToPair("start_position", options.startPosition)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Returns the list of PowerForms available to the user. /// + + /** + * ListPowerFormsOptions Class. + * + **/ public class ListPowerFormsOptions { private String fromDate = null; private String order = null; private String orderBy = null; private String toDate = null; - /* - * - */ + + /** + * setFromDate method. + */ public void setFromDate(String fromDate) { this.fromDate = fromDate; } - + + /** + * getFromDate method. + * + * @return String + */ public String getFromDate() { return this.fromDate; } - /* - * - */ + + /** + * setOrder method. + */ public void setOrder(String order) { this.order = order; } - + + /** + * getOrder method. + * + * @return String + */ public String getOrder() { return this.order; } - /* - * - */ + + /** + * setOrderBy method. + */ public void setOrderBy(String orderBy) { this.orderBy = orderBy; } - + + /** + * getOrderBy method. + * + * @return String + */ public String getOrderBy() { return this.orderBy; } - /* - * - */ + + /** + * setToDate method. + */ public void setToDate(String toDate) { this.toDate = toDate; } - + + /** + * getToDate method. + * + * @return String + */ public String getToDate() { return this.toDate; } } /** - * Returns the list of PowerForms available to the user. + * Returns the list of PowerForms available to the user.. * * @param accountId The external account number (int) or account ID Guid. (required) * @return PowerFormsResponse @@ -463,7 +568,7 @@ public PowerFormsResponse listPowerForms(String accountId) throws ApiException { } /** - * Returns the list of PowerForms available to the user. + * Returns the list of PowerForms available to the user.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param options for modifying the method behavior. @@ -473,46 +578,53 @@ public PowerFormsResponse listPowerForms(String accountId) throws ApiException { public PowerFormsResponse listPowerForms(String accountId, PowerFormsApi.ListPowerFormsOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling listPowerForms"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/powerforms".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/powerforms" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "from_date", options.fromDate)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "order", options.order)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "order_by", options.orderBy)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "to_date", options.toDate)); + localVarQueryParams.addAll(apiClient.parameterToPair("from_date", options.fromDate)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("order", options.order)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("order_by", options.orderBy)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("to_date", options.toDate)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Creates a new PowerForm. + * Creates a new PowerForm.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param powerFormId (required) @@ -523,42 +635,46 @@ public PowerFormsResponse listPowerForms(String accountId, PowerFormsApi.ListPow public PowerForm updatePowerForm(String accountId, String powerFormId, PowerForm powerForm) throws ApiException { Object localVarPostBody = powerForm; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling updatePowerForm"); - } + } - // verify the required parameter 'powerFormId' is set - if (powerFormId == null) { + // verify the required parameter 'powerFormId' is set + if (powerFormId == null) { throw new ApiException(400, "Missing the required parameter 'powerFormId' when calling updatePowerForm"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/powerforms/{powerFormId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/powerforms/{powerFormId}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "powerFormId" + "\\}", apiClient.escapeString(powerFormId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } +} diff --git a/src/main/java/com/docusign/esign/api/SignatureApi.java b/src/main/java/com/docusign/esign/api/SignatureApi.java new file mode 100644 index 00000000..fbc1fda6 --- /dev/null +++ b/src/main/java/com/docusign/esign/api/SignatureApi.java @@ -0,0 +1,236 @@ + +package com.docusign.esign.api; + +import javax.ws.rs.core.GenericType; + +import com.docusign.esign.client.ApiException; +import com.docusign.esign.client.ApiClient; +import com.docusign.esign.client.Configuration; +import com.docusign.esign.model.*; +import com.docusign.esign.client.Pair; + + + +public class SignatureApi { + private ApiClient apiClient; + + public SignatureApi() { + this(Configuration.getDefaultApiClient()); + } + + public SignatureApi(ApiClient apiClient) { + this.apiClient = apiClient; + } + + public ApiClient getApiClient() { + return apiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.apiClient = apiClient; + } + + + /** + * Complete Sign Hash + * + * @param completeSignRequest (optional) + * @return CompleteSignHashResponse + * @throws ApiException if fails to make API call + */ + public CompleteSignHashResponse completeSignHash(CompleteSignRequest completeSignRequest) throws ApiException { + Object localVarPostBody = completeSignRequest; + + // create path and map variables + String localVarPath = "/v2/signature/completesignhash"; + + // query params + java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); + java.util.Map localVarHeaderParams = new java.util.HashMap(); + java.util.Map localVarFormParams = new java.util.HashMap(); + + + + + + + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } + + /** + * Get User Info To Sign Document + * + * @return UserInfoResponse + * @throws ApiException if fails to make API call + */ + public UserInfoResponse getUserInfo() throws ApiException { + Object localVarPostBody = "{}"; + + // create path and map variables + String localVarPath = "/v2/signature/userInfo"; + + // query params + java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); + java.util.Map localVarHeaderParams = new java.util.HashMap(); + java.util.Map localVarFormParams = new java.util.HashMap(); + + + + + + + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } + + /** + * Report status from the TSP to DocuSign + * + * @param tspHealthCheckRequest (optional) + * @throws ApiException if fails to make API call + */ + public void healthCheck(TspHealthCheckRequest tspHealthCheckRequest) throws ApiException { + Object localVarPostBody = tspHealthCheckRequest; + + // create path and map variables + String localVarPath = "/v2/signature/healthcheck"; + + // query params + java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); + java.util.Map localVarHeaderParams = new java.util.HashMap(); + java.util.Map localVarFormParams = new java.util.HashMap(); + + + + + + + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + + apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); + } + + /** + * Get Signature Session Info To Sign Document Hash + * + * @param signSessionInfoRequest (optional) + * @return SignHashSessionInfoResponse + * @throws ApiException if fails to make API call + */ + public SignHashSessionInfoResponse signHashSessionInfo(SignSessionInfoRequest signSessionInfoRequest) throws ApiException { + Object localVarPostBody = signSessionInfoRequest; + + // create path and map variables + String localVarPath = "/v2/signature/signhashsessioninfo"; + + // query params + java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); + java.util.Map localVarHeaderParams = new java.util.HashMap(); + java.util.Map localVarFormParams = new java.util.HashMap(); + + + + + + + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } + + /** + * Report an error from the tsp to docusign + * + * @param updateTransactionRequest (optional) + * @return UpdateTransactionResponse + * @throws ApiException if fails to make API call + */ + public UpdateTransactionResponse updateTransaction(UpdateTransactionRequest updateTransactionRequest) throws ApiException { + Object localVarPostBody = updateTransactionRequest; + + // create path and map variables + String localVarPath = "/v2/signature/updatetransaction"; + + // query params + java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); + java.util.Map localVarHeaderParams = new java.util.HashMap(); + java.util.Map localVarFormParams = new java.util.HashMap(); + + + + + + + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } +} diff --git a/src/main/java/com/docusign/esign/api/SigningGroupsApi.java b/src/main/java/com/docusign/esign/api/SigningGroupsApi.java index 9481995e..942a62aa 100644 --- a/src/main/java/com/docusign/esign/api/SigningGroupsApi.java +++ b/src/main/java/com/docusign/esign/api/SigningGroupsApi.java @@ -1,42 +1,167 @@ + package com.docusign.esign.api; -import com.sun.jersey.api.client.GenericType; +import javax.ws.rs.core.GenericType; import com.docusign.esign.client.ApiException; import com.docusign.esign.client.ApiClient; import com.docusign.esign.client.Configuration; +import com.docusign.esign.model.*; import com.docusign.esign.client.Pair; -import com.docusign.esign.model.ErrorDetails; -import com.docusign.esign.model.SigningGroup; -import com.docusign.esign.model.SigningGroupInformation; -import com.docusign.esign.model.SigningGroupUsers; - - public class SigningGroupsApi { +/** + * SigningGroupsApi class. + * + **/ +public class SigningGroupsApi { private ApiClient apiClient; + /** + * SigningGroupsApi. + * + **/ public SigningGroupsApi() { - this(Configuration.getDefaultApiClient()); + this(Configuration.getDefaultApiClient()); } + /** + * SigningGroupsApi. + * + **/ public SigningGroupsApi(ApiClient apiClient) { - this.apiClient = apiClient; + this.apiClient = apiClient; } + /** + * getApiClient Method. + * + * @return ApiClient + **/ public ApiClient getApiClient() { - return apiClient; + return apiClient; } + /** + * setApiClient Method. + * + **/ public void setApiClient(ApiClient apiClient) { - this.apiClient = apiClient; + this.apiClient = apiClient; + } + + /// + /// Gets a list of the Signing Groups in an account. Retrieves a list of all signing groups in the specified account. + /// + + /** + * CallListOptions Class. + * + **/ + public class CallListOptions + { + private String groupType = null; + private String includeUsers = null; + + /** + * setGroupType method. + */ + public void setGroupType(String groupType) { + this.groupType = groupType; + } + + /** + * getGroupType method. + * + * @return String + */ + public String getGroupType() { + return this.groupType; + } + + /** + * setIncludeUsers method. + */ + public void setIncludeUsers(String includeUsers) { + this.includeUsers = includeUsers; + } + + /** + * getIncludeUsers method. + * + * @return String + */ + public String getIncludeUsers() { + return this.includeUsers; + } + } + + /** + * Gets a list of the Signing Groups in an account.. + * Retrieves a list of all signing groups in the specified account. + * @param accountId The external account number (int) or account ID Guid. (required) + * @return SigningGroupInformation + */ + public SigningGroupInformation callList(String accountId) throws ApiException { + return callList(accountId, null); } + /** + * Gets a list of the Signing Groups in an account.. + * Retrieves a list of all signing groups in the specified account. + * @param accountId The external account number (int) or account ID Guid. (required) + * @param options for modifying the method behavior. + * @return SigningGroupInformation + * @throws ApiException if fails to make API call + */ + public SigningGroupInformation callList(String accountId, SigningGroupsApi.CallListOptions options) throws ApiException { + Object localVarPostBody = "{}"; + + // verify the required parameter 'accountId' is set + if (accountId == null) { + throw new ApiException(400, "Missing the required parameter 'accountId' when calling callList"); + } + + // create path and map variables + String localVarPath = "/v2/accounts/{accountId}/signing_groups" + .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); + + // query params + java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); + java.util.Map localVarHeaderParams = new java.util.HashMap(); + java.util.Map localVarFormParams = new java.util.HashMap(); + + if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("group_type", options.groupType)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("include_users", options.includeUsers)); + } + + + + + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Creates a signing group. + * Creates a signing group. . * Creates one or more signing groups. Multiple signing groups can be created in one call. Only users with account administrator privileges can create signing groups. An account can have a maximum of 50 signing groups. Each signing group can have a maximum of 50 group members. Signing groups can be used by any account user. * @param accountId The external account number (int) or account ID Guid. (required) * @param signingGroupInformation (optional) @@ -46,41 +171,45 @@ public void setApiClient(ApiClient apiClient) { public SigningGroupInformation createList(String accountId, SigningGroupInformation signingGroupInformation) throws ApiException { Object localVarPostBody = signingGroupInformation; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling createList"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/signing_groups".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/signing_groups" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Deletes one or more signing groups. + * Deletes one or more signing groups.. * Deletes one or more signing groups in the specified account. * @param accountId The external account number (int) or account ID Guid. (required) * @param signingGroupInformation (optional) @@ -90,41 +219,45 @@ public SigningGroupInformation createList(String accountId, SigningGroupInformat public SigningGroupInformation deleteList(String accountId, SigningGroupInformation signingGroupInformation) throws ApiException { Object localVarPostBody = signingGroupInformation; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling deleteList"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/signing_groups".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/signing_groups" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Deletes one or more members from a signing group. + * Deletes one or more members from a signing group.. * Deletes one or more members from the specified signing group. * @param accountId The external account number (int) or account ID Guid. (required) * @param signingGroupId (required) @@ -135,47 +268,51 @@ public SigningGroupInformation deleteList(String accountId, SigningGroupInformat public SigningGroupUsers deleteUsers(String accountId, String signingGroupId, SigningGroupUsers signingGroupUsers) throws ApiException { Object localVarPostBody = signingGroupUsers; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling deleteUsers"); - } + } - // verify the required parameter 'signingGroupId' is set - if (signingGroupId == null) { + // verify the required parameter 'signingGroupId' is set + if (signingGroupId == null) { throw new ApiException(400, "Missing the required parameter 'signingGroupId' when calling deleteUsers"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/signing_groups/{signingGroupId}/users".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/signing_groups/{signingGroupId}/users" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "signingGroupId" + "\\}", apiClient.escapeString(signingGroupId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Gets information about a signing group. + * Gets information about a signing group. . * Retrieves information, including group member information, for the specified signing group. * @param accountId The external account number (int) or account ID Guid. (required) * @param signingGroupId (required) @@ -185,132 +322,51 @@ public SigningGroupUsers deleteUsers(String accountId, String signingGroupId, Si public SigningGroup get(String accountId, String signingGroupId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling get"); - } + } - // verify the required parameter 'signingGroupId' is set - if (signingGroupId == null) { + // verify the required parameter 'signingGroupId' is set + if (signingGroupId == null) { throw new ApiException(400, "Missing the required parameter 'signingGroupId' when calling get"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/signing_groups/{signingGroupId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/signing_groups/{signingGroupId}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "signingGroupId" + "\\}", apiClient.escapeString(signingGroupId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); - - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; - - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } - /// - /// Gets a list of the Signing Groups in an account. Retrieves a list of all signing groups in the specified account. - /// - public class ListOptions - { - private String groupType = null; - private String includeUsers = null; - /* - * - */ - public void setGroupType(String groupType) { - this.groupType = groupType; - } - - public String getGroupType() { - return this.groupType; - } - /* - * When set to **true**, the response includes the signing group members. - */ - public void setIncludeUsers(String includeUsers) { - this.includeUsers = includeUsers; - } - - public String getIncludeUsers() { - return this.includeUsers; - } - } - - /** - * Gets a list of the Signing Groups in an account. - * Retrieves a list of all signing groups in the specified account. - * @param accountId The external account number (int) or account ID Guid. (required) - * @return SigningGroupInformation - */ - public SigningGroupInformation list(String accountId) throws ApiException { - return list(accountId, null); - } - /** - * Gets a list of the Signing Groups in an account. - * Retrieves a list of all signing groups in the specified account. - * @param accountId The external account number (int) or account ID Guid. (required) - * @param options for modifying the method behavior. - * @return SigningGroupInformation - * @throws ApiException if fails to make API call - */ - public SigningGroupInformation list(String accountId, SigningGroupsApi.ListOptions options) throws ApiException { - Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { - throw new ApiException(400, "Missing the required parameter 'accountId' when calling list"); - } - - // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/signing_groups".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); - // query params - java.util.List localVarQueryParams = new java.util.ArrayList(); - java.util.Map localVarHeaderParams = new java.util.HashMap(); - java.util.Map localVarFormParams = new java.util.HashMap(); - - if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "group_type", options.groupType)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "include_users", options.includeUsers)); - } - - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Gets a list of members in a Signing Group. + * Gets a list of members in a Signing Group.. * Retrieves the list of members in the specified Signing Group. * @param accountId The external account number (int) or account ID Guid. (required) * @param signingGroupId (required) @@ -320,47 +376,51 @@ public SigningGroupInformation list(String accountId, SigningGroupsApi.ListOptio public SigningGroupUsers listUsers(String accountId, String signingGroupId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling listUsers"); - } + } - // verify the required parameter 'signingGroupId' is set - if (signingGroupId == null) { + // verify the required parameter 'signingGroupId' is set + if (signingGroupId == null) { throw new ApiException(400, "Missing the required parameter 'signingGroupId' when calling listUsers"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/signing_groups/{signingGroupId}/users".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/signing_groups/{signingGroupId}/users" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "signingGroupId" + "\\}", apiClient.escapeString(signingGroupId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Updates a signing group. + * Updates a signing group. . * Updates signing group name and member information. You can also add new members to the signing group. A signing group can have a maximum of 50 members. * @param accountId The external account number (int) or account ID Guid. (required) * @param signingGroupId (required) @@ -371,47 +431,51 @@ public SigningGroupUsers listUsers(String accountId, String signingGroupId) thro public SigningGroup update(String accountId, String signingGroupId, SigningGroup signingGroup) throws ApiException { Object localVarPostBody = signingGroup; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling update"); - } + } - // verify the required parameter 'signingGroupId' is set - if (signingGroupId == null) { + // verify the required parameter 'signingGroupId' is set + if (signingGroupId == null) { throw new ApiException(400, "Missing the required parameter 'signingGroupId' when calling update"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/signing_groups/{signingGroupId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/signing_groups/{signingGroupId}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "signingGroupId" + "\\}", apiClient.escapeString(signingGroupId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Updates signing group names. + * Updates signing group names.. * Updates the name of one or more existing signing groups. * @param accountId The external account number (int) or account ID Guid. (required) * @param signingGroupInformation (optional) @@ -421,41 +485,45 @@ public SigningGroup update(String accountId, String signingGroupId, SigningGroup public SigningGroupInformation updateList(String accountId, SigningGroupInformation signingGroupInformation) throws ApiException { Object localVarPostBody = signingGroupInformation; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling updateList"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/signing_groups".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/signing_groups" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Adds members to a signing group. + * Adds members to a signing group. . * Adds one or more new members to a signing group. A signing group can have a maximum of 50 members. * @param accountId The external account number (int) or account ID Guid. (required) * @param signingGroupId (required) @@ -466,42 +534,46 @@ public SigningGroupInformation updateList(String accountId, SigningGroupInformat public SigningGroupUsers updateUsers(String accountId, String signingGroupId, SigningGroupUsers signingGroupUsers) throws ApiException { Object localVarPostBody = signingGroupUsers; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling updateUsers"); - } + } - // verify the required parameter 'signingGroupId' is set - if (signingGroupId == null) { + // verify the required parameter 'signingGroupId' is set + if (signingGroupId == null) { throw new ApiException(400, "Missing the required parameter 'signingGroupId' when calling updateUsers"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/signing_groups/{signingGroupId}/users".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/signing_groups/{signingGroupId}/users" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "signingGroupId" + "\\}", apiClient.escapeString(signingGroupId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } +} diff --git a/src/main/java/com/docusign/esign/api/TemplatesApi.java b/src/main/java/com/docusign/esign/api/TemplatesApi.java index 283c62dd..26f72aaf 100644 --- a/src/main/java/com/docusign/esign/api/TemplatesApi.java +++ b/src/main/java/com/docusign/esign/api/TemplatesApi.java @@ -1,70 +1,60 @@ + package com.docusign.esign.api; -import com.sun.jersey.api.client.GenericType; +import javax.ws.rs.core.GenericType; import com.docusign.esign.client.ApiException; import com.docusign.esign.client.ApiClient; import com.docusign.esign.client.Configuration; +import com.docusign.esign.model.*; import com.docusign.esign.client.Pair; -import com.docusign.esign.model.BulkRecipientsRequest; -import com.docusign.esign.model.BulkRecipientsResponse; -import com.docusign.esign.model.BulkRecipientsSummaryResponse; -import com.docusign.esign.model.BulkRecipientsUpdateResponse; -import com.docusign.esign.model.CustomFields; -import com.docusign.esign.model.DocumentFieldsInformation; -import com.docusign.esign.model.DocumentHtmlDefinition; -import com.docusign.esign.model.DocumentHtmlDefinitionOriginals; -import com.docusign.esign.model.DocumentHtmlDefinitions; -import com.docusign.esign.model.EnvelopeDefinition; -import com.docusign.esign.model.EnvelopeDocument; -import com.docusign.esign.model.EnvelopeTemplate; -import com.docusign.esign.model.EnvelopeTemplateResults; -import com.docusign.esign.model.ErrorDetails; -import com.docusign.esign.model.GroupInformation; -import com.docusign.esign.model.LockInformation; -import com.docusign.esign.model.LockRequest; -import com.docusign.esign.model.Notification; -import com.docusign.esign.model.PageImages; -import com.docusign.esign.model.PageRequest; -import com.docusign.esign.model.Recipients; -import com.docusign.esign.model.RecipientsUpdateSummary; -import com.docusign.esign.model.ReturnUrlRequest; -import com.docusign.esign.model.Tabs; -import com.docusign.esign.model.TemplateCustomFields; -import com.docusign.esign.model.TemplateDocumentsResult; -import com.docusign.esign.model.TemplateNotificationRequest; -import com.docusign.esign.model.TemplateRecipients; -import com.docusign.esign.model.TemplateSummary; -import com.docusign.esign.model.TemplateTabs; -import com.docusign.esign.model.TemplateUpdateSummary; -import com.docusign.esign.model.ViewUrl; - - - - - public class TemplatesApi { + + + +/** + * TemplatesApi class. + * + **/ +public class TemplatesApi { private ApiClient apiClient; + /** + * TemplatesApi. + * + **/ public TemplatesApi() { - this(Configuration.getDefaultApiClient()); + this(Configuration.getDefaultApiClient()); } + /** + * TemplatesApi. + * + **/ public TemplatesApi(ApiClient apiClient) { - this.apiClient = apiClient; + this.apiClient = apiClient; } + /** + * getApiClient Method. + * + * @return ApiClient + **/ public ApiClient getApiClient() { - return apiClient; + return apiClient; } + /** + * setApiClient Method. + * + **/ public void setApiClient(ApiClient apiClient) { - this.apiClient = apiClient; + this.apiClient = apiClient; } /** - * Creates custom document fields in an existing template document. + * Creates custom document fields in an existing template document.. * Creates custom document fields in an existing template document. * @param accountId The external account number (int) or account ID Guid. (required) * @param templateId The ID of the template being accessed. (required) @@ -75,47 +65,51 @@ public void setApiClient(ApiClient apiClient) { public CustomFields createCustomFields(String accountId, String templateId, TemplateCustomFields templateCustomFields) throws ApiException { Object localVarPostBody = templateCustomFields; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling createCustomFields"); - } + } - // verify the required parameter 'templateId' is set - if (templateId == null) { + // verify the required parameter 'templateId' is set + if (templateId == null) { throw new ApiException(400, "Missing the required parameter 'templateId' when calling createCustomFields"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/custom_fields".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/custom_fields" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "templateId" + "\\}", apiClient.escapeString(templateId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Creates custom document fields in an existing template document. + * Creates custom document fields in an existing template document.. * Creates custom document fields in an existing template document. * @param accountId The external account number (int) or account ID Guid. (required) * @param templateId The ID of the template being accessed. (required) @@ -127,53 +121,57 @@ public CustomFields createCustomFields(String accountId, String templateId, Temp public DocumentFieldsInformation createDocumentFields(String accountId, String templateId, String documentId, DocumentFieldsInformation documentFieldsInformation) throws ApiException { Object localVarPostBody = documentFieldsInformation; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling createDocumentFields"); - } + } - // verify the required parameter 'templateId' is set - if (templateId == null) { + // verify the required parameter 'templateId' is set + if (templateId == null) { throw new ApiException(400, "Missing the required parameter 'templateId' when calling createDocumentFields"); - } + } - // verify the required parameter 'documentId' is set - if (documentId == null) { + // verify the required parameter 'documentId' is set + if (documentId == null) { throw new ApiException(400, "Missing the required parameter 'documentId' when calling createDocumentFields"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/documents/{documentId}/fields".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/documents/{documentId}/fields" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "templateId" + "\\}", apiClient.escapeString(templateId.toString())) .replaceAll("\\{" + "documentId" + "\\}", apiClient.escapeString(documentId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Provides a URL to start an edit view of the Template UI + * Provides a URL to start an edit view of the Template UI. * * @param accountId The external account number (int) or account ID Guid. (required) * @param templateId The ID of the template being accessed. (required) @@ -184,47 +182,51 @@ public DocumentFieldsInformation createDocumentFields(String accountId, String t public ViewUrl createEditView(String accountId, String templateId, ReturnUrlRequest returnUrlRequest) throws ApiException { Object localVarPostBody = returnUrlRequest; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling createEditView"); - } + } - // verify the required parameter 'templateId' is set - if (templateId == null) { + // verify the required parameter 'templateId' is set + if (templateId == null) { throw new ApiException(400, "Missing the required parameter 'templateId' when calling createEditView"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/views/edit".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/views/edit" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "templateId" + "\\}", apiClient.escapeString(templateId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Lock a template. + * Lock a template.. * Locks the specified template, and sets the time until the lock expires, to prevent other users or recipients from accessing and changing the template. ###### Note: Users must have envelope locking capability enabled to use this function (the userSetting property `canLockEnvelopes` must be set to **true** for the user). * @param accountId The external account number (int) or account ID Guid. (required) * @param templateId The ID of the template being accessed. (required) @@ -235,64 +237,79 @@ public ViewUrl createEditView(String accountId, String templateId, ReturnUrlRequ public LockInformation createLock(String accountId, String templateId, LockRequest lockRequest) throws ApiException { Object localVarPostBody = lockRequest; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling createLock"); - } + } - // verify the required parameter 'templateId' is set - if (templateId == null) { + // verify the required parameter 'templateId' is set + if (templateId == null) { throw new ApiException(400, "Missing the required parameter 'templateId' when calling createLock"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/lock".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/lock" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "templateId" + "\\}", apiClient.escapeString(templateId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Adds tabs for a recipient. Adds one or more recipients to a template. /// + + /** + * CreateRecipientsOptions Class. + * + **/ public class CreateRecipientsOptions { private String resendEnvelope = null; - /* - * - */ + + /** + * setResendEnvelope method. + */ public void setResendEnvelope(String resendEnvelope) { this.resendEnvelope = resendEnvelope; } - + + /** + * getResendEnvelope method. + * + * @return String + */ public String getResendEnvelope() { return this.resendEnvelope; } } /** - * Adds tabs for a recipient. + * Adds tabs for a recipient.. * Adds one or more recipients to a template. * @param accountId The external account number (int) or account ID Guid. (required) * @param templateId The ID of the template being accessed. (required) @@ -304,7 +321,7 @@ public Recipients createRecipients(String accountId, String templateId, Template } /** - * Adds tabs for a recipient. + * Adds tabs for a recipient.. * Adds one or more recipients to a template. * @param accountId The external account number (int) or account ID Guid. (required) * @param templateId The ID of the template being accessed. (required) @@ -316,49 +333,53 @@ public Recipients createRecipients(String accountId, String templateId, Template public Recipients createRecipients(String accountId, String templateId, TemplateRecipients templateRecipients, TemplatesApi.CreateRecipientsOptions options) throws ApiException { Object localVarPostBody = templateRecipients; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling createRecipients"); - } + } - // verify the required parameter 'templateId' is set - if (templateId == null) { + // verify the required parameter 'templateId' is set + if (templateId == null) { throw new ApiException(400, "Missing the required parameter 'templateId' when calling createRecipients"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/recipients".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/recipients" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "templateId" + "\\}", apiClient.escapeString(templateId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "resend_envelope", options.resendEnvelope)); + localVarQueryParams.addAll(apiClient.parameterToPair("resend_envelope", options.resendEnvelope)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Adds tabs for a recipient. + * Adds tabs for a recipient.. * Adds one or more tabs for a recipient. * @param accountId The external account number (int) or account ID Guid. (required) * @param templateId The ID of the template being accessed. (required) @@ -370,53 +391,57 @@ public Recipients createRecipients(String accountId, String templateId, Template public Tabs createTabs(String accountId, String templateId, String recipientId, TemplateTabs templateTabs) throws ApiException { Object localVarPostBody = templateTabs; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling createTabs"); - } + } - // verify the required parameter 'templateId' is set - if (templateId == null) { + // verify the required parameter 'templateId' is set + if (templateId == null) { throw new ApiException(400, "Missing the required parameter 'templateId' when calling createTabs"); - } + } - // verify the required parameter 'recipientId' is set - if (recipientId == null) { + // verify the required parameter 'recipientId' is set + if (recipientId == null) { throw new ApiException(400, "Missing the required parameter 'recipientId' when calling createTabs"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/recipients/{recipientId}/tabs".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/recipients/{recipientId}/tabs" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "templateId" + "\\}", apiClient.escapeString(templateId.toString())) .replaceAll("\\{" + "recipientId" + "\\}", apiClient.escapeString(recipientId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Creates an envelope from a template. + * Creates an envelope from a template.. * Creates a template definition using a multipart request. ###Template Email Subject Merge Fields Call this endpoint to insert a recipient name and email address merge fields into the email subject line when creating or sending from a template. The merge fields, based on the recipient's role name, are added to the `emailSubject` property when the template is created or when the template is used to create an envelope. After a template sender adds the name and email information for the recipient and sends the envelope, the recipient information is automatically merged into the appropriate fields in the email subject line. Both the sender and the recipients will see the information in the email subject line for any emails associated with the template. This provides an easy way for senders to organize their envelope emails without having to open an envelope to check the recipient. ###### Note: If merging the recipient information into the subject line causes the subject line to exceed 100 characters, then any characters over the 100 character limit are not included in the subject line. For cases where the recipient name or email is expected to be long, you should consider placing the merge field at the start of the email subject. To add a recipient's name in the subject line add the following text in the `emailSubject` property when creating the template or when sending an envelope from a template: [[<roleName>_UserName]] Example: `\"emailSubject\":\"[[Signer 1_UserName]], Please sign this NDA\",` To add a recipient's email address in the subject line add the following text in the `emailSubject` property when creating the template or when sending an envelope from a template: [[<roleName>_Email]] Example: `\"emailSubject\":\"[[Signer 1_Email]], Please sign this NDA\",` In both cases the <roleName> is the recipient's contents of the `roleName` property in the template. For cases where another recipient (such as an Agent, Editor, or Intermediary recipient) is entering the name and email information for the recipient included in the email subject, then [[<roleName>_UserName]] or [[<roleName>_Email]] is shown in the email subject. * @param accountId The external account number (int) or account ID Guid. (required) * @param envelopeTemplate (optional) @@ -426,41 +451,45 @@ public Tabs createTabs(String accountId, String templateId, String recipientId, public TemplateSummary createTemplate(String accountId, EnvelopeTemplate envelopeTemplate) throws ApiException { Object localVarPostBody = envelopeTemplate; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling createTemplate"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/templates".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/templates" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Post Responsive HTML Preview for a document in a template. + * Post Responsive HTML Preview for a document in a template.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param templateId The ID of the template being accessed. (required) @@ -472,53 +501,57 @@ public TemplateSummary createTemplate(String accountId, EnvelopeTemplate envelop public DocumentHtmlDefinitions createTemplateDocumentResponsiveHtmlPreview(String accountId, String templateId, String documentId, DocumentHtmlDefinition documentHtmlDefinition) throws ApiException { Object localVarPostBody = documentHtmlDefinition; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling createTemplateDocumentResponsiveHtmlPreview"); - } + } - // verify the required parameter 'templateId' is set - if (templateId == null) { + // verify the required parameter 'templateId' is set + if (templateId == null) { throw new ApiException(400, "Missing the required parameter 'templateId' when calling createTemplateDocumentResponsiveHtmlPreview"); - } + } - // verify the required parameter 'documentId' is set - if (documentId == null) { + // verify the required parameter 'documentId' is set + if (documentId == null) { throw new ApiException(400, "Missing the required parameter 'documentId' when calling createTemplateDocumentResponsiveHtmlPreview"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/documents/{documentId}/responsive_html_preview".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/documents/{documentId}/responsive_html_preview" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "templateId" + "\\}", apiClient.escapeString(templateId.toString())) .replaceAll("\\{" + "documentId" + "\\}", apiClient.escapeString(documentId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Get Responsive HTML Preview for all documents in a template. + * Get Responsive HTML Preview for all documents in a template.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param templateId The ID of the template being accessed. (required) @@ -529,47 +562,51 @@ public DocumentHtmlDefinitions createTemplateDocumentResponsiveHtmlPreview(Strin public DocumentHtmlDefinitions createTemplateResponsiveHtmlPreview(String accountId, String templateId, DocumentHtmlDefinition documentHtmlDefinition) throws ApiException { Object localVarPostBody = documentHtmlDefinition; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling createTemplateResponsiveHtmlPreview"); - } + } - // verify the required parameter 'templateId' is set - if (templateId == null) { + // verify the required parameter 'templateId' is set + if (templateId == null) { throw new ApiException(400, "Missing the required parameter 'templateId' when calling createTemplateResponsiveHtmlPreview"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/responsive_html_preview".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/responsive_html_preview" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "templateId" + "\\}", apiClient.escapeString(templateId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Deletes the bulk recipient list on a template. + * Deletes the bulk recipient list on a template.. * Deletes the bulk recipient list on a template. * @param accountId The external account number (int) or account ID Guid. (required) * @param templateId The ID of the template being accessed. (required) @@ -580,53 +617,57 @@ public DocumentHtmlDefinitions createTemplateResponsiveHtmlPreview(String accoun public BulkRecipientsUpdateResponse deleteBulkRecipients(String accountId, String templateId, String recipientId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling deleteBulkRecipients"); - } + } - // verify the required parameter 'templateId' is set - if (templateId == null) { + // verify the required parameter 'templateId' is set + if (templateId == null) { throw new ApiException(400, "Missing the required parameter 'templateId' when calling deleteBulkRecipients"); - } + } - // verify the required parameter 'recipientId' is set - if (recipientId == null) { + // verify the required parameter 'recipientId' is set + if (recipientId == null) { throw new ApiException(400, "Missing the required parameter 'recipientId' when calling deleteBulkRecipients"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/recipients/{recipientId}/bulk_recipients".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/recipients/{recipientId}/bulk_recipients" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "templateId" + "\\}", apiClient.escapeString(templateId.toString())) .replaceAll("\\{" + "recipientId" + "\\}", apiClient.escapeString(recipientId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Deletes envelope custom fields in a template. + * Deletes envelope custom fields in a template.. * Deletes envelope custom fields in a template. * @param accountId The external account number (int) or account ID Guid. (required) * @param templateId The ID of the template being accessed. (required) @@ -637,47 +678,51 @@ public BulkRecipientsUpdateResponse deleteBulkRecipients(String accountId, Strin public CustomFields deleteCustomFields(String accountId, String templateId, TemplateCustomFields templateCustomFields) throws ApiException { Object localVarPostBody = templateCustomFields; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling deleteCustomFields"); - } + } - // verify the required parameter 'templateId' is set - if (templateId == null) { + // verify the required parameter 'templateId' is set + if (templateId == null) { throw new ApiException(400, "Missing the required parameter 'templateId' when calling deleteCustomFields"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/custom_fields".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/custom_fields" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "templateId" + "\\}", apiClient.escapeString(templateId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Deletes custom document fields from an existing template document. + * Deletes custom document fields from an existing template document.. * Deletes custom document fields from an existing template document. * @param accountId The external account number (int) or account ID Guid. (required) * @param templateId The ID of the template being accessed. (required) @@ -689,53 +734,57 @@ public CustomFields deleteCustomFields(String accountId, String templateId, Temp public DocumentFieldsInformation deleteDocumentFields(String accountId, String templateId, String documentId, DocumentFieldsInformation documentFieldsInformation) throws ApiException { Object localVarPostBody = documentFieldsInformation; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling deleteDocumentFields"); - } + } - // verify the required parameter 'templateId' is set - if (templateId == null) { + // verify the required parameter 'templateId' is set + if (templateId == null) { throw new ApiException(400, "Missing the required parameter 'templateId' when calling deleteDocumentFields"); - } + } - // verify the required parameter 'documentId' is set - if (documentId == null) { + // verify the required parameter 'documentId' is set + if (documentId == null) { throw new ApiException(400, "Missing the required parameter 'documentId' when calling deleteDocumentFields"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/documents/{documentId}/fields".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/documents/{documentId}/fields" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "templateId" + "\\}", apiClient.escapeString(templateId.toString())) .replaceAll("\\{" + "documentId" + "\\}", apiClient.escapeString(documentId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Deletes a page from a document in an template. + * Deletes a page from a document in an template.. * Deletes a page from a document in a template based on the page number. * @param accountId The external account number (int) or account ID Guid. (required) * @param templateId The ID of the template being accessed. (required) @@ -747,28 +796,28 @@ public DocumentFieldsInformation deleteDocumentFields(String accountId, String t public void deleteDocumentPage(String accountId, String templateId, String documentId, String pageNumber, PageRequest pageRequest) throws ApiException { Object localVarPostBody = pageRequest; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling deleteDocumentPage"); - } + } - // verify the required parameter 'templateId' is set - if (templateId == null) { + // verify the required parameter 'templateId' is set + if (templateId == null) { throw new ApiException(400, "Missing the required parameter 'templateId' when calling deleteDocumentPage"); - } + } - // verify the required parameter 'documentId' is set - if (documentId == null) { + // verify the required parameter 'documentId' is set + if (documentId == null) { throw new ApiException(400, "Missing the required parameter 'documentId' when calling deleteDocumentPage"); - } + } - // verify the required parameter 'pageNumber' is set - if (pageNumber == null) { + // verify the required parameter 'pageNumber' is set + if (pageNumber == null) { throw new ApiException(400, "Missing the required parameter 'pageNumber' when calling deleteDocumentPage"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/documents/{documentId}/pages/{pageNumber}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/documents/{documentId}/pages/{pageNumber}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "templateId" + "\\}", apiClient.escapeString(templateId.toString())) .replaceAll("\\{" + "documentId" + "\\}", apiClient.escapeString(documentId.toString())) @@ -776,30 +825,34 @@ public void deleteDocumentPage(String accountId, String templateId, String docum // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + + apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); + } /** - * Deletes documents from a template. + * Deletes documents from a template.. * Deletes one or more documents from an existing template. * @param accountId The external account number (int) or account ID Guid. (required) * @param templateId The ID of the template being accessed. (required) @@ -810,47 +863,51 @@ public void deleteDocumentPage(String accountId, String templateId, String docum public TemplateDocumentsResult deleteDocuments(String accountId, String templateId, EnvelopeDefinition envelopeDefinition) throws ApiException { Object localVarPostBody = envelopeDefinition; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling deleteDocuments"); - } + } - // verify the required parameter 'templateId' is set - if (templateId == null) { + // verify the required parameter 'templateId' is set + if (templateId == null) { throw new ApiException(400, "Missing the required parameter 'templateId' when calling deleteDocuments"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/documents".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/documents" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "templateId" + "\\}", apiClient.escapeString(templateId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Removes a member group's sharing permissions for a template. + * Removes a member group's sharing permissions for a template.. * Removes a member group's sharing permissions for a specified template. * @param accountId The external account number (int) or account ID Guid. (required) * @param templateId The ID of the template being accessed. (required) @@ -862,53 +919,57 @@ public TemplateDocumentsResult deleteDocuments(String accountId, String template public GroupInformation deleteGroupShare(String accountId, String templateId, String templatePart, GroupInformation groupInformation) throws ApiException { Object localVarPostBody = groupInformation; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling deleteGroupShare"); - } + } - // verify the required parameter 'templateId' is set - if (templateId == null) { + // verify the required parameter 'templateId' is set + if (templateId == null) { throw new ApiException(400, "Missing the required parameter 'templateId' when calling deleteGroupShare"); - } + } - // verify the required parameter 'templatePart' is set - if (templatePart == null) { + // verify the required parameter 'templatePart' is set + if (templatePart == null) { throw new ApiException(400, "Missing the required parameter 'templatePart' when calling deleteGroupShare"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/{templatePart}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/{templatePart}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "templateId" + "\\}", apiClient.escapeString(templateId.toString())) .replaceAll("\\{" + "templatePart" + "\\}", apiClient.escapeString(templatePart.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Deletes a template lock. + * Deletes a template lock.. * Deletes the lock from the specified template. The `X-DocuSign-Edit` header must be included in the request. * @param accountId The external account number (int) or account ID Guid. (required) * @param templateId The ID of the template being accessed. (required) @@ -919,47 +980,51 @@ public GroupInformation deleteGroupShare(String accountId, String templateId, St public LockInformation deleteLock(String accountId, String templateId, LockRequest lockRequest) throws ApiException { Object localVarPostBody = lockRequest; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling deleteLock"); - } + } - // verify the required parameter 'templateId' is set - if (templateId == null) { + // verify the required parameter 'templateId' is set + if (templateId == null) { throw new ApiException(400, "Missing the required parameter 'templateId' when calling deleteLock"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/lock".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/lock" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "templateId" + "\\}", apiClient.escapeString(templateId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Deletes the specified recipient file from a template. + * Deletes the specified recipient file from a template.. * Deletes the specified recipient file from the specified template. * @param accountId The external account number (int) or account ID Guid. (required) * @param templateId The ID of the template being accessed. (required) @@ -971,53 +1036,57 @@ public LockInformation deleteLock(String accountId, String templateId, LockReque public Recipients deleteRecipient(String accountId, String templateId, String recipientId, TemplateRecipients templateRecipients) throws ApiException { Object localVarPostBody = templateRecipients; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling deleteRecipient"); - } + } - // verify the required parameter 'templateId' is set - if (templateId == null) { + // verify the required parameter 'templateId' is set + if (templateId == null) { throw new ApiException(400, "Missing the required parameter 'templateId' when calling deleteRecipient"); - } + } - // verify the required parameter 'recipientId' is set - if (recipientId == null) { + // verify the required parameter 'recipientId' is set + if (recipientId == null) { throw new ApiException(400, "Missing the required parameter 'recipientId' when calling deleteRecipient"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/recipients/{recipientId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/recipients/{recipientId}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "templateId" + "\\}", apiClient.escapeString(templateId.toString())) .replaceAll("\\{" + "recipientId" + "\\}", apiClient.escapeString(recipientId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Deletes recipients from a template. + * Deletes recipients from a template.. * Deletes one or more recipients from a template. Recipients to be deleted are listed in the request, with the `recipientId` being used as the key for deleting recipients. * @param accountId The external account number (int) or account ID Guid. (required) * @param templateId The ID of the template being accessed. (required) @@ -1028,47 +1097,51 @@ public Recipients deleteRecipient(String accountId, String templateId, String re public Recipients deleteRecipients(String accountId, String templateId, TemplateRecipients templateRecipients) throws ApiException { Object localVarPostBody = templateRecipients; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling deleteRecipients"); - } + } - // verify the required parameter 'templateId' is set - if (templateId == null) { + // verify the required parameter 'templateId' is set + if (templateId == null) { throw new ApiException(400, "Missing the required parameter 'templateId' when calling deleteRecipients"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/recipients".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/recipients" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "templateId" + "\\}", apiClient.escapeString(templateId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Deletes the tabs associated with a recipient in a template. + * Deletes the tabs associated with a recipient in a template.. * Deletes one or more tabs associated with a recipient in a template. * @param accountId The external account number (int) or account ID Guid. (required) * @param templateId The ID of the template being accessed. (required) @@ -1080,70 +1153,85 @@ public Recipients deleteRecipients(String accountId, String templateId, Template public Tabs deleteTabs(String accountId, String templateId, String recipientId, TemplateTabs templateTabs) throws ApiException { Object localVarPostBody = templateTabs; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling deleteTabs"); - } + } - // verify the required parameter 'templateId' is set - if (templateId == null) { + // verify the required parameter 'templateId' is set + if (templateId == null) { throw new ApiException(400, "Missing the required parameter 'templateId' when calling deleteTabs"); - } + } - // verify the required parameter 'recipientId' is set - if (recipientId == null) { + // verify the required parameter 'recipientId' is set + if (recipientId == null) { throw new ApiException(400, "Missing the required parameter 'recipientId' when calling deleteTabs"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/recipients/{recipientId}/tabs".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/recipients/{recipientId}/tabs" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "templateId" + "\\}", apiClient.escapeString(templateId.toString())) .replaceAll("\\{" + "recipientId" + "\\}", apiClient.escapeString(recipientId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Gets a list of templates for a specified account. Retrieves the definition of the specified template. /// + + /** + * GetOptions Class. + * + **/ public class GetOptions { private String include = null; - /* - * - */ + + /** + * setInclude method. + */ public void setInclude(String include) { this.include = include; } - + + /** + * getInclude method. + * + * @return String + */ public String getInclude() { return this.include; } } /** - * Gets a list of templates for a specified account. + * Gets a list of templates for a specified account.. * Retrieves the definition of the specified template. * @param accountId The external account number (int) or account ID Guid. (required) * @param templateId The ID of the template being accessed. (required) @@ -1154,7 +1242,7 @@ public EnvelopeTemplate get(String accountId, String templateId) throws ApiExcep } /** - * Gets a list of templates for a specified account. + * Gets a list of templates for a specified account.. * Retrieves the definition of the specified template. * @param accountId The external account number (int) or account ID Guid. (required) * @param templateId The ID of the template being accessed. (required) @@ -1165,77 +1253,98 @@ public EnvelopeTemplate get(String accountId, String templateId) throws ApiExcep public EnvelopeTemplate get(String accountId, String templateId, TemplatesApi.GetOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling get"); - } + } - // verify the required parameter 'templateId' is set - if (templateId == null) { + // verify the required parameter 'templateId' is set + if (templateId == null) { throw new ApiException(400, "Missing the required parameter 'templateId' when calling get"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "templateId" + "\\}", apiClient.escapeString(templateId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "include", options.include)); + localVarQueryParams.addAll(apiClient.parameterToPair("include", options.include)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Gets PDF documents from a template. Retrieves one or more PDF documents from the specified template. You can specify the ID of the document to retrieve or can specify `combined` to retrieve all documents in the template as one pdf. /// + + /** + * GetDocumentOptions Class. + * + **/ public class GetDocumentOptions { private String encrypt = null; private String showChanges = null; - /* - * - */ + + /** + * setEncrypt method. + */ public void setEncrypt(String encrypt) { this.encrypt = encrypt; } - + + /** + * getEncrypt method. + * + * @return String + */ public String getEncrypt() { return this.encrypt; } - /* - * - */ + + /** + * setShowChanges method. + */ public void setShowChanges(String showChanges) { this.showChanges = showChanges; } - + + /** + * getShowChanges method. + * + * @return String + */ public String getShowChanges() { return this.showChanges; } } /** - * Gets PDF documents from a template. + * Gets PDF documents from a template.. * Retrieves one or more PDF documents from the specified template. You can specify the ID of the document to retrieve or can specify `combined` to retrieve all documents in the template as one pdf. * @param accountId The external account number (int) or account ID Guid. (required) * @param templateId The ID of the template being accessed. (required) @@ -1247,7 +1356,7 @@ public byte[] getDocument(String accountId, String templateId, String documentId } /** - * Gets PDF documents from a template. + * Gets PDF documents from a template.. * Retrieves one or more PDF documents from the specified template. You can specify the ID of the document to retrieve or can specify `combined` to retrieve all documents in the template as one pdf. * @param accountId The external account number (int) or account ID Guid. (required) * @param templateId The ID of the template being accessed. (required) @@ -1259,106 +1368,140 @@ public byte[] getDocument(String accountId, String templateId, String documentId public byte[] getDocument(String accountId, String templateId, String documentId, TemplatesApi.GetDocumentOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getDocument"); - } + } - // verify the required parameter 'templateId' is set - if (templateId == null) { + // verify the required parameter 'templateId' is set + if (templateId == null) { throw new ApiException(400, "Missing the required parameter 'templateId' when calling getDocument"); - } + } - // verify the required parameter 'documentId' is set - if (documentId == null) { + // verify the required parameter 'documentId' is set + if (documentId == null) { throw new ApiException(400, "Missing the required parameter 'documentId' when calling getDocument"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/documents/{documentId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/documents/{documentId}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "templateId" + "\\}", apiClient.escapeString(templateId.toString())) .replaceAll("\\{" + "documentId" + "\\}", apiClient.escapeString(documentId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "encrypt", options.encrypt)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "show_changes", options.showChanges)); + localVarQueryParams.addAll(apiClient.parameterToPair("encrypt", options.encrypt)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("show_changes", options.showChanges)); } + - - final String[] localVarAccepts = { - "application/pdf" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/pdf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Gets a page image from a template for display. Retrieves a page image for display from the specified template. /// + + /** + * GetDocumentPageImageOptions Class. + * + **/ public class GetDocumentPageImageOptions { private String dpi = null; private String maxHeight = null; private String maxWidth = null; private String showChanges = null; - /* - * - */ + + /** + * setDpi method. + */ public void setDpi(String dpi) { this.dpi = dpi; } - + + /** + * getDpi method. + * + * @return String + */ public String getDpi() { return this.dpi; } - /* - * - */ + + /** + * setMaxHeight method. + */ public void setMaxHeight(String maxHeight) { this.maxHeight = maxHeight; } - + + /** + * getMaxHeight method. + * + * @return String + */ public String getMaxHeight() { return this.maxHeight; } - /* - * - */ + + /** + * setMaxWidth method. + */ public void setMaxWidth(String maxWidth) { this.maxWidth = maxWidth; } - + + /** + * getMaxWidth method. + * + * @return String + */ public String getMaxWidth() { return this.maxWidth; } - /* - * - */ + + /** + * setShowChanges method. + */ public void setShowChanges(String showChanges) { this.showChanges = showChanges; } - + + /** + * getShowChanges method. + * + * @return String + */ public String getShowChanges() { return this.showChanges; } } /** - * Gets a page image from a template for display. + * Gets a page image from a template for display.. * Retrieves a page image for display from the specified template. * @param accountId The external account number (int) or account ID Guid. (required) * @param templateId The ID of the template being accessed. (required) @@ -1371,7 +1514,7 @@ public byte[] getDocumentPageImage(String accountId, String templateId, String d } /** - * Gets a page image from a template for display. + * Gets a page image from a template for display.. * Retrieves a page image for display from the specified template. * @param accountId The external account number (int) or account ID Guid. (required) * @param templateId The ID of the template being accessed. (required) @@ -1384,28 +1527,28 @@ public byte[] getDocumentPageImage(String accountId, String templateId, String d public byte[] getDocumentPageImage(String accountId, String templateId, String documentId, String pageNumber, TemplatesApi.GetDocumentPageImageOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getDocumentPageImage"); - } + } - // verify the required parameter 'templateId' is set - if (templateId == null) { + // verify the required parameter 'templateId' is set + if (templateId == null) { throw new ApiException(400, "Missing the required parameter 'templateId' when calling getDocumentPageImage"); - } + } - // verify the required parameter 'documentId' is set - if (documentId == null) { + // verify the required parameter 'documentId' is set + if (documentId == null) { throw new ApiException(400, "Missing the required parameter 'documentId' when calling getDocumentPageImage"); - } + } - // verify the required parameter 'pageNumber' is set - if (pageNumber == null) { + // verify the required parameter 'pageNumber' is set + if (pageNumber == null) { throw new ApiException(400, "Missing the required parameter 'pageNumber' when calling getDocumentPageImage"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/documents/{documentId}/pages/{pageNumber}/page_image".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/documents/{documentId}/pages/{pageNumber}/page_image" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "templateId" + "\\}", apiClient.escapeString(templateId.toString())) .replaceAll("\\{" + "documentId" + "\\}", apiClient.escapeString(documentId.toString())) @@ -1413,52 +1556,70 @@ public byte[] getDocumentPageImage(String accountId, String templateId, String d // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "dpi", options.dpi)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "max_height", options.maxHeight)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "max_width", options.maxWidth)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "show_changes", options.showChanges)); + localVarQueryParams.addAll(apiClient.parameterToPair("dpi", options.dpi)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("max_height", options.maxHeight)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("max_width", options.maxWidth)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("show_changes", options.showChanges)); } + - - final String[] localVarAccepts = { - "image/png" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "image/png" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Returns tabs on the document. /// + + /** + * GetDocumentTabsOptions Class. + * + **/ public class GetDocumentTabsOptions { private String pageNumbers = null; - /* - * - */ + + /** + * setPageNumbers method. + */ public void setPageNumbers(String pageNumbers) { this.pageNumbers = pageNumbers; } - + + /** + * getPageNumbers method. + * + * @return String + */ public String getPageNumbers() { return this.pageNumbers; } } /** - * Returns tabs on the document. + * Returns tabs on the document.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param templateId The ID of the template being accessed. (required) @@ -1470,7 +1631,7 @@ public Tabs getDocumentTabs(String accountId, String templateId, String document } /** - * Returns tabs on the document. + * Returns tabs on the document.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param templateId The ID of the template being accessed. (required) @@ -1482,55 +1643,59 @@ public Tabs getDocumentTabs(String accountId, String templateId, String document public Tabs getDocumentTabs(String accountId, String templateId, String documentId, TemplatesApi.GetDocumentTabsOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getDocumentTabs"); - } + } - // verify the required parameter 'templateId' is set - if (templateId == null) { + // verify the required parameter 'templateId' is set + if (templateId == null) { throw new ApiException(400, "Missing the required parameter 'templateId' when calling getDocumentTabs"); - } + } - // verify the required parameter 'documentId' is set - if (documentId == null) { + // verify the required parameter 'documentId' is set + if (documentId == null) { throw new ApiException(400, "Missing the required parameter 'documentId' when calling getDocumentTabs"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/documents/{documentId}/tabs".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/documents/{documentId}/tabs" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "templateId" + "\\}", apiClient.escapeString(templateId.toString())) .replaceAll("\\{" + "documentId" + "\\}", apiClient.escapeString(documentId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "page_numbers", options.pageNumbers)); + localVarQueryParams.addAll(apiClient.parameterToPair("page_numbers", options.pageNumbers)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Gets template lock information. + * Gets template lock information.. * Retrieves general information about the template lock. If the call is made by the user who has the lock and the request has the same integrator key as original, then the `X-DocuSign-Edit` header field and additional lock information is included in the response. This allows users to recover a lost editing session token and the `X-DocuSign-Edit` header. * @param accountId The external account number (int) or account ID Guid. (required) * @param templateId The ID of the template being accessed. (required) @@ -1540,47 +1705,51 @@ public Tabs getDocumentTabs(String accountId, String templateId, String document public LockInformation getLock(String accountId, String templateId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getLock"); - } + } - // verify the required parameter 'templateId' is set - if (templateId == null) { + // verify the required parameter 'templateId' is set + if (templateId == null) { throw new ApiException(400, "Missing the required parameter 'templateId' when calling getLock"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/lock".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/lock" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "templateId" + "\\}", apiClient.escapeString(templateId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Gets template notification information. + * Gets template notification information.. * Retrieves the envelope notification, reminders and expirations, information for an existing template. * @param accountId The external account number (int) or account ID Guid. (required) * @param templateId The ID of the template being accessed. (required) @@ -1590,47 +1759,51 @@ public LockInformation getLock(String accountId, String templateId) throws ApiEx public Notification getNotificationSettings(String accountId, String templateId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getNotificationSettings"); - } + } - // verify the required parameter 'templateId' is set - if (templateId == null) { + // verify the required parameter 'templateId' is set + if (templateId == null) { throw new ApiException(400, "Missing the required parameter 'templateId' when calling getNotificationSettings"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/notification".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/notification" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "templateId" + "\\}", apiClient.escapeString(templateId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Returns tabs on the specified page. + * Returns tabs on the specified page.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param templateId The ID of the template being accessed. (required) @@ -1642,28 +1815,28 @@ public Notification getNotificationSettings(String accountId, String templateId) public Tabs getPageTabs(String accountId, String templateId, String documentId, String pageNumber) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getPageTabs"); - } + } - // verify the required parameter 'templateId' is set - if (templateId == null) { + // verify the required parameter 'templateId' is set + if (templateId == null) { throw new ApiException(400, "Missing the required parameter 'templateId' when calling getPageTabs"); - } + } - // verify the required parameter 'documentId' is set - if (documentId == null) { + // verify the required parameter 'documentId' is set + if (documentId == null) { throw new ApiException(400, "Missing the required parameter 'documentId' when calling getPageTabs"); - } + } - // verify the required parameter 'pageNumber' is set - if (pageNumber == null) { + // verify the required parameter 'pageNumber' is set + if (pageNumber == null) { throw new ApiException(400, "Missing the required parameter 'pageNumber' when calling getPageTabs"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/documents/{documentId}/pages/{pageNumber}/tabs".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/documents/{documentId}/pages/{pageNumber}/tabs" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "templateId" + "\\}", apiClient.escapeString(templateId.toString())) .replaceAll("\\{" + "documentId" + "\\}", apiClient.escapeString(documentId.toString())) @@ -1671,30 +1844,39 @@ public Tabs getPageTabs(String accountId, String templateId, String documentId, // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Returns document page image(s) based on input. /// + + /** + * GetPagesOptions Class. + * + **/ public class GetPagesOptions { private String count = null; @@ -1704,80 +1886,122 @@ public class GetPagesOptions private String nocache = null; private String showChanges = null; private String startPosition = null; - /* - * - */ + + /** + * setCount method. + */ public void setCount(String count) { this.count = count; } - + + /** + * getCount method. + * + * @return String + */ public String getCount() { return this.count; } - /* - * - */ + + /** + * setDpi method. + */ public void setDpi(String dpi) { this.dpi = dpi; } - + + /** + * getDpi method. + * + * @return String + */ public String getDpi() { return this.dpi; } - /* - * - */ + + /** + * setMaxHeight method. + */ public void setMaxHeight(String maxHeight) { this.maxHeight = maxHeight; } - + + /** + * getMaxHeight method. + * + * @return String + */ public String getMaxHeight() { return this.maxHeight; } - /* - * - */ + + /** + * setMaxWidth method. + */ public void setMaxWidth(String maxWidth) { this.maxWidth = maxWidth; } - + + /** + * getMaxWidth method. + * + * @return String + */ public String getMaxWidth() { return this.maxWidth; } - /* - * - */ + + /** + * setNocache method. + */ public void setNocache(String nocache) { this.nocache = nocache; } - + + /** + * getNocache method. + * + * @return String + */ public String getNocache() { return this.nocache; } - /* - * - */ + + /** + * setShowChanges method. + */ public void setShowChanges(String showChanges) { this.showChanges = showChanges; } - + + /** + * getShowChanges method. + * + * @return String + */ public String getShowChanges() { return this.showChanges; } - /* - * - */ + + /** + * setStartPosition method. + */ public void setStartPosition(String startPosition) { this.startPosition = startPosition; } - + + /** + * getStartPosition method. + * + * @return String + */ public String getStartPosition() { return this.startPosition; } } /** - * Returns document page image(s) based on input. + * Returns document page image(s) based on input.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param templateId The ID of the template being accessed. (required) @@ -1789,7 +2013,7 @@ public PageImages getPages(String accountId, String templateId, String documentI } /** - * Returns document page image(s) based on input. + * Returns document page image(s) based on input.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param templateId The ID of the template being accessed. (required) @@ -1801,61 +2025,71 @@ public PageImages getPages(String accountId, String templateId, String documentI public PageImages getPages(String accountId, String templateId, String documentId, TemplatesApi.GetPagesOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getPages"); - } + } - // verify the required parameter 'templateId' is set - if (templateId == null) { + // verify the required parameter 'templateId' is set + if (templateId == null) { throw new ApiException(400, "Missing the required parameter 'templateId' when calling getPages"); - } + } - // verify the required parameter 'documentId' is set - if (documentId == null) { + // verify the required parameter 'documentId' is set + if (documentId == null) { throw new ApiException(400, "Missing the required parameter 'documentId' when calling getPages"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/documents/{documentId}/pages".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/documents/{documentId}/pages" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "templateId" + "\\}", apiClient.escapeString(templateId.toString())) .replaceAll("\\{" + "documentId" + "\\}", apiClient.escapeString(documentId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "count", options.count)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "dpi", options.dpi)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "max_height", options.maxHeight)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "max_width", options.maxWidth)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "nocache", options.nocache)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "show_changes", options.showChanges)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "start_position", options.startPosition)); + localVarQueryParams.addAll(apiClient.parameterToPair("count", options.count)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("dpi", options.dpi)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("max_height", options.maxHeight)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("max_width", options.maxWidth)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("nocache", options.nocache)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("show_changes", options.showChanges)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("start_position", options.startPosition)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Get the Original HTML Definition used to generate the Responsive HTML for a given document in a template. + * Get the Original HTML Definition used to generate the Responsive HTML for a given document in a template.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param templateId The ID of the template being accessed. (required) @@ -1866,53 +2100,57 @@ public PageImages getPages(String accountId, String templateId, String documentI public DocumentHtmlDefinitionOriginals getTemplateDocumentHtmlDefinitions(String accountId, String templateId, String documentId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getTemplateDocumentHtmlDefinitions"); - } + } - // verify the required parameter 'templateId' is set - if (templateId == null) { + // verify the required parameter 'templateId' is set + if (templateId == null) { throw new ApiException(400, "Missing the required parameter 'templateId' when calling getTemplateDocumentHtmlDefinitions"); - } + } - // verify the required parameter 'documentId' is set - if (documentId == null) { + // verify the required parameter 'documentId' is set + if (documentId == null) { throw new ApiException(400, "Missing the required parameter 'documentId' when calling getTemplateDocumentHtmlDefinitions"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/documents/{documentId}/html_definitions".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/documents/{documentId}/html_definitions" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "templateId" + "\\}", apiClient.escapeString(templateId.toString())) .replaceAll("\\{" + "documentId" + "\\}", apiClient.escapeString(documentId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Get the Original HTML Definition used to generate the Responsive HTML for the template. + * Get the Original HTML Definition used to generate the Responsive HTML for the template.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param templateId The ID of the template being accessed. (required) @@ -1922,75 +2160,96 @@ public DocumentHtmlDefinitionOriginals getTemplateDocumentHtmlDefinitions(String public DocumentHtmlDefinitionOriginals getTemplateHtmlDefinitions(String accountId, String templateId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getTemplateHtmlDefinitions"); - } + } - // verify the required parameter 'templateId' is set - if (templateId == null) { + // verify the required parameter 'templateId' is set + if (templateId == null) { throw new ApiException(400, "Missing the required parameter 'templateId' when calling getTemplateHtmlDefinitions"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/html_definitions".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/html_definitions" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "templateId" + "\\}", apiClient.escapeString(templateId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Gets the bulk recipient file from a template. Retrieves the bulk recipient file information from a template that has a bulk recipient. /// + + /** + * ListBulkRecipientsOptions Class. + * + **/ public class ListBulkRecipientsOptions { private String includeTabs = null; private String startPosition = null; - /* - * - */ + + /** + * setIncludeTabs method. + */ public void setIncludeTabs(String includeTabs) { this.includeTabs = includeTabs; } - + + /** + * getIncludeTabs method. + * + * @return String + */ public String getIncludeTabs() { return this.includeTabs; } - /* - * - */ + + /** + * setStartPosition method. + */ public void setStartPosition(String startPosition) { this.startPosition = startPosition; } - + + /** + * getStartPosition method. + * + * @return String + */ public String getStartPosition() { return this.startPosition; } } /** - * Gets the bulk recipient file from a template. + * Gets the bulk recipient file from a template.. * Retrieves the bulk recipient file information from a template that has a bulk recipient. * @param accountId The external account number (int) or account ID Guid. (required) * @param templateId The ID of the template being accessed. (required) @@ -2002,7 +2261,7 @@ public BulkRecipientsResponse listBulkRecipients(String accountId, String templa } /** - * Gets the bulk recipient file from a template. + * Gets the bulk recipient file from a template.. * Retrieves the bulk recipient file information from a template that has a bulk recipient. * @param accountId The external account number (int) or account ID Guid. (required) * @param templateId The ID of the template being accessed. (required) @@ -2014,56 +2273,61 @@ public BulkRecipientsResponse listBulkRecipients(String accountId, String templa public BulkRecipientsResponse listBulkRecipients(String accountId, String templateId, String recipientId, TemplatesApi.ListBulkRecipientsOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling listBulkRecipients"); - } + } - // verify the required parameter 'templateId' is set - if (templateId == null) { + // verify the required parameter 'templateId' is set + if (templateId == null) { throw new ApiException(400, "Missing the required parameter 'templateId' when calling listBulkRecipients"); - } + } - // verify the required parameter 'recipientId' is set - if (recipientId == null) { + // verify the required parameter 'recipientId' is set + if (recipientId == null) { throw new ApiException(400, "Missing the required parameter 'recipientId' when calling listBulkRecipients"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/recipients/{recipientId}/bulk_recipients".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/recipients/{recipientId}/bulk_recipients" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "templateId" + "\\}", apiClient.escapeString(templateId.toString())) .replaceAll("\\{" + "recipientId" + "\\}", apiClient.escapeString(recipientId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "include_tabs", options.includeTabs)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "start_position", options.startPosition)); + localVarQueryParams.addAll(apiClient.parameterToPair("include_tabs", options.includeTabs)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("start_position", options.startPosition)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Gets the custom document fields from a template. + * Gets the custom document fields from a template.. * Retrieves the custom document field information from an existing template. * @param accountId The external account number (int) or account ID Guid. (required) * @param templateId The ID of the template being accessed. (required) @@ -2073,47 +2337,51 @@ public BulkRecipientsResponse listBulkRecipients(String accountId, String templa public CustomFields listCustomFields(String accountId, String templateId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling listCustomFields"); - } + } - // verify the required parameter 'templateId' is set - if (templateId == null) { + // verify the required parameter 'templateId' is set + if (templateId == null) { throw new ApiException(400, "Missing the required parameter 'templateId' when calling listCustomFields"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/custom_fields".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/custom_fields" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "templateId" + "\\}", apiClient.escapeString(templateId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Gets the custom document fields for a an existing template document. + * Gets the custom document fields for a an existing template document.. * Retrieves the custom document fields for an existing template document. * @param accountId The external account number (int) or account ID Guid. (required) * @param templateId The ID of the template being accessed. (required) @@ -2124,53 +2392,57 @@ public CustomFields listCustomFields(String accountId, String templateId) throws public DocumentFieldsInformation listDocumentFields(String accountId, String templateId, String documentId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling listDocumentFields"); - } + } - // verify the required parameter 'templateId' is set - if (templateId == null) { + // verify the required parameter 'templateId' is set + if (templateId == null) { throw new ApiException(400, "Missing the required parameter 'templateId' when calling listDocumentFields"); - } + } - // verify the required parameter 'documentId' is set - if (documentId == null) { + // verify the required parameter 'documentId' is set + if (documentId == null) { throw new ApiException(400, "Missing the required parameter 'documentId' when calling listDocumentFields"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/documents/{documentId}/fields".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/documents/{documentId}/fields" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "templateId" + "\\}", apiClient.escapeString(templateId.toString())) .replaceAll("\\{" + "documentId" + "\\}", apiClient.escapeString(documentId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Gets a list of documents associated with a template. + * Gets a list of documents associated with a template.. * Retrieves a list of documents associated with the specified template. * @param accountId The external account number (int) or account ID Guid. (required) * @param templateId The ID of the template being accessed. (required) @@ -2180,86 +2452,113 @@ public DocumentFieldsInformation listDocumentFields(String accountId, String tem public TemplateDocumentsResult listDocuments(String accountId, String templateId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling listDocuments"); - } + } - // verify the required parameter 'templateId' is set - if (templateId == null) { + // verify the required parameter 'templateId' is set + if (templateId == null) { throw new ApiException(400, "Missing the required parameter 'templateId' when calling listDocuments"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/documents".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/documents" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "templateId" + "\\}", apiClient.escapeString(templateId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Gets recipient information from a template. Retrieves the information for all recipients in the specified template. /// + + /** + * ListRecipientsOptions Class. + * + **/ public class ListRecipientsOptions { private String includeAnchorTabLocations = null; private String includeExtended = null; private String includeTabs = null; - /* - * When set to **true** and `include_tabs` is set to **true**, all tabs with anchor tab properties are included in the response. - */ + + /** + * setIncludeAnchorTabLocations method. + */ public void setIncludeAnchorTabLocations(String includeAnchorTabLocations) { this.includeAnchorTabLocations = includeAnchorTabLocations; } - + + /** + * getIncludeAnchorTabLocations method. + * + * @return String + */ public String getIncludeAnchorTabLocations() { return this.includeAnchorTabLocations; } - /* - * When set to **true**, the extended properties are included in the response. - */ + + /** + * setIncludeExtended method. + */ public void setIncludeExtended(String includeExtended) { this.includeExtended = includeExtended; } - + + /** + * getIncludeExtended method. + * + * @return String + */ public String getIncludeExtended() { return this.includeExtended; } - /* - * When set to **true**, the tab information associated with the recipient is included in the response. - */ + + /** + * setIncludeTabs method. + */ public void setIncludeTabs(String includeTabs) { this.includeTabs = includeTabs; } - + + /** + * getIncludeTabs method. + * + * @return String + */ public String getIncludeTabs() { return this.includeTabs; } } /** - * Gets recipient information from a template. + * Gets recipient information from a template.. * Retrieves the information for all recipients in the specified template. * @param accountId The external account number (int) or account ID Guid. (required) * @param templateId The ID of the template being accessed. (required) @@ -2270,7 +2569,7 @@ public Recipients listRecipients(String accountId, String templateId) throws Api } /** - * Gets recipient information from a template. + * Gets recipient information from a template.. * Retrieves the information for all recipients in the specified template. * @param accountId The external account number (int) or account ID Guid. (required) * @param templateId The ID of the template being accessed. (required) @@ -2281,79 +2580,102 @@ public Recipients listRecipients(String accountId, String templateId) throws Api public Recipients listRecipients(String accountId, String templateId, TemplatesApi.ListRecipientsOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling listRecipients"); - } + } - // verify the required parameter 'templateId' is set - if (templateId == null) { + // verify the required parameter 'templateId' is set + if (templateId == null) { throw new ApiException(400, "Missing the required parameter 'templateId' when calling listRecipients"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/recipients".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/recipients" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "templateId" + "\\}", apiClient.escapeString(templateId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "include_anchor_tab_locations", options.includeAnchorTabLocations)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "include_extended", options.includeExtended)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "include_tabs", options.includeTabs)); + localVarQueryParams.addAll(apiClient.parameterToPair("include_anchor_tab_locations", options.includeAnchorTabLocations)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("include_extended", options.includeExtended)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("include_tabs", options.includeTabs)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Gets the tabs information for a signer or sign-in-person recipient in a template. Gets the tabs information for a signer or sign-in-person recipient in a template. /// + + /** + * ListTabsOptions Class. + * + **/ public class ListTabsOptions { private String includeAnchorTabLocations = null; private String includeMetadata = null; - /* - * When set to **true**, all tabs with anchor tab properties are included in the response. - */ + + /** + * setIncludeAnchorTabLocations method. + */ public void setIncludeAnchorTabLocations(String includeAnchorTabLocations) { this.includeAnchorTabLocations = includeAnchorTabLocations; } - + + /** + * getIncludeAnchorTabLocations method. + * + * @return String + */ public String getIncludeAnchorTabLocations() { return this.includeAnchorTabLocations; } - /* - * - */ + + /** + * setIncludeMetadata method. + */ public void setIncludeMetadata(String includeMetadata) { this.includeMetadata = includeMetadata; } - + + /** + * getIncludeMetadata method. + * + * @return String + */ public String getIncludeMetadata() { return this.includeMetadata; } } /** - * Gets the tabs information for a signer or sign-in-person recipient in a template. + * Gets the tabs information for a signer or sign-in-person recipient in a template.. * Gets the tabs information for a signer or sign-in-person recipient in a template. * @param accountId The external account number (int) or account ID Guid. (required) * @param templateId The ID of the template being accessed. (required) @@ -2365,7 +2687,7 @@ public Tabs listTabs(String accountId, String templateId, String recipientId) th } /** - * Gets the tabs information for a signer or sign-in-person recipient in a template. + * Gets the tabs information for a signer or sign-in-person recipient in a template.. * Gets the tabs information for a signer or sign-in-person recipient in a template. * @param accountId The external account number (int) or account ID Guid. (required) * @param templateId The ID of the template being accessed. (required) @@ -2377,56 +2699,66 @@ public Tabs listTabs(String accountId, String templateId, String recipientId) th public Tabs listTabs(String accountId, String templateId, String recipientId, TemplatesApi.ListTabsOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling listTabs"); - } + } - // verify the required parameter 'templateId' is set - if (templateId == null) { + // verify the required parameter 'templateId' is set + if (templateId == null) { throw new ApiException(400, "Missing the required parameter 'templateId' when calling listTabs"); - } + } - // verify the required parameter 'recipientId' is set - if (recipientId == null) { + // verify the required parameter 'recipientId' is set + if (recipientId == null) { throw new ApiException(400, "Missing the required parameter 'recipientId' when calling listTabs"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/recipients/{recipientId}/tabs".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/recipients/{recipientId}/tabs" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "templateId" + "\\}", apiClient.escapeString(templateId.toString())) .replaceAll("\\{" + "recipientId" + "\\}", apiClient.escapeString(recipientId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "include_anchor_tab_locations", options.includeAnchorTabLocations)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "include_metadata", options.includeMetadata)); + localVarQueryParams.addAll(apiClient.parameterToPair("include_anchor_tab_locations", options.includeAnchorTabLocations)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("include_metadata", options.includeMetadata)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Gets the definition of a template. Retrieves the list of templates for the specified account. The request can be limited to a specific folder. /// + + /** + * ListTemplatesOptions Class. + * + **/ public class ListTemplatesOptions { private String count = null; @@ -2446,180 +2778,282 @@ public class ListTemplatesOptions private String usedToDate = null; private String userFilter = null; private String userId = null; - /* - * Number of records to return in the cache. - */ + + /** + * setCount method. + */ public void setCount(String count) { this.count = count; } - + + /** + * getCount method. + * + * @return String + */ public String getCount() { return this.count; } - /* - * The query value can be a folder name or folder ID. The response will only return templates in the specified folder. - */ + + /** + * setFolder method. + */ public void setFolder(String folder) { this.folder = folder; } - + + /** + * getFolder method. + * + * @return String + */ public String getFolder() { return this.folder; } - /* - * A comma separated list of folder ID GUIDs. - */ + + /** + * setFolderIds method. + */ public void setFolderIds(String folderIds) { this.folderIds = folderIds; } - + + /** + * getFolderIds method. + * + * @return String + */ public String getFolderIds() { return this.folderIds; } - /* - * Start of the search date range. Only returns templates created on or after this date/time. If no value is specified, there is no limit on the earliest date created. - */ + + /** + * setFromDate method. + */ public void setFromDate(String fromDate) { this.fromDate = fromDate; } - + + /** + * getFromDate method. + * + * @return String + */ public String getFromDate() { return this.fromDate; } - /* - * A comma separated list of additional template attributes to include in the response. Valid values are: recipients, folders, documents, custom_fields, and notifications. - */ + + /** + * setInclude method. + */ public void setInclude(String include) { this.include = include; } - + + /** + * getInclude method. + * + * @return String + */ public String getInclude() { return this.include; } - /* - * - */ + + /** + * setModifiedFromDate method. + */ public void setModifiedFromDate(String modifiedFromDate) { this.modifiedFromDate = modifiedFromDate; } - + + /** + * getModifiedFromDate method. + * + * @return String + */ public String getModifiedFromDate() { return this.modifiedFromDate; } - /* - * - */ + + /** + * setModifiedToDate method. + */ public void setModifiedToDate(String modifiedToDate) { this.modifiedToDate = modifiedToDate; } - + + /** + * getModifiedToDate method. + * + * @return String + */ public String getModifiedToDate() { return this.modifiedToDate; } - /* - * Sets the direction order used to sort the list. Valid values are: -asc = ascending sort order (a to z) -desc = descending sort order (z to a) - */ + + /** + * setOrder method. + */ public void setOrder(String order) { this.order = order; } - + + /** + * getOrder method. + * + * @return String + */ public String getOrder() { return this.order; } - /* - * Sets the file attribute used to sort the list. Valid values are: -name: template name -modified: date/time template was last modified. -used: date/time the template was last used. - */ + + /** + * setOrderBy method. + */ public void setOrderBy(String orderBy) { this.orderBy = orderBy; } - + + /** + * getOrderBy method. + * + * @return String + */ public String getOrderBy() { return this.orderBy; } - /* - * The search text used to search the names of templates. - */ + + /** + * setSearchText method. + */ public void setSearchText(String searchText) { this.searchText = searchText; } - + + /** + * getSearchText method. + * + * @return String + */ public String getSearchText() { return this.searchText; } - /* - * If true, the response only includes templates shared by the user. If false, the response only returns template not shared by the user. If not specified, the response is not affected. - */ + + /** + * setSharedByMe method. + */ public void setSharedByMe(String sharedByMe) { this.sharedByMe = sharedByMe; } - + + /** + * getSharedByMe method. + * + * @return String + */ public String getSharedByMe() { return this.sharedByMe; } - /* - * The starting index for the first template shown in the response. This must be greater than or equal to 0 (zero). - */ + + /** + * setStartPosition method. + */ public void setStartPosition(String startPosition) { this.startPosition = startPosition; } - + + /** + * getStartPosition method. + * + * @return String + */ public String getStartPosition() { return this.startPosition; } - /* - * End of the search date range. Only returns templates created up to this date/time. If no value is provided, this defaults to the current date. - */ + + /** + * setToDate method. + */ public void setToDate(String toDate) { this.toDate = toDate; } - + + /** + * getToDate method. + * + * @return String + */ public String getToDate() { return this.toDate; } - /* - * Start of the search date range. Only returns templates used or edited on or after this date/time. If no value is specified, there is no limit on the earliest date used. - */ + + /** + * setUsedFromDate method. + */ public void setUsedFromDate(String usedFromDate) { this.usedFromDate = usedFromDate; } - + + /** + * getUsedFromDate method. + * + * @return String + */ public String getUsedFromDate() { return this.usedFromDate; } - /* - * End of the search date range. Only returns templates used or edited up to this date/time. If no value is provided, this defaults to the current date. - */ + + /** + * setUsedToDate method. + */ public void setUsedToDate(String usedToDate) { this.usedToDate = usedToDate; } - + + /** + * getUsedToDate method. + * + * @return String + */ public String getUsedToDate() { return this.usedToDate; } - /* - * Sets if the templates shown in the response Valid values are: -owned_by_me: only shows templates the user owns. -shared_with_me: only shows templates that are shared with the user. -all: shows all templates owned or shared with the user. - */ + + /** + * setUserFilter method. + */ public void setUserFilter(String userFilter) { this.userFilter = userFilter; } - + + /** + * getUserFilter method. + * + * @return String + */ public String getUserFilter() { return this.userFilter; } - /* - * - */ + + /** + * setUserId method. + */ public void setUserId(String userId) { this.userId = userId; } - + + /** + * getUserId method. + * + * @return String + */ public String getUserId() { return this.userId; } } /** - * Gets the definition of a template. + * Gets the definition of a template.. * Retrieves the list of templates for the specified account. The request can be limited to a specific folder. * @param accountId The external account number (int) or account ID Guid. (required) * @return EnvelopeTemplateResults @@ -2629,7 +3063,7 @@ public EnvelopeTemplateResults listTemplates(String accountId) throws ApiExcepti } /** - * Gets the definition of a template. + * Gets the definition of a template.. * Retrieves the list of templates for the specified account. The request can be limited to a specific folder. * @param accountId The external account number (int) or account ID Guid. (required) * @param options for modifying the method behavior. @@ -2639,59 +3073,79 @@ public EnvelopeTemplateResults listTemplates(String accountId) throws ApiExcepti public EnvelopeTemplateResults listTemplates(String accountId, TemplatesApi.ListTemplatesOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling listTemplates"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/templates".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/templates" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "count", options.count)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "folder", options.folder)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "folder_ids", options.folderIds)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "from_date", options.fromDate)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "include", options.include)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "modified_from_date", options.modifiedFromDate)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "modified_to_date", options.modifiedToDate)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "order", options.order)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "order_by", options.orderBy)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "search_text", options.searchText)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "shared_by_me", options.sharedByMe)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "start_position", options.startPosition)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "to_date", options.toDate)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "used_from_date", options.usedFromDate)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "used_to_date", options.usedToDate)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "user_filter", options.userFilter)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "user_id", options.userId)); - } - - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; - - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + localVarQueryParams.addAll(apiClient.parameterToPair("count", options.count)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("folder", options.folder)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("folder_ids", options.folderIds)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("from_date", options.fromDate)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("include", options.include)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("modified_from_date", options.modifiedFromDate)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("modified_to_date", options.modifiedToDate)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("order", options.order)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("order_by", options.orderBy)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("search_text", options.searchText)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("shared_by_me", options.sharedByMe)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("start_position", options.startPosition)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("to_date", options.toDate)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("used_from_date", options.usedFromDate)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("used_to_date", options.usedToDate)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("user_filter", options.userFilter)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("user_id", options.userId)); + } + + + + + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Rotates page image from a template for display. + * Rotates page image from a template for display.. * Rotates page image from a template for display. The page image can be rotated to the left or right. * @param accountId The external account number (int) or account ID Guid. (required) * @param templateId The ID of the template being accessed. (required) @@ -2703,28 +3157,28 @@ public EnvelopeTemplateResults listTemplates(String accountId, TemplatesApi.List public void rotateDocumentPage(String accountId, String templateId, String documentId, String pageNumber, PageRequest pageRequest) throws ApiException { Object localVarPostBody = pageRequest; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling rotateDocumentPage"); - } + } - // verify the required parameter 'templateId' is set - if (templateId == null) { + // verify the required parameter 'templateId' is set + if (templateId == null) { throw new ApiException(400, "Missing the required parameter 'templateId' when calling rotateDocumentPage"); - } + } - // verify the required parameter 'documentId' is set - if (documentId == null) { + // verify the required parameter 'documentId' is set + if (documentId == null) { throw new ApiException(400, "Missing the required parameter 'documentId' when calling rotateDocumentPage"); - } + } - // verify the required parameter 'pageNumber' is set - if (pageNumber == null) { + // verify the required parameter 'pageNumber' is set + if (pageNumber == null) { throw new ApiException(400, "Missing the required parameter 'pageNumber' when calling rotateDocumentPage"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/documents/{documentId}/pages/{pageNumber}/page_image".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/documents/{documentId}/pages/{pageNumber}/page_image" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "templateId" + "\\}", apiClient.escapeString(templateId.toString())) .replaceAll("\\{" + "documentId" + "\\}", apiClient.escapeString(documentId.toString())) @@ -2732,30 +3186,34 @@ public void rotateDocumentPage(String accountId, String templateId, String docum // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); - } + + apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); + } /** - * Updates an existing template. + * Updates an existing template.. * Updates an existing template. * @param accountId The external account number (int) or account ID Guid. (required) * @param templateId The ID of the template being accessed. (required) @@ -2766,47 +3224,51 @@ public void rotateDocumentPage(String accountId, String templateId, String docum public TemplateUpdateSummary update(String accountId, String templateId, EnvelopeTemplate envelopeTemplate) throws ApiException { Object localVarPostBody = envelopeTemplate; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling update"); - } + } - // verify the required parameter 'templateId' is set - if (templateId == null) { + // verify the required parameter 'templateId' is set + if (templateId == null) { throw new ApiException(400, "Missing the required parameter 'templateId' when calling update"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "templateId" + "\\}", apiClient.escapeString(templateId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Adds or replaces the bulk recipients list in a template. + * Adds or replaces the bulk recipients list in a template.. * Updates the bulk recipients in a template using a file upload. The Content-Type supported for uploading a bulk recipient file is CSV (text/csv). The REST API does not support modifying individual rows or values in the bulk recipients file. It only allows the entire file to be added or replaced with a new file. * @param accountId The external account number (int) or account ID Guid. (required) * @param templateId The ID of the template being accessed. (required) @@ -2818,53 +3280,57 @@ public TemplateUpdateSummary update(String accountId, String templateId, Envelop public BulkRecipientsSummaryResponse updateBulkRecipients(String accountId, String templateId, String recipientId, BulkRecipientsRequest bulkRecipientsRequest) throws ApiException { Object localVarPostBody = bulkRecipientsRequest; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling updateBulkRecipients"); - } + } - // verify the required parameter 'templateId' is set - if (templateId == null) { + // verify the required parameter 'templateId' is set + if (templateId == null) { throw new ApiException(400, "Missing the required parameter 'templateId' when calling updateBulkRecipients"); - } + } - // verify the required parameter 'recipientId' is set - if (recipientId == null) { + // verify the required parameter 'recipientId' is set + if (recipientId == null) { throw new ApiException(400, "Missing the required parameter 'recipientId' when calling updateBulkRecipients"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/recipients/{recipientId}/bulk_recipients".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/recipients/{recipientId}/bulk_recipients" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "templateId" + "\\}", apiClient.escapeString(templateId.toString())) .replaceAll("\\{" + "recipientId" + "\\}", apiClient.escapeString(recipientId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Updates envelope custom fields in a template. + * Updates envelope custom fields in a template.. * Updates the custom fields in a template. Each custom field used in a template must have a unique name. * @param accountId The external account number (int) or account ID Guid. (required) * @param templateId The ID of the template being accessed. (required) @@ -2875,75 +3341,96 @@ public BulkRecipientsSummaryResponse updateBulkRecipients(String accountId, Stri public CustomFields updateCustomFields(String accountId, String templateId, TemplateCustomFields templateCustomFields) throws ApiException { Object localVarPostBody = templateCustomFields; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling updateCustomFields"); - } + } - // verify the required parameter 'templateId' is set - if (templateId == null) { + // verify the required parameter 'templateId' is set + if (templateId == null) { throw new ApiException(400, "Missing the required parameter 'templateId' when calling updateCustomFields"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/custom_fields".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/custom_fields" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "templateId" + "\\}", apiClient.escapeString(templateId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Adds a document to a template document. Adds the specified document to an existing template document. /// + + /** + * UpdateDocumentOptions Class. + * + **/ public class UpdateDocumentOptions { private String applyDocumentFields = null; private String isEnvelopeDefinition = null; - /* - * - */ + + /** + * setApplyDocumentFields method. + */ public void setApplyDocumentFields(String applyDocumentFields) { this.applyDocumentFields = applyDocumentFields; } - + + /** + * getApplyDocumentFields method. + * + * @return String + */ public String getApplyDocumentFields() { return this.applyDocumentFields; } - /* - * - */ + + /** + * setIsEnvelopeDefinition method. + */ public void setIsEnvelopeDefinition(String isEnvelopeDefinition) { this.isEnvelopeDefinition = isEnvelopeDefinition; } - + + /** + * getIsEnvelopeDefinition method. + * + * @return String + */ public String getIsEnvelopeDefinition() { return this.isEnvelopeDefinition; } } /** - * Adds a document to a template document. + * Adds a document to a template document.. * Adds the specified document to an existing template document. * @param accountId The external account number (int) or account ID Guid. (required) * @param templateId The ID of the template being accessed. (required) @@ -2956,7 +3443,7 @@ public EnvelopeDocument updateDocument(String accountId, String templateId, Stri } /** - * Adds a document to a template document. + * Adds a document to a template document.. * Adds the specified document to an existing template document. * @param accountId The external account number (int) or account ID Guid. (required) * @param templateId The ID of the template being accessed. (required) @@ -2969,56 +3456,61 @@ public EnvelopeDocument updateDocument(String accountId, String templateId, Stri public EnvelopeDocument updateDocument(String accountId, String templateId, String documentId, EnvelopeDefinition envelopeDefinition, TemplatesApi.UpdateDocumentOptions options) throws ApiException { Object localVarPostBody = envelopeDefinition; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling updateDocument"); - } + } - // verify the required parameter 'templateId' is set - if (templateId == null) { + // verify the required parameter 'templateId' is set + if (templateId == null) { throw new ApiException(400, "Missing the required parameter 'templateId' when calling updateDocument"); - } + } - // verify the required parameter 'documentId' is set - if (documentId == null) { + // verify the required parameter 'documentId' is set + if (documentId == null) { throw new ApiException(400, "Missing the required parameter 'documentId' when calling updateDocument"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/documents/{documentId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/documents/{documentId}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "templateId" + "\\}", apiClient.escapeString(templateId.toString())) .replaceAll("\\{" + "documentId" + "\\}", apiClient.escapeString(documentId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "apply_document_fields", options.applyDocumentFields)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "is_envelope_definition", options.isEnvelopeDefinition)); + localVarQueryParams.addAll(apiClient.parameterToPair("apply_document_fields", options.applyDocumentFields)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("is_envelope_definition", options.isEnvelopeDefinition)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Updates existing custom document fields in an existing template document. + * Updates existing custom document fields in an existing template document.. * Updates existing custom document fields in an existing template document. * @param accountId The external account number (int) or account ID Guid. (required) * @param templateId The ID of the template being accessed. (required) @@ -3030,81 +3522,102 @@ public EnvelopeDocument updateDocument(String accountId, String templateId, Stri public DocumentFieldsInformation updateDocumentFields(String accountId, String templateId, String documentId, DocumentFieldsInformation documentFieldsInformation) throws ApiException { Object localVarPostBody = documentFieldsInformation; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling updateDocumentFields"); - } + } - // verify the required parameter 'templateId' is set - if (templateId == null) { + // verify the required parameter 'templateId' is set + if (templateId == null) { throw new ApiException(400, "Missing the required parameter 'templateId' when calling updateDocumentFields"); - } + } - // verify the required parameter 'documentId' is set - if (documentId == null) { + // verify the required parameter 'documentId' is set + if (documentId == null) { throw new ApiException(400, "Missing the required parameter 'documentId' when calling updateDocumentFields"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/documents/{documentId}/fields".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/documents/{documentId}/fields" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "templateId" + "\\}", apiClient.escapeString(templateId.toString())) .replaceAll("\\{" + "documentId" + "\\}", apiClient.escapeString(documentId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Adds documents to a template document. Adds one or more documents to an existing template document. /// + + /** + * UpdateDocumentsOptions Class. + * + **/ public class UpdateDocumentsOptions { private String applyDocumentFields = null; private String persistTabs = null; - /* - * - */ + + /** + * setApplyDocumentFields method. + */ public void setApplyDocumentFields(String applyDocumentFields) { this.applyDocumentFields = applyDocumentFields; } - + + /** + * getApplyDocumentFields method. + * + * @return String + */ public String getApplyDocumentFields() { return this.applyDocumentFields; } - /* - * - */ + + /** + * setPersistTabs method. + */ public void setPersistTabs(String persistTabs) { this.persistTabs = persistTabs; } - + + /** + * getPersistTabs method. + * + * @return String + */ public String getPersistTabs() { return this.persistTabs; } } /** - * Adds documents to a template document. + * Adds documents to a template document.. * Adds one or more documents to an existing template document. * @param accountId The external account number (int) or account ID Guid. (required) * @param templateId The ID of the template being accessed. (required) @@ -3116,7 +3629,7 @@ public TemplateDocumentsResult updateDocuments(String accountId, String template } /** - * Adds documents to a template document. + * Adds documents to a template document.. * Adds one or more documents to an existing template document. * @param accountId The external account number (int) or account ID Guid. (required) * @param templateId The ID of the template being accessed. (required) @@ -3128,50 +3641,55 @@ public TemplateDocumentsResult updateDocuments(String accountId, String template public TemplateDocumentsResult updateDocuments(String accountId, String templateId, EnvelopeDefinition envelopeDefinition, TemplatesApi.UpdateDocumentsOptions options) throws ApiException { Object localVarPostBody = envelopeDefinition; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling updateDocuments"); - } + } - // verify the required parameter 'templateId' is set - if (templateId == null) { + // verify the required parameter 'templateId' is set + if (templateId == null) { throw new ApiException(400, "Missing the required parameter 'templateId' when calling updateDocuments"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/documents".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/documents" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "templateId" + "\\}", apiClient.escapeString(templateId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "apply_document_fields", options.applyDocumentFields)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "persist_tabs", options.persistTabs)); + localVarQueryParams.addAll(apiClient.parameterToPair("apply_document_fields", options.applyDocumentFields)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("persist_tabs", options.persistTabs)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Shares a template with a group + * Shares a template with a group. * Shares a template with the specified members group. * @param accountId The external account number (int) or account ID Guid. (required) * @param templateId The ID of the template being accessed. (required) @@ -3183,53 +3701,57 @@ public TemplateDocumentsResult updateDocuments(String accountId, String template public GroupInformation updateGroupShare(String accountId, String templateId, String templatePart, GroupInformation groupInformation) throws ApiException { Object localVarPostBody = groupInformation; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling updateGroupShare"); - } + } - // verify the required parameter 'templateId' is set - if (templateId == null) { + // verify the required parameter 'templateId' is set + if (templateId == null) { throw new ApiException(400, "Missing the required parameter 'templateId' when calling updateGroupShare"); - } + } - // verify the required parameter 'templatePart' is set - if (templatePart == null) { + // verify the required parameter 'templatePart' is set + if (templatePart == null) { throw new ApiException(400, "Missing the required parameter 'templatePart' when calling updateGroupShare"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/{templatePart}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/{templatePart}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "templateId" + "\\}", apiClient.escapeString(templateId.toString())) .replaceAll("\\{" + "templatePart" + "\\}", apiClient.escapeString(templatePart.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Updates a template lock. + * Updates a template lock.. * Updates the lock duration time or update the `lockedByApp` property information for the specified template. The user and integrator key must match the user specified by the `lockByUser` property and integrator key information and the `X-DocuSign-Edit` header must be included or an error will be generated. * @param accountId The external account number (int) or account ID Guid. (required) * @param templateId The ID of the template being accessed. (required) @@ -3240,47 +3762,51 @@ public GroupInformation updateGroupShare(String accountId, String templateId, St public LockInformation updateLock(String accountId, String templateId, LockRequest lockRequest) throws ApiException { Object localVarPostBody = lockRequest; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling updateLock"); - } + } - // verify the required parameter 'templateId' is set - if (templateId == null) { + // verify the required parameter 'templateId' is set + if (templateId == null) { throw new ApiException(400, "Missing the required parameter 'templateId' when calling updateLock"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/lock".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/lock" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "templateId" + "\\}", apiClient.escapeString(templateId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Updates the notification structure for an existing template. + * Updates the notification structure for an existing template.. * Updates the notification structure for an existing template. Use this endpoint to set reminder and expiration notifications. * @param accountId The external account number (int) or account ID Guid. (required) * @param templateId The ID of the template being accessed. (required) @@ -3291,64 +3817,79 @@ public LockInformation updateLock(String accountId, String templateId, LockReque public Notification updateNotificationSettings(String accountId, String templateId, TemplateNotificationRequest templateNotificationRequest) throws ApiException { Object localVarPostBody = templateNotificationRequest; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling updateNotificationSettings"); - } + } - // verify the required parameter 'templateId' is set - if (templateId == null) { + // verify the required parameter 'templateId' is set + if (templateId == null) { throw new ApiException(400, "Missing the required parameter 'templateId' when calling updateNotificationSettings"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/notification".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/notification" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "templateId" + "\\}", apiClient.escapeString(templateId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Updates recipients in a template. Updates recipients in a template. You can edit the following properties: `email`, `userName`, `routingOrder`, `faxNumber`, `deliveryMethod`, `accessCode`, and `requireIdLookup`. /// + + /** + * UpdateRecipientsOptions Class. + * + **/ public class UpdateRecipientsOptions { private String resendEnvelope = null; - /* - * - */ + + /** + * setResendEnvelope method. + */ public void setResendEnvelope(String resendEnvelope) { this.resendEnvelope = resendEnvelope; } - + + /** + * getResendEnvelope method. + * + * @return String + */ public String getResendEnvelope() { return this.resendEnvelope; } } /** - * Updates recipients in a template. + * Updates recipients in a template.. * Updates recipients in a template. You can edit the following properties: `email`, `userName`, `routingOrder`, `faxNumber`, `deliveryMethod`, `accessCode`, and `requireIdLookup`. * @param accountId The external account number (int) or account ID Guid. (required) * @param templateId The ID of the template being accessed. (required) @@ -3360,7 +3901,7 @@ public RecipientsUpdateSummary updateRecipients(String accountId, String templat } /** - * Updates recipients in a template. + * Updates recipients in a template.. * Updates recipients in a template. You can edit the following properties: `email`, `userName`, `routingOrder`, `faxNumber`, `deliveryMethod`, `accessCode`, and `requireIdLookup`. * @param accountId The external account number (int) or account ID Guid. (required) * @param templateId The ID of the template being accessed. (required) @@ -3372,49 +3913,53 @@ public RecipientsUpdateSummary updateRecipients(String accountId, String templat public RecipientsUpdateSummary updateRecipients(String accountId, String templateId, TemplateRecipients templateRecipients, TemplatesApi.UpdateRecipientsOptions options) throws ApiException { Object localVarPostBody = templateRecipients; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling updateRecipients"); - } + } - // verify the required parameter 'templateId' is set - if (templateId == null) { + // verify the required parameter 'templateId' is set + if (templateId == null) { throw new ApiException(400, "Missing the required parameter 'templateId' when calling updateRecipients"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/recipients".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/recipients" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "templateId" + "\\}", apiClient.escapeString(templateId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "resend_envelope", options.resendEnvelope)); + localVarQueryParams.addAll(apiClient.parameterToPair("resend_envelope", options.resendEnvelope)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Updates the tabs for a recipient. + * Updates the tabs for a recipient.. * Updates one or more tabs for a recipient in a template. * @param accountId The external account number (int) or account ID Guid. (required) * @param templateId The ID of the template being accessed. (required) @@ -3426,48 +3971,52 @@ public RecipientsUpdateSummary updateRecipients(String accountId, String templat public Tabs updateTabs(String accountId, String templateId, String recipientId, TemplateTabs templateTabs) throws ApiException { Object localVarPostBody = templateTabs; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling updateTabs"); - } + } - // verify the required parameter 'templateId' is set - if (templateId == null) { + // verify the required parameter 'templateId' is set + if (templateId == null) { throw new ApiException(400, "Missing the required parameter 'templateId' when calling updateTabs"); - } + } - // verify the required parameter 'recipientId' is set - if (recipientId == null) { + // verify the required parameter 'recipientId' is set + if (recipientId == null) { throw new ApiException(400, "Missing the required parameter 'recipientId' when calling updateTabs"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/recipients/{recipientId}/tabs".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/templates/{templateId}/recipients/{recipientId}/tabs" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "templateId" + "\\}", apiClient.escapeString(templateId.toString())) .replaceAll("\\{" + "recipientId" + "\\}", apiClient.escapeString(recipientId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } +} diff --git a/src/main/java/com/docusign/esign/api/TrustServiceProvidersApi.java b/src/main/java/com/docusign/esign/api/TrustServiceProvidersApi.java index baecb3a0..276844ac 100644 --- a/src/main/java/com/docusign/esign/api/TrustServiceProvidersApi.java +++ b/src/main/java/com/docusign/esign/api/TrustServiceProvidersApi.java @@ -1,40 +1,60 @@ + package com.docusign.esign.api; -import com.sun.jersey.api.client.GenericType; +import javax.ws.rs.core.GenericType; import com.docusign.esign.client.ApiException; import com.docusign.esign.client.ApiClient; import com.docusign.esign.client.Configuration; +import com.docusign.esign.model.*; import com.docusign.esign.client.Pair; -import com.docusign.esign.model.AccountSeals; -import com.docusign.esign.model.ErrorDetails; - - public class TrustServiceProvidersApi { +/** + * TrustServiceProvidersApi class. + * + **/ +public class TrustServiceProvidersApi { private ApiClient apiClient; + /** + * TrustServiceProvidersApi. + * + **/ public TrustServiceProvidersApi() { - this(Configuration.getDefaultApiClient()); + this(Configuration.getDefaultApiClient()); } + /** + * TrustServiceProvidersApi. + * + **/ public TrustServiceProvidersApi(ApiClient apiClient) { - this.apiClient = apiClient; + this.apiClient = apiClient; } + /** + * getApiClient Method. + * + * @return ApiClient + **/ public ApiClient getApiClient() { - return apiClient; + return apiClient; } + /** + * setApiClient Method. + * + **/ public void setApiClient(ApiClient apiClient) { - this.apiClient = apiClient; + this.apiClient = apiClient; } /** - * Returns Account available seals for specified account. + * Returns Account available seals for specified account.. * * @param accountId The external account number (int) or account ID Guid. (required) * @return AccountSeals @@ -43,36 +63,40 @@ public void setApiClient(ApiClient apiClient) { public AccountSeals getSealProviders(String accountId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getSealProviders"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/seals".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/seals" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } +} diff --git a/src/main/java/com/docusign/esign/api/UsersApi.java b/src/main/java/com/docusign/esign/api/UsersApi.java index f7e6c109..62269380 100644 --- a/src/main/java/com/docusign/esign/api/UsersApi.java +++ b/src/main/java/com/docusign/esign/api/UsersApi.java @@ -1,54 +1,319 @@ + package com.docusign.esign.api; -import com.sun.jersey.api.client.GenericType; +import javax.ws.rs.core.GenericType; import com.docusign.esign.client.ApiException; import com.docusign.esign.client.ApiClient; import com.docusign.esign.client.Configuration; +import com.docusign.esign.model.*; import com.docusign.esign.client.Pair; -import com.docusign.esign.model.ContactGetResponse; -import com.docusign.esign.model.ContactModRequest; -import com.docusign.esign.model.ContactUpdateResponse; -import com.docusign.esign.model.CustomSettingsInformation; -import com.docusign.esign.model.ErrorDetails; -import com.docusign.esign.model.NewUsersDefinition; -import com.docusign.esign.model.NewUsersSummary; -import com.docusign.esign.model.UserInfoList; -import com.docusign.esign.model.UserInformation; -import com.docusign.esign.model.UserInformationList; -import com.docusign.esign.model.UserProfile; -import com.docusign.esign.model.UserSettingsInformation; -import com.docusign.esign.model.UserSignature; -import com.docusign.esign.model.UserSignatureDefinition; -import com.docusign.esign.model.UserSignaturesInformation; -import com.docusign.esign.model.UsersResponse; - - public class UsersApi { +/** + * UsersApi class. + * + **/ +public class UsersApi { private ApiClient apiClient; + /** + * UsersApi. + * + **/ public UsersApi() { - this(Configuration.getDefaultApiClient()); + this(Configuration.getDefaultApiClient()); } + /** + * UsersApi. + * + **/ public UsersApi(ApiClient apiClient) { - this.apiClient = apiClient; + this.apiClient = apiClient; } + /** + * getApiClient Method. + * + * @return ApiClient + **/ public ApiClient getApiClient() { - return apiClient; + return apiClient; } + /** + * setApiClient Method. + * + **/ public void setApiClient(ApiClient apiClient) { - this.apiClient = apiClient; + this.apiClient = apiClient; + } + + /// + /// Retrieves the list of users for the specified account. Retrieves the list of users for the specified account. The response returns the list of users for the account along with the information about the result set. If the `additional_info` query was added to the endpoint and set to **true**, the full user information is returned for each user + /// + + /** + * CallListOptions Class. + * + **/ + public class CallListOptions + { + private String additionalInfo = null; + private String count = null; + private String email = null; + private String emailSubstring = null; + private String groupId = null; + private String loginStatus = null; + private String notGroupId = null; + private String startPosition = null; + private String status = null; + private String userNameSubstring = null; + + /** + * setAdditionalInfo method. + */ + public void setAdditionalInfo(String additionalInfo) { + this.additionalInfo = additionalInfo; + } + + /** + * getAdditionalInfo method. + * + * @return String + */ + public String getAdditionalInfo() { + return this.additionalInfo; + } + + /** + * setCount method. + */ + public void setCount(String count) { + this.count = count; + } + + /** + * getCount method. + * + * @return String + */ + public String getCount() { + return this.count; + } + + /** + * setEmail method. + */ + public void setEmail(String email) { + this.email = email; } + /** + * getEmail method. + * + * @return String + */ + public String getEmail() { + return this.email; + } + + /** + * setEmailSubstring method. + */ + public void setEmailSubstring(String emailSubstring) { + this.emailSubstring = emailSubstring; + } + + /** + * getEmailSubstring method. + * + * @return String + */ + public String getEmailSubstring() { + return this.emailSubstring; + } + + /** + * setGroupId method. + */ + public void setGroupId(String groupId) { + this.groupId = groupId; + } + + /** + * getGroupId method. + * + * @return String + */ + public String getGroupId() { + return this.groupId; + } + + /** + * setLoginStatus method. + */ + public void setLoginStatus(String loginStatus) { + this.loginStatus = loginStatus; + } + + /** + * getLoginStatus method. + * + * @return String + */ + public String getLoginStatus() { + return this.loginStatus; + } + + /** + * setNotGroupId method. + */ + public void setNotGroupId(String notGroupId) { + this.notGroupId = notGroupId; + } + + /** + * getNotGroupId method. + * + * @return String + */ + public String getNotGroupId() { + return this.notGroupId; + } + + /** + * setStartPosition method. + */ + public void setStartPosition(String startPosition) { + this.startPosition = startPosition; + } + + /** + * getStartPosition method. + * + * @return String + */ + public String getStartPosition() { + return this.startPosition; + } + + /** + * setStatus method. + */ + public void setStatus(String status) { + this.status = status; + } + + /** + * getStatus method. + * + * @return String + */ + public String getStatus() { + return this.status; + } + + /** + * setUserNameSubstring method. + */ + public void setUserNameSubstring(String userNameSubstring) { + this.userNameSubstring = userNameSubstring; + } + + /** + * getUserNameSubstring method. + * + * @return String + */ + public String getUserNameSubstring() { + return this.userNameSubstring; + } + } + + /** + * Retrieves the list of users for the specified account.. + * Retrieves the list of users for the specified account. The response returns the list of users for the account along with the information about the result set. If the `additional_info` query was added to the endpoint and set to **true**, the full user information is returned for each user + * @param accountId The external account number (int) or account ID Guid. (required) + * @return UserInformationList + */ + public UserInformationList callList(String accountId) throws ApiException { + return callList(accountId, null); + } /** - * Adds news user to the specified account. + * Retrieves the list of users for the specified account.. + * Retrieves the list of users for the specified account. The response returns the list of users for the account along with the information about the result set. If the `additional_info` query was added to the endpoint and set to **true**, the full user information is returned for each user + * @param accountId The external account number (int) or account ID Guid. (required) + * @param options for modifying the method behavior. + * @return UserInformationList + * @throws ApiException if fails to make API call + */ + public UserInformationList callList(String accountId, UsersApi.CallListOptions options) throws ApiException { + Object localVarPostBody = "{}"; + + // verify the required parameter 'accountId' is set + if (accountId == null) { + throw new ApiException(400, "Missing the required parameter 'accountId' when calling callList"); + } + + // create path and map variables + String localVarPath = "/v2/accounts/{accountId}/users" + .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); + + // query params + java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); + java.util.Map localVarHeaderParams = new java.util.HashMap(); + java.util.Map localVarFormParams = new java.util.HashMap(); + + if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("additional_info", options.additionalInfo)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("count", options.count)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("email", options.email)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("email_substring", options.emailSubstring)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("group_id", options.groupId)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("login_status", options.loginStatus)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("not_group_id", options.notGroupId)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("start_position", options.startPosition)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("status", options.status)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("user_name_substring", options.userNameSubstring)); + } + + + + + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } + + /** + * Adds news user to the specified account.. * Adds new users to your account. Set the `userSettings` property in the request to specify the actions the users can perform on the account. * @param accountId The external account number (int) or account ID Guid. (required) * @param newUsersDefinition (optional) @@ -58,41 +323,45 @@ public void setApiClient(ApiClient apiClient) { public NewUsersSummary create(String accountId, NewUsersDefinition newUsersDefinition) throws ApiException { Object localVarPostBody = newUsersDefinition; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling create"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/users".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/users" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Adds user Signature and initials images to a Signature. + * Adds user Signature and initials images to a Signature.. * Adds a user signature image and/or user initials image to the specified user. The userId property specified in the endpoint must match the authenticated user's userId and the user must be a member of the account. The rules and processes associated with this are: * If Content-Type is set to application/json, then the default behavior for creating a default signature image, based on the name and a DocuSign font, is used. * If Content-Type is set to multipart/form-data, then the request must contain a first part with the user signature information, followed by parts that contain the images. For each Image part, the Content-Disposition header has a \"filename\" value that is used to map to the `signatureName` and/or `signatureInitials` properties in the JSON to the image. For example: `Content-Disposition: file; filename=\"Ron Test20121127083900\"` If no matching image (by filename value) is found, then the image is not set. One, both, or neither of the signature and initials images can be set with this call. The Content-Transfer-Encoding: base64 header, set in the header for the part containing the image, can be set to indicate that the images are formatted as base64 instead of as binary. If successful, 200-OK is returned, and a JSON structure containing the signature information is provided, note that the signatureId can change with each API POST, PUT, or DELETE since the changes to the signature structure cause the current signature to be closed, and a new signature record to be created. * @param accountId The external account number (int) or account ID Guid. (required) * @param userId The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing. (required) @@ -103,64 +372,79 @@ public NewUsersSummary create(String accountId, NewUsersDefinition newUsersDefin public UserSignaturesInformation createSignatures(String accountId, String userId, UserSignaturesInformation userSignaturesInformation) throws ApiException { Object localVarPostBody = userSignaturesInformation; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling createSignatures"); - } + } - // verify the required parameter 'userId' is set - if (userId == null) { + // verify the required parameter 'userId' is set + if (userId == null) { throw new ApiException(400, "Missing the required parameter 'userId' when calling createSignatures"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/users/{userId}/signatures".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/users/{userId}/signatures" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "userId" + "\\}", apiClient.escapeString(userId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Removes users account privileges. This closes one or more user records in the account. Users are never deleted from an account, but closing a user prevents them from using account functions. The response returns whether the API execution was successful (200 - OK) or if it failed. The response contains a user structure similar to the request and includes the user changes. If an error occurred during the DELETE operation for any of the users, the response for that user contains an `errorDetails` node with `errorCode` and `message` properties. /// + + /** + * DeleteOptions Class. + * + **/ public class DeleteOptions { private String delete = null; - /* - * - */ + + /** + * setDelete method. + */ public void setDelete(String delete) { this.delete = delete; } - + + /** + * getDelete method. + * + * @return String + */ public String getDelete() { return this.delete; } } /** - * Removes users account privileges. + * Removes users account privileges.. * This closes one or more user records in the account. Users are never deleted from an account, but closing a user prevents them from using account functions. The response returns whether the API execution was successful (200 - OK) or if it failed. The response contains a user structure similar to the request and includes the user changes. If an error occurred during the DELETE operation for any of the users, the response for that user contains an `errorDetails` node with `errorCode` and `message` properties. * @param accountId The external account number (int) or account ID Guid. (required) * @param userInfoList (optional) @@ -171,7 +455,7 @@ public UsersResponse delete(String accountId, UserInfoList userInfoList) throws } /** - * Removes users account privileges. + * Removes users account privileges.. * This closes one or more user records in the account. Users are never deleted from an account, but closing a user prevents them from using account functions. The response returns whether the API execution was successful (200 - OK) or if it failed. The response contains a user structure similar to the request and includes the user changes. If an error occurred during the DELETE operation for any of the users, the response for that user contains an `errorDetails` node with `errorCode` and `message` properties. * @param accountId The external account number (int) or account ID Guid. (required) * @param userInfoList (optional) @@ -182,43 +466,47 @@ public UsersResponse delete(String accountId, UserInfoList userInfoList) throws public UsersResponse delete(String accountId, UserInfoList userInfoList, UsersApi.DeleteOptions options) throws ApiException { Object localVarPostBody = userInfoList; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling delete"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/users".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/users" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "delete", options.delete)); + localVarQueryParams.addAll(apiClient.parameterToPair("delete", options.delete)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Replaces a particular contact associated with an account for the DocuSign service. + * Replaces a particular contact associated with an account for the DocuSign service.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param contactId The unique identifier of a person in the contacts address book. (required) @@ -228,47 +516,51 @@ public UsersResponse delete(String accountId, UserInfoList userInfoList, UsersAp public ContactUpdateResponse deleteContactWithId(String accountId, String contactId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling deleteContactWithId"); - } + } - // verify the required parameter 'contactId' is set - if (contactId == null) { + // verify the required parameter 'contactId' is set + if (contactId == null) { throw new ApiException(400, "Missing the required parameter 'contactId' when calling deleteContactWithId"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/contacts/{contactId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/contacts/{contactId}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "contactId" + "\\}", apiClient.escapeString(contactId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Delete contacts associated with an account for the DocuSign service. + * Delete contacts associated with an account for the DocuSign service.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param contactModRequest (optional) @@ -278,41 +570,45 @@ public ContactUpdateResponse deleteContactWithId(String accountId, String contac public ContactUpdateResponse deleteContacts(String accountId, ContactModRequest contactModRequest) throws ApiException { Object localVarPostBody = contactModRequest; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling deleteContacts"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/contacts".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/contacts" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Deletes custom user settings for a specified user. + * Deletes custom user settings for a specified user.. * Deletes the specified custom user settings for a single user. ###Deleting Grouped Custom User Settings### If the custom user settings you want to delete are grouped, you must include the following information in the header, after Content-Type, in the request: `X-DocuSign-User-Settings-Key:group_name` Where the `group_name` is your designated name for the group of customer user settings. If the extra header information is not included, only the custom user settings that were added without a group are deleted. * @param accountId The external account number (int) or account ID Guid. (required) * @param userId The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing. (required) @@ -323,47 +619,51 @@ public ContactUpdateResponse deleteContacts(String accountId, ContactModRequest public CustomSettingsInformation deleteCustomSettings(String accountId, String userId, CustomSettingsInformation customSettingsInformation) throws ApiException { Object localVarPostBody = customSettingsInformation; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling deleteCustomSettings"); - } + } - // verify the required parameter 'userId' is set - if (userId == null) { + // verify the required parameter 'userId' is set + if (userId == null) { throw new ApiException(400, "Missing the required parameter 'userId' when calling deleteCustomSettings"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/users/{userId}/custom_settings".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/users/{userId}/custom_settings" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "userId" + "\\}", apiClient.escapeString(userId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Deletes the user profile image for the specified user. + * Deletes the user profile image for the specified user.. * Deletes the user profile image from the specified user's profile. The userId parameter specified in the endpoint must match the authenticated user's user ID and the user must be a member of the specified account. * @param accountId The external account number (int) or account ID Guid. (required) * @param userId The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing. (required) @@ -372,47 +672,51 @@ public CustomSettingsInformation deleteCustomSettings(String accountId, String u public void deleteProfileImage(String accountId, String userId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling deleteProfileImage"); - } + } - // verify the required parameter 'userId' is set - if (userId == null) { + // verify the required parameter 'userId' is set + if (userId == null) { throw new ApiException(400, "Missing the required parameter 'userId' when calling deleteProfileImage"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/users/{userId}/profile/image".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/users/{userId}/profile/image" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "userId" + "\\}", apiClient.escapeString(userId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + + apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); + } /** - * Removes removes signature information for the specified user. + * Removes removes signature information for the specified user.. * Removes the signature information for the user. The userId parameter specified in the endpoint must match the authenticated user's user ID and the user must be a member of the account. The `signatureId` accepts a signature ID or a signature name. DocuSign recommends you use signature ID (`signatureId`), since some names contain characters that do not properly encode into a URL. If you use the user name, it is likely that the name includes spaces. In that case, URL encode the name before using it in the endpoint. For example encode \"Bob Smith\" as \"Bob%20Smith\". * @param accountId The external account number (int) or account ID Guid. (required) * @param userId The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing. (required) @@ -422,53 +726,57 @@ public void deleteProfileImage(String accountId, String userId) throws ApiExcept public void deleteSignature(String accountId, String userId, String signatureId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling deleteSignature"); - } + } - // verify the required parameter 'userId' is set - if (userId == null) { + // verify the required parameter 'userId' is set + if (userId == null) { throw new ApiException(400, "Missing the required parameter 'userId' when calling deleteSignature"); - } + } - // verify the required parameter 'signatureId' is set - if (signatureId == null) { + // verify the required parameter 'signatureId' is set + if (signatureId == null) { throw new ApiException(400, "Missing the required parameter 'signatureId' when calling deleteSignature"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/users/{userId}/signatures/{signatureId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/users/{userId}/signatures/{signatureId}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "userId" + "\\}", apiClient.escapeString(userId.toString())) .replaceAll("\\{" + "signatureId" + "\\}", apiClient.escapeString(signatureId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + + apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); + } /** - * Deletes the user initials image or the user signature image for the specified user. + * Deletes the user initials image or the user signature image for the specified user.. * Deletes the specified initials image or signature image for the specified user. The function deletes one or the other of the image types, to delete both the initials image and signature image you must call the endpoint twice. The userId parameter specified in the endpoint must match the authenticated user's user ID and the user must be a member of the account. The `signatureId` parameter accepts a signature ID or a signature name. DocuSign recommends you use signature ID (`signatureId`), since some names contain characters that do not properly encode into a URL. If you use the user name, it is likely that the name includes spaces. In that case, URL encode the name before using it in the endpoint. For example encode \"Bob Smith\" as \"Bob%20Smith\". * @param accountId The external account number (int) or account ID Guid. (required) * @param userId The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing. (required) @@ -480,28 +788,28 @@ public void deleteSignature(String accountId, String userId, String signatureId) public UserSignature deleteSignatureImage(String accountId, String userId, String signatureId, String imageType) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling deleteSignatureImage"); - } + } - // verify the required parameter 'userId' is set - if (userId == null) { + // verify the required parameter 'userId' is set + if (userId == null) { throw new ApiException(400, "Missing the required parameter 'userId' when calling deleteSignatureImage"); - } + } - // verify the required parameter 'signatureId' is set - if (signatureId == null) { + // verify the required parameter 'signatureId' is set + if (signatureId == null) { throw new ApiException(400, "Missing the required parameter 'signatureId' when calling deleteSignatureImage"); - } + } - // verify the required parameter 'imageType' is set - if (imageType == null) { + // verify the required parameter 'imageType' is set + if (imageType == null) { throw new ApiException(400, "Missing the required parameter 'imageType' when calling deleteSignatureImage"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/users/{userId}/signatures/{signatureId}/{imageType}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/users/{userId}/signatures/{signatureId}/{imageType}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "userId" + "\\}", apiClient.escapeString(userId.toString())) .replaceAll("\\{" + "signatureId" + "\\}", apiClient.escapeString(signatureId.toString())) @@ -509,30 +817,34 @@ public UserSignature deleteSignatureImage(String accountId, String userId, Strin // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Gets a particular contact associated with the user's account. + * Gets a particular contact associated with the user's account.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param contactId The unique identifier of a person in the contacts address book. (required) @@ -542,75 +854,96 @@ public UserSignature deleteSignatureImage(String accountId, String userId, Strin public ContactGetResponse getContactById(String accountId, String contactId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getContactById"); - } + } - // verify the required parameter 'contactId' is set - if (contactId == null) { + // verify the required parameter 'contactId' is set + if (contactId == null) { throw new ApiException(400, "Missing the required parameter 'contactId' when calling getContactById"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/contacts/{contactId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/contacts/{contactId}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "contactId" + "\\}", apiClient.escapeString(contactId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Gets the user information for a specified user. Retrieves the user information for the specified user. To return additional user information that details the last login date, login status, and the user's password expiration date, set the optional `additional_info` query string parameter to **true**. /// + + /** + * GetInformationOptions Class. + * + **/ public class GetInformationOptions { private String additionalInfo = null; private String email = null; - /* - * When set to **true**, the full list of user information is returned for each user in the account. - */ + + /** + * setAdditionalInfo method. + */ public void setAdditionalInfo(String additionalInfo) { this.additionalInfo = additionalInfo; } - + + /** + * getAdditionalInfo method. + * + * @return String + */ public String getAdditionalInfo() { return this.additionalInfo; } - /* - * - */ + + /** + * setEmail method. + */ public void setEmail(String email) { this.email = email; } - + + /** + * getEmail method. + * + * @return String + */ public String getEmail() { return this.email; } } /** - * Gets the user information for a specified user. + * Gets the user information for a specified user.. * Retrieves the user information for the specified user. To return additional user information that details the last login date, login status, and the user's password expiration date, set the optional `additional_info` query string parameter to **true**. * @param accountId The external account number (int) or account ID Guid. (required) * @param userId The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing. (required) @@ -621,7 +954,7 @@ public UserInformation getInformation(String accountId, String userId) throws Ap } /** - * Gets the user information for a specified user. + * Gets the user information for a specified user.. * Retrieves the user information for the specified user. To return additional user information that details the last login date, login status, and the user's password expiration date, set the optional `additional_info` query string parameter to **true**. * @param accountId The external account number (int) or account ID Guid. (required) * @param userId The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing. (required) @@ -632,50 +965,55 @@ public UserInformation getInformation(String accountId, String userId) throws Ap public UserInformation getInformation(String accountId, String userId, UsersApi.GetInformationOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getInformation"); - } + } - // verify the required parameter 'userId' is set - if (userId == null) { + // verify the required parameter 'userId' is set + if (userId == null) { throw new ApiException(400, "Missing the required parameter 'userId' when calling getInformation"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/users/{userId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/users/{userId}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "userId" + "\\}", apiClient.escapeString(userId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "additional_info", options.additionalInfo)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "email", options.email)); + localVarQueryParams.addAll(apiClient.parameterToPair("additional_info", options.additionalInfo)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("email", options.email)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Retrieves the user profile for a specified user. + * Retrieves the user profile for a specified user.. * Retrieves the user profile information, the privacy settings and personal information (address, phone number, etc.) for the specified user. The userId parameter specified in the endpoint must match the authenticated user's user ID and the user must be a member of the specified account. * @param accountId The external account number (int) or account ID Guid. (required) * @param userId The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing. (required) @@ -685,64 +1023,79 @@ public UserInformation getInformation(String accountId, String userId, UsersApi. public UserProfile getProfile(String accountId, String userId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getProfile"); - } + } - // verify the required parameter 'userId' is set - if (userId == null) { + // verify the required parameter 'userId' is set + if (userId == null) { throw new ApiException(400, "Missing the required parameter 'userId' when calling getProfile"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/users/{userId}/profile".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/users/{userId}/profile" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "userId" + "\\}", apiClient.escapeString(userId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Retrieves the user profile image for the specified user. Retrieves the user profile picture for the specified user. The image is returned in the same format as uploaded. The userId parameter specified in the endpoint must match the authenticated user's user ID and the user must be a member of the specified account. If successful, the response returns a 200 - OK and the user profile image. /// + + /** + * GetProfileImageOptions Class. + * + **/ public class GetProfileImageOptions { private String encoding = null; - /* - * - */ + + /** + * setEncoding method. + */ public void setEncoding(String encoding) { this.encoding = encoding; } - + + /** + * getEncoding method. + * + * @return String + */ public String getEncoding() { return this.encoding; } } /** - * Retrieves the user profile image for the specified user. + * Retrieves the user profile image for the specified user.. * Retrieves the user profile picture for the specified user. The image is returned in the same format as uploaded. The userId parameter specified in the endpoint must match the authenticated user's user ID and the user must be a member of the specified account. If successful, the response returns a 200 - OK and the user profile image. * @param accountId The external account number (int) or account ID Guid. (required) * @param userId The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing. (required) @@ -753,7 +1106,7 @@ public byte[] getProfileImage(String accountId, String userId) throws ApiExcepti } /** - * Retrieves the user profile image for the specified user. + * Retrieves the user profile image for the specified user.. * Retrieves the user profile picture for the specified user. The image is returned in the same format as uploaded. The userId parameter specified in the endpoint must match the authenticated user's user ID and the user must be a member of the specified account. If successful, the response returns a 200 - OK and the user profile image. * @param accountId The external account number (int) or account ID Guid. (required) * @param userId The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing. (required) @@ -764,434 +1117,280 @@ public byte[] getProfileImage(String accountId, String userId) throws ApiExcepti public byte[] getProfileImage(String accountId, String userId, UsersApi.GetProfileImageOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getProfileImage"); - } + } - // verify the required parameter 'userId' is set - if (userId == null) { + // verify the required parameter 'userId' is set + if (userId == null) { throw new ApiException(400, "Missing the required parameter 'userId' when calling getProfileImage"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/users/{userId}/profile/image".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/users/{userId}/profile/image" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "userId" + "\\}", apiClient.escapeString(userId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "encoding", options.encoding)); + localVarQueryParams.addAll(apiClient.parameterToPair("encoding", options.encoding)); } - - - final String[] localVarAccepts = { - "image/gif" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; - - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } - - /** - * Gets the user account settings for a specified user. - * Retrieves a list of the account settings and email notification information for the specified user. The response returns the account setting name/value information and the email notification settings for the specified user. For more information about the different user settings, see the [ML:userSettings list]. - * @param accountId The external account number (int) or account ID Guid. (required) - * @param userId The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing. (required) - * @return UserSettingsInformation - * @throws ApiException if fails to make API call - */ - public UserSettingsInformation getSettings(String accountId, String userId) throws ApiException { - Object localVarPostBody = "{}"; - - // verify the required parameter 'accountId' is set - if (accountId == null) { - throw new ApiException(400, "Missing the required parameter 'accountId' when calling getSettings"); - } - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException(400, "Missing the required parameter 'userId' when calling getSettings"); - } - - // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/users/{userId}/settings".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) - .replaceAll("\\{" + "userId" + "\\}", apiClient.escapeString(userId.toString())); - // query params - java.util.List localVarQueryParams = new java.util.ArrayList(); - java.util.Map localVarHeaderParams = new java.util.HashMap(); - java.util.Map localVarFormParams = new java.util.HashMap(); - - - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + final String[] localVarAccepts = { + "image/gif" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - /** - * Gets the user signature information for the specified user. - * Retrieves the structure of a single signature with a known signature name. The userId specified in the endpoint must match the authenticated user's user ID and the user must be a member of the account. The `signatureId` parameter accepts a signature ID or a signature name. DocuSign recommends you use signature ID (`signatureId`), since some names contain characters that do not properly encode into a URL. If you use the user name, it is likely that the name includes spaces. In that case, URL encode the name before using it in the endpoint. For example encode \"Bob Smith\" as \"Bob%20Smith\". - * @param accountId The external account number (int) or account ID Guid. (required) - * @param userId The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing. (required) - * @param signatureId The ID of the signature being accessed. (required) - * @return UserSignature - * @throws ApiException if fails to make API call - */ - public UserSignature getSignature(String accountId, String userId, String signatureId) throws ApiException { - Object localVarPostBody = "{}"; - - // verify the required parameter 'accountId' is set - if (accountId == null) { - throw new ApiException(400, "Missing the required parameter 'accountId' when calling getSignature"); - } - - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException(400, "Missing the required parameter 'userId' when calling getSignature"); + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); } - - // verify the required parameter 'signatureId' is set - if (signatureId == null) { - throw new ApiException(400, "Missing the required parameter 'signatureId' when calling getSignature"); - } - - // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/users/{userId}/signatures/{signatureId}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) - .replaceAll("\\{" + "userId" + "\\}", apiClient.escapeString(userId.toString())) - .replaceAll("\\{" + "signatureId" + "\\}", apiClient.escapeString(signatureId.toString())); - - // query params - java.util.List localVarQueryParams = new java.util.ArrayList(); - java.util.Map localVarHeaderParams = new java.util.HashMap(); - java.util.Map localVarFormParams = new java.util.HashMap(); - - - - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; - - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } - /// - /// Retrieves the user initials image or the user signature image for the specified user. Retrieves the specified initials image or signature image for the specified user. The image is returned in the same format as uploaded. In the request you can specify if the chrome (the added line and identifier around the initial image) is returned with the image. The userId property specified in the endpoint must match the authenticated user's user ID and the user must be a member of the account. The `signatureId` parameter accepts a signature ID or a signature name. DocuSign recommends you use signature ID (`signatureId`), since some names contain characters that do not properly encode into a URL. If you use the user name, it is likely that the name includes spaces. In that case, URL encode the name before using it in the endpoint. For example encode \"Bob Smith\" as \"Bob%20Smith\". ###### Note: Older envelopes might only have chromed images. If getting the non-chromed image fails, try getting the chromed image. - /// - public class GetSignatureImageOptions - { - private String includeChrome = null; - /* - * - */ - public void setIncludeChrome(String includeChrome) { - this.includeChrome = includeChrome; - } - - public String getIncludeChrome() { - return this.includeChrome; - } - } - - /** - * Retrieves the user initials image or the user signature image for the specified user. - * Retrieves the specified initials image or signature image for the specified user. The image is returned in the same format as uploaded. In the request you can specify if the chrome (the added line and identifier around the initial image) is returned with the image. The userId property specified in the endpoint must match the authenticated user's user ID and the user must be a member of the account. The `signatureId` parameter accepts a signature ID or a signature name. DocuSign recommends you use signature ID (`signatureId`), since some names contain characters that do not properly encode into a URL. If you use the user name, it is likely that the name includes spaces. In that case, URL encode the name before using it in the endpoint. For example encode \"Bob Smith\" as \"Bob%20Smith\". ###### Note: Older envelopes might only have chromed images. If getting the non-chromed image fails, try getting the chromed image. - * @param accountId The external account number (int) or account ID Guid. (required) - * @param userId The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing. (required) - * @param signatureId The ID of the signature being accessed. (required) - * @param imageType One of **signature_image** or **initials_image**. (required) - * @return byte[] - */ - public byte[] getSignatureImage(String accountId, String userId, String signatureId, String imageType) throws ApiException { - return getSignatureImage(accountId, userId, signatureId, imageType, null); - } /** - * Retrieves the user initials image or the user signature image for the specified user. - * Retrieves the specified initials image or signature image for the specified user. The image is returned in the same format as uploaded. In the request you can specify if the chrome (the added line and identifier around the initial image) is returned with the image. The userId property specified in the endpoint must match the authenticated user's user ID and the user must be a member of the account. The `signatureId` parameter accepts a signature ID or a signature name. DocuSign recommends you use signature ID (`signatureId`), since some names contain characters that do not properly encode into a URL. If you use the user name, it is likely that the name includes spaces. In that case, URL encode the name before using it in the endpoint. For example encode \"Bob Smith\" as \"Bob%20Smith\". ###### Note: Older envelopes might only have chromed images. If getting the non-chromed image fails, try getting the chromed image. + * Gets the user account settings for a specified user.. + * Retrieves a list of the account settings and email notification information for the specified user. The response returns the account setting name/value information and the email notification settings for the specified user. For more information about the different user settings, see the [ML:userSettings list]. * @param accountId The external account number (int) or account ID Guid. (required) * @param userId The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing. (required) - * @param signatureId The ID of the signature being accessed. (required) - * @param imageType One of **signature_image** or **initials_image**. (required) - * @param options for modifying the method behavior. - * @return byte[] + * @return UserSettingsInformation * @throws ApiException if fails to make API call */ - public byte[] getSignatureImage(String accountId, String userId, String signatureId, String imageType, UsersApi.GetSignatureImageOptions options) throws ApiException { + public UserSettingsInformation getSettings(String accountId, String userId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { - throw new ApiException(400, "Missing the required parameter 'accountId' when calling getSignatureImage"); - } - - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException(400, "Missing the required parameter 'userId' when calling getSignatureImage"); - } - - // verify the required parameter 'signatureId' is set - if (signatureId == null) { - throw new ApiException(400, "Missing the required parameter 'signatureId' when calling getSignatureImage"); - } - - // verify the required parameter 'imageType' is set - if (imageType == null) { - throw new ApiException(400, "Missing the required parameter 'imageType' when calling getSignatureImage"); - } - - // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/users/{userId}/signatures/{signatureId}/{imageType}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) - .replaceAll("\\{" + "userId" + "\\}", apiClient.escapeString(userId.toString())) - .replaceAll("\\{" + "signatureId" + "\\}", apiClient.escapeString(signatureId.toString())) - .replaceAll("\\{" + "imageType" + "\\}", apiClient.escapeString(imageType.toString())); - - // query params - java.util.List localVarQueryParams = new java.util.ArrayList(); - java.util.Map localVarHeaderParams = new java.util.HashMap(); - java.util.Map localVarFormParams = new java.util.HashMap(); - - if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "include_chrome", options.includeChrome)); + // verify the required parameter 'accountId' is set + if (accountId == null) { + throw new ApiException(400, "Missing the required parameter 'accountId' when calling getSettings"); } - - - final String[] localVarAccepts = { - "image/gif" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; - - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } - /// - /// Retrieves the list of users for the specified account. Retrieves the list of users for the specified account. The response returns the list of users for the account along with the information about the result set. If the `additional_info` query was added to the endpoint and set to **true**, the full user information is returned for each user - /// - public class ListOptions - { - private String additionalInfo = null; - private String count = null; - private String email = null; - private String emailSubstring = null; - private String groupId = null; - private String loginStatus = null; - private String notGroupId = null; - private String startPosition = null; - private String status = null; - private String userNameSubstring = null; - /* - * When set to **true**, the full list of user information is returned for each user in the account. - */ - public void setAdditionalInfo(String additionalInfo) { - this.additionalInfo = additionalInfo; - } - - public String getAdditionalInfo() { - return this.additionalInfo; - } - /* - * Number of records to return. The number must be greater than 0 and less than or equal to 100. - */ - public void setCount(String count) { - this.count = count; - } - - public String getCount() { - return this.count; - } - /* - * - */ - public void setEmail(String email) { - this.email = email; - } - - public String getEmail() { - return this.email; - } - /* - * Filters the returned user records by the email address or a sub-string of email address. - */ - public void setEmailSubstring(String emailSubstring) { - this.emailSubstring = emailSubstring; - } - - public String getEmailSubstring() { - return this.emailSubstring; - } - /* - * Filters user records returned by one or more group Id's. - */ - public void setGroupId(String groupId) { - this.groupId = groupId; - } - - public String getGroupId() { - return this.groupId; - } - /* - * - */ - public void setLoginStatus(String loginStatus) { - this.loginStatus = loginStatus; - } - - public String getLoginStatus() { - return this.loginStatus; - } - /* - * - */ - public void setNotGroupId(String notGroupId) { - this.notGroupId = notGroupId; - } - - public String getNotGroupId() { - return this.notGroupId; - } - /* - * Starting value for the list. - */ - public void setStartPosition(String startPosition) { - this.startPosition = startPosition; - } - - public String getStartPosition() { - return this.startPosition; - } - /* - * + + // verify the required parameter 'userId' is set + if (userId == null) { + throw new ApiException(400, "Missing the required parameter 'userId' when calling getSettings"); + } + + // create path and map variables + String localVarPath = "/v2/accounts/{accountId}/users/{userId}/settings" + .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) + .replaceAll("\\{" + "userId" + "\\}", apiClient.escapeString(userId.toString())); + + // query params + java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); + java.util.Map localVarHeaderParams = new java.util.HashMap(); + java.util.Map localVarFormParams = new java.util.HashMap(); + + + + + + + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } + + /** + * Gets the user signature information for the specified user.. + * Retrieves the structure of a single signature with a known signature name. The userId specified in the endpoint must match the authenticated user's user ID and the user must be a member of the account. The `signatureId` parameter accepts a signature ID or a signature name. DocuSign recommends you use signature ID (`signatureId`), since some names contain characters that do not properly encode into a URL. If you use the user name, it is likely that the name includes spaces. In that case, URL encode the name before using it in the endpoint. For example encode \"Bob Smith\" as \"Bob%20Smith\". + * @param accountId The external account number (int) or account ID Guid. (required) + * @param userId The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing. (required) + * @param signatureId The ID of the signature being accessed. (required) + * @return UserSignature + * @throws ApiException if fails to make API call */ - public void setStatus(String status) { - this.status = status; - } + public UserSignature getSignature(String accountId, String userId, String signatureId) throws ApiException { + Object localVarPostBody = "{}"; + + // verify the required parameter 'accountId' is set + if (accountId == null) { + throw new ApiException(400, "Missing the required parameter 'accountId' when calling getSignature"); + } + + // verify the required parameter 'userId' is set + if (userId == null) { + throw new ApiException(400, "Missing the required parameter 'userId' when calling getSignature"); + } + + // verify the required parameter 'signatureId' is set + if (signatureId == null) { + throw new ApiException(400, "Missing the required parameter 'signatureId' when calling getSignature"); + } + + // create path and map variables + String localVarPath = "/v2/accounts/{accountId}/users/{userId}/signatures/{signatureId}" + .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) + .replaceAll("\\{" + "userId" + "\\}", apiClient.escapeString(userId.toString())) + .replaceAll("\\{" + "signatureId" + "\\}", apiClient.escapeString(signatureId.toString())); + + // query params + java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); + java.util.Map localVarHeaderParams = new java.util.HashMap(); + java.util.Map localVarFormParams = new java.util.HashMap(); + + + + + + + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } + /// + /// Retrieves the user initials image or the user signature image for the specified user. Retrieves the specified initials image or signature image for the specified user. The image is returned in the same format as uploaded. In the request you can specify if the chrome (the added line and identifier around the initial image) is returned with the image. The userId property specified in the endpoint must match the authenticated user's user ID and the user must be a member of the account. The `signatureId` parameter accepts a signature ID or a signature name. DocuSign recommends you use signature ID (`signatureId`), since some names contain characters that do not properly encode into a URL. If you use the user name, it is likely that the name includes spaces. In that case, URL encode the name before using it in the endpoint. For example encode \"Bob Smith\" as \"Bob%20Smith\". ###### Note: Older envelopes might only have chromed images. If getting the non-chromed image fails, try getting the chromed image. + /// + + /** + * GetSignatureImageOptions Class. + * + **/ + public class GetSignatureImageOptions + { + private String includeChrome = null; - public String getStatus() { - return this.status; - } - /* - * Filters the user records returned by the user name or a sub-string of user name. - */ - public void setUserNameSubstring(String userNameSubstring) { - this.userNameSubstring = userNameSubstring; + /** + * setIncludeChrome method. + */ + public void setIncludeChrome(String includeChrome) { + this.includeChrome = includeChrome; } - - public String getUserNameSubstring() { - return this.userNameSubstring; + + /** + * getIncludeChrome method. + * + * @return String + */ + public String getIncludeChrome() { + return this.includeChrome; } } /** - * Retrieves the list of users for the specified account. - * Retrieves the list of users for the specified account. The response returns the list of users for the account along with the information about the result set. If the `additional_info` query was added to the endpoint and set to **true**, the full user information is returned for each user + * Retrieves the user initials image or the user signature image for the specified user.. + * Retrieves the specified initials image or signature image for the specified user. The image is returned in the same format as uploaded. In the request you can specify if the chrome (the added line and identifier around the initial image) is returned with the image. The userId property specified in the endpoint must match the authenticated user's user ID and the user must be a member of the account. The `signatureId` parameter accepts a signature ID or a signature name. DocuSign recommends you use signature ID (`signatureId`), since some names contain characters that do not properly encode into a URL. If you use the user name, it is likely that the name includes spaces. In that case, URL encode the name before using it in the endpoint. For example encode \"Bob Smith\" as \"Bob%20Smith\". ###### Note: Older envelopes might only have chromed images. If getting the non-chromed image fails, try getting the chromed image. * @param accountId The external account number (int) or account ID Guid. (required) - * @return UserInformationList + * @param userId The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing. (required) + * @param signatureId The ID of the signature being accessed. (required) + * @param imageType One of **signature_image** or **initials_image**. (required) + * @return byte[] */ - public UserInformationList list(String accountId) throws ApiException { - return list(accountId, null); + public byte[] getSignatureImage(String accountId, String userId, String signatureId, String imageType) throws ApiException { + return getSignatureImage(accountId, userId, signatureId, imageType, null); } /** - * Retrieves the list of users for the specified account. - * Retrieves the list of users for the specified account. The response returns the list of users for the account along with the information about the result set. If the `additional_info` query was added to the endpoint and set to **true**, the full user information is returned for each user + * Retrieves the user initials image or the user signature image for the specified user.. + * Retrieves the specified initials image or signature image for the specified user. The image is returned in the same format as uploaded. In the request you can specify if the chrome (the added line and identifier around the initial image) is returned with the image. The userId property specified in the endpoint must match the authenticated user's user ID and the user must be a member of the account. The `signatureId` parameter accepts a signature ID or a signature name. DocuSign recommends you use signature ID (`signatureId`), since some names contain characters that do not properly encode into a URL. If you use the user name, it is likely that the name includes spaces. In that case, URL encode the name before using it in the endpoint. For example encode \"Bob Smith\" as \"Bob%20Smith\". ###### Note: Older envelopes might only have chromed images. If getting the non-chromed image fails, try getting the chromed image. * @param accountId The external account number (int) or account ID Guid. (required) + * @param userId The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing. (required) + * @param signatureId The ID of the signature being accessed. (required) + * @param imageType One of **signature_image** or **initials_image**. (required) * @param options for modifying the method behavior. - * @return UserInformationList + * @return byte[] * @throws ApiException if fails to make API call */ - public UserInformationList list(String accountId, UsersApi.ListOptions options) throws ApiException { + public byte[] getSignatureImage(String accountId, String userId, String signatureId, String imageType, UsersApi.GetSignatureImageOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { - throw new ApiException(400, "Missing the required parameter 'accountId' when calling list"); - } + // verify the required parameter 'accountId' is set + if (accountId == null) { + throw new ApiException(400, "Missing the required parameter 'accountId' when calling getSignatureImage"); + } + + // verify the required parameter 'userId' is set + if (userId == null) { + throw new ApiException(400, "Missing the required parameter 'userId' when calling getSignatureImage"); + } + + // verify the required parameter 'signatureId' is set + if (signatureId == null) { + throw new ApiException(400, "Missing the required parameter 'signatureId' when calling getSignatureImage"); + } + + // verify the required parameter 'imageType' is set + if (imageType == null) { + throw new ApiException(400, "Missing the required parameter 'imageType' when calling getSignatureImage"); + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/users".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); + String localVarPath = "/v2/accounts/{accountId}/users/{userId}/signatures/{signatureId}/{imageType}" + .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) + .replaceAll("\\{" + "userId" + "\\}", apiClient.escapeString(userId.toString())) + .replaceAll("\\{" + "signatureId" + "\\}", apiClient.escapeString(signatureId.toString())) + .replaceAll("\\{" + "imageType" + "\\}", apiClient.escapeString(imageType.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "additional_info", options.additionalInfo)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "count", options.count)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "email", options.email)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "email_substring", options.emailSubstring)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "group_id", options.groupId)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "login_status", options.loginStatus)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "not_group_id", options.notGroupId)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "start_position", options.startPosition)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "status", options.status)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "user_name_substring", options.userNameSubstring)); + localVarQueryParams.addAll(apiClient.parameterToPair("include_chrome", options.includeChrome)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "image/gif" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Retrieves the custom user settings for a specified user. + * Retrieves the custom user settings for a specified user.. * Retrieves a list of custom user settings for a single user. Custom settings provide a flexible way to store and retrieve custom user information that can be used in your own system. ###### Note: Custom user settings are not the same as user account settings. ###Getting Grouped Custom User Settings### If the custom user settings you want to retrieve are grouped, you must include the following information in the header, after Content-Type, in the request: `X-DocuSign-User-Settings-Key:group_name` Where the `group_name` is your designated name for the group of customer user settings. If the extra header information is not included, only the custom user settings that were added without a group are retrieved. * @param accountId The external account number (int) or account ID Guid. (required) * @param userId The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing. (required) @@ -1201,64 +1400,79 @@ public UserInformationList list(String accountId, UsersApi.ListOptions options) public CustomSettingsInformation listCustomSettings(String accountId, String userId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling listCustomSettings"); - } + } - // verify the required parameter 'userId' is set - if (userId == null) { + // verify the required parameter 'userId' is set + if (userId == null) { throw new ApiException(400, "Missing the required parameter 'userId' when calling listCustomSettings"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/users/{userId}/custom_settings".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/users/{userId}/custom_settings" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "userId" + "\\}", apiClient.escapeString(userId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Retrieves a list of user signature definitions for a specified user. Retrieves the signature definitions for the specified user. The userId parameter specified in the endpoint must match the authenticated user's user ID and the user must be a member of the account. The `signatureId` parameter accepts a signature ID or a signature name. DocuSign recommends you use signature ID (`signatureId`), since some names contain characters that do not properly encode into a URL. If you use the user name, it is likely that the name includes spaces. In that case, URL encode the name before using it in the endpoint. For example encode \"Bob Smith\" as \"Bob%20Smith\". /// + + /** + * ListSignaturesOptions Class. + * + **/ public class ListSignaturesOptions { private String stampType = null; - /* - * - */ + + /** + * setStampType method. + */ public void setStampType(String stampType) { this.stampType = stampType; } - + + /** + * getStampType method. + * + * @return String + */ public String getStampType() { return this.stampType; } } /** - * Retrieves a list of user signature definitions for a specified user. + * Retrieves a list of user signature definitions for a specified user.. * Retrieves the signature definitions for the specified user. The userId parameter specified in the endpoint must match the authenticated user's user ID and the user must be a member of the account. The `signatureId` parameter accepts a signature ID or a signature name. DocuSign recommends you use signature ID (`signatureId`), since some names contain characters that do not properly encode into a URL. If you use the user name, it is likely that the name includes spaces. In that case, URL encode the name before using it in the endpoint. For example encode \"Bob Smith\" as \"Bob%20Smith\". * @param accountId The external account number (int) or account ID Guid. (required) * @param userId The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing. (required) @@ -1269,7 +1483,7 @@ public UserSignaturesInformation listSignatures(String accountId, String userId) } /** - * Retrieves a list of user signature definitions for a specified user. + * Retrieves a list of user signature definitions for a specified user.. * Retrieves the signature definitions for the specified user. The userId parameter specified in the endpoint must match the authenticated user's user ID and the user must be a member of the account. The `signatureId` parameter accepts a signature ID or a signature name. DocuSign recommends you use signature ID (`signatureId`), since some names contain characters that do not properly encode into a URL. If you use the user name, it is likely that the name includes spaces. In that case, URL encode the name before using it in the endpoint. For example encode \"Bob Smith\" as \"Bob%20Smith\". * @param accountId The external account number (int) or account ID Guid. (required) * @param userId The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing. (required) @@ -1280,49 +1494,53 @@ public UserSignaturesInformation listSignatures(String accountId, String userId) public UserSignaturesInformation listSignatures(String accountId, String userId, UsersApi.ListSignaturesOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling listSignatures"); - } + } - // verify the required parameter 'userId' is set - if (userId == null) { + // verify the required parameter 'userId' is set + if (userId == null) { throw new ApiException(400, "Missing the required parameter 'userId' when calling listSignatures"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/users/{userId}/signatures".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/users/{userId}/signatures" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "userId" + "\\}", apiClient.escapeString(userId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "stamp_type", options.stampType)); + localVarQueryParams.addAll(apiClient.parameterToPair("stamp_type", options.stampType)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Imports multiple new contacts into the contacts collection from CSV, JSON, or XML (based on content type). + * Imports multiple new contacts into the contacts collection from CSV, JSON, or XML (based on content type).. * * @param accountId The external account number (int) or account ID Guid. (required) * @param contactModRequest (optional) @@ -1332,41 +1550,45 @@ public UserSignaturesInformation listSignatures(String accountId, String userId, public ContactUpdateResponse postContacts(String accountId, ContactModRequest contactModRequest) throws ApiException { Object localVarPostBody = contactModRequest; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling postContacts"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/contacts".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/contacts" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Replaces contacts associated with an account for the DocuSign service. + * Replaces contacts associated with an account for the DocuSign service.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param contactModRequest (optional) @@ -1376,41 +1598,45 @@ public ContactUpdateResponse postContacts(String accountId, ContactModRequest co public ContactUpdateResponse putContacts(String accountId, ContactModRequest contactModRequest) throws ApiException { Object localVarPostBody = contactModRequest; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling putContacts"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/contacts".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/contacts" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Adds or updates custom user settings for the specified user. + * Adds or updates custom user settings for the specified user.. * Adds or updates custom user settings for the specified user. ###### Note: Custom user settings are not the same as user account settings. Custom settings provide a flexible way to store and retrieve custom user information that you can use in your own system. **Important**: There is a limit on the size for all the custom user settings for a single user. The limit is 4,000 characters, which includes the XML and JSON structure for the settings. ### Grouping Custom User Settings ### You can group custom user settings when adding them. Grouping allows you to retrieve settings that are in a specific group, instead of retrieving all the user custom settings. To group custom user settings, add the following information in the header, after Content-Type: `X-DocuSign-User-Settings-Key:group_name` Where the `group_name` is your designated name for the group of customer user settings. Grouping is shown in the Example Request Body below. When getting or deleting grouped custom user settings, you must include the extra header information. Grouping custom user settings is not required and if the extra header information is not included, the custom user settings are added normally and can be retrieved or deleted without including the additional header. * @param accountId The external account number (int) or account ID Guid. (required) * @param userId The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing. (required) @@ -1421,47 +1647,51 @@ public ContactUpdateResponse putContacts(String accountId, ContactModRequest con public CustomSettingsInformation updateCustomSettings(String accountId, String userId, CustomSettingsInformation customSettingsInformation) throws ApiException { Object localVarPostBody = customSettingsInformation; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling updateCustomSettings"); - } + } - // verify the required parameter 'userId' is set - if (userId == null) { + // verify the required parameter 'userId' is set + if (userId == null) { throw new ApiException(400, "Missing the required parameter 'userId' when calling updateCustomSettings"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/users/{userId}/custom_settings".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/users/{userId}/custom_settings" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "userId" + "\\}", apiClient.escapeString(userId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Updates the user profile information for the specified user. + * Updates the user profile information for the specified user.. * Updates the user's detail information, profile information, privacy settings, and personal information in the user ID card. You can also change a user's name by changing the information in the `userDetails` property. When changing a user's name, you can either change the information in the `userName` property OR change the information in `firstName`, `middleName`, `lastName, suffixName`, and `title` properties. Changes to `firstName`, `middleName`, `lastName`, `suffixName`, and `title` properties take precedence over changes to the `userName` property. * @param accountId The external account number (int) or account ID Guid. (required) * @param userId The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing. (required) @@ -1471,47 +1701,51 @@ public CustomSettingsInformation updateCustomSettings(String accountId, String u public void updateProfile(String accountId, String userId, UserProfile userProfile) throws ApiException { Object localVarPostBody = userProfile; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling updateProfile"); - } + } - // verify the required parameter 'userId' is set - if (userId == null) { + // verify the required parameter 'userId' is set + if (userId == null) { throw new ApiException(400, "Missing the required parameter 'userId' when calling updateProfile"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/users/{userId}/profile".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/users/{userId}/profile" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "userId" + "\\}", apiClient.escapeString(userId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + + apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); + } /** - * Updates the user profile image for a specified user. + * Updates the user profile image for a specified user.. * Updates the user profile image by uploading an image to the user profile. The supported image formats are: gif, png, jpeg, and bmp. The file must be less than 200K. For best viewing results, DocuSign recommends that the image is no more than 79 pixels wide and high. * @param accountId The external account number (int) or account ID Guid. (required) * @param userId The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing. (required) @@ -1520,47 +1754,51 @@ public void updateProfile(String accountId, String userId, UserProfile userProfi public void updateProfileImage(String accountId, String userId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling updateProfileImage"); - } + } - // verify the required parameter 'userId' is set - if (userId == null) { + // verify the required parameter 'userId' is set + if (userId == null) { throw new ApiException(400, "Missing the required parameter 'userId' when calling updateProfileImage"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/users/{userId}/profile/image".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/users/{userId}/profile/image" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "userId" + "\\}", apiClient.escapeString(userId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + + - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - "image/gif" - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarContentTypes = { + "image/gif" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); - } + + apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); + } /** - * Updates the user account settings for a specified user. + * Updates the user account settings for a specified user.. * Updates the account settings list and email notification types for the specified user. * @param accountId The external account number (int) or account ID Guid. (required) * @param userId The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing. (required) @@ -1570,64 +1808,79 @@ public void updateProfileImage(String accountId, String userId) throws ApiExcept public void updateSettings(String accountId, String userId, UserSettingsInformation userSettingsInformation) throws ApiException { Object localVarPostBody = userSettingsInformation; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling updateSettings"); - } + } - // verify the required parameter 'userId' is set - if (userId == null) { + // verify the required parameter 'userId' is set + if (userId == null) { throw new ApiException(400, "Missing the required parameter 'userId' when calling updateSettings"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/users/{userId}/settings".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/users/{userId}/settings" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "userId" + "\\}", apiClient.escapeString(userId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + + apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); + } /// /// Updates the user signature for a specified user. Creates, or updates, the signature font and initials for the specified user. When creating a signature, you use this resource to create the signature name and then add the signature and initials images into the signature. ###### Note: This will also create a default signature for the user when one does not exist. The userId property specified in the endpoint must match the authenticated user's user ID and the user must be a member of the account. The `signatureId` parameter accepts a signature ID or a signature name. DocuSign recommends you use signature ID (`signatureId`), since some names contain characters that do not properly encode into a URL. If you use the user name, it is likely that the name includes spaces. In that case, URL encode the name before using it in the endpoint. For example encode \"Bob Smith\" as \"Bob%20Smith\". /// + + /** + * UpdateSignatureOptions Class. + * + **/ public class UpdateSignatureOptions { private String closeExistingSignature = null; - /* - * When set to **true**, closes the current signature. - */ + + /** + * setCloseExistingSignature method. + */ public void setCloseExistingSignature(String closeExistingSignature) { this.closeExistingSignature = closeExistingSignature; } - + + /** + * getCloseExistingSignature method. + * + * @return String + */ public String getCloseExistingSignature() { return this.closeExistingSignature; } } /** - * Updates the user signature for a specified user. + * Updates the user signature for a specified user.. * Creates, or updates, the signature font and initials for the specified user. When creating a signature, you use this resource to create the signature name and then add the signature and initials images into the signature. ###### Note: This will also create a default signature for the user when one does not exist. The userId property specified in the endpoint must match the authenticated user's user ID and the user must be a member of the account. The `signatureId` parameter accepts a signature ID or a signature name. DocuSign recommends you use signature ID (`signatureId`), since some names contain characters that do not properly encode into a URL. If you use the user name, it is likely that the name includes spaces. In that case, URL encode the name before using it in the endpoint. For example encode \"Bob Smith\" as \"Bob%20Smith\". * @param accountId The external account number (int) or account ID Guid. (required) * @param userId The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing. (required) @@ -1640,7 +1893,7 @@ public UserSignature updateSignature(String accountId, String userId, String sig } /** - * Updates the user signature for a specified user. + * Updates the user signature for a specified user.. * Creates, or updates, the signature font and initials for the specified user. When creating a signature, you use this resource to create the signature name and then add the signature and initials images into the signature. ###### Note: This will also create a default signature for the user when one does not exist. The userId property specified in the endpoint must match the authenticated user's user ID and the user must be a member of the account. The `signatureId` parameter accepts a signature ID or a signature name. DocuSign recommends you use signature ID (`signatureId`), since some names contain characters that do not properly encode into a URL. If you use the user name, it is likely that the name includes spaces. In that case, URL encode the name before using it in the endpoint. For example encode \"Bob Smith\" as \"Bob%20Smith\". * @param accountId The external account number (int) or account ID Guid. (required) * @param userId The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing. (required) @@ -1653,55 +1906,59 @@ public UserSignature updateSignature(String accountId, String userId, String sig public UserSignature updateSignature(String accountId, String userId, String signatureId, UserSignatureDefinition userSignatureDefinition, UsersApi.UpdateSignatureOptions options) throws ApiException { Object localVarPostBody = userSignatureDefinition; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling updateSignature"); - } + } - // verify the required parameter 'userId' is set - if (userId == null) { + // verify the required parameter 'userId' is set + if (userId == null) { throw new ApiException(400, "Missing the required parameter 'userId' when calling updateSignature"); - } + } - // verify the required parameter 'signatureId' is set - if (signatureId == null) { + // verify the required parameter 'signatureId' is set + if (signatureId == null) { throw new ApiException(400, "Missing the required parameter 'signatureId' when calling updateSignature"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/users/{userId}/signatures/{signatureId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/users/{userId}/signatures/{signatureId}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "userId" + "\\}", apiClient.escapeString(userId.toString())) .replaceAll("\\{" + "signatureId" + "\\}", apiClient.escapeString(signatureId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "close_existing_signature", options.closeExistingSignature)); + localVarQueryParams.addAll(apiClient.parameterToPair("close_existing_signature", options.closeExistingSignature)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Updates the user signature image or user initials image for the specified user. + * Updates the user signature image or user initials image for the specified user.. * Updates the user signature image or user initials image for the specified user. The supported image formats for this file are: gif, png, jpeg, and bmp. The file must be less than 200K. The userId property specified in the endpoint must match the authenticated user's user ID and the user must be a member of the account. The `signatureId` parameter accepts a signature ID or a signature name. DocuSign recommends you use signature ID (`signatureId`), since some names contain characters that do not properly encode into a URL. If you use the user name, it is likely that the name includes spaces. In that case, URL encode the name before using it in the endpoint. For example encode \"Bob Smith\" as \"Bob%20Smith\". * @param accountId The external account number (int) or account ID Guid. (required) * @param userId The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing. (required) @@ -1713,28 +1970,28 @@ public UserSignature updateSignature(String accountId, String userId, String sig public UserSignature updateSignatureImage(String accountId, String userId, String signatureId, String imageType) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling updateSignatureImage"); - } + } - // verify the required parameter 'userId' is set - if (userId == null) { + // verify the required parameter 'userId' is set + if (userId == null) { throw new ApiException(400, "Missing the required parameter 'userId' when calling updateSignatureImage"); - } + } - // verify the required parameter 'signatureId' is set - if (signatureId == null) { + // verify the required parameter 'signatureId' is set + if (signatureId == null) { throw new ApiException(400, "Missing the required parameter 'signatureId' when calling updateSignatureImage"); - } + } - // verify the required parameter 'imageType' is set - if (imageType == null) { + // verify the required parameter 'imageType' is set + if (imageType == null) { throw new ApiException(400, "Missing the required parameter 'imageType' when calling updateSignatureImage"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/users/{userId}/signatures/{signatureId}/{imageType}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/users/{userId}/signatures/{signatureId}/{imageType}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "userId" + "\\}", apiClient.escapeString(userId.toString())) .replaceAll("\\{" + "signatureId" + "\\}", apiClient.escapeString(signatureId.toString())) @@ -1742,30 +1999,34 @@ public UserSignature updateSignatureImage(String accountId, String userId, Strin // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + + - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - "image/gif" - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarContentTypes = { + "image/gif" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Adds/updates a user signature. + * Adds/updates a user signature.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param userId The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing. (required) @@ -1776,47 +2037,51 @@ public UserSignature updateSignatureImage(String accountId, String userId, Strin public UserSignaturesInformation updateSignatures(String accountId, String userId, UserSignaturesInformation userSignaturesInformation) throws ApiException { Object localVarPostBody = userSignaturesInformation; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling updateSignatures"); - } + } - // verify the required parameter 'userId' is set - if (userId == null) { + // verify the required parameter 'userId' is set + if (userId == null) { throw new ApiException(400, "Missing the required parameter 'userId' when calling updateSignatures"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/users/{userId}/signatures".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/users/{userId}/signatures" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "userId" + "\\}", apiClient.escapeString(userId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Updates the specified user information. + * Updates the specified user information.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param userId The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing. (required) @@ -1827,47 +2092,51 @@ public UserSignaturesInformation updateSignatures(String accountId, String userI public UserInformation updateUser(String accountId, String userId, UserInformation userInformation) throws ApiException { Object localVarPostBody = userInformation; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling updateUser"); - } + } - // verify the required parameter 'userId' is set - if (userId == null) { + // verify the required parameter 'userId' is set + if (userId == null) { throw new ApiException(400, "Missing the required parameter 'userId' when calling updateUser"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/users/{userId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/users/{userId}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "userId" + "\\}", apiClient.escapeString(userId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Change one or more user in the specified account. + * Change one or more user in the specified account.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param userInformationList (optional) @@ -1877,36 +2146,40 @@ public UserInformation updateUser(String accountId, String userId, UserInformati public UserInformationList updateUsers(String accountId, UserInformationList userInformationList) throws ApiException { Object localVarPostBody = userInformationList; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling updateUsers"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/users".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/users" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } +} diff --git a/src/main/java/com/docusign/esign/api/WorkspacesApi.java b/src/main/java/com/docusign/esign/api/WorkspacesApi.java index affc99d4..c393ad7c 100644 --- a/src/main/java/com/docusign/esign/api/WorkspacesApi.java +++ b/src/main/java/com/docusign/esign/api/WorkspacesApi.java @@ -1,45 +1,60 @@ + package com.docusign.esign.api; -import com.sun.jersey.api.client.GenericType; +import javax.ws.rs.core.GenericType; import com.docusign.esign.client.ApiException; import com.docusign.esign.client.ApiClient; import com.docusign.esign.client.Configuration; +import com.docusign.esign.model.*; import com.docusign.esign.client.Pair; -import com.docusign.esign.model.ErrorDetails; -import com.docusign.esign.model.PageImages; -import com.docusign.esign.model.Workspace; -import com.docusign.esign.model.WorkspaceFolderContents; -import com.docusign.esign.model.WorkspaceItem; -import com.docusign.esign.model.WorkspaceItemList; -import com.docusign.esign.model.WorkspaceList; - - public class WorkspacesApi { +/** + * WorkspacesApi class. + * + **/ +public class WorkspacesApi { private ApiClient apiClient; + /** + * WorkspacesApi. + * + **/ public WorkspacesApi() { - this(Configuration.getDefaultApiClient()); + this(Configuration.getDefaultApiClient()); } + /** + * WorkspacesApi. + * + **/ public WorkspacesApi(ApiClient apiClient) { - this.apiClient = apiClient; + this.apiClient = apiClient; } + /** + * getApiClient Method. + * + * @return ApiClient + **/ public ApiClient getApiClient() { - return apiClient; + return apiClient; } + /** + * setApiClient Method. + * + **/ public void setApiClient(ApiClient apiClient) { - this.apiClient = apiClient; + this.apiClient = apiClient; } /** - * Create a Workspace + * Create a Workspace. * Creates a new workspace. * @param accountId The external account number (int) or account ID Guid. (required) * @param workspace (optional) @@ -49,41 +64,45 @@ public void setApiClient(ApiClient apiClient) { public Workspace createWorkspace(String accountId, Workspace workspace) throws ApiException { Object localVarPostBody = workspace; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling createWorkspace"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/workspaces".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/workspaces" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Creates a workspace file. + * Creates a workspace file.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param workspaceId Specifies the workspace ID GUID. (required) @@ -94,53 +113,57 @@ public Workspace createWorkspace(String accountId, Workspace workspace) throws A public WorkspaceItem createWorkspaceFile(String accountId, String workspaceId, String folderId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling createWorkspaceFile"); - } + } - // verify the required parameter 'workspaceId' is set - if (workspaceId == null) { + // verify the required parameter 'workspaceId' is set + if (workspaceId == null) { throw new ApiException(400, "Missing the required parameter 'workspaceId' when calling createWorkspaceFile"); - } + } - // verify the required parameter 'folderId' is set - if (folderId == null) { + // verify the required parameter 'folderId' is set + if (folderId == null) { throw new ApiException(400, "Missing the required parameter 'folderId' when calling createWorkspaceFile"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/workspaces/{workspaceId}/folders/{folderId}/files".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/workspaces/{workspaceId}/folders/{folderId}/files" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "workspaceId" + "\\}", apiClient.escapeString(workspaceId.toString())) .replaceAll("\\{" + "folderId" + "\\}", apiClient.escapeString(folderId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Delete Workspace + * Delete Workspace. * Deletes an existing workspace (logically). * @param accountId The external account number (int) or account ID Guid. (required) * @param workspaceId Specifies the workspace ID GUID. (required) @@ -150,47 +173,51 @@ public WorkspaceItem createWorkspaceFile(String accountId, String workspaceId, S public Workspace deleteWorkspace(String accountId, String workspaceId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling deleteWorkspace"); - } + } - // verify the required parameter 'workspaceId' is set - if (workspaceId == null) { + // verify the required parameter 'workspaceId' is set + if (workspaceId == null) { throw new ApiException(400, "Missing the required parameter 'workspaceId' when calling deleteWorkspace"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/workspaces/{workspaceId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/workspaces/{workspaceId}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "workspaceId" + "\\}", apiClient.escapeString(workspaceId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Deletes workspace one or more specific files/folders from the given folder or root. + * Deletes workspace one or more specific files/folders from the given folder or root.. * * @param accountId The external account number (int) or account ID Guid. (required) * @param workspaceId Specifies the workspace ID GUID. (required) @@ -201,53 +228,57 @@ public Workspace deleteWorkspace(String accountId, String workspaceId) throws Ap public void deleteWorkspaceFolderItems(String accountId, String workspaceId, String folderId, WorkspaceItemList workspaceItemList) throws ApiException { Object localVarPostBody = workspaceItemList; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling deleteWorkspaceFolderItems"); - } + } - // verify the required parameter 'workspaceId' is set - if (workspaceId == null) { + // verify the required parameter 'workspaceId' is set + if (workspaceId == null) { throw new ApiException(400, "Missing the required parameter 'workspaceId' when calling deleteWorkspaceFolderItems"); - } + } - // verify the required parameter 'folderId' is set - if (folderId == null) { + // verify the required parameter 'folderId' is set + if (folderId == null) { throw new ApiException(400, "Missing the required parameter 'folderId' when calling deleteWorkspaceFolderItems"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/workspaces/{workspaceId}/folders/{folderId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/workspaces/{workspaceId}/folders/{folderId}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "workspaceId" + "\\}", apiClient.escapeString(workspaceId.toString())) .replaceAll("\\{" + "folderId" + "\\}", apiClient.escapeString(folderId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); - } + + apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); + } /** - * Get Workspace + * Get Workspace. * Retrives properties about a workspace given a unique workspaceId. * @param accountId The external account number (int) or account ID Guid. (required) * @param workspaceId Specifies the workspace ID GUID. (required) @@ -257,88 +288,108 @@ public void deleteWorkspaceFolderItems(String accountId, String workspaceId, Str public Workspace getWorkspace(String accountId, String workspaceId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getWorkspace"); - } + } - // verify the required parameter 'workspaceId' is set - if (workspaceId == null) { + // verify the required parameter 'workspaceId' is set + if (workspaceId == null) { throw new ApiException(400, "Missing the required parameter 'workspaceId' when calling getWorkspace"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/workspaces/{workspaceId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/workspaces/{workspaceId}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "workspaceId" + "\\}", apiClient.escapeString(workspaceId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// Get Workspace File Retrieves a workspace file (the binary). /// + + /** + * GetWorkspaceFileOptions Class. + * + **/ public class GetWorkspaceFileOptions { private String isDownload = null; private String pdfVersion = null; - /* - * When set to **true**, the Content-Disposition header is set in the response. The value of the header provides the filename of the file. Default is **false**. - */ + + /** + * setIsDownload method. + */ public void setIsDownload(String isDownload) { this.isDownload = isDownload; } - + + /** + * getIsDownload method. + * + * @return String + */ public String getIsDownload() { return this.isDownload; } - /* - * When set to **true** the file returned as a PDF. - */ + + /** + * setPdfVersion method. + */ public void setPdfVersion(String pdfVersion) { this.pdfVersion = pdfVersion; } - + + /** + * getPdfVersion method. + * + * @return String + */ public String getPdfVersion() { return this.pdfVersion; } } /** - * Get Workspace File + * Get Workspace File. * Retrieves a workspace file (the binary). * @param accountId The external account number (int) or account ID Guid. (required) * @param workspaceId Specifies the workspace ID GUID. (required) * @param folderId The ID of the folder being accessed. (required) * @param fileId Specifies the room file ID GUID. (required) - * @return void */ public void getWorkspaceFile(String accountId, String workspaceId, String folderId, String fileId) throws ApiException { getWorkspaceFile(accountId, workspaceId, folderId, fileId, null); } /** - * Get Workspace File + * Get Workspace File. * Retrieves a workspace file (the binary). * @param accountId The external account number (int) or account ID Guid. (required) * @param workspaceId Specifies the workspace ID GUID. (required) @@ -350,28 +401,28 @@ public void getWorkspaceFile(String accountId, String workspaceId, String folder public void getWorkspaceFile(String accountId, String workspaceId, String folderId, String fileId, WorkspacesApi.GetWorkspaceFileOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling getWorkspaceFile"); - } + } - // verify the required parameter 'workspaceId' is set - if (workspaceId == null) { + // verify the required parameter 'workspaceId' is set + if (workspaceId == null) { throw new ApiException(400, "Missing the required parameter 'workspaceId' when calling getWorkspaceFile"); - } + } - // verify the required parameter 'folderId' is set - if (folderId == null) { + // verify the required parameter 'folderId' is set + if (folderId == null) { throw new ApiException(400, "Missing the required parameter 'folderId' when calling getWorkspaceFile"); - } + } - // verify the required parameter 'fileId' is set - if (fileId == null) { + // verify the required parameter 'fileId' is set + if (fileId == null) { throw new ApiException(400, "Missing the required parameter 'fileId' when calling getWorkspaceFile"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/workspaces/{workspaceId}/folders/{folderId}/files/{fileId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/workspaces/{workspaceId}/folders/{folderId}/files/{fileId}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "workspaceId" + "\\}", apiClient.escapeString(workspaceId.toString())) .replaceAll("\\{" + "folderId" + "\\}", apiClient.escapeString(folderId.toString())) @@ -379,33 +430,43 @@ public void getWorkspaceFile(String accountId, String workspaceId, String folder // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "is_download", options.isDownload)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "pdf_version", options.pdfVersion)); + localVarQueryParams.addAll(apiClient.parameterToPair("is_download", options.isDownload)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("pdf_version", options.pdfVersion)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + + apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null); + } /// /// List File Pages Retrieves a workspace file as rasterized pages. /// + + /** + * ListWorkspaceFilePagesOptions Class. + * + **/ public class ListWorkspaceFilePagesOptions { private String count = null; @@ -413,60 +474,90 @@ public class ListWorkspaceFilePagesOptions private String maxHeight = null; private String maxWidth = null; private String startPosition = null; - /* - * The maximum number of results to be returned by this request. - */ + + /** + * setCount method. + */ public void setCount(String count) { this.count = count; } - + + /** + * getCount method. + * + * @return String + */ public String getCount() { return this.count; } - /* - * Number of dots per inch for the resulting image. The default if not used is 94. The range is 1-310. - */ + + /** + * setDpi method. + */ public void setDpi(String dpi) { this.dpi = dpi; } - + + /** + * getDpi method. + * + * @return String + */ public String getDpi() { return this.dpi; } - /* - * Sets the maximum height (in pixels) of the returned image. - */ + + /** + * setMaxHeight method. + */ public void setMaxHeight(String maxHeight) { this.maxHeight = maxHeight; } - + + /** + * getMaxHeight method. + * + * @return String + */ public String getMaxHeight() { return this.maxHeight; } - /* - * Sets the maximum width (in pixels) of the returned image. - */ + + /** + * setMaxWidth method. + */ public void setMaxWidth(String maxWidth) { this.maxWidth = maxWidth; } - + + /** + * getMaxWidth method. + * + * @return String + */ public String getMaxWidth() { return this.maxWidth; } - /* - * The position within the total result set from which to start returning values. The value **thumbnail** may be used to return the page image. - */ + + /** + * setStartPosition method. + */ public void setStartPosition(String startPosition) { this.startPosition = startPosition; } - + + /** + * getStartPosition method. + * + * @return String + */ public String getStartPosition() { return this.startPosition; } } /** - * List File Pages + * List File Pages. * Retrieves a workspace file as rasterized pages. * @param accountId The external account number (int) or account ID Guid. (required) * @param workspaceId Specifies the workspace ID GUID. (required) @@ -479,7 +570,7 @@ public PageImages listWorkspaceFilePages(String accountId, String workspaceId, S } /** - * List File Pages + * List File Pages. * Retrieves a workspace file as rasterized pages. * @param accountId The external account number (int) or account ID Guid. (required) * @param workspaceId Specifies the workspace ID GUID. (required) @@ -492,28 +583,28 @@ public PageImages listWorkspaceFilePages(String accountId, String workspaceId, S public PageImages listWorkspaceFilePages(String accountId, String workspaceId, String folderId, String fileId, WorkspacesApi.ListWorkspaceFilePagesOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling listWorkspaceFilePages"); - } + } - // verify the required parameter 'workspaceId' is set - if (workspaceId == null) { + // verify the required parameter 'workspaceId' is set + if (workspaceId == null) { throw new ApiException(400, "Missing the required parameter 'workspaceId' when calling listWorkspaceFilePages"); - } + } - // verify the required parameter 'folderId' is set - if (folderId == null) { + // verify the required parameter 'folderId' is set + if (folderId == null) { throw new ApiException(400, "Missing the required parameter 'folderId' when calling listWorkspaceFilePages"); - } + } - // verify the required parameter 'fileId' is set - if (fileId == null) { + // verify the required parameter 'fileId' is set + if (fileId == null) { throw new ApiException(400, "Missing the required parameter 'fileId' when calling listWorkspaceFilePages"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/workspaces/{workspaceId}/folders/{folderId}/files/{fileId}/pages".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/workspaces/{workspaceId}/folders/{folderId}/files/{fileId}/pages" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "workspaceId" + "\\}", apiClient.escapeString(workspaceId.toString())) .replaceAll("\\{" + "folderId" + "\\}", apiClient.escapeString(folderId.toString())) @@ -521,36 +612,49 @@ public PageImages listWorkspaceFilePages(String accountId, String workspaceId, S // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "count", options.count)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "dpi", options.dpi)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "max_height", options.maxHeight)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "max_width", options.maxWidth)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "start_position", options.startPosition)); + localVarQueryParams.addAll(apiClient.parameterToPair("count", options.count)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("dpi", options.dpi)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("max_height", options.maxHeight)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("max_width", options.maxWidth)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("start_position", options.startPosition)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /// /// List Workspace Folder Contents Retrieves workspace folder contents, which can include sub folders and files. /// + + /** + * ListWorkspaceFolderItemsOptions Class. + * + **/ public class ListWorkspaceFolderItemsOptions { private String count = null; @@ -560,80 +664,122 @@ public class ListWorkspaceFolderItemsOptions private String includeUserDetail = null; private String startPosition = null; private String workspaceUserId = null; - /* - * The maximum number of results to be returned by this request. - */ + + /** + * setCount method. + */ public void setCount(String count) { this.count = count; } - + + /** + * getCount method. + * + * @return String + */ public String getCount() { return this.count; } - /* - * When set to **true**, file information is returned in the response along with folder information. The default is **false**. - */ + + /** + * setIncludeFiles method. + */ public void setIncludeFiles(String includeFiles) { this.includeFiles = includeFiles; } - + + /** + * getIncludeFiles method. + * + * @return String + */ public String getIncludeFiles() { return this.includeFiles; } - /* - * When set to **true**, information about the sub-folders of the current folder is returned. The default is **false**. - */ + + /** + * setIncludeSubFolders method. + */ public void setIncludeSubFolders(String includeSubFolders) { this.includeSubFolders = includeSubFolders; } - + + /** + * getIncludeSubFolders method. + * + * @return String + */ public String getIncludeSubFolders() { return this.includeSubFolders; } - /* - * When set to **true**, thumbnails are returned as part of the response. The default is **false**. - */ + + /** + * setIncludeThumbnails method. + */ public void setIncludeThumbnails(String includeThumbnails) { this.includeThumbnails = includeThumbnails; } - + + /** + * getIncludeThumbnails method. + * + * @return String + */ public String getIncludeThumbnails() { return this.includeThumbnails; } - /* - * Set to **true** to return extended details about the user. The default is **false**. - */ + + /** + * setIncludeUserDetail method. + */ public void setIncludeUserDetail(String includeUserDetail) { this.includeUserDetail = includeUserDetail; } - + + /** + * getIncludeUserDetail method. + * + * @return String + */ public String getIncludeUserDetail() { return this.includeUserDetail; } - /* - * The position within the total result set from which to start returning values. - */ + + /** + * setStartPosition method. + */ public void setStartPosition(String startPosition) { this.startPosition = startPosition; } - + + /** + * getStartPosition method. + * + * @return String + */ public String getStartPosition() { return this.startPosition; } - /* - * If set, then the results are filtered to those associated with the specified userId. - */ + + /** + * setWorkspaceUserId method. + */ public void setWorkspaceUserId(String workspaceUserId) { this.workspaceUserId = workspaceUserId; } - + + /** + * getWorkspaceUserId method. + * + * @return String + */ public String getWorkspaceUserId() { return this.workspaceUserId; } } /** - * List Workspace Folder Contents + * List Workspace Folder Contents. * Retrieves workspace folder contents, which can include sub folders and files. * @param accountId The external account number (int) or account ID Guid. (required) * @param workspaceId Specifies the workspace ID GUID. (required) @@ -645,7 +791,7 @@ public WorkspaceFolderContents listWorkspaceFolderItems(String accountId, String } /** - * List Workspace Folder Contents + * List Workspace Folder Contents. * Retrieves workspace folder contents, which can include sub folders and files. * @param accountId The external account number (int) or account ID Guid. (required) * @param workspaceId Specifies the workspace ID GUID. (required) @@ -657,61 +803,71 @@ public WorkspaceFolderContents listWorkspaceFolderItems(String accountId, String public WorkspaceFolderContents listWorkspaceFolderItems(String accountId, String workspaceId, String folderId, WorkspacesApi.ListWorkspaceFolderItemsOptions options) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling listWorkspaceFolderItems"); - } + } - // verify the required parameter 'workspaceId' is set - if (workspaceId == null) { + // verify the required parameter 'workspaceId' is set + if (workspaceId == null) { throw new ApiException(400, "Missing the required parameter 'workspaceId' when calling listWorkspaceFolderItems"); - } + } - // verify the required parameter 'folderId' is set - if (folderId == null) { + // verify the required parameter 'folderId' is set + if (folderId == null) { throw new ApiException(400, "Missing the required parameter 'folderId' when calling listWorkspaceFolderItems"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/workspaces/{workspaceId}/folders/{folderId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/workspaces/{workspaceId}/folders/{folderId}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "workspaceId" + "\\}", apiClient.escapeString(workspaceId.toString())) .replaceAll("\\{" + "folderId" + "\\}", apiClient.escapeString(folderId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); if (options != null) { - localVarQueryParams.addAll(apiClient.parameterToPairs("", "count", options.count)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "include_files", options.includeFiles)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "include_sub_folders", options.includeSubFolders)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "include_thumbnails", options.includeThumbnails)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "include_user_detail", options.includeUserDetail)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "start_position", options.startPosition)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "workspace_user_id", options.workspaceUserId)); + localVarQueryParams.addAll(apiClient.parameterToPair("count", options.count)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("include_files", options.includeFiles)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("include_sub_folders", options.includeSubFolders)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("include_thumbnails", options.includeThumbnails)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("include_user_detail", options.includeUserDetail)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("start_position", options.startPosition)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("workspace_user_id", options.workspaceUserId)); } + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * List Workspaces + * List Workspaces. * Gets information about the Workspaces that have been created. * @param accountId The external account number (int) or account ID Guid. (required) * @return WorkspaceList @@ -720,41 +876,45 @@ public WorkspaceFolderContents listWorkspaceFolderItems(String accountId, String public WorkspaceList listWorkspaces(String accountId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling listWorkspaces"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/workspaces".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/workspaces" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Update Workspace + * Update Workspace. * Updates information about a specific workspace. * @param accountId The external account number (int) or account ID Guid. (required) * @param workspaceId Specifies the workspace ID GUID. (required) @@ -765,47 +925,51 @@ public WorkspaceList listWorkspaces(String accountId) throws ApiException { public Workspace updateWorkspace(String accountId, String workspaceId, Workspace workspace) throws ApiException { Object localVarPostBody = workspace; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling updateWorkspace"); - } + } - // verify the required parameter 'workspaceId' is set - if (workspaceId == null) { + // verify the required parameter 'workspaceId' is set + if (workspaceId == null) { throw new ApiException(400, "Missing the required parameter 'workspaceId' when calling updateWorkspace"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/workspaces/{workspaceId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/workspaces/{workspaceId}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "workspaceId" + "\\}", apiClient.escapeString(workspaceId.toString())); // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } /** - * Update Workspace File Metadata + * Update Workspace File Metadata. * Updates workspace item metadata for one or more specific files/folders. * @param accountId The external account number (int) or account ID Guid. (required) * @param workspaceId Specifies the workspace ID GUID. (required) @@ -817,28 +981,28 @@ public Workspace updateWorkspace(String accountId, String workspaceId, Workspace public WorkspaceItem updateWorkspaceFile(String accountId, String workspaceId, String folderId, String fileId) throws ApiException { Object localVarPostBody = "{}"; - // verify the required parameter 'accountId' is set - if (accountId == null) { + // verify the required parameter 'accountId' is set + if (accountId == null) { throw new ApiException(400, "Missing the required parameter 'accountId' when calling updateWorkspaceFile"); - } + } - // verify the required parameter 'workspaceId' is set - if (workspaceId == null) { + // verify the required parameter 'workspaceId' is set + if (workspaceId == null) { throw new ApiException(400, "Missing the required parameter 'workspaceId' when calling updateWorkspaceFile"); - } + } - // verify the required parameter 'folderId' is set - if (folderId == null) { + // verify the required parameter 'folderId' is set + if (folderId == null) { throw new ApiException(400, "Missing the required parameter 'folderId' when calling updateWorkspaceFile"); - } + } - // verify the required parameter 'fileId' is set - if (fileId == null) { + // verify the required parameter 'fileId' is set + if (fileId == null) { throw new ApiException(400, "Missing the required parameter 'fileId' when calling updateWorkspaceFile"); - } + } // create path and map variables - String localVarPath = "/v2/accounts/{accountId}/workspaces/{workspaceId}/folders/{folderId}/files/{fileId}".replaceAll("\\{format\\}","json") + String localVarPath = "/v2/accounts/{accountId}/workspaces/{workspaceId}/folders/{folderId}/files/{fileId}" .replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString())) .replaceAll("\\{" + "workspaceId" + "\\}", apiClient.escapeString(workspaceId.toString())) .replaceAll("\\{" + "folderId" + "\\}", apiClient.escapeString(folderId.toString())) @@ -846,25 +1010,29 @@ public WorkspaceItem updateWorkspaceFile(String accountId, String workspaceId, S // query params java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); + - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - final String[] localVarContentTypes = { - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ }; + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - GenericType localVarReturnType = new GenericType() {}; - return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); - } - } + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } +} diff --git a/src/main/java/com/docusign/esign/client/ApiClient.java b/src/main/java/com/docusign/esign/client/ApiClient.java index e3c0c3ee..639eda6f 100644 --- a/src/main/java/com/docusign/esign/client/ApiClient.java +++ b/src/main/java/com/docusign/esign/client/ApiClient.java @@ -1,150 +1,135 @@ package com.docusign.esign.client; -import com.fasterxml.jackson.annotation.*; + + +import com.docusign.esign.client.auth.*; import com.fasterxml.jackson.core.JsonGenerator; -import com.fasterxml.jackson.core.JsonParseException; import com.fasterxml.jackson.core.JsonProcessingException; -import com.fasterxml.jackson.databind.*; -import com.fasterxml.jackson.datatype.joda.*; -import com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider; +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.dataformat.csv.CsvMapper; import com.fasterxml.jackson.dataformat.csv.CsvSchema; import com.migcomponents.migbase64.Base64; -import com.sun.jersey.api.client.Client; -import com.sun.jersey.api.client.ClientResponse; -import com.sun.jersey.api.client.GenericType; -import com.sun.jersey.api.client.WebResource; -import com.sun.jersey.api.client.config.ClientConfig; -import com.sun.jersey.api.client.config.DefaultClientConfig; -import com.sun.jersey.api.client.filter.LoggingFilter; -import com.sun.jersey.client.urlconnection.HTTPSProperties; -import com.sun.jersey.core.util.MultivaluedMapImpl; -import com.sun.jersey.api.client.WebResource.Builder; -import com.sun.jersey.client.urlconnection.URLConnectionClientHandler; -import com.sun.jersey.client.urlconnection.HttpURLConnectionFactory; - -import com.sun.jersey.multipart.FormDataMultiPart; -import com.sun.jersey.multipart.file.FileDataBodyPart; - import org.apache.oltu.oauth2.client.request.OAuthClientRequest.AuthenticationRequestBuilder; import org.apache.oltu.oauth2.client.request.OAuthClientRequest.TokenRequestBuilder; import org.apache.oltu.oauth2.common.exception.OAuthSystemException; - -import javax.net.ssl.HostnameVerifier; -import javax.net.ssl.HttpsURLConnection; -import javax.net.ssl.SSLContext; -import javax.net.ssl.SSLSession; -import javax.net.ssl.TrustManager; -import javax.net.ssl.X509TrustManager; +import org.glassfish.jersey.client.ClientConfig; +import org.glassfish.jersey.client.ClientProperties; +import org.glassfish.jersey.client.HttpUrlConnectorProvider; +import org.glassfish.jersey.client.spi.Connector; +import org.glassfish.jersey.client.spi.ConnectorProvider; +import org.glassfish.jersey.jackson.JacksonFeature; +import org.glassfish.jersey.logging.LoggingFeature; +import org.glassfish.jersey.media.multipart.*; + +import javax.net.ssl.*; +import javax.ws.rs.client.*; +import javax.ws.rs.core.*; +import javax.ws.rs.core.Response.Status; import javax.ws.rs.core.Response.Status.Family; -import javax.ws.rs.core.UriBuilder; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.MultivaluedMap; -import javax.ws.rs.core.UriBuilderException; - -import java.util.Collection; -import java.util.Collections; -import java.util.Map; -import java.util.Map.Entry; -import java.util.HashMap; -import java.util.List; -import java.util.ArrayList; -import java.util.Date; -import java.util.TimeZone; -import java.net.URI; -import java.net.URLEncoder; -import java.security.SecureRandom; -import java.security.cert.CertificateException; -import java.security.cert.X509Certificate; -import java.net.URL; -import java.net.Authenticator; -import java.net.HttpURLConnection; -import java.net.InetSocketAddress; -import java.net.PasswordAuthentication; -import java.net.Proxy; import java.io.File; import java.io.IOException; +import java.io.InputStream; import java.io.UnsupportedEncodingException; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; +import java.net.*; + +import java.nio.file.Files; +import java.nio.file.StandardCopyOption; +import org.glassfish.jersey.logging.LoggingFeature; +import java.security.SecureRandom; +import java.security.cert.CertificateException; +import java.security.cert.X509Certificate; import java.text.DateFormat; -import java.text.SimpleDateFormat; +import java.util.*; +import java.util.Map.Entry; +import java.util.regex.Matcher; +import java.util.regex.Pattern; + + -import com.docusign.esign.client.auth.Authentication; -import com.docusign.esign.client.auth.HttpBasicAuth; -import com.docusign.esign.client.auth.JWTUtils; -import com.docusign.esign.client.auth.ApiKeyAuth; -import com.docusign.esign.client.auth.OAuth; -import com.docusign.esign.client.auth.AccessTokenListener; -import com.docusign.esign.client.auth.OAuthFlow; +/** + * ApiClient class. + * + **/ public class ApiClient { - private Map defaultHeaderMap = new HashMap(); + protected Map defaultHeaderMap = new HashMap(); // Rest API base path constants - /** live/production base path */ + /** live/production base path. */ public final static String PRODUCTION_REST_BASEPATH = "https://www.docusign.net/restapi"; - /** sandbox/demo base path */ + /** sandbox/demo base path. */ public final static String DEMO_REST_BASEPATH = "https://demo.docusign.net/restapi"; - /** stage base path */ + /** stage base path. */ public final static String STAGE_REST_BASEPATH = "https://stage.docusign.net/restapi"; private String basePath = PRODUCTION_REST_BASEPATH; private String oAuthBasePath = OAuth.PRODUCTION_OAUTH_BASEPATH; - private boolean debugging = false; - private int connectionTimeout = 0; + protected boolean debugging = false; + protected int connectionTimeout = 0; private int readTimeout = 0; - private Client httpClient; - private ObjectMapper mapper; + protected Client httpClient; + protected JSON json; + protected String tempFolderPath = null; - private Map authentications; + protected Map authentications; private int statusCode; private Map> responseHeaders; - private DateFormat dateFormat; + protected DateFormat dateFormat; private SSLContext sslContext = null; + /** + * ApiClient constructor. + * + **/ public ApiClient() { - mapper = new ObjectMapper(); - mapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false); - mapper.setSerializationInclusion(JsonInclude.Include.NON_NULL); - mapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false); - mapper.disable(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS); - mapper.enable(SerializationFeature.WRITE_ENUMS_USING_TO_STRING); - mapper.enable(DeserializationFeature.READ_ENUMS_USING_TO_STRING); - mapper.registerModule(new JodaModule()); + json = new JSON(); httpClient = buildHttpClient(debugging); - // Use RFC3339 format for date and datetime. - // See http://xml2rfc.ietf.org/public/rfc/html/rfc3339.html#anchor14 - dateFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ"); - - // Use UTC as the default time zone. - dateFormat.setTimeZone(TimeZone.getTimeZone("UTC")); - - mapper.setDateFormat((DateFormat) dateFormat.clone()); + this.dateFormat = new RFC3339DateFormat(); // Set default User-Agent. - setUserAgent("Swagger-Codegen/2.10.1/java"); + setUserAgent("Swagger-Codegen/2.23.0/java"); // Setup authentications (key: authentication name, value: authentication). authentications = new HashMap(); - authentications.put("docusignAccessCode", new OAuth(null, null, null)); + authentications.put("docusignAccessCode", new OAuth()); // Derive the OAuth base path from the Rest API base url this.deriveOAuthBasePathFromRestBasePath(); + } - rebuildHttpClient(); + /** + * buildDefaultDateFormat method. + * + * @return DateFormat + **/ + public static DateFormat buildDefaultDateFormat() { + return new RFC3339DateFormat(); } + /** + * ApiClient constructor. + * + * @param basePath The base path to create the client with + **/ public ApiClient(String basePath) { this(); this.basePath = basePath; this.deriveOAuthBasePathFromRestBasePath(); } + /** + * ApiClient constructor. + * + * @param oAuthBasePath The base path to create the client with + * @param authNames The authentication names + **/ public ApiClient(String oAuthBasePath, String[] authNames) { this(); this.setOAuthBasePath(oAuthBasePath); @@ -162,15 +147,16 @@ public ApiClient(String oAuthBasePath, String[] authNames) { } /** - * Basic constructor for single auth name - * @param authName + * Basic constructor for single auth name. + * @param oAuthBasePath the basepath + * @param authName the auth name */ public ApiClient(String oAuthBasePath, String authName) { this(oAuthBasePath, new String[]{authName}); } /** - * Helper constructor for OAuth2 + * Helper constructor for OAuth2. * @param oAuthBasePath The API base path * @param authName the authentication method name ("oauth" or "api_key") * @param clientId OAuth2 Client ID @@ -185,21 +171,12 @@ public ApiClient(String oAuthBasePath, String authName, String clientId, String /** * Build the Client used to make HTTP requests with the latest settings, - * i.e. mapper and debugging. + * i.e. objectMapper and debugging. * TODO: better to use the Builder Pattern? * @return API client */ public ApiClient rebuildHttpClient() { - // Add the JSON serialization support to Jersey - JacksonJsonProvider jsonProvider = new JacksonJsonProvider(mapper); - DefaultClientConfig conf = new DefaultClientConfig(); - conf.getSingletons().add(jsonProvider); - Client client = Client.create(conf); - if (debugging) { - client.addFilter(new LoggingFilter()); - } - this.httpClient = client; - return this; + return setDebugging(debugging); } /** @@ -211,29 +188,62 @@ public ApiClient rebuildHttpClient() { * @return Object mapper */ public ObjectMapper getObjectMapper() { - return mapper; + return json.getObjectMapper(); } - public ApiClient setObjectMapper(ObjectMapper mapper) { - this.mapper = mapper; + /** + * Set the object mapper of client. + * + * @return API client + */ + public ApiClient setObjectMapper(ObjectMapper objectMapper) { + json.setObjectMapper(objectMapper); // Need to rebuild the Client as it depends on object mapper. rebuildHttpClient(); return this; } + /** + * Gets the JSON instance to do JSON serialization and deserialization. + * @return JSON + */ + public JSON getJSON() { + return json; + } + + /** + * Gets the API client. + * + * @return Client + */ public Client getHttpClient() { return httpClient; } + /** + * Sets the API client. + * + * @return ApiClient + */ public ApiClient setHttpClient(Client httpClient) { this.httpClient = httpClient; return this; } + /** + * Gets the basepath. + * + * @return String + */ public String getBasePath() { return basePath; } + /** + * Sets the basepath. + * + * @return ApiClient + */ public ApiClient setBasePath(String basePath) { this.basePath = basePath; this.deriveOAuthBasePathFromRestBasePath(); @@ -241,7 +251,7 @@ public ApiClient setBasePath(String basePath) { } /** - * Gets the status code of the previous request + * Gets the status code of the previous request. * @return Status code */ public int getStatusCode() { @@ -249,7 +259,7 @@ public int getStatusCode() { } /** - * Gets the response headers of the previous request + * Gets the response headers of the previous request. * @return Response headers */ public Map> getResponseHeaders() { @@ -258,7 +268,7 @@ public Map> getResponseHeaders() { /** * Get authentications (key: authentication name, value: authentication). - * @return Map of authentication + * @return Map of authentication object */ public Map getAuthentications() { return authentications; @@ -274,6 +284,9 @@ public Authentication getAuthentication(String authName) { return authentications.get(authName); } + /** + * Adds authorization. + */ public void addAuthorization(String authName, Authentication auth) { authentications.put(authName, auth); } @@ -336,12 +349,15 @@ public void setApiKeyPrefix(String apiKeyPrefix) { /** * Helper method to set access token for the first OAuth2 authentication. - * @param accessToken Access token */ public void updateAccessToken() { for (Authentication auth : authentications.values()) { if (auth instanceof OAuth) { - ((OAuth) auth).updateAccessToken(); + try { + ((OAuth) auth).updateAccessToken(); + } catch (ApiException e) { + throw new RuntimeException(e.getMessage()); + } return; } } @@ -349,7 +365,7 @@ public void updateAccessToken() { } /** - * Helper method to preset the OAuth access token of the first OAuth found in the apiAuthorizations (there should be only one) + * Helper method to preset the OAuth access token of the first OAuth found in the apiAuthorizations (there should be only one). * @param accessToken OAuth access token * @param expiresIn Validity period of the access token in seconds */ @@ -365,6 +381,11 @@ public void setAccessToken(final String accessToken, final Long expiresIn) { addAuthorization("docusignAccessCode", oAuth); } + /** + * Gets the access token. + * + * @return String + */ public String getAccessToken() { for (Authentication auth : authentications.values()) { if (auth instanceof OAuth) { @@ -376,7 +397,7 @@ public String getAccessToken() { /** * Set the User-Agent header's value (by adding to the default header map). - * @param userAgent User agent + * @param userAgent Http user agent * @return API client */ public ApiClient setUserAgent(String userAgent) { @@ -398,7 +419,7 @@ public ApiClient addDefaultHeader(String key, String value) { /** * Check that whether debugging is enabled for this API client. - * @return True if debugging is on + * @return True if debugging is switched on */ public boolean isDebugging() { return debugging; @@ -412,11 +433,32 @@ public boolean isDebugging() { */ public ApiClient setDebugging(boolean debugging) { this.debugging = debugging; - // Need to rebuild the Client as it depends on the value of debugging. + // Rebuild HTTP Client according to the new "debugging" value. this.httpClient = buildHttpClient(debugging); return this; } + /** + * The path of temporary folder used to store downloaded files from endpoints + * with file response. The default value is null, i.e. using + * the system's default tempopary folder. + * + * @return Temp folder path + */ + public String getTempFolderPath() { + return tempFolderPath; + } + + /** + * Set temp folder path. + * @param tempFolderPath Temp folder path + * @return API client + */ + public ApiClient setTempFolderPath(String tempFolderPath) { + this.tempFolderPath = tempFolderPath; + return this; + } + /** * Connect timeout (in milliseconds). * @return Connection timeout @@ -432,29 +474,32 @@ public int getConnectTimeout() { * @param connectionTimeout Connection timeout in milliseconds * @return API client */ - public ApiClient setConnectTimeout(int connectionTimeout) { - this.connectionTimeout = connectionTimeout; - httpClient.setConnectTimeout(connectionTimeout); - return this; - } + public ApiClient setConnectTimeout(int connectionTimeout) { + this.connectionTimeout = connectionTimeout; + httpClient.property(ClientProperties.CONNECT_TIMEOUT, connectionTimeout); + return this; + } /** - * Read timeout (in milliseconds). + * read timeout (in milliseconds). + * @return Read timeout */ public int getReadTimeout() { return readTimeout; } - + /** * Set the read timeout (in milliseconds). * A value of 0 means no timeout, otherwise values must be between 1 and * {@link Integer#MAX_VALUE}. + * @param readTimeout Read timeout in milliseconds + * @return API client */ - public ApiClient setReadTimeout(int readTimeout) { - this.readTimeout = readTimeout; - httpClient.setReadTimeout(readTimeout); - return this; - } + public ApiClient setReadTimeout(int readTimeout) { + this.readTimeout = readTimeout; + httpClient.property(ClientProperties.READ_TIMEOUT, readTimeout); + return this; + } /** * Get the date format used to parse/format date parameters. @@ -471,15 +516,13 @@ public DateFormat getDateFormat() { */ public ApiClient setDateFormat(DateFormat dateFormat) { this.dateFormat = dateFormat; - // Also set the date format for model (de)serialization with Date properties. - this.mapper.setDateFormat((DateFormat) dateFormat.clone()); - // Need to rebuild the Client as mapper changes. - rebuildHttpClient(); + // also set the date format for model (de)serialization with Date properties + this.json.setDateFormat((DateFormat) dateFormat.clone()); return this; } /** - * Helper method to configure the token endpoint of the first oauth found in the authentications (there should be only one) + * Helper method to configure the token endpoint of the first oauth found in the authentications (there should be only one). * @return */ public TokenRequestBuilder getTokenEndPoint() { @@ -494,7 +537,7 @@ public TokenRequestBuilder getTokenEndPoint() { /** - * Helper method to configure authorization endpoint of the first oauth found in the authentications (there should be only one) + * Helper method to configure authorization endpoint of the first oauth found in the authentications (there should be only one). * @return */ public AuthenticationRequestBuilder getAuthorizationEndPoint() { @@ -508,7 +551,7 @@ public AuthenticationRequestBuilder getAuthorizationEndPoint() { } /** - * Helper method to configure the OAuth accessCode/implicit flow parameters + * Helper method to configure the OAuth accessCode/implicit flow parameters. * @param clientId OAuth2 client ID * @param clientSecret OAuth2 client secret * @param redirectURI OAuth2 redirect uri @@ -534,7 +577,8 @@ public String getAuthorizationUri() throws OAuthSystemException { } /** - * Helper method to configure the OAuth accessCode/implicit flow parameters + * Helper method to configure the OAuth accessCode/implicit flow parameters. + * * @param clientId OAuth2 client ID: Identifies the client making the request. * Client applications may be scoped to a limited set of system access. * @param scopes the list of requested scopes. Values include {@link OAuth#Scope_SIGNATURE}, {@link OAuth#Scope_EXTENDED}, {@link OAuth#Scope_IMPERSONATION}. You can also pass any advanced scope. @@ -567,7 +611,8 @@ public URI getAuthorizationUri(String clientId, java.util.List scopes, S } /** - * Helper method to configure the OAuth accessCode/implicit flow parameters + * Helper method to configure the OAuth accessCode/implicit flow parameters. + * * @param clientId OAuth2 client ID: Identifies the client making the request. * Client applications may be scoped to a limited set of system access. * @param scopes the list of requested scopes. Values include {@link OAuth#Scope_SIGNATURE}, {@link OAuth#Scope_EXTENDED}, {@link OAuth#Scope_IMPERSONATION}. You can also pass any advanced scope. @@ -598,7 +643,7 @@ private String getOAuthBasePath() { } /** - * Sets the OAuth base path. Values include {@link OAuth#PRODUCTION_BASEPATH}, {@link OAuth#DEMO_BASEPATH} and custom (e.g. "account-s.docusign.com") + * Sets the OAuth base path. Values include {@link OAuth#PRODUCTION_OAUTH_BASEPATH}, {@link OAuth#DEMO_OAUTH_BASEPATH} and custom (e.g. "account-s.docusign.com"). * @param oAuthBasePath the new value for the OAuth base path * @return this instance of the ApiClient updated with the new OAuth base path */ @@ -608,6 +653,7 @@ public ApiClient setOAuthBasePath(String oAuthBasePath) { } /** + * Helper method to configure the OAuth accessCode/implicit flow parameters. * * @param clientId OAuth2 client ID: Identifies the client making the request. * Client applications may be scoped to a limited set of system access. @@ -619,43 +665,60 @@ public ApiClient setOAuthBasePath(String oAuthBasePath) { * @see OAuth.OAuthToken */ public OAuth.OAuthToken generateAccessToken(String clientId, String clientSecret, String code) throws ApiException, IOException { - try { - String clientStr = (clientId == null ? "" : clientId) + ":" + (clientSecret == null ? "" : clientSecret); - MultivaluedMap form = new MultivaluedMapImpl(); - form.add("code", code); - form.add("grant_type", "authorization_code"); + String clientStr = (clientId == null ? "" : clientId) + ":" + (clientSecret == null ? "" : clientSecret); + java.util.Map form = new java.util.HashMap<>(); + form.put("code", code); + form.put("grant_type", "authorization_code"); Client client = buildHttpClient(debugging); - WebResource webResource = client.resource("https://" + getOAuthBasePath() + "/oauth/token"); - ClientResponse response = webResource - .type(MediaType.APPLICATION_FORM_URLENCODED_TYPE) + WebTarget target = client.target("https://" + getOAuthBasePath() + "/oauth/token"); + + Invocation.Builder invocationBuilder = target.request(); + invocationBuilder = invocationBuilder .header("Authorization", "Basic " + Base64.encodeToString(clientStr.getBytes("UTF-8"), false)) .header("Cache-Control", "no-store") - .header("Pragma", "no-cache") - .post(ClientResponse.class, form); + .header("Pragma", "no-cache"); + + Entity entity = serialize(null, form, MediaType.APPLICATION_FORM_URLENCODED); + + Response response = null; + + try { + response = invocationBuilder.post(entity); if (response.getStatusInfo().getFamily() != Family.SUCCESSFUL) { - String respBody = response.getEntity(String.class); + String message = "error"; + String respBody = null; + if (response.hasEntity()) { + try { + respBody = String.valueOf(response.readEntity(String.class)); + message = "Error while requesting server, received a non successful HTTP code " + response.getStatusInfo().getStatusCode() + " with response Body: '" + respBody + "'"; + } catch (RuntimeException e) { + // e.printStackTrace(); + } + } throw new ApiException( - response.getStatusInfo().getStatusCode(), - "Error while requesting server, received a non successful HTTP code " + response.getStatusInfo().getStatusCode() + " with response Body: '" + respBody + "'", - response.getHeaders(), - respBody); + response.getStatusInfo().getStatusCode(), + message, + buildResponseHeaders(response), + respBody); + } + + GenericType returnType = new GenericType() {}; + return deserialize(response, returnType); + } finally { + try { + if (response != null) { + response.close(); + } + } catch (Exception e) { + // it's not critical, since the response object is local in method invokeAPI; that's fine, just continue } - ObjectMapper mapper = new ObjectMapper(); - mapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false); - OAuth.OAuthToken oAuthToken = mapper.readValue(response.getEntityInputStream(), OAuth.OAuthToken.class); - return oAuthToken; - } catch (JsonParseException e) { - throw new ApiException("Error while parsing the response for the access token: " + e.getMessage()); - } catch (JsonMappingException e) { - throw e; - } catch (IOException e) { - throw e; } } /** + * Gets the user info. * * @param accessToken the bearer token to use to authenticate for this call. * @return OAuth UserInfo model @@ -663,47 +726,57 @@ public OAuth.OAuthToken generateAccessToken(String clientId, String clientSecret * @see OAuth.UserInfo */ public OAuth.UserInfo getUserInfo(String accessToken) throws IllegalArgumentException, ApiException { + if (accessToken == null || "".equals(accessToken)) { + throw new IllegalArgumentException("Cannot find a valid access token. Make sure OAuth is configured before you try again."); + } + + Client client = buildHttpClient(debugging); + WebTarget target = client.target("https://" + getOAuthBasePath() + "/oauth/userinfo"); + Invocation.Builder invocationBuilder = target.request(); + invocationBuilder = invocationBuilder + .header("Authorization", "Bearer " + accessToken) + .header("Cache-Control", "no-store") + .header("Pragma", "no-cache"); + + Response response = null; + try { - if (accessToken == null || "".equals(accessToken)) { - throw new IllegalArgumentException("Cannot find a valid access token. Make sure OAuth is configured before you try again."); - } + response = invocationBuilder.get(); - Client client = buildHttpClient(debugging); - WebResource webResource = client.resource("https://" + getOAuthBasePath() + "/oauth/userinfo"); - ClientResponse response = webResource - .header("Authorization", "Bearer " + accessToken) - .header("Cache-Control", "no-store") - .header("Pragma", "no-cache") - .get(ClientResponse.class); if (response.getStatusInfo().getFamily() != Family.SUCCESSFUL) { - String respBody = response.getEntity(String.class); + String message = "error"; + String respBody = null; + if (response.hasEntity()) { + try { + respBody = String.valueOf(response.readEntity(String.class)); + message = "Error while requesting server, received a non successful HTTP code " + response.getStatusInfo().getStatusCode() + " with response Body: '" + respBody + "'"; + } catch (RuntimeException e) { + // e.printStackTrace(); + } + } throw new ApiException( - response.getStatusInfo().getStatusCode(), - "Error while requesting server, received a non successful HTTP code " + response.getStatusInfo().getStatusCode() + " with response Body: '" + respBody + "'", - response.getHeaders(), - respBody); + response.getStatusInfo().getStatusCode(), + message, + buildResponseHeaders(response), + respBody); + } + + GenericType returnType = new GenericType() {}; + return deserialize(response, returnType); + } finally { + try { + if (response != null) { + response.close(); + } + } catch (Exception e) { + // it's not critical, since the response object is local in method invokeAPI; that's fine, just continue } - ObjectMapper mapper = new ObjectMapper(); - mapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false); - OAuth.UserInfo userInfo = mapper.readValue(response.getEntityInputStream(), OAuth.UserInfo.class); - - // TODO "auto-assign base uri of the default account" is coming in next versions - /*for (OAuth.UserInfo.Account account: userInfo.getAccounts()) { - if ("true".equals(account.getIsDefault())) { - setBasePath(account.getBaseUri() + "/restapi"); - Configuration.setDefaultApiClient(this); - return userInfo; - } - }*/ - return userInfo; - } catch (Exception e) { - throw new ApiException("Error while fetching user info: " + e.getMessage()); } } /** * Configures a listener which is notified when a new access token is received. - * @param accessTokenListener + * @param accessTokenListener access token listener */ public void registerAccessTokenListener(AccessTokenListener accessTokenListener) { for(Authentication auth : authentications.values()) { @@ -716,7 +789,7 @@ public void registerAccessTokenListener(AccessTokenListener accessTokenListener) } /** - * Helper method to build the OAuth JWT grant uri (used once to get a user consent for impersonation) + * Helper method to build the OAuth JWT grant uri (used once to get a user consent for impersonation). * @param clientId OAuth2 client ID * @param redirectURI OAuth2 redirect uri * @return the OAuth JWT grant uri as a String @@ -733,7 +806,7 @@ public String getJWTUri(String clientId, String redirectURI, String oAuthBasePat } /** - * Configures the current instance of ApiClient with a fresh OAuth JWT access token from DocuSign + * Configures the current instance of ApiClient with a fresh OAuth JWT access token from DocuSign. * @param publicKeyFilename the filename of the RSA public key * @param privateKeyFilename the filename of the RSA private key * @param oAuthBasePath DocuSign OAuth base path (account-d.docusign.com for the developer sandbox @@ -741,45 +814,69 @@ public String getJWTUri(String clientId, String redirectURI, String oAuthBasePat * @param clientId DocuSign OAuth Client Id (AKA Integrator Key) * @param userId DocuSign user Id to be impersonated (This is a UUID) * @param expiresIn number of seconds remaining before the JWT assertion is considered as invalid - * @throws IOException if there is an issue with either the public or private file * @throws ApiException if there is an error while exchanging the JWT with an access token - * @deprecated As of release 2.7.0, replaced by {@link #requestJWTUserToken()} and {@link #requestJWTApplicationToken()} + * @throws IOException if there is an issue with either the public or private file + * @deprecated As of release 2.7.0, replaced by {@link #requestJWTUserToken(String, String, List, byte[], long)} ()} and {@link #requestJWTApplicationToken(String, List, byte[], long)} */ - @Deprecated public void configureJWTAuthorizationFlow(String publicKeyFilename, String privateKeyFilename, String oAuthBasePath, String clientId, String userId, long expiresIn) throws IOException, ApiException { + @Deprecated public void configureJWTAuthorizationFlow(String publicKeyFilename, String privateKeyFilename, String oAuthBasePath, String clientId, String userId, long expiresIn) throws ApiException, IOException { + String assertion = JWTUtils.generateJWTAssertion(publicKeyFilename, privateKeyFilename, oAuthBasePath, clientId, userId, expiresIn); + java.util.Map form = new java.util.HashMap<>(); + form.put("assertion", assertion); + form.put("grant_type", OAuth.GRANT_TYPE_JWT); + + Client client = buildHttpClient(debugging); + WebTarget target = client.target("https://" + oAuthBasePath + "/oauth/token"); + Invocation.Builder invocationBuilder = target.request(); + invocationBuilder = invocationBuilder + .header("Cache-Control", "no-store") + .header("Pragma", "no-cache"); + + Entity entity = serialize(null, form, MediaType.APPLICATION_FORM_URLENCODED); + + Response response = null; + try { - String assertion = JWTUtils.generateJWTAssertion(publicKeyFilename, privateKeyFilename, oAuthBasePath, clientId, userId, expiresIn); - MultivaluedMap form = new MultivaluedMapImpl(); - form.add("assertion", assertion); - form.add("grant_type", OAuth.GRANT_TYPE_JWT); - - Client client = buildHttpClient(debugging); - WebResource webResource = client.resource("https://" + oAuthBasePath + "/oauth/token"); - ClientResponse response = webResource - .type(MediaType.APPLICATION_FORM_URLENCODED_TYPE) - .header("Cache-Control", "no-store") - .header("Pragma", "no-cache") - .post(ClientResponse.class, form); + response = invocationBuilder.post(entity); + + if (response.getStatusInfo().getFamily() != Family.SUCCESSFUL) { + String message = "error"; + String respBody = null; + if (response.hasEntity()) { + try { + respBody = String.valueOf(response.readEntity(String.class)); + message = "Error while requesting server, received a non successful HTTP code " + response.getStatusInfo().getStatusCode() + " with response Body: '" + respBody + "'"; + } catch (RuntimeException e) { + // e.printStackTrace(); + } + } + throw new ApiException( + response.getStatusInfo().getStatusCode(), + message, + buildResponseHeaders(response), + respBody); + } - ObjectMapper mapper = new ObjectMapper(); - mapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false); - JsonNode responseJson = mapper.readValue(response.getEntityInputStream(), JsonNode.class); + GenericType returnType = new GenericType() {}; + JsonNode responseJson = deserialize(response, returnType); if (!responseJson.has("access_token") || !responseJson.has("expires_in")) { throw new ApiException("Error while requesting an access token: " + responseJson); } String accessToken = responseJson.get("access_token").asText(); expiresIn = responseJson.get("expires_in").asLong(); setAccessToken(accessToken, expiresIn); - } catch (JsonParseException e) { - throw new ApiException("Error while parsing the response for the access token."); - } catch (JsonMappingException e) { - throw e; - } catch (IOException e) { - throw e; + } finally { + try { + if (response != null) { + response.close(); + } + } catch (Exception e) { + // it's not critical, since the response object is local in method invokeAPI; that's fine, just continue + } } } /** - * Configures the current instance of ApiClient with a fresh OAuth JWT access token from DocuSign + * Configures the current instance of ApiClient with a fresh OAuth JWT access token from DocuSign. * @param clientId DocuSign OAuth Client Id (AKA Integrator Key) * @param userId DocuSign user Id to be impersonated (This is a UUID) * @param scopes the list of requested scopes. Values include {@link OAuth#Scope_SIGNATURE}, {@link OAuth#Scope_EXTENDED}, {@link OAuth#Scope_IMPERSONATION}. You can also pass any advanced scope. @@ -787,48 +884,72 @@ public String getJWTUri(String clientId, String redirectURI, String oAuthBasePat * @param expiresIn number of seconds remaining before the JWT assertion is considered as invalid * @return OAuth.OAuthToken object. * @throws IllegalArgumentException if one of the arguments is invalid - * @throws IOException if there is an issue with either the public or private file * @throws ApiException if there is an error while exchanging the JWT with an access token + * @throws IOException if there is an issue with either the public or private file */ - public OAuth.OAuthToken requestJWTUserToken(String clientId, String userId, java.util.Listscopes, byte[] rsaPrivateKey, long expiresIn) throws IllegalArgumentException, IOException, ApiException { + public OAuth.OAuthToken requestJWTUserToken(String clientId, String userId, java.util.Listscopes, byte[] rsaPrivateKey, long expiresIn) throws IllegalArgumentException, ApiException, IOException { String formattedScopes = (scopes == null || scopes.size() < 1) ? "" : scopes.get(0); StringBuilder sb = new StringBuilder(formattedScopes); for (int i = 1; i < scopes.size(); i++) { sb.append(" " + scopes.get(i)); } + String assertion = JWTUtils.generateJWTAssertionFromByteArray(rsaPrivateKey, getOAuthBasePath(), clientId, userId, expiresIn, sb.toString()); + java.util.Map form = new java.util.HashMap<>(); + form.put("assertion", assertion); + form.put("grant_type", OAuth.GRANT_TYPE_JWT); + + Client client = buildHttpClient(debugging); + WebTarget target = client.target("https://" + getOAuthBasePath() + "/oauth/token"); + Invocation.Builder invocationBuilder = target.request(); + invocationBuilder = invocationBuilder + .header("Cache-Control", "no-store") + .header("Pragma", "no-cache"); + + Entity entity = serialize(null, form, MediaType.APPLICATION_FORM_URLENCODED); + + Response response = null; + try { - String assertion = JWTUtils.generateJWTAssertionFromByteArray(rsaPrivateKey, getOAuthBasePath(), clientId, userId, expiresIn, sb.toString()); - MultivaluedMap form = new MultivaluedMapImpl(); - form.add("assertion", assertion); - form.add("grant_type", OAuth.GRANT_TYPE_JWT); + response = invocationBuilder.post(entity); - Client client = buildHttpClient(debugging); - WebResource webResource = client.resource("https://" + getOAuthBasePath() + "/oauth/token"); - ClientResponse response = webResource - .type(MediaType.APPLICATION_FORM_URLENCODED_TYPE) - .header("Cache-Control", "no-store") - .header("Pragma", "no-cache") - .post(ClientResponse.class, form); + if (response.getStatusInfo().getFamily() != Family.SUCCESSFUL) { + String message = "error"; + String respBody = null; + if (response.hasEntity()) { + try { + respBody = String.valueOf(response.readEntity(String.class)); + message = "Error while requesting server, received a non successful HTTP code " + response.getStatusInfo().getStatusCode() + " with response Body: '" + respBody + "'"; + } catch (RuntimeException e) { + // e.printStackTrace(); + } + } + throw new ApiException( + response.getStatusInfo().getStatusCode(), + message, + buildResponseHeaders(response), + respBody); + } - ObjectMapper mapper = new ObjectMapper(); - mapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false); - OAuth.OAuthToken oAuthToken = mapper.readValue(response.getEntityInputStream(), OAuth.OAuthToken.class); + GenericType returnType = new GenericType() {}; + OAuth.OAuthToken oAuthToken = deserialize(response, returnType); if (oAuthToken.getAccessToken() == null || "".equals(oAuthToken.getAccessToken()) || oAuthToken.getExpiresIn() <= 0) { throw new ApiException("Error while requesting an access token: " + response.toString()); } return oAuthToken; - } catch (JsonParseException e) { - throw new ApiException("Error while parsing the response for the access token: " + e); - } catch (JsonMappingException e) { - throw e; - } catch (IOException e) { - throw e; + } finally { + try { + if (response != null) { + response.close(); + } + } catch (Exception e) { + // it's not critical, since the response object is local in method invokeAPI; that's fine, just continue + } } } /** - * RESERVED FOR PARTNERS Request JWT Application Token + * RESERVED FOR PARTNERS Request JWT Application Token. * Configures the current instance of ApiClient with a fresh OAuth JWT access token from DocuSign * @param clientId DocuSign OAuth Client Id (AKA Integrator Key) * @param scopes the list of requested scopes. Values include {@link OAuth#Scope_SIGNATURE}, {@link OAuth#Scope_EXTENDED}, {@link OAuth#Scope_IMPERSONATION}. You can also pass any advanced scope. @@ -877,7 +998,7 @@ public String parameterToString(Object param) { return formatDate((Date) param); } else if (param instanceof Collection) { StringBuilder b = new StringBuilder(); - for(Object o : (Collection)param) { + for(Object o : (Collection)param) { if(b.length() > 0) { b.append(','); } @@ -889,22 +1010,95 @@ public String parameterToString(Object param) { } } - /* + /** + * Formats the specified query parameter to a list containing a single {@code Pair} object. + * + * Note that {@code value} must not be a collection. + * + * @param name The name of the parameter. + * @param value The value of the parameter. + * @return A list containing a single {@code Pair} object. + */ + public List parameterToPair(String name, Object value) { + List params = new ArrayList(); + + // preconditions + if (name == null || name.isEmpty() || value == null || value instanceof Collection) { + return params; + } + + params.add(new Pair(name, parameterToString(value))); + return params; + } + + /** + * Formats the specified collection query parameters to a list of {@code Pair} objects. + * + * Note that the values of each of the returned Pair objects are percent-encoded. + * + * @param collectionFormat The collection format of the parameter. + * @param name The name of the parameter. + * @param value The value of the parameter. + * @return A list of {@code Pair} objects. + */ + public List parameterToPairs(String collectionFormat, String name, Collection value) { + List params = new ArrayList(); + + // preconditions + if (name == null || name.isEmpty() || value == null) { + return params; + } + + // create the params based on the collection format + if ("multi".equals(collectionFormat)) { + for (Object item : value) { + params.add(new Pair(name, escapeString(parameterToString(item)))); + } + return params; + } + + // collectionFormat is assumed to be "csv" by default + String delimiter = ","; + + // escape all delimiters except commas, which are URI reserved + // characters + if ("ssv".equals(collectionFormat)) { + delimiter = escapeString(" "); + } else if ("tsv".equals(collectionFormat)) { + delimiter = escapeString("\t"); + } else if ("pipes".equals(collectionFormat)) { + delimiter = escapeString("|"); + } + + StringBuilder sb = new StringBuilder() ; + for (Object item : value) { + sb.append(delimiter); + sb.append(escapeString(parameterToString(item))); + } + + params.add(new Pair(name, sb.substring(delimiter.length()))); + + return params; + } + + /** * Format to {@code Pair} objects. * @param collectionFormat Collection format * @param name Name * @param value Value - * @return List of pair + * @return List of pairs */ public List parameterToPairs(String collectionFormat, String name, Object value){ List params = new ArrayList(); // preconditions - if (name == null || name.isEmpty() || value == null) return params; + if (name == null || name.isEmpty() || value == null) { + return params; + } - Collection valueCollection = null; - if (value instanceof Collection) { - valueCollection = (Collection) value; + Collection valueCollection; + if (value instanceof Collection) { + valueCollection = (Collection) value; } else { params.add(new Pair(name, parameterToString(value))); return params; @@ -914,11 +1108,11 @@ public List parameterToPairs(String collectionFormat, String name, Object return params; } - // get the collection format - collectionFormat = (collectionFormat == null || collectionFormat.isEmpty() ? "csv" : collectionFormat); // default: csv + // get the collection format (default: csv) + String format = (collectionFormat == null || collectionFormat.isEmpty() ? "csv" : collectionFormat); // create the params based on the collection format - if ("multi".equals(collectionFormat)) { + if ("multi".equals(format)) { for (Object item : valueCollection) { params.add(new Pair(name, parameterToString(item))); } @@ -928,13 +1122,13 @@ public List parameterToPairs(String collectionFormat, String name, Object String delimiter = ","; - if ("csv".equals(collectionFormat)) { + if ("csv".equals(format)) { delimiter = ","; - } else if ("ssv".equals(collectionFormat)) { + } else if ("ssv".equals(format)) { delimiter = " "; - } else if ("tsv".equals(collectionFormat)) { + } else if ("tsv".equals(format)) { delimiter = "\t"; - } else if ("pipes".equals(collectionFormat)) { + } else if ("pipes".equals(format)) { delimiter = "|"; } @@ -955,17 +1149,20 @@ public List parameterToPairs(String collectionFormat, String name, Object * application/json * application/json; charset=UTF8 * APPLICATION/JSON + * application/vnd.company+json + * "* / *" is also default to JSON * @param mime MIME - * @return True if MIME type is boolean + * @return True if the MIME type is JSON */ public boolean isJsonMime(String mime) { - return mime != null && mime.matches("(?i)application\\/json(;.*)?"); + String jsonMime = "(?i)^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$"; + return mime != null && (mime.matches(jsonMime) || mime.equals("*/*")); } /** * Select the Accept header's value from the given accepts array: * if JSON exists in the given array, use it; - * otherwise use all of them (joining into a string) + * otherwise use all of them (joining into a string). * * @param accepts The accepts array to select from * @return The Accept header to use. If the given array is empty, @@ -984,7 +1181,7 @@ public String selectHeaderAccept(String[] accepts) { } /** - * Select the Content-Type header's value from the given array: + * Select the Content-Type header's value from the given array. * if JSON exists in the given array, use it; * otherwise use the first one of the array. * @@ -993,7 +1190,7 @@ public String selectHeaderAccept(String[] accepts) { * JSON will be used. */ public String selectHeaderContentType(String[] contentTypes) { - if (contentTypes.length == 0) { + if (contentTypes.length == 0 || contentTypes[0].equals("*/*")) { return "application/json"; } for (String contentType : contentTypes) { @@ -1027,113 +1224,146 @@ public String escapeString(String str) { * @throws ApiException API exception */ public Object serialize(Object obj, String contentType, Map formParams) throws ApiException { + return serialize(obj, formParams, contentType).getEntity(); + } + + /** + * Serialize the given Java object into string entity according the given + * Content-Type (only JSON is supported for now). + * @param obj Object + * @param formParams Form parameters + * @param contentType Context type + * @return Entity + * @throws ApiException API exception + */ + public Entity serialize(Object obj, Map formParams, String contentType) throws ApiException { + Entity entity; if (contentType.startsWith("multipart/form-data")) { - FormDataMultiPart mp = new FormDataMultiPart(); + MultiPart multiPart = new MultiPart(); for (Entry param: formParams.entrySet()) { - if( param.getValue() instanceof List && !( ( List ) param.getValue() ).isEmpty() - && ( ( List ) param.getValue() ).get( 0 ) instanceof File ) { - @SuppressWarnings( "unchecked" ) - List files = ( List ) param.getValue(); - for( File file : files ) { - mp.bodyPart( new FileDataBodyPart( param.getKey(), file, MediaType.MULTIPART_FORM_DATA_TYPE ) ); - } + if (param.getValue() instanceof byte[]) { + byte[] bytes = (byte[]) param.getValue(); + FormDataContentDisposition contentDisp = FormDataContentDisposition.name(param.getKey()) + .fileName(param.getKey()).size(bytes.length).build(); + + multiPart.bodyPart(new FormDataBodyPart(contentDisp, bytes, MediaType.APPLICATION_OCTET_STREAM_TYPE)); } else if (param.getValue() instanceof File) { File file = (File) param.getValue(); - mp.bodyPart(new FileDataBodyPart(param.getKey(), file, MediaType.MULTIPART_FORM_DATA_TYPE)); + FormDataContentDisposition contentDisp = FormDataContentDisposition.name(param.getKey()) + .fileName(file.getName()).size(file.length()).build(); + multiPart.bodyPart(new FormDataBodyPart(contentDisp, file, MediaType.APPLICATION_OCTET_STREAM_TYPE)); } else { - mp.field(param.getKey(), parameterToString(param.getValue()), MediaType.MULTIPART_FORM_DATA_TYPE); + FormDataContentDisposition contentDisp = FormDataContentDisposition.name(param.getKey()).build(); + multiPart.bodyPart(new FormDataBodyPart(contentDisp, parameterToString(param.getValue()))); } } - return mp; + entity = Entity.entity(multiPart, MediaType.MULTIPART_FORM_DATA_TYPE); } else if (contentType.startsWith("application/x-www-form-urlencoded")) { - return this.getXWWWFormUrlencodedParams(formParams); + Form form = new Form(); + for (Entry param: formParams.entrySet()) { + form.param(param.getKey(), parameterToString(param.getValue())); + } + entity = Entity.entity(form, MediaType.APPLICATION_FORM_URLENCODED_TYPE); } else if (contentType.startsWith("text/csv")) { return this.serializeToCsv(obj); } else { - // We let Jersey attempt to serialize the body - return obj; + // We let jersey handle the serialization + entity = Entity.entity(obj, contentType); } + return entity; } /** - * Build full URL by concatenating base path, the given sub path and query parameters. - * - * @param path The sub path - * @param queryParams The query parameters - * @return The full URL + * Deserialize response body to Java object according to the Content-Type. + * @param Type + * @param response Response + * @param returnType Return type + * @return Deserialize object + * @throws ApiException API exception */ - private String buildUrl(String path, List queryParams) { - final StringBuilder url = new StringBuilder(); - url.append(basePath).append(path); - - if (queryParams != null && !queryParams.isEmpty()) { - // support (constant) query string in `path`, e.g. "/posts?draft=1" - String prefix = path.contains("?") ? "&" : "?"; - for (Pair param : queryParams) { - if (param.getValue() != null) { - if (prefix != null) { - url.append(prefix); - prefix = null; - } else { - url.append("&"); - } - String value = parameterToString(param.getValue()); - url.append(escapeString(param.getName())).append("=").append(escapeString(value)); - } - } + @SuppressWarnings("unchecked") + public T deserialize(Response response, GenericType returnType) throws ApiException { + if (response == null || returnType == null) { + return null; } - return url.toString(); - } + if ("byte[]".equals(returnType.toString())) { + // Handle binary response (byte array). + return (T) response.readEntity(byte[].class); + } else if (returnType.getRawType() == File.class) { + // Handle file downloading. + T file = (T) downloadFileFromResponse(response); + return file; + } - private ClientResponse getAPIResponse(String path, String method, List queryParams, Object body, Map headerParams, Map formParams, String accept, String contentType, String[] authNames) throws ApiException { - if (body != null && !formParams.isEmpty()) { - throw new ApiException(500, "Cannot have body and form params"); + String contentType = null; + List contentTypes = response.getHeaders().get("Content-Type"); + if (contentTypes != null && !contentTypes.isEmpty()) { + contentType = String.valueOf(contentTypes.get(0)); } - updateParamsForAuth(authNames, queryParams, headerParams); + return response.readEntity(returnType); + } - final String url = buildUrl(path, queryParams); - Builder builder; - if (accept == null) { - builder = httpClient.resource(url).getRequestBuilder(); - } else { - builder = httpClient.resource(url).accept(accept); + /** + * Download file from the given response. + * @param response Response + * @return File + * @throws ApiException If fail to read file content from response and write to disk + */ + public File downloadFileFromResponse(Response response) throws ApiException { + try { + File file = prepareDownloadFile(response); + Files.copy(response.readEntity(InputStream.class), file.toPath(), StandardCopyOption.REPLACE_EXISTING); + return file; + } catch (IOException e) { + throw new ApiException(e); } + } - for (String key : headerParams.keySet()) { - builder = builder.header(key, headerParams.get(key)); - } - for (String key : defaultHeaderMap.keySet()) { - if (!headerParams.containsKey(key)) { - builder = builder.header(key, defaultHeaderMap.get(key)); + /** + * Prepare to downloand file. + * @param response Response + * @return File + * @throws ApiException If fail to read file content from response and write to disk + */ + public File prepareDownloadFile(Response response) throws IOException { + String filename = null; + String contentDisposition = (String) response.getHeaders().getFirst("Content-Disposition"); + if (contentDisposition != null && !"".equals(contentDisposition)) { + // Get filename from the Content-Disposition header. + Pattern pattern = Pattern.compile("filename=['\"]?([^'\"\\s]+)['\"]?"); + Matcher matcher = pattern.matcher(contentDisposition); + if (matcher.find()) { + filename = matcher.group(1); } } - // Add DocuSign Tracking Header - builder = builder.header("X-DocuSign-SDK", "Java"); - - if (body == null) { - builder = builder.header("Content-Length", "0"); + String prefix; + String suffix = null; + if (filename == null) { + prefix = "download-"; + suffix = ""; + } else { + int pos = filename.lastIndexOf('.'); + if (pos == -1) { + prefix = filename + "-"; + } else { + prefix = filename.substring(0, pos) + "-"; + suffix = filename.substring(pos); + } + // File.createTempFile requires the prefix to be at least three characters long + if (prefix.length() < 3) { + prefix = "download-"; + } } - ClientResponse response = null; - - if ("GET".equals(method)) { - response = (ClientResponse) builder.get(ClientResponse.class); - } else if ("POST".equals(method)) { - response = builder.type(contentType).post(ClientResponse.class, serialize(body, contentType, formParams)); - } else if ("PUT".equals(method)) { - response = builder.type(contentType).put(ClientResponse.class, serialize(body, contentType, formParams)); - } else if ("DELETE".equals(method)) { - response = builder.type(contentType).delete(ClientResponse.class, serialize(body, contentType, formParams)); - } else if ("PATCH".equals(method)) { - response = builder.type(contentType).header("X-HTTP-Method-Override", "PATCH").post(ClientResponse.class, serialize(body, contentType, formParams)); + if (tempFolderPath == null) { + return File.createTempFile(prefix, suffix); } - else { - throw new ApiException(500, "unknown method type " + method); + else { + return File.createTempFile(prefix, suffix, new File(tempFolderPath)); } - return response; } /** @@ -1141,72 +1371,159 @@ private ClientResponse getAPIResponse(String path, String method, List que * * @param Type * @param path The sub-path of the HTTP URL - * @param method The request method, one of "GET", "POST", "PUT", and "DELETE" + * @param method The request method, one of "GET", "POST", "PUT", "HEAD" and "DELETE" * @param queryParams The query parameters - * @param body The request body object - if it is not binary, otherwise null + * @param collectionQueryParams The collection query parameters + * @param body The request body object * @param headerParams The header parameters * @param formParams The form parameters * @param accept The request's Accept header * @param contentType The request's Content-Type header * @param authNames The authentications to apply - * @param returnType Return type + * @param returnType The return type into which to deserialize the response * @return The response body in type of string * @throws ApiException API exception */ - public T invokeAPI(String path, String method, List queryParams, Object body, Map headerParams, Map formParams, String accept, String contentType, String[] authNames, GenericType returnType) throws ApiException { + public T invokeAPI(String path, String method, List queryParams, List collectionQueryParams, Object + body, Map headerParams, Map formParams, String accept, String contentType, String[] authNames, GenericType returnType) throws ApiException { + updateParamsForAuth(authNames, queryParams, headerParams); - ClientResponse response = getAPIResponse(path, method, queryParams, body, headerParams, formParams, accept, contentType, authNames); + // Not using `.target(this.basePath).path(path)` below, + // to support (constant) query string in `path`, e.g. "/posts?draft=1" + WebTarget target = httpClient.target(this.basePath + path); - if (response.getStatusInfo().getFamily() != Family.SUCCESSFUL) { - String respBody = response.getEntity(String.class); - throw new ApiException( - response.getStatusInfo().getStatusCode(), - "Error while requesting server, received a non successful HTTP code " + response.getStatusInfo().getStatusCode() + " with response Body: '" + respBody + "'", - response.getHeaders(), - respBody); + if (queryParams != null) { + for (Pair queryParam : queryParams) { + if (queryParam.getValue() != null) { + target = target.queryParam(queryParam.getName(), queryParam.getValue()); + } + } + } + + if (collectionQueryParams != null) { + for (Pair param : collectionQueryParams) { + if (param.getValue() != null) { + target = target.queryParam(param.getName(), param.getValue()); + } + } } - statusCode = response.getStatusInfo().getStatusCode(); - responseHeaders = response.getHeaders(); + Invocation.Builder invocationBuilder = target.request().accept(accept); - if(response.getStatusInfo() == ClientResponse.Status.NO_CONTENT) { - return null; - } else if (response.getStatusInfo().getFamily() == Family.SUCCESSFUL) { - if (returnType == null) - return null; - else - return response.getEntity(returnType); - } else { - String message = "error"; - String respBody = null; - if (response.hasEntity()) { - try { - respBody = response.getEntity(String.class); - message = respBody; - } catch (RuntimeException e) { - // e.printStackTrace(); + for (Entry entry : headerParams.entrySet()) { + String value = entry.getValue(); + if (value != null) { + invocationBuilder = invocationBuilder.header(entry.getKey(), value); + } + } + + for (Entry entry : defaultHeaderMap.entrySet()) { + String key = entry.getKey(); + if (!headerParams.containsKey(key)) { + String value = entry.getValue(); + if (value != null) { + invocationBuilder = invocationBuilder.header(key, value); } } - throw new ApiException( - response.getStatusInfo().getStatusCode(), - message, - response.getHeaders(), - respBody); } - } - /** - * Update query and header parameters based on authentication settings. - * - * @param authNames The authentications to apply - * @param queryParams Query parameters - * @param headerParams Header parameters - */ - private void updateParamsForAuth(String[] authNames, List queryParams, Map headerParams) { - for (String authName : authNames) { - Authentication auth = authentications.get(authName); - if (auth == null) continue; - auth.applyToParams(queryParams, headerParams); + Entity entity = (body == null && formParams.isEmpty()) ? Entity.json("{}") : serialize(body, formParams, contentType); + + // Generate and add Content-Disposition header as per RFC 6266 + if (contentType.startsWith("multipart/form-data")) { + for (Entry param : formParams.entrySet()) { + if (param.getValue() instanceof byte[]) { + MultiPart mp = ((MultiPart) entity.getEntity()); + List bodyParts = mp.getBodyParts(); + if (!bodyParts.isEmpty()) { + BodyPart bodyPart = bodyParts.get(0); + if (bodyPart.getContentDisposition() != null) { + String contentDispositionValue = bodyPart.getContentDisposition().toString(); + invocationBuilder = invocationBuilder.header("Content-Disposition", contentDispositionValue); + entity = Entity.entity(param.getValue(), "application/octet-stream"); + } + } + } + } + } + + // Add DocuSign Tracking Header + invocationBuilder = invocationBuilder.header("X-DocuSign-SDK", "Java"); + + if (body == null && formParams.isEmpty()) { + invocationBuilder = invocationBuilder.header("Content-Length", "0"); + } + + Response response = null; + String message = "error"; + String respBody = null; + + try { + if ("GET".equals(method)) { + response = invocationBuilder.get(); + } else if ("POST".equals(method)) { + response = invocationBuilder.post(entity); + } else if ("PUT".equals(method)) { + response = invocationBuilder.put(entity); + } else if ("DELETE".equals(method)) { + response = invocationBuilder.method("DELETE", entity); + } else if ("PATCH".equals(method)) { + response = invocationBuilder.method("PATCH", entity); + } else if ("HEAD".equals(method)) { + response = invocationBuilder.head(); + } else { + throw new ApiException(500, "unknown method type " + method); + } + + statusCode = response.getStatusInfo().getStatusCode(); + responseHeaders = buildResponseHeaders(response); + + if (response.getStatusInfo().getFamily() != Family.SUCCESSFUL) { + if (response.hasEntity()) { + try { + respBody = String.valueOf(response.readEntity(String.class)); + message = "Error while requesting server, received a non successful HTTP code " + response.getStatusInfo().getStatusCode() + " with response Body: '" + respBody + "'"; + } catch (RuntimeException e) { + // e.printStackTrace(); + } + } + throw new ApiException( + response.getStatusInfo().getStatusCode(), + message, + buildResponseHeaders(response), + respBody); + } + + if (response.getStatus() == Status.NO_CONTENT.getStatusCode()) { + return null; + } else if (response.getStatusInfo().getFamily() == Status.Family.SUCCESSFUL) { + if (returnType == null) { + return null; + } + else { + return deserialize(response, returnType); + } + } else { + if (response.hasEntity()) { + try { + respBody = String.valueOf(response.readEntity(String.class)); + message = respBody; + } catch (RuntimeException e) { + // e.printStackTrace(); + } + } + throw new ApiException( + response.getStatus(), + message, + buildResponseHeaders(response), + respBody); + } + } finally { + try { + response.close(); + } catch (Exception e) { + // it's not critical, since the response object is local in method invokeAPI; that's fine, just continue + } } } @@ -1238,65 +1555,84 @@ private String getXWWWFormUrlencodedParams(Map formParams) { return encodedFormParams; } + + /** * Encode the given request object in CSV format. */ - private String serializeToCsv(T obj) { - if(obj == null) { - return ""; - } - - for (Method method: obj.getClass().getMethods()) { - if ("java.util.List".equals(method.getReturnType().getName())) { - try { - @SuppressWarnings("rawtypes") - java.util.List itemList = (java.util.List) method.invoke(obj); - Object entry = itemList.get(0); - - List stringList = new ArrayList(); - char delimiter = ','; - String lineSep = "\n"; - - CsvMapper mapper = new CsvMapper(); - mapper.enable(JsonGenerator.Feature.IGNORE_UNKNOWN); - CsvSchema schema = mapper.schemaFor(entry.getClass()); - for (int i = 0; i < itemList.size(); i++) { - if (i == 0) { - schema = schema.withHeader(); - } else { - schema = schema.withoutHeader(); - } - String csv = mapper.writer(schema - .withColumnSeparator(delimiter) - .withoutQuoteChar() - .withLineSeparator(lineSep)).writeValueAsString(itemList.get(i)); - - stringList.add(csv); - } - return StringUtil.join(stringList.toArray(new String[0]), ""); - } catch (JsonProcessingException e) { - System.out.println(e); - } catch (IllegalAccessException e) { - System.out.println(e); - } catch (IllegalArgumentException e) { - System.out.println(e); - } catch (InvocationTargetException e) { - System.out.println(e); - } - } - } - - return ""; + private Entity serializeToCsv(Object obj) { + if(obj == null) { + return Entity.text(""); + } else if (obj.getClass() == byte[].class) { + return Entity.entity(new String((byte[]) obj), new MediaType("text", "csv")); + } + + for (Method method: obj.getClass().getMethods()) { + if ("java.util.List".equals(method.getReturnType().getName())) { + try { + @SuppressWarnings("rawtypes") + java.util.List itemList = (java.util.List) method.invoke(obj); + Object entry = itemList.get(0); + + List stringList = new ArrayList(); + char delimiter = ','; + String lineSep = "\n"; + + CsvMapper mapper = new CsvMapper(); + mapper.enable(JsonGenerator.Feature.IGNORE_UNKNOWN); + CsvSchema schema = mapper.schemaFor(entry.getClass()); + for (int i = 0; i < itemList.size(); i++) { + if (i == 0) { + schema = schema.withHeader(); + } else { + schema = schema.withoutHeader(); + } + String csv = mapper.writer(schema + .withColumnSeparator(delimiter) + .withoutQuoteChar() + .withLineSeparator(lineSep)).writeValueAsString(itemList.get(i)); + + stringList.add(csv); + } + return Entity.entity(StringUtil.join(stringList.toArray(new String[0]), ""), new MediaType("text", "csv")); + } catch (JsonProcessingException e) { + System.out.println(e); + } catch (IllegalAccessException e) { + System.out.println(e); + } catch (IllegalArgumentException e) { + System.out.println(e); + } catch (InvocationTargetException e) { + System.out.println(e); + } + } + } + + return Entity.entity("", new MediaType("text", "csv")); } /** * Build the Client used to make HTTP requests. + * @param debugging Debug setting + * @return Client */ - private Client buildHttpClient(boolean debugging) { - final ClientConfig conf = new DefaultClientConfig(); - // Add the JSON serialization support to Jersey - JacksonJsonProvider jsonProvider = new JacksonJsonProvider(mapper); - conf.getSingletons().add(jsonProvider); + protected Client buildHttpClient(boolean debugging) { + final ClientConfig clientConfig = new ClientConfig(); + clientConfig.register(MultiPartFeature.class); + clientConfig.register(json); + clientConfig.register(JacksonFeature.class); + clientConfig.property(HttpUrlConnectorProvider.SET_METHOD_WORKAROUND, true); + // turn off compliance validation to be able to send payloads with DELETE calls + clientConfig.property(ClientProperties.SUPPRESS_HTTP_COMPLIANCE_VALIDATION, true); + if (debugging) { + clientConfig.register(new LoggingFeature(java.util.logging.Logger.getLogger(LoggingFeature.DEFAULT_LOGGER_NAME), java.util.logging.Level.INFO, LoggingFeature.Verbosity.PAYLOAD_ANY, 1024*50 /* Log payloads up to 50K */)); + clientConfig.property(LoggingFeature.LOGGING_FEATURE_VERBOSITY, LoggingFeature.Verbosity.PAYLOAD_ANY); + // Set logger to ALL + java.util.logging.Logger.getLogger(LoggingFeature.DEFAULT_LOGGER_NAME).setLevel(java.util.logging.Level.ALL); + } else { + // suppress warnings for payloads with DELETE calls: + java.util.logging.Logger.getLogger("org.glassfish.jersey.client").setLevel(java.util.logging.Level.SEVERE); + } + performAdditionalClientConfiguration(clientConfig); // Force TLS v1.2 try { @@ -1313,17 +1649,10 @@ private Client buildHttpClient(boolean debugging) { } catch (final Exception ex) { System.err.println("failed to initialize SSL context"); } - - conf.getProperties().put(HTTPSProperties.PROPERTY_HTTPS_PROPERTIES, new HTTPSProperties(new HostnameVerifier() { - @Override - public boolean verify(String hostname, SSLSession session) { - return true; - } - }, sslContext)); HttpsURLConnection.setDefaultSSLSocketFactory(sslContext.getSocketFactory()); } - Client client = new Client(new URLConnectionClientHandler(new HttpURLConnectionFactory() { + clientConfig.connectorProvider(new ConnectorProvider() { Proxy p = null; /* @@ -1350,84 +1679,106 @@ private boolean isNonProxyHost(String host, String nonProxyHosts) { sb.append(c); } } - if (host.matches(sb.toString())) return true; + if (host.matches(sb.toString())) { + return true; + } } return false; } @Override - public HttpURLConnection getHttpURLConnection(URL url) throws IOException { - if (url == null) { - return null; - } - - if (isNonProxyHost(url.getHost(), System.getProperty("http.nonProxyHosts"))) { - HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(Proxy.NO_PROXY); - connection.setSSLSocketFactory(sslContext.getSocketFactory()); - return connection; - } - - // set up the proxy/no-proxy settings - if (p == null) { - if (System.getProperty("https.proxyHost") != null) { - // set up the proxy host and port - final String host = System.getProperty("https.proxyHost"); - final Integer port = Integer.getInteger("https.proxyPort"); - if (host != null && port != null) { - p = new Proxy(Proxy.Type.HTTP, new InetSocketAddress(host, port)); - } - // set up optional proxy authentication credentials - final String user = System.getProperty("https.proxyUser"); - final String password = System.getProperty("https.proxyPassword"); - if (user != null && password != null) { - Authenticator.setDefault(new Authenticator() { - @Override - protected PasswordAuthentication getPasswordAuthentication() { - if (getRequestorType() == RequestorType.PROXY && getRequestingHost().equalsIgnoreCase(host) && port == getRequestingPort()) { - return new PasswordAuthentication(user, password.toCharArray()); + public Connector getConnector(Client client, javax.ws.rs.core.Configuration configuration) { + HttpUrlConnectorProvider customConnProv = new HttpUrlConnectorProvider(); + customConnProv.connectionFactory(new HttpUrlConnectorProvider.ConnectionFactory() { + @Override + public HttpURLConnection getConnection(java.net.URL url) throws IOException { + if (url == null) { + return null; + } + + if (isNonProxyHost(url.getHost(), System.getProperty("http.nonProxyHosts"))) { + HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(Proxy.NO_PROXY); + connection.setSSLSocketFactory(sslContext.getSocketFactory()); + return connection; + } + + // set up the proxy/no-proxy settings + if (p == null) { + if (System.getProperty("https.proxyHost") != null) { + // set up the proxy host and port + final String host = System.getProperty("https.proxyHost"); + final Integer port = Integer.getInteger("https.proxyPort"); + if (host != null && port != null) { + p = new Proxy(Proxy.Type.HTTP, new InetSocketAddress(host, port)); + } + // set up optional proxy authentication credentials + final String user = System.getProperty("https.proxyUser"); + final String password = System.getProperty("https.proxyPassword"); + if (user != null && password != null) { + Authenticator.setDefault(new Authenticator() { + @Override + protected PasswordAuthentication getPasswordAuthentication() { + if (getRequestorType() == RequestorType.PROXY && getRequestingHost().equalsIgnoreCase(host) && port == getRequestingPort()) { + return new PasswordAuthentication(user, password.toCharArray()); + } + return null; + } + }); } - return null; - } - }); - } - } else if (System.getProperty("http.proxyHost") != null) { - // set up the proxy host and port - final String host = System.getProperty("http.proxyHost"); - final Integer port = Integer.getInteger("http.proxyPort"); - if (host != null && port != null) { - p = new Proxy(Proxy.Type.HTTP, new InetSocketAddress(host, port)); - } - // set up optional proxy authentication credentials - final String user = System.getProperty("http.proxyUser"); - final String password = System.getProperty("http.proxyPassword"); - if (user != null && password != null) { - Authenticator.setDefault(new Authenticator() { - @Override - protected PasswordAuthentication getPasswordAuthentication() { - if (getRequestorType() == RequestorType.PROXY && getRequestingHost().equalsIgnoreCase(host) && port == getRequestingPort()) { - return new PasswordAuthentication(user, password.toCharArray()); + } else if (System.getProperty("http.proxyHost") != null) { + // set up the proxy host and port + final String host = System.getProperty("http.proxyHost"); + final Integer port = Integer.getInteger("http.proxyPort"); + if (host != null && port != null) { + p = new Proxy(Proxy.Type.HTTP, new InetSocketAddress(host, port)); + } + // set up optional proxy authentication credentials + final String user = System.getProperty("http.proxyUser"); + final String password = System.getProperty("http.proxyPassword"); + if (user != null && password != null) { + Authenticator.setDefault(new Authenticator() { + @Override + protected PasswordAuthentication getPasswordAuthentication() { + if (getRequestorType() == RequestorType.PROXY && getRequestingHost().equalsIgnoreCase(host) && port == getRequestingPort()) { + return new PasswordAuthentication(user, password.toCharArray()); + } + return null; + } + }); } - return null; } - }); - } - } - // no-proxy fallback if the proxy settings are misconfigured in the system properties - if (p == null) { - p = Proxy.NO_PROXY; - } - } - HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(p); - connection.setSSLSocketFactory(sslContext.getSocketFactory()); - return connection; + // no-proxy fallback if the proxy settings are misconfigured in the system properties + if (p == null) { + p = Proxy.NO_PROXY; + } + } + + HostnameVerifier allHostsValid = new InsecureHostnameVerifier(); + HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(p); + connection.setSSLSocketFactory(sslContext.getSocketFactory()); + connection.setHostnameVerifier(allHostsValid); + return connection; + } + }); + return customConnProv.getConnector(client, configuration); } - }), conf); + }); - if (debugging) { - client.addFilter(new LoggingFilter()); + return ClientBuilder.newBuilder(). + sslContext(sslContext). + withConfig(clientConfig).build(); + } + + protected void performAdditionalClientConfiguration(ClientConfig clientConfig) { + // No-op extension point + } + + class InsecureHostnameVerifier implements HostnameVerifier { + @Override + public boolean verify(String hostname, SSLSession session) { + return true; } - return client; } class SecureTrustManager implements X509TrustManager { @@ -1456,4 +1807,32 @@ public boolean isServerTrusted(X509Certificate[] arg0) { } } + + protected Map> buildResponseHeaders(Response response) { + Map> responseHeaders = new HashMap>(); + for (Entry> entry: response.getHeaders().entrySet()) { + List values = entry.getValue(); + List headers = new ArrayList(); + for (Object o : values) { + headers.add(String.valueOf(o)); + } + responseHeaders.put(entry.getKey(), headers); + } + return responseHeaders; + } + + /** + * Update query and header parameters based on authentication settings. + * + * @param authNames The authentications to apply + */ + protected void updateParamsForAuth(String[] authNames, List queryParams, Map headerParams) { + for (String authName : authNames) { + Authentication auth = authentications.get(authName); + if (auth == null) { + throw new RuntimeException("Authentication undefined: " + authName); + } + auth.applyToParams(queryParams, headerParams); + } + } } diff --git a/src/main/java/com/docusign/esign/client/ApiException.java b/src/main/java/com/docusign/esign/client/ApiException.java index 7f33bd31..289ed6ec 100644 --- a/src/main/java/com/docusign/esign/client/ApiException.java +++ b/src/main/java/com/docusign/esign/client/ApiException.java @@ -1,24 +1,52 @@ + + package com.docusign.esign.client; import java.util.Map; import java.util.List; + +/** + * ApiException class. + */ public class ApiException extends Exception { private int code = 0; private Map> responseHeaders = null; private String responseBody = null; + /** + * ApiException constructor. + */ public ApiException() {} + /** + * ApiException constructor. + * + * @param throwable The Throwable type + */ public ApiException(Throwable throwable) { super(throwable); } + /** + * ApiException constructor. + * + * @param message The string message + */ public ApiException(String message) { super(message); } + /** + * ApiException constructor. + * + * @param message The string message + * @param throwable The Throwable type + * @param code The error code + * @param responseHeaders The response headers + * @param responseBody The body of response + */ public ApiException(String message, Throwable throwable, int code, Map> responseHeaders, String responseBody) { super(message, throwable); this.code = code; @@ -26,23 +54,60 @@ public ApiException(String message, Throwable throwable, int code, Map> responseHeaders, String responseBody) { this(message, (Throwable) null, code, responseHeaders, responseBody); } + /** + * ApiException constructor. + * + * @param message The string message + * @param throwable The Throwable type + * @param code The error code + * @param responseHeaders The response headers + */ public ApiException(String message, Throwable throwable, int code, Map> responseHeaders) { this(message, throwable, code, responseHeaders, null); } + /** + * ApiException constructor. + * + * @param code The error code + * @param responseHeaders The response headers + * @param responseBody The body of response + */ public ApiException(int code, Map> responseHeaders, String responseBody) { this((String) null, (Throwable) null, code, responseHeaders, responseBody); } + /** + * ApiException constructor. + * + * @param code The error code + * @param message The string message + */ public ApiException(int code, String message) { super(message); this.code = code; } + /** + * ApiException constructor. + * + * @param code The error code + * @param message The string message + * @param responseHeaders The response headers + * @param responseBody The body of response + */ public ApiException(int code, String message, Map> responseHeaders, String responseBody) { this(code, message); this.responseHeaders = responseHeaders; diff --git a/src/main/java/com/docusign/esign/client/ApiResponse.java b/src/main/java/com/docusign/esign/client/ApiResponse.java new file mode 100644 index 00000000..0cca6a72 --- /dev/null +++ b/src/main/java/com/docusign/esign/client/ApiResponse.java @@ -0,0 +1,52 @@ + + +package com.docusign.esign.client; + +import java.util.List; +import java.util.Map; + +/** + * API response returned by API call. + * + * @param The type of data that is deserialized from response body + */ +public class ApiResponse { + private final int statusCode; + private final Map> headers; + private final T data; + + /** + * ApiResponse method. + * + * @param statusCode The status code of HTTP response + * @param headers The headers of HTTP response + */ + public ApiResponse(int statusCode, Map> headers) { + this(statusCode, headers, null); + } + + /** + * ApiResponse method. + * + * @param statusCode The status code of HTTP response + * @param headers The headers of HTTP response + * @param data The object deserialized from response bod + */ + public ApiResponse(int statusCode, Map> headers, T data) { + this.statusCode = statusCode; + this.headers = headers; + this.data = data; + } + + public int getStatusCode() { + return statusCode; + } + + public Map> getHeaders() { + return headers; + } + + public T getData() { + return data; + } +} diff --git a/src/main/java/com/docusign/esign/client/Configuration.java b/src/main/java/com/docusign/esign/client/Configuration.java index 7e4e1f42..d4b20646 100644 --- a/src/main/java/com/docusign/esign/client/Configuration.java +++ b/src/main/java/com/docusign/esign/client/Configuration.java @@ -1,6 +1,12 @@ + + package com.docusign.esign.client; +/** + * Configuration class. + * + **/ public class Configuration { private static ApiClient defaultApiClient = new ApiClient(); diff --git a/src/main/java/com/docusign/esign/client/JSON.java b/src/main/java/com/docusign/esign/client/JSON.java index 79a827c1..427dd111 100644 --- a/src/main/java/com/docusign/esign/client/JSON.java +++ b/src/main/java/com/docusign/esign/client/JSON.java @@ -2,25 +2,51 @@ import com.fasterxml.jackson.annotation.*; import com.fasterxml.jackson.databind.*; -import com.fasterxml.jackson.datatype.joda.*; import java.text.DateFormat; import javax.ws.rs.ext.ContextResolver; + +/** + * JSON Class. + * + **/ + public class JSON implements ContextResolver { private ObjectMapper mapper; + /** + * JSON Class constructor doc. + * + **/ public JSON() { mapper = new ObjectMapper(); mapper.setSerializationInclusion(JsonInclude.Include.NON_NULL); mapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false); + mapper.configure(DeserializationFeature.FAIL_ON_INVALID_SUBTYPE, false); mapper.disable(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS); mapper.enable(SerializationFeature.WRITE_ENUMS_USING_TO_STRING); mapper.enable(DeserializationFeature.READ_ENUMS_USING_TO_STRING); mapper.setDateFormat(new RFC3339DateFormat()); - mapper.registerModule(new JodaModule()); + } + + /** + * Returns the current object mapper used for JSON serialization/deserialization. + *

+ * Note: If you make changes to the object mapper, remember to set it back via + * setObjectMapper in order to trigger HTTP client rebuilding. + *

+ * @return Object mapper + */ + public ObjectMapper getObjectMapper() { + return mapper; + } + + public JSON setObjectMapper(ObjectMapper mapper) { + this.mapper = mapper; + return this; } /** diff --git a/src/main/java/com/docusign/esign/client/Pair.java b/src/main/java/com/docusign/esign/client/Pair.java index 48635ff2..28462bf5 100644 --- a/src/main/java/com/docusign/esign/client/Pair.java +++ b/src/main/java/com/docusign/esign/client/Pair.java @@ -1,38 +1,69 @@ + + package com.docusign.esign.client; + +/** + * Pair class. + */ public class Pair { private String name = ""; private String value = ""; + /** + * Pair constructor. + * + * @param name The pair name + * @param value The pair value + */ public Pair (String name, String value) { setName(name); setValue(value); } private void setName(String name) { - if (!isValidString(name)) return; + if (!isValidString(name)) { + return; + } this.name = name; } private void setValue(String value) { - if (!isValidString(value)) return; + if (!isValidString(value)) { + return; + } this.value = value; } + /** + * getName method. + * + * @return String + */ public String getName() { return this.name; } + /** + * getValue method. + * + * @return String + */ public String getValue() { return this.value; } private boolean isValidString(String arg) { - if (arg == null) return false; - if (arg.trim().isEmpty()) return false; + if (arg == null) { + return false; + } + + if (arg.trim().isEmpty()) { + return false; + } return true; } diff --git a/src/main/java/com/docusign/esign/client/RFC3339DateFormat.java b/src/main/java/com/docusign/esign/client/RFC3339DateFormat.java index 67509895..f8270a62 100644 --- a/src/main/java/com/docusign/esign/client/RFC3339DateFormat.java +++ b/src/main/java/com/docusign/esign/client/RFC3339DateFormat.java @@ -1,3 +1,4 @@ + package com.docusign.esign.client; import com.fasterxml.jackson.databind.util.ISO8601DateFormat; @@ -6,7 +7,10 @@ import java.text.FieldPosition; import java.util.Date; - +/** + * RFC3339DateFormat class. + * + **/ public class RFC3339DateFormat extends ISO8601DateFormat { // Same as ISO8601DateFormat but serializing milliseconds. diff --git a/src/main/java/com/docusign/esign/client/StringUtil.java b/src/main/java/com/docusign/esign/client/StringUtil.java index b4fbd44b..64c56489 100644 --- a/src/main/java/com/docusign/esign/client/StringUtil.java +++ b/src/main/java/com/docusign/esign/client/StringUtil.java @@ -1,6 +1,12 @@ + + package com.docusign.esign.client; +/** + * StringUtil class. + * + **/ public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). @@ -11,8 +17,13 @@ public class StringUtil { */ public static boolean containsIgnoreCase(String[] array, String value) { for (String str : array) { - if (value == null && str == null) return true; - if (value != null && value.equalsIgnoreCase(str)) return true; + if (value == null && str == null) { + return true; + } + + if (value != null && value.equalsIgnoreCase(str)) { + return true; + } } return false; } @@ -30,7 +41,9 @@ public static boolean containsIgnoreCase(String[] array, String value) { */ public static String join(String[] array, String separator) { int len = array.length; - if (len == 0) return ""; + if (len == 0) { + return ""; + } StringBuilder out = new StringBuilder(); out.append(array[0]); diff --git a/src/main/java/com/docusign/esign/client/auth/AccessTokenListener.java b/src/main/java/com/docusign/esign/client/auth/AccessTokenListener.java index c7a29db3..fa14a861 100644 --- a/src/main/java/com/docusign/esign/client/auth/AccessTokenListener.java +++ b/src/main/java/com/docusign/esign/client/auth/AccessTokenListener.java @@ -4,4 +4,4 @@ public interface AccessTokenListener { void notify(BasicOAuthToken token); -} \ No newline at end of file +} diff --git a/src/main/java/com/docusign/esign/client/auth/ApiKeyAuth.java b/src/main/java/com/docusign/esign/client/auth/ApiKeyAuth.java index a6d7319f..cd0c32fe 100644 --- a/src/main/java/com/docusign/esign/client/auth/ApiKeyAuth.java +++ b/src/main/java/com/docusign/esign/client/auth/ApiKeyAuth.java @@ -1,3 +1,5 @@ + + package com.docusign.esign.client.auth; import com.docusign.esign.client.Pair; @@ -6,6 +8,10 @@ import java.util.List; +/** + * ApiKeyAuth class. + * + */ public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; @@ -13,35 +19,77 @@ public class ApiKeyAuth implements Authentication { private String apiKey; private String apiKeyPrefix; + /** + * ApiKeyAuth constructor. + * + * @param location Sets location + * @param paramName Sets paramName + */ public ApiKeyAuth(String location, String paramName) { this.location = location; this.paramName = paramName; } + /** + * getLocation method. + * + * @return String + */ public String getLocation() { return location; } + /** + * getParamName method. + * + * @return String + */ public String getParamName() { return paramName; } + /** + * getApiKey method. + * + * @return String + */ public String getApiKey() { return apiKey; } + /** + * setApiKey method. + * + * @param apiKey The apiKey + */ public void setApiKey(String apiKey) { this.apiKey = apiKey; } + /** + * getApiKeyPrefix method. + * + * @return String + */ public String getApiKeyPrefix() { return apiKeyPrefix; } + /** + * setApiKeyPrefix method. + * + * @param apiKeyPrefix The apiKeyPrefix + */ public void setApiKeyPrefix(String apiKeyPrefix) { this.apiKeyPrefix = apiKeyPrefix; } + /** + * applyToParams method. + * + * @param queryParams The query params + * @param headerParams The header params + */ @Override public void applyToParams(List queryParams, Map headerParams) { if (apiKey == null) { diff --git a/src/main/java/com/docusign/esign/client/auth/Authentication.java b/src/main/java/com/docusign/esign/client/auth/Authentication.java index 99494f3b..0c9d9bd4 100644 --- a/src/main/java/com/docusign/esign/client/auth/Authentication.java +++ b/src/main/java/com/docusign/esign/client/auth/Authentication.java @@ -1,3 +1,5 @@ + + package com.docusign.esign.client.auth; import com.docusign.esign.client.Pair; diff --git a/src/main/java/com/docusign/esign/client/auth/HttpBasicAuth.java b/src/main/java/com/docusign/esign/client/auth/HttpBasicAuth.java index 084ae7b4..2385fe97 100644 --- a/src/main/java/com/docusign/esign/client/auth/HttpBasicAuth.java +++ b/src/main/java/com/docusign/esign/client/auth/HttpBasicAuth.java @@ -1,3 +1,5 @@ + + package com.docusign.esign.client.auth; import com.docusign.esign.client.Pair; @@ -10,26 +12,57 @@ import java.io.UnsupportedEncodingException; + +/** + * HttpBasicAuth class. + * + */ public class HttpBasicAuth implements Authentication { private String username; private String password; + /** + * getUsername method. + * + * @return String + */ public String getUsername() { return username; } + /** + * setUsername method. + * + * @param username Sets username + */ public void setUsername(String username) { this.username = username; } + /** + * getPassword method. + * + * @return String + */ public String getPassword() { return password; } + /** + * setPassword method. + * + * @param password Sets password + */ public void setPassword(String password) { this.password = password; } + /** + * applyToParams method. + * + * @param queryParams The query params + * @param headerParams The header params + */ @Override public void applyToParams(List queryParams, Map headerParams) { if (username == null && password == null) { diff --git a/src/main/java/com/docusign/esign/client/auth/JWTUtils.java b/src/main/java/com/docusign/esign/client/auth/JWTUtils.java index d32d5387..2f0226c4 100644 --- a/src/main/java/com/docusign/esign/client/auth/JWTUtils.java +++ b/src/main/java/com/docusign/esign/client/auth/JWTUtils.java @@ -1,5 +1,9 @@ package com.docusign.esign.client.auth; +import com.auth0.jwt.JWT; +import com.auth0.jwt.JWTCreator; +import com.auth0.jwt.algorithms.Algorithm; +import com.auth0.jwt.exceptions.JWTCreationException; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; @@ -16,178 +20,216 @@ import java.security.spec.PKCS8EncodedKeySpec; import java.security.spec.X509EncodedKeySpec; import java.util.Date; - -import com.auth0.jwt.JWTCreator; import org.bouncycastle.jce.provider.BouncyCastleProvider; import org.bouncycastle.util.io.pem.PemObject; import org.bouncycastle.util.io.pem.PemReader; -import com.auth0.jwt.JWT; -import com.auth0.jwt.algorithms.Algorithm; -import com.auth0.jwt.exceptions.JWTCreationException; +/** + * JWTUtils class. + * + */ public class JWTUtils { + /** + * Helper method to create a JWT token for the JWT flow. + * + * @param rsaPrivateKey the byte contents of the RSA private key + * @param oAuthBasePath DocuSign OAuth base path (account-d.docusign.com for the developer sandbox + * and account.docusign.com for the production platform) + * @param clientId DocuSign OAuth Client Id (AKA Integrator Key) + * @param userId DocuSign user Id to be impersonated (This is a UUID) + * @param expiresIn number of seconds remaining before the JWT assertion is considered as invalid + * @param scopes space-separated string that represents the list of scopes to grant to the OAuth + * token. + * @return a fresh JWT token + * @throws IllegalArgumentException if one of the arguments is invalid + * @throws JWTCreationException if not able to create a JWT token from the input parameters + * @throws IOException if there is an issue with either the public or private file + */ + public static String generateJWTAssertionFromByteArray( + byte[] rsaPrivateKey, + String oAuthBasePath, + String clientId, + String userId, + long expiresIn, + String scopes) + throws IllegalArgumentException, JWTCreationException, IOException { + if (expiresIn <= 0L) { + throw new IllegalArgumentException("expiresIn should be a non-negative value"); + } + if (rsaPrivateKey == null || rsaPrivateKey.length == 0) { + throw new IllegalArgumentException("rsaPrivateKey byte array is empty"); + } + if (oAuthBasePath == null + || "".equals(oAuthBasePath) + || clientId == null + || "".equals(clientId)) { + throw new IllegalArgumentException("One of the arguments is null or empty"); + } + + RSAPrivateKey privateKey = readPrivateKeyFromByteArray(rsaPrivateKey, "RSA"); + Algorithm algorithm = Algorithm.RSA256(null, privateKey); + long now = System.currentTimeMillis(); + JWTCreator.Builder builder = + JWT.create() + .withIssuer(clientId) + .withAudience(oAuthBasePath) + .withIssuedAt(new Date(now)) + .withClaim("scope", scopes) + .withExpiresAt(new Date(now + expiresIn * 1000)); + if (userId != null && userId != "") { + builder = builder.withSubject(userId); + } + return builder.sign(algorithm); + } + + /** + * Helper method to create a JWT token for the JWT flow. + * + * @param publicKeyFilename the filename of the RSA public key + * @param privateKeyFilename the filename of the RSA private key + * @param oAuthBasePath DocuSign OAuth base path (account-d.docusign.com for the developer sandbox + * and account.docusign.com for the production platform) + * @param clientId DocuSign OAuth Client Id (AKA Integrator Key) + * @param userId DocuSign user Id to be impersonated (This is a UUID) + * @param expiresIn number of seconds remaining before the JWT assertion is considered as invalid + * @return a fresh JWT token + * @throws JWTCreationException if not able to create a JWT token from the input parameters + * @throws IOException if there is an issue with either the public or private file + */ + public static String generateJWTAssertion( + String publicKeyFilename, + String privateKeyFilename, + String oAuthBasePath, + String clientId, + String userId, + long expiresIn) + throws JWTCreationException, IOException { + String token = null; + if (expiresIn <= 0L) { + throw new IllegalArgumentException("expiresIn should be a non-negative value"); + } + if (publicKeyFilename == null + || "".equals(publicKeyFilename) + || privateKeyFilename == null + || "".equals(privateKeyFilename) + || oAuthBasePath == null + || "".equals(oAuthBasePath) + || clientId == null + || "".equals(clientId) + || userId == null + || "".equals(userId)) { + throw new IllegalArgumentException("One of the arguments is null or empty"); + } + + try { + RSAPublicKey publicKey = readPublicKeyFromFile(publicKeyFilename, "RSA"); + RSAPrivateKey privateKey = readPrivateKeyFromFile(privateKeyFilename, "RSA"); + Algorithm algorithm = Algorithm.RSA256(publicKey, privateKey); + long now = System.currentTimeMillis(); + token = + JWT.create() + .withIssuer(clientId) + .withSubject(userId) + .withAudience(oAuthBasePath) + .withNotBefore(new Date(now)) + .withExpiresAt(new Date(now + expiresIn * 1000)) + .withClaim("scope", "signature") + .sign(algorithm); + } catch (JWTCreationException e) { + throw e; + } catch (IOException e) { + throw e; + } + + return token; + } + + private static RSAPublicKey readPublicKeyFromFile(String filepath, String algorithm) + throws IOException { + File pemFile = new File(filepath); + if (!pemFile.isFile() || !pemFile.exists()) { + throw new FileNotFoundException( + String.format("The file '%s' doesn't exist.", pemFile.getAbsolutePath())); + } + PemReader reader = new PemReader(new FileReader(pemFile)); + try { + PemObject pemObject = reader.readPemObject(); + byte[] bytes = pemObject.getContent(); + RSAPublicKey publicKey = null; + try { + KeyFactory kf = KeyFactory.getInstance(algorithm); + EncodedKeySpec keySpec = new X509EncodedKeySpec(bytes); + publicKey = (RSAPublicKey) kf.generatePublic(keySpec); + } catch (NoSuchAlgorithmException e) { + System.out.println( + "Could not reconstruct the public key, the given algorithm could not be found."); + } catch (InvalidKeySpecException e) { + System.out.println("Could not reconstruct the public key"); + } - /** - * Helper method to create a JWT token for the JWT flow - * @param rsaPrivateKey the byte contents of the RSA private key - * @param oAuthBasePath DocuSign OAuth base path (account-d.docusign.com for the developer sandbox - and account.docusign.com for the production platform) - * @param clientId DocuSign OAuth Client Id (AKA Integrator Key) - * @param userId DocuSign user Id to be impersonated (This is a UUID) - * @param expiresIn number of seconds remaining before the JWT assertion is considered as invalid - * @param scopes space-separated string that represents the list of scopes to grant to the OAuth token. - * @return a fresh JWT token - * @throws IllegalArgumentException if one of the arguments is invalid - * @throws JWTCreationException if not able to create a JWT token from the input parameters - * @throws IOException if there is an issue with either the public or private file - */ - public static String generateJWTAssertionFromByteArray(byte[] rsaPrivateKey, String oAuthBasePath, String clientId, String userId, long expiresIn, String scopes) throws IllegalArgumentException, JWTCreationException, IOException { - if (expiresIn <= 0L) { - throw new IllegalArgumentException("expiresIn should be a non-negative value"); - } - if (rsaPrivateKey == null || rsaPrivateKey.length == 0) { - throw new IllegalArgumentException("rsaPrivateKey byte array is empty"); - } - if (oAuthBasePath == null || "".equals(oAuthBasePath) || clientId == null || "".equals(clientId)) { - throw new IllegalArgumentException("One of the arguments is null or empty"); - } - - RSAPrivateKey privateKey = readPrivateKeyFromByteArray(rsaPrivateKey, "RSA"); - Algorithm algorithm = Algorithm.RSA256(null, privateKey); - long now = System.currentTimeMillis(); - JWTCreator.Builder builder = JWT.create() - .withIssuer(clientId) - .withAudience(oAuthBasePath) - .withIssuedAt(new Date(now)) - .withClaim("scope", scopes) - .withExpiresAt(new Date(now + expiresIn * 1000)); - if (userId != null && userId != "") { - builder = builder.withSubject(userId); - } - return builder.sign(algorithm); - } - /** - * Helper method to create a JWT token for the JWT flow - * @param publicKeyFilename the filename of the RSA public key - * @param privateKeyFilename the filename of the RSA private key - * @param oAuthBasePath DocuSign OAuth base path (account-d.docusign.com for the developer sandbox - and account.docusign.com for the production platform) - * @param clientId DocuSign OAuth Client Id (AKA Integrator Key) - * @param userId DocuSign user Id to be impersonated (This is a UUID) - * @param expiresIn number of seconds remaining before the JWT assertion is considered as invalid - * @return a fresh JWT token - * @throws JWTCreationException if not able to create a JWT token from the input parameters - * @throws IOException if there is an issue with either the public or private file - */ - public static String generateJWTAssertion(String publicKeyFilename, String privateKeyFilename, String oAuthBasePath, String clientId, String userId, long expiresIn) throws JWTCreationException, IOException { - String token = null; - if (expiresIn <= 0L) { - throw new IllegalArgumentException("expiresIn should be a non-negative value"); - } - if (publicKeyFilename == null || "".equals(publicKeyFilename) || privateKeyFilename == null || "".equals(privateKeyFilename) || oAuthBasePath == null || "".equals(oAuthBasePath) || clientId == null || "".equals(clientId) || userId == null || "".equals(userId)) { - throw new IllegalArgumentException("One of the arguments is null or empty"); - } + return publicKey; + } finally { + reader.close(); + } + } - try { - RSAPublicKey publicKey = readPublicKeyFromFile(publicKeyFilename, "RSA"); - RSAPrivateKey privateKey = readPrivateKeyFromFile(privateKeyFilename, "RSA"); - Algorithm algorithm = Algorithm.RSA256(publicKey, privateKey); - long now = System.currentTimeMillis(); - token = JWT.create() - .withIssuer(clientId) - .withSubject(userId) - .withAudience(oAuthBasePath) - .withNotBefore(new Date(now)) - .withExpiresAt(new Date(now + expiresIn * 1000)) - .withClaim("scope", "signature") - .sign(algorithm); - } catch (JWTCreationException e){ - throw e; - } catch (IOException e) { - throw e; - } + private static RSAPrivateKey readPrivateKeyFromFile(String filepath, String algorithm) + throws IOException { + File pemFile = new File(filepath); + if (!pemFile.isFile() || !pemFile.exists()) { + throw new FileNotFoundException( + String.format("The file '%s' doesn't exist.", pemFile.getAbsolutePath())); + } + PemReader reader = new PemReader(new FileReader(pemFile)); + try { + PemObject pemObject = reader.readPemObject(); + byte[] bytes = pemObject.getContent(); + RSAPrivateKey privateKey = null; + try { + Security.addProvider(new BouncyCastleProvider()); + KeyFactory kf = KeyFactory.getInstance(algorithm, "BC"); + EncodedKeySpec keySpec = new PKCS8EncodedKeySpec(bytes); + privateKey = (RSAPrivateKey) kf.generatePrivate(keySpec); + } catch (NoSuchAlgorithmException e) { + System.out.println( + "Could not reconstruct the private key, the given algorithm could not be found."); + } catch (InvalidKeySpecException e) { + System.out.println("Could not reconstruct the private key"); + } catch (NoSuchProviderException e) { + System.out.println("Could not reconstruct the private key, invalid provider."); + } - return token; - } - - private static RSAPublicKey readPublicKeyFromFile(String filepath, String algorithm) throws IOException { - File pemFile = new File(filepath); - if (!pemFile.isFile() || !pemFile.exists()) { - throw new FileNotFoundException(String.format("The file '%s' doesn't exist.", pemFile.getAbsolutePath())); - } - PemReader reader = new PemReader(new FileReader(pemFile)); - try { - PemObject pemObject = reader.readPemObject(); - byte[] bytes = pemObject.getContent(); - RSAPublicKey publicKey = null; - try { - KeyFactory kf = KeyFactory.getInstance(algorithm); - EncodedKeySpec keySpec = new X509EncodedKeySpec(bytes); - publicKey = (RSAPublicKey) kf.generatePublic(keySpec); - } catch (NoSuchAlgorithmException e) { - System.out.println("Could not reconstruct the public key, the given algorithm could not be found."); - } catch (InvalidKeySpecException e) { - System.out.println("Could not reconstruct the public key"); - } - - return publicKey; - } finally { - reader.close(); - } - } + return privateKey; + } finally { + reader.close(); + } + } - private static RSAPrivateKey readPrivateKeyFromFile(String filepath, String algorithm) throws IOException { - File pemFile = new File(filepath); - if (!pemFile.isFile() || !pemFile.exists()) { - throw new FileNotFoundException(String.format("The file '%s' doesn't exist.", pemFile.getAbsolutePath())); - } - PemReader reader = new PemReader(new FileReader(pemFile)); - try { - PemObject pemObject = reader.readPemObject(); - byte[] bytes = pemObject.getContent(); - RSAPrivateKey privateKey = null; - try { - Security.addProvider(new BouncyCastleProvider()); - KeyFactory kf = KeyFactory.getInstance(algorithm, "BC"); - EncodedKeySpec keySpec = new PKCS8EncodedKeySpec(bytes); - privateKey = (RSAPrivateKey) kf.generatePrivate(keySpec); - } catch (NoSuchAlgorithmException e) { - System.out.println("Could not reconstruct the private key, the given algorithm could not be found."); - } catch (InvalidKeySpecException e) { - System.out.println("Could not reconstruct the private key"); - } catch (NoSuchProviderException e) { - System.out.println("Could not reconstruct the private key, invalid provider."); - } - - return privateKey; - } finally { - reader.close(); - } - } + private static RSAPrivateKey readPrivateKeyFromByteArray(byte[] privateKeyBytes, String algorithm) + throws IOException { + PemReader reader = new PemReader(new StringReader(new String(privateKeyBytes))); + try { + PemObject pemObject = reader.readPemObject(); + byte[] bytes = pemObject.getContent(); + RSAPrivateKey privateKey = null; + try { + Security.addProvider(new BouncyCastleProvider()); + KeyFactory kf = KeyFactory.getInstance(algorithm, "BC"); + EncodedKeySpec keySpec = new PKCS8EncodedKeySpec(bytes); + privateKey = (RSAPrivateKey) kf.generatePrivate(keySpec); + } catch (NoSuchAlgorithmException e) { + System.out.println( + "Could not reconstruct the private key, the given algorithm could not be found."); + } catch (InvalidKeySpecException e) { + System.out.println("Could not reconstruct the private key"); + } catch (NoSuchProviderException e) { + System.out.println("Could not reconstruct the private key, invalid provider."); + } - private static RSAPrivateKey readPrivateKeyFromByteArray(byte[] privateKeyBytes, String algorithm) throws IOException { - PemReader reader = new PemReader(new StringReader(new String(privateKeyBytes))); - try { - PemObject pemObject = reader.readPemObject(); - byte[] bytes = pemObject.getContent(); - RSAPrivateKey privateKey = null; - try { - Security.addProvider(new BouncyCastleProvider()); - KeyFactory kf = KeyFactory.getInstance(algorithm, "BC"); - EncodedKeySpec keySpec = new PKCS8EncodedKeySpec(bytes); - privateKey = (RSAPrivateKey) kf.generatePrivate(keySpec); - } catch (NoSuchAlgorithmException e) { - System.out.println("Could not reconstruct the private key, the given algorithm could not be found."); - } catch (InvalidKeySpecException e) { - System.out.println("Could not reconstruct the private key"); - } catch (NoSuchProviderException e) { - System.out.println("Could not reconstruct the private key, invalid provider."); - } - - return privateKey; - } finally { - reader.close(); - } - } + return privateKey; + } finally { + reader.close(); + } + } } diff --git a/src/main/java/com/docusign/esign/client/auth/OAuth.java b/src/main/java/com/docusign/esign/client/auth/OAuth.java index d58595db..0c5b3257 100644 --- a/src/main/java/com/docusign/esign/client/auth/OAuth.java +++ b/src/main/java/com/docusign/esign/client/auth/OAuth.java @@ -4,10 +4,13 @@ import java.util.Map; import java.util.Objects; +import javax.ws.rs.client.ClientBuilder; import javax.ws.rs.core.Response; +import com.docusign.esign.client.ApiException; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import org.apache.oltu.oauth2.client.OAuthClient; +import org.apache.oltu.oauth2.client.URLConnectionClient; import org.apache.oltu.oauth2.client.request.OAuthClientRequest; import org.apache.oltu.oauth2.client.response.OAuthJSONAccessTokenResponse; import org.apache.oltu.oauth2.client.request.OAuthClientRequest.AuthenticationRequestBuilder; @@ -17,14 +20,16 @@ import com.docusign.esign.client.Pair; import com.fasterxml.jackson.annotation.JsonProperty; -import com.sun.jersey.api.client.Client; -import com.sun.jersey.api.client.ClientHandlerException; +import javax.ws.rs.client.Client; import io.swagger.annotations.ApiModelProperty; - +/** + * OAuth class. + * + */ public class OAuth implements Authentication { - static final int MILLIS_PER_SECOND = 1000; + static final int MILLIS_PER_SECOND = 1000; // OAuth Scope constants /** create and send envelopes, and obtain links for starting signing sessions. */ @@ -41,866 +46,922 @@ public class OAuth implements Authentication { public final static String TOKEN = "token"; // OAuth base path constants - /** live/production base path */ + /** live/production base path. */ public final static String PRODUCTION_OAUTH_BASEPATH = "account.docusign.com"; - /** sandbox/demo base path */ + /** sandbox/demo base path. */ public final static String DEMO_OAUTH_BASEPATH = "account-d.docusign.com"; - /** stage base path */ + /** stage base path. */ public final static String STAGE_OAUTH_BASEPATH = "account-s.docusign.com"; // OAuth grant types - /** JWT grant type */ + /** JWT grant type. */ public final static String GRANT_TYPE_JWT = "urn:ietf:params:oauth:grant-type:jwt-bearer"; - private volatile String accessToken; - private Long expirationTimeMillis; - private OAuthClient oauthClient; - private TokenRequestBuilder tokenRequestBuilder; - private AuthenticationRequestBuilder authenticationRequestBuilder; - private AccessTokenListener accessTokenListener; - - public OAuth(Client client, TokenRequestBuilder tokenRequestBuilder, AuthenticationRequestBuilder authenticationRequestBuilder) { - this.oauthClient = new OAuthClient(new OAuthJerseyClient(client)); - this.tokenRequestBuilder = tokenRequestBuilder; - this.authenticationRequestBuilder = authenticationRequestBuilder; - } - - public OAuth(Client client, OAuthFlow flow, String authorizationUrl, String tokenUrl, String scopes) { - this(client, OAuthClientRequest.tokenLocation(tokenUrl).setScope(scopes), OAuthClientRequest.authorizationLocation(authorizationUrl).setScope(scopes)); - - switch (flow) { - case accessCode: - tokenRequestBuilder.setGrantType(GrantType.AUTHORIZATION_CODE); - authenticationRequestBuilder.setResponseType(OAuth.CODE); - break; - case implicit: - tokenRequestBuilder.setGrantType(GrantType.IMPLICIT); - authenticationRequestBuilder.setResponseType(OAuth.TOKEN); - break; - case password: - tokenRequestBuilder.setGrantType(GrantType.PASSWORD); - break; - case application: - tokenRequestBuilder.setGrantType(GrantType.CLIENT_CREDENTIALS); - break; - default: - break; - } - } - - public OAuth(OAuthFlow flow, String authorizationUrl, String tokenUrl, String scopes) { - this(new Client(null, null), flow, authorizationUrl, tokenUrl, scopes); - } - - @Override - public void applyToParams(List queryParams, Map headerParams) { - // If first time, get the token - if (expirationTimeMillis == null || System.currentTimeMillis() >= expirationTimeMillis) { - updateAccessToken(); - } - if (accessToken != null) { - headerParams.put("Authorization", "Bearer " + accessToken); - } - } - - public synchronized void updateAccessToken() { - OAuthJSONAccessTokenResponse accessTokenResponse; - try { - accessTokenResponse = oauthClient.accessToken(tokenRequestBuilder.buildBodyMessage()); - } catch (Exception e) { - throw new ClientHandlerException(e.getMessage(), e); - } - if (accessTokenResponse != null) - { - // FIXME: This does not work in case of non HTTP 200 :-( oauthClient needs to return the plain HTTP resonse - if (accessTokenResponse.getResponseCode() != Response.Status.OK.getStatusCode()) - { - throw new ClientHandlerException("Error while requesting an access token, received HTTP code: " + accessTokenResponse.getResponseCode()); - } - - if (accessTokenResponse.getAccessToken() == null) { - throw new ClientHandlerException("Error while requesting an access token. No 'access_token' found."); - } - if (accessTokenResponse.getExpiresIn() == null) { - throw new ClientHandlerException("Error while requesting an access token. No 'expires_in' found."); - } - - setAccessToken(accessTokenResponse.getAccessToken(), accessTokenResponse.getExpiresIn()); - if (this.accessTokenListener != null) { - this.accessTokenListener.notify((BasicOAuthToken)accessTokenResponse.getOAuthToken()); - } - } else { - // in case of HTTP error codes accessTokenResponse is null, thus no check of accessTokenResponse.getResponseCode() possible :-( - throw new ClientHandlerException("Error while requesting an access token. No accessTokenResponse object recieved, maybe a non HTTP 200 received?"); - } - } - - public synchronized void registerAccessTokenListener(AccessTokenListener accessTokenListener) { - this.accessTokenListener = accessTokenListener; - } - - public synchronized String getAccessToken() { - return accessToken; - } - - public synchronized void setAccessToken(String accessToken, Long expiresIn) { - this.accessToken = accessToken; - this.expirationTimeMillis = System.currentTimeMillis() + expiresIn * MILLIS_PER_SECOND; - } - - public TokenRequestBuilder getTokenRequestBuilder() { - return tokenRequestBuilder; - } - - public void setTokenRequestBuilder(TokenRequestBuilder tokenRequestBuilder) { - this.tokenRequestBuilder = tokenRequestBuilder; - } - - public AuthenticationRequestBuilder getAuthenticationRequestBuilder() { - return authenticationRequestBuilder; - } - - public void setAuthenticationRequestBuilder(AuthenticationRequestBuilder authenticationRequestBuilder) { - this.authenticationRequestBuilder = authenticationRequestBuilder; - } - - public OAuthClient getOauthClient() { - return oauthClient; - } - - public void setOauthClient(OAuthClient oauthClient) { - this.oauthClient = oauthClient; - } - - public void setOauthClient(Client client) { - this.oauthClient = new OAuthClient(new OAuthJerseyClient(client)); - } - - /** - * - * OAuthToken model with the following properties: - *
accessToken: the token you will use in the Authorization header of calls to the DocuSign API. - *
tokenType: this is the type of the accessToken. It is usually "Bearer". - *
refreshToken: a token you can use to get a new accessToken without requiring user interaction. - *
expiresIn: the number of seconds before the accessToken expires. - * - */ - @JsonIgnoreProperties(ignoreUnknown = true) - public static class OAuthToken { - @JsonProperty("access_token") - private String accessToken = null; - - @JsonProperty("token_type") - private String tokenType = null; - - @JsonProperty("refresh_token") - private String refreshToken = null; - - @JsonProperty("expires_in") - private Long expiresIn = 0L; - - public OAuthToken accessToken(String accessToken) { - this.accessToken = accessToken; - return this; - } - - /** - * Get accessToken - * - * @return accessToken - **/ - @ApiModelProperty(example = "null", value = "") - public String getAccessToken() { - return accessToken; - } - - public void setAccessToken(String accessToken) { - this.accessToken = accessToken; - } - - public OAuthToken isTokenType(String tokenType) { - this.tokenType = tokenType; - return this; - } - - /** - * Get tokenType - * - * @return tokenType - **/ - @ApiModelProperty(example = "null", value = "") - public String getTokenType() { - return tokenType; - } - - public void setTokenType(String tokenType) { - this.tokenType = tokenType; - } - - public OAuthToken refreshToken(String refreshToken) { - this.refreshToken = refreshToken; - return this; - } - - /** - * Get refreshToken - * - * @return refreshToken - **/ - @ApiModelProperty(example = "null", value = "") - public String getRefreshToken() { - return refreshToken; - } - - public void setRefreshToken(String refreshToken) { - this.refreshToken = refreshToken; - } - - public OAuthToken expiresIn(Long expiresIn) { - this.expiresIn = expiresIn; - return this; - } - - /** - * Get expiresIn - * - * @return expiresIn - **/ - @ApiModelProperty(example = "3600L", value = "0L") - public Long getExpiresIn() { - return expiresIn; - } - - public void setExpiresIn(Long expiresIn) { - this.expiresIn = expiresIn; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - OAuthToken oAuthToken = (OAuthToken) o; - return Objects.equals(this.accessToken, oAuthToken.accessToken) - && Objects.equals(this.tokenType, oAuthToken.tokenType) - && Objects.equals(this.refreshToken, oAuthToken.refreshToken) - && Objects.equals(this.expiresIn, oAuthToken.expiresIn); - } - - @Override - public int hashCode() { - return Objects.hash(accessToken, tokenType, refreshToken, expiresIn); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class OAuthToken {\n"); - - sb.append(" accessToken: ").append(toIndentedString(accessToken)).append("\n"); - sb.append(" tokenType: ").append(toIndentedString(tokenType)).append("\n"); - sb.append(" refreshToken: ").append(toIndentedString(refreshToken)).append("\n"); - sb.append(" expiresIn: ").append(toIndentedString(expiresIn)).append("\n"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 - * spaces (except the first line). - */ - private String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - } - - /** - * - * Link model with the following properties: - *
rel: currently the only value is "self". - *
href: the direct link of the organization. - * - */ - @JsonIgnoreProperties(ignoreUnknown = true) - public static class Link { - @JsonProperty("rel") - private String rel = null; - - @JsonProperty("href") - private String href = null; - - public Link rel(String rel) { - this.rel = rel; - return this; - } - - /** - * Get rel - * - * @return rel - **/ - @ApiModelProperty(example = "null", value = "") - public String getRel() { - return rel; - } - - public void setRel(String rel) { - this.rel = rel; - } - - public Link href(String href) { - this.href = href; - return this; - } - - /** - * Get href - * - * @return href - **/ - @ApiModelProperty(example = "null", value = "") - public String getHref() { - return href; - } - - public void setHref(String href) { - this.href = href; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - Link link = (Link) o; - return Objects.equals(this.rel, link.rel) - && Objects.equals(this.href, link.href); - } - - @Override - public int hashCode() { - return Objects.hash(rel, href); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Link {\n"); - - sb.append(" rel: ").append(toIndentedString(rel)).append("\n"); - sb.append(" href: ").append(toIndentedString(href)).append("\n"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 - * spaces (except the first line). - */ - private String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - } - - /** - * - * Organization model with the following properties: - *
organizationId: the organization ID GUID if DocuSign Org Admin is enabled. - *
links: this is list of organization direct links associated with the DocuSign account. - * - */ - @JsonIgnoreProperties(ignoreUnknown = true) - public static class Organization { - @JsonProperty("organization_id") - private String organizationId = null; - - @JsonProperty("links") - private java.util.List links = new java.util.ArrayList(); - - public Organization organizationId(String organizationId) { - this.organizationId = organizationId; - return this; - } - - /** - * Get organizationId - * - * @return organizationId - **/ - @ApiModelProperty(example = "null", value = "") - public String getOrganizationId() { - return organizationId; - } - - public void setOrganizationId(String organizationId) { - this.organizationId = organizationId; - } - - public Organization links(java.util.List links) { - this.links = links; - return this; - } - - public Organization addLinksItem(Link linksItem) { - this.links.add(linksItem); - return this; - } - - /** - * Get links - * - * @return links - **/ - @ApiModelProperty(example = "null", value = "") - public java.util.List getLinks() { - return links; - } - - public void setLinks(java.util.List links) { - this.links = links; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - Organization organization = (Organization) o; - return Objects.equals(this.organizationId, organization.organizationId) - && Objects.equals(this.links, organization.links); - } - - @Override - public int hashCode() { - return Objects.hash(organizationId, links); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Organization {\n"); - - sb.append(" organizationId: ").append(toIndentedString(organizationId)).append("\n"); - sb.append(" links: ").append(toIndentedString(links)).append("\n"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 - * spaces (except the first line). - */ - private String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - } - - /** - * - * Account model with the following properties: - *
accountId: the account ID GUID. - *
isDefault: whether this is the default account, when the user has access to multiple accounts. - *
accountName: the human-readable name of the account. - *
baseUri: the base URI associated with this account. - * It also tells which DocuSign data center the account is hosted on. - *
organization: If DocuSign Org Admin is enabled on this account, - * this property contains the organization information. - * - */ - @JsonIgnoreProperties(ignoreUnknown = true) - public static class Account { - @JsonProperty("account_id") - private String accountId = null; - - @JsonProperty("is_default") - private String isDefault = null; - - @JsonProperty("account_name") - private String accountName = null; - - @JsonProperty("base_uri") - private String baseUri = null; - - @JsonProperty("organization") - private Organization organization = new Organization(); - - public Account accountId(String accountId) { - this.accountId = accountId; - return this; - } - - /** - * Get accountId - * - * @return accountId - **/ - @ApiModelProperty(example = "null", value = "") - public String getAccountId() { - return accountId; - } - - public void setAccountId(String accountId) { - this.accountId = accountId; - } - - public Account isDefault(String isDefault) { - this.isDefault = isDefault; - return this; - } - - /** - * Get isDefault - * - * @return isDefault - **/ - @ApiModelProperty(example = "null", value = "") - public String getIsDefault() { - return isDefault; - } - - public void setIsDefault(String isDefault) { - this.isDefault = isDefault; - } - - public Account accountName(String accountName) { - this.accountName = accountName; - return this; - } - - /** - * Get accountName - * - * @return accountName - **/ - @ApiModelProperty(example = "null", value = "") - public String getAccountName() { - return accountName; - } - - public void setAccountName(String accountName) { - this.accountName = accountName; - } - - public Account baseUri(String baseUri) { - this.baseUri = baseUri; - return this; - } - - /** - * Get baseUri - * - * @return baseUri - **/ - @ApiModelProperty(example = "null", value = "") - public String getBaseUri() { - return baseUri; - } - - public void setBaseUri(String baseUri) { - this.baseUri = baseUri; - } - - public Account organization(Organization organization) { - this.organization = organization; - return this; - } - - /** - * Get organization - * - * @return organization - **/ - @ApiModelProperty(example = "null", value = "") - public Organization getOrganization() { - return organization; - } - - public void setOrganization(Organization organization) { - this.organization = organization; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - Account account = (Account) o; - return Objects.equals(this.accountId, account.accountId) - && Objects.equals(this.isDefault, account.isDefault) - && Objects.equals(this.accountName, account.accountName) - && Objects.equals(this.baseUri, account.baseUri) - && Objects.equals(this.organization, account.organization); - } - - @Override - public int hashCode() { - return Objects.hash(accountId, isDefault, accountName, baseUri, organization); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Account {\n"); - - sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n"); - sb.append(" isDefault: ").append(toIndentedString(isDefault)).append("\n"); - sb.append(" accountName: ").append(toIndentedString(accountName)).append("\n"); - sb.append(" baseUri: ").append(toIndentedString(baseUri)).append("\n"); - sb.append(" organization: ").append(toIndentedString(organization)).append("\n"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 - * spaces (except the first line). - */ - private String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - } - - /** - * - * UserInfo model with the following properties: - *
sub: the user ID GUID. - *
accounts: this is list of DocuSign accounts associated with the current user. - *
name: the user's full name. - *
givenName: the user's given name. - *
familyName: the user's family name. - *
email: the user's email address. - *
created: the UTC DateTime when the user login was created. - * - * @see Account - * - */ - @JsonIgnoreProperties(ignoreUnknown = true) - public static class UserInfo { - - @JsonProperty("sub") - private String sub = null; - - @JsonProperty("email") - private String email = null; - - @JsonProperty("accounts") - private java.util.List accounts = new java.util.ArrayList(); - - @JsonProperty("name") - private String name = null; - - @JsonProperty("given_name") - private String givenName = null; - - @JsonProperty("family_name") - private String familyName = null; - - @JsonProperty("created") - private String created = null; - - public UserInfo sub(String sub) { - this.sub = sub; - return this; - } - - /** - * Get sub - * - * @return sub - **/ - @ApiModelProperty(example = "null", value = "") - public String getSub() { - return sub; - } - - public void setSub(String sub) { - this.sub = sub; - } - - public UserInfo email(String email) { - this.email = email; - return this; - } - - /** - * Get email - * - * @return email - **/ - @ApiModelProperty(example = "null", value = "") - public String getEmail() { - return email; - } - - public void setEmail(String email) { - this.email = email; - } - - public UserInfo accounts(java.util.List accounts) { - this.accounts = accounts; - return this; - } - - public UserInfo addAccountsItem(Account accountsItem) { - this.accounts.add(accountsItem); - return this; - } - - /** - * Get accounts - * - * @return accounts - **/ - @ApiModelProperty(example = "null", value = "") - public java.util.List getAccounts() { - return accounts; - } - - public void setAccounts(java.util.List accounts) { - this.accounts = accounts; - } - - public UserInfo name(String name) { - this.name = name; - return this; - } - - /** - * Get name - * - * @return name - **/ - @ApiModelProperty(example = "null", value = "") - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public UserInfo givenName(String givenName) { - this.givenName = givenName; - return this; - } - - /** - * Get givenName - * - * @return givenName - **/ - @ApiModelProperty(example = "null", value = "") - public String getGivenName() { - return givenName; - } - - public void setGivenName(String givenName) { - this.givenName = givenName; - } - - public UserInfo familyName(String familyName) { - this.familyName = familyName; - return this; - } - - /** - * Get familyName - * - * @return familyName - **/ - @ApiModelProperty(example = "null", value = "") - public String getFamilyName() { - return familyName; - } - - public void setFamilyName(String familyName) { - this.familyName = familyName; - } - - public UserInfo created(String created) { - this.created = created; - return this; - } - - /** - * Get created - * - * @return created - **/ - @ApiModelProperty(example = "null", value = "") - public String getCreated() { - return created; - } - - public void setCreated(String created) { - this.created = created; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - UserInfo userInfo = (UserInfo) o; - return Objects.equals(this.sub, userInfo.sub) && Objects.equals(this.email, userInfo.email) - && Objects.equals(this.accounts, userInfo.accounts) && Objects.equals(this.name, userInfo.name) - && Objects.equals(this.givenName, userInfo.givenName) && Objects.equals(this.familyName, userInfo.familyName) - && Objects.equals(this.created, userInfo.created); - } - - @Override - public int hashCode() { - return Objects.hash(sub, email, accounts, name, givenName, familyName, created); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class UserInfo {\n"); - - sb.append(" sub: ").append(toIndentedString(sub)).append("\n"); - sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" givenName: ").append(toIndentedString(givenName)).append("\n"); - sb.append(" familyName: ").append(toIndentedString(familyName)).append("\n"); - sb.append(" created: ").append(toIndentedString(created)).append("\n"); - sb.append(" accounts: ").append(toIndentedString(accounts)).append("\n"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - } + private volatile String accessToken; + private Long expirationTimeMillis; + private OAuthClient oauthClient; + private TokenRequestBuilder tokenRequestBuilder; + private AuthenticationRequestBuilder authenticationRequestBuilder; + private AccessTokenListener accessTokenListener; + + /** + * OAuth constructor. + * + */ + public OAuth() { + this(null, null, null); + } + + /** + * OAuth constructor. + * + * @param client The client to use + * @param tokenRequestBuilder The request builder + * @param authenticationRequestBuilder The auth request builder + */ + public OAuth(Client client, TokenRequestBuilder tokenRequestBuilder, AuthenticationRequestBuilder authenticationRequestBuilder) { + this.oauthClient = new OAuthClient(new URLConnectionClient()); + this.tokenRequestBuilder = tokenRequestBuilder; + this.authenticationRequestBuilder = authenticationRequestBuilder; + } + + /** + * OAuth constructor. + * + * @param client The client to use + * @param flow The OAuth flow + * @param authorizationUrl The auth url + * @param tokenUrl The token URL + * @param scopes The scopes to use + */ + public OAuth(Client client, OAuthFlow flow, String authorizationUrl, String tokenUrl, String scopes) { + this(client, OAuthClientRequest.tokenLocation(tokenUrl).setScope(scopes), OAuthClientRequest.authorizationLocation(authorizationUrl).setScope(scopes)); + + switch (flow) { + case accessCode: + tokenRequestBuilder.setGrantType(GrantType.AUTHORIZATION_CODE); + authenticationRequestBuilder.setResponseType(OAuth.CODE); + break; + case implicit: + tokenRequestBuilder.setGrantType(GrantType.IMPLICIT); + authenticationRequestBuilder.setResponseType(OAuth.TOKEN); + break; + case password: + tokenRequestBuilder.setGrantType(GrantType.PASSWORD); + break; + case application: + tokenRequestBuilder.setGrantType(GrantType.CLIENT_CREDENTIALS); + break; + default: + break; + } + } + + /** + * OAuth constructor. + * + * @param flow The OAuth flow + * @param authorizationUrl The auth url + * @param tokenUrl The token URL + * @param scopes The scopes to use + */ + public OAuth(OAuthFlow flow, String authorizationUrl, String tokenUrl, String scopes) { + this(ClientBuilder.newBuilder().build(), flow, authorizationUrl, tokenUrl, scopes); + } + + /** + * applyToParams method. + * + * @param queryParams The query params + * @param headerParams The header params + */ + @Override + public void applyToParams(List queryParams, Map headerParams) { + // If first time, get the token + if (expirationTimeMillis == null || System.currentTimeMillis() >= expirationTimeMillis) { + try { + updateAccessToken(); + } catch (ApiException e) { + accessToken = null; + } + } + if (accessToken != null) { + headerParams.put("Authorization", "Bearer " + accessToken); + } + } + + /** + * updateAccessToken method. + * + */ + public synchronized void updateAccessToken() throws ApiException { + OAuthJSONAccessTokenResponse accessTokenResponse; + try { + accessTokenResponse = oauthClient.accessToken(tokenRequestBuilder.buildBodyMessage()); + } catch (Exception e) { + throw new ApiException(e.getMessage()); + } + if (accessTokenResponse != null) + { + // FIXME: This does not work in case of non HTTP 200 :-( oauthClient needs to return the plain HTTP resonse + if (accessTokenResponse.getResponseCode() != Response.Status.OK.getStatusCode()) + { + throw new ApiException("Error while requesting an access token, received HTTP code: " + accessTokenResponse.getResponseCode()); + } + + if (accessTokenResponse.getAccessToken() == null) { + throw new ApiException("Error while requesting an access token. No 'access_token' found."); + } + if (accessTokenResponse.getExpiresIn() == null) { + throw new ApiException("Error while requesting an access token. No 'expires_in' found."); + } + + setAccessToken(accessTokenResponse.getAccessToken(), accessTokenResponse.getExpiresIn()); + if (this.accessTokenListener != null) { + this.accessTokenListener.notify((BasicOAuthToken)accessTokenResponse.getOAuthToken()); + } + } else { + // in case of HTTP error codes accessTokenResponse is null, thus no check of accessTokenResponse.getResponseCode() possible :-( + throw new ApiException("Error while requesting an access token. No accessTokenResponse object recieved, maybe a non HTTP 200 received?"); + } + } + + /** + * registerAccessTokenListener method. + * + * @param accessTokenListener The access token listener + */ + public synchronized void registerAccessTokenListener(AccessTokenListener accessTokenListener) { + this.accessTokenListener = accessTokenListener; + } + + /** + * getAccessToken method. + * + * @return String + */ + public synchronized String getAccessToken() { + return accessToken; + } + + public synchronized void setAccessToken(String accessToken, Long expiresIn) { + this.accessToken = accessToken; + this.expirationTimeMillis = System.currentTimeMillis() + expiresIn * MILLIS_PER_SECOND; + } + + public TokenRequestBuilder getTokenRequestBuilder() { + return tokenRequestBuilder; + } + + public void setTokenRequestBuilder(TokenRequestBuilder tokenRequestBuilder) { + this.tokenRequestBuilder = tokenRequestBuilder; + } + + public AuthenticationRequestBuilder getAuthenticationRequestBuilder() { + return authenticationRequestBuilder; + } + + public void setAuthenticationRequestBuilder(AuthenticationRequestBuilder authenticationRequestBuilder) { + this.authenticationRequestBuilder = authenticationRequestBuilder; + } + + public OAuthClient getOauthClient() { + return oauthClient; + } + + public void setOauthClient(OAuthClient oauthClient) { + this.oauthClient = oauthClient; + } + + public void setOauthClient(Client client) { + this.oauthClient = new OAuthClient(new URLConnectionClient()); + } + + /** + * + * OAuthToken model with the following properties. + *
accessToken: the token you will use in the Authorization header of calls to the DocuSign API. + *
tokenType: this is the type of the accessToken. It is usually "Bearer". + *
refreshToken: a token you can use to get a new accessToken without requiring user interaction. + *
expiresIn: the number of seconds before the accessToken expires. + * + */ + @JsonIgnoreProperties(ignoreUnknown = true) + public static class OAuthToken { + @JsonProperty("access_token") + private String accessToken = null; + + @JsonProperty("token_type") + private String tokenType = null; + + @JsonProperty("refresh_token") + private String refreshToken = null; + + @JsonProperty("expires_in") + private Long expiresIn = 0L; + + public OAuthToken accessToken(String accessToken) { + this.accessToken = accessToken; + return this; + } + + /** + * Get accessToken. + * + * @return accessToken + **/ + @ApiModelProperty(example = "null", value = "") + public String getAccessToken() { + return accessToken; + } + + public void setAccessToken(String accessToken) { + this.accessToken = accessToken; + } + + public OAuthToken isTokenType(String tokenType) { + this.tokenType = tokenType; + return this; + } + + /** + * Get tokenType. + * + * @return tokenType + **/ + @ApiModelProperty(example = "null", value = "") + public String getTokenType() { + return tokenType; + } + + public void setTokenType(String tokenType) { + this.tokenType = tokenType; + } + + public OAuthToken refreshToken(String refreshToken) { + this.refreshToken = refreshToken; + return this; + } + + /** + * Get refreshToken. + * + * @return refreshToken + **/ + @ApiModelProperty(example = "null", value = "") + public String getRefreshToken() { + return refreshToken; + } + + public void setRefreshToken(String refreshToken) { + this.refreshToken = refreshToken; + } + + public OAuthToken expiresIn(Long expiresIn) { + this.expiresIn = expiresIn; + return this; + } + + /** + * Get expiresIn. + * + * @return expiresIn + **/ + @ApiModelProperty(example = "3600L", value = "0L") + public Long getExpiresIn() { + return expiresIn; + } + + public void setExpiresIn(Long expiresIn) { + this.expiresIn = expiresIn; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + OAuthToken oAuthToken = (OAuthToken) o; + return Objects.equals(this.accessToken, oAuthToken.accessToken) + && Objects.equals(this.tokenType, oAuthToken.tokenType) + && Objects.equals(this.refreshToken, oAuthToken.refreshToken) + && Objects.equals(this.expiresIn, oAuthToken.expiresIn); + } + + @Override + public int hashCode() { + return Objects.hash(accessToken, tokenType, refreshToken, expiresIn); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class OAuthToken {\n"); + + sb.append(" accessToken: ").append(toIndentedString(accessToken)).append("\n"); + sb.append(" tokenType: ").append(toIndentedString(tokenType)).append("\n"); + sb.append(" refreshToken: ").append(toIndentedString(refreshToken)).append("\n"); + sb.append(" expiresIn: ").append(toIndentedString(expiresIn)).append("\n"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 + * spaces (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + } + + /** + * + * Link model with the below properties. + *
rel: currently the only value is "self". + *
href: the direct link of the organization. + * + */ + @JsonIgnoreProperties(ignoreUnknown = true) + public static class Link { + @JsonProperty("rel") + private String rel = null; + + @JsonProperty("href") + private String href = null; + + public Link rel(String rel) { + this.rel = rel; + return this; + } + + /** + * Get rel. + * + * @return rel + **/ + @ApiModelProperty(example = "null", value = "") + public String getRel() { + return rel; + } + + public void setRel(String rel) { + this.rel = rel; + } + + public Link href(String href) { + this.href = href; + return this; + } + + /** + * Get href. + * + * @return href + **/ + @ApiModelProperty(example = "null", value = "") + public String getHref() { + return href; + } + + public void setHref(String href) { + this.href = href; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Link link = (Link) o; + return Objects.equals(this.rel, link.rel) + && Objects.equals(this.href, link.href); + } + + @Override + public int hashCode() { + return Objects.hash(rel, href); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Link {\n"); + + sb.append(" rel: ").append(toIndentedString(rel)).append("\n"); + sb.append(" href: ").append(toIndentedString(href)).append("\n"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 + * spaces (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + } + + /** + * + * Organization model with the below properties. + *
organizationId: the organization ID GUID if DocuSign Org Admin is enabled. + *
links: this is list of organization direct links associated with the DocuSign account. + * + */ + @JsonIgnoreProperties(ignoreUnknown = true) + public static class Organization { + @JsonProperty("organization_id") + private String organizationId = null; + + @JsonProperty("links") + private java.util.List links = new java.util.ArrayList(); + + public Organization organizationId(String organizationId) { + this.organizationId = organizationId; + return this; + } + + /** + * Get organizationId. + * + * @return organizationId + **/ + @ApiModelProperty(example = "null", value = "") + public String getOrganizationId() { + return organizationId; + } + + public void setOrganizationId(String organizationId) { + this.organizationId = organizationId; + } + + public Organization links(java.util.List links) { + this.links = links; + return this; + } + + public Organization addLinksItem(Link linksItem) { + this.links.add(linksItem); + return this; + } + + /** + * Get links. + * + * @return links + **/ + @ApiModelProperty(example = "null", value = "") + public java.util.List getLinks() { + return links; + } + + public void setLinks(java.util.List links) { + this.links = links; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Organization organization = (Organization) o; + return Objects.equals(this.organizationId, organization.organizationId) + && Objects.equals(this.links, organization.links); + } + + @Override + public int hashCode() { + return Objects.hash(organizationId, links); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Organization {\n"); + + sb.append(" organizationId: ").append(toIndentedString(organizationId)).append("\n"); + sb.append(" links: ").append(toIndentedString(links)).append("\n"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 + * spaces (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + } + + /** + * + * Account model with the below properties. + *
accountId: the account ID GUID. + *
isDefault: whether this is the default account, when the user has access to multiple accounts. + *
accountName: the human-readable name of the account. + *
baseUri: the base URI associated with this account. + * It also tells which DocuSign data center the account is hosted on. + *
organization: If DocuSign Org Admin is enabled on this account, + * this property contains the organization information. + * + */ + @JsonIgnoreProperties(ignoreUnknown = true) + public static class Account { + @JsonProperty("account_id") + private String accountId = null; + + @JsonProperty("is_default") + private String isDefault = null; + + @JsonProperty("account_name") + private String accountName = null; + + @JsonProperty("base_uri") + private String baseUri = null; + + @JsonProperty("organization") + private Organization organization = new Organization(); + + public Account accountId(String accountId) { + this.accountId = accountId; + return this; + } + + /** + * Get accountId. + * + * @return accountId + **/ + @ApiModelProperty(example = "null", value = "") + public String getAccountId() { + return accountId; + } + + public void setAccountId(String accountId) { + this.accountId = accountId; + } + + public Account isDefault(String isDefault) { + this.isDefault = isDefault; + return this; + } + + /** + * Get isDefault. + * + * @return isDefault + **/ + @ApiModelProperty(example = "null", value = "") + public String getIsDefault() { + return isDefault; + } + + public void setIsDefault(String isDefault) { + this.isDefault = isDefault; + } + + public Account accountName(String accountName) { + this.accountName = accountName; + return this; + } + + /** + * Get accountName. + * + * @return accountName + **/ + @ApiModelProperty(example = "null", value = "") + public String getAccountName() { + return accountName; + } + + public void setAccountName(String accountName) { + this.accountName = accountName; + } + + public Account baseUri(String baseUri) { + this.baseUri = baseUri; + return this; + } + + /** + * Get baseUri. + * + * @return baseUri + **/ + @ApiModelProperty(example = "null", value = "") + public String getBaseUri() { + return baseUri; + } + + public void setBaseUri(String baseUri) { + this.baseUri = baseUri; + } + + public Account organization(Organization organization) { + this.organization = organization; + return this; + } + + /** + * Get organization. + * + * @return organization + **/ + @ApiModelProperty(example = "null", value = "") + public Organization getOrganization() { + return organization; + } + + public void setOrganization(Organization organization) { + this.organization = organization; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Account account = (Account) o; + return Objects.equals(this.accountId, account.accountId) + && Objects.equals(this.isDefault, account.isDefault) + && Objects.equals(this.accountName, account.accountName) + && Objects.equals(this.baseUri, account.baseUri) + && Objects.equals(this.organization, account.organization); + } + + @Override + public int hashCode() { + return Objects.hash(accountId, isDefault, accountName, baseUri, organization); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Account {\n"); + + sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n"); + sb.append(" isDefault: ").append(toIndentedString(isDefault)).append("\n"); + sb.append(" accountName: ").append(toIndentedString(accountName)).append("\n"); + sb.append(" baseUri: ").append(toIndentedString(baseUri)).append("\n"); + sb.append(" organization: ").append(toIndentedString(organization)).append("\n"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 + * spaces (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + } + + /** + * + * UserInfo model with the below properties. + *
sub: the user ID GUID. + *
accounts: this is list of DocuSign accounts associated with the current user. + *
name: the user's full name. + *
givenName: the user's given name. + *
familyName: the user's family name. + *
email: the user's email address. + *
created: the UTC DateTime when the user login was created. + * + * @see Account + * + */ + @JsonIgnoreProperties(ignoreUnknown = true) + public static class UserInfo { + + @JsonProperty("sub") + private String sub = null; + + @JsonProperty("email") + private String email = null; + + @JsonProperty("accounts") + private java.util.List accounts = new java.util.ArrayList(); + + @JsonProperty("name") + private String name = null; + + @JsonProperty("given_name") + private String givenName = null; + + @JsonProperty("family_name") + private String familyName = null; + + @JsonProperty("created") + private String created = null; + + public UserInfo sub(String sub) { + this.sub = sub; + return this; + } + + /** + * Get sub. + * + * @return sub + **/ + @ApiModelProperty(example = "null", value = "") + public String getSub() { + return sub; + } + + public void setSub(String sub) { + this.sub = sub; + } + + public UserInfo email(String email) { + this.email = email; + return this; + } + + /** + * Get email. + * + * @return email + **/ + @ApiModelProperty(example = "null", value = "") + public String getEmail() { + return email; + } + + public void setEmail(String email) { + this.email = email; + } + + public UserInfo accounts(java.util.List accounts) { + this.accounts = accounts; + return this; + } + + public UserInfo addAccountsItem(Account accountsItem) { + this.accounts.add(accountsItem); + return this; + } + + /** + * Get accounts. + * + * @return accounts + **/ + @ApiModelProperty(example = "null", value = "") + public java.util.List getAccounts() { + return accounts; + } + + public void setAccounts(java.util.List accounts) { + this.accounts = accounts; + } + + public UserInfo name(String name) { + this.name = name; + return this; + } + + /** + * Get name. + * + * @return name + **/ + @ApiModelProperty(example = "null", value = "") + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public UserInfo givenName(String givenName) { + this.givenName = givenName; + return this; + } + + /** + * Get givenName. + * + * @return givenName + **/ + @ApiModelProperty(example = "null", value = "") + public String getGivenName() { + return givenName; + } + + public void setGivenName(String givenName) { + this.givenName = givenName; + } + + public UserInfo familyName(String familyName) { + this.familyName = familyName; + return this; + } + + /** + * Get familyName. + * + * @return familyName + **/ + @ApiModelProperty(example = "null", value = "") + public String getFamilyName() { + return familyName; + } + + public void setFamilyName(String familyName) { + this.familyName = familyName; + } + + public UserInfo created(String created) { + this.created = created; + return this; + } + + /** + * Get created. + * + * @return created + **/ + @ApiModelProperty(example = "null", value = "") + public String getCreated() { + return created; + } + + public void setCreated(String created) { + this.created = created; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UserInfo userInfo = (UserInfo) o; + return Objects.equals(this.sub, userInfo.sub) && Objects.equals(this.email, userInfo.email) + && Objects.equals(this.accounts, userInfo.accounts) && Objects.equals(this.name, userInfo.name) + && Objects.equals(this.givenName, userInfo.givenName) && Objects.equals(this.familyName, userInfo.familyName) + && Objects.equals(this.created, userInfo.created); + } + + @Override + public int hashCode() { + return Objects.hash(sub, email, accounts, name, givenName, familyName, created); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UserInfo {\n"); + + sb.append(" sub: ").append(toIndentedString(sub)).append("\n"); + sb.append(" email: ").append(toIndentedString(email)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" givenName: ").append(toIndentedString(givenName)).append("\n"); + sb.append(" familyName: ").append(toIndentedString(familyName)).append("\n"); + sb.append(" created: ").append(toIndentedString(created)).append("\n"); + sb.append(" accounts: ").append(toIndentedString(accounts)).append("\n"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + } } diff --git a/src/main/java/com/docusign/esign/client/auth/OAuthFlow.java b/src/main/java/com/docusign/esign/client/auth/OAuthFlow.java index fd76dd0f..007c2765 100644 --- a/src/main/java/com/docusign/esign/client/auth/OAuthFlow.java +++ b/src/main/java/com/docusign/esign/client/auth/OAuthFlow.java @@ -1,5 +1,12 @@ + + package com.docusign.esign.client.auth; + /** + * enum. + * + */ + public enum OAuthFlow { accessCode, implicit, password, application } diff --git a/src/main/java/com/docusign/esign/client/auth/OAuthJerseyClient.java b/src/main/java/com/docusign/esign/client/auth/OAuthJerseyClient.java deleted file mode 100644 index d988f4a8..00000000 --- a/src/main/java/com/docusign/esign/client/auth/OAuthJerseyClient.java +++ /dev/null @@ -1,131 +0,0 @@ -package com.docusign.esign.client.auth; - -import com.migcomponents.migbase64.Base64; -import java.util.Map; - -import javax.ws.rs.core.Response.Status.Family; -import org.apache.oltu.oauth2.client.HttpClient; -import org.apache.oltu.oauth2.client.response.OAuthClientResponse; -import org.apache.oltu.oauth2.client.request.OAuthClientRequest; -import org.apache.oltu.oauth2.client.response.OAuthClientResponseFactory; -import org.apache.oltu.oauth2.client.request.OAuthClientRequest.AuthenticationRequestBuilder; -import org.apache.oltu.oauth2.client.request.OAuthClientRequest.TokenRequestBuilder; -import org.apache.oltu.oauth2.common.exception.OAuthProblemException; -import org.apache.oltu.oauth2.common.exception.OAuthSystemException; -import org.apache.oltu.oauth2.common.message.types.GrantType; -import com.sun.jersey.api.client.WebResource.Builder; -import com.sun.jersey.api.client.Client; -import com.sun.jersey.api.client.ClientResponse; - -public class OAuthJerseyClient implements HttpClient { - - private Client client; - - public OAuthJerseyClient() { - this.client = new Client(null, null); - } - - public OAuthJerseyClient(Client client) { - this.client = client; - } - - public T execute(OAuthClientRequest request, Map headers, - String requestMethod, Class responseClass) throws OAuthSystemException, OAuthProblemException { - String contentType = headers.get("Content-Type"); - String url = request.getLocationUri(); - String body = request.getBody(); - Builder builder = this.client.resource(url).getRequestBuilder(); - - for (String key : headers.keySet()) { - builder = builder.header(key, headers.get(key)); - } - - String grantType = null, code = null, clientId = null, clientSecret = null, refreshToken = null; - for (String entry : body.split("&")) { - String key = entry.split("=")[0]; - String value = entry.split("=")[1]; - if ("grant_type".equals(key)) { - grantType = value; - } else if ("code".equals(key)) { - code = value; - } else if ("client_id".equals(key)) { - clientId = value; - } else if ("client_secret".equals(key)) { - clientSecret = value; - } else if ("refresh_token".equals(key)) { - refreshToken = value; - } - } - - if (grantType == null) { - throw new OAuthSystemException("Missing grant_type"); - } - if (!grantType.equals(GrantType.REFRESH_TOKEN.toString()) && code == null) { - throw new OAuthSystemException("Missing code for grant_type="+grantType); - } - if (grantType.equals(GrantType.REFRESH_TOKEN.toString()) && refreshToken == null) { - throw new OAuthSystemException("Missing refresh_token for grant_type="+grantType); - } - - body = "grant_type=" + grantType; - if (code != null) { - body = body + "&code=" + code; - } - if (refreshToken != null) { - body = body + "&refresh_token=" + refreshToken; - } - - if (clientId == null || clientSecret == null) { - throw new OAuthSystemException("Missing clientId/secret"); - } else { - byte[] bytes = (clientId + ":" + clientSecret).getBytes(); - builder.header("Authorization", "Basic " + Base64.encodeToString(bytes, false)); - } - - ClientResponse response = null; - - if ("GET".equals(requestMethod)) { - response = (ClientResponse) builder.get(ClientResponse.class); - } else if ("POST".equals(requestMethod)) { - response = builder.type(contentType).post(ClientResponse.class, body); - } else if ("PUT".equals(requestMethod)) { - response = builder.type(contentType).put(ClientResponse.class, body); - } else if ("DELETE".equals(requestMethod)) { - response = builder.type(contentType).delete(ClientResponse.class, body); - } - - if(response.getStatusInfo() == ClientResponse.Status.NO_CONTENT) { - return null; - } else if (response.getStatusInfo().getFamily() == Family.SUCCESSFUL) { - if (responseClass == null) - return null; - else { - String respBody = response.getEntity(String.class); - return OAuthClientResponseFactory.createCustomResponse( - respBody, - contentType, - response.getStatus(), - response.getHeaders(), - responseClass - ); - } - } else { - String message = "error"; - String respBody = null; - if (response.hasEntity()) { - try { - respBody = response.getEntity(String.class); - message = respBody; - System.err.println(message); - } catch (RuntimeException e) { - e.printStackTrace(); - } - } - } - return null; - } - - public void shutdown() { - // Nothing to do here - } -} diff --git a/src/main/java/com/docusign/esign/model/AccessCodeFormat.java b/src/main/java/com/docusign/esign/model/AccessCodeFormat.java new file mode 100644 index 00000000..62962f86 --- /dev/null +++ b/src/main/java/com/docusign/esign/model/AccessCodeFormat.java @@ -0,0 +1,284 @@ +package com.docusign.esign.model; + +import java.util.Objects; +import com.docusign.esign.model.SettingsMetadata; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +/** + * AccessCodeFormat + */ + +public class AccessCodeFormat { + @JsonProperty("formatRequired") + private String formatRequired = null; + + @JsonProperty("formatRequiredMetadata") + private SettingsMetadata formatRequiredMetadata = null; + + @JsonProperty("letterRequired") + private String letterRequired = null; + + @JsonProperty("letterRequiredMetadata") + private SettingsMetadata letterRequiredMetadata = null; + + @JsonProperty("minimumLength") + private String minimumLength = null; + + @JsonProperty("minimumLengthMetadata") + private SettingsMetadata minimumLengthMetadata = null; + + @JsonProperty("numberRequired") + private String numberRequired = null; + + @JsonProperty("numberRequiredMetadata") + private SettingsMetadata numberRequiredMetadata = null; + + @JsonProperty("specialCharacterRequired") + private String specialCharacterRequired = null; + + @JsonProperty("specialCharacterRequiredMetadata") + private SettingsMetadata specialCharacterRequiredMetadata = null; + + public AccessCodeFormat formatRequired(String formatRequired) { + this.formatRequired = formatRequired; + return this; + } + + /** + * + * @return formatRequired + **/ + @ApiModelProperty(example = "null", value = "") + public String getFormatRequired() { + return formatRequired; + } + + public void setFormatRequired(String formatRequired) { + this.formatRequired = formatRequired; + } + + public AccessCodeFormat formatRequiredMetadata(SettingsMetadata formatRequiredMetadata) { + this.formatRequiredMetadata = formatRequiredMetadata; + return this; + } + + /** + * Get formatRequiredMetadata + * @return formatRequiredMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public SettingsMetadata getFormatRequiredMetadata() { + return formatRequiredMetadata; + } + + public void setFormatRequiredMetadata(SettingsMetadata formatRequiredMetadata) { + this.formatRequiredMetadata = formatRequiredMetadata; + } + + public AccessCodeFormat letterRequired(String letterRequired) { + this.letterRequired = letterRequired; + return this; + } + + /** + * + * @return letterRequired + **/ + @ApiModelProperty(example = "null", value = "") + public String getLetterRequired() { + return letterRequired; + } + + public void setLetterRequired(String letterRequired) { + this.letterRequired = letterRequired; + } + + public AccessCodeFormat letterRequiredMetadata(SettingsMetadata letterRequiredMetadata) { + this.letterRequiredMetadata = letterRequiredMetadata; + return this; + } + + /** + * Get letterRequiredMetadata + * @return letterRequiredMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public SettingsMetadata getLetterRequiredMetadata() { + return letterRequiredMetadata; + } + + public void setLetterRequiredMetadata(SettingsMetadata letterRequiredMetadata) { + this.letterRequiredMetadata = letterRequiredMetadata; + } + + public AccessCodeFormat minimumLength(String minimumLength) { + this.minimumLength = minimumLength; + return this; + } + + /** + * + * @return minimumLength + **/ + @ApiModelProperty(example = "null", value = "") + public String getMinimumLength() { + return minimumLength; + } + + public void setMinimumLength(String minimumLength) { + this.minimumLength = minimumLength; + } + + public AccessCodeFormat minimumLengthMetadata(SettingsMetadata minimumLengthMetadata) { + this.minimumLengthMetadata = minimumLengthMetadata; + return this; + } + + /** + * Get minimumLengthMetadata + * @return minimumLengthMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public SettingsMetadata getMinimumLengthMetadata() { + return minimumLengthMetadata; + } + + public void setMinimumLengthMetadata(SettingsMetadata minimumLengthMetadata) { + this.minimumLengthMetadata = minimumLengthMetadata; + } + + public AccessCodeFormat numberRequired(String numberRequired) { + this.numberRequired = numberRequired; + return this; + } + + /** + * + * @return numberRequired + **/ + @ApiModelProperty(example = "null", value = "") + public String getNumberRequired() { + return numberRequired; + } + + public void setNumberRequired(String numberRequired) { + this.numberRequired = numberRequired; + } + + public AccessCodeFormat numberRequiredMetadata(SettingsMetadata numberRequiredMetadata) { + this.numberRequiredMetadata = numberRequiredMetadata; + return this; + } + + /** + * Get numberRequiredMetadata + * @return numberRequiredMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public SettingsMetadata getNumberRequiredMetadata() { + return numberRequiredMetadata; + } + + public void setNumberRequiredMetadata(SettingsMetadata numberRequiredMetadata) { + this.numberRequiredMetadata = numberRequiredMetadata; + } + + public AccessCodeFormat specialCharacterRequired(String specialCharacterRequired) { + this.specialCharacterRequired = specialCharacterRequired; + return this; + } + + /** + * + * @return specialCharacterRequired + **/ + @ApiModelProperty(example = "null", value = "") + public String getSpecialCharacterRequired() { + return specialCharacterRequired; + } + + public void setSpecialCharacterRequired(String specialCharacterRequired) { + this.specialCharacterRequired = specialCharacterRequired; + } + + public AccessCodeFormat specialCharacterRequiredMetadata(SettingsMetadata specialCharacterRequiredMetadata) { + this.specialCharacterRequiredMetadata = specialCharacterRequiredMetadata; + return this; + } + + /** + * Get specialCharacterRequiredMetadata + * @return specialCharacterRequiredMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public SettingsMetadata getSpecialCharacterRequiredMetadata() { + return specialCharacterRequiredMetadata; + } + + public void setSpecialCharacterRequiredMetadata(SettingsMetadata specialCharacterRequiredMetadata) { + this.specialCharacterRequiredMetadata = specialCharacterRequiredMetadata; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AccessCodeFormat accessCodeFormat = (AccessCodeFormat) o; + return Objects.equals(this.formatRequired, accessCodeFormat.formatRequired) && + Objects.equals(this.formatRequiredMetadata, accessCodeFormat.formatRequiredMetadata) && + Objects.equals(this.letterRequired, accessCodeFormat.letterRequired) && + Objects.equals(this.letterRequiredMetadata, accessCodeFormat.letterRequiredMetadata) && + Objects.equals(this.minimumLength, accessCodeFormat.minimumLength) && + Objects.equals(this.minimumLengthMetadata, accessCodeFormat.minimumLengthMetadata) && + Objects.equals(this.numberRequired, accessCodeFormat.numberRequired) && + Objects.equals(this.numberRequiredMetadata, accessCodeFormat.numberRequiredMetadata) && + Objects.equals(this.specialCharacterRequired, accessCodeFormat.specialCharacterRequired) && + Objects.equals(this.specialCharacterRequiredMetadata, accessCodeFormat.specialCharacterRequiredMetadata); + } + + @Override + public int hashCode() { + return Objects.hash(formatRequired, formatRequiredMetadata, letterRequired, letterRequiredMetadata, minimumLength, minimumLengthMetadata, numberRequired, numberRequiredMetadata, specialCharacterRequired, specialCharacterRequiredMetadata); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AccessCodeFormat {\n"); + + sb.append(" formatRequired: ").append(toIndentedString(formatRequired)).append("\n"); + sb.append(" formatRequiredMetadata: ").append(toIndentedString(formatRequiredMetadata)).append("\n"); + sb.append(" letterRequired: ").append(toIndentedString(letterRequired)).append("\n"); + sb.append(" letterRequiredMetadata: ").append(toIndentedString(letterRequiredMetadata)).append("\n"); + sb.append(" minimumLength: ").append(toIndentedString(minimumLength)).append("\n"); + sb.append(" minimumLengthMetadata: ").append(toIndentedString(minimumLengthMetadata)).append("\n"); + sb.append(" numberRequired: ").append(toIndentedString(numberRequired)).append("\n"); + sb.append(" numberRequiredMetadata: ").append(toIndentedString(numberRequiredMetadata)).append("\n"); + sb.append(" specialCharacterRequired: ").append(toIndentedString(specialCharacterRequired)).append("\n"); + sb.append(" specialCharacterRequiredMetadata: ").append(toIndentedString(specialCharacterRequiredMetadata)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/com/docusign/esign/model/AccountAddress.java b/src/main/java/com/docusign/esign/model/AccountAddress.java index 5596e0ed..2ad33e2a 100644 --- a/src/main/java/com/docusign/esign/model/AccountAddress.java +++ b/src/main/java/com/docusign/esign/model/AccountAddress.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.Country; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Contains information about an account address. + * Contains information about an account address.. + * */ @ApiModel(description = "Contains information about an account address.") @@ -47,230 +50,351 @@ public class AccountAddress { private String state = null; @JsonProperty("supportedCountries") - private java.util.List supportedCountries = new java.util.ArrayList(); + private java.util.List supportedCountries = null; + + /** + * address1. + * + * @return AccountAddress + **/ public AccountAddress address1(String address1) { this.address1 = address1; return this; } - /** - * First Line of the address. Maximum length: 100 characters. + /** + * First Line of the address. Maximum length: 100 characters.. * @return address1 - **/ - @ApiModelProperty(example = "null", value = "First Line of the address. Maximum length: 100 characters.") + **/ + @ApiModelProperty(value = "First Line of the address. Maximum length: 100 characters.") public String getAddress1() { return address1; } + /** + * setAddress1. + **/ public void setAddress1(String address1) { this.address1 = address1; } + + /** + * address2. + * + * @return AccountAddress + **/ public AccountAddress address2(String address2) { this.address2 = address2; return this; } - /** - * Second Line of the address. Maximum length: 100 characters. + /** + * Second Line of the address. Maximum length: 100 characters.. * @return address2 - **/ - @ApiModelProperty(example = "null", value = "Second Line of the address. Maximum length: 100 characters.") + **/ + @ApiModelProperty(value = "Second Line of the address. Maximum length: 100 characters.") public String getAddress2() { return address2; } + /** + * setAddress2. + **/ public void setAddress2(String address2) { this.address2 = address2; } + + /** + * city. + * + * @return AccountAddress + **/ public AccountAddress city(String city) { this.city = city; return this; } - /** - * The city value of the address. + /** + * The city value of the address.. * @return city - **/ - @ApiModelProperty(example = "null", value = "The city value of the address.") + **/ + @ApiModelProperty(value = "The city value of the address.") public String getCity() { return city; } + /** + * setCity. + **/ public void setCity(String city) { this.city = city; } + + /** + * country. + * + * @return AccountAddress + **/ public AccountAddress country(String country) { this.country = country; return this; } - /** - * Specifies the country associated with the address. + /** + * Specifies the country associated with the address.. * @return country - **/ - @ApiModelProperty(example = "null", value = "Specifies the country associated with the address.") + **/ + @ApiModelProperty(value = "Specifies the country associated with the address.") public String getCountry() { return country; } + /** + * setCountry. + **/ public void setCountry(String country) { this.country = country; } + + /** + * email. + * + * @return AccountAddress + **/ public AccountAddress email(String email) { this.email = email; return this; } - /** - * + /** + * . * @return email - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getEmail() { return email; } + /** + * setEmail. + **/ public void setEmail(String email) { this.email = email; } + + /** + * fax. + * + * @return AccountAddress + **/ public AccountAddress fax(String fax) { this.fax = fax; return this; } - /** - * + /** + * . * @return fax - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getFax() { return fax; } + /** + * setFax. + **/ public void setFax(String fax) { this.fax = fax; } + + /** + * firstName. + * + * @return AccountAddress + **/ public AccountAddress firstName(String firstName) { this.firstName = firstName; return this; } - /** - * The user's first name. Maximum Length: 50 characters. + /** + * The user's first name. Maximum Length: 50 characters.. * @return firstName - **/ - @ApiModelProperty(example = "null", value = "The user's first name. Maximum Length: 50 characters.") + **/ + @ApiModelProperty(value = "The user's first name. Maximum Length: 50 characters.") public String getFirstName() { return firstName; } + /** + * setFirstName. + **/ public void setFirstName(String firstName) { this.firstName = firstName; } + + /** + * lastName. + * + * @return AccountAddress + **/ public AccountAddress lastName(String lastName) { this.lastName = lastName; return this; } - /** - * + /** + * . * @return lastName - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getLastName() { return lastName; } + /** + * setLastName. + **/ public void setLastName(String lastName) { this.lastName = lastName; } + + /** + * phone. + * + * @return AccountAddress + **/ public AccountAddress phone(String phone) { this.phone = phone; return this; } - /** - * + /** + * . * @return phone - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPhone() { return phone; } + /** + * setPhone. + **/ public void setPhone(String phone) { this.phone = phone; } + + /** + * postalCode. + * + * @return AccountAddress + **/ public AccountAddress postalCode(String postalCode) { this.postalCode = postalCode; return this; } - /** - * + /** + * . * @return postalCode - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPostalCode() { return postalCode; } + /** + * setPostalCode. + **/ public void setPostalCode(String postalCode) { this.postalCode = postalCode; } + + /** + * state. + * + * @return AccountAddress + **/ public AccountAddress state(String state) { this.state = state; return this; } - /** - * The state or province associated with the address. + /** + * The state or province associated with the address.. * @return state - **/ - @ApiModelProperty(example = "null", value = "The state or province associated with the address.") + **/ + @ApiModelProperty(value = "The state or province associated with the address.") public String getState() { return state; } + /** + * setState. + **/ public void setState(String state) { this.state = state; } + + /** + * supportedCountries. + * + * @return AccountAddress + **/ public AccountAddress supportedCountries(java.util.List supportedCountries) { this.supportedCountries = supportedCountries; return this; } - + + /** + * addSupportedCountriesItem. + * + * @return AccountAddress + **/ public AccountAddress addSupportedCountriesItem(Country supportedCountriesItem) { + if (this.supportedCountries == null) { + this.supportedCountries = new java.util.ArrayList(); + } this.supportedCountries.add(supportedCountriesItem); return this; } - /** - * Contains an array of countries supported by the billing plan. + /** + * Contains an array of countries supported by the billing plan.. * @return supportedCountries - **/ - @ApiModelProperty(example = "null", value = "Contains an array of countries supported by the billing plan.") + **/ + @ApiModelProperty(value = "Contains an array of countries supported by the billing plan.") public java.util.List getSupportedCountries() { return supportedCountries; } + /** + * setSupportedCountries. + **/ public void setSupportedCountries(java.util.List supportedCountries) { this.supportedCountries = supportedCountries; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -294,12 +418,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.supportedCountries, accountAddress.supportedCountries); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(address1, address2, city, country, email, fax, firstName, lastName, phone, postalCode, state, supportedCountries); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -331,6 +461,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/AccountBillingPlan.java b/src/main/java/com/docusign/esign/model/AccountBillingPlan.java index 005ff77c..237fc5a1 100644 --- a/src/main/java/com/docusign/esign/model/AccountBillingPlan.java +++ b/src/main/java/com/docusign/esign/model/AccountBillingPlan.java @@ -1,22 +1,31 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.AddOn; import com.docusign.esign.model.FeatureSet; import com.docusign.esign.model.SeatDiscount; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Contains information about an account billing plan. + * Contains information about an account billing plan.. + * */ @ApiModel(description = "Contains information about an account billing plan.") public class AccountBillingPlan { @JsonProperty("addOns") - private java.util.List addOns = new java.util.ArrayList(); + private java.util.List addOns = null; + + @JsonProperty("appStoreReceiptExpirationDate") + private String appStoreReceiptExpirationDate = null; + + @JsonProperty("appStoreReceiptPurchaseDate") + private String appStoreReceiptPurchaseDate = null; @JsonProperty("canCancelRenewal") private String canCancelRenewal = null; @@ -39,6 +48,9 @@ public class AccountBillingPlan { @JsonProperty("isDowngrade") private String isDowngrade = null; + @JsonProperty("notificationType") + private String notificationType = null; + @JsonProperty("otherDiscountPercent") private String otherDiscountPercent = null; @@ -55,7 +67,7 @@ public class AccountBillingPlan { private String planClassification = null; @JsonProperty("planFeatureSets") - private java.util.List planFeatureSets = new java.util.ArrayList(); + private java.util.List planFeatureSets = null; @JsonProperty("planId") private String planId = null; @@ -63,11 +75,17 @@ public class AccountBillingPlan { @JsonProperty("planName") private String planName = null; + @JsonProperty("planStartDate") + private String planStartDate = null; + + @JsonProperty("renewalDate") + private String renewalDate = null; + @JsonProperty("renewalStatus") private String renewalStatus = null; @JsonProperty("seatDiscounts") - private java.util.List seatDiscounts = new java.util.ArrayList(); + private java.util.List seatDiscounts = null; @JsonProperty("supportIncidentFee") private String supportIncidentFee = null; @@ -75,382 +93,726 @@ public class AccountBillingPlan { @JsonProperty("supportPlanFee") private String supportPlanFee = null; + + /** + * addOns. + * + * @return AccountBillingPlan + **/ public AccountBillingPlan addOns(java.util.List addOns) { this.addOns = addOns; return this; } - + + /** + * addAddOnsItem. + * + * @return AccountBillingPlan + **/ public AccountBillingPlan addAddOnsItem(AddOn addOnsItem) { + if (this.addOns == null) { + this.addOns = new java.util.ArrayList(); + } this.addOns.add(addOnsItem); return this; } - /** - * Reserved: + /** + * Reserved:. * @return addOns - **/ - @ApiModelProperty(example = "null", value = "Reserved:") + **/ + @ApiModelProperty(value = "Reserved:") public java.util.List getAddOns() { return addOns; } + /** + * setAddOns. + **/ public void setAddOns(java.util.List addOns) { this.addOns = addOns; } + + /** + * appStoreReceiptExpirationDate. + * + * @return AccountBillingPlan + **/ + public AccountBillingPlan appStoreReceiptExpirationDate(String appStoreReceiptExpirationDate) { + this.appStoreReceiptExpirationDate = appStoreReceiptExpirationDate; + return this; + } + + /** + * . + * @return appStoreReceiptExpirationDate + **/ + @ApiModelProperty(value = "") + public String getAppStoreReceiptExpirationDate() { + return appStoreReceiptExpirationDate; + } + + /** + * setAppStoreReceiptExpirationDate. + **/ + public void setAppStoreReceiptExpirationDate(String appStoreReceiptExpirationDate) { + this.appStoreReceiptExpirationDate = appStoreReceiptExpirationDate; + } + + + /** + * appStoreReceiptPurchaseDate. + * + * @return AccountBillingPlan + **/ + public AccountBillingPlan appStoreReceiptPurchaseDate(String appStoreReceiptPurchaseDate) { + this.appStoreReceiptPurchaseDate = appStoreReceiptPurchaseDate; + return this; + } + + /** + * . + * @return appStoreReceiptPurchaseDate + **/ + @ApiModelProperty(value = "") + public String getAppStoreReceiptPurchaseDate() { + return appStoreReceiptPurchaseDate; + } + + /** + * setAppStoreReceiptPurchaseDate. + **/ + public void setAppStoreReceiptPurchaseDate(String appStoreReceiptPurchaseDate) { + this.appStoreReceiptPurchaseDate = appStoreReceiptPurchaseDate; + } + + + /** + * canCancelRenewal. + * + * @return AccountBillingPlan + **/ public AccountBillingPlan canCancelRenewal(String canCancelRenewal) { this.canCancelRenewal = canCancelRenewal; return this; } - /** - * Reserved: TBD + /** + * Reserved: TBD. * @return canCancelRenewal - **/ - @ApiModelProperty(example = "null", value = "Reserved: TBD") + **/ + @ApiModelProperty(value = "Reserved: TBD") public String getCanCancelRenewal() { return canCancelRenewal; } + /** + * setCanCancelRenewal. + **/ public void setCanCancelRenewal(String canCancelRenewal) { this.canCancelRenewal = canCancelRenewal; } + + /** + * canUpgrade. + * + * @return AccountBillingPlan + **/ public AccountBillingPlan canUpgrade(String canUpgrade) { this.canUpgrade = canUpgrade; return this; } - /** - * When set to **true**, specifies that you can upgrade the account through the API. + /** + * When set to **true**, specifies that you can upgrade the account through the API.. * @return canUpgrade - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, specifies that you can upgrade the account through the API.") + **/ + @ApiModelProperty(value = "When set to **true**, specifies that you can upgrade the account through the API.") public String getCanUpgrade() { return canUpgrade; } + /** + * setCanUpgrade. + **/ public void setCanUpgrade(String canUpgrade) { this.canUpgrade = canUpgrade; } + + /** + * currencyCode. + * + * @return AccountBillingPlan + **/ public AccountBillingPlan currencyCode(String currencyCode) { this.currencyCode = currencyCode; return this; } - /** - * Specifies the ISO currency code for the account. + /** + * Specifies the ISO currency code for the account.. * @return currencyCode - **/ - @ApiModelProperty(example = "null", value = "Specifies the ISO currency code for the account.") + **/ + @ApiModelProperty(value = "Specifies the ISO currency code for the account.") public String getCurrencyCode() { return currencyCode; } + /** + * setCurrencyCode. + **/ public void setCurrencyCode(String currencyCode) { this.currencyCode = currencyCode; } + + /** + * enableSupport. + * + * @return AccountBillingPlan + **/ public AccountBillingPlan enableSupport(String enableSupport) { this.enableSupport = enableSupport; return this; } - /** - * When set to **true**, then customer support is provided as part of the account plan. + /** + * When set to **true**, then customer support is provided as part of the account plan.. * @return enableSupport - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, then customer support is provided as part of the account plan.") + **/ + @ApiModelProperty(value = "When set to **true**, then customer support is provided as part of the account plan.") public String getEnableSupport() { return enableSupport; } + /** + * setEnableSupport. + **/ public void setEnableSupport(String enableSupport) { this.enableSupport = enableSupport; } + + /** + * includedSeats. + * + * @return AccountBillingPlan + **/ public AccountBillingPlan includedSeats(String includedSeats) { this.includedSeats = includedSeats; return this; } - /** - * The number of seats (users) included. + /** + * The number of seats (users) included.. * @return includedSeats - **/ - @ApiModelProperty(example = "null", value = "The number of seats (users) included.") + **/ + @ApiModelProperty(value = "The number of seats (users) included.") public String getIncludedSeats() { return includedSeats; } + /** + * setIncludedSeats. + **/ public void setIncludedSeats(String includedSeats) { this.includedSeats = includedSeats; } + + /** + * incrementalSeats. + * + * @return AccountBillingPlan + **/ public AccountBillingPlan incrementalSeats(String incrementalSeats) { this.incrementalSeats = incrementalSeats; return this; } - /** - * Reserved: TBD + /** + * Reserved: TBD. * @return incrementalSeats - **/ - @ApiModelProperty(example = "null", value = "Reserved: TBD") + **/ + @ApiModelProperty(value = "Reserved: TBD") public String getIncrementalSeats() { return incrementalSeats; } + /** + * setIncrementalSeats. + **/ public void setIncrementalSeats(String incrementalSeats) { this.incrementalSeats = incrementalSeats; } + + /** + * isDowngrade. + * + * @return AccountBillingPlan + **/ public AccountBillingPlan isDowngrade(String isDowngrade) { this.isDowngrade = isDowngrade; return this; } - /** - * + /** + * . * @return isDowngrade - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getIsDowngrade() { return isDowngrade; } + /** + * setIsDowngrade. + **/ public void setIsDowngrade(String isDowngrade) { this.isDowngrade = isDowngrade; } + + /** + * notificationType. + * + * @return AccountBillingPlan + **/ + public AccountBillingPlan notificationType(String notificationType) { + this.notificationType = notificationType; + return this; + } + + /** + * . + * @return notificationType + **/ + @ApiModelProperty(value = "") + public String getNotificationType() { + return notificationType; + } + + /** + * setNotificationType. + **/ + public void setNotificationType(String notificationType) { + this.notificationType = notificationType; + } + + + /** + * otherDiscountPercent. + * + * @return AccountBillingPlan + **/ public AccountBillingPlan otherDiscountPercent(String otherDiscountPercent) { this.otherDiscountPercent = otherDiscountPercent; return this; } - /** - * Any other percentage discount for the plan. + /** + * Any other percentage discount for the plan. . * @return otherDiscountPercent - **/ - @ApiModelProperty(example = "null", value = " Any other percentage discount for the plan. ") + **/ + @ApiModelProperty(value = " Any other percentage discount for the plan. ") public String getOtherDiscountPercent() { return otherDiscountPercent; } + /** + * setOtherDiscountPercent. + **/ public void setOtherDiscountPercent(String otherDiscountPercent) { this.otherDiscountPercent = otherDiscountPercent; } + + /** + * paymentCycle. + * + * @return AccountBillingPlan + **/ public AccountBillingPlan paymentCycle(String paymentCycle) { this.paymentCycle = paymentCycle; return this; } - /** - * + /** + * . * @return paymentCycle - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPaymentCycle() { return paymentCycle; } + /** + * setPaymentCycle. + **/ public void setPaymentCycle(String paymentCycle) { this.paymentCycle = paymentCycle; } + + /** + * paymentMethod. + * + * @return AccountBillingPlan + **/ public AccountBillingPlan paymentMethod(String paymentMethod) { this.paymentMethod = paymentMethod; return this; } - /** - * The payment method used with the plan. The possible values are: CreditCard, PurchaseOrder, Premium, or Freemium. + /** + * The payment method used with the plan. The possible values are: CreditCard, PurchaseOrder, Premium, or Freemium. . * @return paymentMethod - **/ - @ApiModelProperty(example = "null", value = " The payment method used with the plan. The possible values are: CreditCard, PurchaseOrder, Premium, or Freemium. ") + **/ + @ApiModelProperty(value = " The payment method used with the plan. The possible values are: CreditCard, PurchaseOrder, Premium, or Freemium. ") public String getPaymentMethod() { return paymentMethod; } + /** + * setPaymentMethod. + **/ public void setPaymentMethod(String paymentMethod) { this.paymentMethod = paymentMethod; } + + /** + * perSeatPrice. + * + * @return AccountBillingPlan + **/ public AccountBillingPlan perSeatPrice(String perSeatPrice) { this.perSeatPrice = perSeatPrice; return this; } - /** - * + /** + * . * @return perSeatPrice - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPerSeatPrice() { return perSeatPrice; } + /** + * setPerSeatPrice. + **/ public void setPerSeatPrice(String perSeatPrice) { this.perSeatPrice = perSeatPrice; } + + /** + * planClassification. + * + * @return AccountBillingPlan + **/ public AccountBillingPlan planClassification(String planClassification) { this.planClassification = planClassification; return this; } - /** - * Identifies the type of plan. Examples include Business, Corporate, Enterprise, Free. + /** + * Identifies the type of plan. Examples include Business, Corporate, Enterprise, Free.. * @return planClassification - **/ - @ApiModelProperty(example = "null", value = "Identifies the type of plan. Examples include Business, Corporate, Enterprise, Free.") + **/ + @ApiModelProperty(value = "Identifies the type of plan. Examples include Business, Corporate, Enterprise, Free.") public String getPlanClassification() { return planClassification; } + /** + * setPlanClassification. + **/ public void setPlanClassification(String planClassification) { this.planClassification = planClassification; } + + /** + * planFeatureSets. + * + * @return AccountBillingPlan + **/ public AccountBillingPlan planFeatureSets(java.util.List planFeatureSets) { this.planFeatureSets = planFeatureSets; return this; } - + + /** + * addPlanFeatureSetsItem. + * + * @return AccountBillingPlan + **/ public AccountBillingPlan addPlanFeatureSetsItem(FeatureSet planFeatureSetsItem) { + if (this.planFeatureSets == null) { + this.planFeatureSets = new java.util.ArrayList(); + } this.planFeatureSets.add(planFeatureSetsItem); return this; } - /** - * A complex type that sets the feature sets for the account. It contains the following information (all string content): * currencyFeatureSetPrices - Contains the currencyCode and currencySymbol for the alternate currency values for envelopeFee, fixedFee, seatFee that are configured for this plan feature set. * envelopeFee - An incremental envelope cost for plans with envelope overages (when isEnabled=true). * featureSetId - A unique ID for the feature set. * fixedFee - A one-time fee associated with the plan (when isEnabled=true). * isActive - Specifies whether the feature set is actively set as part of the plan. * isEnabled - Specifies whether the feature set is actively enabled as part of the plan. * name - The name of the feature set. * seatFee - An incremental seat cost for seat-based plans (when isEnabled=true). + /** + * A complex type that sets the feature sets for the account. It contains the following information (all string content): * currencyFeatureSetPrices - Contains the currencyCode and currencySymbol for the alternate currency values for envelopeFee, fixedFee, seatFee that are configured for this plan feature set. * envelopeFee - An incremental envelope cost for plans with envelope overages (when isEnabled=true). * featureSetId - A unique ID for the feature set. * fixedFee - A one-time fee associated with the plan (when isEnabled=true). * isActive - Specifies whether the feature set is actively set as part of the plan. * isEnabled - Specifies whether the feature set is actively enabled as part of the plan. * name - The name of the feature set. * seatFee - An incremental seat cost for seat-based plans (when isEnabled=true). . * @return planFeatureSets - **/ - @ApiModelProperty(example = "null", value = "A complex type that sets the feature sets for the account. It contains the following information (all string content): * currencyFeatureSetPrices - Contains the currencyCode and currencySymbol for the alternate currency values for envelopeFee, fixedFee, seatFee that are configured for this plan feature set. * envelopeFee - An incremental envelope cost for plans with envelope overages (when isEnabled=true). * featureSetId - A unique ID for the feature set. * fixedFee - A one-time fee associated with the plan (when isEnabled=true). * isActive - Specifies whether the feature set is actively set as part of the plan. * isEnabled - Specifies whether the feature set is actively enabled as part of the plan. * name - The name of the feature set. * seatFee - An incremental seat cost for seat-based plans (when isEnabled=true). ") + **/ + @ApiModelProperty(value = "A complex type that sets the feature sets for the account. It contains the following information (all string content): * currencyFeatureSetPrices - Contains the currencyCode and currencySymbol for the alternate currency values for envelopeFee, fixedFee, seatFee that are configured for this plan feature set. * envelopeFee - An incremental envelope cost for plans with envelope overages (when isEnabled=true). * featureSetId - A unique ID for the feature set. * fixedFee - A one-time fee associated with the plan (when isEnabled=true). * isActive - Specifies whether the feature set is actively set as part of the plan. * isEnabled - Specifies whether the feature set is actively enabled as part of the plan. * name - The name of the feature set. * seatFee - An incremental seat cost for seat-based plans (when isEnabled=true). ") public java.util.List getPlanFeatureSets() { return planFeatureSets; } + /** + * setPlanFeatureSets. + **/ public void setPlanFeatureSets(java.util.List planFeatureSets) { this.planFeatureSets = planFeatureSets; } + + /** + * planId. + * + * @return AccountBillingPlan + **/ public AccountBillingPlan planId(String planId) { this.planId = planId; return this; } - /** - * + /** + * . * @return planId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPlanId() { return planId; } + /** + * setPlanId. + **/ public void setPlanId(String planId) { this.planId = planId; } + + /** + * planName. + * + * @return AccountBillingPlan + **/ public AccountBillingPlan planName(String planName) { this.planName = planName; return this; } - /** - * The name of the Billing Plan. + /** + * The name of the Billing Plan.. * @return planName - **/ - @ApiModelProperty(example = "null", value = "The name of the Billing Plan.") + **/ + @ApiModelProperty(value = "The name of the Billing Plan.") public String getPlanName() { return planName; } + /** + * setPlanName. + **/ public void setPlanName(String planName) { this.planName = planName; } + + /** + * planStartDate. + * + * @return AccountBillingPlan + **/ + public AccountBillingPlan planStartDate(String planStartDate) { + this.planStartDate = planStartDate; + return this; + } + + /** + * . + * @return planStartDate + **/ + @ApiModelProperty(value = "") + public String getPlanStartDate() { + return planStartDate; + } + + /** + * setPlanStartDate. + **/ + public void setPlanStartDate(String planStartDate) { + this.planStartDate = planStartDate; + } + + + /** + * renewalDate. + * + * @return AccountBillingPlan + **/ + public AccountBillingPlan renewalDate(String renewalDate) { + this.renewalDate = renewalDate; + return this; + } + + /** + * . + * @return renewalDate + **/ + @ApiModelProperty(value = "") + public String getRenewalDate() { + return renewalDate; + } + + /** + * setRenewalDate. + **/ + public void setRenewalDate(String renewalDate) { + this.renewalDate = renewalDate; + } + + + /** + * renewalStatus. + * + * @return AccountBillingPlan + **/ public AccountBillingPlan renewalStatus(String renewalStatus) { this.renewalStatus = renewalStatus; return this; } - /** - * The renewal status for the account. The acceptable values are: * auto: The account automatically renews. * queued_for_close: Account will be closed at the billingPeriodEndDate. * queued_for_downgrade: Account will be downgraded at the billingPeriodEndDate. + /** + * The renewal status for the account. The acceptable values are: * auto: The account automatically renews. * queued_for_close: Account will be closed at the billingPeriodEndDate. * queued_for_downgrade: Account will be downgraded at the billingPeriodEndDate.. * @return renewalStatus - **/ - @ApiModelProperty(example = "null", value = "The renewal status for the account. The acceptable values are: * auto: The account automatically renews. * queued_for_close: Account will be closed at the billingPeriodEndDate. * queued_for_downgrade: Account will be downgraded at the billingPeriodEndDate.") + **/ + @ApiModelProperty(value = "The renewal status for the account. The acceptable values are: * auto: The account automatically renews. * queued_for_close: Account will be closed at the billingPeriodEndDate. * queued_for_downgrade: Account will be downgraded at the billingPeriodEndDate.") public String getRenewalStatus() { return renewalStatus; } + /** + * setRenewalStatus. + **/ public void setRenewalStatus(String renewalStatus) { this.renewalStatus = renewalStatus; } + + /** + * seatDiscounts. + * + * @return AccountBillingPlan + **/ public AccountBillingPlan seatDiscounts(java.util.List seatDiscounts) { this.seatDiscounts = seatDiscounts; return this; } - + + /** + * addSeatDiscountsItem. + * + * @return AccountBillingPlan + **/ public AccountBillingPlan addSeatDiscountsItem(SeatDiscount seatDiscountsItem) { + if (this.seatDiscounts == null) { + this.seatDiscounts = new java.util.ArrayList(); + } this.seatDiscounts.add(seatDiscountsItem); return this; } - /** - * A complex type that contains any seat discount information. Values are: BeginSeatCount, EndSeatCount, and SeatDiscountPercent. + /** + * A complex type that contains any seat discount information. Values are: BeginSeatCount, EndSeatCount, and SeatDiscountPercent. . * @return seatDiscounts - **/ - @ApiModelProperty(example = "null", value = " A complex type that contains any seat discount information. Values are: BeginSeatCount, EndSeatCount, and SeatDiscountPercent. ") + **/ + @ApiModelProperty(value = " A complex type that contains any seat discount information. Values are: BeginSeatCount, EndSeatCount, and SeatDiscountPercent. ") public java.util.List getSeatDiscounts() { return seatDiscounts; } + /** + * setSeatDiscounts. + **/ public void setSeatDiscounts(java.util.List seatDiscounts) { this.seatDiscounts = seatDiscounts; } + + /** + * supportIncidentFee. + * + * @return AccountBillingPlan + **/ public AccountBillingPlan supportIncidentFee(String supportIncidentFee) { this.supportIncidentFee = supportIncidentFee; return this; } - /** - * The support incident fee charged for each support incident. + /** + * The support incident fee charged for each support incident.. * @return supportIncidentFee - **/ - @ApiModelProperty(example = "null", value = "The support incident fee charged for each support incident.") + **/ + @ApiModelProperty(value = "The support incident fee charged for each support incident.") public String getSupportIncidentFee() { return supportIncidentFee; } + /** + * setSupportIncidentFee. + **/ public void setSupportIncidentFee(String supportIncidentFee) { this.supportIncidentFee = supportIncidentFee; } + + /** + * supportPlanFee. + * + * @return AccountBillingPlan + **/ public AccountBillingPlan supportPlanFee(String supportPlanFee) { this.supportPlanFee = supportPlanFee; return this; } - /** - * The support plan fee charged for this plan. + /** + * The support plan fee charged for this plan.. * @return supportPlanFee - **/ - @ApiModelProperty(example = "null", value = "The support plan fee charged for this plan.") + **/ + @ApiModelProperty(value = "The support plan fee charged for this plan.") public String getSupportPlanFee() { return supportPlanFee; } + /** + * setSupportPlanFee. + **/ public void setSupportPlanFee(String supportPlanFee) { this.supportPlanFee = supportPlanFee; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -461,6 +823,8 @@ public boolean equals(java.lang.Object o) { } AccountBillingPlan accountBillingPlan = (AccountBillingPlan) o; return Objects.equals(this.addOns, accountBillingPlan.addOns) && + Objects.equals(this.appStoreReceiptExpirationDate, accountBillingPlan.appStoreReceiptExpirationDate) && + Objects.equals(this.appStoreReceiptPurchaseDate, accountBillingPlan.appStoreReceiptPurchaseDate) && Objects.equals(this.canCancelRenewal, accountBillingPlan.canCancelRenewal) && Objects.equals(this.canUpgrade, accountBillingPlan.canUpgrade) && Objects.equals(this.currencyCode, accountBillingPlan.currencyCode) && @@ -468,6 +832,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.includedSeats, accountBillingPlan.includedSeats) && Objects.equals(this.incrementalSeats, accountBillingPlan.incrementalSeats) && Objects.equals(this.isDowngrade, accountBillingPlan.isDowngrade) && + Objects.equals(this.notificationType, accountBillingPlan.notificationType) && Objects.equals(this.otherDiscountPercent, accountBillingPlan.otherDiscountPercent) && Objects.equals(this.paymentCycle, accountBillingPlan.paymentCycle) && Objects.equals(this.paymentMethod, accountBillingPlan.paymentMethod) && @@ -476,24 +841,34 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.planFeatureSets, accountBillingPlan.planFeatureSets) && Objects.equals(this.planId, accountBillingPlan.planId) && Objects.equals(this.planName, accountBillingPlan.planName) && + Objects.equals(this.planStartDate, accountBillingPlan.planStartDate) && + Objects.equals(this.renewalDate, accountBillingPlan.renewalDate) && Objects.equals(this.renewalStatus, accountBillingPlan.renewalStatus) && Objects.equals(this.seatDiscounts, accountBillingPlan.seatDiscounts) && Objects.equals(this.supportIncidentFee, accountBillingPlan.supportIncidentFee) && Objects.equals(this.supportPlanFee, accountBillingPlan.supportPlanFee); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { - return Objects.hash(addOns, canCancelRenewal, canUpgrade, currencyCode, enableSupport, includedSeats, incrementalSeats, isDowngrade, otherDiscountPercent, paymentCycle, paymentMethod, perSeatPrice, planClassification, planFeatureSets, planId, planName, renewalStatus, seatDiscounts, supportIncidentFee, supportPlanFee); + return Objects.hash(addOns, appStoreReceiptExpirationDate, appStoreReceiptPurchaseDate, canCancelRenewal, canUpgrade, currencyCode, enableSupport, includedSeats, incrementalSeats, isDowngrade, notificationType, otherDiscountPercent, paymentCycle, paymentMethod, perSeatPrice, planClassification, planFeatureSets, planId, planName, planStartDate, renewalDate, renewalStatus, seatDiscounts, supportIncidentFee, supportPlanFee); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class AccountBillingPlan {\n"); sb.append(" addOns: ").append(toIndentedString(addOns)).append("\n"); + sb.append(" appStoreReceiptExpirationDate: ").append(toIndentedString(appStoreReceiptExpirationDate)).append("\n"); + sb.append(" appStoreReceiptPurchaseDate: ").append(toIndentedString(appStoreReceiptPurchaseDate)).append("\n"); sb.append(" canCancelRenewal: ").append(toIndentedString(canCancelRenewal)).append("\n"); sb.append(" canUpgrade: ").append(toIndentedString(canUpgrade)).append("\n"); sb.append(" currencyCode: ").append(toIndentedString(currencyCode)).append("\n"); @@ -501,6 +876,7 @@ public String toString() { sb.append(" includedSeats: ").append(toIndentedString(includedSeats)).append("\n"); sb.append(" incrementalSeats: ").append(toIndentedString(incrementalSeats)).append("\n"); sb.append(" isDowngrade: ").append(toIndentedString(isDowngrade)).append("\n"); + sb.append(" notificationType: ").append(toIndentedString(notificationType)).append("\n"); sb.append(" otherDiscountPercent: ").append(toIndentedString(otherDiscountPercent)).append("\n"); sb.append(" paymentCycle: ").append(toIndentedString(paymentCycle)).append("\n"); sb.append(" paymentMethod: ").append(toIndentedString(paymentMethod)).append("\n"); @@ -509,6 +885,8 @@ public String toString() { sb.append(" planFeatureSets: ").append(toIndentedString(planFeatureSets)).append("\n"); sb.append(" planId: ").append(toIndentedString(planId)).append("\n"); sb.append(" planName: ").append(toIndentedString(planName)).append("\n"); + sb.append(" planStartDate: ").append(toIndentedString(planStartDate)).append("\n"); + sb.append(" renewalDate: ").append(toIndentedString(renewalDate)).append("\n"); sb.append(" renewalStatus: ").append(toIndentedString(renewalStatus)).append("\n"); sb.append(" seatDiscounts: ").append(toIndentedString(seatDiscounts)).append("\n"); sb.append(" supportIncidentFee: ").append(toIndentedString(supportIncidentFee)).append("\n"); @@ -527,6 +905,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/AccountBillingPlanResponse.java b/src/main/java/com/docusign/esign/model/AccountBillingPlanResponse.java index 252f0834..856f1634 100644 --- a/src/main/java/com/docusign/esign/model/AccountBillingPlanResponse.java +++ b/src/main/java/com/docusign/esign/model/AccountBillingPlanResponse.java @@ -1,6 +1,7 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.AccountAddress; import com.docusign.esign.model.AccountBillingPlan; import com.docusign.esign.model.BillingPlan; @@ -9,11 +10,13 @@ import com.docusign.esign.model.ReferralInformation; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Defines an account billing plan response object. + * Defines an account billing plan response object.. + * */ @ApiModel(description = "Defines an account billing plan response object.") @@ -37,140 +40,216 @@ public class AccountBillingPlanResponse { private ReferralInformation referralInformation = null; @JsonProperty("successorPlans") - private java.util.List successorPlans = new java.util.ArrayList(); + private java.util.List successorPlans = null; + + /** + * billingAddress. + * + * @return AccountBillingPlanResponse + **/ public AccountBillingPlanResponse billingAddress(AccountAddress billingAddress) { this.billingAddress = billingAddress; return this; } - /** - * Get billingAddress + /** + * Get billingAddress. * @return billingAddress - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public AccountAddress getBillingAddress() { return billingAddress; } + /** + * setBillingAddress. + **/ public void setBillingAddress(AccountAddress billingAddress) { this.billingAddress = billingAddress; } + + /** + * billingAddressIsCreditCardAddress. + * + * @return AccountBillingPlanResponse + **/ public AccountBillingPlanResponse billingAddressIsCreditCardAddress(String billingAddressIsCreditCardAddress) { this.billingAddressIsCreditCardAddress = billingAddressIsCreditCardAddress; return this; } - /** - * When set to **true**, the credit card address information is the same as that returned as the billing address. If false, then the billing address is considered a billing contact address, and the credit card address can be different. + /** + * When set to **true**, the credit card address information is the same as that returned as the billing address. If false, then the billing address is considered a billing contact address, and the credit card address can be different.. * @return billingAddressIsCreditCardAddress - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the credit card address information is the same as that returned as the billing address. If false, then the billing address is considered a billing contact address, and the credit card address can be different.") + **/ + @ApiModelProperty(value = "When set to **true**, the credit card address information is the same as that returned as the billing address. If false, then the billing address is considered a billing contact address, and the credit card address can be different.") public String getBillingAddressIsCreditCardAddress() { return billingAddressIsCreditCardAddress; } + /** + * setBillingAddressIsCreditCardAddress. + **/ public void setBillingAddressIsCreditCardAddress(String billingAddressIsCreditCardAddress) { this.billingAddressIsCreditCardAddress = billingAddressIsCreditCardAddress; } + + /** + * billingPlan. + * + * @return AccountBillingPlanResponse + **/ public AccountBillingPlanResponse billingPlan(AccountBillingPlan billingPlan) { this.billingPlan = billingPlan; return this; } - /** - * Get billingPlan + /** + * Get billingPlan. * @return billingPlan - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public AccountBillingPlan getBillingPlan() { return billingPlan; } + /** + * setBillingPlan. + **/ public void setBillingPlan(AccountBillingPlan billingPlan) { this.billingPlan = billingPlan; } + + /** + * creditCardInformation. + * + * @return AccountBillingPlanResponse + **/ public AccountBillingPlanResponse creditCardInformation(CreditCardInformation creditCardInformation) { this.creditCardInformation = creditCardInformation; return this; } - /** - * Get creditCardInformation + /** + * Get creditCardInformation. * @return creditCardInformation - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public CreditCardInformation getCreditCardInformation() { return creditCardInformation; } + /** + * setCreditCardInformation. + **/ public void setCreditCardInformation(CreditCardInformation creditCardInformation) { this.creditCardInformation = creditCardInformation; } + + /** + * paymentProcessorInformation. + * + * @return AccountBillingPlanResponse + **/ public AccountBillingPlanResponse paymentProcessorInformation(PaymentProcessorInformation paymentProcessorInformation) { this.paymentProcessorInformation = paymentProcessorInformation; return this; } - /** - * Get paymentProcessorInformation + /** + * Get paymentProcessorInformation. * @return paymentProcessorInformation - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public PaymentProcessorInformation getPaymentProcessorInformation() { return paymentProcessorInformation; } + /** + * setPaymentProcessorInformation. + **/ public void setPaymentProcessorInformation(PaymentProcessorInformation paymentProcessorInformation) { this.paymentProcessorInformation = paymentProcessorInformation; } + + /** + * referralInformation. + * + * @return AccountBillingPlanResponse + **/ public AccountBillingPlanResponse referralInformation(ReferralInformation referralInformation) { this.referralInformation = referralInformation; return this; } - /** - * Get referralInformation + /** + * Get referralInformation. * @return referralInformation - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ReferralInformation getReferralInformation() { return referralInformation; } + /** + * setReferralInformation. + **/ public void setReferralInformation(ReferralInformation referralInformation) { this.referralInformation = referralInformation; } + + /** + * successorPlans. + * + * @return AccountBillingPlanResponse + **/ public AccountBillingPlanResponse successorPlans(java.util.List successorPlans) { this.successorPlans = successorPlans; return this; } - + + /** + * addSuccessorPlansItem. + * + * @return AccountBillingPlanResponse + **/ public AccountBillingPlanResponse addSuccessorPlansItem(BillingPlan successorPlansItem) { + if (this.successorPlans == null) { + this.successorPlans = new java.util.ArrayList(); + } this.successorPlans.add(successorPlansItem); return this; } - /** - * + /** + * . * @return successorPlans - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getSuccessorPlans() { return successorPlans; } + /** + * setSuccessorPlans. + **/ public void setSuccessorPlans(java.util.List successorPlans) { this.successorPlans = successorPlans; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -189,12 +268,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.successorPlans, accountBillingPlanResponse.successorPlans); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(billingAddress, billingAddressIsCreditCardAddress, billingPlan, creditCardInformation, paymentProcessorInformation, referralInformation, successorPlans); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -221,6 +306,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/AccountIdentityVerificationResponse.java b/src/main/java/com/docusign/esign/model/AccountIdentityVerificationResponse.java index d75cfc84..b9b33e3f 100644 --- a/src/main/java/com/docusign/esign/model/AccountIdentityVerificationResponse.java +++ b/src/main/java/com/docusign/esign/model/AccountIdentityVerificationResponse.java @@ -1,44 +1,69 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.AccountIdentityVerificationWorkflow; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * AccountIdentityVerificationResponse + * AccountIdentityVerificationResponse. + * */ public class AccountIdentityVerificationResponse { @JsonProperty("identityVerification") - private java.util.List identityVerification = new java.util.ArrayList(); + private java.util.List identityVerification = null; + + /** + * identityVerification. + * + * @return AccountIdentityVerificationResponse + **/ public AccountIdentityVerificationResponse identityVerification(java.util.List identityVerification) { this.identityVerification = identityVerification; return this; } - + + /** + * addIdentityVerificationItem. + * + * @return AccountIdentityVerificationResponse + **/ public AccountIdentityVerificationResponse addIdentityVerificationItem(AccountIdentityVerificationWorkflow identityVerificationItem) { + if (this.identityVerification == null) { + this.identityVerification = new java.util.ArrayList(); + } this.identityVerification.add(identityVerificationItem); return this; } - /** - * + /** + * . * @return identityVerification - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getIdentityVerification() { return identityVerification; } + /** + * setIdentityVerification. + **/ public void setIdentityVerification(java.util.List identityVerification) { this.identityVerification = identityVerification; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -51,12 +76,18 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.identityVerification, accountIdentityVerificationResponse.identityVerification); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(identityVerification); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -77,6 +108,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/AccountIdentityVerificationStep.java b/src/main/java/com/docusign/esign/model/AccountIdentityVerificationStep.java index 41ac630a..e6441de5 100644 --- a/src/main/java/com/docusign/esign/model/AccountIdentityVerificationStep.java +++ b/src/main/java/com/docusign/esign/model/AccountIdentityVerificationStep.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * AccountIdentityVerificationStep + * AccountIdentityVerificationStep. + * */ public class AccountIdentityVerificationStep { @@ -17,43 +20,66 @@ public class AccountIdentityVerificationStep { @JsonProperty("type") private String type = null; + + /** + * name. + * + * @return AccountIdentityVerificationStep + **/ public AccountIdentityVerificationStep name(String name) { this.name = name; return this; } - /** - * + /** + * . * @return name - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * type. + * + * @return AccountIdentityVerificationStep + **/ public AccountIdentityVerificationStep type(String type) { this.type = type; return this; } - /** - * + /** + * . * @return type - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getType() { return type; } + /** + * setType. + **/ public void setType(String type) { this.type = type; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -67,12 +93,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.type, accountIdentityVerificationStep.type); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(name, type); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -94,6 +126,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/AccountIdentityVerificationWorkflow.java b/src/main/java/com/docusign/esign/model/AccountIdentityVerificationWorkflow.java index 4a04e482..a7a846e4 100644 --- a/src/main/java/com/docusign/esign/model/AccountIdentityVerificationWorkflow.java +++ b/src/main/java/com/docusign/esign/model/AccountIdentityVerificationWorkflow.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.AccountIdentityVerificationStep; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * AccountIdentityVerificationWorkflow + * AccountIdentityVerificationWorkflow. + * */ public class AccountIdentityVerificationWorkflow { @@ -16,71 +19,111 @@ public class AccountIdentityVerificationWorkflow { private String defaultName = null; @JsonProperty("steps") - private java.util.List steps = new java.util.ArrayList(); + private java.util.List steps = null; @JsonProperty("workflowId") private String workflowId = null; + + /** + * defaultName. + * + * @return AccountIdentityVerificationWorkflow + **/ public AccountIdentityVerificationWorkflow defaultName(String defaultName) { this.defaultName = defaultName; return this; } - /** - * + /** + * . * @return defaultName - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getDefaultName() { return defaultName; } + /** + * setDefaultName. + **/ public void setDefaultName(String defaultName) { this.defaultName = defaultName; } + + /** + * steps. + * + * @return AccountIdentityVerificationWorkflow + **/ public AccountIdentityVerificationWorkflow steps(java.util.List steps) { this.steps = steps; return this; } - + + /** + * addStepsItem. + * + * @return AccountIdentityVerificationWorkflow + **/ public AccountIdentityVerificationWorkflow addStepsItem(AccountIdentityVerificationStep stepsItem) { + if (this.steps == null) { + this.steps = new java.util.ArrayList(); + } this.steps.add(stepsItem); return this; } - /** - * + /** + * . * @return steps - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getSteps() { return steps; } + /** + * setSteps. + **/ public void setSteps(java.util.List steps) { this.steps = steps; } + + /** + * workflowId. + * + * @return AccountIdentityVerificationWorkflow + **/ public AccountIdentityVerificationWorkflow workflowId(String workflowId) { this.workflowId = workflowId; return this; } - /** - * + /** + * . * @return workflowId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getWorkflowId() { return workflowId; } + /** + * setWorkflowId. + **/ public void setWorkflowId(String workflowId) { this.workflowId = workflowId; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -95,12 +138,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.workflowId, accountIdentityVerificationWorkflow.workflowId); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(defaultName, steps, workflowId); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -123,6 +172,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/AccountInformation.java b/src/main/java/com/docusign/esign/model/AccountInformation.java index 49ae75cb..0125d7ed 100644 --- a/src/main/java/com/docusign/esign/model/AccountInformation.java +++ b/src/main/java/com/docusign/esign/model/AccountInformation.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Contains account Information. + * Contains account Information.. + * */ @ApiModel(description = "Contains account Information.") @@ -108,583 +111,876 @@ public class AccountInformation { @JsonProperty("suspensionStatus") private String suspensionStatus = null; + + /** + * accountIdGuid. + * + * @return AccountInformation + **/ public AccountInformation accountIdGuid(String accountIdGuid) { this.accountIdGuid = accountIdGuid; return this; } - /** - * The GUID associated with the account ID. + /** + * The GUID associated with the account ID.. * @return accountIdGuid - **/ - @ApiModelProperty(example = "null", value = "The GUID associated with the account ID.") + **/ + @ApiModelProperty(value = "The GUID associated with the account ID.") public String getAccountIdGuid() { return accountIdGuid; } + /** + * setAccountIdGuid. + **/ public void setAccountIdGuid(String accountIdGuid) { this.accountIdGuid = accountIdGuid; } + + /** + * accountName. + * + * @return AccountInformation + **/ public AccountInformation accountName(String accountName) { this.accountName = accountName; return this; } - /** - * The name of the current account. + /** + * The name of the current account.. * @return accountName - **/ - @ApiModelProperty(example = "null", value = "The name of the current account.") + **/ + @ApiModelProperty(value = "The name of the current account.") public String getAccountName() { return accountName; } + /** + * setAccountName. + **/ public void setAccountName(String accountName) { this.accountName = accountName; } + + /** + * allowTransactionRooms. + * + * @return AccountInformation + **/ public AccountInformation allowTransactionRooms(String allowTransactionRooms) { this.allowTransactionRooms = allowTransactionRooms; return this; } - /** - * When set to **true**, the transaction rooms feature exposed through the Workspaces API is enabled. + /** + * When set to **true**, the transaction rooms feature exposed through the Workspaces API is enabled.. * @return allowTransactionRooms - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the transaction rooms feature exposed through the Workspaces API is enabled.") + **/ + @ApiModelProperty(value = "When set to **true**, the transaction rooms feature exposed through the Workspaces API is enabled.") public String getAllowTransactionRooms() { return allowTransactionRooms; } + /** + * setAllowTransactionRooms. + **/ public void setAllowTransactionRooms(String allowTransactionRooms) { this.allowTransactionRooms = allowTransactionRooms; } + + /** + * billingPeriodDaysRemaining. + * + * @return AccountInformation + **/ public AccountInformation billingPeriodDaysRemaining(String billingPeriodDaysRemaining) { this.billingPeriodDaysRemaining = billingPeriodDaysRemaining; return this; } - /** - * Reserved: TBD + /** + * Reserved: TBD. * @return billingPeriodDaysRemaining - **/ - @ApiModelProperty(example = "null", value = "Reserved: TBD") + **/ + @ApiModelProperty(value = "Reserved: TBD") public String getBillingPeriodDaysRemaining() { return billingPeriodDaysRemaining; } + /** + * setBillingPeriodDaysRemaining. + **/ public void setBillingPeriodDaysRemaining(String billingPeriodDaysRemaining) { this.billingPeriodDaysRemaining = billingPeriodDaysRemaining; } + + /** + * billingPeriodEndDate. + * + * @return AccountInformation + **/ public AccountInformation billingPeriodEndDate(String billingPeriodEndDate) { this.billingPeriodEndDate = billingPeriodEndDate; return this; } - /** - * Reserved: TBD + /** + * Reserved: TBD. * @return billingPeriodEndDate - **/ - @ApiModelProperty(example = "null", value = "Reserved: TBD") + **/ + @ApiModelProperty(value = "Reserved: TBD") public String getBillingPeriodEndDate() { return billingPeriodEndDate; } + /** + * setBillingPeriodEndDate. + **/ public void setBillingPeriodEndDate(String billingPeriodEndDate) { this.billingPeriodEndDate = billingPeriodEndDate; } + + /** + * billingPeriodEnvelopesAllowed. + * + * @return AccountInformation + **/ public AccountInformation billingPeriodEnvelopesAllowed(String billingPeriodEnvelopesAllowed) { this.billingPeriodEnvelopesAllowed = billingPeriodEnvelopesAllowed; return this; } - /** - * Reserved: TBD + /** + * Reserved: TBD. * @return billingPeriodEnvelopesAllowed - **/ - @ApiModelProperty(example = "null", value = "Reserved: TBD") + **/ + @ApiModelProperty(value = "Reserved: TBD") public String getBillingPeriodEnvelopesAllowed() { return billingPeriodEnvelopesAllowed; } + /** + * setBillingPeriodEnvelopesAllowed. + **/ public void setBillingPeriodEnvelopesAllowed(String billingPeriodEnvelopesAllowed) { this.billingPeriodEnvelopesAllowed = billingPeriodEnvelopesAllowed; } + + /** + * billingPeriodEnvelopesSent. + * + * @return AccountInformation + **/ public AccountInformation billingPeriodEnvelopesSent(String billingPeriodEnvelopesSent) { this.billingPeriodEnvelopesSent = billingPeriodEnvelopesSent; return this; } - /** - * Reserved: TBD + /** + * Reserved: TBD. * @return billingPeriodEnvelopesSent - **/ - @ApiModelProperty(example = "null", value = "Reserved: TBD") + **/ + @ApiModelProperty(value = "Reserved: TBD") public String getBillingPeriodEnvelopesSent() { return billingPeriodEnvelopesSent; } + /** + * setBillingPeriodEnvelopesSent. + **/ public void setBillingPeriodEnvelopesSent(String billingPeriodEnvelopesSent) { this.billingPeriodEnvelopesSent = billingPeriodEnvelopesSent; } + + /** + * billingPeriodStartDate. + * + * @return AccountInformation + **/ public AccountInformation billingPeriodStartDate(String billingPeriodStartDate) { this.billingPeriodStartDate = billingPeriodStartDate; return this; } - /** - * Reserved: TBD + /** + * Reserved: TBD. * @return billingPeriodStartDate - **/ - @ApiModelProperty(example = "null", value = "Reserved: TBD") + **/ + @ApiModelProperty(value = "Reserved: TBD") public String getBillingPeriodStartDate() { return billingPeriodStartDate; } + /** + * setBillingPeriodStartDate. + **/ public void setBillingPeriodStartDate(String billingPeriodStartDate) { this.billingPeriodStartDate = billingPeriodStartDate; } + + /** + * billingProfile. + * + * @return AccountInformation + **/ public AccountInformation billingProfile(String billingProfile) { this.billingProfile = billingProfile; return this; } - /** - * Reserved: TBD + /** + * Reserved: TBD. * @return billingProfile - **/ - @ApiModelProperty(example = "null", value = "Reserved: TBD") + **/ + @ApiModelProperty(value = "Reserved: TBD") public String getBillingProfile() { return billingProfile; } + /** + * setBillingProfile. + **/ public void setBillingProfile(String billingProfile) { this.billingProfile = billingProfile; } + + /** + * canCancelRenewal. + * + * @return AccountInformation + **/ public AccountInformation canCancelRenewal(String canCancelRenewal) { this.canCancelRenewal = canCancelRenewal; return this; } - /** - * Reserved: TBD + /** + * Reserved: TBD. * @return canCancelRenewal - **/ - @ApiModelProperty(example = "null", value = "Reserved: TBD") + **/ + @ApiModelProperty(value = "Reserved: TBD") public String getCanCancelRenewal() { return canCancelRenewal; } + /** + * setCanCancelRenewal. + **/ public void setCanCancelRenewal(String canCancelRenewal) { this.canCancelRenewal = canCancelRenewal; } + + /** + * canUpgrade. + * + * @return AccountInformation + **/ public AccountInformation canUpgrade(String canUpgrade) { this.canUpgrade = canUpgrade; return this; } - /** - * When set to **true**, specifies that you can upgrade the account through the API. + /** + * When set to **true**, specifies that you can upgrade the account through the API.. * @return canUpgrade - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, specifies that you can upgrade the account through the API.") + **/ + @ApiModelProperty(value = "When set to **true**, specifies that you can upgrade the account through the API.") public String getCanUpgrade() { return canUpgrade; } + /** + * setCanUpgrade. + **/ public void setCanUpgrade(String canUpgrade) { this.canUpgrade = canUpgrade; } + + /** + * connectPermission. + * + * @return AccountInformation + **/ public AccountInformation connectPermission(String connectPermission) { this.connectPermission = connectPermission; return this; } - /** - * + /** + * . * @return connectPermission - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getConnectPermission() { return connectPermission; } + /** + * setConnectPermission. + **/ public void setConnectPermission(String connectPermission) { this.connectPermission = connectPermission; } + + /** + * createdDate. + * + * @return AccountInformation + **/ public AccountInformation createdDate(String createdDate) { this.createdDate = createdDate; return this; } - /** - * + /** + * . * @return createdDate - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getCreatedDate() { return createdDate; } + /** + * setCreatedDate. + **/ public void setCreatedDate(String createdDate) { this.createdDate = createdDate; } + + /** + * currencyCode. + * + * @return AccountInformation + **/ public AccountInformation currencyCode(String currencyCode) { this.currencyCode = currencyCode; return this; } - /** - * Specifies the ISO currency code for the account. + /** + * Specifies the ISO currency code for the account.. * @return currencyCode - **/ - @ApiModelProperty(example = "null", value = "Specifies the ISO currency code for the account.") + **/ + @ApiModelProperty(value = "Specifies the ISO currency code for the account.") public String getCurrencyCode() { return currencyCode; } + /** + * setCurrencyCode. + **/ public void setCurrencyCode(String currencyCode) { this.currencyCode = currencyCode; } + + /** + * currentPlanId. + * + * @return AccountInformation + **/ public AccountInformation currentPlanId(String currentPlanId) { this.currentPlanId = currentPlanId; return this; } - /** - * Identifies the plan that was used create this account. + /** + * Identifies the plan that was used create this account.. * @return currentPlanId - **/ - @ApiModelProperty(example = "null", value = "Identifies the plan that was used create this account.") + **/ + @ApiModelProperty(value = "Identifies the plan that was used create this account.") public String getCurrentPlanId() { return currentPlanId; } + /** + * setCurrentPlanId. + **/ public void setCurrentPlanId(String currentPlanId) { this.currentPlanId = currentPlanId; } + + /** + * distributorCode. + * + * @return AccountInformation + **/ public AccountInformation distributorCode(String distributorCode) { this.distributorCode = distributorCode; return this; } - /** - * The code that identifies the billing plan groups and plans for the new account. + /** + * The code that identifies the billing plan groups and plans for the new account.. * @return distributorCode - **/ - @ApiModelProperty(example = "null", value = "The code that identifies the billing plan groups and plans for the new account.") + **/ + @ApiModelProperty(value = "The code that identifies the billing plan groups and plans for the new account.") public String getDistributorCode() { return distributorCode; } + /** + * setDistributorCode. + **/ public void setDistributorCode(String distributorCode) { this.distributorCode = distributorCode; } + + /** + * docuSignLandingUrl. + * + * @return AccountInformation + **/ public AccountInformation docuSignLandingUrl(String docuSignLandingUrl) { this.docuSignLandingUrl = docuSignLandingUrl; return this; } - /** - * + /** + * . * @return docuSignLandingUrl - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getDocuSignLandingUrl() { return docuSignLandingUrl; } + /** + * setDocuSignLandingUrl. + **/ public void setDocuSignLandingUrl(String docuSignLandingUrl) { this.docuSignLandingUrl = docuSignLandingUrl; } + + /** + * envelopeSendingBlocked. + * + * @return AccountInformation + **/ public AccountInformation envelopeSendingBlocked(String envelopeSendingBlocked) { this.envelopeSendingBlocked = envelopeSendingBlocked; return this; } - /** - * + /** + * . * @return envelopeSendingBlocked - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getEnvelopeSendingBlocked() { return envelopeSendingBlocked; } + /** + * setEnvelopeSendingBlocked. + **/ public void setEnvelopeSendingBlocked(String envelopeSendingBlocked) { this.envelopeSendingBlocked = envelopeSendingBlocked; } + + /** + * envelopeUnitPrice. + * + * @return AccountInformation + **/ public AccountInformation envelopeUnitPrice(String envelopeUnitPrice) { this.envelopeUnitPrice = envelopeUnitPrice; return this; } - /** - * + /** + * . * @return envelopeUnitPrice - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getEnvelopeUnitPrice() { return envelopeUnitPrice; } + /** + * setEnvelopeUnitPrice. + **/ public void setEnvelopeUnitPrice(String envelopeUnitPrice) { this.envelopeUnitPrice = envelopeUnitPrice; } + + /** + * externalAccountId. + * + * @return AccountInformation + **/ public AccountInformation externalAccountId(String externalAccountId) { this.externalAccountId = externalAccountId; return this; } - /** - * + /** + * . * @return externalAccountId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getExternalAccountId() { return externalAccountId; } + /** + * setExternalAccountId. + **/ public void setExternalAccountId(String externalAccountId) { this.externalAccountId = externalAccountId; } + + /** + * forgottenPasswordQuestionsCount. + * + * @return AccountInformation + **/ public AccountInformation forgottenPasswordQuestionsCount(String forgottenPasswordQuestionsCount) { this.forgottenPasswordQuestionsCount = forgottenPasswordQuestionsCount; return this; } - /** - * A complex element that contains up to four Question/Answer pairs for forgotten password information for a user. + /** + * A complex element that contains up to four Question/Answer pairs for forgotten password information for a user.. * @return forgottenPasswordQuestionsCount - **/ - @ApiModelProperty(example = "null", value = " A complex element that contains up to four Question/Answer pairs for forgotten password information for a user.") + **/ + @ApiModelProperty(value = " A complex element that contains up to four Question/Answer pairs for forgotten password information for a user.") public String getForgottenPasswordQuestionsCount() { return forgottenPasswordQuestionsCount; } + /** + * setForgottenPasswordQuestionsCount. + **/ public void setForgottenPasswordQuestionsCount(String forgottenPasswordQuestionsCount) { this.forgottenPasswordQuestionsCount = forgottenPasswordQuestionsCount; } + + /** + * isDowngrade. + * + * @return AccountInformation + **/ public AccountInformation isDowngrade(String isDowngrade) { this.isDowngrade = isDowngrade; return this; } - /** - * + /** + * . * @return isDowngrade - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getIsDowngrade() { return isDowngrade; } + /** + * setIsDowngrade. + **/ public void setIsDowngrade(String isDowngrade) { this.isDowngrade = isDowngrade; } + + /** + * paymentMethod. + * + * @return AccountInformation + **/ public AccountInformation paymentMethod(String paymentMethod) { this.paymentMethod = paymentMethod; return this; } - /** - * + /** + * . * @return paymentMethod - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPaymentMethod() { return paymentMethod; } + /** + * setPaymentMethod. + **/ public void setPaymentMethod(String paymentMethod) { this.paymentMethod = paymentMethod; } + + /** + * planClassification. + * + * @return AccountInformation + **/ public AccountInformation planClassification(String planClassification) { this.planClassification = planClassification; return this; } - /** - * Identifies the type of plan. Examples include Business, Corporate, Enterprise, Free. + /** + * Identifies the type of plan. Examples include Business, Corporate, Enterprise, Free.. * @return planClassification - **/ - @ApiModelProperty(example = "null", value = "Identifies the type of plan. Examples include Business, Corporate, Enterprise, Free.") + **/ + @ApiModelProperty(value = "Identifies the type of plan. Examples include Business, Corporate, Enterprise, Free.") public String getPlanClassification() { return planClassification; } + /** + * setPlanClassification. + **/ public void setPlanClassification(String planClassification) { this.planClassification = planClassification; } + + /** + * planEndDate. + * + * @return AccountInformation + **/ public AccountInformation planEndDate(String planEndDate) { this.planEndDate = planEndDate; return this; } - /** - * The date that the current plan will end. + /** + * The date that the current plan will end.. * @return planEndDate - **/ - @ApiModelProperty(example = "null", value = "The date that the current plan will end.") + **/ + @ApiModelProperty(value = "The date that the current plan will end.") public String getPlanEndDate() { return planEndDate; } + /** + * setPlanEndDate. + **/ public void setPlanEndDate(String planEndDate) { this.planEndDate = planEndDate; } + + /** + * planName. + * + * @return AccountInformation + **/ public AccountInformation planName(String planName) { this.planName = planName; return this; } - /** - * The name of the Billing Plan. + /** + * The name of the Billing Plan.. * @return planName - **/ - @ApiModelProperty(example = "null", value = "The name of the Billing Plan.") + **/ + @ApiModelProperty(value = "The name of the Billing Plan.") public String getPlanName() { return planName; } + /** + * setPlanName. + **/ public void setPlanName(String planName) { this.planName = planName; } + + /** + * planStartDate. + * + * @return AccountInformation + **/ public AccountInformation planStartDate(String planStartDate) { this.planStartDate = planStartDate; return this; } - /** - * The date that the Account started using the current plan. + /** + * The date that the Account started using the current plan.. * @return planStartDate - **/ - @ApiModelProperty(example = "null", value = "The date that the Account started using the current plan.") + **/ + @ApiModelProperty(value = "The date that the Account started using the current plan.") public String getPlanStartDate() { return planStartDate; } + /** + * setPlanStartDate. + **/ public void setPlanStartDate(String planStartDate) { this.planStartDate = planStartDate; } + + /** + * seatsAllowed. + * + * @return AccountInformation + **/ public AccountInformation seatsAllowed(String seatsAllowed) { this.seatsAllowed = seatsAllowed; return this; } - /** - * + /** + * . * @return seatsAllowed - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSeatsAllowed() { return seatsAllowed; } + /** + * setSeatsAllowed. + **/ public void setSeatsAllowed(String seatsAllowed) { this.seatsAllowed = seatsAllowed; } + + /** + * seatsInUse. + * + * @return AccountInformation + **/ public AccountInformation seatsInUse(String seatsInUse) { this.seatsInUse = seatsInUse; return this; } - /** - * + /** + * . * @return seatsInUse - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSeatsInUse() { return seatsInUse; } + /** + * setSeatsInUse. + **/ public void setSeatsInUse(String seatsInUse) { this.seatsInUse = seatsInUse; } + + /** + * status21CFRPart11. + * + * @return AccountInformation + **/ public AccountInformation status21CFRPart11(String status21CFRPart11) { this.status21CFRPart11 = status21CFRPart11; return this; } - /** - * + /** + * . * @return status21CFRPart11 - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getStatus21CFRPart11() { return status21CFRPart11; } + /** + * setStatus21CFRPart11. + **/ public void setStatus21CFRPart11(String status21CFRPart11) { this.status21CFRPart11 = status21CFRPart11; } + + /** + * suspensionDate. + * + * @return AccountInformation + **/ public AccountInformation suspensionDate(String suspensionDate) { this.suspensionDate = suspensionDate; return this; } - /** - * + /** + * . * @return suspensionDate - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSuspensionDate() { return suspensionDate; } + /** + * setSuspensionDate. + **/ public void setSuspensionDate(String suspensionDate) { this.suspensionDate = suspensionDate; } + + /** + * suspensionStatus. + * + * @return AccountInformation + **/ public AccountInformation suspensionStatus(String suspensionStatus) { this.suspensionStatus = suspensionStatus; return this; } - /** - * + /** + * . * @return suspensionStatus - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSuspensionStatus() { return suspensionStatus; } + /** + * setSuspensionStatus. + **/ public void setSuspensionStatus(String suspensionStatus) { this.suspensionStatus = suspensionStatus; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -728,12 +1024,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.suspensionStatus, accountInformation.suspensionStatus); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(accountIdGuid, accountName, allowTransactionRooms, billingPeriodDaysRemaining, billingPeriodEndDate, billingPeriodEnvelopesAllowed, billingPeriodEnvelopesSent, billingPeriodStartDate, billingProfile, canCancelRenewal, canUpgrade, connectPermission, createdDate, currencyCode, currentPlanId, distributorCode, docuSignLandingUrl, envelopeSendingBlocked, envelopeUnitPrice, externalAccountId, forgottenPasswordQuestionsCount, isDowngrade, paymentMethod, planClassification, planEndDate, planName, planStartDate, seatsAllowed, seatsInUse, status21CFRPart11, suspensionDate, suspensionStatus); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -785,6 +1087,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/AccountMinimumPasswordLength.java b/src/main/java/com/docusign/esign/model/AccountMinimumPasswordLength.java index 3a98c269..1e3883e2 100644 --- a/src/main/java/com/docusign/esign/model/AccountMinimumPasswordLength.java +++ b/src/main/java/com/docusign/esign/model/AccountMinimumPasswordLength.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * AccountMinimumPasswordLength + * AccountMinimumPasswordLength. + * */ public class AccountMinimumPasswordLength { @@ -17,43 +20,66 @@ public class AccountMinimumPasswordLength { @JsonProperty("minimumLength") private String minimumLength = null; + + /** + * maximumLength. + * + * @return AccountMinimumPasswordLength + **/ public AccountMinimumPasswordLength maximumLength(String maximumLength) { this.maximumLength = maximumLength; return this; } - /** - * + /** + * . * @return maximumLength - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getMaximumLength() { return maximumLength; } + /** + * setMaximumLength. + **/ public void setMaximumLength(String maximumLength) { this.maximumLength = maximumLength; } + + /** + * minimumLength. + * + * @return AccountMinimumPasswordLength + **/ public AccountMinimumPasswordLength minimumLength(String minimumLength) { this.minimumLength = minimumLength; return this; } - /** - * + /** + * . * @return minimumLength - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getMinimumLength() { return minimumLength; } + /** + * setMinimumLength. + **/ public void setMinimumLength(String minimumLength) { this.minimumLength = minimumLength; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -67,12 +93,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.minimumLength, accountMinimumPasswordLength.minimumLength); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(maximumLength, minimumLength); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -94,6 +126,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/AccountNotification.java b/src/main/java/com/docusign/esign/model/AccountNotification.java new file mode 100644 index 00000000..e49f05aa --- /dev/null +++ b/src/main/java/com/docusign/esign/model/AccountNotification.java @@ -0,0 +1,124 @@ +package com.docusign.esign.model; + +import java.util.Objects; +import com.docusign.esign.model.Expirations; +import com.docusign.esign.model.Reminders; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +/** + * AccountNotification + */ + +public class AccountNotification { + @JsonProperty("expirations") + private Expirations expirations = null; + + @JsonProperty("reminders") + private Reminders reminders = null; + + @JsonProperty("userOverrideEnabled") + private String userOverrideEnabled = null; + + public AccountNotification expirations(Expirations expirations) { + this.expirations = expirations; + return this; + } + + /** + * Get expirations + * @return expirations + **/ + @ApiModelProperty(example = "null", value = "") + public Expirations getExpirations() { + return expirations; + } + + public void setExpirations(Expirations expirations) { + this.expirations = expirations; + } + + public AccountNotification reminders(Reminders reminders) { + this.reminders = reminders; + return this; + } + + /** + * Get reminders + * @return reminders + **/ + @ApiModelProperty(example = "null", value = "") + public Reminders getReminders() { + return reminders; + } + + public void setReminders(Reminders reminders) { + this.reminders = reminders; + } + + public AccountNotification userOverrideEnabled(String userOverrideEnabled) { + this.userOverrideEnabled = userOverrideEnabled; + return this; + } + + /** + * + * @return userOverrideEnabled + **/ + @ApiModelProperty(example = "null", value = "") + public String getUserOverrideEnabled() { + return userOverrideEnabled; + } + + public void setUserOverrideEnabled(String userOverrideEnabled) { + this.userOverrideEnabled = userOverrideEnabled; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AccountNotification accountNotification = (AccountNotification) o; + return Objects.equals(this.expirations, accountNotification.expirations) && + Objects.equals(this.reminders, accountNotification.reminders) && + Objects.equals(this.userOverrideEnabled, accountNotification.userOverrideEnabled); + } + + @Override + public int hashCode() { + return Objects.hash(expirations, reminders, userOverrideEnabled); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AccountNotification {\n"); + + sb.append(" expirations: ").append(toIndentedString(expirations)).append("\n"); + sb.append(" reminders: ").append(toIndentedString(reminders)).append("\n"); + sb.append(" userOverrideEnabled: ").append(toIndentedString(userOverrideEnabled)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/com/docusign/esign/model/AccountPasswordExpirePasswordDays.java b/src/main/java/com/docusign/esign/model/AccountPasswordExpirePasswordDays.java index e16b4ed5..841f3d51 100644 --- a/src/main/java/com/docusign/esign/model/AccountPasswordExpirePasswordDays.java +++ b/src/main/java/com/docusign/esign/model/AccountPasswordExpirePasswordDays.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * AccountPasswordExpirePasswordDays + * AccountPasswordExpirePasswordDays. + * */ public class AccountPasswordExpirePasswordDays { @@ -17,43 +20,66 @@ public class AccountPasswordExpirePasswordDays { @JsonProperty("minimumDays") private String minimumDays = null; + + /** + * maximumDays. + * + * @return AccountPasswordExpirePasswordDays + **/ public AccountPasswordExpirePasswordDays maximumDays(String maximumDays) { this.maximumDays = maximumDays; return this; } - /** - * + /** + * . * @return maximumDays - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getMaximumDays() { return maximumDays; } + /** + * setMaximumDays. + **/ public void setMaximumDays(String maximumDays) { this.maximumDays = maximumDays; } + + /** + * minimumDays. + * + * @return AccountPasswordExpirePasswordDays + **/ public AccountPasswordExpirePasswordDays minimumDays(String minimumDays) { this.minimumDays = minimumDays; return this; } - /** - * + /** + * . * @return minimumDays - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getMinimumDays() { return minimumDays; } + /** + * setMinimumDays. + **/ public void setMinimumDays(String minimumDays) { this.minimumDays = minimumDays; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -67,12 +93,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.minimumDays, accountPasswordExpirePasswordDays.minimumDays); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(maximumDays, minimumDays); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -94,6 +126,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/AccountPasswordLockoutDurationMinutes.java b/src/main/java/com/docusign/esign/model/AccountPasswordLockoutDurationMinutes.java index e7c22048..629f147f 100644 --- a/src/main/java/com/docusign/esign/model/AccountPasswordLockoutDurationMinutes.java +++ b/src/main/java/com/docusign/esign/model/AccountPasswordLockoutDurationMinutes.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * AccountPasswordLockoutDurationMinutes + * AccountPasswordLockoutDurationMinutes. + * */ public class AccountPasswordLockoutDurationMinutes { @@ -17,43 +20,66 @@ public class AccountPasswordLockoutDurationMinutes { @JsonProperty("minimumMinutes") private String minimumMinutes = null; + + /** + * maximumMinutes. + * + * @return AccountPasswordLockoutDurationMinutes + **/ public AccountPasswordLockoutDurationMinutes maximumMinutes(String maximumMinutes) { this.maximumMinutes = maximumMinutes; return this; } - /** - * + /** + * . * @return maximumMinutes - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getMaximumMinutes() { return maximumMinutes; } + /** + * setMaximumMinutes. + **/ public void setMaximumMinutes(String maximumMinutes) { this.maximumMinutes = maximumMinutes; } + + /** + * minimumMinutes. + * + * @return AccountPasswordLockoutDurationMinutes + **/ public AccountPasswordLockoutDurationMinutes minimumMinutes(String minimumMinutes) { this.minimumMinutes = minimumMinutes; return this; } - /** - * + /** + * . * @return minimumMinutes - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getMinimumMinutes() { return minimumMinutes; } + /** + * setMinimumMinutes. + **/ public void setMinimumMinutes(String minimumMinutes) { this.minimumMinutes = minimumMinutes; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -67,12 +93,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.minimumMinutes, accountPasswordLockoutDurationMinutes.minimumMinutes); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(maximumMinutes, minimumMinutes); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -94,6 +126,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/AccountPasswordLockoutDurationType.java b/src/main/java/com/docusign/esign/model/AccountPasswordLockoutDurationType.java index baf71b07..4853cbaf 100644 --- a/src/main/java/com/docusign/esign/model/AccountPasswordLockoutDurationType.java +++ b/src/main/java/com/docusign/esign/model/AccountPasswordLockoutDurationType.java @@ -1,43 +1,68 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * AccountPasswordLockoutDurationType + * AccountPasswordLockoutDurationType. + * */ public class AccountPasswordLockoutDurationType { @JsonProperty("options") - private java.util.List options = new java.util.ArrayList(); + private java.util.List options = null; + + /** + * options. + * + * @return AccountPasswordLockoutDurationType + **/ public AccountPasswordLockoutDurationType options(java.util.List options) { this.options = options; return this; } - + + /** + * addOptionsItem. + * + * @return AccountPasswordLockoutDurationType + **/ public AccountPasswordLockoutDurationType addOptionsItem(String optionsItem) { + if (this.options == null) { + this.options = new java.util.ArrayList(); + } this.options.add(optionsItem); return this; } - /** - * + /** + * . * @return options - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getOptions() { return options; } + /** + * setOptions. + **/ public void setOptions(java.util.List options) { this.options = options; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -50,12 +75,18 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.options, accountPasswordLockoutDurationType.options); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(options); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -76,6 +107,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/AccountPasswordMinimumPasswordAgeDays.java b/src/main/java/com/docusign/esign/model/AccountPasswordMinimumPasswordAgeDays.java index 459f166f..4c90c326 100644 --- a/src/main/java/com/docusign/esign/model/AccountPasswordMinimumPasswordAgeDays.java +++ b/src/main/java/com/docusign/esign/model/AccountPasswordMinimumPasswordAgeDays.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * AccountPasswordMinimumPasswordAgeDays + * AccountPasswordMinimumPasswordAgeDays. + * */ public class AccountPasswordMinimumPasswordAgeDays { @@ -17,43 +20,66 @@ public class AccountPasswordMinimumPasswordAgeDays { @JsonProperty("minimumAge") private String minimumAge = null; + + /** + * maximumAge. + * + * @return AccountPasswordMinimumPasswordAgeDays + **/ public AccountPasswordMinimumPasswordAgeDays maximumAge(String maximumAge) { this.maximumAge = maximumAge; return this; } - /** - * + /** + * . * @return maximumAge - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getMaximumAge() { return maximumAge; } + /** + * setMaximumAge. + **/ public void setMaximumAge(String maximumAge) { this.maximumAge = maximumAge; } + + /** + * minimumAge. + * + * @return AccountPasswordMinimumPasswordAgeDays + **/ public AccountPasswordMinimumPasswordAgeDays minimumAge(String minimumAge) { this.minimumAge = minimumAge; return this; } - /** - * + /** + * . * @return minimumAge - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getMinimumAge() { return minimumAge; } + /** + * setMinimumAge. + **/ public void setMinimumAge(String minimumAge) { this.minimumAge = minimumAge; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -67,12 +93,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.minimumAge, accountPasswordMinimumPasswordAgeDays.minimumAge); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(maximumAge, minimumAge); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -94,6 +126,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/AccountPasswordQuestionsRequired.java b/src/main/java/com/docusign/esign/model/AccountPasswordQuestionsRequired.java index e651b8ae..40f0ad9b 100644 --- a/src/main/java/com/docusign/esign/model/AccountPasswordQuestionsRequired.java +++ b/src/main/java/com/docusign/esign/model/AccountPasswordQuestionsRequired.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * AccountPasswordQuestionsRequired + * AccountPasswordQuestionsRequired. + * */ public class AccountPasswordQuestionsRequired { @@ -17,43 +20,66 @@ public class AccountPasswordQuestionsRequired { @JsonProperty("minimumQuestions") private String minimumQuestions = null; + + /** + * maximumQuestions. + * + * @return AccountPasswordQuestionsRequired + **/ public AccountPasswordQuestionsRequired maximumQuestions(String maximumQuestions) { this.maximumQuestions = maximumQuestions; return this; } - /** - * + /** + * . * @return maximumQuestions - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getMaximumQuestions() { return maximumQuestions; } + /** + * setMaximumQuestions. + **/ public void setMaximumQuestions(String maximumQuestions) { this.maximumQuestions = maximumQuestions; } + + /** + * minimumQuestions. + * + * @return AccountPasswordQuestionsRequired + **/ public AccountPasswordQuestionsRequired minimumQuestions(String minimumQuestions) { this.minimumQuestions = minimumQuestions; return this; } - /** - * + /** + * . * @return minimumQuestions - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getMinimumQuestions() { return minimumQuestions; } + /** + * setMinimumQuestions. + **/ public void setMinimumQuestions(String minimumQuestions) { this.minimumQuestions = minimumQuestions; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -67,12 +93,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.minimumQuestions, accountPasswordQuestionsRequired.minimumQuestions); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(maximumQuestions, minimumQuestions); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -94,6 +126,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/AccountPasswordRules.java b/src/main/java/com/docusign/esign/model/AccountPasswordRules.java index 19cb9313..6e93ef0e 100644 --- a/src/main/java/com/docusign/esign/model/AccountPasswordRules.java +++ b/src/main/java/com/docusign/esign/model/AccountPasswordRules.java @@ -1,6 +1,7 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.AccountMinimumPasswordLength; import com.docusign.esign.model.AccountPasswordExpirePasswordDays; import com.docusign.esign.model.AccountPasswordLockoutDurationMinutes; @@ -10,11 +11,13 @@ import com.docusign.esign.model.AccountPasswordStrengthType; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * AccountPasswordRules + * AccountPasswordRules. + * */ public class AccountPasswordRules { @@ -78,367 +81,552 @@ public class AccountPasswordRules { @JsonProperty("questionsRequiredMetadata") private AccountPasswordQuestionsRequired questionsRequiredMetadata = null; + + /** + * expirePassword. + * + * @return AccountPasswordRules + **/ public AccountPasswordRules expirePassword(String expirePassword) { this.expirePassword = expirePassword; return this; } - /** - * + /** + * . * @return expirePassword - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getExpirePassword() { return expirePassword; } + /** + * setExpirePassword. + **/ public void setExpirePassword(String expirePassword) { this.expirePassword = expirePassword; } + + /** + * expirePasswordDays. + * + * @return AccountPasswordRules + **/ public AccountPasswordRules expirePasswordDays(String expirePasswordDays) { this.expirePasswordDays = expirePasswordDays; return this; } - /** - * + /** + * . * @return expirePasswordDays - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getExpirePasswordDays() { return expirePasswordDays; } + /** + * setExpirePasswordDays. + **/ public void setExpirePasswordDays(String expirePasswordDays) { this.expirePasswordDays = expirePasswordDays; } + + /** + * expirePasswordDaysMetadata. + * + * @return AccountPasswordRules + **/ public AccountPasswordRules expirePasswordDaysMetadata(AccountPasswordExpirePasswordDays expirePasswordDaysMetadata) { this.expirePasswordDaysMetadata = expirePasswordDaysMetadata; return this; } - /** - * Get expirePasswordDaysMetadata + /** + * Get expirePasswordDaysMetadata. * @return expirePasswordDaysMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public AccountPasswordExpirePasswordDays getExpirePasswordDaysMetadata() { return expirePasswordDaysMetadata; } + /** + * setExpirePasswordDaysMetadata. + **/ public void setExpirePasswordDaysMetadata(AccountPasswordExpirePasswordDays expirePasswordDaysMetadata) { this.expirePasswordDaysMetadata = expirePasswordDaysMetadata; } + + /** + * lockoutDurationMinutes. + * + * @return AccountPasswordRules + **/ public AccountPasswordRules lockoutDurationMinutes(String lockoutDurationMinutes) { this.lockoutDurationMinutes = lockoutDurationMinutes; return this; } - /** - * + /** + * . * @return lockoutDurationMinutes - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getLockoutDurationMinutes() { return lockoutDurationMinutes; } + /** + * setLockoutDurationMinutes. + **/ public void setLockoutDurationMinutes(String lockoutDurationMinutes) { this.lockoutDurationMinutes = lockoutDurationMinutes; } + + /** + * lockoutDurationMinutesMetadata. + * + * @return AccountPasswordRules + **/ public AccountPasswordRules lockoutDurationMinutesMetadata(AccountPasswordLockoutDurationMinutes lockoutDurationMinutesMetadata) { this.lockoutDurationMinutesMetadata = lockoutDurationMinutesMetadata; return this; } - /** - * Get lockoutDurationMinutesMetadata + /** + * Get lockoutDurationMinutesMetadata. * @return lockoutDurationMinutesMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public AccountPasswordLockoutDurationMinutes getLockoutDurationMinutesMetadata() { return lockoutDurationMinutesMetadata; } + /** + * setLockoutDurationMinutesMetadata. + **/ public void setLockoutDurationMinutesMetadata(AccountPasswordLockoutDurationMinutes lockoutDurationMinutesMetadata) { this.lockoutDurationMinutesMetadata = lockoutDurationMinutesMetadata; } + + /** + * lockoutDurationType. + * + * @return AccountPasswordRules + **/ public AccountPasswordRules lockoutDurationType(String lockoutDurationType) { this.lockoutDurationType = lockoutDurationType; return this; } - /** - * + /** + * . * @return lockoutDurationType - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getLockoutDurationType() { return lockoutDurationType; } + /** + * setLockoutDurationType. + **/ public void setLockoutDurationType(String lockoutDurationType) { this.lockoutDurationType = lockoutDurationType; } + + /** + * lockoutDurationTypeMetadata. + * + * @return AccountPasswordRules + **/ public AccountPasswordRules lockoutDurationTypeMetadata(AccountPasswordLockoutDurationType lockoutDurationTypeMetadata) { this.lockoutDurationTypeMetadata = lockoutDurationTypeMetadata; return this; } - /** - * Get lockoutDurationTypeMetadata + /** + * Get lockoutDurationTypeMetadata. * @return lockoutDurationTypeMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public AccountPasswordLockoutDurationType getLockoutDurationTypeMetadata() { return lockoutDurationTypeMetadata; } + /** + * setLockoutDurationTypeMetadata. + **/ public void setLockoutDurationTypeMetadata(AccountPasswordLockoutDurationType lockoutDurationTypeMetadata) { this.lockoutDurationTypeMetadata = lockoutDurationTypeMetadata; } + + /** + * minimumPasswordAgeDays. + * + * @return AccountPasswordRules + **/ public AccountPasswordRules minimumPasswordAgeDays(String minimumPasswordAgeDays) { this.minimumPasswordAgeDays = minimumPasswordAgeDays; return this; } - /** - * + /** + * . * @return minimumPasswordAgeDays - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getMinimumPasswordAgeDays() { return minimumPasswordAgeDays; } + /** + * setMinimumPasswordAgeDays. + **/ public void setMinimumPasswordAgeDays(String minimumPasswordAgeDays) { this.minimumPasswordAgeDays = minimumPasswordAgeDays; } + + /** + * minimumPasswordAgeDaysMetadata. + * + * @return AccountPasswordRules + **/ public AccountPasswordRules minimumPasswordAgeDaysMetadata(AccountPasswordMinimumPasswordAgeDays minimumPasswordAgeDaysMetadata) { this.minimumPasswordAgeDaysMetadata = minimumPasswordAgeDaysMetadata; return this; } - /** - * Get minimumPasswordAgeDaysMetadata + /** + * Get minimumPasswordAgeDaysMetadata. * @return minimumPasswordAgeDaysMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public AccountPasswordMinimumPasswordAgeDays getMinimumPasswordAgeDaysMetadata() { return minimumPasswordAgeDaysMetadata; } + /** + * setMinimumPasswordAgeDaysMetadata. + **/ public void setMinimumPasswordAgeDaysMetadata(AccountPasswordMinimumPasswordAgeDays minimumPasswordAgeDaysMetadata) { this.minimumPasswordAgeDaysMetadata = minimumPasswordAgeDaysMetadata; } + + /** + * minimumPasswordLength. + * + * @return AccountPasswordRules + **/ public AccountPasswordRules minimumPasswordLength(String minimumPasswordLength) { this.minimumPasswordLength = minimumPasswordLength; return this; } - /** - * + /** + * . * @return minimumPasswordLength - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getMinimumPasswordLength() { return minimumPasswordLength; } + /** + * setMinimumPasswordLength. + **/ public void setMinimumPasswordLength(String minimumPasswordLength) { this.minimumPasswordLength = minimumPasswordLength; } + + /** + * minimumPasswordLengthMetadata. + * + * @return AccountPasswordRules + **/ public AccountPasswordRules minimumPasswordLengthMetadata(AccountMinimumPasswordLength minimumPasswordLengthMetadata) { this.minimumPasswordLengthMetadata = minimumPasswordLengthMetadata; return this; } - /** - * Get minimumPasswordLengthMetadata + /** + * Get minimumPasswordLengthMetadata. * @return minimumPasswordLengthMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public AccountMinimumPasswordLength getMinimumPasswordLengthMetadata() { return minimumPasswordLengthMetadata; } + /** + * setMinimumPasswordLengthMetadata. + **/ public void setMinimumPasswordLengthMetadata(AccountMinimumPasswordLength minimumPasswordLengthMetadata) { this.minimumPasswordLengthMetadata = minimumPasswordLengthMetadata; } + + /** + * passwordIncludeDigit. + * + * @return AccountPasswordRules + **/ public AccountPasswordRules passwordIncludeDigit(String passwordIncludeDigit) { this.passwordIncludeDigit = passwordIncludeDigit; return this; } - /** - * + /** + * . * @return passwordIncludeDigit - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPasswordIncludeDigit() { return passwordIncludeDigit; } + /** + * setPasswordIncludeDigit. + **/ public void setPasswordIncludeDigit(String passwordIncludeDigit) { this.passwordIncludeDigit = passwordIncludeDigit; } + + /** + * passwordIncludeDigitOrSpecialCharacter. + * + * @return AccountPasswordRules + **/ public AccountPasswordRules passwordIncludeDigitOrSpecialCharacter(String passwordIncludeDigitOrSpecialCharacter) { this.passwordIncludeDigitOrSpecialCharacter = passwordIncludeDigitOrSpecialCharacter; return this; } - /** - * + /** + * . * @return passwordIncludeDigitOrSpecialCharacter - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPasswordIncludeDigitOrSpecialCharacter() { return passwordIncludeDigitOrSpecialCharacter; } + /** + * setPasswordIncludeDigitOrSpecialCharacter. + **/ public void setPasswordIncludeDigitOrSpecialCharacter(String passwordIncludeDigitOrSpecialCharacter) { this.passwordIncludeDigitOrSpecialCharacter = passwordIncludeDigitOrSpecialCharacter; } + + /** + * passwordIncludeLowerCase. + * + * @return AccountPasswordRules + **/ public AccountPasswordRules passwordIncludeLowerCase(String passwordIncludeLowerCase) { this.passwordIncludeLowerCase = passwordIncludeLowerCase; return this; } - /** - * + /** + * . * @return passwordIncludeLowerCase - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPasswordIncludeLowerCase() { return passwordIncludeLowerCase; } + /** + * setPasswordIncludeLowerCase. + **/ public void setPasswordIncludeLowerCase(String passwordIncludeLowerCase) { this.passwordIncludeLowerCase = passwordIncludeLowerCase; } + + /** + * passwordIncludeSpecialCharacter. + * + * @return AccountPasswordRules + **/ public AccountPasswordRules passwordIncludeSpecialCharacter(String passwordIncludeSpecialCharacter) { this.passwordIncludeSpecialCharacter = passwordIncludeSpecialCharacter; return this; } - /** - * + /** + * . * @return passwordIncludeSpecialCharacter - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPasswordIncludeSpecialCharacter() { return passwordIncludeSpecialCharacter; } + /** + * setPasswordIncludeSpecialCharacter. + **/ public void setPasswordIncludeSpecialCharacter(String passwordIncludeSpecialCharacter) { this.passwordIncludeSpecialCharacter = passwordIncludeSpecialCharacter; } + + /** + * passwordIncludeUpperCase. + * + * @return AccountPasswordRules + **/ public AccountPasswordRules passwordIncludeUpperCase(String passwordIncludeUpperCase) { this.passwordIncludeUpperCase = passwordIncludeUpperCase; return this; } - /** - * + /** + * . * @return passwordIncludeUpperCase - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPasswordIncludeUpperCase() { return passwordIncludeUpperCase; } + /** + * setPasswordIncludeUpperCase. + **/ public void setPasswordIncludeUpperCase(String passwordIncludeUpperCase) { this.passwordIncludeUpperCase = passwordIncludeUpperCase; } + + /** + * passwordStrengthType. + * + * @return AccountPasswordRules + **/ public AccountPasswordRules passwordStrengthType(String passwordStrengthType) { this.passwordStrengthType = passwordStrengthType; return this; } - /** - * + /** + * . * @return passwordStrengthType - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPasswordStrengthType() { return passwordStrengthType; } + /** + * setPasswordStrengthType. + **/ public void setPasswordStrengthType(String passwordStrengthType) { this.passwordStrengthType = passwordStrengthType; } + + /** + * passwordStrengthTypeMetadata. + * + * @return AccountPasswordRules + **/ public AccountPasswordRules passwordStrengthTypeMetadata(AccountPasswordStrengthType passwordStrengthTypeMetadata) { this.passwordStrengthTypeMetadata = passwordStrengthTypeMetadata; return this; } - /** - * Get passwordStrengthTypeMetadata + /** + * Get passwordStrengthTypeMetadata. * @return passwordStrengthTypeMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public AccountPasswordStrengthType getPasswordStrengthTypeMetadata() { return passwordStrengthTypeMetadata; } + /** + * setPasswordStrengthTypeMetadata. + **/ public void setPasswordStrengthTypeMetadata(AccountPasswordStrengthType passwordStrengthTypeMetadata) { this.passwordStrengthTypeMetadata = passwordStrengthTypeMetadata; } + + /** + * questionsRequired. + * + * @return AccountPasswordRules + **/ public AccountPasswordRules questionsRequired(String questionsRequired) { this.questionsRequired = questionsRequired; return this; } - /** - * + /** + * . * @return questionsRequired - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getQuestionsRequired() { return questionsRequired; } + /** + * setQuestionsRequired. + **/ public void setQuestionsRequired(String questionsRequired) { this.questionsRequired = questionsRequired; } + + /** + * questionsRequiredMetadata. + * + * @return AccountPasswordRules + **/ public AccountPasswordRules questionsRequiredMetadata(AccountPasswordQuestionsRequired questionsRequiredMetadata) { this.questionsRequiredMetadata = questionsRequiredMetadata; return this; } - /** - * Get questionsRequiredMetadata + /** + * Get questionsRequiredMetadata. * @return questionsRequiredMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public AccountPasswordQuestionsRequired getQuestionsRequiredMetadata() { return questionsRequiredMetadata; } + /** + * setQuestionsRequiredMetadata. + **/ public void setQuestionsRequiredMetadata(AccountPasswordQuestionsRequired questionsRequiredMetadata) { this.questionsRequiredMetadata = questionsRequiredMetadata; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -470,12 +658,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.questionsRequiredMetadata, accountPasswordRules.questionsRequiredMetadata); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(expirePassword, expirePasswordDays, expirePasswordDaysMetadata, lockoutDurationMinutes, lockoutDurationMinutesMetadata, lockoutDurationType, lockoutDurationTypeMetadata, minimumPasswordAgeDays, minimumPasswordAgeDaysMetadata, minimumPasswordLength, minimumPasswordLengthMetadata, passwordIncludeDigit, passwordIncludeDigitOrSpecialCharacter, passwordIncludeLowerCase, passwordIncludeSpecialCharacter, passwordIncludeUpperCase, passwordStrengthType, passwordStrengthTypeMetadata, questionsRequired, questionsRequiredMetadata); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -515,6 +709,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/AccountPasswordStrengthType.java b/src/main/java/com/docusign/esign/model/AccountPasswordStrengthType.java index 96d97f16..7534ed9c 100644 --- a/src/main/java/com/docusign/esign/model/AccountPasswordStrengthType.java +++ b/src/main/java/com/docusign/esign/model/AccountPasswordStrengthType.java @@ -1,44 +1,69 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.AccountPasswordStrengthTypeOption; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * AccountPasswordStrengthType + * AccountPasswordStrengthType. + * */ public class AccountPasswordStrengthType { @JsonProperty("options") - private java.util.List options = new java.util.ArrayList(); + private java.util.List options = null; + + /** + * options. + * + * @return AccountPasswordStrengthType + **/ public AccountPasswordStrengthType options(java.util.List options) { this.options = options; return this; } - + + /** + * addOptionsItem. + * + * @return AccountPasswordStrengthType + **/ public AccountPasswordStrengthType addOptionsItem(AccountPasswordStrengthTypeOption optionsItem) { + if (this.options == null) { + this.options = new java.util.ArrayList(); + } this.options.add(optionsItem); return this; } - /** - * + /** + * . * @return options - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getOptions() { return options; } + /** + * setOptions. + **/ public void setOptions(java.util.List options) { this.options = options; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -51,12 +76,18 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.options, accountPasswordStrengthType.options); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(options); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -77,6 +108,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/AccountPasswordStrengthTypeOption.java b/src/main/java/com/docusign/esign/model/AccountPasswordStrengthTypeOption.java index 75b5e7f0..f888137c 100644 --- a/src/main/java/com/docusign/esign/model/AccountPasswordStrengthTypeOption.java +++ b/src/main/java/com/docusign/esign/model/AccountPasswordStrengthTypeOption.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * AccountPasswordStrengthTypeOption + * AccountPasswordStrengthTypeOption. + * */ public class AccountPasswordStrengthTypeOption { @@ -32,133 +35,201 @@ public class AccountPasswordStrengthTypeOption { @JsonProperty("passwordIncludeUpperCase") private String passwordIncludeUpperCase = null; + + /** + * minimumLength. + * + * @return AccountPasswordStrengthTypeOption + **/ public AccountPasswordStrengthTypeOption minimumLength(String minimumLength) { this.minimumLength = minimumLength; return this; } - /** - * + /** + * . * @return minimumLength - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getMinimumLength() { return minimumLength; } + /** + * setMinimumLength. + **/ public void setMinimumLength(String minimumLength) { this.minimumLength = minimumLength; } + + /** + * name. + * + * @return AccountPasswordStrengthTypeOption + **/ public AccountPasswordStrengthTypeOption name(String name) { this.name = name; return this; } - /** - * + /** + * . * @return name - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * passwordIncludeDigit. + * + * @return AccountPasswordStrengthTypeOption + **/ public AccountPasswordStrengthTypeOption passwordIncludeDigit(String passwordIncludeDigit) { this.passwordIncludeDigit = passwordIncludeDigit; return this; } - /** - * + /** + * . * @return passwordIncludeDigit - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPasswordIncludeDigit() { return passwordIncludeDigit; } + /** + * setPasswordIncludeDigit. + **/ public void setPasswordIncludeDigit(String passwordIncludeDigit) { this.passwordIncludeDigit = passwordIncludeDigit; } + + /** + * passwordIncludeDigitOrSpecialCharacter. + * + * @return AccountPasswordStrengthTypeOption + **/ public AccountPasswordStrengthTypeOption passwordIncludeDigitOrSpecialCharacter(String passwordIncludeDigitOrSpecialCharacter) { this.passwordIncludeDigitOrSpecialCharacter = passwordIncludeDigitOrSpecialCharacter; return this; } - /** - * + /** + * . * @return passwordIncludeDigitOrSpecialCharacter - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPasswordIncludeDigitOrSpecialCharacter() { return passwordIncludeDigitOrSpecialCharacter; } + /** + * setPasswordIncludeDigitOrSpecialCharacter. + **/ public void setPasswordIncludeDigitOrSpecialCharacter(String passwordIncludeDigitOrSpecialCharacter) { this.passwordIncludeDigitOrSpecialCharacter = passwordIncludeDigitOrSpecialCharacter; } + + /** + * passwordIncludeLowerCase. + * + * @return AccountPasswordStrengthTypeOption + **/ public AccountPasswordStrengthTypeOption passwordIncludeLowerCase(String passwordIncludeLowerCase) { this.passwordIncludeLowerCase = passwordIncludeLowerCase; return this; } - /** - * + /** + * . * @return passwordIncludeLowerCase - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPasswordIncludeLowerCase() { return passwordIncludeLowerCase; } + /** + * setPasswordIncludeLowerCase. + **/ public void setPasswordIncludeLowerCase(String passwordIncludeLowerCase) { this.passwordIncludeLowerCase = passwordIncludeLowerCase; } + + /** + * passwordIncludeSpecialCharacter. + * + * @return AccountPasswordStrengthTypeOption + **/ public AccountPasswordStrengthTypeOption passwordIncludeSpecialCharacter(String passwordIncludeSpecialCharacter) { this.passwordIncludeSpecialCharacter = passwordIncludeSpecialCharacter; return this; } - /** - * + /** + * . * @return passwordIncludeSpecialCharacter - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPasswordIncludeSpecialCharacter() { return passwordIncludeSpecialCharacter; } + /** + * setPasswordIncludeSpecialCharacter. + **/ public void setPasswordIncludeSpecialCharacter(String passwordIncludeSpecialCharacter) { this.passwordIncludeSpecialCharacter = passwordIncludeSpecialCharacter; } + + /** + * passwordIncludeUpperCase. + * + * @return AccountPasswordStrengthTypeOption + **/ public AccountPasswordStrengthTypeOption passwordIncludeUpperCase(String passwordIncludeUpperCase) { this.passwordIncludeUpperCase = passwordIncludeUpperCase; return this; } - /** - * + /** + * . * @return passwordIncludeUpperCase - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPasswordIncludeUpperCase() { return passwordIncludeUpperCase; } + /** + * setPasswordIncludeUpperCase. + **/ public void setPasswordIncludeUpperCase(String passwordIncludeUpperCase) { this.passwordIncludeUpperCase = passwordIncludeUpperCase; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -177,12 +248,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.passwordIncludeUpperCase, accountPasswordStrengthTypeOption.passwordIncludeUpperCase); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(minimumLength, name, passwordIncludeDigit, passwordIncludeDigitOrSpecialCharacter, passwordIncludeLowerCase, passwordIncludeSpecialCharacter, passwordIncludeUpperCase); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -209,6 +286,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/AccountRoleSettings.java b/src/main/java/com/docusign/esign/model/AccountRoleSettings.java index bf4a69b0..66a39fd4 100644 --- a/src/main/java/com/docusign/esign/model/AccountRoleSettings.java +++ b/src/main/java/com/docusign/esign/model/AccountRoleSettings.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.SettingsMetadata; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * AccountRoleSettings + * AccountRoleSettings. + * */ public class AccountRoleSettings { @@ -42,6 +45,12 @@ public class AccountRoleSettings { @JsonProperty("allowApiSequentialSigningMetadata") private SettingsMetadata allowApiSequentialSigningMetadata = null; + @JsonProperty("allowAutoTagging") + private String allowAutoTagging = null; + + @JsonProperty("allowAutoTaggingMetadata") + private SettingsMetadata allowAutoTaggingMetadata = null; + @JsonProperty("allowBulkSending") private String allowBulkSending = null; @@ -216,1231 +225,1902 @@ public class AccountRoleSettings { @JsonProperty("vaultingModeMetadata") private SettingsMetadata vaultingModeMetadata = null; + + /** + * allowAccountManagement. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings allowAccountManagement(String allowAccountManagement) { this.allowAccountManagement = allowAccountManagement; return this; } - /** - * + /** + * . * @return allowAccountManagement - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAllowAccountManagement() { return allowAccountManagement; } + /** + * setAllowAccountManagement. + **/ public void setAllowAccountManagement(String allowAccountManagement) { this.allowAccountManagement = allowAccountManagement; } + + /** + * allowAccountManagementMetadata. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings allowAccountManagementMetadata(SettingsMetadata allowAccountManagementMetadata) { this.allowAccountManagementMetadata = allowAccountManagementMetadata; return this; } - /** - * Get allowAccountManagementMetadata + /** + * Get allowAccountManagementMetadata. * @return allowAccountManagementMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getAllowAccountManagementMetadata() { return allowAccountManagementMetadata; } + /** + * setAllowAccountManagementMetadata. + **/ public void setAllowAccountManagementMetadata(SettingsMetadata allowAccountManagementMetadata) { this.allowAccountManagementMetadata = allowAccountManagementMetadata; } + + /** + * allowApiAccess. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings allowApiAccess(String allowApiAccess) { this.allowApiAccess = allowApiAccess; return this; } - /** - * + /** + * . * @return allowApiAccess - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAllowApiAccess() { return allowApiAccess; } + /** + * setAllowApiAccess. + **/ public void setAllowApiAccess(String allowApiAccess) { this.allowApiAccess = allowApiAccess; } + + /** + * allowApiAccessMetadata. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings allowApiAccessMetadata(SettingsMetadata allowApiAccessMetadata) { this.allowApiAccessMetadata = allowApiAccessMetadata; return this; } - /** - * Get allowApiAccessMetadata + /** + * Get allowApiAccessMetadata. * @return allowApiAccessMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getAllowApiAccessMetadata() { return allowApiAccessMetadata; } + /** + * setAllowApiAccessMetadata. + **/ public void setAllowApiAccessMetadata(SettingsMetadata allowApiAccessMetadata) { this.allowApiAccessMetadata = allowApiAccessMetadata; } + + /** + * allowApiAccessToAccount. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings allowApiAccessToAccount(String allowApiAccessToAccount) { this.allowApiAccessToAccount = allowApiAccessToAccount; return this; } - /** - * + /** + * . * @return allowApiAccessToAccount - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAllowApiAccessToAccount() { return allowApiAccessToAccount; } + /** + * setAllowApiAccessToAccount. + **/ public void setAllowApiAccessToAccount(String allowApiAccessToAccount) { this.allowApiAccessToAccount = allowApiAccessToAccount; } + + /** + * allowApiAccessToAccountMetadata. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings allowApiAccessToAccountMetadata(SettingsMetadata allowApiAccessToAccountMetadata) { this.allowApiAccessToAccountMetadata = allowApiAccessToAccountMetadata; return this; } - /** - * Get allowApiAccessToAccountMetadata + /** + * Get allowApiAccessToAccountMetadata. * @return allowApiAccessToAccountMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getAllowApiAccessToAccountMetadata() { return allowApiAccessToAccountMetadata; } + /** + * setAllowApiAccessToAccountMetadata. + **/ public void setAllowApiAccessToAccountMetadata(SettingsMetadata allowApiAccessToAccountMetadata) { this.allowApiAccessToAccountMetadata = allowApiAccessToAccountMetadata; } + + /** + * allowApiSendingOnBehalfOfOthers. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings allowApiSendingOnBehalfOfOthers(String allowApiSendingOnBehalfOfOthers) { this.allowApiSendingOnBehalfOfOthers = allowApiSendingOnBehalfOfOthers; return this; } - /** - * + /** + * . * @return allowApiSendingOnBehalfOfOthers - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAllowApiSendingOnBehalfOfOthers() { return allowApiSendingOnBehalfOfOthers; } + /** + * setAllowApiSendingOnBehalfOfOthers. + **/ public void setAllowApiSendingOnBehalfOfOthers(String allowApiSendingOnBehalfOfOthers) { this.allowApiSendingOnBehalfOfOthers = allowApiSendingOnBehalfOfOthers; } + + /** + * allowApiSendingOnBehalfOfOthersMetadata. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings allowApiSendingOnBehalfOfOthersMetadata(SettingsMetadata allowApiSendingOnBehalfOfOthersMetadata) { this.allowApiSendingOnBehalfOfOthersMetadata = allowApiSendingOnBehalfOfOthersMetadata; return this; } - /** - * Get allowApiSendingOnBehalfOfOthersMetadata + /** + * Get allowApiSendingOnBehalfOfOthersMetadata. * @return allowApiSendingOnBehalfOfOthersMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getAllowApiSendingOnBehalfOfOthersMetadata() { return allowApiSendingOnBehalfOfOthersMetadata; } + /** + * setAllowApiSendingOnBehalfOfOthersMetadata. + **/ public void setAllowApiSendingOnBehalfOfOthersMetadata(SettingsMetadata allowApiSendingOnBehalfOfOthersMetadata) { this.allowApiSendingOnBehalfOfOthersMetadata = allowApiSendingOnBehalfOfOthersMetadata; } + + /** + * allowApiSequentialSigning. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings allowApiSequentialSigning(String allowApiSequentialSigning) { this.allowApiSequentialSigning = allowApiSequentialSigning; return this; } - /** - * + /** + * . * @return allowApiSequentialSigning - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAllowApiSequentialSigning() { return allowApiSequentialSigning; } + /** + * setAllowApiSequentialSigning. + **/ public void setAllowApiSequentialSigning(String allowApiSequentialSigning) { this.allowApiSequentialSigning = allowApiSequentialSigning; } + + /** + * allowApiSequentialSigningMetadata. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings allowApiSequentialSigningMetadata(SettingsMetadata allowApiSequentialSigningMetadata) { this.allowApiSequentialSigningMetadata = allowApiSequentialSigningMetadata; return this; } - /** - * Get allowApiSequentialSigningMetadata + /** + * Get allowApiSequentialSigningMetadata. * @return allowApiSequentialSigningMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getAllowApiSequentialSigningMetadata() { return allowApiSequentialSigningMetadata; } + /** + * setAllowApiSequentialSigningMetadata. + **/ public void setAllowApiSequentialSigningMetadata(SettingsMetadata allowApiSequentialSigningMetadata) { this.allowApiSequentialSigningMetadata = allowApiSequentialSigningMetadata; } + + /** + * allowAutoTagging. + * + * @return AccountRoleSettings + **/ + public AccountRoleSettings allowAutoTagging(String allowAutoTagging) { + this.allowAutoTagging = allowAutoTagging; + return this; + } + + /** + * . + * @return allowAutoTagging + **/ + @ApiModelProperty(value = "") + public String getAllowAutoTagging() { + return allowAutoTagging; + } + + /** + * setAllowAutoTagging. + **/ + public void setAllowAutoTagging(String allowAutoTagging) { + this.allowAutoTagging = allowAutoTagging; + } + + + /** + * allowAutoTaggingMetadata. + * + * @return AccountRoleSettings + **/ + public AccountRoleSettings allowAutoTaggingMetadata(SettingsMetadata allowAutoTaggingMetadata) { + this.allowAutoTaggingMetadata = allowAutoTaggingMetadata; + return this; + } + + /** + * Get allowAutoTaggingMetadata. + * @return allowAutoTaggingMetadata + **/ + @ApiModelProperty(value = "") + public SettingsMetadata getAllowAutoTaggingMetadata() { + return allowAutoTaggingMetadata; + } + + /** + * setAllowAutoTaggingMetadata. + **/ + public void setAllowAutoTaggingMetadata(SettingsMetadata allowAutoTaggingMetadata) { + this.allowAutoTaggingMetadata = allowAutoTaggingMetadata; + } + + + /** + * allowBulkSending. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings allowBulkSending(String allowBulkSending) { this.allowBulkSending = allowBulkSending; return this; } - /** - * + /** + * . * @return allowBulkSending - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAllowBulkSending() { return allowBulkSending; } + /** + * setAllowBulkSending. + **/ public void setAllowBulkSending(String allowBulkSending) { this.allowBulkSending = allowBulkSending; } + + /** + * allowBulkSendingMetadata. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings allowBulkSendingMetadata(SettingsMetadata allowBulkSendingMetadata) { this.allowBulkSendingMetadata = allowBulkSendingMetadata; return this; } - /** - * Get allowBulkSendingMetadata + /** + * Get allowBulkSendingMetadata. * @return allowBulkSendingMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getAllowBulkSendingMetadata() { return allowBulkSendingMetadata; } + /** + * setAllowBulkSendingMetadata. + **/ public void setAllowBulkSendingMetadata(SettingsMetadata allowBulkSendingMetadata) { this.allowBulkSendingMetadata = allowBulkSendingMetadata; } + + /** + * allowDocuSignDesktopClient. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings allowDocuSignDesktopClient(String allowDocuSignDesktopClient) { this.allowDocuSignDesktopClient = allowDocuSignDesktopClient; return this; } - /** - * + /** + * . * @return allowDocuSignDesktopClient - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAllowDocuSignDesktopClient() { return allowDocuSignDesktopClient; } + /** + * setAllowDocuSignDesktopClient. + **/ public void setAllowDocuSignDesktopClient(String allowDocuSignDesktopClient) { this.allowDocuSignDesktopClient = allowDocuSignDesktopClient; } + + /** + * allowDocuSignDesktopClientMetadata. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings allowDocuSignDesktopClientMetadata(SettingsMetadata allowDocuSignDesktopClientMetadata) { this.allowDocuSignDesktopClientMetadata = allowDocuSignDesktopClientMetadata; return this; } - /** - * Get allowDocuSignDesktopClientMetadata + /** + * Get allowDocuSignDesktopClientMetadata. * @return allowDocuSignDesktopClientMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getAllowDocuSignDesktopClientMetadata() { return allowDocuSignDesktopClientMetadata; } + /** + * setAllowDocuSignDesktopClientMetadata. + **/ public void setAllowDocuSignDesktopClientMetadata(SettingsMetadata allowDocuSignDesktopClientMetadata) { this.allowDocuSignDesktopClientMetadata = allowDocuSignDesktopClientMetadata; } + + /** + * allowedAddressBookAccess. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings allowedAddressBookAccess(String allowedAddressBookAccess) { this.allowedAddressBookAccess = allowedAddressBookAccess; return this; } - /** - * + /** + * . * @return allowedAddressBookAccess - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAllowedAddressBookAccess() { return allowedAddressBookAccess; } + /** + * setAllowedAddressBookAccess. + **/ public void setAllowedAddressBookAccess(String allowedAddressBookAccess) { this.allowedAddressBookAccess = allowedAddressBookAccess; } + + /** + * allowedAddressBookAccessMetadata. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings allowedAddressBookAccessMetadata(SettingsMetadata allowedAddressBookAccessMetadata) { this.allowedAddressBookAccessMetadata = allowedAddressBookAccessMetadata; return this; } - /** - * Get allowedAddressBookAccessMetadata + /** + * Get allowedAddressBookAccessMetadata. * @return allowedAddressBookAccessMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getAllowedAddressBookAccessMetadata() { return allowedAddressBookAccessMetadata; } + /** + * setAllowedAddressBookAccessMetadata. + **/ public void setAllowedAddressBookAccessMetadata(SettingsMetadata allowedAddressBookAccessMetadata) { this.allowedAddressBookAccessMetadata = allowedAddressBookAccessMetadata; } + + /** + * allowedTemplateAccess. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings allowedTemplateAccess(String allowedTemplateAccess) { this.allowedTemplateAccess = allowedTemplateAccess; return this; } - /** - * + /** + * . * @return allowedTemplateAccess - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAllowedTemplateAccess() { return allowedTemplateAccess; } + /** + * setAllowedTemplateAccess. + **/ public void setAllowedTemplateAccess(String allowedTemplateAccess) { this.allowedTemplateAccess = allowedTemplateAccess; } + + /** + * allowedTemplateAccessMetadata. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings allowedTemplateAccessMetadata(SettingsMetadata allowedTemplateAccessMetadata) { this.allowedTemplateAccessMetadata = allowedTemplateAccessMetadata; return this; } - /** - * Get allowedTemplateAccessMetadata + /** + * Get allowedTemplateAccessMetadata. * @return allowedTemplateAccessMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getAllowedTemplateAccessMetadata() { return allowedTemplateAccessMetadata; } + /** + * setAllowedTemplateAccessMetadata. + **/ public void setAllowedTemplateAccessMetadata(SettingsMetadata allowedTemplateAccessMetadata) { this.allowedTemplateAccessMetadata = allowedTemplateAccessMetadata; } + + /** + * allowedToBeEnvelopeTransferRecipient. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings allowedToBeEnvelopeTransferRecipient(String allowedToBeEnvelopeTransferRecipient) { this.allowedToBeEnvelopeTransferRecipient = allowedToBeEnvelopeTransferRecipient; return this; } - /** - * + /** + * . * @return allowedToBeEnvelopeTransferRecipient - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAllowedToBeEnvelopeTransferRecipient() { return allowedToBeEnvelopeTransferRecipient; } + /** + * setAllowedToBeEnvelopeTransferRecipient. + **/ public void setAllowedToBeEnvelopeTransferRecipient(String allowedToBeEnvelopeTransferRecipient) { this.allowedToBeEnvelopeTransferRecipient = allowedToBeEnvelopeTransferRecipient; } + + /** + * allowedToBeEnvelopeTransferRecipientMetadata. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings allowedToBeEnvelopeTransferRecipientMetadata(SettingsMetadata allowedToBeEnvelopeTransferRecipientMetadata) { this.allowedToBeEnvelopeTransferRecipientMetadata = allowedToBeEnvelopeTransferRecipientMetadata; return this; } - /** - * Get allowedToBeEnvelopeTransferRecipientMetadata + /** + * Get allowedToBeEnvelopeTransferRecipientMetadata. * @return allowedToBeEnvelopeTransferRecipientMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getAllowedToBeEnvelopeTransferRecipientMetadata() { return allowedToBeEnvelopeTransferRecipientMetadata; } + /** + * setAllowedToBeEnvelopeTransferRecipientMetadata. + **/ public void setAllowedToBeEnvelopeTransferRecipientMetadata(SettingsMetadata allowedToBeEnvelopeTransferRecipientMetadata) { this.allowedToBeEnvelopeTransferRecipientMetadata = allowedToBeEnvelopeTransferRecipientMetadata; } + + /** + * allowEnvelopeSending. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings allowEnvelopeSending(String allowEnvelopeSending) { this.allowEnvelopeSending = allowEnvelopeSending; return this; } - /** - * + /** + * . * @return allowEnvelopeSending - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAllowEnvelopeSending() { return allowEnvelopeSending; } + /** + * setAllowEnvelopeSending. + **/ public void setAllowEnvelopeSending(String allowEnvelopeSending) { this.allowEnvelopeSending = allowEnvelopeSending; } + + /** + * allowEnvelopeSendingMetadata. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings allowEnvelopeSendingMetadata(SettingsMetadata allowEnvelopeSendingMetadata) { this.allowEnvelopeSendingMetadata = allowEnvelopeSendingMetadata; return this; } - /** - * Get allowEnvelopeSendingMetadata + /** + * Get allowEnvelopeSendingMetadata. * @return allowEnvelopeSendingMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getAllowEnvelopeSendingMetadata() { return allowEnvelopeSendingMetadata; } + /** + * setAllowEnvelopeSendingMetadata. + **/ public void setAllowEnvelopeSendingMetadata(SettingsMetadata allowEnvelopeSendingMetadata) { this.allowEnvelopeSendingMetadata = allowEnvelopeSendingMetadata; } + + /** + * allowESealRecipients. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings allowESealRecipients(String allowESealRecipients) { this.allowESealRecipients = allowESealRecipients; return this; } - /** - * + /** + * . * @return allowESealRecipients - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAllowESealRecipients() { return allowESealRecipients; } + /** + * setAllowESealRecipients. + **/ public void setAllowESealRecipients(String allowESealRecipients) { this.allowESealRecipients = allowESealRecipients; } + + /** + * allowESealRecipientsMetadata. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings allowESealRecipientsMetadata(SettingsMetadata allowESealRecipientsMetadata) { this.allowESealRecipientsMetadata = allowESealRecipientsMetadata; return this; } - /** - * Get allowESealRecipientsMetadata + /** + * Get allowESealRecipientsMetadata. * @return allowESealRecipientsMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getAllowESealRecipientsMetadata() { return allowESealRecipientsMetadata; } + /** + * setAllowESealRecipientsMetadata. + **/ public void setAllowESealRecipientsMetadata(SettingsMetadata allowESealRecipientsMetadata) { this.allowESealRecipientsMetadata = allowESealRecipientsMetadata; } + + /** + * allowPowerFormsAdminToAccessAllPowerFormEnvelopes. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings allowPowerFormsAdminToAccessAllPowerFormEnvelopes(String allowPowerFormsAdminToAccessAllPowerFormEnvelopes) { this.allowPowerFormsAdminToAccessAllPowerFormEnvelopes = allowPowerFormsAdminToAccessAllPowerFormEnvelopes; return this; } - /** - * + /** + * . * @return allowPowerFormsAdminToAccessAllPowerFormEnvelopes - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAllowPowerFormsAdminToAccessAllPowerFormEnvelopes() { return allowPowerFormsAdminToAccessAllPowerFormEnvelopes; } + /** + * setAllowPowerFormsAdminToAccessAllPowerFormEnvelopes. + **/ public void setAllowPowerFormsAdminToAccessAllPowerFormEnvelopes(String allowPowerFormsAdminToAccessAllPowerFormEnvelopes) { this.allowPowerFormsAdminToAccessAllPowerFormEnvelopes = allowPowerFormsAdminToAccessAllPowerFormEnvelopes; } + + /** + * allowPowerFormsAdminToAccessAllPowerFormEnvelopesMetadata. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings allowPowerFormsAdminToAccessAllPowerFormEnvelopesMetadata(SettingsMetadata allowPowerFormsAdminToAccessAllPowerFormEnvelopesMetadata) { this.allowPowerFormsAdminToAccessAllPowerFormEnvelopesMetadata = allowPowerFormsAdminToAccessAllPowerFormEnvelopesMetadata; return this; } - /** - * Get allowPowerFormsAdminToAccessAllPowerFormEnvelopesMetadata + /** + * Get allowPowerFormsAdminToAccessAllPowerFormEnvelopesMetadata. * @return allowPowerFormsAdminToAccessAllPowerFormEnvelopesMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getAllowPowerFormsAdminToAccessAllPowerFormEnvelopesMetadata() { return allowPowerFormsAdminToAccessAllPowerFormEnvelopesMetadata; } + /** + * setAllowPowerFormsAdminToAccessAllPowerFormEnvelopesMetadata. + **/ public void setAllowPowerFormsAdminToAccessAllPowerFormEnvelopesMetadata(SettingsMetadata allowPowerFormsAdminToAccessAllPowerFormEnvelopesMetadata) { this.allowPowerFormsAdminToAccessAllPowerFormEnvelopesMetadata = allowPowerFormsAdminToAccessAllPowerFormEnvelopesMetadata; } + + /** + * allowSendersToSetRecipientEmailLanguage. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings allowSendersToSetRecipientEmailLanguage(String allowSendersToSetRecipientEmailLanguage) { this.allowSendersToSetRecipientEmailLanguage = allowSendersToSetRecipientEmailLanguage; return this; } - /** - * + /** + * . * @return allowSendersToSetRecipientEmailLanguage - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAllowSendersToSetRecipientEmailLanguage() { return allowSendersToSetRecipientEmailLanguage; } + /** + * setAllowSendersToSetRecipientEmailLanguage. + **/ public void setAllowSendersToSetRecipientEmailLanguage(String allowSendersToSetRecipientEmailLanguage) { this.allowSendersToSetRecipientEmailLanguage = allowSendersToSetRecipientEmailLanguage; } + + /** + * allowSendersToSetRecipientEmailLanguageMetadata. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings allowSendersToSetRecipientEmailLanguageMetadata(SettingsMetadata allowSendersToSetRecipientEmailLanguageMetadata) { this.allowSendersToSetRecipientEmailLanguageMetadata = allowSendersToSetRecipientEmailLanguageMetadata; return this; } - /** - * Get allowSendersToSetRecipientEmailLanguageMetadata + /** + * Get allowSendersToSetRecipientEmailLanguageMetadata. * @return allowSendersToSetRecipientEmailLanguageMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getAllowSendersToSetRecipientEmailLanguageMetadata() { return allowSendersToSetRecipientEmailLanguageMetadata; } + /** + * setAllowSendersToSetRecipientEmailLanguageMetadata. + **/ public void setAllowSendersToSetRecipientEmailLanguageMetadata(SettingsMetadata allowSendersToSetRecipientEmailLanguageMetadata) { this.allowSendersToSetRecipientEmailLanguageMetadata = allowSendersToSetRecipientEmailLanguageMetadata; } + + /** + * allowSignerAttachments. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings allowSignerAttachments(String allowSignerAttachments) { this.allowSignerAttachments = allowSignerAttachments; return this; } - /** - * + /** + * . * @return allowSignerAttachments - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAllowSignerAttachments() { return allowSignerAttachments; } + /** + * setAllowSignerAttachments. + **/ public void setAllowSignerAttachments(String allowSignerAttachments) { this.allowSignerAttachments = allowSignerAttachments; } + + /** + * allowSignerAttachmentsMetadata. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings allowSignerAttachmentsMetadata(SettingsMetadata allowSignerAttachmentsMetadata) { this.allowSignerAttachmentsMetadata = allowSignerAttachmentsMetadata; return this; } - /** - * Get allowSignerAttachmentsMetadata + /** + * Get allowSignerAttachmentsMetadata. * @return allowSignerAttachmentsMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getAllowSignerAttachmentsMetadata() { return allowSignerAttachmentsMetadata; } + /** + * setAllowSignerAttachmentsMetadata. + **/ public void setAllowSignerAttachmentsMetadata(SettingsMetadata allowSignerAttachmentsMetadata) { this.allowSignerAttachmentsMetadata = allowSignerAttachmentsMetadata; } + + /** + * allowSupplementalDocuments. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings allowSupplementalDocuments(String allowSupplementalDocuments) { this.allowSupplementalDocuments = allowSupplementalDocuments; return this; } - /** - * + /** + * . * @return allowSupplementalDocuments - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAllowSupplementalDocuments() { return allowSupplementalDocuments; } + /** + * setAllowSupplementalDocuments. + **/ public void setAllowSupplementalDocuments(String allowSupplementalDocuments) { this.allowSupplementalDocuments = allowSupplementalDocuments; } + + /** + * allowSupplementalDocumentsMetadata. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings allowSupplementalDocumentsMetadata(SettingsMetadata allowSupplementalDocumentsMetadata) { this.allowSupplementalDocumentsMetadata = allowSupplementalDocumentsMetadata; return this; } - /** - * Get allowSupplementalDocumentsMetadata + /** + * Get allowSupplementalDocumentsMetadata. * @return allowSupplementalDocumentsMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getAllowSupplementalDocumentsMetadata() { return allowSupplementalDocumentsMetadata; } + /** + * setAllowSupplementalDocumentsMetadata. + **/ public void setAllowSupplementalDocumentsMetadata(SettingsMetadata allowSupplementalDocumentsMetadata) { this.allowSupplementalDocumentsMetadata = allowSupplementalDocumentsMetadata; } + + /** + * allowTaggingInSendAndCorrect. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings allowTaggingInSendAndCorrect(String allowTaggingInSendAndCorrect) { this.allowTaggingInSendAndCorrect = allowTaggingInSendAndCorrect; return this; } - /** - * + /** + * . * @return allowTaggingInSendAndCorrect - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAllowTaggingInSendAndCorrect() { return allowTaggingInSendAndCorrect; } + /** + * setAllowTaggingInSendAndCorrect. + **/ public void setAllowTaggingInSendAndCorrect(String allowTaggingInSendAndCorrect) { this.allowTaggingInSendAndCorrect = allowTaggingInSendAndCorrect; } + + /** + * allowTaggingInSendAndCorrectMetadata. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings allowTaggingInSendAndCorrectMetadata(SettingsMetadata allowTaggingInSendAndCorrectMetadata) { this.allowTaggingInSendAndCorrectMetadata = allowTaggingInSendAndCorrectMetadata; return this; } - /** - * Get allowTaggingInSendAndCorrectMetadata + /** + * Get allowTaggingInSendAndCorrectMetadata. * @return allowTaggingInSendAndCorrectMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getAllowTaggingInSendAndCorrectMetadata() { return allowTaggingInSendAndCorrectMetadata; } + /** + * setAllowTaggingInSendAndCorrectMetadata. + **/ public void setAllowTaggingInSendAndCorrectMetadata(SettingsMetadata allowTaggingInSendAndCorrectMetadata) { this.allowTaggingInSendAndCorrectMetadata = allowTaggingInSendAndCorrectMetadata; } + + /** + * allowVaulting. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings allowVaulting(String allowVaulting) { this.allowVaulting = allowVaulting; return this; } - /** - * + /** + * . * @return allowVaulting - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAllowVaulting() { return allowVaulting; } + /** + * setAllowVaulting. + **/ public void setAllowVaulting(String allowVaulting) { this.allowVaulting = allowVaulting; } + + /** + * allowVaultingMetadata. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings allowVaultingMetadata(SettingsMetadata allowVaultingMetadata) { this.allowVaultingMetadata = allowVaultingMetadata; return this; } - /** - * Get allowVaultingMetadata + /** + * Get allowVaultingMetadata. * @return allowVaultingMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getAllowVaultingMetadata() { return allowVaultingMetadata; } + /** + * setAllowVaultingMetadata. + **/ public void setAllowVaultingMetadata(SettingsMetadata allowVaultingMetadata) { this.allowVaultingMetadata = allowVaultingMetadata; } + + /** + * allowWetSigningOverride. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings allowWetSigningOverride(String allowWetSigningOverride) { this.allowWetSigningOverride = allowWetSigningOverride; return this; } - /** - * + /** + * . * @return allowWetSigningOverride - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAllowWetSigningOverride() { return allowWetSigningOverride; } + /** + * setAllowWetSigningOverride. + **/ public void setAllowWetSigningOverride(String allowWetSigningOverride) { this.allowWetSigningOverride = allowWetSigningOverride; } + + /** + * allowWetSigningOverrideMetadata. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings allowWetSigningOverrideMetadata(SettingsMetadata allowWetSigningOverrideMetadata) { this.allowWetSigningOverrideMetadata = allowWetSigningOverrideMetadata; return this; } - /** - * Get allowWetSigningOverrideMetadata + /** + * Get allowWetSigningOverrideMetadata. * @return allowWetSigningOverrideMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getAllowWetSigningOverrideMetadata() { return allowWetSigningOverrideMetadata; } + /** + * setAllowWetSigningOverrideMetadata. + **/ public void setAllowWetSigningOverrideMetadata(SettingsMetadata allowWetSigningOverrideMetadata) { this.allowWetSigningOverrideMetadata = allowWetSigningOverrideMetadata; } + + /** + * canCreateWorkspaces. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings canCreateWorkspaces(String canCreateWorkspaces) { this.canCreateWorkspaces = canCreateWorkspaces; return this; } - /** - * + /** + * . * @return canCreateWorkspaces - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getCanCreateWorkspaces() { return canCreateWorkspaces; } + /** + * setCanCreateWorkspaces. + **/ public void setCanCreateWorkspaces(String canCreateWorkspaces) { this.canCreateWorkspaces = canCreateWorkspaces; } + + /** + * canCreateWorkspacesMetadata. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings canCreateWorkspacesMetadata(SettingsMetadata canCreateWorkspacesMetadata) { this.canCreateWorkspacesMetadata = canCreateWorkspacesMetadata; return this; } - /** - * Get canCreateWorkspacesMetadata + /** + * Get canCreateWorkspacesMetadata. * @return canCreateWorkspacesMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getCanCreateWorkspacesMetadata() { return canCreateWorkspacesMetadata; } + /** + * setCanCreateWorkspacesMetadata. + **/ public void setCanCreateWorkspacesMetadata(SettingsMetadata canCreateWorkspacesMetadata) { this.canCreateWorkspacesMetadata = canCreateWorkspacesMetadata; } + + /** + * disableDocumentUpload. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings disableDocumentUpload(String disableDocumentUpload) { this.disableDocumentUpload = disableDocumentUpload; return this; } - /** - * + /** + * . * @return disableDocumentUpload - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getDisableDocumentUpload() { return disableDocumentUpload; } + /** + * setDisableDocumentUpload. + **/ public void setDisableDocumentUpload(String disableDocumentUpload) { this.disableDocumentUpload = disableDocumentUpload; } + + /** + * disableDocumentUploadMetadata. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings disableDocumentUploadMetadata(SettingsMetadata disableDocumentUploadMetadata) { this.disableDocumentUploadMetadata = disableDocumentUploadMetadata; return this; } - /** - * Get disableDocumentUploadMetadata + /** + * Get disableDocumentUploadMetadata. * @return disableDocumentUploadMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getDisableDocumentUploadMetadata() { return disableDocumentUploadMetadata; } + /** + * setDisableDocumentUploadMetadata. + **/ public void setDisableDocumentUploadMetadata(SettingsMetadata disableDocumentUploadMetadata) { this.disableDocumentUploadMetadata = disableDocumentUploadMetadata; } + + /** + * disableOtherActions. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings disableOtherActions(String disableOtherActions) { this.disableOtherActions = disableOtherActions; return this; } - /** - * + /** + * . * @return disableOtherActions - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getDisableOtherActions() { return disableOtherActions; } + /** + * setDisableOtherActions. + **/ public void setDisableOtherActions(String disableOtherActions) { this.disableOtherActions = disableOtherActions; } + + /** + * disableOtherActionsMetadata. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings disableOtherActionsMetadata(SettingsMetadata disableOtherActionsMetadata) { this.disableOtherActionsMetadata = disableOtherActionsMetadata; return this; } - /** - * Get disableOtherActionsMetadata + /** + * Get disableOtherActionsMetadata. * @return disableOtherActionsMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getDisableOtherActionsMetadata() { return disableOtherActionsMetadata; } + /** + * setDisableOtherActionsMetadata. + **/ public void setDisableOtherActionsMetadata(SettingsMetadata disableOtherActionsMetadata) { this.disableOtherActionsMetadata = disableOtherActionsMetadata; } + + /** + * enableApiRequestLogging. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings enableApiRequestLogging(String enableApiRequestLogging) { this.enableApiRequestLogging = enableApiRequestLogging; return this; } - /** - * + /** + * . * @return enableApiRequestLogging - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getEnableApiRequestLogging() { return enableApiRequestLogging; } + /** + * setEnableApiRequestLogging. + **/ public void setEnableApiRequestLogging(String enableApiRequestLogging) { this.enableApiRequestLogging = enableApiRequestLogging; } + + /** + * enableApiRequestLoggingMetadata. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings enableApiRequestLoggingMetadata(SettingsMetadata enableApiRequestLoggingMetadata) { this.enableApiRequestLoggingMetadata = enableApiRequestLoggingMetadata; return this; } - /** - * Get enableApiRequestLoggingMetadata + /** + * Get enableApiRequestLoggingMetadata. * @return enableApiRequestLoggingMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getEnableApiRequestLoggingMetadata() { return enableApiRequestLoggingMetadata; } + /** + * setEnableApiRequestLoggingMetadata. + **/ public void setEnableApiRequestLoggingMetadata(SettingsMetadata enableApiRequestLoggingMetadata) { this.enableApiRequestLoggingMetadata = enableApiRequestLoggingMetadata; } + + /** + * enableRecipientViewingNotifications. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings enableRecipientViewingNotifications(String enableRecipientViewingNotifications) { this.enableRecipientViewingNotifications = enableRecipientViewingNotifications; return this; } - /** - * + /** + * . * @return enableRecipientViewingNotifications - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getEnableRecipientViewingNotifications() { return enableRecipientViewingNotifications; } + /** + * setEnableRecipientViewingNotifications. + **/ public void setEnableRecipientViewingNotifications(String enableRecipientViewingNotifications) { this.enableRecipientViewingNotifications = enableRecipientViewingNotifications; } + + /** + * enableRecipientViewingNotificationsMetadata. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings enableRecipientViewingNotificationsMetadata(SettingsMetadata enableRecipientViewingNotificationsMetadata) { this.enableRecipientViewingNotificationsMetadata = enableRecipientViewingNotificationsMetadata; return this; } - /** - * Get enableRecipientViewingNotificationsMetadata + /** + * Get enableRecipientViewingNotificationsMetadata. * @return enableRecipientViewingNotificationsMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getEnableRecipientViewingNotificationsMetadata() { return enableRecipientViewingNotificationsMetadata; } + /** + * setEnableRecipientViewingNotificationsMetadata. + **/ public void setEnableRecipientViewingNotificationsMetadata(SettingsMetadata enableRecipientViewingNotificationsMetadata) { this.enableRecipientViewingNotificationsMetadata = enableRecipientViewingNotificationsMetadata; } + + /** + * enableSequentialSigningInterface. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings enableSequentialSigningInterface(String enableSequentialSigningInterface) { this.enableSequentialSigningInterface = enableSequentialSigningInterface; return this; } - /** - * + /** + * . * @return enableSequentialSigningInterface - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getEnableSequentialSigningInterface() { return enableSequentialSigningInterface; } + /** + * setEnableSequentialSigningInterface. + **/ public void setEnableSequentialSigningInterface(String enableSequentialSigningInterface) { this.enableSequentialSigningInterface = enableSequentialSigningInterface; } + + /** + * enableSequentialSigningInterfaceMetadata. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings enableSequentialSigningInterfaceMetadata(SettingsMetadata enableSequentialSigningInterfaceMetadata) { this.enableSequentialSigningInterfaceMetadata = enableSequentialSigningInterfaceMetadata; return this; } - /** - * Get enableSequentialSigningInterfaceMetadata + /** + * Get enableSequentialSigningInterfaceMetadata. * @return enableSequentialSigningInterfaceMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getEnableSequentialSigningInterfaceMetadata() { return enableSequentialSigningInterfaceMetadata; } + /** + * setEnableSequentialSigningInterfaceMetadata. + **/ public void setEnableSequentialSigningInterfaceMetadata(SettingsMetadata enableSequentialSigningInterfaceMetadata) { this.enableSequentialSigningInterfaceMetadata = enableSequentialSigningInterfaceMetadata; } + + /** + * enableTransactionPointIntegration. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings enableTransactionPointIntegration(String enableTransactionPointIntegration) { this.enableTransactionPointIntegration = enableTransactionPointIntegration; return this; } - /** - * + /** + * . * @return enableTransactionPointIntegration - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getEnableTransactionPointIntegration() { return enableTransactionPointIntegration; } + /** + * setEnableTransactionPointIntegration. + **/ public void setEnableTransactionPointIntegration(String enableTransactionPointIntegration) { this.enableTransactionPointIntegration = enableTransactionPointIntegration; } + + /** + * enableTransactionPointIntegrationMetadata. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings enableTransactionPointIntegrationMetadata(SettingsMetadata enableTransactionPointIntegrationMetadata) { this.enableTransactionPointIntegrationMetadata = enableTransactionPointIntegrationMetadata; return this; } - /** - * Get enableTransactionPointIntegrationMetadata + /** + * Get enableTransactionPointIntegrationMetadata. * @return enableTransactionPointIntegrationMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getEnableTransactionPointIntegrationMetadata() { return enableTransactionPointIntegrationMetadata; } + /** + * setEnableTransactionPointIntegrationMetadata. + **/ public void setEnableTransactionPointIntegrationMetadata(SettingsMetadata enableTransactionPointIntegrationMetadata) { this.enableTransactionPointIntegrationMetadata = enableTransactionPointIntegrationMetadata; } + + /** + * powerFormRole. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings powerFormRole(String powerFormRole) { this.powerFormRole = powerFormRole; return this; } - /** - * + /** + * . * @return powerFormRole - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPowerFormRole() { return powerFormRole; } + /** + * setPowerFormRole. + **/ public void setPowerFormRole(String powerFormRole) { this.powerFormRole = powerFormRole; } + + /** + * powerFormRoleMetadata. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings powerFormRoleMetadata(SettingsMetadata powerFormRoleMetadata) { this.powerFormRoleMetadata = powerFormRoleMetadata; return this; } - /** - * Get powerFormRoleMetadata + /** + * Get powerFormRoleMetadata. * @return powerFormRoleMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getPowerFormRoleMetadata() { return powerFormRoleMetadata; } + /** + * setPowerFormRoleMetadata. + **/ public void setPowerFormRoleMetadata(SettingsMetadata powerFormRoleMetadata) { this.powerFormRoleMetadata = powerFormRoleMetadata; } + + /** + * receiveCompletedSelfSignedDocumentsAsEmailLinks. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings receiveCompletedSelfSignedDocumentsAsEmailLinks(String receiveCompletedSelfSignedDocumentsAsEmailLinks) { this.receiveCompletedSelfSignedDocumentsAsEmailLinks = receiveCompletedSelfSignedDocumentsAsEmailLinks; return this; } - /** - * + /** + * . * @return receiveCompletedSelfSignedDocumentsAsEmailLinks - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getReceiveCompletedSelfSignedDocumentsAsEmailLinks() { return receiveCompletedSelfSignedDocumentsAsEmailLinks; } + /** + * setReceiveCompletedSelfSignedDocumentsAsEmailLinks. + **/ public void setReceiveCompletedSelfSignedDocumentsAsEmailLinks(String receiveCompletedSelfSignedDocumentsAsEmailLinks) { this.receiveCompletedSelfSignedDocumentsAsEmailLinks = receiveCompletedSelfSignedDocumentsAsEmailLinks; } + + /** + * receiveCompletedSelfSignedDocumentsAsEmailLinksMetadata. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings receiveCompletedSelfSignedDocumentsAsEmailLinksMetadata(SettingsMetadata receiveCompletedSelfSignedDocumentsAsEmailLinksMetadata) { this.receiveCompletedSelfSignedDocumentsAsEmailLinksMetadata = receiveCompletedSelfSignedDocumentsAsEmailLinksMetadata; return this; } - /** - * Get receiveCompletedSelfSignedDocumentsAsEmailLinksMetadata + /** + * Get receiveCompletedSelfSignedDocumentsAsEmailLinksMetadata. * @return receiveCompletedSelfSignedDocumentsAsEmailLinksMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getReceiveCompletedSelfSignedDocumentsAsEmailLinksMetadata() { return receiveCompletedSelfSignedDocumentsAsEmailLinksMetadata; } + /** + * setReceiveCompletedSelfSignedDocumentsAsEmailLinksMetadata. + **/ public void setReceiveCompletedSelfSignedDocumentsAsEmailLinksMetadata(SettingsMetadata receiveCompletedSelfSignedDocumentsAsEmailLinksMetadata) { this.receiveCompletedSelfSignedDocumentsAsEmailLinksMetadata = receiveCompletedSelfSignedDocumentsAsEmailLinksMetadata; } + + /** + * supplementalDocumentsMustAccept. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings supplementalDocumentsMustAccept(String supplementalDocumentsMustAccept) { this.supplementalDocumentsMustAccept = supplementalDocumentsMustAccept; return this; } - /** - * + /** + * . * @return supplementalDocumentsMustAccept - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSupplementalDocumentsMustAccept() { return supplementalDocumentsMustAccept; } + /** + * setSupplementalDocumentsMustAccept. + **/ public void setSupplementalDocumentsMustAccept(String supplementalDocumentsMustAccept) { this.supplementalDocumentsMustAccept = supplementalDocumentsMustAccept; } + + /** + * supplementalDocumentsMustAcceptMetadata. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings supplementalDocumentsMustAcceptMetadata(SettingsMetadata supplementalDocumentsMustAcceptMetadata) { this.supplementalDocumentsMustAcceptMetadata = supplementalDocumentsMustAcceptMetadata; return this; } - /** - * Get supplementalDocumentsMustAcceptMetadata + /** + * Get supplementalDocumentsMustAcceptMetadata. * @return supplementalDocumentsMustAcceptMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getSupplementalDocumentsMustAcceptMetadata() { return supplementalDocumentsMustAcceptMetadata; } + /** + * setSupplementalDocumentsMustAcceptMetadata. + **/ public void setSupplementalDocumentsMustAcceptMetadata(SettingsMetadata supplementalDocumentsMustAcceptMetadata) { this.supplementalDocumentsMustAcceptMetadata = supplementalDocumentsMustAcceptMetadata; } + + /** + * supplementalDocumentsMustRead. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings supplementalDocumentsMustRead(String supplementalDocumentsMustRead) { this.supplementalDocumentsMustRead = supplementalDocumentsMustRead; return this; } - /** - * + /** + * . * @return supplementalDocumentsMustRead - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSupplementalDocumentsMustRead() { return supplementalDocumentsMustRead; } + /** + * setSupplementalDocumentsMustRead. + **/ public void setSupplementalDocumentsMustRead(String supplementalDocumentsMustRead) { this.supplementalDocumentsMustRead = supplementalDocumentsMustRead; } + + /** + * supplementalDocumentsMustReadMetadata. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings supplementalDocumentsMustReadMetadata(SettingsMetadata supplementalDocumentsMustReadMetadata) { this.supplementalDocumentsMustReadMetadata = supplementalDocumentsMustReadMetadata; return this; } - /** - * Get supplementalDocumentsMustReadMetadata + /** + * Get supplementalDocumentsMustReadMetadata. * @return supplementalDocumentsMustReadMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getSupplementalDocumentsMustReadMetadata() { return supplementalDocumentsMustReadMetadata; } + /** + * setSupplementalDocumentsMustReadMetadata. + **/ public void setSupplementalDocumentsMustReadMetadata(SettingsMetadata supplementalDocumentsMustReadMetadata) { this.supplementalDocumentsMustReadMetadata = supplementalDocumentsMustReadMetadata; } + + /** + * supplementalDocumentsMustView. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings supplementalDocumentsMustView(String supplementalDocumentsMustView) { this.supplementalDocumentsMustView = supplementalDocumentsMustView; return this; } - /** - * + /** + * . * @return supplementalDocumentsMustView - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSupplementalDocumentsMustView() { return supplementalDocumentsMustView; } + /** + * setSupplementalDocumentsMustView. + **/ public void setSupplementalDocumentsMustView(String supplementalDocumentsMustView) { this.supplementalDocumentsMustView = supplementalDocumentsMustView; } + + /** + * supplementalDocumentsMustViewMetadata. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings supplementalDocumentsMustViewMetadata(SettingsMetadata supplementalDocumentsMustViewMetadata) { this.supplementalDocumentsMustViewMetadata = supplementalDocumentsMustViewMetadata; return this; } - /** - * Get supplementalDocumentsMustViewMetadata + /** + * Get supplementalDocumentsMustViewMetadata. * @return supplementalDocumentsMustViewMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getSupplementalDocumentsMustViewMetadata() { return supplementalDocumentsMustViewMetadata; } + /** + * setSupplementalDocumentsMustViewMetadata. + **/ public void setSupplementalDocumentsMustViewMetadata(SettingsMetadata supplementalDocumentsMustViewMetadata) { this.supplementalDocumentsMustViewMetadata = supplementalDocumentsMustViewMetadata; } + + /** + * useNewDocuSignExperienceInterface. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings useNewDocuSignExperienceInterface(String useNewDocuSignExperienceInterface) { this.useNewDocuSignExperienceInterface = useNewDocuSignExperienceInterface; return this; } - /** - * + /** + * . * @return useNewDocuSignExperienceInterface - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getUseNewDocuSignExperienceInterface() { return useNewDocuSignExperienceInterface; } + /** + * setUseNewDocuSignExperienceInterface. + **/ public void setUseNewDocuSignExperienceInterface(String useNewDocuSignExperienceInterface) { this.useNewDocuSignExperienceInterface = useNewDocuSignExperienceInterface; } + + /** + * useNewDocuSignExperienceInterfaceMetadata. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings useNewDocuSignExperienceInterfaceMetadata(SettingsMetadata useNewDocuSignExperienceInterfaceMetadata) { this.useNewDocuSignExperienceInterfaceMetadata = useNewDocuSignExperienceInterfaceMetadata; return this; } - /** - * Get useNewDocuSignExperienceInterfaceMetadata + /** + * Get useNewDocuSignExperienceInterfaceMetadata. * @return useNewDocuSignExperienceInterfaceMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getUseNewDocuSignExperienceInterfaceMetadata() { return useNewDocuSignExperienceInterfaceMetadata; } + /** + * setUseNewDocuSignExperienceInterfaceMetadata. + **/ public void setUseNewDocuSignExperienceInterfaceMetadata(SettingsMetadata useNewDocuSignExperienceInterfaceMetadata) { this.useNewDocuSignExperienceInterfaceMetadata = useNewDocuSignExperienceInterfaceMetadata; } + + /** + * useNewSendingInterface. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings useNewSendingInterface(String useNewSendingInterface) { this.useNewSendingInterface = useNewSendingInterface; return this; } - /** - * + /** + * . * @return useNewSendingInterface - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getUseNewSendingInterface() { return useNewSendingInterface; } + /** + * setUseNewSendingInterface. + **/ public void setUseNewSendingInterface(String useNewSendingInterface) { this.useNewSendingInterface = useNewSendingInterface; } + + /** + * useNewSendingInterfaceMetadata. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings useNewSendingInterfaceMetadata(SettingsMetadata useNewSendingInterfaceMetadata) { this.useNewSendingInterfaceMetadata = useNewSendingInterfaceMetadata; return this; } - /** - * Get useNewSendingInterfaceMetadata + /** + * Get useNewSendingInterfaceMetadata. * @return useNewSendingInterfaceMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getUseNewSendingInterfaceMetadata() { return useNewSendingInterfaceMetadata; } + /** + * setUseNewSendingInterfaceMetadata. + **/ public void setUseNewSendingInterfaceMetadata(SettingsMetadata useNewSendingInterfaceMetadata) { this.useNewSendingInterfaceMetadata = useNewSendingInterfaceMetadata; } + + /** + * vaultingMode. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings vaultingMode(String vaultingMode) { this.vaultingMode = vaultingMode; return this; } - /** - * + /** + * . * @return vaultingMode - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getVaultingMode() { return vaultingMode; } + /** + * setVaultingMode. + **/ public void setVaultingMode(String vaultingMode) { this.vaultingMode = vaultingMode; } + + /** + * vaultingModeMetadata. + * + * @return AccountRoleSettings + **/ public AccountRoleSettings vaultingModeMetadata(SettingsMetadata vaultingModeMetadata) { this.vaultingModeMetadata = vaultingModeMetadata; return this; } - /** - * Get vaultingModeMetadata + /** + * Get vaultingModeMetadata. * @return vaultingModeMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getVaultingModeMetadata() { return vaultingModeMetadata; } + /** + * setVaultingModeMetadata. + **/ public void setVaultingModeMetadata(SettingsMetadata vaultingModeMetadata) { this.vaultingModeMetadata = vaultingModeMetadata; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -1460,6 +2140,8 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.allowApiSendingOnBehalfOfOthersMetadata, accountRoleSettings.allowApiSendingOnBehalfOfOthersMetadata) && Objects.equals(this.allowApiSequentialSigning, accountRoleSettings.allowApiSequentialSigning) && Objects.equals(this.allowApiSequentialSigningMetadata, accountRoleSettings.allowApiSequentialSigningMetadata) && + Objects.equals(this.allowAutoTagging, accountRoleSettings.allowAutoTagging) && + Objects.equals(this.allowAutoTaggingMetadata, accountRoleSettings.allowAutoTaggingMetadata) && Objects.equals(this.allowBulkSending, accountRoleSettings.allowBulkSending) && Objects.equals(this.allowBulkSendingMetadata, accountRoleSettings.allowBulkSendingMetadata) && Objects.equals(this.allowDocuSignDesktopClient, accountRoleSettings.allowDocuSignDesktopClient) && @@ -1520,12 +2202,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.vaultingModeMetadata, accountRoleSettings.vaultingModeMetadata); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { - return Objects.hash(allowAccountManagement, allowAccountManagementMetadata, allowApiAccess, allowApiAccessMetadata, allowApiAccessToAccount, allowApiAccessToAccountMetadata, allowApiSendingOnBehalfOfOthers, allowApiSendingOnBehalfOfOthersMetadata, allowApiSequentialSigning, allowApiSequentialSigningMetadata, allowBulkSending, allowBulkSendingMetadata, allowDocuSignDesktopClient, allowDocuSignDesktopClientMetadata, allowedAddressBookAccess, allowedAddressBookAccessMetadata, allowedTemplateAccess, allowedTemplateAccessMetadata, allowedToBeEnvelopeTransferRecipient, allowedToBeEnvelopeTransferRecipientMetadata, allowEnvelopeSending, allowEnvelopeSendingMetadata, allowESealRecipients, allowESealRecipientsMetadata, allowPowerFormsAdminToAccessAllPowerFormEnvelopes, allowPowerFormsAdminToAccessAllPowerFormEnvelopesMetadata, allowSendersToSetRecipientEmailLanguage, allowSendersToSetRecipientEmailLanguageMetadata, allowSignerAttachments, allowSignerAttachmentsMetadata, allowSupplementalDocuments, allowSupplementalDocumentsMetadata, allowTaggingInSendAndCorrect, allowTaggingInSendAndCorrectMetadata, allowVaulting, allowVaultingMetadata, allowWetSigningOverride, allowWetSigningOverrideMetadata, canCreateWorkspaces, canCreateWorkspacesMetadata, disableDocumentUpload, disableDocumentUploadMetadata, disableOtherActions, disableOtherActionsMetadata, enableApiRequestLogging, enableApiRequestLoggingMetadata, enableRecipientViewingNotifications, enableRecipientViewingNotificationsMetadata, enableSequentialSigningInterface, enableSequentialSigningInterfaceMetadata, enableTransactionPointIntegration, enableTransactionPointIntegrationMetadata, powerFormRole, powerFormRoleMetadata, receiveCompletedSelfSignedDocumentsAsEmailLinks, receiveCompletedSelfSignedDocumentsAsEmailLinksMetadata, supplementalDocumentsMustAccept, supplementalDocumentsMustAcceptMetadata, supplementalDocumentsMustRead, supplementalDocumentsMustReadMetadata, supplementalDocumentsMustView, supplementalDocumentsMustViewMetadata, useNewDocuSignExperienceInterface, useNewDocuSignExperienceInterfaceMetadata, useNewSendingInterface, useNewSendingInterfaceMetadata, vaultingMode, vaultingModeMetadata); + return Objects.hash(allowAccountManagement, allowAccountManagementMetadata, allowApiAccess, allowApiAccessMetadata, allowApiAccessToAccount, allowApiAccessToAccountMetadata, allowApiSendingOnBehalfOfOthers, allowApiSendingOnBehalfOfOthersMetadata, allowApiSequentialSigning, allowApiSequentialSigningMetadata, allowAutoTagging, allowAutoTaggingMetadata, allowBulkSending, allowBulkSendingMetadata, allowDocuSignDesktopClient, allowDocuSignDesktopClientMetadata, allowedAddressBookAccess, allowedAddressBookAccessMetadata, allowedTemplateAccess, allowedTemplateAccessMetadata, allowedToBeEnvelopeTransferRecipient, allowedToBeEnvelopeTransferRecipientMetadata, allowEnvelopeSending, allowEnvelopeSendingMetadata, allowESealRecipients, allowESealRecipientsMetadata, allowPowerFormsAdminToAccessAllPowerFormEnvelopes, allowPowerFormsAdminToAccessAllPowerFormEnvelopesMetadata, allowSendersToSetRecipientEmailLanguage, allowSendersToSetRecipientEmailLanguageMetadata, allowSignerAttachments, allowSignerAttachmentsMetadata, allowSupplementalDocuments, allowSupplementalDocumentsMetadata, allowTaggingInSendAndCorrect, allowTaggingInSendAndCorrectMetadata, allowVaulting, allowVaultingMetadata, allowWetSigningOverride, allowWetSigningOverrideMetadata, canCreateWorkspaces, canCreateWorkspacesMetadata, disableDocumentUpload, disableDocumentUploadMetadata, disableOtherActions, disableOtherActionsMetadata, enableApiRequestLogging, enableApiRequestLoggingMetadata, enableRecipientViewingNotifications, enableRecipientViewingNotificationsMetadata, enableSequentialSigningInterface, enableSequentialSigningInterfaceMetadata, enableTransactionPointIntegration, enableTransactionPointIntegrationMetadata, powerFormRole, powerFormRoleMetadata, receiveCompletedSelfSignedDocumentsAsEmailLinks, receiveCompletedSelfSignedDocumentsAsEmailLinksMetadata, supplementalDocumentsMustAccept, supplementalDocumentsMustAcceptMetadata, supplementalDocumentsMustRead, supplementalDocumentsMustReadMetadata, supplementalDocumentsMustView, supplementalDocumentsMustViewMetadata, useNewDocuSignExperienceInterface, useNewDocuSignExperienceInterfaceMetadata, useNewSendingInterface, useNewSendingInterfaceMetadata, vaultingMode, vaultingModeMetadata); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -1541,6 +2229,8 @@ public String toString() { sb.append(" allowApiSendingOnBehalfOfOthersMetadata: ").append(toIndentedString(allowApiSendingOnBehalfOfOthersMetadata)).append("\n"); sb.append(" allowApiSequentialSigning: ").append(toIndentedString(allowApiSequentialSigning)).append("\n"); sb.append(" allowApiSequentialSigningMetadata: ").append(toIndentedString(allowApiSequentialSigningMetadata)).append("\n"); + sb.append(" allowAutoTagging: ").append(toIndentedString(allowAutoTagging)).append("\n"); + sb.append(" allowAutoTaggingMetadata: ").append(toIndentedString(allowAutoTaggingMetadata)).append("\n"); sb.append(" allowBulkSending: ").append(toIndentedString(allowBulkSending)).append("\n"); sb.append(" allowBulkSendingMetadata: ").append(toIndentedString(allowBulkSendingMetadata)).append("\n"); sb.append(" allowDocuSignDesktopClient: ").append(toIndentedString(allowDocuSignDesktopClient)).append("\n"); @@ -1613,6 +2303,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/AccountSeals.java b/src/main/java/com/docusign/esign/model/AccountSeals.java index 0550c2bd..446dc267 100644 --- a/src/main/java/com/docusign/esign/model/AccountSeals.java +++ b/src/main/java/com/docusign/esign/model/AccountSeals.java @@ -1,44 +1,69 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.SealIdentifier; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * AccountSeals + * AccountSeals. + * */ public class AccountSeals { @JsonProperty("seals") - private java.util.List seals = new java.util.ArrayList(); + private java.util.List seals = null; + + /** + * seals. + * + * @return AccountSeals + **/ public AccountSeals seals(java.util.List seals) { this.seals = seals; return this; } - + + /** + * addSealsItem. + * + * @return AccountSeals + **/ public AccountSeals addSealsItem(SealIdentifier sealsItem) { + if (this.seals == null) { + this.seals = new java.util.ArrayList(); + } this.seals.add(sealsItem); return this; } - /** - * + /** + * . * @return seals - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getSeals() { return seals; } + /** + * setSeals. + **/ public void setSeals(java.util.List seals) { this.seals = seals; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -51,12 +76,18 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.seals, accountSeals.seals); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(seals); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -77,6 +108,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/AccountSettingsInformation.java b/src/main/java/com/docusign/esign/model/AccountSettingsInformation.java index 40e667a6..efbdc71d 100644 --- a/src/main/java/com/docusign/esign/model/AccountSettingsInformation.java +++ b/src/main/java/com/docusign/esign/model/AccountSettingsInformation.java @@ -1,45 +1,70 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.NameValue; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Contains account settings information. + * Contains account settings information.. + * */ @ApiModel(description = "Contains account settings information.") public class AccountSettingsInformation { @JsonProperty("accountSettings") - private java.util.List accountSettings = new java.util.ArrayList(); + private java.util.List accountSettings = null; + + /** + * accountSettings. + * + * @return AccountSettingsInformation + **/ public AccountSettingsInformation accountSettings(java.util.List accountSettings) { this.accountSettings = accountSettings; return this; } - + + /** + * addAccountSettingsItem. + * + * @return AccountSettingsInformation + **/ public AccountSettingsInformation addAccountSettingsItem(NameValue accountSettingsItem) { + if (this.accountSettings == null) { + this.accountSettings = new java.util.ArrayList(); + } this.accountSettings.add(accountSettingsItem); return this; } - /** - * The list of account settings. These determine the features available for the account. Note that some features are determined by the plan used to create the account, and cannot be overridden. + /** + * The list of account settings. These determine the features available for the account. Note that some features are determined by the plan used to create the account, and cannot be overridden.. * @return accountSettings - **/ - @ApiModelProperty(example = "null", value = "The list of account settings. These determine the features available for the account. Note that some features are determined by the plan used to create the account, and cannot be overridden.") + **/ + @ApiModelProperty(value = "The list of account settings. These determine the features available for the account. Note that some features are determined by the plan used to create the account, and cannot be overridden.") public java.util.List getAccountSettings() { return accountSettings; } + /** + * setAccountSettings. + **/ public void setAccountSettings(java.util.List accountSettings) { this.accountSettings = accountSettings; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -52,12 +77,18 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.accountSettings, accountSettingsInformation.accountSettings); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(accountSettings); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -78,6 +109,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/AccountSharedAccess.java b/src/main/java/com/docusign/esign/model/AccountSharedAccess.java index 490bf6dc..f57e66fb 100644 --- a/src/main/java/com/docusign/esign/model/AccountSharedAccess.java +++ b/src/main/java/com/docusign/esign/model/AccountSharedAccess.java @@ -1,15 +1,18 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ErrorDetails; import com.docusign.esign.model.MemberSharedItems; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Contains shared access information. + * Contains shared access information.. + * */ @ApiModel(description = "Contains shared access information.") @@ -33,7 +36,7 @@ public class AccountSharedAccess { private String resultSetSize = null; @JsonProperty("sharedAccess") - private java.util.List sharedAccess = new java.util.ArrayList(); + private java.util.List sharedAccess = null; @JsonProperty("startPosition") private String startPosition = null; @@ -41,174 +44,268 @@ public class AccountSharedAccess { @JsonProperty("totalSetSize") private String totalSetSize = null; + + /** + * accountId. + * + * @return AccountSharedAccess + **/ public AccountSharedAccess accountId(String accountId) { this.accountId = accountId; return this; } - /** - * The account ID associated with the envelope. + /** + * The account ID associated with the envelope.. * @return accountId - **/ - @ApiModelProperty(example = "null", value = "The account ID associated with the envelope.") + **/ + @ApiModelProperty(value = "The account ID associated with the envelope.") public String getAccountId() { return accountId; } + /** + * setAccountId. + **/ public void setAccountId(String accountId) { this.accountId = accountId; } + + /** + * endPosition. + * + * @return AccountSharedAccess + **/ public AccountSharedAccess endPosition(String endPosition) { this.endPosition = endPosition; return this; } - /** - * The last position in the result set. + /** + * The last position in the result set. . * @return endPosition - **/ - @ApiModelProperty(example = "null", value = "The last position in the result set. ") + **/ + @ApiModelProperty(value = "The last position in the result set. ") public String getEndPosition() { return endPosition; } + /** + * setEndPosition. + **/ public void setEndPosition(String endPosition) { this.endPosition = endPosition; } + + /** + * errorDetails. + * + * @return AccountSharedAccess + **/ public AccountSharedAccess errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * nextUri. + * + * @return AccountSharedAccess + **/ public AccountSharedAccess nextUri(String nextUri) { this.nextUri = nextUri; return this; } - /** - * The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. + /** + * The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. . * @return nextUri - **/ - @ApiModelProperty(example = "null", value = "The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. ") + **/ + @ApiModelProperty(value = "The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. ") public String getNextUri() { return nextUri; } + /** + * setNextUri. + **/ public void setNextUri(String nextUri) { this.nextUri = nextUri; } + + /** + * previousUri. + * + * @return AccountSharedAccess + **/ public AccountSharedAccess previousUri(String previousUri) { this.previousUri = previousUri; return this; } - /** - * The postal code for the billing address. + /** + * The postal code for the billing address.. * @return previousUri - **/ - @ApiModelProperty(example = "null", value = "The postal code for the billing address.") + **/ + @ApiModelProperty(value = "The postal code for the billing address.") public String getPreviousUri() { return previousUri; } + /** + * setPreviousUri. + **/ public void setPreviousUri(String previousUri) { this.previousUri = previousUri; } + + /** + * resultSetSize. + * + * @return AccountSharedAccess + **/ public AccountSharedAccess resultSetSize(String resultSetSize) { this.resultSetSize = resultSetSize; return this; } - /** - * The number of results returned in this response. + /** + * The number of results returned in this response. . * @return resultSetSize - **/ - @ApiModelProperty(example = "null", value = "The number of results returned in this response. ") + **/ + @ApiModelProperty(value = "The number of results returned in this response. ") public String getResultSetSize() { return resultSetSize; } + /** + * setResultSetSize. + **/ public void setResultSetSize(String resultSetSize) { this.resultSetSize = resultSetSize; } + + /** + * sharedAccess. + * + * @return AccountSharedAccess + **/ public AccountSharedAccess sharedAccess(java.util.List sharedAccess) { this.sharedAccess = sharedAccess; return this; } - + + /** + * addSharedAccessItem. + * + * @return AccountSharedAccess + **/ public AccountSharedAccess addSharedAccessItem(MemberSharedItems sharedAccessItem) { + if (this.sharedAccess == null) { + this.sharedAccess = new java.util.ArrayList(); + } this.sharedAccess.add(sharedAccessItem); return this; } - /** - * A complex type containing the shared access information to an envelope for the users specified in the request. + /** + * A complex type containing the shared access information to an envelope for the users specified in the request.. * @return sharedAccess - **/ - @ApiModelProperty(example = "null", value = "A complex type containing the shared access information to an envelope for the users specified in the request.") + **/ + @ApiModelProperty(value = "A complex type containing the shared access information to an envelope for the users specified in the request.") public java.util.List getSharedAccess() { return sharedAccess; } + /** + * setSharedAccess. + **/ public void setSharedAccess(java.util.List sharedAccess) { this.sharedAccess = sharedAccess; } + + /** + * startPosition. + * + * @return AccountSharedAccess + **/ public AccountSharedAccess startPosition(String startPosition) { this.startPosition = startPosition; return this; } - /** - * Starting position of the current result set. + /** + * Starting position of the current result set.. * @return startPosition - **/ - @ApiModelProperty(example = "null", value = "Starting position of the current result set.") + **/ + @ApiModelProperty(value = "Starting position of the current result set.") public String getStartPosition() { return startPosition; } + /** + * setStartPosition. + **/ public void setStartPosition(String startPosition) { this.startPosition = startPosition; } + + /** + * totalSetSize. + * + * @return AccountSharedAccess + **/ public AccountSharedAccess totalSetSize(String totalSetSize) { this.totalSetSize = totalSetSize; return this; } - /** - * The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response. + /** + * The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.. * @return totalSetSize - **/ - @ApiModelProperty(example = "null", value = "The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.") + **/ + @ApiModelProperty(value = "The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.") public String getTotalSetSize() { return totalSetSize; } + /** + * setTotalSetSize. + **/ public void setTotalSetSize(String totalSetSize) { this.totalSetSize = totalSetSize; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -229,12 +326,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.totalSetSize, accountSharedAccess.totalSetSize); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(accountId, endPosition, errorDetails, nextUri, previousUri, resultSetSize, sharedAccess, startPosition, totalSetSize); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -263,6 +366,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/AccountSignatureProvider.java b/src/main/java/com/docusign/esign/model/AccountSignatureProvider.java index 61e8c3d0..c2050d67 100644 --- a/src/main/java/com/docusign/esign/model/AccountSignatureProvider.java +++ b/src/main/java/com/docusign/esign/model/AccountSignatureProvider.java @@ -1,15 +1,18 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.AccountSignatureProviderOption; import com.docusign.esign.model.SignatureProviderRequiredOption; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * AccountSignatureProvider + * AccountSignatureProvider. + * */ public class AccountSignatureProvider { @@ -29,148 +32,232 @@ public class AccountSignatureProvider { private String signatureProviderName = null; @JsonProperty("signatureProviderOptionsMetadata") - private java.util.List signatureProviderOptionsMetadata = new java.util.ArrayList(); + private java.util.List signatureProviderOptionsMetadata = null; @JsonProperty("signatureProviderRequiredOptions") - private java.util.List signatureProviderRequiredOptions = new java.util.ArrayList(); + private java.util.List signatureProviderRequiredOptions = null; + + /** + * isRequired. + * + * @return AccountSignatureProvider + **/ public AccountSignatureProvider isRequired(String isRequired) { this.isRequired = isRequired; return this; } - /** - * + /** + * . * @return isRequired - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getIsRequired() { return isRequired; } + /** + * setIsRequired. + **/ public void setIsRequired(String isRequired) { this.isRequired = isRequired; } + + /** + * priority. + * + * @return AccountSignatureProvider + **/ public AccountSignatureProvider priority(String priority) { this.priority = priority; return this; } - /** - * + /** + * . * @return priority - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPriority() { return priority; } + /** + * setPriority. + **/ public void setPriority(String priority) { this.priority = priority; } + + /** + * signatureProviderDisplayName. + * + * @return AccountSignatureProvider + **/ public AccountSignatureProvider signatureProviderDisplayName(String signatureProviderDisplayName) { this.signatureProviderDisplayName = signatureProviderDisplayName; return this; } - /** - * + /** + * . * @return signatureProviderDisplayName - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSignatureProviderDisplayName() { return signatureProviderDisplayName; } + /** + * setSignatureProviderDisplayName. + **/ public void setSignatureProviderDisplayName(String signatureProviderDisplayName) { this.signatureProviderDisplayName = signatureProviderDisplayName; } + + /** + * signatureProviderId. + * + * @return AccountSignatureProvider + **/ public AccountSignatureProvider signatureProviderId(String signatureProviderId) { this.signatureProviderId = signatureProviderId; return this; } - /** - * + /** + * . * @return signatureProviderId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSignatureProviderId() { return signatureProviderId; } + /** + * setSignatureProviderId. + **/ public void setSignatureProviderId(String signatureProviderId) { this.signatureProviderId = signatureProviderId; } + + /** + * signatureProviderName. + * + * @return AccountSignatureProvider + **/ public AccountSignatureProvider signatureProviderName(String signatureProviderName) { this.signatureProviderName = signatureProviderName; return this; } - /** - * + /** + * . * @return signatureProviderName - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSignatureProviderName() { return signatureProviderName; } + /** + * setSignatureProviderName. + **/ public void setSignatureProviderName(String signatureProviderName) { this.signatureProviderName = signatureProviderName; } + + /** + * signatureProviderOptionsMetadata. + * + * @return AccountSignatureProvider + **/ public AccountSignatureProvider signatureProviderOptionsMetadata(java.util.List signatureProviderOptionsMetadata) { this.signatureProviderOptionsMetadata = signatureProviderOptionsMetadata; return this; } - + + /** + * addSignatureProviderOptionsMetadataItem. + * + * @return AccountSignatureProvider + **/ public AccountSignatureProvider addSignatureProviderOptionsMetadataItem(AccountSignatureProviderOption signatureProviderOptionsMetadataItem) { + if (this.signatureProviderOptionsMetadata == null) { + this.signatureProviderOptionsMetadata = new java.util.ArrayList(); + } this.signatureProviderOptionsMetadata.add(signatureProviderOptionsMetadataItem); return this; } - /** - * + /** + * . * @return signatureProviderOptionsMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getSignatureProviderOptionsMetadata() { return signatureProviderOptionsMetadata; } + /** + * setSignatureProviderOptionsMetadata. + **/ public void setSignatureProviderOptionsMetadata(java.util.List signatureProviderOptionsMetadata) { this.signatureProviderOptionsMetadata = signatureProviderOptionsMetadata; } + + /** + * signatureProviderRequiredOptions. + * + * @return AccountSignatureProvider + **/ public AccountSignatureProvider signatureProviderRequiredOptions(java.util.List signatureProviderRequiredOptions) { this.signatureProviderRequiredOptions = signatureProviderRequiredOptions; return this; } - + + /** + * addSignatureProviderRequiredOptionsItem. + * + * @return AccountSignatureProvider + **/ public AccountSignatureProvider addSignatureProviderRequiredOptionsItem(SignatureProviderRequiredOption signatureProviderRequiredOptionsItem) { + if (this.signatureProviderRequiredOptions == null) { + this.signatureProviderRequiredOptions = new java.util.ArrayList(); + } this.signatureProviderRequiredOptions.add(signatureProviderRequiredOptionsItem); return this; } - /** - * + /** + * . * @return signatureProviderRequiredOptions - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getSignatureProviderRequiredOptions() { return signatureProviderRequiredOptions; } + /** + * setSignatureProviderRequiredOptions. + **/ public void setSignatureProviderRequiredOptions(java.util.List signatureProviderRequiredOptions) { this.signatureProviderRequiredOptions = signatureProviderRequiredOptions; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -189,12 +276,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.signatureProviderRequiredOptions, accountSignatureProvider.signatureProviderRequiredOptions); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(isRequired, priority, signatureProviderDisplayName, signatureProviderId, signatureProviderName, signatureProviderOptionsMetadata, signatureProviderRequiredOptions); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -221,6 +314,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/AccountSignatureProviderOption.java b/src/main/java/com/docusign/esign/model/AccountSignatureProviderOption.java index 320f62ff..eb2d4c03 100644 --- a/src/main/java/com/docusign/esign/model/AccountSignatureProviderOption.java +++ b/src/main/java/com/docusign/esign/model/AccountSignatureProviderOption.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * AccountSignatureProviderOption + * AccountSignatureProviderOption. + * */ public class AccountSignatureProviderOption { @@ -20,61 +23,93 @@ public class AccountSignatureProviderOption { @JsonProperty("signatureProviderOptionName") private String signatureProviderOptionName = null; + + /** + * signatureProviderOptionDisplayName. + * + * @return AccountSignatureProviderOption + **/ public AccountSignatureProviderOption signatureProviderOptionDisplayName(String signatureProviderOptionDisplayName) { this.signatureProviderOptionDisplayName = signatureProviderOptionDisplayName; return this; } - /** - * + /** + * . * @return signatureProviderOptionDisplayName - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSignatureProviderOptionDisplayName() { return signatureProviderOptionDisplayName; } + /** + * setSignatureProviderOptionDisplayName. + **/ public void setSignatureProviderOptionDisplayName(String signatureProviderOptionDisplayName) { this.signatureProviderOptionDisplayName = signatureProviderOptionDisplayName; } + + /** + * signatureProviderOptionId. + * + * @return AccountSignatureProviderOption + **/ public AccountSignatureProviderOption signatureProviderOptionId(String signatureProviderOptionId) { this.signatureProviderOptionId = signatureProviderOptionId; return this; } - /** - * + /** + * . * @return signatureProviderOptionId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSignatureProviderOptionId() { return signatureProviderOptionId; } + /** + * setSignatureProviderOptionId. + **/ public void setSignatureProviderOptionId(String signatureProviderOptionId) { this.signatureProviderOptionId = signatureProviderOptionId; } + + /** + * signatureProviderOptionName. + * + * @return AccountSignatureProviderOption + **/ public AccountSignatureProviderOption signatureProviderOptionName(String signatureProviderOptionName) { this.signatureProviderOptionName = signatureProviderOptionName; return this; } - /** - * + /** + * . * @return signatureProviderOptionName - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSignatureProviderOptionName() { return signatureProviderOptionName; } + /** + * setSignatureProviderOptionName. + **/ public void setSignatureProviderOptionName(String signatureProviderOptionName) { this.signatureProviderOptionName = signatureProviderOptionName; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -89,12 +124,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.signatureProviderOptionName, accountSignatureProviderOption.signatureProviderOptionName); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(signatureProviderOptionDisplayName, signatureProviderOptionId, signatureProviderOptionName); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -117,6 +158,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/AccountSignatureProviders.java b/src/main/java/com/docusign/esign/model/AccountSignatureProviders.java index 8a3aba6e..db7f506a 100644 --- a/src/main/java/com/docusign/esign/model/AccountSignatureProviders.java +++ b/src/main/java/com/docusign/esign/model/AccountSignatureProviders.java @@ -1,44 +1,69 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.AccountSignatureProvider; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * AccountSignatureProviders + * AccountSignatureProviders. + * */ public class AccountSignatureProviders { @JsonProperty("signatureProviders") - private java.util.List signatureProviders = new java.util.ArrayList(); + private java.util.List signatureProviders = null; + + /** + * signatureProviders. + * + * @return AccountSignatureProviders + **/ public AccountSignatureProviders signatureProviders(java.util.List signatureProviders) { this.signatureProviders = signatureProviders; return this; } - + + /** + * addSignatureProvidersItem. + * + * @return AccountSignatureProviders + **/ public AccountSignatureProviders addSignatureProvidersItem(AccountSignatureProvider signatureProvidersItem) { + if (this.signatureProviders == null) { + this.signatureProviders = new java.util.ArrayList(); + } this.signatureProviders.add(signatureProvidersItem); return this; } - /** - * + /** + * . * @return signatureProviders - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getSignatureProviders() { return signatureProviders; } + /** + * setSignatureProviders. + **/ public void setSignatureProviders(java.util.List signatureProviders) { this.signatureProviders = signatureProviders; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -51,12 +76,18 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.signatureProviders, accountSignatureProviders.signatureProviders); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(signatureProviders); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -77,6 +108,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/AddOn.java b/src/main/java/com/docusign/esign/model/AddOn.java index 70cdd40f..68b1c48f 100644 --- a/src/main/java/com/docusign/esign/model/AddOn.java +++ b/src/main/java/com/docusign/esign/model/AddOn.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Contains information about add ons. + * Contains information about add ons.. + * */ @ApiModel(description = "Contains information about add ons.") @@ -24,79 +27,120 @@ public class AddOn { @JsonProperty("name") private String name = null; + + /** + * active. + * + * @return AddOn + **/ public AddOn active(String active) { this.active = active; return this; } - /** - * Reserved: + /** + * Reserved:. * @return active - **/ - @ApiModelProperty(example = "null", value = "Reserved:") + **/ + @ApiModelProperty(value = "Reserved:") public String getActive() { return active; } + /** + * setActive. + **/ public void setActive(String active) { this.active = active; } + + /** + * addOnId. + * + * @return AddOn + **/ public AddOn addOnId(String addOnId) { this.addOnId = addOnId; return this; } - /** - * Reserved: + /** + * Reserved:. * @return addOnId - **/ - @ApiModelProperty(example = "null", value = "Reserved:") + **/ + @ApiModelProperty(value = "Reserved:") public String getAddOnId() { return addOnId; } + /** + * setAddOnId. + **/ public void setAddOnId(String addOnId) { this.addOnId = addOnId; } + + /** + * id. + * + * @return AddOn + **/ public AddOn id(String id) { this.id = id; return this; } - /** - * + /** + * . * @return id - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getId() { return id; } + /** + * setId. + **/ public void setId(String id) { this.id = id; } + + /** + * name. + * + * @return AddOn + **/ public AddOn name(String name) { this.name = name; return this; } - /** - * Reserved: + /** + * Reserved:. * @return name - **/ - @ApiModelProperty(example = "null", value = "Reserved:") + **/ + @ApiModelProperty(value = "Reserved:") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -112,12 +156,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.name, addOn.name); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(active, addOnId, id, name); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -141,6 +191,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/AddressInformation.java b/src/main/java/com/docusign/esign/model/AddressInformation.java index d3dc6bc3..1ac5bfad 100644 --- a/src/main/java/com/docusign/esign/model/AddressInformation.java +++ b/src/main/java/com/docusign/esign/model/AddressInformation.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Contains address information. + * Contains address information.. + * */ @ApiModel(description = "Contains address information.") @@ -36,151 +39,258 @@ public class AddressInformation { @JsonProperty("zip") private String zip = null; + @JsonProperty("zipPlus4") + private String zipPlus4 = null; + + + /** + * city. + * + * @return AddressInformation + **/ public AddressInformation city(String city) { this.city = city; return this; } - /** - * The city associated with the address. + /** + * The city associated with the address.. * @return city - **/ - @ApiModelProperty(example = "null", value = "The city associated with the address.") + **/ + @ApiModelProperty(value = "The city associated with the address.") public String getCity() { return city; } + /** + * setCity. + **/ public void setCity(String city) { this.city = city; } + + /** + * country. + * + * @return AddressInformation + **/ public AddressInformation country(String country) { this.country = country; return this; } - /** - * Specifies the country associated with the address. + /** + * Specifies the country associated with the address.. * @return country - **/ - @ApiModelProperty(example = "null", value = "Specifies the country associated with the address.") + **/ + @ApiModelProperty(value = "Specifies the country associated with the address.") public String getCountry() { return country; } + /** + * setCountry. + **/ public void setCountry(String country) { this.country = country; } + + /** + * fax. + * + * @return AddressInformation + **/ public AddressInformation fax(String fax) { this.fax = fax; return this; } - /** - * A Fax number associated with the address if one is available. + /** + * A Fax number associated with the address if one is available.. * @return fax - **/ - @ApiModelProperty(example = "null", value = "A Fax number associated with the address if one is available.") + **/ + @ApiModelProperty(value = "A Fax number associated with the address if one is available.") public String getFax() { return fax; } + /** + * setFax. + **/ public void setFax(String fax) { this.fax = fax; } + + /** + * phone. + * + * @return AddressInformation + **/ public AddressInformation phone(String phone) { this.phone = phone; return this; } - /** - * A phone number associated with the address. + /** + * A phone number associated with the address.. * @return phone - **/ - @ApiModelProperty(example = "null", value = "A phone number associated with the address.") + **/ + @ApiModelProperty(value = "A phone number associated with the address.") public String getPhone() { return phone; } + /** + * setPhone. + **/ public void setPhone(String phone) { this.phone = phone; } + + /** + * state. + * + * @return AddressInformation + **/ public AddressInformation state(String state) { this.state = state; return this; } - /** - * The state or province associated with the address. + /** + * The state or province associated with the address.. * @return state - **/ - @ApiModelProperty(example = "null", value = "The state or province associated with the address.") + **/ + @ApiModelProperty(value = "The state or province associated with the address.") public String getState() { return state; } + /** + * setState. + **/ public void setState(String state) { this.state = state; } + + /** + * street1. + * + * @return AddressInformation + **/ public AddressInformation street1(String street1) { this.street1 = street1; return this; } - /** - * The first line of the address. + /** + * The first line of the address.. * @return street1 - **/ - @ApiModelProperty(example = "null", value = "The first line of the address.") + **/ + @ApiModelProperty(value = "The first line of the address.") public String getStreet1() { return street1; } + /** + * setStreet1. + **/ public void setStreet1(String street1) { this.street1 = street1; } + + /** + * street2. + * + * @return AddressInformation + **/ public AddressInformation street2(String street2) { this.street2 = street2; return this; } - /** - * The second line of the address (optional). + /** + * The second line of the address (optional).. * @return street2 - **/ - @ApiModelProperty(example = "null", value = "The second line of the address (optional).") + **/ + @ApiModelProperty(value = "The second line of the address (optional).") public String getStreet2() { return street2; } + /** + * setStreet2. + **/ public void setStreet2(String street2) { this.street2 = street2; } + + /** + * zip. + * + * @return AddressInformation + **/ public AddressInformation zip(String zip) { this.zip = zip; return this; } - /** - * The zip or postal code associated with the address. + /** + * The zip or postal code associated with the address.. * @return zip - **/ - @ApiModelProperty(example = "null", value = "The zip or postal code associated with the address.") + **/ + @ApiModelProperty(value = "The zip or postal code associated with the address.") public String getZip() { return zip; } + /** + * setZip. + **/ public void setZip(String zip) { this.zip = zip; } + /** + * zipPlus4. + * + * @return AddressInformation + **/ + public AddressInformation zipPlus4(String zipPlus4) { + this.zipPlus4 = zipPlus4; + return this; + } + + /** + * . + * @return zipPlus4 + **/ + @ApiModelProperty(value = "") + public String getZipPlus4() { + return zipPlus4; + } + + /** + * setZipPlus4. + **/ + public void setZipPlus4(String zipPlus4) { + this.zipPlus4 = zipPlus4; + } + + + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -197,15 +307,22 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.state, addressInformation.state) && Objects.equals(this.street1, addressInformation.street1) && Objects.equals(this.street2, addressInformation.street2) && - Objects.equals(this.zip, addressInformation.zip); + Objects.equals(this.zip, addressInformation.zip) && + Objects.equals(this.zipPlus4, addressInformation.zipPlus4); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { - return Objects.hash(city, country, fax, phone, state, street1, street2, zip); + return Objects.hash(city, country, fax, phone, state, street1, street2, zip, zipPlus4); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -219,6 +336,7 @@ public String toString() { sb.append(" street1: ").append(toIndentedString(street1)).append("\n"); sb.append(" street2: ").append(toIndentedString(street2)).append("\n"); sb.append(" zip: ").append(toIndentedString(zip)).append("\n"); + sb.append(" zipPlus4: ").append(toIndentedString(zipPlus4)).append("\n"); sb.append("}"); return sb.toString(); } @@ -233,6 +351,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/AddressInformationInput.java b/src/main/java/com/docusign/esign/model/AddressInformationInput.java index 363e90d5..2abf1eaf 100644 --- a/src/main/java/com/docusign/esign/model/AddressInformationInput.java +++ b/src/main/java/com/docusign/esign/model/AddressInformationInput.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.AddressInformation; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Contains address input information. + * Contains address input information.. + * */ @ApiModel(description = "Contains address input information.") @@ -22,61 +25,93 @@ public class AddressInformationInput { @JsonProperty("receiveInResponse") private String receiveInResponse = null; + + /** + * addressInformation. + * + * @return AddressInformationInput + **/ public AddressInformationInput addressInformation(AddressInformation addressInformation) { this.addressInformation = addressInformation; return this; } - /** - * Get addressInformation + /** + * Get addressInformation. * @return addressInformation - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public AddressInformation getAddressInformation() { return addressInformation; } + /** + * setAddressInformation. + **/ public void setAddressInformation(AddressInformation addressInformation) { this.addressInformation = addressInformation; } + + /** + * displayLevelCode. + * + * @return AddressInformationInput + **/ public AddressInformationInput displayLevelCode(String displayLevelCode) { this.displayLevelCode = displayLevelCode; return this; } - /** - * Specifies the display level for the recipient. Valid values are: * ReadOnly * Editable * DoNotDisplay + /** + * Specifies the display level for the recipient. Valid values are: * ReadOnly * Editable * DoNotDisplay. * @return displayLevelCode - **/ - @ApiModelProperty(example = "null", value = "Specifies the display level for the recipient. Valid values are: * ReadOnly * Editable * DoNotDisplay") + **/ + @ApiModelProperty(value = "Specifies the display level for the recipient. Valid values are: * ReadOnly * Editable * DoNotDisplay") public String getDisplayLevelCode() { return displayLevelCode; } + /** + * setDisplayLevelCode. + **/ public void setDisplayLevelCode(String displayLevelCode) { this.displayLevelCode = displayLevelCode; } + + /** + * receiveInResponse. + * + * @return AddressInformationInput + **/ public AddressInformationInput receiveInResponse(String receiveInResponse) { this.receiveInResponse = receiveInResponse; return this; } - /** - * When set to **true**, the information needs to be returned in the response. + /** + * When set to **true**, the information needs to be returned in the response.. * @return receiveInResponse - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information needs to be returned in the response.") + **/ + @ApiModelProperty(value = "When set to **true**, the information needs to be returned in the response.") public String getReceiveInResponse() { return receiveInResponse; } + /** + * setReceiveInResponse. + **/ public void setReceiveInResponse(String receiveInResponse) { this.receiveInResponse = receiveInResponse; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -91,12 +126,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.receiveInResponse, addressInformationInput.receiveInResponse); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(addressInformation, displayLevelCode, receiveInResponse); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -119,6 +160,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/AddressInformationV2.java b/src/main/java/com/docusign/esign/model/AddressInformationV2.java index febfd513..686066b3 100644 --- a/src/main/java/com/docusign/esign/model/AddressInformationV2.java +++ b/src/main/java/com/docusign/esign/model/AddressInformationV2.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * AddressInformationV2 + * AddressInformationV2. + * */ public class AddressInformationV2 { @@ -35,151 +38,228 @@ public class AddressInformationV2 { @JsonProperty("stateOrProvince") private String stateOrProvince = null; + + /** + * address1. + * + * @return AddressInformationV2 + **/ public AddressInformationV2 address1(String address1) { this.address1 = address1; return this; } - /** - * First Line of the address. Maximum length: 100 characters. + /** + * First Line of the address. Maximum length: 100 characters.. * @return address1 - **/ - @ApiModelProperty(example = "null", value = "First Line of the address. Maximum length: 100 characters.") + **/ + @ApiModelProperty(value = "First Line of the address. Maximum length: 100 characters.") public String getAddress1() { return address1; } + /** + * setAddress1. + **/ public void setAddress1(String address1) { this.address1 = address1; } + + /** + * address2. + * + * @return AddressInformationV2 + **/ public AddressInformationV2 address2(String address2) { this.address2 = address2; return this; } - /** - * Second Line of the address. Maximum length: 100 characters. + /** + * Second Line of the address. Maximum length: 100 characters.. * @return address2 - **/ - @ApiModelProperty(example = "null", value = "Second Line of the address. Maximum length: 100 characters.") + **/ + @ApiModelProperty(value = "Second Line of the address. Maximum length: 100 characters.") public String getAddress2() { return address2; } + /** + * setAddress2. + **/ public void setAddress2(String address2) { this.address2 = address2; } + + /** + * city. + * + * @return AddressInformationV2 + **/ public AddressInformationV2 city(String city) { this.city = city; return this; } - /** - * + /** + * . * @return city - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getCity() { return city; } + /** + * setCity. + **/ public void setCity(String city) { this.city = city; } + + /** + * country. + * + * @return AddressInformationV2 + **/ public AddressInformationV2 country(String country) { this.country = country; return this; } - /** - * Specifies the country associated with the address. + /** + * Specifies the country associated with the address.. * @return country - **/ - @ApiModelProperty(example = "null", value = "Specifies the country associated with the address.") + **/ + @ApiModelProperty(value = "Specifies the country associated with the address.") public String getCountry() { return country; } + /** + * setCountry. + **/ public void setCountry(String country) { this.country = country; } + + /** + * fax. + * + * @return AddressInformationV2 + **/ public AddressInformationV2 fax(String fax) { this.fax = fax; return this; } - /** - * + /** + * . * @return fax - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getFax() { return fax; } + /** + * setFax. + **/ public void setFax(String fax) { this.fax = fax; } + + /** + * phone. + * + * @return AddressInformationV2 + **/ public AddressInformationV2 phone(String phone) { this.phone = phone; return this; } - /** - * + /** + * . * @return phone - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPhone() { return phone; } + /** + * setPhone. + **/ public void setPhone(String phone) { this.phone = phone; } + + /** + * postalCode. + * + * @return AddressInformationV2 + **/ public AddressInformationV2 postalCode(String postalCode) { this.postalCode = postalCode; return this; } - /** - * + /** + * . * @return postalCode - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPostalCode() { return postalCode; } + /** + * setPostalCode. + **/ public void setPostalCode(String postalCode) { this.postalCode = postalCode; } + + /** + * stateOrProvince. + * + * @return AddressInformationV2 + **/ public AddressInformationV2 stateOrProvince(String stateOrProvince) { this.stateOrProvince = stateOrProvince; return this; } - /** - * The state or province associated with the address. + /** + * The state or province associated with the address.. * @return stateOrProvince - **/ - @ApiModelProperty(example = "null", value = "The state or province associated with the address.") + **/ + @ApiModelProperty(value = "The state or province associated with the address.") public String getStateOrProvince() { return stateOrProvince; } + /** + * setStateOrProvince. + **/ public void setStateOrProvince(String stateOrProvince) { this.stateOrProvince = stateOrProvince; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -199,12 +279,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.stateOrProvince, addressInformationV2.stateOrProvince); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(address1, address2, city, country, fax, phone, postalCode, stateOrProvince); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -232,6 +318,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/Agent.java b/src/main/java/com/docusign/esign/model/Agent.java index 745cfc11..870c871e 100644 --- a/src/main/java/com/docusign/esign/model/Agent.java +++ b/src/main/java/com/docusign/esign/model/Agent.java @@ -1,12 +1,14 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.AuthenticationStatus; import com.docusign.esign.model.DocumentVisibility; import com.docusign.esign.model.ErrorDetails; import com.docusign.esign.model.IdCheckInformationInput; import com.docusign.esign.model.RecipientAttachment; import com.docusign.esign.model.RecipientEmailNotification; +import com.docusign.esign.model.RecipientIdentityVerification; import com.docusign.esign.model.RecipientPhoneAuthentication; import com.docusign.esign.model.RecipientSAMLAuthentication; import com.docusign.esign.model.RecipientSMSAuthentication; @@ -14,11 +16,13 @@ import com.docusign.esign.model.UserInfo; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Contains information about agent recipients. + * Contains information about agent recipients.. + * */ @ApiModel(description = "Contains information about agent recipients.") @@ -33,7 +37,7 @@ public class Agent { private String clientUserId = null; @JsonProperty("customFields") - private java.util.List customFields = new java.util.ArrayList(); + private java.util.List customFields = null; @JsonProperty("declinedDateTime") private String declinedDateTime = null; @@ -48,7 +52,7 @@ public class Agent { private String deliveryMethod = null; @JsonProperty("documentVisibility") - private java.util.List documentVisibility = new java.util.ArrayList(); + private java.util.List documentVisibility = null; @JsonProperty("email") private String email = null; @@ -66,7 +70,7 @@ public class Agent { private ErrorDetails errorDetails = null; @JsonProperty("excludedDocuments") - private java.util.List excludedDocuments = new java.util.ArrayList(); + private java.util.List excludedDocuments = null; @JsonProperty("faxNumber") private String faxNumber = null; @@ -83,6 +87,9 @@ public class Agent { @JsonProperty("idCheckInformationInput") private IdCheckInformationInput idCheckInformationInput = null; + @JsonProperty("identityVerification") + private RecipientIdentityVerification identityVerification = null; + @JsonProperty("inheritEmailNotificationConfiguration") private String inheritEmailNotificationConfiguration = null; @@ -99,7 +106,7 @@ public class Agent { private RecipientPhoneAuthentication phoneAuthentication = null; @JsonProperty("recipientAttachments") - private java.util.List recipientAttachments = new java.util.ArrayList(); + private java.util.List recipientAttachments = null; @JsonProperty("recipientAuthenticationStatus") private AuthenticationStatus recipientAuthenticationStatus = null; @@ -135,13 +142,13 @@ public class Agent { private String signingGroupName = null; @JsonProperty("signingGroupUsers") - private java.util.List signingGroupUsers = new java.util.ArrayList(); + private java.util.List signingGroupUsers = null; @JsonProperty("smsAuthentication") private RecipientSMSAuthentication smsAuthentication = null; @JsonProperty("socialAuthentications") - private java.util.List socialAuthentications = new java.util.ArrayList(); + private java.util.List socialAuthentications = null; @JsonProperty("status") private String status = null; @@ -158,847 +165,1332 @@ public class Agent { @JsonProperty("userId") private String userId = null; + + /** + * accessCode. + * + * @return Agent + **/ public Agent accessCode(String accessCode) { this.accessCode = accessCode; return this; } - /** - * If a value is provided, the recipient must enter the value as the access code to view and sign the envelope. Maximum Length: 50 characters and it must conform to the account's access code format setting. If blank, but the signer `accessCode` property is set in the envelope, then that value is used. If blank and the signer `accessCode` property is not set, then the access code is not required. + /** + * If a value is provided, the recipient must enter the value as the access code to view and sign the envelope. Maximum Length: 50 characters and it must conform to the account's access code format setting. If blank, but the signer `accessCode` property is set in the envelope, then that value is used. If blank and the signer `accessCode` property is not set, then the access code is not required.. * @return accessCode - **/ - @ApiModelProperty(example = "null", value = "If a value is provided, the recipient must enter the value as the access code to view and sign the envelope. Maximum Length: 50 characters and it must conform to the account's access code format setting. If blank, but the signer `accessCode` property is set in the envelope, then that value is used. If blank and the signer `accessCode` property is not set, then the access code is not required.") + **/ + @ApiModelProperty(value = "If a value is provided, the recipient must enter the value as the access code to view and sign the envelope. Maximum Length: 50 characters and it must conform to the account's access code format setting. If blank, but the signer `accessCode` property is set in the envelope, then that value is used. If blank and the signer `accessCode` property is not set, then the access code is not required.") public String getAccessCode() { return accessCode; } + /** + * setAccessCode. + **/ public void setAccessCode(String accessCode) { this.accessCode = accessCode; } + + /** + * addAccessCodeToEmail. + * + * @return Agent + **/ public Agent addAccessCodeToEmail(String addAccessCodeToEmail) { this.addAccessCodeToEmail = addAccessCodeToEmail; return this; } - /** - * This Optional attribute indicates that the access code will be added to the email sent to the recipient; this nullifies the Security measure of Access Code on the recipient. + /** + * This Optional attribute indicates that the access code will be added to the email sent to the recipient; this nullifies the Security measure of Access Code on the recipient.. * @return addAccessCodeToEmail - **/ - @ApiModelProperty(example = "null", value = "This Optional attribute indicates that the access code will be added to the email sent to the recipient; this nullifies the Security measure of Access Code on the recipient.") + **/ + @ApiModelProperty(value = "This Optional attribute indicates that the access code will be added to the email sent to the recipient; this nullifies the Security measure of Access Code on the recipient.") public String getAddAccessCodeToEmail() { return addAccessCodeToEmail; } + /** + * setAddAccessCodeToEmail. + **/ public void setAddAccessCodeToEmail(String addAccessCodeToEmail) { this.addAccessCodeToEmail = addAccessCodeToEmail; } + + /** + * clientUserId. + * + * @return Agent + **/ public Agent clientUserId(String clientUserId) { this.clientUserId = clientUserId; return this; } - /** - * Specifies whether the recipient is embedded or remote. If the `clientUserId` property is not null then the recipient is embedded. Note that if the `ClientUserId` property is set and either `SignerMustHaveAccount` or `SignerMustLoginToSign` property of the account settings is set to **true**, an error is generated on sending.ng. Maximum length: 100 characters. + /** + * Specifies whether the recipient is embedded or remote. If the `clientUserId` property is not null then the recipient is embedded. Note that if the `ClientUserId` property is set and either `SignerMustHaveAccount` or `SignerMustLoginToSign` property of the account settings is set to **true**, an error is generated on sending.ng. Maximum length: 100 characters. . * @return clientUserId - **/ - @ApiModelProperty(example = "null", value = "Specifies whether the recipient is embedded or remote. If the `clientUserId` property is not null then the recipient is embedded. Note that if the `ClientUserId` property is set and either `SignerMustHaveAccount` or `SignerMustLoginToSign` property of the account settings is set to **true**, an error is generated on sending.ng. Maximum length: 100 characters. ") + **/ + @ApiModelProperty(value = "Specifies whether the recipient is embedded or remote. If the `clientUserId` property is not null then the recipient is embedded. Note that if the `ClientUserId` property is set and either `SignerMustHaveAccount` or `SignerMustLoginToSign` property of the account settings is set to **true**, an error is generated on sending.ng. Maximum length: 100 characters. ") public String getClientUserId() { return clientUserId; } + /** + * setClientUserId. + **/ public void setClientUserId(String clientUserId) { this.clientUserId = clientUserId; } + + /** + * customFields. + * + * @return Agent + **/ public Agent customFields(java.util.List customFields) { this.customFields = customFields; return this; } - + + /** + * addCustomFieldsItem. + * + * @return Agent + **/ public Agent addCustomFieldsItem(String customFieldsItem) { + if (this.customFields == null) { + this.customFields = new java.util.ArrayList(); + } this.customFields.add(customFieldsItem); return this; } - /** - * An optional array of strings that allows the sender to provide custom data about the recipient. This information is returned in the envelope status but otherwise not used by DocuSign. Each customField string can be a maximum of 100 characters. + /** + * An optional array of strings that allows the sender to provide custom data about the recipient. This information is returned in the envelope status but otherwise not used by DocuSign. Each customField string can be a maximum of 100 characters.. * @return customFields - **/ - @ApiModelProperty(example = "null", value = "An optional array of strings that allows the sender to provide custom data about the recipient. This information is returned in the envelope status but otherwise not used by DocuSign. Each customField string can be a maximum of 100 characters.") + **/ + @ApiModelProperty(value = "An optional array of strings that allows the sender to provide custom data about the recipient. This information is returned in the envelope status but otherwise not used by DocuSign. Each customField string can be a maximum of 100 characters.") public java.util.List getCustomFields() { return customFields; } + /** + * setCustomFields. + **/ public void setCustomFields(java.util.List customFields) { this.customFields = customFields; } + + /** + * declinedDateTime. + * + * @return Agent + **/ public Agent declinedDateTime(String declinedDateTime) { this.declinedDateTime = declinedDateTime; return this; } - /** - * The date and time the recipient declined the document. + /** + * The date and time the recipient declined the document.. * @return declinedDateTime - **/ - @ApiModelProperty(example = "null", value = "The date and time the recipient declined the document.") + **/ + @ApiModelProperty(value = "The date and time the recipient declined the document.") public String getDeclinedDateTime() { return declinedDateTime; } + /** + * setDeclinedDateTime. + **/ public void setDeclinedDateTime(String declinedDateTime) { this.declinedDateTime = declinedDateTime; } + + /** + * declinedReason. + * + * @return Agent + **/ public Agent declinedReason(String declinedReason) { this.declinedReason = declinedReason; return this; } - /** - * The reason the recipient declined the document. + /** + * The reason the recipient declined the document.. * @return declinedReason - **/ - @ApiModelProperty(example = "null", value = "The reason the recipient declined the document.") + **/ + @ApiModelProperty(value = "The reason the recipient declined the document.") public String getDeclinedReason() { return declinedReason; } + /** + * setDeclinedReason. + **/ public void setDeclinedReason(String declinedReason) { this.declinedReason = declinedReason; } + + /** + * deliveredDateTime. + * + * @return Agent + **/ public Agent deliveredDateTime(String deliveredDateTime) { this.deliveredDateTime = deliveredDateTime; return this; } - /** - * Reserved: For DocuSign use only. + /** + * Reserved: For DocuSign use only.. * @return deliveredDateTime - **/ - @ApiModelProperty(example = "null", value = "Reserved: For DocuSign use only.") + **/ + @ApiModelProperty(value = "Reserved: For DocuSign use only.") public String getDeliveredDateTime() { return deliveredDateTime; } + /** + * setDeliveredDateTime. + **/ public void setDeliveredDateTime(String deliveredDateTime) { this.deliveredDateTime = deliveredDateTime; } + + /** + * deliveryMethod. + * + * @return Agent + **/ public Agent deliveryMethod(String deliveryMethod) { this.deliveryMethod = deliveryMethod; return this; } - /** - * Reserved: For DocuSign use only. + /** + * Reserved: For DocuSign use only.. * @return deliveryMethod - **/ - @ApiModelProperty(example = "null", value = "Reserved: For DocuSign use only.") + **/ + @ApiModelProperty(value = "Reserved: For DocuSign use only.") public String getDeliveryMethod() { return deliveryMethod; } + /** + * setDeliveryMethod. + **/ public void setDeliveryMethod(String deliveryMethod) { this.deliveryMethod = deliveryMethod; } + + /** + * documentVisibility. + * + * @return Agent + **/ public Agent documentVisibility(java.util.List documentVisibility) { this.documentVisibility = documentVisibility; return this; } - + + /** + * addDocumentVisibilityItem. + * + * @return Agent + **/ public Agent addDocumentVisibilityItem(DocumentVisibility documentVisibilityItem) { + if (this.documentVisibility == null) { + this.documentVisibility = new java.util.ArrayList(); + } this.documentVisibility.add(documentVisibilityItem); return this; } - /** - * + /** + * . * @return documentVisibility - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getDocumentVisibility() { return documentVisibility; } + /** + * setDocumentVisibility. + **/ public void setDocumentVisibility(java.util.List documentVisibility) { this.documentVisibility = documentVisibility; } + + /** + * email. + * + * @return Agent + **/ public Agent email(String email) { this.email = email; return this; } - /** - * Email id of the recipient. Notification of the document to sign is sent to this email id. Maximum length: 100 characters. + /** + * Email id of the recipient. Notification of the document to sign is sent to this email id. Maximum length: 100 characters. . * @return email - **/ - @ApiModelProperty(example = "null", value = "Email id of the recipient. Notification of the document to sign is sent to this email id. Maximum length: 100 characters. ") + **/ + @ApiModelProperty(value = "Email id of the recipient. Notification of the document to sign is sent to this email id. Maximum length: 100 characters. ") public String getEmail() { return email; } + /** + * setEmail. + **/ public void setEmail(String email) { this.email = email; } + + /** + * emailNotification. + * + * @return Agent + **/ public Agent emailNotification(RecipientEmailNotification emailNotification) { this.emailNotification = emailNotification; return this; } - /** - * Get emailNotification + /** + * Get emailNotification. * @return emailNotification - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public RecipientEmailNotification getEmailNotification() { return emailNotification; } + /** + * setEmailNotification. + **/ public void setEmailNotification(RecipientEmailNotification emailNotification) { this.emailNotification = emailNotification; } + + /** + * emailRecipientPostSigningURL. + * + * @return Agent + **/ public Agent emailRecipientPostSigningURL(String emailRecipientPostSigningURL) { this.emailRecipientPostSigningURL = emailRecipientPostSigningURL; return this; } - /** - * + /** + * . * @return emailRecipientPostSigningURL - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getEmailRecipientPostSigningURL() { return emailRecipientPostSigningURL; } + /** + * setEmailRecipientPostSigningURL. + **/ public void setEmailRecipientPostSigningURL(String emailRecipientPostSigningURL) { this.emailRecipientPostSigningURL = emailRecipientPostSigningURL; } + + /** + * embeddedRecipientStartURL. + * + * @return Agent + **/ public Agent embeddedRecipientStartURL(String embeddedRecipientStartURL) { this.embeddedRecipientStartURL = embeddedRecipientStartURL; return this; } - /** - * Specifies a sender provided valid URL string for redirecting an embedded recipient. When using this option, the embedded recipient still receives an email from DocuSign, just as a remote recipient would. When the document link in the email is clicked the recipient is redirected, through DocuSign, to the supplied URL to complete their actions. When routing to the URL, the sender's system (the server responding to the URL) must request a recipient token to launch a signing session. If set to `SIGN_AT_DOCUSIGN`, the recipient is directed to an embedded signing or viewing process directly at DocuSign. The signing or viewing action is initiated by the DocuSign system and the transaction activity and Certificate of Completion records will reflect this. In all other ways the process is identical to an embedded signing or viewing operation that is launched by any partner. It is important to remember that in a typical embedded workflow the authentication of an embedded recipient is the responsibility of the sending application, DocuSign expects that senders will follow their own process for establishing the recipient's identity. In this workflow the recipient goes through the sending application before the embedded signing or viewing process in initiated. However, when the sending application sets `EmbeddedRecipientStartURL=SIGN_AT_DOCUSIGN`, the recipient goes directly to the embedded signing or viewing process bypassing the sending application and any authentication steps the sending application would use. In this case, DocuSign recommends that you use one of the normal DocuSign authentication features (Access Code, Phone Authentication, SMS Authentication, etc.) to verify the identity of the recipient. If the `clientUserId` property is NOT set, and the `embeddedRecipientStartURL` is set, DocuSign will ignore the redirect URL and launch the standard signing process for the email recipient. Information can be appended to the embedded recipient start URL using merge fields. The available merge fields items are: envelopeId, recipientId, recipientName, recipientEmail, and customFields. The `customFields` property must be set fort the recipient or envelope. The merge fields are enclosed in double brackets. *Example*: `http://senderHost/[[mergeField1]]/ beginSigningSession? [[mergeField2]]&[[mergeField3]]` + /** + * Specifies a sender provided valid URL string for redirecting an embedded recipient. When using this option, the embedded recipient still receives an email from DocuSign, just as a remote recipient would. When the document link in the email is clicked the recipient is redirected, through DocuSign, to the supplied URL to complete their actions. When routing to the URL, the sender's system (the server responding to the URL) must request a recipient token to launch a signing session. If set to `SIGN_AT_DOCUSIGN`, the recipient is directed to an embedded signing or viewing process directly at DocuSign. The signing or viewing action is initiated by the DocuSign system and the transaction activity and Certificate of Completion records will reflect this. In all other ways the process is identical to an embedded signing or viewing operation that is launched by any partner. It is important to remember that in a typical embedded workflow the authentication of an embedded recipient is the responsibility of the sending application, DocuSign expects that senders will follow their own process for establishing the recipient's identity. In this workflow the recipient goes through the sending application before the embedded signing or viewing process in initiated. However, when the sending application sets `EmbeddedRecipientStartURL=SIGN_AT_DOCUSIGN`, the recipient goes directly to the embedded signing or viewing process bypassing the sending application and any authentication steps the sending application would use. In this case, DocuSign recommends that you use one of the normal DocuSign authentication features (Access Code, Phone Authentication, SMS Authentication, etc.) to verify the identity of the recipient. If the `clientUserId` property is NOT set, and the `embeddedRecipientStartURL` is set, DocuSign will ignore the redirect URL and launch the standard signing process for the email recipient. Information can be appended to the embedded recipient start URL using merge fields. The available merge fields items are: envelopeId, recipientId, recipientName, recipientEmail, and customFields. The `customFields` property must be set fort the recipient or envelope. The merge fields are enclosed in double brackets. *Example*: `http://senderHost/[[mergeField1]]/ beginSigningSession? [[mergeField2]]&[[mergeField3]]` . * @return embeddedRecipientStartURL - **/ - @ApiModelProperty(example = "null", value = "Specifies a sender provided valid URL string for redirecting an embedded recipient. When using this option, the embedded recipient still receives an email from DocuSign, just as a remote recipient would. When the document link in the email is clicked the recipient is redirected, through DocuSign, to the supplied URL to complete their actions. When routing to the URL, the sender's system (the server responding to the URL) must request a recipient token to launch a signing session. If set to `SIGN_AT_DOCUSIGN`, the recipient is directed to an embedded signing or viewing process directly at DocuSign. The signing or viewing action is initiated by the DocuSign system and the transaction activity and Certificate of Completion records will reflect this. In all other ways the process is identical to an embedded signing or viewing operation that is launched by any partner. It is important to remember that in a typical embedded workflow the authentication of an embedded recipient is the responsibility of the sending application, DocuSign expects that senders will follow their own process for establishing the recipient's identity. In this workflow the recipient goes through the sending application before the embedded signing or viewing process in initiated. However, when the sending application sets `EmbeddedRecipientStartURL=SIGN_AT_DOCUSIGN`, the recipient goes directly to the embedded signing or viewing process bypassing the sending application and any authentication steps the sending application would use. In this case, DocuSign recommends that you use one of the normal DocuSign authentication features (Access Code, Phone Authentication, SMS Authentication, etc.) to verify the identity of the recipient. If the `clientUserId` property is NOT set, and the `embeddedRecipientStartURL` is set, DocuSign will ignore the redirect URL and launch the standard signing process for the email recipient. Information can be appended to the embedded recipient start URL using merge fields. The available merge fields items are: envelopeId, recipientId, recipientName, recipientEmail, and customFields. The `customFields` property must be set fort the recipient or envelope. The merge fields are enclosed in double brackets. *Example*: `http://senderHost/[[mergeField1]]/ beginSigningSession? [[mergeField2]]&[[mergeField3]]` ") + **/ + @ApiModelProperty(value = "Specifies a sender provided valid URL string for redirecting an embedded recipient. When using this option, the embedded recipient still receives an email from DocuSign, just as a remote recipient would. When the document link in the email is clicked the recipient is redirected, through DocuSign, to the supplied URL to complete their actions. When routing to the URL, the sender's system (the server responding to the URL) must request a recipient token to launch a signing session. If set to `SIGN_AT_DOCUSIGN`, the recipient is directed to an embedded signing or viewing process directly at DocuSign. The signing or viewing action is initiated by the DocuSign system and the transaction activity and Certificate of Completion records will reflect this. In all other ways the process is identical to an embedded signing or viewing operation that is launched by any partner. It is important to remember that in a typical embedded workflow the authentication of an embedded recipient is the responsibility of the sending application, DocuSign expects that senders will follow their own process for establishing the recipient's identity. In this workflow the recipient goes through the sending application before the embedded signing or viewing process in initiated. However, when the sending application sets `EmbeddedRecipientStartURL=SIGN_AT_DOCUSIGN`, the recipient goes directly to the embedded signing or viewing process bypassing the sending application and any authentication steps the sending application would use. In this case, DocuSign recommends that you use one of the normal DocuSign authentication features (Access Code, Phone Authentication, SMS Authentication, etc.) to verify the identity of the recipient. If the `clientUserId` property is NOT set, and the `embeddedRecipientStartURL` is set, DocuSign will ignore the redirect URL and launch the standard signing process for the email recipient. Information can be appended to the embedded recipient start URL using merge fields. The available merge fields items are: envelopeId, recipientId, recipientName, recipientEmail, and customFields. The `customFields` property must be set fort the recipient or envelope. The merge fields are enclosed in double brackets. *Example*: `http://senderHost/[[mergeField1]]/ beginSigningSession? [[mergeField2]]&[[mergeField3]]` ") public String getEmbeddedRecipientStartURL() { return embeddedRecipientStartURL; } + /** + * setEmbeddedRecipientStartURL. + **/ public void setEmbeddedRecipientStartURL(String embeddedRecipientStartURL) { this.embeddedRecipientStartURL = embeddedRecipientStartURL; } + + /** + * errorDetails. + * + * @return Agent + **/ public Agent errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * excludedDocuments. + * + * @return Agent + **/ public Agent excludedDocuments(java.util.List excludedDocuments) { this.excludedDocuments = excludedDocuments; return this; } - + + /** + * addExcludedDocumentsItem. + * + * @return Agent + **/ public Agent addExcludedDocumentsItem(String excludedDocumentsItem) { + if (this.excludedDocuments == null) { + this.excludedDocuments = new java.util.ArrayList(); + } this.excludedDocuments.add(excludedDocumentsItem); return this; } - /** - * Specifies the documents that are not visible to this recipient. Document Visibility must be enabled for the account and the `enforceSignerVisibility` property must be set to **true** for the envelope to use this. When enforce signer visibility is enabled, documents with tabs can only be viewed by signers that have a tab on that document. Recipients that have an administrative role (Agent, Editor, or Intermediaries) or informational role (Certified Deliveries or Carbon Copies) can always see all the documents in an envelope, unless they are specifically excluded using this setting when an envelope is sent. Documents that do not have tabs are always visible to all recipients, unless they are specifically excluded using this setting when an envelope is sent. + /** + * Specifies the documents that are not visible to this recipient. Document Visibility must be enabled for the account and the `enforceSignerVisibility` property must be set to **true** for the envelope to use this. When enforce signer visibility is enabled, documents with tabs can only be viewed by signers that have a tab on that document. Recipients that have an administrative role (Agent, Editor, or Intermediaries) or informational role (Certified Deliveries or Carbon Copies) can always see all the documents in an envelope, unless they are specifically excluded using this setting when an envelope is sent. Documents that do not have tabs are always visible to all recipients, unless they are specifically excluded using this setting when an envelope is sent.. * @return excludedDocuments - **/ - @ApiModelProperty(example = "null", value = "Specifies the documents that are not visible to this recipient. Document Visibility must be enabled for the account and the `enforceSignerVisibility` property must be set to **true** for the envelope to use this. When enforce signer visibility is enabled, documents with tabs can only be viewed by signers that have a tab on that document. Recipients that have an administrative role (Agent, Editor, or Intermediaries) or informational role (Certified Deliveries or Carbon Copies) can always see all the documents in an envelope, unless they are specifically excluded using this setting when an envelope is sent. Documents that do not have tabs are always visible to all recipients, unless they are specifically excluded using this setting when an envelope is sent.") + **/ + @ApiModelProperty(value = "Specifies the documents that are not visible to this recipient. Document Visibility must be enabled for the account and the `enforceSignerVisibility` property must be set to **true** for the envelope to use this. When enforce signer visibility is enabled, documents with tabs can only be viewed by signers that have a tab on that document. Recipients that have an administrative role (Agent, Editor, or Intermediaries) or informational role (Certified Deliveries or Carbon Copies) can always see all the documents in an envelope, unless they are specifically excluded using this setting when an envelope is sent. Documents that do not have tabs are always visible to all recipients, unless they are specifically excluded using this setting when an envelope is sent.") public java.util.List getExcludedDocuments() { return excludedDocuments; } + /** + * setExcludedDocuments. + **/ public void setExcludedDocuments(java.util.List excludedDocuments) { this.excludedDocuments = excludedDocuments; } + + /** + * faxNumber. + * + * @return Agent + **/ public Agent faxNumber(String faxNumber) { this.faxNumber = faxNumber; return this; } - /** - * Reserved: + /** + * Reserved:. * @return faxNumber - **/ - @ApiModelProperty(example = "null", value = "Reserved:") + **/ + @ApiModelProperty(value = "Reserved:") public String getFaxNumber() { return faxNumber; } + /** + * setFaxNumber. + **/ public void setFaxNumber(String faxNumber) { this.faxNumber = faxNumber; } + + /** + * firstName. + * + * @return Agent + **/ public Agent firstName(String firstName) { this.firstName = firstName; return this; } - /** - * The user's first name. Maximum Length: 50 characters. + /** + * The user's first name. Maximum Length: 50 characters.. * @return firstName - **/ - @ApiModelProperty(example = "null", value = "The user's first name. Maximum Length: 50 characters.") + **/ + @ApiModelProperty(value = "The user's first name. Maximum Length: 50 characters.") public String getFirstName() { return firstName; } + /** + * setFirstName. + **/ public void setFirstName(String firstName) { this.firstName = firstName; } + + /** + * fullName. + * + * @return Agent + **/ public Agent fullName(String fullName) { this.fullName = fullName; return this; } - /** - * + /** + * . * @return fullName - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getFullName() { return fullName; } + /** + * setFullName. + **/ public void setFullName(String fullName) { this.fullName = fullName; } + + /** + * idCheckConfigurationName. + * + * @return Agent + **/ public Agent idCheckConfigurationName(String idCheckConfigurationName) { this.idCheckConfigurationName = idCheckConfigurationName; return this; } - /** - * Specifies authentication check by name. The names used here must be the same as the authentication type names used by the account (these name can also be found in the web console sending interface in the Identify list for a recipient,) This overrides any default authentication setting. *Example*: Your account has ID Check and SMS Authentication available and in the web console Identify list these appear as 'ID Check $' and 'SMS Auth $'. To use ID check in an envelope, the idCheckConfigurationName should be 'ID Check '. If you wanted to use SMS, it would be 'SMS Auth $' and you would need to add you would need to add phone number information to the `smsAuthentication` node. + /** + * Specifies authentication check by name. The names used here must be the same as the authentication type names used by the account (these name can also be found in the web console sending interface in the Identify list for a recipient,) This overrides any default authentication setting. *Example*: Your account has ID Check and SMS Authentication available and in the web console Identify list these appear as 'ID Check $' and 'SMS Auth $'. To use ID check in an envelope, the idCheckConfigurationName should be 'ID Check '. If you wanted to use SMS, it would be 'SMS Auth $' and you would need to add you would need to add phone number information to the `smsAuthentication` node.. * @return idCheckConfigurationName - **/ - @ApiModelProperty(example = "null", value = "Specifies authentication check by name. The names used here must be the same as the authentication type names used by the account (these name can also be found in the web console sending interface in the Identify list for a recipient,) This overrides any default authentication setting. *Example*: Your account has ID Check and SMS Authentication available and in the web console Identify list these appear as 'ID Check $' and 'SMS Auth $'. To use ID check in an envelope, the idCheckConfigurationName should be 'ID Check '. If you wanted to use SMS, it would be 'SMS Auth $' and you would need to add you would need to add phone number information to the `smsAuthentication` node.") + **/ + @ApiModelProperty(value = "Specifies authentication check by name. The names used here must be the same as the authentication type names used by the account (these name can also be found in the web console sending interface in the Identify list for a recipient,) This overrides any default authentication setting. *Example*: Your account has ID Check and SMS Authentication available and in the web console Identify list these appear as 'ID Check $' and 'SMS Auth $'. To use ID check in an envelope, the idCheckConfigurationName should be 'ID Check '. If you wanted to use SMS, it would be 'SMS Auth $' and you would need to add you would need to add phone number information to the `smsAuthentication` node.") public String getIdCheckConfigurationName() { return idCheckConfigurationName; } + /** + * setIdCheckConfigurationName. + **/ public void setIdCheckConfigurationName(String idCheckConfigurationName) { this.idCheckConfigurationName = idCheckConfigurationName; } + + /** + * idCheckInformationInput. + * + * @return Agent + **/ public Agent idCheckInformationInput(IdCheckInformationInput idCheckInformationInput) { this.idCheckInformationInput = idCheckInformationInput; return this; } - /** - * Get idCheckInformationInput + /** + * Get idCheckInformationInput. * @return idCheckInformationInput - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public IdCheckInformationInput getIdCheckInformationInput() { return idCheckInformationInput; } + /** + * setIdCheckInformationInput. + **/ public void setIdCheckInformationInput(IdCheckInformationInput idCheckInformationInput) { this.idCheckInformationInput = idCheckInformationInput; } + + /** + * identityVerification. + * + * @return Agent + **/ + public Agent identityVerification(RecipientIdentityVerification identityVerification) { + this.identityVerification = identityVerification; + return this; + } + + /** + * Get identityVerification. + * @return identityVerification + **/ + @ApiModelProperty(value = "") + public RecipientIdentityVerification getIdentityVerification() { + return identityVerification; + } + + /** + * setIdentityVerification. + **/ + public void setIdentityVerification(RecipientIdentityVerification identityVerification) { + this.identityVerification = identityVerification; + } + + + /** + * inheritEmailNotificationConfiguration. + * + * @return Agent + **/ public Agent inheritEmailNotificationConfiguration(String inheritEmailNotificationConfiguration) { this.inheritEmailNotificationConfiguration = inheritEmailNotificationConfiguration; return this; } - /** - * When set to **true** and the envelope recipient creates a DocuSign account after signing, the Manage Account Email Notification settings are used as the default settings for the recipient's account. + /** + * When set to **true** and the envelope recipient creates a DocuSign account after signing, the Manage Account Email Notification settings are used as the default settings for the recipient's account. . * @return inheritEmailNotificationConfiguration - **/ - @ApiModelProperty(example = "null", value = "When set to **true** and the envelope recipient creates a DocuSign account after signing, the Manage Account Email Notification settings are used as the default settings for the recipient's account. ") + **/ + @ApiModelProperty(value = "When set to **true** and the envelope recipient creates a DocuSign account after signing, the Manage Account Email Notification settings are used as the default settings for the recipient's account. ") public String getInheritEmailNotificationConfiguration() { return inheritEmailNotificationConfiguration; } + /** + * setInheritEmailNotificationConfiguration. + **/ public void setInheritEmailNotificationConfiguration(String inheritEmailNotificationConfiguration) { this.inheritEmailNotificationConfiguration = inheritEmailNotificationConfiguration; } + + /** + * lastName. + * + * @return Agent + **/ public Agent lastName(String lastName) { this.lastName = lastName; return this; } - /** - * + /** + * . * @return lastName - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getLastName() { return lastName; } + /** + * setLastName. + **/ public void setLastName(String lastName) { this.lastName = lastName; } + + /** + * name. + * + * @return Agent + **/ public Agent name(String name) { this.name = name; return this; } - /** - * + /** + * . * @return name - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * note. + * + * @return Agent + **/ public Agent note(String note) { this.note = note; return this; } - /** - * Specifies a note that is unique to this recipient. This note is sent to the recipient via the signing email. The note displays in the signing UI near the upper left corner of the document on the signing screen. Maximum Length: 1000 characters. + /** + * Specifies a note that is unique to this recipient. This note is sent to the recipient via the signing email. The note displays in the signing UI near the upper left corner of the document on the signing screen. Maximum Length: 1000 characters.. * @return note - **/ - @ApiModelProperty(example = "null", value = "Specifies a note that is unique to this recipient. This note is sent to the recipient via the signing email. The note displays in the signing UI near the upper left corner of the document on the signing screen. Maximum Length: 1000 characters.") + **/ + @ApiModelProperty(value = "Specifies a note that is unique to this recipient. This note is sent to the recipient via the signing email. The note displays in the signing UI near the upper left corner of the document on the signing screen. Maximum Length: 1000 characters.") public String getNote() { return note; } + /** + * setNote. + **/ public void setNote(String note) { this.note = note; } + + /** + * phoneAuthentication. + * + * @return Agent + **/ public Agent phoneAuthentication(RecipientPhoneAuthentication phoneAuthentication) { this.phoneAuthentication = phoneAuthentication; return this; } - /** - * Get phoneAuthentication + /** + * Get phoneAuthentication. * @return phoneAuthentication - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public RecipientPhoneAuthentication getPhoneAuthentication() { return phoneAuthentication; } + /** + * setPhoneAuthentication. + **/ public void setPhoneAuthentication(RecipientPhoneAuthentication phoneAuthentication) { this.phoneAuthentication = phoneAuthentication; } + + /** + * recipientAttachments. + * + * @return Agent + **/ public Agent recipientAttachments(java.util.List recipientAttachments) { this.recipientAttachments = recipientAttachments; return this; } - + + /** + * addRecipientAttachmentsItem. + * + * @return Agent + **/ public Agent addRecipientAttachmentsItem(RecipientAttachment recipientAttachmentsItem) { + if (this.recipientAttachments == null) { + this.recipientAttachments = new java.util.ArrayList(); + } this.recipientAttachments.add(recipientAttachmentsItem); return this; } - /** - * Reserved: + /** + * Reserved:. * @return recipientAttachments - **/ - @ApiModelProperty(example = "null", value = "Reserved:") + **/ + @ApiModelProperty(value = "Reserved:") public java.util.List getRecipientAttachments() { return recipientAttachments; } + /** + * setRecipientAttachments. + **/ public void setRecipientAttachments(java.util.List recipientAttachments) { this.recipientAttachments = recipientAttachments; } + + /** + * recipientAuthenticationStatus. + * + * @return Agent + **/ public Agent recipientAuthenticationStatus(AuthenticationStatus recipientAuthenticationStatus) { this.recipientAuthenticationStatus = recipientAuthenticationStatus; return this; } - /** - * Get recipientAuthenticationStatus + /** + * Get recipientAuthenticationStatus. * @return recipientAuthenticationStatus - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public AuthenticationStatus getRecipientAuthenticationStatus() { return recipientAuthenticationStatus; } + /** + * setRecipientAuthenticationStatus. + **/ public void setRecipientAuthenticationStatus(AuthenticationStatus recipientAuthenticationStatus) { this.recipientAuthenticationStatus = recipientAuthenticationStatus; } + + /** + * recipientId. + * + * @return Agent + **/ public Agent recipientId(String recipientId) { this.recipientId = recipientId; return this; } - /** - * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document. + /** + * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.. * @return recipientId - **/ - @ApiModelProperty(example = "null", value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") + **/ + @ApiModelProperty(value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") public String getRecipientId() { return recipientId; } + /** + * setRecipientId. + **/ public void setRecipientId(String recipientId) { this.recipientId = recipientId; } + + /** + * recipientIdGuid. + * + * @return Agent + **/ public Agent recipientIdGuid(String recipientIdGuid) { this.recipientIdGuid = recipientIdGuid; return this; } - /** - * + /** + * . * @return recipientIdGuid - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getRecipientIdGuid() { return recipientIdGuid; } + /** + * setRecipientIdGuid. + **/ public void setRecipientIdGuid(String recipientIdGuid) { this.recipientIdGuid = recipientIdGuid; } + + /** + * requireIdLookup. + * + * @return Agent + **/ public Agent requireIdLookup(String requireIdLookup) { this.requireIdLookup = requireIdLookup; return this; } - /** - * When set to **true**, the recipient is required to use the specified ID check method (including Phone and SMS authentication) to validate their identity. + /** + * When set to **true**, the recipient is required to use the specified ID check method (including Phone and SMS authentication) to validate their identity. . * @return requireIdLookup - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the recipient is required to use the specified ID check method (including Phone and SMS authentication) to validate their identity. ") + **/ + @ApiModelProperty(value = "When set to **true**, the recipient is required to use the specified ID check method (including Phone and SMS authentication) to validate their identity. ") public String getRequireIdLookup() { return requireIdLookup; } + /** + * setRequireIdLookup. + **/ public void setRequireIdLookup(String requireIdLookup) { this.requireIdLookup = requireIdLookup; } + + /** + * roleName. + * + * @return Agent + **/ public Agent roleName(String roleName) { this.roleName = roleName; return this; } - /** - * Optional element. Specifies the role name associated with the recipient.

This is required when working with template recipients. + /** + * Optional element. Specifies the role name associated with the recipient.

This is required when working with template recipients.. * @return roleName - **/ - @ApiModelProperty(example = "null", value = "Optional element. Specifies the role name associated with the recipient.

This is required when working with template recipients.") + **/ + @ApiModelProperty(value = "Optional element. Specifies the role name associated with the recipient.

This is required when working with template recipients.") public String getRoleName() { return roleName; } + /** + * setRoleName. + **/ public void setRoleName(String roleName) { this.roleName = roleName; } + + /** + * routingOrder. + * + * @return Agent + **/ public Agent routingOrder(String routingOrder) { this.routingOrder = routingOrder; return this; } - /** - * Specifies the routing order of the recipient in the envelope. + /** + * Specifies the routing order of the recipient in the envelope. . * @return routingOrder - **/ - @ApiModelProperty(example = "null", value = "Specifies the routing order of the recipient in the envelope. ") + **/ + @ApiModelProperty(value = "Specifies the routing order of the recipient in the envelope. ") public String getRoutingOrder() { return routingOrder; } + /** + * setRoutingOrder. + **/ public void setRoutingOrder(String routingOrder) { this.routingOrder = routingOrder; } + + /** + * samlAuthentication. + * + * @return Agent + **/ public Agent samlAuthentication(RecipientSAMLAuthentication samlAuthentication) { this.samlAuthentication = samlAuthentication; return this; } - /** - * Get samlAuthentication + /** + * Get samlAuthentication. * @return samlAuthentication - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public RecipientSAMLAuthentication getSamlAuthentication() { return samlAuthentication; } + /** + * setSamlAuthentication. + **/ public void setSamlAuthentication(RecipientSAMLAuthentication samlAuthentication) { this.samlAuthentication = samlAuthentication; } + + /** + * sentDateTime. + * + * @return Agent + **/ public Agent sentDateTime(String sentDateTime) { this.sentDateTime = sentDateTime; return this; } - /** - * The date and time the envelope was sent. + /** + * The date and time the envelope was sent.. * @return sentDateTime - **/ - @ApiModelProperty(example = "null", value = "The date and time the envelope was sent.") + **/ + @ApiModelProperty(value = "The date and time the envelope was sent.") public String getSentDateTime() { return sentDateTime; } + /** + * setSentDateTime. + **/ public void setSentDateTime(String sentDateTime) { this.sentDateTime = sentDateTime; } + + /** + * signedDateTime. + * + * @return Agent + **/ public Agent signedDateTime(String signedDateTime) { this.signedDateTime = signedDateTime; return this; } - /** - * Reserved: For DocuSign use only. + /** + * Reserved: For DocuSign use only. . * @return signedDateTime - **/ - @ApiModelProperty(example = "null", value = "Reserved: For DocuSign use only. ") + **/ + @ApiModelProperty(value = "Reserved: For DocuSign use only. ") public String getSignedDateTime() { return signedDateTime; } + /** + * setSignedDateTime. + **/ public void setSignedDateTime(String signedDateTime) { this.signedDateTime = signedDateTime; } + + /** + * signingGroupId. + * + * @return Agent + **/ public Agent signingGroupId(String signingGroupId) { this.signingGroupId = signingGroupId; return this; } - /** - * When set to **true** and the feature is enabled in the sender's account, the signing recipient is required to draw signatures and initials at each signature/initial tab ( instead of adopting a signature/initial style or only drawing a signature/initial once). + /** + * When set to **true** and the feature is enabled in the sender's account, the signing recipient is required to draw signatures and initials at each signature/initial tab ( instead of adopting a signature/initial style or only drawing a signature/initial once).. * @return signingGroupId - **/ - @ApiModelProperty(example = "null", value = "When set to **true** and the feature is enabled in the sender's account, the signing recipient is required to draw signatures and initials at each signature/initial tab ( instead of adopting a signature/initial style or only drawing a signature/initial once).") + **/ + @ApiModelProperty(value = "When set to **true** and the feature is enabled in the sender's account, the signing recipient is required to draw signatures and initials at each signature/initial tab ( instead of adopting a signature/initial style or only drawing a signature/initial once).") public String getSigningGroupId() { return signingGroupId; } + /** + * setSigningGroupId. + **/ public void setSigningGroupId(String signingGroupId) { this.signingGroupId = signingGroupId; } + + /** + * signingGroupName. + * + * @return Agent + **/ public Agent signingGroupName(String signingGroupName) { this.signingGroupName = signingGroupName; return this; } - /** - * The display name for the signing group. Maximum Length: 100 characters. + /** + * The display name for the signing group. Maximum Length: 100 characters. . * @return signingGroupName - **/ - @ApiModelProperty(example = "null", value = "The display name for the signing group. Maximum Length: 100 characters. ") + **/ + @ApiModelProperty(value = "The display name for the signing group. Maximum Length: 100 characters. ") public String getSigningGroupName() { return signingGroupName; } + /** + * setSigningGroupName. + **/ public void setSigningGroupName(String signingGroupName) { this.signingGroupName = signingGroupName; } + + /** + * signingGroupUsers. + * + * @return Agent + **/ public Agent signingGroupUsers(java.util.List signingGroupUsers) { this.signingGroupUsers = signingGroupUsers; return this; } - + + /** + * addSigningGroupUsersItem. + * + * @return Agent + **/ public Agent addSigningGroupUsersItem(UserInfo signingGroupUsersItem) { + if (this.signingGroupUsers == null) { + this.signingGroupUsers = new java.util.ArrayList(); + } this.signingGroupUsers.add(signingGroupUsersItem); return this; } - /** - * A complex type that contains information about users in the signing group. + /** + * A complex type that contains information about users in the signing group.. * @return signingGroupUsers - **/ - @ApiModelProperty(example = "null", value = "A complex type that contains information about users in the signing group.") + **/ + @ApiModelProperty(value = "A complex type that contains information about users in the signing group.") public java.util.List getSigningGroupUsers() { return signingGroupUsers; } + /** + * setSigningGroupUsers. + **/ public void setSigningGroupUsers(java.util.List signingGroupUsers) { this.signingGroupUsers = signingGroupUsers; } + + /** + * smsAuthentication. + * + * @return Agent + **/ public Agent smsAuthentication(RecipientSMSAuthentication smsAuthentication) { this.smsAuthentication = smsAuthentication; return this; } - /** - * Get smsAuthentication + /** + * Get smsAuthentication. * @return smsAuthentication - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public RecipientSMSAuthentication getSmsAuthentication() { return smsAuthentication; } + /** + * setSmsAuthentication. + **/ public void setSmsAuthentication(RecipientSMSAuthentication smsAuthentication) { this.smsAuthentication = smsAuthentication; } + + /** + * socialAuthentications. + * + * @return Agent + **/ public Agent socialAuthentications(java.util.List socialAuthentications) { this.socialAuthentications = socialAuthentications; return this; } - + + /** + * addSocialAuthenticationsItem. + * + * @return Agent + **/ public Agent addSocialAuthenticationsItem(SocialAuthentication socialAuthenticationsItem) { + if (this.socialAuthentications == null) { + this.socialAuthentications = new java.util.ArrayList(); + } this.socialAuthentications.add(socialAuthenticationsItem); return this; } - /** - * Lists the social ID type that can be used for recipient authentication. + /** + * Lists the social ID type that can be used for recipient authentication.. * @return socialAuthentications - **/ - @ApiModelProperty(example = "null", value = " Lists the social ID type that can be used for recipient authentication.") + **/ + @ApiModelProperty(value = " Lists the social ID type that can be used for recipient authentication.") public java.util.List getSocialAuthentications() { return socialAuthentications; } + /** + * setSocialAuthentications. + **/ public void setSocialAuthentications(java.util.List socialAuthentications) { this.socialAuthentications = socialAuthentications; } + + /** + * status. + * + * @return Agent + **/ public Agent status(String status) { this.status = status; return this; } - /** - * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. + /** + * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.. * @return status - **/ - @ApiModelProperty(example = "null", value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") + **/ + @ApiModelProperty(value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") public String getStatus() { return status; } + /** + * setStatus. + **/ public void setStatus(String status) { this.status = status; } + + /** + * templateLocked. + * + * @return Agent + **/ public Agent templateLocked(String templateLocked) { this.templateLocked = templateLocked; return this; } - /** - * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. . * @return templateLocked - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") + **/ + @ApiModelProperty(value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") public String getTemplateLocked() { return templateLocked; } + /** + * setTemplateLocked. + **/ public void setTemplateLocked(String templateLocked) { this.templateLocked = templateLocked; } + + /** + * templateRequired. + * + * @return Agent + **/ public Agent templateRequired(String templateRequired) { this.templateRequired = templateRequired; return this; } - /** - * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.. * @return templateRequired - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") + **/ + @ApiModelProperty(value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") public String getTemplateRequired() { return templateRequired; } + /** + * setTemplateRequired. + **/ public void setTemplateRequired(String templateRequired) { this.templateRequired = templateRequired; } + + /** + * totalTabCount. + * + * @return Agent + **/ public Agent totalTabCount(String totalTabCount) { this.totalTabCount = totalTabCount; return this; } - /** - * + /** + * . * @return totalTabCount - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTotalTabCount() { return totalTabCount; } + /** + * setTotalTabCount. + **/ public void setTotalTabCount(String totalTabCount) { this.totalTabCount = totalTabCount; } + + /** + * userId. + * + * @return Agent + **/ public Agent userId(String userId) { this.userId = userId; return this; } - /** - * + /** + * . * @return userId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getUserId() { return userId; } + /** + * setUserId. + **/ public void setUserId(String userId) { this.userId = userId; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -1028,6 +1520,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.fullName, agent.fullName) && Objects.equals(this.idCheckConfigurationName, agent.idCheckConfigurationName) && Objects.equals(this.idCheckInformationInput, agent.idCheckInformationInput) && + Objects.equals(this.identityVerification, agent.identityVerification) && Objects.equals(this.inheritEmailNotificationConfiguration, agent.inheritEmailNotificationConfiguration) && Objects.equals(this.lastName, agent.lastName) && Objects.equals(this.name, agent.name) && @@ -1055,12 +1548,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.userId, agent.userId); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { - return Objects.hash(accessCode, addAccessCodeToEmail, clientUserId, customFields, declinedDateTime, declinedReason, deliveredDateTime, deliveryMethod, documentVisibility, email, emailNotification, emailRecipientPostSigningURL, embeddedRecipientStartURL, errorDetails, excludedDocuments, faxNumber, firstName, fullName, idCheckConfigurationName, idCheckInformationInput, inheritEmailNotificationConfiguration, lastName, name, note, phoneAuthentication, recipientAttachments, recipientAuthenticationStatus, recipientId, recipientIdGuid, requireIdLookup, roleName, routingOrder, samlAuthentication, sentDateTime, signedDateTime, signingGroupId, signingGroupName, signingGroupUsers, smsAuthentication, socialAuthentications, status, templateLocked, templateRequired, totalTabCount, userId); + return Objects.hash(accessCode, addAccessCodeToEmail, clientUserId, customFields, declinedDateTime, declinedReason, deliveredDateTime, deliveryMethod, documentVisibility, email, emailNotification, emailRecipientPostSigningURL, embeddedRecipientStartURL, errorDetails, excludedDocuments, faxNumber, firstName, fullName, idCheckConfigurationName, idCheckInformationInput, identityVerification, inheritEmailNotificationConfiguration, lastName, name, note, phoneAuthentication, recipientAttachments, recipientAuthenticationStatus, recipientId, recipientIdGuid, requireIdLookup, roleName, routingOrder, samlAuthentication, sentDateTime, signedDateTime, signingGroupId, signingGroupName, signingGroupUsers, smsAuthentication, socialAuthentications, status, templateLocked, templateRequired, totalTabCount, userId); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -1086,6 +1585,7 @@ public String toString() { sb.append(" fullName: ").append(toIndentedString(fullName)).append("\n"); sb.append(" idCheckConfigurationName: ").append(toIndentedString(idCheckConfigurationName)).append("\n"); sb.append(" idCheckInformationInput: ").append(toIndentedString(idCheckInformationInput)).append("\n"); + sb.append(" identityVerification: ").append(toIndentedString(identityVerification)).append("\n"); sb.append(" inheritEmailNotificationConfiguration: ").append(toIndentedString(inheritEmailNotificationConfiguration)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); @@ -1125,6 +1625,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/ApiRequestLog.java b/src/main/java/com/docusign/esign/model/ApiRequestLog.java index 40b1a96f..d4f67ee8 100644 --- a/src/main/java/com/docusign/esign/model/ApiRequestLog.java +++ b/src/main/java/com/docusign/esign/model/ApiRequestLog.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Contains API request log information. + * Contains API request log information.. + * */ @ApiModel(description = "Contains API request log information.") @@ -24,79 +27,120 @@ public class ApiRequestLog { @JsonProperty("status") private String status = null; + + /** + * createdDateTime. + * + * @return ApiRequestLog + **/ public ApiRequestLog createdDateTime(String createdDateTime) { this.createdDateTime = createdDateTime; return this; } - /** - * Indicates the date and time the item was created. + /** + * Indicates the date and time the item was created.. * @return createdDateTime - **/ - @ApiModelProperty(example = "null", value = "Indicates the date and time the item was created.") + **/ + @ApiModelProperty(value = "Indicates the date and time the item was created.") public String getCreatedDateTime() { return createdDateTime; } + /** + * setCreatedDateTime. + **/ public void setCreatedDateTime(String createdDateTime) { this.createdDateTime = createdDateTime; } + + /** + * description. + * + * @return ApiRequestLog + **/ public ApiRequestLog description(String description) { this.description = description; return this; } - /** - * + /** + * . * @return description - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getDescription() { return description; } + /** + * setDescription. + **/ public void setDescription(String description) { this.description = description; } + + /** + * requestLogId. + * + * @return ApiRequestLog + **/ public ApiRequestLog requestLogId(String requestLogId) { this.requestLogId = requestLogId; return this; } - /** - * + /** + * . * @return requestLogId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getRequestLogId() { return requestLogId; } + /** + * setRequestLogId. + **/ public void setRequestLogId(String requestLogId) { this.requestLogId = requestLogId; } + + /** + * status. + * + * @return ApiRequestLog + **/ public ApiRequestLog status(String status) { this.status = status; return this; } - /** - * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. + /** + * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.. * @return status - **/ - @ApiModelProperty(example = "null", value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") + **/ + @ApiModelProperty(value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") public String getStatus() { return status; } + /** + * setStatus. + **/ public void setStatus(String status) { this.status = status; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -112,12 +156,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.status, apiRequestLog.status); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(createdDateTime, description, requestLogId, status); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -141,6 +191,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/ApiRequestLogsResult.java b/src/main/java/com/docusign/esign/model/ApiRequestLogsResult.java index 3cde00a2..b5cf98a8 100644 --- a/src/main/java/com/docusign/esign/model/ApiRequestLogsResult.java +++ b/src/main/java/com/docusign/esign/model/ApiRequestLogsResult.java @@ -1,45 +1,70 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ApiRequestLog; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Contains information about mutiple API request logs. + * Contains information about mutiple API request logs.. + * */ @ApiModel(description = "Contains information about mutiple API request logs.") public class ApiRequestLogsResult { @JsonProperty("apiRequestLogs") - private java.util.List apiRequestLogs = new java.util.ArrayList(); + private java.util.List apiRequestLogs = null; + + /** + * apiRequestLogs. + * + * @return ApiRequestLogsResult + **/ public ApiRequestLogsResult apiRequestLogs(java.util.List apiRequestLogs) { this.apiRequestLogs = apiRequestLogs; return this; } - + + /** + * addApiRequestLogsItem. + * + * @return ApiRequestLogsResult + **/ public ApiRequestLogsResult addApiRequestLogsItem(ApiRequestLog apiRequestLogsItem) { + if (this.apiRequestLogs == null) { + this.apiRequestLogs = new java.util.ArrayList(); + } this.apiRequestLogs.add(apiRequestLogsItem); return this; } - /** - * Reserved: TBD + /** + * Reserved: TBD. * @return apiRequestLogs - **/ - @ApiModelProperty(example = "null", value = "Reserved: TBD") + **/ + @ApiModelProperty(value = "Reserved: TBD") public java.util.List getApiRequestLogs() { return apiRequestLogs; } + /** + * setApiRequestLogs. + **/ public void setApiRequestLogs(java.util.List apiRequestLogs) { this.apiRequestLogs = apiRequestLogs; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -52,12 +77,18 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.apiRequestLogs, apiRequestLogsResult.apiRequestLogs); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(apiRequestLogs); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -78,6 +109,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/AppStoreProduct.java b/src/main/java/com/docusign/esign/model/AppStoreProduct.java index a936f9e4..b6e293c5 100644 --- a/src/main/java/com/docusign/esign/model/AppStoreProduct.java +++ b/src/main/java/com/docusign/esign/model/AppStoreProduct.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Contains information about an APP store product. + * Contains information about an APP store product.. + * */ @ApiModel(description = "Contains information about an APP store product.") @@ -18,43 +21,66 @@ public class AppStoreProduct { @JsonProperty("productId") private String productId = null; + + /** + * marketPlace. + * + * @return AppStoreProduct + **/ public AppStoreProduct marketPlace(String marketPlace) { this.marketPlace = marketPlace; return this; } - /** - * + /** + * . * @return marketPlace - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getMarketPlace() { return marketPlace; } + /** + * setMarketPlace. + **/ public void setMarketPlace(String marketPlace) { this.marketPlace = marketPlace; } + + /** + * productId. + * + * @return AppStoreProduct + **/ public AppStoreProduct productId(String productId) { this.productId = productId; return this; } - /** - * The Product ID from the AppStore. + /** + * The Product ID from the AppStore.. * @return productId - **/ - @ApiModelProperty(example = "null", value = "The Product ID from the AppStore.") + **/ + @ApiModelProperty(value = "The Product ID from the AppStore.") public String getProductId() { return productId; } + /** + * setProductId. + **/ public void setProductId(String productId) { this.productId = productId; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -68,12 +94,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.productId, appStoreProduct.productId); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(marketPlace, productId); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -95,6 +127,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/AppStoreReceipt.java b/src/main/java/com/docusign/esign/model/AppStoreReceipt.java index 89c478b0..83e1c53d 100644 --- a/src/main/java/com/docusign/esign/model/AppStoreReceipt.java +++ b/src/main/java/com/docusign/esign/model/AppStoreReceipt.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Contains information about an APP store receipt. + * Contains information about an APP store receipt.. + * */ @ApiModel(description = "Contains information about an APP store receipt.") @@ -18,43 +21,66 @@ public class AppStoreReceipt { @JsonProperty("receiptData") private String receiptData = null; + + /** + * productId. + * + * @return AppStoreReceipt + **/ public AppStoreReceipt productId(String productId) { this.productId = productId; return this; } - /** - * + /** + * . * @return productId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getProductId() { return productId; } + /** + * setProductId. + **/ public void setProductId(String productId) { this.productId = productId; } + + /** + * receiptData. + * + * @return AppStoreReceipt + **/ public AppStoreReceipt receiptData(String receiptData) { this.receiptData = receiptData; return this; } - /** - * Reserved: TBD + /** + * Reserved: TBD. * @return receiptData - **/ - @ApiModelProperty(example = "null", value = "Reserved: TBD") + **/ + @ApiModelProperty(value = "Reserved: TBD") public String getReceiptData() { return receiptData; } + /** + * setReceiptData. + **/ public void setReceiptData(String receiptData) { this.receiptData = receiptData; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -68,12 +94,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.receiptData, appStoreReceipt.receiptData); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(productId, receiptData); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -95,6 +127,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/Approve.java b/src/main/java/com/docusign/esign/model/Approve.java index 11382833..5618cc8b 100644 --- a/src/main/java/com/docusign/esign/model/Approve.java +++ b/src/main/java/com/docusign/esign/model/Approve.java @@ -1,15 +1,18 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ErrorDetails; import com.docusign.esign.model.MergeField; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Approve + * Approve. + * */ public class Approve { @@ -86,7 +89,7 @@ public class Approve { private String status = null; @JsonProperty("tabGroupLabels") - private java.util.List tabGroupLabels = new java.util.ArrayList(); + private java.util.List tabGroupLabels = null; @JsonProperty("tabId") private String tabId = null; @@ -118,642 +121,970 @@ public class Approve { @JsonProperty("yPosition") private String yPosition = null; + + /** + * anchorCaseSensitive. + * + * @return Approve + **/ public Approve anchorCaseSensitive(String anchorCaseSensitive) { this.anchorCaseSensitive = anchorCaseSensitive; return this; } - /** - * When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**. + /** + * When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.. * @return anchorCaseSensitive - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.") + **/ + @ApiModelProperty(value = "When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.") public String getAnchorCaseSensitive() { return anchorCaseSensitive; } + /** + * setAnchorCaseSensitive. + **/ public void setAnchorCaseSensitive(String anchorCaseSensitive) { this.anchorCaseSensitive = anchorCaseSensitive; } + + /** + * anchorHorizontalAlignment. + * + * @return Approve + **/ public Approve anchorHorizontalAlignment(String anchorHorizontalAlignment) { this.anchorHorizontalAlignment = anchorHorizontalAlignment; return this; } - /** - * Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**. + /** + * Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.. * @return anchorHorizontalAlignment - **/ - @ApiModelProperty(example = "null", value = "Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.") + **/ + @ApiModelProperty(value = "Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.") public String getAnchorHorizontalAlignment() { return anchorHorizontalAlignment; } + /** + * setAnchorHorizontalAlignment. + **/ public void setAnchorHorizontalAlignment(String anchorHorizontalAlignment) { this.anchorHorizontalAlignment = anchorHorizontalAlignment; } + + /** + * anchorIgnoreIfNotPresent. + * + * @return Approve + **/ public Approve anchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { this.anchorIgnoreIfNotPresent = anchorIgnoreIfNotPresent; return this; } - /** - * When set to **true**, this tab is ignored if anchorString is not found in the document. + /** + * When set to **true**, this tab is ignored if anchorString is not found in the document.. * @return anchorIgnoreIfNotPresent - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, this tab is ignored if anchorString is not found in the document.") + **/ + @ApiModelProperty(value = "When set to **true**, this tab is ignored if anchorString is not found in the document.") public String getAnchorIgnoreIfNotPresent() { return anchorIgnoreIfNotPresent; } + /** + * setAnchorIgnoreIfNotPresent. + **/ public void setAnchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { this.anchorIgnoreIfNotPresent = anchorIgnoreIfNotPresent; } + + /** + * anchorMatchWholeWord. + * + * @return Approve + **/ public Approve anchorMatchWholeWord(String anchorMatchWholeWord) { this.anchorMatchWholeWord = anchorMatchWholeWord; return this; } - /** - * When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**. + /** + * When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.. * @return anchorMatchWholeWord - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.") + **/ + @ApiModelProperty(value = "When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.") public String getAnchorMatchWholeWord() { return anchorMatchWholeWord; } + /** + * setAnchorMatchWholeWord. + **/ public void setAnchorMatchWholeWord(String anchorMatchWholeWord) { this.anchorMatchWholeWord = anchorMatchWholeWord; } + + /** + * anchorString. + * + * @return Approve + **/ public Approve anchorString(String anchorString) { this.anchorString = anchorString; return this; } - /** - * Anchor text information for a radio button. + /** + * Anchor text information for a radio button.. * @return anchorString - **/ - @ApiModelProperty(example = "null", value = "Anchor text information for a radio button.") + **/ + @ApiModelProperty(value = "Anchor text information for a radio button.") public String getAnchorString() { return anchorString; } + /** + * setAnchorString. + **/ public void setAnchorString(String anchorString) { this.anchorString = anchorString; } + + /** + * anchorUnits. + * + * @return Approve + **/ public Approve anchorUnits(String anchorUnits) { this.anchorUnits = anchorUnits; return this; } - /** - * Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. + /** + * Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. * @return anchorUnits - **/ - @ApiModelProperty(example = "null", value = "Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.") + **/ + @ApiModelProperty(value = "Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.") public String getAnchorUnits() { return anchorUnits; } + /** + * setAnchorUnits. + **/ public void setAnchorUnits(String anchorUnits) { this.anchorUnits = anchorUnits; } + + /** + * anchorXOffset. + * + * @return Approve + **/ public Approve anchorXOffset(String anchorXOffset) { this.anchorXOffset = anchorXOffset; return this; } - /** - * Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString. + /** + * Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. * @return anchorXOffset - **/ - @ApiModelProperty(example = "null", value = "Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.") + **/ + @ApiModelProperty(value = "Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.") public String getAnchorXOffset() { return anchorXOffset; } + /** + * setAnchorXOffset. + **/ public void setAnchorXOffset(String anchorXOffset) { this.anchorXOffset = anchorXOffset; } + + /** + * anchorYOffset. + * + * @return Approve + **/ public Approve anchorYOffset(String anchorYOffset) { this.anchorYOffset = anchorYOffset; return this; } - /** - * Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString. + /** + * Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.. * @return anchorYOffset - **/ - @ApiModelProperty(example = "null", value = "Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.") + **/ + @ApiModelProperty(value = "Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.") public String getAnchorYOffset() { return anchorYOffset; } + /** + * setAnchorYOffset. + **/ public void setAnchorYOffset(String anchorYOffset) { this.anchorYOffset = anchorYOffset; } + + /** + * bold. + * + * @return Approve + **/ public Approve bold(String bold) { this.bold = bold; return this; } - /** - * When set to **true**, the information in the tab is bold. + /** + * When set to **true**, the information in the tab is bold.. * @return bold - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is bold.") + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is bold.") public String getBold() { return bold; } + /** + * setBold. + **/ public void setBold(String bold) { this.bold = bold; } + + /** + * buttonText. + * + * @return Approve + **/ public Approve buttonText(String buttonText) { this.buttonText = buttonText; return this; } - /** - * Specifies the approval text displayed in the tab. + /** + * Specifies the approval text displayed in the tab. . * @return buttonText - **/ - @ApiModelProperty(example = "null", value = " Specifies the approval text displayed in the tab. ") + **/ + @ApiModelProperty(value = " Specifies the approval text displayed in the tab. ") public String getButtonText() { return buttonText; } + /** + * setButtonText. + **/ public void setButtonText(String buttonText) { this.buttonText = buttonText; } + + /** + * conditionalParentLabel. + * + * @return Approve + **/ public Approve conditionalParentLabel(String conditionalParentLabel) { this.conditionalParentLabel = conditionalParentLabel; return this; } - /** - * For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility. + /** + * For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.. * @return conditionalParentLabel - **/ - @ApiModelProperty(example = "null", value = "For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.") + **/ + @ApiModelProperty(value = "For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.") public String getConditionalParentLabel() { return conditionalParentLabel; } + /** + * setConditionalParentLabel. + **/ public void setConditionalParentLabel(String conditionalParentLabel) { this.conditionalParentLabel = conditionalParentLabel; } + + /** + * conditionalParentValue. + * + * @return Approve + **/ public Approve conditionalParentValue(String conditionalParentValue) { this.conditionalParentValue = conditionalParentValue; return this; } - /** - * For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. + /** + * For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. . * @return conditionalParentValue - **/ - @ApiModelProperty(example = "null", value = "For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. ") + **/ + @ApiModelProperty(value = "For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. ") public String getConditionalParentValue() { return conditionalParentValue; } + /** + * setConditionalParentValue. + **/ public void setConditionalParentValue(String conditionalParentValue) { this.conditionalParentValue = conditionalParentValue; } + + /** + * customTabId. + * + * @return Approve + **/ public Approve customTabId(String customTabId) { this.customTabId = customTabId; return this; } - /** - * The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties. + /** + * The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.. * @return customTabId - **/ - @ApiModelProperty(example = "null", value = "The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.") + **/ + @ApiModelProperty(value = "The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.") public String getCustomTabId() { return customTabId; } + /** + * setCustomTabId. + **/ public void setCustomTabId(String customTabId) { this.customTabId = customTabId; } + + /** + * documentId. + * + * @return Approve + **/ public Approve documentId(String documentId) { this.documentId = documentId; return this; } - /** - * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute. + /** + * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.. * @return documentId - **/ - @ApiModelProperty(example = "null", value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") + **/ + @ApiModelProperty(value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") public String getDocumentId() { return documentId; } + /** + * setDocumentId. + **/ public void setDocumentId(String documentId) { this.documentId = documentId; } + + /** + * errorDetails. + * + * @return Approve + **/ public Approve errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * font. + * + * @return Approve + **/ public Approve font(String font) { this.font = font; return this; } - /** - * The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default. + /** + * The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.. * @return font - **/ - @ApiModelProperty(example = "null", value = "The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.") + **/ + @ApiModelProperty(value = "The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.") public String getFont() { return font; } + /** + * setFont. + **/ public void setFont(String font) { this.font = font; } + + /** + * fontColor. + * + * @return Approve + **/ public Approve fontColor(String fontColor) { this.fontColor = fontColor; return this; } - /** - * The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White. + /** + * The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.. * @return fontColor - **/ - @ApiModelProperty(example = "null", value = "The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.") + **/ + @ApiModelProperty(value = "The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.") public String getFontColor() { return fontColor; } + /** + * setFontColor. + **/ public void setFontColor(String fontColor) { this.fontColor = fontColor; } + + /** + * fontSize. + * + * @return Approve + **/ public Approve fontSize(String fontSize) { this.fontSize = fontSize; return this; } - /** - * The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72. + /** + * The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.. * @return fontSize - **/ - @ApiModelProperty(example = "null", value = "The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.") + **/ + @ApiModelProperty(value = "The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.") public String getFontSize() { return fontSize; } + /** + * setFontSize. + **/ public void setFontSize(String fontSize) { this.fontSize = fontSize; } + + /** + * height. + * + * @return Approve + **/ public Approve height(Integer height) { this.height = height; return this; } - /** - * Height of the tab in pixels. + /** + * Height of the tab in pixels.. * @return height - **/ - @ApiModelProperty(example = "null", value = "Height of the tab in pixels.") + **/ + @ApiModelProperty(value = "Height of the tab in pixels.") public Integer getHeight() { return height; } + /** + * setHeight. + **/ public void setHeight(Integer height) { this.height = height; } + + /** + * italic. + * + * @return Approve + **/ public Approve italic(String italic) { this.italic = italic; return this; } - /** - * When set to **true**, the information in the tab is italic. + /** + * When set to **true**, the information in the tab is italic.. * @return italic - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is italic.") + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is italic.") public String getItalic() { return italic; } + /** + * setItalic. + **/ public void setItalic(String italic) { this.italic = italic; } + + /** + * mergeField. + * + * @return Approve + **/ public Approve mergeField(MergeField mergeField) { this.mergeField = mergeField; return this; } - /** - * Get mergeField + /** + * Get mergeField. * @return mergeField - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public MergeField getMergeField() { return mergeField; } + /** + * setMergeField. + **/ public void setMergeField(MergeField mergeField) { this.mergeField = mergeField; } + + /** + * pageNumber. + * + * @return Approve + **/ public Approve pageNumber(String pageNumber) { this.pageNumber = pageNumber; return this; } - /** - * Specifies the page number on which the tab is located. + /** + * Specifies the page number on which the tab is located.. * @return pageNumber - **/ - @ApiModelProperty(example = "null", value = "Specifies the page number on which the tab is located.") + **/ + @ApiModelProperty(value = "Specifies the page number on which the tab is located.") public String getPageNumber() { return pageNumber; } + /** + * setPageNumber. + **/ public void setPageNumber(String pageNumber) { this.pageNumber = pageNumber; } + + /** + * recipientId. + * + * @return Approve + **/ public Approve recipientId(String recipientId) { this.recipientId = recipientId; return this; } - /** - * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document. + /** + * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.. * @return recipientId - **/ - @ApiModelProperty(example = "null", value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") + **/ + @ApiModelProperty(value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") public String getRecipientId() { return recipientId; } + /** + * setRecipientId. + **/ public void setRecipientId(String recipientId) { this.recipientId = recipientId; } + + /** + * status. + * + * @return Approve + **/ public Approve status(String status) { this.status = status; return this; } - /** - * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. + /** + * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.. * @return status - **/ - @ApiModelProperty(example = "null", value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") + **/ + @ApiModelProperty(value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") public String getStatus() { return status; } + /** + * setStatus. + **/ public void setStatus(String status) { this.status = status; } + + /** + * tabGroupLabels. + * + * @return Approve + **/ public Approve tabGroupLabels(java.util.List tabGroupLabels) { this.tabGroupLabels = tabGroupLabels; return this; } - + + /** + * addTabGroupLabelsItem. + * + * @return Approve + **/ public Approve addTabGroupLabelsItem(String tabGroupLabelsItem) { + if (this.tabGroupLabels == null) { + this.tabGroupLabels = new java.util.ArrayList(); + } this.tabGroupLabels.add(tabGroupLabelsItem); return this; } - /** - * + /** + * . * @return tabGroupLabels - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getTabGroupLabels() { return tabGroupLabels; } + /** + * setTabGroupLabels. + **/ public void setTabGroupLabels(java.util.List tabGroupLabels) { this.tabGroupLabels = tabGroupLabels; } + + /** + * tabId. + * + * @return Approve + **/ public Approve tabId(String tabId) { this.tabId = tabId; return this; } - /** - * The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. + /** + * The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. . * @return tabId - **/ - @ApiModelProperty(example = "null", value = "The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. ") + **/ + @ApiModelProperty(value = "The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. ") public String getTabId() { return tabId; } + /** + * setTabId. + **/ public void setTabId(String tabId) { this.tabId = tabId; } + + /** + * tabLabel. + * + * @return Approve + **/ public Approve tabLabel(String tabLabel) { this.tabLabel = tabLabel; return this; } - /** - * The label string associated with the tab. + /** + * The label string associated with the tab.. * @return tabLabel - **/ - @ApiModelProperty(example = "null", value = "The label string associated with the tab.") + **/ + @ApiModelProperty(value = "The label string associated with the tab.") public String getTabLabel() { return tabLabel; } + /** + * setTabLabel. + **/ public void setTabLabel(String tabLabel) { this.tabLabel = tabLabel; } + + /** + * tabOrder. + * + * @return Approve + **/ public Approve tabOrder(String tabOrder) { this.tabOrder = tabOrder; return this; } - /** - * + /** + * . * @return tabOrder - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTabOrder() { return tabOrder; } + /** + * setTabOrder. + **/ public void setTabOrder(String tabOrder) { this.tabOrder = tabOrder; } + + /** + * templateLocked. + * + * @return Approve + **/ public Approve templateLocked(String templateLocked) { this.templateLocked = templateLocked; return this; } - /** - * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. . * @return templateLocked - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") + **/ + @ApiModelProperty(value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") public String getTemplateLocked() { return templateLocked; } + /** + * setTemplateLocked. + **/ public void setTemplateLocked(String templateLocked) { this.templateLocked = templateLocked; } + + /** + * templateRequired. + * + * @return Approve + **/ public Approve templateRequired(String templateRequired) { this.templateRequired = templateRequired; return this; } - /** - * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.. * @return templateRequired - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") + **/ + @ApiModelProperty(value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") public String getTemplateRequired() { return templateRequired; } + /** + * setTemplateRequired. + **/ public void setTemplateRequired(String templateRequired) { this.templateRequired = templateRequired; } + + /** + * tooltip. + * + * @return Approve + **/ public Approve tooltip(String tooltip) { this.tooltip = tooltip; return this; } - /** - * + /** + * . * @return tooltip - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTooltip() { return tooltip; } + /** + * setTooltip. + **/ public void setTooltip(String tooltip) { this.tooltip = tooltip; } + + /** + * underline. + * + * @return Approve + **/ public Approve underline(String underline) { this.underline = underline; return this; } - /** - * When set to **true**, the information in the tab is underlined. + /** + * When set to **true**, the information in the tab is underlined.. * @return underline - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is underlined.") + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is underlined.") public String getUnderline() { return underline; } + /** + * setUnderline. + **/ public void setUnderline(String underline) { this.underline = underline; } + + /** + * width. + * + * @return Approve + **/ public Approve width(Integer width) { this.width = width; return this; } - /** - * Width of the tab in pixels. + /** + * Width of the tab in pixels.. * @return width - **/ - @ApiModelProperty(example = "null", value = "Width of the tab in pixels.") + **/ + @ApiModelProperty(value = "Width of the tab in pixels.") public Integer getWidth() { return width; } + /** + * setWidth. + **/ public void setWidth(Integer width) { this.width = width; } + + /** + * xPosition. + * + * @return Approve + **/ public Approve xPosition(String xPosition) { this.xPosition = xPosition; return this; } - /** - * This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position. + /** + * This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.. * @return xPosition - **/ - @ApiModelProperty(example = "null", value = "This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.") + **/ + @ApiModelProperty(value = "This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.") public String getXPosition() { return xPosition; } + /** + * setXPosition. + **/ public void setXPosition(String xPosition) { this.xPosition = xPosition; } + + /** + * yPosition. + * + * @return Approve + **/ public Approve yPosition(String yPosition) { this.yPosition = yPosition; return this; } - /** - * This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position. + /** + * This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. * @return yPosition - **/ - @ApiModelProperty(example = "null", value = "This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.") + **/ + @ApiModelProperty(value = "This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.") public String getYPosition() { return yPosition; } + /** + * setYPosition. + **/ public void setYPosition(String yPosition) { this.yPosition = yPosition; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -800,12 +1131,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.yPosition, approve.yPosition); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(anchorCaseSensitive, anchorHorizontalAlignment, anchorIgnoreIfNotPresent, anchorMatchWholeWord, anchorString, anchorUnits, anchorXOffset, anchorYOffset, bold, buttonText, conditionalParentLabel, conditionalParentValue, customTabId, documentId, errorDetails, font, fontColor, fontSize, height, italic, mergeField, pageNumber, recipientId, status, tabGroupLabels, tabId, tabLabel, tabOrder, templateLocked, templateRequired, tooltip, underline, width, xPosition, yPosition); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -860,6 +1197,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/Attachment.java b/src/main/java/com/docusign/esign/model/Attachment.java index 4ac4ddac..6195c882 100644 --- a/src/main/java/com/docusign/esign/model/Attachment.java +++ b/src/main/java/com/docusign/esign/model/Attachment.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Contains information about an attachment. + * Contains information about an attachment.. + * */ @ApiModel(description = "Contains information about an attachment.") @@ -33,133 +36,201 @@ public class Attachment { @JsonProperty("remoteUrl") private String remoteUrl = null; + + /** + * accessControl. + * + * @return Attachment + **/ public Attachment accessControl(String accessControl) { this.accessControl = accessControl; return this; } - /** - * + /** + * . * @return accessControl - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAccessControl() { return accessControl; } + /** + * setAccessControl. + **/ public void setAccessControl(String accessControl) { this.accessControl = accessControl; } + + /** + * attachmentId. + * + * @return Attachment + **/ public Attachment attachmentId(String attachmentId) { this.attachmentId = attachmentId; return this; } - /** - * + /** + * . * @return attachmentId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAttachmentId() { return attachmentId; } + /** + * setAttachmentId. + **/ public void setAttachmentId(String attachmentId) { this.attachmentId = attachmentId; } + + /** + * attachmentType. + * + * @return Attachment + **/ public Attachment attachmentType(String attachmentType) { this.attachmentType = attachmentType; return this; } - /** - * Specifies the type of the attachment for the recipient. + /** + * Specifies the type of the attachment for the recipient.. * @return attachmentType - **/ - @ApiModelProperty(example = "null", value = "Specifies the type of the attachment for the recipient.") + **/ + @ApiModelProperty(value = "Specifies the type of the attachment for the recipient.") public String getAttachmentType() { return attachmentType; } + /** + * setAttachmentType. + **/ public void setAttachmentType(String attachmentType) { this.attachmentType = attachmentType; } + + /** + * data. + * + * @return Attachment + **/ public Attachment data(String data) { this.data = data; return this; } - /** - * + /** + * . * @return data - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getData() { return data; } + /** + * setData. + **/ public void setData(String data) { this.data = data; } + + /** + * label. + * + * @return Attachment + **/ public Attachment label(String label) { this.label = label; return this; } - /** - * + /** + * . * @return label - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getLabel() { return label; } + /** + * setLabel. + **/ public void setLabel(String label) { this.label = label; } + + /** + * name. + * + * @return Attachment + **/ public Attachment name(String name) { this.name = name; return this; } - /** - * + /** + * . * @return name - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * remoteUrl. + * + * @return Attachment + **/ public Attachment remoteUrl(String remoteUrl) { this.remoteUrl = remoteUrl; return this; } - /** - * + /** + * . * @return remoteUrl - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getRemoteUrl() { return remoteUrl; } + /** + * setRemoteUrl. + **/ public void setRemoteUrl(String remoteUrl) { this.remoteUrl = remoteUrl; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -178,12 +249,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.remoteUrl, attachment.remoteUrl); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(accessControl, attachmentId, attachmentType, data, label, name, remoteUrl); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -210,6 +287,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/AuthenticationMethod.java b/src/main/java/com/docusign/esign/model/AuthenticationMethod.java index 983f7f42..5569d745 100644 --- a/src/main/java/com/docusign/esign/model/AuthenticationMethod.java +++ b/src/main/java/com/docusign/esign/model/AuthenticationMethod.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Contains information about the method used for authentication. + * Contains information about the method used for authentication.. + * */ @ApiModel(description = "Contains information about the method used for authentication.") @@ -24,79 +27,120 @@ public class AuthenticationMethod { @JsonProperty("totalCount") private Integer totalCount = null; + + /** + * authenticationType. + * + * @return AuthenticationMethod + **/ public AuthenticationMethod authenticationType(String authenticationType) { this.authenticationType = authenticationType; return this; } - /** - * Indicates the type of authentication. Valid values are: PhoneAuth, STAN, ISCheck, OFAC, AccessCode, AgeVerify, or SSOAuth. + /** + * Indicates the type of authentication. Valid values are: PhoneAuth, STAN, ISCheck, OFAC, AccessCode, AgeVerify, or SSOAuth. . * @return authenticationType - **/ - @ApiModelProperty(example = "null", value = "Indicates the type of authentication. Valid values are: PhoneAuth, STAN, ISCheck, OFAC, AccessCode, AgeVerify, or SSOAuth. ") + **/ + @ApiModelProperty(value = "Indicates the type of authentication. Valid values are: PhoneAuth, STAN, ISCheck, OFAC, AccessCode, AgeVerify, or SSOAuth. ") public String getAuthenticationType() { return authenticationType; } + /** + * setAuthenticationType. + **/ public void setAuthenticationType(String authenticationType) { this.authenticationType = authenticationType; } + + /** + * lastProvider. + * + * @return AuthenticationMethod + **/ public AuthenticationMethod lastProvider(String lastProvider) { this.lastProvider = lastProvider; return this; } - /** - * The last provider that authenticated the user. + /** + * The last provider that authenticated the user. . * @return lastProvider - **/ - @ApiModelProperty(example = "null", value = "The last provider that authenticated the user. ") + **/ + @ApiModelProperty(value = "The last provider that authenticated the user. ") public String getLastProvider() { return lastProvider; } + /** + * setLastProvider. + **/ public void setLastProvider(String lastProvider) { this.lastProvider = lastProvider; } + + /** + * lastTimestamp. + * + * @return AuthenticationMethod + **/ public AuthenticationMethod lastTimestamp(String lastTimestamp) { this.lastTimestamp = lastTimestamp; return this; } - /** - * The data and time the user last used the authentication method. + /** + * The data and time the user last used the authentication method. . * @return lastTimestamp - **/ - @ApiModelProperty(example = "null", value = " The data and time the user last used the authentication method. ") + **/ + @ApiModelProperty(value = " The data and time the user last used the authentication method. ") public String getLastTimestamp() { return lastTimestamp; } + /** + * setLastTimestamp. + **/ public void setLastTimestamp(String lastTimestamp) { this.lastTimestamp = lastTimestamp; } + + /** + * totalCount. + * + * @return AuthenticationMethod + **/ public AuthenticationMethod totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } - /** - * The number of times the authentication method was used. + /** + * The number of times the authentication method was used. . * @return totalCount - **/ - @ApiModelProperty(example = "null", value = "The number of times the authentication method was used. ") + **/ + @ApiModelProperty(value = "The number of times the authentication method was used. ") public Integer getTotalCount() { return totalCount; } + /** + * setTotalCount. + **/ public void setTotalCount(Integer totalCount) { this.totalCount = totalCount; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -112,12 +156,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.totalCount, authenticationMethod.totalCount); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(authenticationType, lastProvider, lastTimestamp, totalCount); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -141,6 +191,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/AuthenticationStatus.java b/src/main/java/com/docusign/esign/model/AuthenticationStatus.java index a25af281..6fc4af81 100644 --- a/src/main/java/com/docusign/esign/model/AuthenticationStatus.java +++ b/src/main/java/com/docusign/esign/model/AuthenticationStatus.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.EventResult; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Contains information about the authentication status. + * Contains information about the authentication status.. + * */ @ApiModel(description = "Contains information about the authentication status.") @@ -28,6 +31,9 @@ public class AuthenticationStatus { @JsonProperty("googleResult") private EventResult googleResult = null; + @JsonProperty("identityVerificationResult") + private EventResult identityVerificationResult = null; + @JsonProperty("idLookupResult") private EventResult idLookupResult = null; @@ -67,331 +73,525 @@ public class AuthenticationStatus { @JsonProperty("yahooResult") private EventResult yahooResult = null; + + /** + * accessCodeResult. + * + * @return AuthenticationStatus + **/ public AuthenticationStatus accessCodeResult(EventResult accessCodeResult) { this.accessCodeResult = accessCodeResult; return this; } - /** - * Get accessCodeResult + /** + * Get accessCodeResult. * @return accessCodeResult - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public EventResult getAccessCodeResult() { return accessCodeResult; } + /** + * setAccessCodeResult. + **/ public void setAccessCodeResult(EventResult accessCodeResult) { this.accessCodeResult = accessCodeResult; } + + /** + * ageVerifyResult. + * + * @return AuthenticationStatus + **/ public AuthenticationStatus ageVerifyResult(EventResult ageVerifyResult) { this.ageVerifyResult = ageVerifyResult; return this; } - /** - * Get ageVerifyResult + /** + * Get ageVerifyResult. * @return ageVerifyResult - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public EventResult getAgeVerifyResult() { return ageVerifyResult; } + /** + * setAgeVerifyResult. + **/ public void setAgeVerifyResult(EventResult ageVerifyResult) { this.ageVerifyResult = ageVerifyResult; } + + /** + * anySocialIDResult. + * + * @return AuthenticationStatus + **/ public AuthenticationStatus anySocialIDResult(EventResult anySocialIDResult) { this.anySocialIDResult = anySocialIDResult; return this; } - /** - * Get anySocialIDResult + /** + * Get anySocialIDResult. * @return anySocialIDResult - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public EventResult getAnySocialIDResult() { return anySocialIDResult; } + /** + * setAnySocialIDResult. + **/ public void setAnySocialIDResult(EventResult anySocialIDResult) { this.anySocialIDResult = anySocialIDResult; } + + /** + * facebookResult. + * + * @return AuthenticationStatus + **/ public AuthenticationStatus facebookResult(EventResult facebookResult) { this.facebookResult = facebookResult; return this; } - /** - * Get facebookResult + /** + * Get facebookResult. * @return facebookResult - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public EventResult getFacebookResult() { return facebookResult; } + /** + * setFacebookResult. + **/ public void setFacebookResult(EventResult facebookResult) { this.facebookResult = facebookResult; } + + /** + * googleResult. + * + * @return AuthenticationStatus + **/ public AuthenticationStatus googleResult(EventResult googleResult) { this.googleResult = googleResult; return this; } - /** - * Get googleResult + /** + * Get googleResult. * @return googleResult - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public EventResult getGoogleResult() { return googleResult; } + /** + * setGoogleResult. + **/ public void setGoogleResult(EventResult googleResult) { this.googleResult = googleResult; } + + /** + * identityVerificationResult. + * + * @return AuthenticationStatus + **/ + public AuthenticationStatus identityVerificationResult(EventResult identityVerificationResult) { + this.identityVerificationResult = identityVerificationResult; + return this; + } + + /** + * Get identityVerificationResult. + * @return identityVerificationResult + **/ + @ApiModelProperty(value = "") + public EventResult getIdentityVerificationResult() { + return identityVerificationResult; + } + + /** + * setIdentityVerificationResult. + **/ + public void setIdentityVerificationResult(EventResult identityVerificationResult) { + this.identityVerificationResult = identityVerificationResult; + } + + + /** + * idLookupResult. + * + * @return AuthenticationStatus + **/ public AuthenticationStatus idLookupResult(EventResult idLookupResult) { this.idLookupResult = idLookupResult; return this; } - /** - * Get idLookupResult + /** + * Get idLookupResult. * @return idLookupResult - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public EventResult getIdLookupResult() { return idLookupResult; } + /** + * setIdLookupResult. + **/ public void setIdLookupResult(EventResult idLookupResult) { this.idLookupResult = idLookupResult; } + + /** + * idQuestionsResult. + * + * @return AuthenticationStatus + **/ public AuthenticationStatus idQuestionsResult(EventResult idQuestionsResult) { this.idQuestionsResult = idQuestionsResult; return this; } - /** - * Get idQuestionsResult + /** + * Get idQuestionsResult. * @return idQuestionsResult - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public EventResult getIdQuestionsResult() { return idQuestionsResult; } + /** + * setIdQuestionsResult. + **/ public void setIdQuestionsResult(EventResult idQuestionsResult) { this.idQuestionsResult = idQuestionsResult; } + + /** + * linkedinResult. + * + * @return AuthenticationStatus + **/ public AuthenticationStatus linkedinResult(EventResult linkedinResult) { this.linkedinResult = linkedinResult; return this; } - /** - * Get linkedinResult + /** + * Get linkedinResult. * @return linkedinResult - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public EventResult getLinkedinResult() { return linkedinResult; } + /** + * setLinkedinResult. + **/ public void setLinkedinResult(EventResult linkedinResult) { this.linkedinResult = linkedinResult; } + + /** + * liveIDResult. + * + * @return AuthenticationStatus + **/ public AuthenticationStatus liveIDResult(EventResult liveIDResult) { this.liveIDResult = liveIDResult; return this; } - /** - * Get liveIDResult + /** + * Get liveIDResult. * @return liveIDResult - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public EventResult getLiveIDResult() { return liveIDResult; } + /** + * setLiveIDResult. + **/ public void setLiveIDResult(EventResult liveIDResult) { this.liveIDResult = liveIDResult; } + + /** + * ofacResult. + * + * @return AuthenticationStatus + **/ public AuthenticationStatus ofacResult(EventResult ofacResult) { this.ofacResult = ofacResult; return this; } - /** - * Get ofacResult + /** + * Get ofacResult. * @return ofacResult - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public EventResult getOfacResult() { return ofacResult; } + /** + * setOfacResult. + **/ public void setOfacResult(EventResult ofacResult) { this.ofacResult = ofacResult; } + + /** + * openIDResult. + * + * @return AuthenticationStatus + **/ public AuthenticationStatus openIDResult(EventResult openIDResult) { this.openIDResult = openIDResult; return this; } - /** - * Get openIDResult + /** + * Get openIDResult. * @return openIDResult - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public EventResult getOpenIDResult() { return openIDResult; } + /** + * setOpenIDResult. + **/ public void setOpenIDResult(EventResult openIDResult) { this.openIDResult = openIDResult; } + + /** + * phoneAuthResult. + * + * @return AuthenticationStatus + **/ public AuthenticationStatus phoneAuthResult(EventResult phoneAuthResult) { this.phoneAuthResult = phoneAuthResult; return this; } - /** - * Get phoneAuthResult + /** + * Get phoneAuthResult. * @return phoneAuthResult - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public EventResult getPhoneAuthResult() { return phoneAuthResult; } + /** + * setPhoneAuthResult. + **/ public void setPhoneAuthResult(EventResult phoneAuthResult) { this.phoneAuthResult = phoneAuthResult; } + + /** + * salesforceResult. + * + * @return AuthenticationStatus + **/ public AuthenticationStatus salesforceResult(EventResult salesforceResult) { this.salesforceResult = salesforceResult; return this; } - /** - * Get salesforceResult + /** + * Get salesforceResult. * @return salesforceResult - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public EventResult getSalesforceResult() { return salesforceResult; } + /** + * setSalesforceResult. + **/ public void setSalesforceResult(EventResult salesforceResult) { this.salesforceResult = salesforceResult; } + + /** + * signatureProviderResult. + * + * @return AuthenticationStatus + **/ public AuthenticationStatus signatureProviderResult(EventResult signatureProviderResult) { this.signatureProviderResult = signatureProviderResult; return this; } - /** - * Get signatureProviderResult + /** + * Get signatureProviderResult. * @return signatureProviderResult - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public EventResult getSignatureProviderResult() { return signatureProviderResult; } + /** + * setSignatureProviderResult. + **/ public void setSignatureProviderResult(EventResult signatureProviderResult) { this.signatureProviderResult = signatureProviderResult; } + + /** + * smsAuthResult. + * + * @return AuthenticationStatus + **/ public AuthenticationStatus smsAuthResult(EventResult smsAuthResult) { this.smsAuthResult = smsAuthResult; return this; } - /** - * Get smsAuthResult + /** + * Get smsAuthResult. * @return smsAuthResult - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public EventResult getSmsAuthResult() { return smsAuthResult; } + /** + * setSmsAuthResult. + **/ public void setSmsAuthResult(EventResult smsAuthResult) { this.smsAuthResult = smsAuthResult; } + + /** + * sTANPinResult. + * + * @return AuthenticationStatus + **/ public AuthenticationStatus sTANPinResult(EventResult sTANPinResult) { this.sTANPinResult = sTANPinResult; return this; } - /** - * Get sTANPinResult + /** + * Get sTANPinResult. * @return sTANPinResult - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public EventResult getSTANPinResult() { return sTANPinResult; } + /** + * setSTANPinResult. + **/ public void setSTANPinResult(EventResult sTANPinResult) { this.sTANPinResult = sTANPinResult; } + + /** + * twitterResult. + * + * @return AuthenticationStatus + **/ public AuthenticationStatus twitterResult(EventResult twitterResult) { this.twitterResult = twitterResult; return this; } - /** - * Get twitterResult + /** + * Get twitterResult. * @return twitterResult - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public EventResult getTwitterResult() { return twitterResult; } + /** + * setTwitterResult. + **/ public void setTwitterResult(EventResult twitterResult) { this.twitterResult = twitterResult; } + + /** + * yahooResult. + * + * @return AuthenticationStatus + **/ public AuthenticationStatus yahooResult(EventResult yahooResult) { this.yahooResult = yahooResult; return this; } - /** - * Get yahooResult + /** + * Get yahooResult. * @return yahooResult - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public EventResult getYahooResult() { return yahooResult; } + /** + * setYahooResult. + **/ public void setYahooResult(EventResult yahooResult) { this.yahooResult = yahooResult; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -406,6 +606,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.anySocialIDResult, authenticationStatus.anySocialIDResult) && Objects.equals(this.facebookResult, authenticationStatus.facebookResult) && Objects.equals(this.googleResult, authenticationStatus.googleResult) && + Objects.equals(this.identityVerificationResult, authenticationStatus.identityVerificationResult) && Objects.equals(this.idLookupResult, authenticationStatus.idLookupResult) && Objects.equals(this.idQuestionsResult, authenticationStatus.idQuestionsResult) && Objects.equals(this.linkedinResult, authenticationStatus.linkedinResult) && @@ -421,12 +622,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.yahooResult, authenticationStatus.yahooResult); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { - return Objects.hash(accessCodeResult, ageVerifyResult, anySocialIDResult, facebookResult, googleResult, idLookupResult, idQuestionsResult, linkedinResult, liveIDResult, ofacResult, openIDResult, phoneAuthResult, salesforceResult, signatureProviderResult, smsAuthResult, sTANPinResult, twitterResult, yahooResult); + return Objects.hash(accessCodeResult, ageVerifyResult, anySocialIDResult, facebookResult, googleResult, identityVerificationResult, idLookupResult, idQuestionsResult, linkedinResult, liveIDResult, ofacResult, openIDResult, phoneAuthResult, salesforceResult, signatureProviderResult, smsAuthResult, sTANPinResult, twitterResult, yahooResult); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -437,6 +644,7 @@ public String toString() { sb.append(" anySocialIDResult: ").append(toIndentedString(anySocialIDResult)).append("\n"); sb.append(" facebookResult: ").append(toIndentedString(facebookResult)).append("\n"); sb.append(" googleResult: ").append(toIndentedString(googleResult)).append("\n"); + sb.append(" identityVerificationResult: ").append(toIndentedString(identityVerificationResult)).append("\n"); sb.append(" idLookupResult: ").append(toIndentedString(idLookupResult)).append("\n"); sb.append(" idQuestionsResult: ").append(toIndentedString(idQuestionsResult)).append("\n"); sb.append(" linkedinResult: ").append(toIndentedString(linkedinResult)).append("\n"); @@ -464,6 +672,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/BccEmailAddress.java b/src/main/java/com/docusign/esign/model/BccEmailAddress.java index 97c865d3..52bd272a 100644 --- a/src/main/java/com/docusign/esign/model/BccEmailAddress.java +++ b/src/main/java/com/docusign/esign/model/BccEmailAddress.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Contains information about the BCC email address. + * Contains information about the BCC email address.. + * */ @ApiModel(description = "Contains information about the BCC email address.") @@ -18,43 +21,66 @@ public class BccEmailAddress { @JsonProperty("email") private String email = null; + + /** + * bccEmailAddressId. + * + * @return BccEmailAddress + **/ public BccEmailAddress bccEmailAddressId(String bccEmailAddressId) { this.bccEmailAddressId = bccEmailAddressId; return this; } - /** - * Only users with canManageAccount setting can use this option. An array of up to 5 email addresses the envelope is sent to as a BCC email. Example: If your account has BCC for Email Archive set up for the email address 'archive@mycompany.com' and you send an envelope using the BCC Email Override to send a BCC email to 'salesarchive@mycompany.com', then a copy of the envelope is only sent to the 'salesarchive@mycompany.com' email address. + /** + * Only users with canManageAccount setting can use this option. An array of up to 5 email addresses the envelope is sent to as a BCC email. Example: If your account has BCC for Email Archive set up for the email address 'archive@mycompany.com' and you send an envelope using the BCC Email Override to send a BCC email to 'salesarchive@mycompany.com', then a copy of the envelope is only sent to the 'salesarchive@mycompany.com' email address.. * @return bccEmailAddressId - **/ - @ApiModelProperty(example = "null", value = "Only users with canManageAccount setting can use this option. An array of up to 5 email addresses the envelope is sent to as a BCC email. Example: If your account has BCC for Email Archive set up for the email address 'archive@mycompany.com' and you send an envelope using the BCC Email Override to send a BCC email to 'salesarchive@mycompany.com', then a copy of the envelope is only sent to the 'salesarchive@mycompany.com' email address.") + **/ + @ApiModelProperty(value = "Only users with canManageAccount setting can use this option. An array of up to 5 email addresses the envelope is sent to as a BCC email. Example: If your account has BCC for Email Archive set up for the email address 'archive@mycompany.com' and you send an envelope using the BCC Email Override to send a BCC email to 'salesarchive@mycompany.com', then a copy of the envelope is only sent to the 'salesarchive@mycompany.com' email address.") public String getBccEmailAddressId() { return bccEmailAddressId; } + /** + * setBccEmailAddressId. + **/ public void setBccEmailAddressId(String bccEmailAddressId) { this.bccEmailAddressId = bccEmailAddressId; } + + /** + * email. + * + * @return BccEmailAddress + **/ public BccEmailAddress email(String email) { this.email = email; return this; } - /** - * Specifies the BCC email address. DocuSign verifies that the email format is correct, but does not verify that the email is active.Using this overrides the BCC for Email Archive information setting for this envelope. Maximum of length: 100 characters. + /** + * Specifies the BCC email address. DocuSign verifies that the email format is correct, but does not verify that the email is active.Using this overrides the BCC for Email Archive information setting for this envelope. Maximum of length: 100 characters. . * @return email - **/ - @ApiModelProperty(example = "null", value = "Specifies the BCC email address. DocuSign verifies that the email format is correct, but does not verify that the email is active.Using this overrides the BCC for Email Archive information setting for this envelope. Maximum of length: 100 characters. ") + **/ + @ApiModelProperty(value = "Specifies the BCC email address. DocuSign verifies that the email format is correct, but does not verify that the email is active.Using this overrides the BCC for Email Archive information setting for this envelope. Maximum of length: 100 characters. ") public String getEmail() { return email; } + /** + * setEmail. + **/ public void setEmail(String email) { this.email = email; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -68,12 +94,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.email, bccEmailAddress.email); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(bccEmailAddressId, email); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -95,6 +127,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/BillingCharge.java b/src/main/java/com/docusign/esign/model/BillingCharge.java index 159680d2..b1d642c1 100644 --- a/src/main/java/com/docusign/esign/model/BillingCharge.java +++ b/src/main/java/com/docusign/esign/model/BillingCharge.java @@ -1,15 +1,18 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.BillingDiscount; import com.docusign.esign.model.BillingPrice; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Contains information about a billing charge. + * Contains information about a billing charge.. + * */ @ApiModel(description = "Contains information about a billing charge.") @@ -30,7 +33,7 @@ public class BillingCharge { private String chargeUnitOfMeasure = null; @JsonProperty("discounts") - private java.util.List discounts = new java.util.ArrayList(); + private java.util.List discounts = null; @JsonProperty("firstEffectiveDate") private String firstEffectiveDate = null; @@ -45,7 +48,7 @@ public class BillingCharge { private String lastEffectiveDate = null; @JsonProperty("prices") - private java.util.List prices = new java.util.ArrayList(); + private java.util.List prices = null; @JsonProperty("unitPrice") private String unitPrice = null; @@ -53,251 +56,389 @@ public class BillingCharge { @JsonProperty("usedQuantity") private String usedQuantity = null; + + /** + * allowedQuantity. + * + * @return BillingCharge + **/ public BillingCharge allowedQuantity(String allowedQuantity) { this.allowedQuantity = allowedQuantity; return this; } - /** - * Reserved: TBD + /** + * Reserved: TBD. * @return allowedQuantity - **/ - @ApiModelProperty(example = "null", value = "Reserved: TBD") + **/ + @ApiModelProperty(value = "Reserved: TBD") public String getAllowedQuantity() { return allowedQuantity; } + /** + * setAllowedQuantity. + **/ public void setAllowedQuantity(String allowedQuantity) { this.allowedQuantity = allowedQuantity; } + + /** + * blocked. + * + * @return BillingCharge + **/ public BillingCharge blocked(String blocked) { this.blocked = blocked; return this; } - /** - * Reserved: TBD + /** + * Reserved: TBD. * @return blocked - **/ - @ApiModelProperty(example = "null", value = "Reserved: TBD") + **/ + @ApiModelProperty(value = "Reserved: TBD") public String getBlocked() { return blocked; } + /** + * setBlocked. + **/ public void setBlocked(String blocked) { this.blocked = blocked; } + + /** + * chargeName. + * + * @return BillingCharge + **/ public BillingCharge chargeName(String chargeName) { this.chargeName = chargeName; return this; } - /** - * Provides information on what services the charge item is for. The following table provides a description of the different chargeName values available at this time. | chargeName | Description | | --- | --- | | id_check | ID Check Charge | | in_person_signing | In Person Signing charge | | envelopes Included | Sent Envelopes for the account | | age_verify | Age verification check | | ofac | OFAC Check | | id_confirm | ID confirmation check | | student_authentication | STAN PIN authentication check | | wet_sign_fax | Pages for returning signed documents by fax | | attachment_fax | Pages for returning attachments by fax | | phone_authentication | Phone authentication charge | | powerforms | PowerForm envelopes sent | | signer_payments | Payment processing charge | | outbound_fax | Send by fax charge | | bulk_recipient_envelopes | Bulk Recipient Envelopes sent | | sms_authentications | SMS authentication charge | | saml_authentications | SAML authentication charge | | express_signer_certificate | DocuSign Express Certificate charge | | personal_signer_certificate | Personal Signer Certificate charge | | safe_certificate | SAFE BioPharma Signer Certificate charge | | seats | Included active seats charge | | open_trust_certificate | OpenTrust Signer Certificate charge | + /** + * Provides information on what services the charge item is for. The following table provides a description of the different chargeName values available at this time. | chargeName | Description | | --- | --- | | id_check | ID Check Charge | | in_person_signing | In Person Signing charge | | envelopes Included | Sent Envelopes for the account | | age_verify | Age verification check | | ofac | OFAC Check | | id_confirm | ID confirmation check | | student_authentication | STAN PIN authentication check | | wet_sign_fax | Pages for returning signed documents by fax | | attachment_fax | Pages for returning attachments by fax | | phone_authentication | Phone authentication charge | | powerforms | PowerForm envelopes sent | | signer_payments | Payment processing charge | | outbound_fax | Send by fax charge | | bulk_recipient_envelopes | Bulk Recipient Envelopes sent | | sms_authentications | SMS authentication charge | | saml_authentications | SAML authentication charge | | express_signer_certificate | DocuSign Express Certificate charge | | personal_signer_certificate | Personal Signer Certificate charge | | safe_certificate | SAFE BioPharma Signer Certificate charge | | seats | Included active seats charge | | open_trust_certificate | OpenTrust Signer Certificate charge |. * @return chargeName - **/ - @ApiModelProperty(example = "null", value = "Provides information on what services the charge item is for. The following table provides a description of the different chargeName values available at this time. | chargeName | Description | | --- | --- | | id_check | ID Check Charge | | in_person_signing | In Person Signing charge | | envelopes Included | Sent Envelopes for the account | | age_verify | Age verification check | | ofac | OFAC Check | | id_confirm | ID confirmation check | | student_authentication | STAN PIN authentication check | | wet_sign_fax | Pages for returning signed documents by fax | | attachment_fax | Pages for returning attachments by fax | | phone_authentication | Phone authentication charge | | powerforms | PowerForm envelopes sent | | signer_payments | Payment processing charge | | outbound_fax | Send by fax charge | | bulk_recipient_envelopes | Bulk Recipient Envelopes sent | | sms_authentications | SMS authentication charge | | saml_authentications | SAML authentication charge | | express_signer_certificate | DocuSign Express Certificate charge | | personal_signer_certificate | Personal Signer Certificate charge | | safe_certificate | SAFE BioPharma Signer Certificate charge | | seats | Included active seats charge | | open_trust_certificate | OpenTrust Signer Certificate charge |") + **/ + @ApiModelProperty(value = "Provides information on what services the charge item is for. The following table provides a description of the different chargeName values available at this time. | chargeName | Description | | --- | --- | | id_check | ID Check Charge | | in_person_signing | In Person Signing charge | | envelopes Included | Sent Envelopes for the account | | age_verify | Age verification check | | ofac | OFAC Check | | id_confirm | ID confirmation check | | student_authentication | STAN PIN authentication check | | wet_sign_fax | Pages for returning signed documents by fax | | attachment_fax | Pages for returning attachments by fax | | phone_authentication | Phone authentication charge | | powerforms | PowerForm envelopes sent | | signer_payments | Payment processing charge | | outbound_fax | Send by fax charge | | bulk_recipient_envelopes | Bulk Recipient Envelopes sent | | sms_authentications | SMS authentication charge | | saml_authentications | SAML authentication charge | | express_signer_certificate | DocuSign Express Certificate charge | | personal_signer_certificate | Personal Signer Certificate charge | | safe_certificate | SAFE BioPharma Signer Certificate charge | | seats | Included active seats charge | | open_trust_certificate | OpenTrust Signer Certificate charge |") public String getChargeName() { return chargeName; } + /** + * setChargeName. + **/ public void setChargeName(String chargeName) { this.chargeName = chargeName; } + + /** + * chargeType. + * + * @return BillingCharge + **/ public BillingCharge chargeType(String chargeType) { this.chargeType = chargeType; return this; } - /** - * Reserved: TBD + /** + * Reserved: TBD. * @return chargeType - **/ - @ApiModelProperty(example = "null", value = "Reserved: TBD") + **/ + @ApiModelProperty(value = "Reserved: TBD") public String getChargeType() { return chargeType; } + /** + * setChargeType. + **/ public void setChargeType(String chargeType) { this.chargeType = chargeType; } + + /** + * chargeUnitOfMeasure. + * + * @return BillingCharge + **/ public BillingCharge chargeUnitOfMeasure(String chargeUnitOfMeasure) { this.chargeUnitOfMeasure = chargeUnitOfMeasure; return this; } - /** - * Reserved: TBD + /** + * Reserved: TBD. * @return chargeUnitOfMeasure - **/ - @ApiModelProperty(example = "null", value = "Reserved: TBD") + **/ + @ApiModelProperty(value = "Reserved: TBD") public String getChargeUnitOfMeasure() { return chargeUnitOfMeasure; } + /** + * setChargeUnitOfMeasure. + **/ public void setChargeUnitOfMeasure(String chargeUnitOfMeasure) { this.chargeUnitOfMeasure = chargeUnitOfMeasure; } + + /** + * discounts. + * + * @return BillingCharge + **/ public BillingCharge discounts(java.util.List discounts) { this.discounts = discounts; return this; } - + + /** + * addDiscountsItem. + * + * @return BillingCharge + **/ public BillingCharge addDiscountsItem(BillingDiscount discountsItem) { + if (this.discounts == null) { + this.discounts = new java.util.ArrayList(); + } this.discounts.add(discountsItem); return this; } - /** - * + /** + * . * @return discounts - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getDiscounts() { return discounts; } + /** + * setDiscounts. + **/ public void setDiscounts(java.util.List discounts) { this.discounts = discounts; } + + /** + * firstEffectiveDate. + * + * @return BillingCharge + **/ public BillingCharge firstEffectiveDate(String firstEffectiveDate) { this.firstEffectiveDate = firstEffectiveDate; return this; } - /** - * + /** + * . * @return firstEffectiveDate - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getFirstEffectiveDate() { return firstEffectiveDate; } + /** + * setFirstEffectiveDate. + **/ public void setFirstEffectiveDate(String firstEffectiveDate) { this.firstEffectiveDate = firstEffectiveDate; } + + /** + * includedQuantity. + * + * @return BillingCharge + **/ public BillingCharge includedQuantity(String includedQuantity) { this.includedQuantity = includedQuantity; return this; } - /** - * + /** + * . * @return includedQuantity - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getIncludedQuantity() { return includedQuantity; } + /** + * setIncludedQuantity. + **/ public void setIncludedQuantity(String includedQuantity) { this.includedQuantity = includedQuantity; } + + /** + * incrementalQuantity. + * + * @return BillingCharge + **/ public BillingCharge incrementalQuantity(String incrementalQuantity) { this.incrementalQuantity = incrementalQuantity; return this; } - /** - * Reserved: TBD + /** + * Reserved: TBD. * @return incrementalQuantity - **/ - @ApiModelProperty(example = "null", value = "Reserved: TBD") + **/ + @ApiModelProperty(value = "Reserved: TBD") public String getIncrementalQuantity() { return incrementalQuantity; } + /** + * setIncrementalQuantity. + **/ public void setIncrementalQuantity(String incrementalQuantity) { this.incrementalQuantity = incrementalQuantity; } + + /** + * lastEffectiveDate. + * + * @return BillingCharge + **/ public BillingCharge lastEffectiveDate(String lastEffectiveDate) { this.lastEffectiveDate = lastEffectiveDate; return this; } - /** - * + /** + * . * @return lastEffectiveDate - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getLastEffectiveDate() { return lastEffectiveDate; } + /** + * setLastEffectiveDate. + **/ public void setLastEffectiveDate(String lastEffectiveDate) { this.lastEffectiveDate = lastEffectiveDate; } + + /** + * prices. + * + * @return BillingCharge + **/ public BillingCharge prices(java.util.List prices) { this.prices = prices; return this; } - + + /** + * addPricesItem. + * + * @return BillingCharge + **/ public BillingCharge addPricesItem(BillingPrice pricesItem) { + if (this.prices == null) { + this.prices = new java.util.ArrayList(); + } this.prices.add(pricesItem); return this; } - /** - * + /** + * . * @return prices - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getPrices() { return prices; } + /** + * setPrices. + **/ public void setPrices(java.util.List prices) { this.prices = prices; } + + /** + * unitPrice. + * + * @return BillingCharge + **/ public BillingCharge unitPrice(String unitPrice) { this.unitPrice = unitPrice; return this; } - /** - * Reserved: TBD + /** + * Reserved: TBD. * @return unitPrice - **/ - @ApiModelProperty(example = "null", value = "Reserved: TBD") + **/ + @ApiModelProperty(value = "Reserved: TBD") public String getUnitPrice() { return unitPrice; } + /** + * setUnitPrice. + **/ public void setUnitPrice(String unitPrice) { this.unitPrice = unitPrice; } + + /** + * usedQuantity. + * + * @return BillingCharge + **/ public BillingCharge usedQuantity(String usedQuantity) { this.usedQuantity = usedQuantity; return this; } - /** - * + /** + * . * @return usedQuantity - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getUsedQuantity() { return usedQuantity; } + /** + * setUsedQuantity. + **/ public void setUsedQuantity(String usedQuantity) { this.usedQuantity = usedQuantity; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -322,12 +463,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.usedQuantity, billingCharge.usedQuantity); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(allowedQuantity, blocked, chargeName, chargeType, chargeUnitOfMeasure, discounts, firstEffectiveDate, includedQuantity, incrementalQuantity, lastEffectiveDate, prices, unitPrice, usedQuantity); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -360,6 +507,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/BillingChargeResponse.java b/src/main/java/com/docusign/esign/model/BillingChargeResponse.java index b8ba8cd7..a3dab6f0 100644 --- a/src/main/java/com/docusign/esign/model/BillingChargeResponse.java +++ b/src/main/java/com/docusign/esign/model/BillingChargeResponse.java @@ -1,45 +1,70 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.BillingCharge; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Defines a billing charge response object. + * Defines a billing charge response object.. + * */ @ApiModel(description = "Defines a billing charge response object.") public class BillingChargeResponse { @JsonProperty("billingChargeItems") - private java.util.List billingChargeItems = new java.util.ArrayList(); + private java.util.List billingChargeItems = null; + + /** + * billingChargeItems. + * + * @return BillingChargeResponse + **/ public BillingChargeResponse billingChargeItems(java.util.List billingChargeItems) { this.billingChargeItems = billingChargeItems; return this; } - + + /** + * addBillingChargeItemsItem. + * + * @return BillingChargeResponse + **/ public BillingChargeResponse addBillingChargeItemsItem(BillingCharge billingChargeItemsItem) { + if (this.billingChargeItems == null) { + this.billingChargeItems = new java.util.ArrayList(); + } this.billingChargeItems.add(billingChargeItemsItem); return this; } - /** - * Reserved: TBD + /** + * Reserved: TBD. * @return billingChargeItems - **/ - @ApiModelProperty(example = "null", value = "Reserved: TBD") + **/ + @ApiModelProperty(value = "Reserved: TBD") public java.util.List getBillingChargeItems() { return billingChargeItems; } + /** + * setBillingChargeItems. + **/ public void setBillingChargeItems(java.util.List billingChargeItems) { this.billingChargeItems = billingChargeItems; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -52,12 +77,18 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.billingChargeItems, billingChargeResponse.billingChargeItems); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(billingChargeItems); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -78,6 +109,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/BillingDiscount.java b/src/main/java/com/docusign/esign/model/BillingDiscount.java index 08ff0c3a..d76f41b0 100644 --- a/src/main/java/com/docusign/esign/model/BillingDiscount.java +++ b/src/main/java/com/docusign/esign/model/BillingDiscount.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * BillingDiscount + * BillingDiscount. + * */ public class BillingDiscount { @@ -20,61 +23,93 @@ public class BillingDiscount { @JsonProperty("endQuantity") private String endQuantity = null; + + /** + * beginQuantity. + * + * @return BillingDiscount + **/ public BillingDiscount beginQuantity(String beginQuantity) { this.beginQuantity = beginQuantity; return this; } - /** - * Reserved: TBD + /** + * Reserved: TBD. * @return beginQuantity - **/ - @ApiModelProperty(example = "null", value = "Reserved: TBD") + **/ + @ApiModelProperty(value = "Reserved: TBD") public String getBeginQuantity() { return beginQuantity; } + /** + * setBeginQuantity. + **/ public void setBeginQuantity(String beginQuantity) { this.beginQuantity = beginQuantity; } + + /** + * discount. + * + * @return BillingDiscount + **/ public BillingDiscount discount(String discount) { this.discount = discount; return this; } - /** - * + /** + * . * @return discount - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getDiscount() { return discount; } + /** + * setDiscount. + **/ public void setDiscount(String discount) { this.discount = discount; } + + /** + * endQuantity. + * + * @return BillingDiscount + **/ public BillingDiscount endQuantity(String endQuantity) { this.endQuantity = endQuantity; return this; } - /** - * + /** + * . * @return endQuantity - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getEndQuantity() { return endQuantity; } + /** + * setEndQuantity. + **/ public void setEndQuantity(String endQuantity) { this.endQuantity = endQuantity; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -89,12 +124,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.endQuantity, billingDiscount.endQuantity); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(beginQuantity, discount, endQuantity); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -117,6 +158,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/BillingInvoice.java b/src/main/java/com/docusign/esign/model/BillingInvoice.java index 1d004e81..dbe4af42 100644 --- a/src/main/java/com/docusign/esign/model/BillingInvoice.java +++ b/src/main/java/com/docusign/esign/model/BillingInvoice.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.BillingInvoiceItem; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Contains information about a billing invoice. + * Contains information about a billing invoice.. + * */ @ApiModel(description = "Contains information about a billing invoice.") @@ -26,7 +29,7 @@ public class BillingInvoice { private String invoiceId = null; @JsonProperty("invoiceItems") - private java.util.List invoiceItems = new java.util.ArrayList(); + private java.util.List invoiceItems = null; @JsonProperty("invoiceNumber") private String invoiceNumber = null; @@ -43,192 +46,295 @@ public class BillingInvoice { @JsonProperty("taxableAmount") private String taxableAmount = null; + + /** + * amount. + * + * @return BillingInvoice + **/ public BillingInvoice amount(String amount) { this.amount = amount; return this; } - /** - * Reserved: TBD + /** + * Reserved: TBD. * @return amount - **/ - @ApiModelProperty(example = "null", value = "Reserved: TBD") + **/ + @ApiModelProperty(value = "Reserved: TBD") public String getAmount() { return amount; } + /** + * setAmount. + **/ public void setAmount(String amount) { this.amount = amount; } + + /** + * balance. + * + * @return BillingInvoice + **/ public BillingInvoice balance(String balance) { this.balance = balance; return this; } - /** - * Reserved: TBD + /** + * Reserved: TBD. * @return balance - **/ - @ApiModelProperty(example = "null", value = "Reserved: TBD") + **/ + @ApiModelProperty(value = "Reserved: TBD") public String getBalance() { return balance; } + /** + * setBalance. + **/ public void setBalance(String balance) { this.balance = balance; } + + /** + * dueDate. + * + * @return BillingInvoice + **/ public BillingInvoice dueDate(String dueDate) { this.dueDate = dueDate; return this; } - /** - * Reserved: TBD + /** + * Reserved: TBD. * @return dueDate - **/ - @ApiModelProperty(example = "null", value = "Reserved: TBD") + **/ + @ApiModelProperty(value = "Reserved: TBD") public String getDueDate() { return dueDate; } + /** + * setDueDate. + **/ public void setDueDate(String dueDate) { this.dueDate = dueDate; } + + /** + * invoiceId. + * + * @return BillingInvoice + **/ public BillingInvoice invoiceId(String invoiceId) { this.invoiceId = invoiceId; return this; } - /** - * Reserved: TBD + /** + * Reserved: TBD. * @return invoiceId - **/ - @ApiModelProperty(example = "null", value = "Reserved: TBD") + **/ + @ApiModelProperty(value = "Reserved: TBD") public String getInvoiceId() { return invoiceId; } + /** + * setInvoiceId. + **/ public void setInvoiceId(String invoiceId) { this.invoiceId = invoiceId; } + + /** + * invoiceItems. + * + * @return BillingInvoice + **/ public BillingInvoice invoiceItems(java.util.List invoiceItems) { this.invoiceItems = invoiceItems; return this; } - + + /** + * addInvoiceItemsItem. + * + * @return BillingInvoice + **/ public BillingInvoice addInvoiceItemsItem(BillingInvoiceItem invoiceItemsItem) { + if (this.invoiceItems == null) { + this.invoiceItems = new java.util.ArrayList(); + } this.invoiceItems.add(invoiceItemsItem); return this; } - /** - * Reserved: TBD + /** + * Reserved: TBD. * @return invoiceItems - **/ - @ApiModelProperty(example = "null", value = "Reserved: TBD") + **/ + @ApiModelProperty(value = "Reserved: TBD") public java.util.List getInvoiceItems() { return invoiceItems; } + /** + * setInvoiceItems. + **/ public void setInvoiceItems(java.util.List invoiceItems) { this.invoiceItems = invoiceItems; } + + /** + * invoiceNumber. + * + * @return BillingInvoice + **/ public BillingInvoice invoiceNumber(String invoiceNumber) { this.invoiceNumber = invoiceNumber; return this; } - /** - * Reserved: TBD + /** + * Reserved: TBD. * @return invoiceNumber - **/ - @ApiModelProperty(example = "null", value = "Reserved: TBD") + **/ + @ApiModelProperty(value = "Reserved: TBD") public String getInvoiceNumber() { return invoiceNumber; } + /** + * setInvoiceNumber. + **/ public void setInvoiceNumber(String invoiceNumber) { this.invoiceNumber = invoiceNumber; } + + /** + * invoiceUri. + * + * @return BillingInvoice + **/ public BillingInvoice invoiceUri(String invoiceUri) { this.invoiceUri = invoiceUri; return this; } - /** - * Contains a URI for an endpoint that you can use to retrieve invoice information. + /** + * Contains a URI for an endpoint that you can use to retrieve invoice information.. * @return invoiceUri - **/ - @ApiModelProperty(example = "null", value = "Contains a URI for an endpoint that you can use to retrieve invoice information.") + **/ + @ApiModelProperty(value = "Contains a URI for an endpoint that you can use to retrieve invoice information.") public String getInvoiceUri() { return invoiceUri; } + /** + * setInvoiceUri. + **/ public void setInvoiceUri(String invoiceUri) { this.invoiceUri = invoiceUri; } + + /** + * nonTaxableAmount. + * + * @return BillingInvoice + **/ public BillingInvoice nonTaxableAmount(String nonTaxableAmount) { this.nonTaxableAmount = nonTaxableAmount; return this; } - /** - * + /** + * . * @return nonTaxableAmount - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getNonTaxableAmount() { return nonTaxableAmount; } + /** + * setNonTaxableAmount. + **/ public void setNonTaxableAmount(String nonTaxableAmount) { this.nonTaxableAmount = nonTaxableAmount; } + + /** + * pdfAvailable. + * + * @return BillingInvoice + **/ public BillingInvoice pdfAvailable(String pdfAvailable) { this.pdfAvailable = pdfAvailable; return this; } - /** - * + /** + * . * @return pdfAvailable - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPdfAvailable() { return pdfAvailable; } + /** + * setPdfAvailable. + **/ public void setPdfAvailable(String pdfAvailable) { this.pdfAvailable = pdfAvailable; } + + /** + * taxableAmount. + * + * @return BillingInvoice + **/ public BillingInvoice taxableAmount(String taxableAmount) { this.taxableAmount = taxableAmount; return this; } - /** - * + /** + * . * @return taxableAmount - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTaxableAmount() { return taxableAmount; } + /** + * setTaxableAmount. + **/ public void setTaxableAmount(String taxableAmount) { this.taxableAmount = taxableAmount; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -250,12 +356,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.taxableAmount, billingInvoice.taxableAmount); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(amount, balance, dueDate, invoiceId, invoiceItems, invoiceNumber, invoiceUri, nonTaxableAmount, pdfAvailable, taxableAmount); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -285,6 +397,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/BillingInvoiceItem.java b/src/main/java/com/docusign/esign/model/BillingInvoiceItem.java index fa90c431..53cbfecd 100644 --- a/src/main/java/com/docusign/esign/model/BillingInvoiceItem.java +++ b/src/main/java/com/docusign/esign/model/BillingInvoiceItem.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Contains information about an item on a billing invoice. + * Contains information about an item on a billing invoice.. + * */ @ApiModel(description = "Contains information about an item on a billing invoice.") @@ -27,97 +30,147 @@ public class BillingInvoiceItem { @JsonProperty("unitPrice") private String unitPrice = null; + + /** + * chargeAmount. + * + * @return BillingInvoiceItem + **/ public BillingInvoiceItem chargeAmount(String chargeAmount) { this.chargeAmount = chargeAmount; return this; } - /** - * Reserved: TBD + /** + * Reserved: TBD. * @return chargeAmount - **/ - @ApiModelProperty(example = "null", value = "Reserved: TBD") + **/ + @ApiModelProperty(value = "Reserved: TBD") public String getChargeAmount() { return chargeAmount; } + /** + * setChargeAmount. + **/ public void setChargeAmount(String chargeAmount) { this.chargeAmount = chargeAmount; } + + /** + * chargeName. + * + * @return BillingInvoiceItem + **/ public BillingInvoiceItem chargeName(String chargeName) { this.chargeName = chargeName; return this; } - /** - * Reserved: TBD + /** + * Reserved: TBD. * @return chargeName - **/ - @ApiModelProperty(example = "null", value = "Reserved: TBD") + **/ + @ApiModelProperty(value = "Reserved: TBD") public String getChargeName() { return chargeName; } + /** + * setChargeName. + **/ public void setChargeName(String chargeName) { this.chargeName = chargeName; } + + /** + * invoiceItemId. + * + * @return BillingInvoiceItem + **/ public BillingInvoiceItem invoiceItemId(String invoiceItemId) { this.invoiceItemId = invoiceItemId; return this; } - /** - * Reserved: TBD + /** + * Reserved: TBD. * @return invoiceItemId - **/ - @ApiModelProperty(example = "null", value = "Reserved: TBD") + **/ + @ApiModelProperty(value = "Reserved: TBD") public String getInvoiceItemId() { return invoiceItemId; } + /** + * setInvoiceItemId. + **/ public void setInvoiceItemId(String invoiceItemId) { this.invoiceItemId = invoiceItemId; } + + /** + * quantity. + * + * @return BillingInvoiceItem + **/ public BillingInvoiceItem quantity(String quantity) { this.quantity = quantity; return this; } - /** - * + /** + * . * @return quantity - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getQuantity() { return quantity; } + /** + * setQuantity. + **/ public void setQuantity(String quantity) { this.quantity = quantity; } + + /** + * unitPrice. + * + * @return BillingInvoiceItem + **/ public BillingInvoiceItem unitPrice(String unitPrice) { this.unitPrice = unitPrice; return this; } - /** - * Reserved: TBD + /** + * Reserved: TBD. * @return unitPrice - **/ - @ApiModelProperty(example = "null", value = "Reserved: TBD") + **/ + @ApiModelProperty(value = "Reserved: TBD") public String getUnitPrice() { return unitPrice; } + /** + * setUnitPrice. + **/ public void setUnitPrice(String unitPrice) { this.unitPrice = unitPrice; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -134,12 +187,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.unitPrice, billingInvoiceItem.unitPrice); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(chargeAmount, chargeName, invoiceItemId, quantity, unitPrice); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -164,6 +223,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/BillingInvoicesResponse.java b/src/main/java/com/docusign/esign/model/BillingInvoicesResponse.java index 9773fcd7..d2fd766d 100644 --- a/src/main/java/com/docusign/esign/model/BillingInvoicesResponse.java +++ b/src/main/java/com/docusign/esign/model/BillingInvoicesResponse.java @@ -1,20 +1,23 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.BillingInvoice; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Defines a billing invoice response object. + * Defines a billing invoice response object.. + * */ @ApiModel(description = "Defines a billing invoice response object.") public class BillingInvoicesResponse { @JsonProperty("billingInvoices") - private java.util.List billingInvoices = new java.util.ArrayList(); + private java.util.List billingInvoices = null; @JsonProperty("nextUri") private String nextUri = null; @@ -22,66 +25,106 @@ public class BillingInvoicesResponse { @JsonProperty("previousUri") private String previousUri = null; + + /** + * billingInvoices. + * + * @return BillingInvoicesResponse + **/ public BillingInvoicesResponse billingInvoices(java.util.List billingInvoices) { this.billingInvoices = billingInvoices; return this; } - + + /** + * addBillingInvoicesItem. + * + * @return BillingInvoicesResponse + **/ public BillingInvoicesResponse addBillingInvoicesItem(BillingInvoice billingInvoicesItem) { + if (this.billingInvoices == null) { + this.billingInvoices = new java.util.ArrayList(); + } this.billingInvoices.add(billingInvoicesItem); return this; } - /** - * Reserved: TBD + /** + * Reserved: TBD. * @return billingInvoices - **/ - @ApiModelProperty(example = "null", value = "Reserved: TBD") + **/ + @ApiModelProperty(value = "Reserved: TBD") public java.util.List getBillingInvoices() { return billingInvoices; } + /** + * setBillingInvoices. + **/ public void setBillingInvoices(java.util.List billingInvoices) { this.billingInvoices = billingInvoices; } + + /** + * nextUri. + * + * @return BillingInvoicesResponse + **/ public BillingInvoicesResponse nextUri(String nextUri) { this.nextUri = nextUri; return this; } - /** - * The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. + /** + * The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. . * @return nextUri - **/ - @ApiModelProperty(example = "null", value = "The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. ") + **/ + @ApiModelProperty(value = "The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. ") public String getNextUri() { return nextUri; } + /** + * setNextUri. + **/ public void setNextUri(String nextUri) { this.nextUri = nextUri; } + + /** + * previousUri. + * + * @return BillingInvoicesResponse + **/ public BillingInvoicesResponse previousUri(String previousUri) { this.previousUri = previousUri; return this; } - /** - * The postal code for the billing address. + /** + * The postal code for the billing address.. * @return previousUri - **/ - @ApiModelProperty(example = "null", value = "The postal code for the billing address.") + **/ + @ApiModelProperty(value = "The postal code for the billing address.") public String getPreviousUri() { return previousUri; } + /** + * setPreviousUri. + **/ public void setPreviousUri(String previousUri) { this.previousUri = previousUri; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -96,12 +139,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.previousUri, billingInvoicesResponse.previousUri); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(billingInvoices, nextUri, previousUri); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -124,6 +173,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/BillingInvoicesSummary.java b/src/main/java/com/docusign/esign/model/BillingInvoicesSummary.java index 62603bd9..fcafba97 100644 --- a/src/main/java/com/docusign/esign/model/BillingInvoicesSummary.java +++ b/src/main/java/com/docusign/esign/model/BillingInvoicesSummary.java @@ -1,19 +1,22 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.BillingInvoice; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * BillingInvoicesSummary + * BillingInvoicesSummary. + * */ public class BillingInvoicesSummary { @JsonProperty("billingInvoices") - private java.util.List billingInvoices = new java.util.ArrayList(); + private java.util.List billingInvoices = null; @JsonProperty("pastDueBalance") private String pastDueBalance = null; @@ -21,66 +24,106 @@ public class BillingInvoicesSummary { @JsonProperty("paymentAllowed") private String paymentAllowed = null; + + /** + * billingInvoices. + * + * @return BillingInvoicesSummary + **/ public BillingInvoicesSummary billingInvoices(java.util.List billingInvoices) { this.billingInvoices = billingInvoices; return this; } - + + /** + * addBillingInvoicesItem. + * + * @return BillingInvoicesSummary + **/ public BillingInvoicesSummary addBillingInvoicesItem(BillingInvoice billingInvoicesItem) { + if (this.billingInvoices == null) { + this.billingInvoices = new java.util.ArrayList(); + } this.billingInvoices.add(billingInvoicesItem); return this; } - /** - * Reserved: TBD + /** + * Reserved: TBD. * @return billingInvoices - **/ - @ApiModelProperty(example = "null", value = "Reserved: TBD") + **/ + @ApiModelProperty(value = "Reserved: TBD") public java.util.List getBillingInvoices() { return billingInvoices; } + /** + * setBillingInvoices. + **/ public void setBillingInvoices(java.util.List billingInvoices) { this.billingInvoices = billingInvoices; } + + /** + * pastDueBalance. + * + * @return BillingInvoicesSummary + **/ public BillingInvoicesSummary pastDueBalance(String pastDueBalance) { this.pastDueBalance = pastDueBalance; return this; } - /** - * + /** + * . * @return pastDueBalance - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPastDueBalance() { return pastDueBalance; } + /** + * setPastDueBalance. + **/ public void setPastDueBalance(String pastDueBalance) { this.pastDueBalance = pastDueBalance; } + + /** + * paymentAllowed. + * + * @return BillingInvoicesSummary + **/ public BillingInvoicesSummary paymentAllowed(String paymentAllowed) { this.paymentAllowed = paymentAllowed; return this; } - /** - * + /** + * . * @return paymentAllowed - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPaymentAllowed() { return paymentAllowed; } + /** + * setPaymentAllowed. + **/ public void setPaymentAllowed(String paymentAllowed) { this.paymentAllowed = paymentAllowed; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -95,12 +138,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.paymentAllowed, billingInvoicesSummary.paymentAllowed); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(billingInvoices, pastDueBalance, paymentAllowed); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -123,6 +172,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/BillingPayment.java b/src/main/java/com/docusign/esign/model/BillingPayment.java index 7973e988..dcafe4f4 100644 --- a/src/main/java/com/docusign/esign/model/BillingPayment.java +++ b/src/main/java/com/docusign/esign/model/BillingPayment.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Contains information on a billing plan. + * Contains information on a billing plan.. + * */ @ApiModel(description = "Contains information on a billing plan.") @@ -21,61 +24,93 @@ public class BillingPayment { @JsonProperty("paymentId") private String paymentId = null; + + /** + * amount. + * + * @return BillingPayment + **/ public BillingPayment amount(String amount) { this.amount = amount; return this; } - /** - * Reserved: TBD + /** + * Reserved: TBD. * @return amount - **/ - @ApiModelProperty(example = "null", value = "Reserved: TBD") + **/ + @ApiModelProperty(value = "Reserved: TBD") public String getAmount() { return amount; } + /** + * setAmount. + **/ public void setAmount(String amount) { this.amount = amount; } + + /** + * invoiceId. + * + * @return BillingPayment + **/ public BillingPayment invoiceId(String invoiceId) { this.invoiceId = invoiceId; return this; } - /** - * Reserved: TBD + /** + * Reserved: TBD. * @return invoiceId - **/ - @ApiModelProperty(example = "null", value = "Reserved: TBD") + **/ + @ApiModelProperty(value = "Reserved: TBD") public String getInvoiceId() { return invoiceId; } + /** + * setInvoiceId. + **/ public void setInvoiceId(String invoiceId) { this.invoiceId = invoiceId; } + + /** + * paymentId. + * + * @return BillingPayment + **/ public BillingPayment paymentId(String paymentId) { this.paymentId = paymentId; return this; } - /** - * + /** + * . * @return paymentId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPaymentId() { return paymentId; } + /** + * setPaymentId. + **/ public void setPaymentId(String paymentId) { this.paymentId = paymentId; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -90,12 +125,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.paymentId, billingPayment.paymentId); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(amount, invoiceId, paymentId); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -118,6 +159,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/BillingPaymentItem.java b/src/main/java/com/docusign/esign/model/BillingPaymentItem.java index 9f950342..427ab040 100644 --- a/src/main/java/com/docusign/esign/model/BillingPaymentItem.java +++ b/src/main/java/com/docusign/esign/model/BillingPaymentItem.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Defines a billing payment request object. + * Defines a billing payment request object.. + * */ @ApiModel(description = "Defines a billing payment request object.") @@ -27,97 +30,147 @@ public class BillingPaymentItem { @JsonProperty("paymentNumber") private String paymentNumber = null; + + /** + * amount. + * + * @return BillingPaymentItem + **/ public BillingPaymentItem amount(String amount) { this.amount = amount; return this; } - /** - * Reserved: TBD + /** + * Reserved: TBD. * @return amount - **/ - @ApiModelProperty(example = "null", value = "Reserved: TBD") + **/ + @ApiModelProperty(value = "Reserved: TBD") public String getAmount() { return amount; } + /** + * setAmount. + **/ public void setAmount(String amount) { this.amount = amount; } + + /** + * description. + * + * @return BillingPaymentItem + **/ public BillingPaymentItem description(String description) { this.description = description; return this; } - /** - * + /** + * . * @return description - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getDescription() { return description; } + /** + * setDescription. + **/ public void setDescription(String description) { this.description = description; } + + /** + * paymentDate. + * + * @return BillingPaymentItem + **/ public BillingPaymentItem paymentDate(String paymentDate) { this.paymentDate = paymentDate; return this; } - /** - * + /** + * . * @return paymentDate - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPaymentDate() { return paymentDate; } + /** + * setPaymentDate. + **/ public void setPaymentDate(String paymentDate) { this.paymentDate = paymentDate; } + + /** + * paymentId. + * + * @return BillingPaymentItem + **/ public BillingPaymentItem paymentId(String paymentId) { this.paymentId = paymentId; return this; } - /** - * + /** + * . * @return paymentId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPaymentId() { return paymentId; } + /** + * setPaymentId. + **/ public void setPaymentId(String paymentId) { this.paymentId = paymentId; } + + /** + * paymentNumber. + * + * @return BillingPaymentItem + **/ public BillingPaymentItem paymentNumber(String paymentNumber) { this.paymentNumber = paymentNumber; return this; } - /** - * When set to **true**, a PDF version of the invoice is available. To get the PDF, make the call again and change \"Accept:\" in the header to \"Accept: application/pdf\". + /** + * When set to **true**, a PDF version of the invoice is available. To get the PDF, make the call again and change \"Accept:\" in the header to \"Accept: application/pdf\".. * @return paymentNumber - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, a PDF version of the invoice is available. To get the PDF, make the call again and change \"Accept:\" in the header to \"Accept: application/pdf\".") + **/ + @ApiModelProperty(value = "When set to **true**, a PDF version of the invoice is available. To get the PDF, make the call again and change \"Accept:\" in the header to \"Accept: application/pdf\".") public String getPaymentNumber() { return paymentNumber; } + /** + * setPaymentNumber. + **/ public void setPaymentNumber(String paymentNumber) { this.paymentNumber = paymentNumber; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -134,12 +187,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.paymentNumber, billingPaymentItem.paymentNumber); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(amount, description, paymentDate, paymentId, paymentNumber); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -164,6 +223,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/BillingPaymentRequest.java b/src/main/java/com/docusign/esign/model/BillingPaymentRequest.java index 500c08ce..ccf9c205 100644 --- a/src/main/java/com/docusign/esign/model/BillingPaymentRequest.java +++ b/src/main/java/com/docusign/esign/model/BillingPaymentRequest.java @@ -1,38 +1,55 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * BillingPaymentRequest + * BillingPaymentRequest. + * */ public class BillingPaymentRequest { @JsonProperty("paymentAmount") private String paymentAmount = null; + + /** + * paymentAmount. + * + * @return BillingPaymentRequest + **/ public BillingPaymentRequest paymentAmount(String paymentAmount) { this.paymentAmount = paymentAmount; return this; } - /** - * The payment amount for the past due invoices. This value must match the pastDueBalance value retrieved using Get Past Due Invoices. + /** + * The payment amount for the past due invoices. This value must match the pastDueBalance value retrieved using Get Past Due Invoices.. * @return paymentAmount - **/ - @ApiModelProperty(example = "null", value = "The payment amount for the past due invoices. This value must match the pastDueBalance value retrieved using Get Past Due Invoices.") + **/ + @ApiModelProperty(value = "The payment amount for the past due invoices. This value must match the pastDueBalance value retrieved using Get Past Due Invoices.") public String getPaymentAmount() { return paymentAmount; } + /** + * setPaymentAmount. + **/ public void setPaymentAmount(String paymentAmount) { this.paymentAmount = paymentAmount; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -45,12 +62,18 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.paymentAmount, billingPaymentRequest.paymentAmount); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(paymentAmount); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -71,6 +94,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/BillingPaymentResponse.java b/src/main/java/com/docusign/esign/model/BillingPaymentResponse.java index 53ae08e3..95b916df 100644 --- a/src/main/java/com/docusign/esign/model/BillingPaymentResponse.java +++ b/src/main/java/com/docusign/esign/model/BillingPaymentResponse.java @@ -1,45 +1,70 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.BillingPayment; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Defines an billing payment response object. + * Defines an billing payment response object.. + * */ @ApiModel(description = "Defines an billing payment response object.") public class BillingPaymentResponse { @JsonProperty("billingPayments") - private java.util.List billingPayments = new java.util.ArrayList(); + private java.util.List billingPayments = null; + + /** + * billingPayments. + * + * @return BillingPaymentResponse + **/ public BillingPaymentResponse billingPayments(java.util.List billingPayments) { this.billingPayments = billingPayments; return this; } - + + /** + * addBillingPaymentsItem. + * + * @return BillingPaymentResponse + **/ public BillingPaymentResponse addBillingPaymentsItem(BillingPayment billingPaymentsItem) { + if (this.billingPayments == null) { + this.billingPayments = new java.util.ArrayList(); + } this.billingPayments.add(billingPaymentsItem); return this; } - /** - * Reserved: TBD + /** + * Reserved: TBD. * @return billingPayments - **/ - @ApiModelProperty(example = "null", value = "Reserved: TBD") + **/ + @ApiModelProperty(value = "Reserved: TBD") public java.util.List getBillingPayments() { return billingPayments; } + /** + * setBillingPayments. + **/ public void setBillingPayments(java.util.List billingPayments) { this.billingPayments = billingPayments; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -52,12 +77,18 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.billingPayments, billingPaymentResponse.billingPayments); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(billingPayments); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -78,6 +109,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/BillingPaymentsResponse.java b/src/main/java/com/docusign/esign/model/BillingPaymentsResponse.java index c6b3dd9e..8773af93 100644 --- a/src/main/java/com/docusign/esign/model/BillingPaymentsResponse.java +++ b/src/main/java/com/docusign/esign/model/BillingPaymentsResponse.java @@ -1,20 +1,23 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.BillingPaymentItem; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Defines a billing payments response object. + * Defines a billing payments response object.. + * */ @ApiModel(description = "Defines a billing payments response object.") public class BillingPaymentsResponse { @JsonProperty("billingPayments") - private java.util.List billingPayments = new java.util.ArrayList(); + private java.util.List billingPayments = null; @JsonProperty("nextUri") private String nextUri = null; @@ -22,66 +25,106 @@ public class BillingPaymentsResponse { @JsonProperty("previousUri") private String previousUri = null; + + /** + * billingPayments. + * + * @return BillingPaymentsResponse + **/ public BillingPaymentsResponse billingPayments(java.util.List billingPayments) { this.billingPayments = billingPayments; return this; } - + + /** + * addBillingPaymentsItem. + * + * @return BillingPaymentsResponse + **/ public BillingPaymentsResponse addBillingPaymentsItem(BillingPaymentItem billingPaymentsItem) { + if (this.billingPayments == null) { + this.billingPayments = new java.util.ArrayList(); + } this.billingPayments.add(billingPaymentsItem); return this; } - /** - * Reserved: TBD + /** + * Reserved: TBD. * @return billingPayments - **/ - @ApiModelProperty(example = "null", value = "Reserved: TBD") + **/ + @ApiModelProperty(value = "Reserved: TBD") public java.util.List getBillingPayments() { return billingPayments; } + /** + * setBillingPayments. + **/ public void setBillingPayments(java.util.List billingPayments) { this.billingPayments = billingPayments; } + + /** + * nextUri. + * + * @return BillingPaymentsResponse + **/ public BillingPaymentsResponse nextUri(String nextUri) { this.nextUri = nextUri; return this; } - /** - * The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. + /** + * The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. . * @return nextUri - **/ - @ApiModelProperty(example = "null", value = "The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. ") + **/ + @ApiModelProperty(value = "The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. ") public String getNextUri() { return nextUri; } + /** + * setNextUri. + **/ public void setNextUri(String nextUri) { this.nextUri = nextUri; } + + /** + * previousUri. + * + * @return BillingPaymentsResponse + **/ public BillingPaymentsResponse previousUri(String previousUri) { this.previousUri = previousUri; return this; } - /** - * The postal code for the billing address. + /** + * The postal code for the billing address.. * @return previousUri - **/ - @ApiModelProperty(example = "null", value = "The postal code for the billing address.") + **/ + @ApiModelProperty(value = "The postal code for the billing address.") public String getPreviousUri() { return previousUri; } + /** + * setPreviousUri. + **/ public void setPreviousUri(String previousUri) { this.previousUri = previousUri; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -96,12 +139,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.previousUri, billingPaymentsResponse.previousUri); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(billingPayments, nextUri, previousUri); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -124,6 +173,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/BillingPlan.java b/src/main/java/com/docusign/esign/model/BillingPlan.java index ec457941..a292f2e3 100644 --- a/src/main/java/com/docusign/esign/model/BillingPlan.java +++ b/src/main/java/com/docusign/esign/model/BillingPlan.java @@ -1,26 +1,29 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.AppStoreProduct; import com.docusign.esign.model.CurrencyPlanPrice; import com.docusign.esign.model.FeatureSet; import com.docusign.esign.model.SeatDiscount; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Contains information about a billing plan. + * Contains information about a billing plan.. + * */ @ApiModel(description = "Contains information about a billing plan.") public class BillingPlan { @JsonProperty("appStoreProducts") - private java.util.List appStoreProducts = new java.util.ArrayList(); + private java.util.List appStoreProducts = null; @JsonProperty("currencyPlanPrices") - private java.util.List currencyPlanPrices = new java.util.ArrayList(); + private java.util.List currencyPlanPrices = null; @JsonProperty("enableSupport") private String enableSupport = null; @@ -44,7 +47,7 @@ public class BillingPlan { private String planClassification = null; @JsonProperty("planFeatureSets") - private java.util.List planFeatureSets = new java.util.ArrayList(); + private java.util.List planFeatureSets = null; @JsonProperty("planId") private String planId = null; @@ -53,7 +56,7 @@ public class BillingPlan { private String planName = null; @JsonProperty("seatDiscounts") - private java.util.List seatDiscounts = new java.util.ArrayList(); + private java.util.List seatDiscounts = null; @JsonProperty("supportIncidentFee") private String supportIncidentFee = null; @@ -61,297 +64,469 @@ public class BillingPlan { @JsonProperty("supportPlanFee") private String supportPlanFee = null; + + /** + * appStoreProducts. + * + * @return BillingPlan + **/ public BillingPlan appStoreProducts(java.util.List appStoreProducts) { this.appStoreProducts = appStoreProducts; return this; } - + + /** + * addAppStoreProductsItem. + * + * @return BillingPlan + **/ public BillingPlan addAppStoreProductsItem(AppStoreProduct appStoreProductsItem) { + if (this.appStoreProducts == null) { + this.appStoreProducts = new java.util.ArrayList(); + } this.appStoreProducts.add(appStoreProductsItem); return this; } - /** - * Reserved: TBD + /** + * Reserved: TBD. * @return appStoreProducts - **/ - @ApiModelProperty(example = "null", value = "Reserved: TBD") + **/ + @ApiModelProperty(value = "Reserved: TBD") public java.util.List getAppStoreProducts() { return appStoreProducts; } + /** + * setAppStoreProducts. + **/ public void setAppStoreProducts(java.util.List appStoreProducts) { this.appStoreProducts = appStoreProducts; } + + /** + * currencyPlanPrices. + * + * @return BillingPlan + **/ public BillingPlan currencyPlanPrices(java.util.List currencyPlanPrices) { this.currencyPlanPrices = currencyPlanPrices; return this; } - + + /** + * addCurrencyPlanPricesItem. + * + * @return BillingPlan + **/ public BillingPlan addCurrencyPlanPricesItem(CurrencyPlanPrice currencyPlanPricesItem) { + if (this.currencyPlanPrices == null) { + this.currencyPlanPrices = new java.util.ArrayList(); + } this.currencyPlanPrices.add(currencyPlanPricesItem); return this; } - /** - * Contains the currencyCode and currencySymbol for the alternate currency values for envelopeFee, fixedFee, and seatFee that are configured for this plan feature set. + /** + * Contains the currencyCode and currencySymbol for the alternate currency values for envelopeFee, fixedFee, and seatFee that are configured for this plan feature set.. * @return currencyPlanPrices - **/ - @ApiModelProperty(example = "null", value = "Contains the currencyCode and currencySymbol for the alternate currency values for envelopeFee, fixedFee, and seatFee that are configured for this plan feature set.") + **/ + @ApiModelProperty(value = "Contains the currencyCode and currencySymbol for the alternate currency values for envelopeFee, fixedFee, and seatFee that are configured for this plan feature set.") public java.util.List getCurrencyPlanPrices() { return currencyPlanPrices; } + /** + * setCurrencyPlanPrices. + **/ public void setCurrencyPlanPrices(java.util.List currencyPlanPrices) { this.currencyPlanPrices = currencyPlanPrices; } + + /** + * enableSupport. + * + * @return BillingPlan + **/ public BillingPlan enableSupport(String enableSupport) { this.enableSupport = enableSupport; return this; } - /** - * When set to **true**, then customer support is provided as part of the account plan. + /** + * When set to **true**, then customer support is provided as part of the account plan.. * @return enableSupport - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, then customer support is provided as part of the account plan.") + **/ + @ApiModelProperty(value = "When set to **true**, then customer support is provided as part of the account plan.") public String getEnableSupport() { return enableSupport; } + /** + * setEnableSupport. + **/ public void setEnableSupport(String enableSupport) { this.enableSupport = enableSupport; } + + /** + * includedSeats. + * + * @return BillingPlan + **/ public BillingPlan includedSeats(String includedSeats) { this.includedSeats = includedSeats; return this; } - /** - * The number of seats (users) included. + /** + * The number of seats (users) included.. * @return includedSeats - **/ - @ApiModelProperty(example = "null", value = "The number of seats (users) included.") + **/ + @ApiModelProperty(value = "The number of seats (users) included.") public String getIncludedSeats() { return includedSeats; } + /** + * setIncludedSeats. + **/ public void setIncludedSeats(String includedSeats) { this.includedSeats = includedSeats; } + + /** + * otherDiscountPercent. + * + * @return BillingPlan + **/ public BillingPlan otherDiscountPercent(String otherDiscountPercent) { this.otherDiscountPercent = otherDiscountPercent; return this; } - /** - * + /** + * . * @return otherDiscountPercent - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getOtherDiscountPercent() { return otherDiscountPercent; } + /** + * setOtherDiscountPercent. + **/ public void setOtherDiscountPercent(String otherDiscountPercent) { this.otherDiscountPercent = otherDiscountPercent; } + + /** + * paymentCycle. + * + * @return BillingPlan + **/ public BillingPlan paymentCycle(String paymentCycle) { this.paymentCycle = paymentCycle; return this; } - /** - * The payment cycle associated with the plan. The possible values are: Monthly or Annually. + /** + * The payment cycle associated with the plan. The possible values are: Monthly or Annually. . * @return paymentCycle - **/ - @ApiModelProperty(example = "null", value = " The payment cycle associated with the plan. The possible values are: Monthly or Annually. ") + **/ + @ApiModelProperty(value = " The payment cycle associated with the plan. The possible values are: Monthly or Annually. ") public String getPaymentCycle() { return paymentCycle; } + /** + * setPaymentCycle. + **/ public void setPaymentCycle(String paymentCycle) { this.paymentCycle = paymentCycle; } + + /** + * paymentMethod. + * + * @return BillingPlan + **/ public BillingPlan paymentMethod(String paymentMethod) { this.paymentMethod = paymentMethod; return this; } - /** - * + /** + * . * @return paymentMethod - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPaymentMethod() { return paymentMethod; } + /** + * setPaymentMethod. + **/ public void setPaymentMethod(String paymentMethod) { this.paymentMethod = paymentMethod; } + + /** + * perSeatPrice. + * + * @return BillingPlan + **/ public BillingPlan perSeatPrice(String perSeatPrice) { this.perSeatPrice = perSeatPrice; return this; } - /** - * The per seat price for the plan. + /** + * The per seat price for the plan.. * @return perSeatPrice - **/ - @ApiModelProperty(example = "null", value = "The per seat price for the plan.") + **/ + @ApiModelProperty(value = "The per seat price for the plan.") public String getPerSeatPrice() { return perSeatPrice; } + /** + * setPerSeatPrice. + **/ public void setPerSeatPrice(String perSeatPrice) { this.perSeatPrice = perSeatPrice; } + + /** + * planClassification. + * + * @return BillingPlan + **/ public BillingPlan planClassification(String planClassification) { this.planClassification = planClassification; return this; } - /** - * Identifies the type of plan. Examples include Business, Corporate, Enterprise, Free. + /** + * Identifies the type of plan. Examples include Business, Corporate, Enterprise, Free.. * @return planClassification - **/ - @ApiModelProperty(example = "null", value = "Identifies the type of plan. Examples include Business, Corporate, Enterprise, Free.") + **/ + @ApiModelProperty(value = "Identifies the type of plan. Examples include Business, Corporate, Enterprise, Free.") public String getPlanClassification() { return planClassification; } + /** + * setPlanClassification. + **/ public void setPlanClassification(String planClassification) { this.planClassification = planClassification; } + + /** + * planFeatureSets. + * + * @return BillingPlan + **/ public BillingPlan planFeatureSets(java.util.List planFeatureSets) { this.planFeatureSets = planFeatureSets; return this; } - + + /** + * addPlanFeatureSetsItem. + * + * @return BillingPlan + **/ public BillingPlan addPlanFeatureSetsItem(FeatureSet planFeatureSetsItem) { + if (this.planFeatureSets == null) { + this.planFeatureSets = new java.util.ArrayList(); + } this.planFeatureSets.add(planFeatureSetsItem); return this; } - /** - * + /** + * . * @return planFeatureSets - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getPlanFeatureSets() { return planFeatureSets; } + /** + * setPlanFeatureSets. + **/ public void setPlanFeatureSets(java.util.List planFeatureSets) { this.planFeatureSets = planFeatureSets; } + + /** + * planId. + * + * @return BillingPlan + **/ public BillingPlan planId(String planId) { this.planId = planId; return this; } - /** - * + /** + * . * @return planId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPlanId() { return planId; } + /** + * setPlanId. + **/ public void setPlanId(String planId) { this.planId = planId; } + + /** + * planName. + * + * @return BillingPlan + **/ public BillingPlan planName(String planName) { this.planName = planName; return this; } - /** - * The name of the Billing Plan. + /** + * The name of the Billing Plan.. * @return planName - **/ - @ApiModelProperty(example = "null", value = "The name of the Billing Plan.") + **/ + @ApiModelProperty(value = "The name of the Billing Plan.") public String getPlanName() { return planName; } + /** + * setPlanName. + **/ public void setPlanName(String planName) { this.planName = planName; } + + /** + * seatDiscounts. + * + * @return BillingPlan + **/ public BillingPlan seatDiscounts(java.util.List seatDiscounts) { this.seatDiscounts = seatDiscounts; return this; } - + + /** + * addSeatDiscountsItem. + * + * @return BillingPlan + **/ public BillingPlan addSeatDiscountsItem(SeatDiscount seatDiscountsItem) { + if (this.seatDiscounts == null) { + this.seatDiscounts = new java.util.ArrayList(); + } this.seatDiscounts.add(seatDiscountsItem); return this; } - /** - * + /** + * . * @return seatDiscounts - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getSeatDiscounts() { return seatDiscounts; } + /** + * setSeatDiscounts. + **/ public void setSeatDiscounts(java.util.List seatDiscounts) { this.seatDiscounts = seatDiscounts; } + + /** + * supportIncidentFee. + * + * @return BillingPlan + **/ public BillingPlan supportIncidentFee(String supportIncidentFee) { this.supportIncidentFee = supportIncidentFee; return this; } - /** - * The support incident fee charged for each support incident. + /** + * The support incident fee charged for each support incident.. * @return supportIncidentFee - **/ - @ApiModelProperty(example = "null", value = "The support incident fee charged for each support incident.") + **/ + @ApiModelProperty(value = "The support incident fee charged for each support incident.") public String getSupportIncidentFee() { return supportIncidentFee; } + /** + * setSupportIncidentFee. + **/ public void setSupportIncidentFee(String supportIncidentFee) { this.supportIncidentFee = supportIncidentFee; } + + /** + * supportPlanFee. + * + * @return BillingPlan + **/ public BillingPlan supportPlanFee(String supportPlanFee) { this.supportPlanFee = supportPlanFee; return this; } - /** - * The support plan fee charged for this plan. + /** + * The support plan fee charged for this plan.. * @return supportPlanFee - **/ - @ApiModelProperty(example = "null", value = "The support plan fee charged for this plan.") + **/ + @ApiModelProperty(value = "The support plan fee charged for this plan.") public String getSupportPlanFee() { return supportPlanFee; } + /** + * setSupportPlanFee. + **/ public void setSupportPlanFee(String supportPlanFee) { this.supportPlanFee = supportPlanFee; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -378,12 +553,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.supportPlanFee, billingPlan.supportPlanFee); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(appStoreProducts, currencyPlanPrices, enableSupport, includedSeats, otherDiscountPercent, paymentCycle, paymentMethod, perSeatPrice, planClassification, planFeatureSets, planId, planName, seatDiscounts, supportIncidentFee, supportPlanFee); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -418,6 +599,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/BillingPlanInformation.java b/src/main/java/com/docusign/esign/model/BillingPlanInformation.java index 5ef0d5e1..4768a54c 100644 --- a/src/main/java/com/docusign/esign/model/BillingPlanInformation.java +++ b/src/main/java/com/docusign/esign/model/BillingPlanInformation.java @@ -1,6 +1,7 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.AccountAddress; import com.docusign.esign.model.AppStoreReceipt; import com.docusign.esign.model.CreditCardInformation; @@ -9,11 +10,13 @@ import com.docusign.esign.model.ReferralInformation; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * BillingPlanInformation + * BillingPlanInformation. + * */ public class BillingPlanInformation { @@ -65,295 +68,444 @@ public class BillingPlanInformation { @JsonProperty("saleDiscountSeatPriceOverride") private String saleDiscountSeatPriceOverride = null; + + /** + * appStoreReceipt. + * + * @return BillingPlanInformation + **/ public BillingPlanInformation appStoreReceipt(AppStoreReceipt appStoreReceipt) { this.appStoreReceipt = appStoreReceipt; return this; } - /** - * Get appStoreReceipt + /** + * Get appStoreReceipt. * @return appStoreReceipt - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public AppStoreReceipt getAppStoreReceipt() { return appStoreReceipt; } + /** + * setAppStoreReceipt. + **/ public void setAppStoreReceipt(AppStoreReceipt appStoreReceipt) { this.appStoreReceipt = appStoreReceipt; } + + /** + * billingAddress. + * + * @return BillingPlanInformation + **/ public BillingPlanInformation billingAddress(AccountAddress billingAddress) { this.billingAddress = billingAddress; return this; } - /** - * Get billingAddress + /** + * Get billingAddress. * @return billingAddress - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public AccountAddress getBillingAddress() { return billingAddress; } + /** + * setBillingAddress. + **/ public void setBillingAddress(AccountAddress billingAddress) { this.billingAddress = billingAddress; } + + /** + * creditCardInformation. + * + * @return BillingPlanInformation + **/ public BillingPlanInformation creditCardInformation(CreditCardInformation creditCardInformation) { this.creditCardInformation = creditCardInformation; return this; } - /** - * Get creditCardInformation + /** + * Get creditCardInformation. * @return creditCardInformation - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public CreditCardInformation getCreditCardInformation() { return creditCardInformation; } + /** + * setCreditCardInformation. + **/ public void setCreditCardInformation(CreditCardInformation creditCardInformation) { this.creditCardInformation = creditCardInformation; } + + /** + * downgradeReason. + * + * @return BillingPlanInformation + **/ public BillingPlanInformation downgradeReason(String downgradeReason) { this.downgradeReason = downgradeReason; return this; } - /** - * + /** + * . * @return downgradeReason - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getDowngradeReason() { return downgradeReason; } + /** + * setDowngradeReason. + **/ public void setDowngradeReason(String downgradeReason) { this.downgradeReason = downgradeReason; } + + /** + * enableSupport. + * + * @return BillingPlanInformation + **/ public BillingPlanInformation enableSupport(String enableSupport) { this.enableSupport = enableSupport; return this; } - /** - * + /** + * . * @return enableSupport - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getEnableSupport() { return enableSupport; } + /** + * setEnableSupport. + **/ public void setEnableSupport(String enableSupport) { this.enableSupport = enableSupport; } + + /** + * includedSeats. + * + * @return BillingPlanInformation + **/ public BillingPlanInformation includedSeats(String includedSeats) { this.includedSeats = includedSeats; return this; } - /** - * The number of seats (users) included. + /** + * The number of seats (users) included.. * @return includedSeats - **/ - @ApiModelProperty(example = "null", value = "The number of seats (users) included.") + **/ + @ApiModelProperty(value = "The number of seats (users) included.") public String getIncludedSeats() { return includedSeats; } + /** + * setIncludedSeats. + **/ public void setIncludedSeats(String includedSeats) { this.includedSeats = includedSeats; } + + /** + * incrementalSeats. + * + * @return BillingPlanInformation + **/ public BillingPlanInformation incrementalSeats(String incrementalSeats) { this.incrementalSeats = incrementalSeats; return this; } - /** - * Reserved: TBD + /** + * Reserved: TBD. * @return incrementalSeats - **/ - @ApiModelProperty(example = "null", value = "Reserved: TBD") + **/ + @ApiModelProperty(value = "Reserved: TBD") public String getIncrementalSeats() { return incrementalSeats; } + /** + * setIncrementalSeats. + **/ public void setIncrementalSeats(String incrementalSeats) { this.incrementalSeats = incrementalSeats; } + + /** + * paymentProcessorInformation. + * + * @return BillingPlanInformation + **/ public BillingPlanInformation paymentProcessorInformation(PaymentProcessorInformation paymentProcessorInformation) { this.paymentProcessorInformation = paymentProcessorInformation; return this; } - /** - * Get paymentProcessorInformation + /** + * Get paymentProcessorInformation. * @return paymentProcessorInformation - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public PaymentProcessorInformation getPaymentProcessorInformation() { return paymentProcessorInformation; } + /** + * setPaymentProcessorInformation. + **/ public void setPaymentProcessorInformation(PaymentProcessorInformation paymentProcessorInformation) { this.paymentProcessorInformation = paymentProcessorInformation; } + + /** + * planInformation. + * + * @return BillingPlanInformation + **/ public BillingPlanInformation planInformation(PlanInformation planInformation) { this.planInformation = planInformation; return this; } - /** - * Get planInformation + /** + * Get planInformation. * @return planInformation - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public PlanInformation getPlanInformation() { return planInformation; } + /** + * setPlanInformation. + **/ public void setPlanInformation(PlanInformation planInformation) { this.planInformation = planInformation; } + + /** + * referralInformation. + * + * @return BillingPlanInformation + **/ public BillingPlanInformation referralInformation(ReferralInformation referralInformation) { this.referralInformation = referralInformation; return this; } - /** - * Get referralInformation + /** + * Get referralInformation. * @return referralInformation - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ReferralInformation getReferralInformation() { return referralInformation; } + /** + * setReferralInformation. + **/ public void setReferralInformation(ReferralInformation referralInformation) { this.referralInformation = referralInformation; } + + /** + * renewalStatus. + * + * @return BillingPlanInformation + **/ public BillingPlanInformation renewalStatus(String renewalStatus) { this.renewalStatus = renewalStatus; return this; } - /** - * + /** + * . * @return renewalStatus - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getRenewalStatus() { return renewalStatus; } + /** + * setRenewalStatus. + **/ public void setRenewalStatus(String renewalStatus) { this.renewalStatus = renewalStatus; } + + /** + * saleDiscountAmount. + * + * @return BillingPlanInformation + **/ public BillingPlanInformation saleDiscountAmount(String saleDiscountAmount) { this.saleDiscountAmount = saleDiscountAmount; return this; } - /** - * + /** + * . * @return saleDiscountAmount - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSaleDiscountAmount() { return saleDiscountAmount; } + /** + * setSaleDiscountAmount. + **/ public void setSaleDiscountAmount(String saleDiscountAmount) { this.saleDiscountAmount = saleDiscountAmount; } + + /** + * saleDiscountFixedAmount. + * + * @return BillingPlanInformation + **/ public BillingPlanInformation saleDiscountFixedAmount(String saleDiscountFixedAmount) { this.saleDiscountFixedAmount = saleDiscountFixedAmount; return this; } - /** - * + /** + * . * @return saleDiscountFixedAmount - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSaleDiscountFixedAmount() { return saleDiscountFixedAmount; } + /** + * setSaleDiscountFixedAmount. + **/ public void setSaleDiscountFixedAmount(String saleDiscountFixedAmount) { this.saleDiscountFixedAmount = saleDiscountFixedAmount; } + + /** + * saleDiscountPercent. + * + * @return BillingPlanInformation + **/ public BillingPlanInformation saleDiscountPercent(String saleDiscountPercent) { this.saleDiscountPercent = saleDiscountPercent; return this; } - /** - * + /** + * . * @return saleDiscountPercent - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSaleDiscountPercent() { return saleDiscountPercent; } + /** + * setSaleDiscountPercent. + **/ public void setSaleDiscountPercent(String saleDiscountPercent) { this.saleDiscountPercent = saleDiscountPercent; } + + /** + * saleDiscountPeriods. + * + * @return BillingPlanInformation + **/ public BillingPlanInformation saleDiscountPeriods(String saleDiscountPeriods) { this.saleDiscountPeriods = saleDiscountPeriods; return this; } - /** - * + /** + * . * @return saleDiscountPeriods - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSaleDiscountPeriods() { return saleDiscountPeriods; } + /** + * setSaleDiscountPeriods. + **/ public void setSaleDiscountPeriods(String saleDiscountPeriods) { this.saleDiscountPeriods = saleDiscountPeriods; } + + /** + * saleDiscountSeatPriceOverride. + * + * @return BillingPlanInformation + **/ public BillingPlanInformation saleDiscountSeatPriceOverride(String saleDiscountSeatPriceOverride) { this.saleDiscountSeatPriceOverride = saleDiscountSeatPriceOverride; return this; } - /** - * + /** + * . * @return saleDiscountSeatPriceOverride - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSaleDiscountSeatPriceOverride() { return saleDiscountSeatPriceOverride; } + /** + * setSaleDiscountSeatPriceOverride. + **/ public void setSaleDiscountSeatPriceOverride(String saleDiscountSeatPriceOverride) { this.saleDiscountSeatPriceOverride = saleDiscountSeatPriceOverride; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -381,12 +533,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.saleDiscountSeatPriceOverride, billingPlanInformation.saleDiscountSeatPriceOverride); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(appStoreReceipt, billingAddress, creditCardInformation, downgradeReason, enableSupport, includedSeats, incrementalSeats, paymentProcessorInformation, planInformation, referralInformation, renewalStatus, saleDiscountAmount, saleDiscountFixedAmount, saleDiscountPercent, saleDiscountPeriods, saleDiscountSeatPriceOverride); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -422,6 +580,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/BillingPlanPreview.java b/src/main/java/com/docusign/esign/model/BillingPlanPreview.java index 8d78647d..e3599c65 100644 --- a/src/main/java/com/docusign/esign/model/BillingPlanPreview.java +++ b/src/main/java/com/docusign/esign/model/BillingPlanPreview.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.BillingInvoice; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Contains information about a preview billing plan. + * Contains information about a preview billing plan.. + * */ @ApiModel(description = "Contains information about a preview billing plan.") @@ -31,115 +34,174 @@ public class BillingPlanPreview { @JsonProperty("totalAmount") private String totalAmount = null; + + /** + * currencyCode. + * + * @return BillingPlanPreview + **/ public BillingPlanPreview currencyCode(String currencyCode) { this.currencyCode = currencyCode; return this; } - /** - * Specifies the ISO currency code for the account. + /** + * Specifies the ISO currency code for the account.. * @return currencyCode - **/ - @ApiModelProperty(example = "null", value = "Specifies the ISO currency code for the account.") + **/ + @ApiModelProperty(value = "Specifies the ISO currency code for the account.") public String getCurrencyCode() { return currencyCode; } + /** + * setCurrencyCode. + **/ public void setCurrencyCode(String currencyCode) { this.currencyCode = currencyCode; } + + /** + * invoice. + * + * @return BillingPlanPreview + **/ public BillingPlanPreview invoice(BillingInvoice invoice) { this.invoice = invoice; return this; } - /** - * Get invoice + /** + * Get invoice. * @return invoice - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public BillingInvoice getInvoice() { return invoice; } + /** + * setInvoice. + **/ public void setInvoice(BillingInvoice invoice) { this.invoice = invoice; } + + /** + * isProrated. + * + * @return BillingPlanPreview + **/ public BillingPlanPreview isProrated(String isProrated) { this.isProrated = isProrated; return this; } - /** - * + /** + * . * @return isProrated - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getIsProrated() { return isProrated; } + /** + * setIsProrated. + **/ public void setIsProrated(String isProrated) { this.isProrated = isProrated; } + + /** + * subtotalAmount. + * + * @return BillingPlanPreview + **/ public BillingPlanPreview subtotalAmount(String subtotalAmount) { this.subtotalAmount = subtotalAmount; return this; } - /** - * + /** + * . * @return subtotalAmount - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSubtotalAmount() { return subtotalAmount; } + /** + * setSubtotalAmount. + **/ public void setSubtotalAmount(String subtotalAmount) { this.subtotalAmount = subtotalAmount; } + + /** + * taxAmount. + * + * @return BillingPlanPreview + **/ public BillingPlanPreview taxAmount(String taxAmount) { this.taxAmount = taxAmount; return this; } - /** - * + /** + * . * @return taxAmount - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTaxAmount() { return taxAmount; } + /** + * setTaxAmount. + **/ public void setTaxAmount(String taxAmount) { this.taxAmount = taxAmount; } + + /** + * totalAmount. + * + * @return BillingPlanPreview + **/ public BillingPlanPreview totalAmount(String totalAmount) { this.totalAmount = totalAmount; return this; } - /** - * + /** + * . * @return totalAmount - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTotalAmount() { return totalAmount; } + /** + * setTotalAmount. + **/ public void setTotalAmount(String totalAmount) { this.totalAmount = totalAmount; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -157,12 +219,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.totalAmount, billingPlanPreview.totalAmount); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(currencyCode, invoice, isProrated, subtotalAmount, taxAmount, totalAmount); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -188,6 +256,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/BillingPlanResponse.java b/src/main/java/com/docusign/esign/model/BillingPlanResponse.java index 050d54a7..723980b5 100644 --- a/src/main/java/com/docusign/esign/model/BillingPlanResponse.java +++ b/src/main/java/com/docusign/esign/model/BillingPlanResponse.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.BillingPlan; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Defines a billing plan response object. + * Defines a billing plan response object.. + * */ @ApiModel(description = "Defines a billing plan response object.") @@ -17,50 +20,81 @@ public class BillingPlanResponse { private BillingPlan billingPlan = null; @JsonProperty("successorPlans") - private java.util.List successorPlans = new java.util.ArrayList(); + private java.util.List successorPlans = null; + + /** + * billingPlan. + * + * @return BillingPlanResponse + **/ public BillingPlanResponse billingPlan(BillingPlan billingPlan) { this.billingPlan = billingPlan; return this; } - /** - * Get billingPlan + /** + * Get billingPlan. * @return billingPlan - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public BillingPlan getBillingPlan() { return billingPlan; } + /** + * setBillingPlan. + **/ public void setBillingPlan(BillingPlan billingPlan) { this.billingPlan = billingPlan; } + + /** + * successorPlans. + * + * @return BillingPlanResponse + **/ public BillingPlanResponse successorPlans(java.util.List successorPlans) { this.successorPlans = successorPlans; return this; } - + + /** + * addSuccessorPlansItem. + * + * @return BillingPlanResponse + **/ public BillingPlanResponse addSuccessorPlansItem(BillingPlan successorPlansItem) { + if (this.successorPlans == null) { + this.successorPlans = new java.util.ArrayList(); + } this.successorPlans.add(successorPlansItem); return this; } - /** - * + /** + * . * @return successorPlans - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getSuccessorPlans() { return successorPlans; } + /** + * setSuccessorPlans. + **/ public void setSuccessorPlans(java.util.List successorPlans) { this.successorPlans = successorPlans; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -74,12 +108,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.successorPlans, billingPlanResponse.successorPlans); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(billingPlan, successorPlans); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -101,6 +141,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/BillingPlanUpdateResponse.java b/src/main/java/com/docusign/esign/model/BillingPlanUpdateResponse.java index 7a9dc976..bf0d716c 100644 --- a/src/main/java/com/docusign/esign/model/BillingPlanUpdateResponse.java +++ b/src/main/java/com/docusign/esign/model/BillingPlanUpdateResponse.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.BillingPlanPreview; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Defines a billing plan update response object. + * Defines a billing plan update response object.. + * */ @ApiModel(description = "Defines a billing plan update response object.") @@ -37,151 +40,228 @@ public class BillingPlanUpdateResponse { @JsonProperty("planName") private String planName = null; + + /** + * accountPaymentMethod. + * + * @return BillingPlanUpdateResponse + **/ public BillingPlanUpdateResponse accountPaymentMethod(String accountPaymentMethod) { this.accountPaymentMethod = accountPaymentMethod; return this; } - /** - * + /** + * . * @return accountPaymentMethod - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAccountPaymentMethod() { return accountPaymentMethod; } + /** + * setAccountPaymentMethod. + **/ public void setAccountPaymentMethod(String accountPaymentMethod) { this.accountPaymentMethod = accountPaymentMethod; } + + /** + * billingPlanPreview. + * + * @return BillingPlanUpdateResponse + **/ public BillingPlanUpdateResponse billingPlanPreview(BillingPlanPreview billingPlanPreview) { this.billingPlanPreview = billingPlanPreview; return this; } - /** - * Get billingPlanPreview + /** + * Get billingPlanPreview. * @return billingPlanPreview - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public BillingPlanPreview getBillingPlanPreview() { return billingPlanPreview; } + /** + * setBillingPlanPreview. + **/ public void setBillingPlanPreview(BillingPlanPreview billingPlanPreview) { this.billingPlanPreview = billingPlanPreview; } + + /** + * currencyCode. + * + * @return BillingPlanUpdateResponse + **/ public BillingPlanUpdateResponse currencyCode(String currencyCode) { this.currencyCode = currencyCode; return this; } - /** - * Specifies the ISO currency code for the account. + /** + * Specifies the ISO currency code for the account.. * @return currencyCode - **/ - @ApiModelProperty(example = "null", value = "Specifies the ISO currency code for the account.") + **/ + @ApiModelProperty(value = "Specifies the ISO currency code for the account.") public String getCurrencyCode() { return currencyCode; } + /** + * setCurrencyCode. + **/ public void setCurrencyCode(String currencyCode) { this.currencyCode = currencyCode; } + + /** + * includedSeats. + * + * @return BillingPlanUpdateResponse + **/ public BillingPlanUpdateResponse includedSeats(String includedSeats) { this.includedSeats = includedSeats; return this; } - /** - * The number of seats (users) included. + /** + * The number of seats (users) included.. * @return includedSeats - **/ - @ApiModelProperty(example = "null", value = "The number of seats (users) included.") + **/ + @ApiModelProperty(value = "The number of seats (users) included.") public String getIncludedSeats() { return includedSeats; } + /** + * setIncludedSeats. + **/ public void setIncludedSeats(String includedSeats) { this.includedSeats = includedSeats; } + + /** + * paymentCycle. + * + * @return BillingPlanUpdateResponse + **/ public BillingPlanUpdateResponse paymentCycle(String paymentCycle) { this.paymentCycle = paymentCycle; return this; } - /** - * + /** + * . * @return paymentCycle - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPaymentCycle() { return paymentCycle; } + /** + * setPaymentCycle. + **/ public void setPaymentCycle(String paymentCycle) { this.paymentCycle = paymentCycle; } + + /** + * paymentMethod. + * + * @return BillingPlanUpdateResponse + **/ public BillingPlanUpdateResponse paymentMethod(String paymentMethod) { this.paymentMethod = paymentMethod; return this; } - /** - * + /** + * . * @return paymentMethod - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPaymentMethod() { return paymentMethod; } + /** + * setPaymentMethod. + **/ public void setPaymentMethod(String paymentMethod) { this.paymentMethod = paymentMethod; } + + /** + * planId. + * + * @return BillingPlanUpdateResponse + **/ public BillingPlanUpdateResponse planId(String planId) { this.planId = planId; return this; } - /** - * + /** + * . * @return planId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPlanId() { return planId; } + /** + * setPlanId. + **/ public void setPlanId(String planId) { this.planId = planId; } + + /** + * planName. + * + * @return BillingPlanUpdateResponse + **/ public BillingPlanUpdateResponse planName(String planName) { this.planName = planName; return this; } - /** - * + /** + * . * @return planName - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPlanName() { return planName; } + /** + * setPlanName. + **/ public void setPlanName(String planName) { this.planName = planName; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -201,12 +281,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.planName, billingPlanUpdateResponse.planName); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(accountPaymentMethod, billingPlanPreview, currencyCode, includedSeats, paymentCycle, paymentMethod, planId, planName); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -234,6 +320,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/BillingPlansResponse.java b/src/main/java/com/docusign/esign/model/BillingPlansResponse.java index a801c130..af398da8 100644 --- a/src/main/java/com/docusign/esign/model/BillingPlansResponse.java +++ b/src/main/java/com/docusign/esign/model/BillingPlansResponse.java @@ -1,45 +1,70 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.BillingPlan; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Defines a billing plans response object. + * Defines a billing plans response object.. + * */ @ApiModel(description = "Defines a billing plans response object.") public class BillingPlansResponse { @JsonProperty("billingPlans") - private java.util.List billingPlans = new java.util.ArrayList(); + private java.util.List billingPlans = null; + + /** + * billingPlans. + * + * @return BillingPlansResponse + **/ public BillingPlansResponse billingPlans(java.util.List billingPlans) { this.billingPlans = billingPlans; return this; } - + + /** + * addBillingPlansItem. + * + * @return BillingPlansResponse + **/ public BillingPlansResponse addBillingPlansItem(BillingPlan billingPlansItem) { + if (this.billingPlans == null) { + this.billingPlans = new java.util.ArrayList(); + } this.billingPlans.add(billingPlansItem); return this; } - /** - * Reserved: TBD + /** + * Reserved: TBD. * @return billingPlans - **/ - @ApiModelProperty(example = "null", value = "Reserved: TBD") + **/ + @ApiModelProperty(value = "Reserved: TBD") public java.util.List getBillingPlans() { return billingPlans; } + /** + * setBillingPlans. + **/ public void setBillingPlans(java.util.List billingPlans) { this.billingPlans = billingPlans; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -52,12 +77,18 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.billingPlans, billingPlansResponse.billingPlans); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(billingPlans); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -78,6 +109,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/BillingPrice.java b/src/main/java/com/docusign/esign/model/BillingPrice.java index 1645732b..9bf943cb 100644 --- a/src/main/java/com/docusign/esign/model/BillingPrice.java +++ b/src/main/java/com/docusign/esign/model/BillingPrice.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * BillingPrice + * BillingPrice. + * */ public class BillingPrice { @@ -20,61 +23,93 @@ public class BillingPrice { @JsonProperty("unitPrice") private String unitPrice = null; + + /** + * beginQuantity. + * + * @return BillingPrice + **/ public BillingPrice beginQuantity(String beginQuantity) { this.beginQuantity = beginQuantity; return this; } - /** - * Reserved: TBD + /** + * Reserved: TBD. * @return beginQuantity - **/ - @ApiModelProperty(example = "null", value = "Reserved: TBD") + **/ + @ApiModelProperty(value = "Reserved: TBD") public String getBeginQuantity() { return beginQuantity; } + /** + * setBeginQuantity. + **/ public void setBeginQuantity(String beginQuantity) { this.beginQuantity = beginQuantity; } + + /** + * endQuantity. + * + * @return BillingPrice + **/ public BillingPrice endQuantity(String endQuantity) { this.endQuantity = endQuantity; return this; } - /** - * + /** + * . * @return endQuantity - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getEndQuantity() { return endQuantity; } + /** + * setEndQuantity. + **/ public void setEndQuantity(String endQuantity) { this.endQuantity = endQuantity; } + + /** + * unitPrice. + * + * @return BillingPrice + **/ public BillingPrice unitPrice(String unitPrice) { this.unitPrice = unitPrice; return this; } - /** - * Reserved: TBD + /** + * Reserved: TBD. * @return unitPrice - **/ - @ApiModelProperty(example = "null", value = "Reserved: TBD") + **/ + @ApiModelProperty(value = "Reserved: TBD") public String getUnitPrice() { return unitPrice; } + /** + * setUnitPrice. + **/ public void setUnitPrice(String unitPrice) { this.unitPrice = unitPrice; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -89,12 +124,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.unitPrice, billingPrice.unitPrice); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(beginQuantity, endQuantity, unitPrice); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -117,6 +158,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/Brand.java b/src/main/java/com/docusign/esign/model/Brand.java index c653f516..3d2d3962 100644 --- a/src/main/java/com/docusign/esign/model/Brand.java +++ b/src/main/java/com/docusign/esign/model/Brand.java @@ -1,6 +1,7 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.BrandEmailContent; import com.docusign.esign.model.BrandLink; import com.docusign.esign.model.BrandLogos; @@ -9,11 +10,13 @@ import com.docusign.esign.model.NameValue; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Brand + * Brand. + * */ public class Brand { @@ -27,10 +30,10 @@ public class Brand { private String brandName = null; @JsonProperty("colors") - private java.util.List colors = new java.util.ArrayList(); + private java.util.List colors = null; @JsonProperty("emailContent") - private java.util.List emailContent = new java.util.ArrayList(); + private java.util.List emailContent = null; @JsonProperty("errorDetails") private ErrorDetails errorDetails = null; @@ -45,10 +48,10 @@ public class Brand { private String isSigningDefault = null; @JsonProperty("landingPages") - private java.util.List landingPages = new java.util.ArrayList(); + private java.util.List landingPages = null; @JsonProperty("links") - private java.util.List links = new java.util.ArrayList(); + private java.util.List links = null; @JsonProperty("logos") private BrandLogos logos = null; @@ -56,261 +59,415 @@ public class Brand { @JsonProperty("resources") private BrandResourceUrls resources = null; + + /** + * brandCompany. + * + * @return Brand + **/ public Brand brandCompany(String brandCompany) { this.brandCompany = brandCompany; return this; } - /** - * The name of the company associated with this brand. + /** + * The name of the company associated with this brand.. * @return brandCompany - **/ - @ApiModelProperty(example = "null", value = "The name of the company associated with this brand.") + **/ + @ApiModelProperty(value = "The name of the company associated with this brand.") public String getBrandCompany() { return brandCompany; } + /** + * setBrandCompany. + **/ public void setBrandCompany(String brandCompany) { this.brandCompany = brandCompany; } + + /** + * brandId. + * + * @return Brand + **/ public Brand brandId(String brandId) { this.brandId = brandId; return this; } - /** - * The ID used to identify a specific brand in API calls. + /** + * The ID used to identify a specific brand in API calls.. * @return brandId - **/ - @ApiModelProperty(example = "null", value = "The ID used to identify a specific brand in API calls.") + **/ + @ApiModelProperty(value = "The ID used to identify a specific brand in API calls.") public String getBrandId() { return brandId; } + /** + * setBrandId. + **/ public void setBrandId(String brandId) { this.brandId = brandId; } + + /** + * brandName. + * + * @return Brand + **/ public Brand brandName(String brandName) { this.brandName = brandName; return this; } - /** - * The name of the brand. + /** + * The name of the brand.. * @return brandName - **/ - @ApiModelProperty(example = "null", value = "The name of the brand.") + **/ + @ApiModelProperty(value = "The name of the brand.") public String getBrandName() { return brandName; } + /** + * setBrandName. + **/ public void setBrandName(String brandName) { this.brandName = brandName; } + + /** + * colors. + * + * @return Brand + **/ public Brand colors(java.util.List colors) { this.colors = colors; return this; } - + + /** + * addColorsItem. + * + * @return Brand + **/ public Brand addColorsItem(NameValue colorsItem) { + if (this.colors == null) { + this.colors = new java.util.ArrayList(); + } this.colors.add(colorsItem); return this; } - /** - * + /** + * . * @return colors - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getColors() { return colors; } + /** + * setColors. + **/ public void setColors(java.util.List colors) { this.colors = colors; } + + /** + * emailContent. + * + * @return Brand + **/ public Brand emailContent(java.util.List emailContent) { this.emailContent = emailContent; return this; } - + + /** + * addEmailContentItem. + * + * @return Brand + **/ public Brand addEmailContentItem(BrandEmailContent emailContentItem) { + if (this.emailContent == null) { + this.emailContent = new java.util.ArrayList(); + } this.emailContent.add(emailContentItem); return this; } - /** - * + /** + * . * @return emailContent - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getEmailContent() { return emailContent; } + /** + * setEmailContent. + **/ public void setEmailContent(java.util.List emailContent) { this.emailContent = emailContent; } + + /** + * errorDetails. + * + * @return Brand + **/ public Brand errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * isOverridingCompanyName. + * + * @return Brand + **/ public Brand isOverridingCompanyName(String isOverridingCompanyName) { this.isOverridingCompanyName = isOverridingCompanyName; return this; } - /** - * + /** + * . * @return isOverridingCompanyName - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getIsOverridingCompanyName() { return isOverridingCompanyName; } + /** + * setIsOverridingCompanyName. + **/ public void setIsOverridingCompanyName(String isOverridingCompanyName) { this.isOverridingCompanyName = isOverridingCompanyName; } + + /** + * isSendingDefault. + * + * @return Brand + **/ public Brand isSendingDefault(String isSendingDefault) { this.isSendingDefault = isSendingDefault; return this; } - /** - * + /** + * . * @return isSendingDefault - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getIsSendingDefault() { return isSendingDefault; } + /** + * setIsSendingDefault. + **/ public void setIsSendingDefault(String isSendingDefault) { this.isSendingDefault = isSendingDefault; } + + /** + * isSigningDefault. + * + * @return Brand + **/ public Brand isSigningDefault(String isSigningDefault) { this.isSigningDefault = isSigningDefault; return this; } - /** - * + /** + * . * @return isSigningDefault - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getIsSigningDefault() { return isSigningDefault; } + /** + * setIsSigningDefault. + **/ public void setIsSigningDefault(String isSigningDefault) { this.isSigningDefault = isSigningDefault; } + + /** + * landingPages. + * + * @return Brand + **/ public Brand landingPages(java.util.List landingPages) { this.landingPages = landingPages; return this; } - + + /** + * addLandingPagesItem. + * + * @return Brand + **/ public Brand addLandingPagesItem(NameValue landingPagesItem) { + if (this.landingPages == null) { + this.landingPages = new java.util.ArrayList(); + } this.landingPages.add(landingPagesItem); return this; } - /** - * + /** + * . * @return landingPages - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getLandingPages() { return landingPages; } + /** + * setLandingPages. + **/ public void setLandingPages(java.util.List landingPages) { this.landingPages = landingPages; } + + /** + * links. + * + * @return Brand + **/ public Brand links(java.util.List links) { this.links = links; return this; } - + + /** + * addLinksItem. + * + * @return Brand + **/ public Brand addLinksItem(BrandLink linksItem) { + if (this.links == null) { + this.links = new java.util.ArrayList(); + } this.links.add(linksItem); return this; } - /** - * + /** + * . * @return links - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getLinks() { return links; } + /** + * setLinks. + **/ public void setLinks(java.util.List links) { this.links = links; } + + /** + * logos. + * + * @return Brand + **/ public Brand logos(BrandLogos logos) { this.logos = logos; return this; } - /** - * Get logos + /** + * Get logos. * @return logos - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public BrandLogos getLogos() { return logos; } + /** + * setLogos. + **/ public void setLogos(BrandLogos logos) { this.logos = logos; } + + /** + * resources. + * + * @return Brand + **/ public Brand resources(BrandResourceUrls resources) { this.resources = resources; return this; } - /** - * Get resources + /** + * Get resources. * @return resources - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public BrandResourceUrls getResources() { return resources; } + /** + * setResources. + **/ public void setResources(BrandResourceUrls resources) { this.resources = resources; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -335,12 +492,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.resources, brand.resources); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(brandCompany, brandId, brandName, colors, emailContent, errorDetails, isOverridingCompanyName, isSendingDefault, isSigningDefault, landingPages, links, logos, resources); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -373,6 +536,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/BrandEmailContent.java b/src/main/java/com/docusign/esign/model/BrandEmailContent.java index 7bed8c2c..9c0d580f 100644 --- a/src/main/java/com/docusign/esign/model/BrandEmailContent.java +++ b/src/main/java/com/docusign/esign/model/BrandEmailContent.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * BrandEmailContent + * BrandEmailContent. + * */ public class BrandEmailContent { @@ -23,79 +26,120 @@ public class BrandEmailContent { @JsonProperty("linkText") private String linkText = null; + + /** + * content. + * + * @return BrandEmailContent + **/ public BrandEmailContent content(String content) { this.content = content; return this; } - /** - * + /** + * . * @return content - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getContent() { return content; } + /** + * setContent. + **/ public void setContent(String content) { this.content = content; } + + /** + * emailContentType. + * + * @return BrandEmailContent + **/ public BrandEmailContent emailContentType(String emailContentType) { this.emailContentType = emailContentType; return this; } - /** - * + /** + * . * @return emailContentType - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getEmailContentType() { return emailContentType; } + /** + * setEmailContentType. + **/ public void setEmailContentType(String emailContentType) { this.emailContentType = emailContentType; } + + /** + * emailToLink. + * + * @return BrandEmailContent + **/ public BrandEmailContent emailToLink(String emailToLink) { this.emailToLink = emailToLink; return this; } - /** - * + /** + * . * @return emailToLink - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getEmailToLink() { return emailToLink; } + /** + * setEmailToLink. + **/ public void setEmailToLink(String emailToLink) { this.emailToLink = emailToLink; } + + /** + * linkText. + * + * @return BrandEmailContent + **/ public BrandEmailContent linkText(String linkText) { this.linkText = linkText; return this; } - /** - * + /** + * . * @return linkText - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getLinkText() { return linkText; } + /** + * setLinkText. + **/ public void setLinkText(String linkText) { this.linkText = linkText; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -111,12 +155,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.linkText, brandEmailContent.linkText); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(content, emailContentType, emailToLink, linkText); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -140,6 +190,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/BrandLink.java b/src/main/java/com/docusign/esign/model/BrandLink.java index 21819a2a..a5f62352 100644 --- a/src/main/java/com/docusign/esign/model/BrandLink.java +++ b/src/main/java/com/docusign/esign/model/BrandLink.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * BrandLink + * BrandLink. + * */ public class BrandLink { @@ -23,79 +26,120 @@ public class BrandLink { @JsonProperty("urlOrMailTo") private String urlOrMailTo = null; + + /** + * linkText. + * + * @return BrandLink + **/ public BrandLink linkText(String linkText) { this.linkText = linkText; return this; } - /** - * + /** + * . * @return linkText - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getLinkText() { return linkText; } + /** + * setLinkText. + **/ public void setLinkText(String linkText) { this.linkText = linkText; } + + /** + * linkType. + * + * @return BrandLink + **/ public BrandLink linkType(String linkType) { this.linkType = linkType; return this; } - /** - * + /** + * . * @return linkType - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getLinkType() { return linkType; } + /** + * setLinkType. + **/ public void setLinkType(String linkType) { this.linkType = linkType; } + + /** + * showLink. + * + * @return BrandLink + **/ public BrandLink showLink(String showLink) { this.showLink = showLink; return this; } - /** - * + /** + * . * @return showLink - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getShowLink() { return showLink; } + /** + * setShowLink. + **/ public void setShowLink(String showLink) { this.showLink = showLink; } + + /** + * urlOrMailTo. + * + * @return BrandLink + **/ public BrandLink urlOrMailTo(String urlOrMailTo) { this.urlOrMailTo = urlOrMailTo; return this; } - /** - * + /** + * . * @return urlOrMailTo - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getUrlOrMailTo() { return urlOrMailTo; } + /** + * setUrlOrMailTo. + **/ public void setUrlOrMailTo(String urlOrMailTo) { this.urlOrMailTo = urlOrMailTo; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -111,12 +155,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.urlOrMailTo, brandLink.urlOrMailTo); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(linkText, linkType, showLink, urlOrMailTo); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -140,6 +190,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/BrandLogos.java b/src/main/java/com/docusign/esign/model/BrandLogos.java index 091f36c5..da227488 100644 --- a/src/main/java/com/docusign/esign/model/BrandLogos.java +++ b/src/main/java/com/docusign/esign/model/BrandLogos.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * BrandLogos + * BrandLogos. + * */ public class BrandLogos { @@ -20,61 +23,93 @@ public class BrandLogos { @JsonProperty("secondary") private String secondary = null; + + /** + * email. + * + * @return BrandLogos + **/ public BrandLogos email(String email) { this.email = email; return this; } - /** - * + /** + * . * @return email - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getEmail() { return email; } + /** + * setEmail. + **/ public void setEmail(String email) { this.email = email; } + + /** + * primary. + * + * @return BrandLogos + **/ public BrandLogos primary(String primary) { this.primary = primary; return this; } - /** - * + /** + * . * @return primary - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPrimary() { return primary; } + /** + * setPrimary. + **/ public void setPrimary(String primary) { this.primary = primary; } + + /** + * secondary. + * + * @return BrandLogos + **/ public BrandLogos secondary(String secondary) { this.secondary = secondary; return this; } - /** - * + /** + * . * @return secondary - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSecondary() { return secondary; } + /** + * setSecondary. + **/ public void setSecondary(String secondary) { this.secondary = secondary; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -89,12 +124,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.secondary, brandLogos.secondary); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(email, primary, secondary); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -117,6 +158,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/BrandRequest.java b/src/main/java/com/docusign/esign/model/BrandRequest.java index 617b3169..87c3d756 100644 --- a/src/main/java/com/docusign/esign/model/BrandRequest.java +++ b/src/main/java/com/docusign/esign/model/BrandRequest.java @@ -1,38 +1,55 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * BrandRequest + * BrandRequest. + * */ public class BrandRequest { @JsonProperty("brandId") private String brandId = null; + + /** + * brandId. + * + * @return BrandRequest + **/ public BrandRequest brandId(String brandId) { this.brandId = brandId; return this; } - /** - * The ID of the brand used in API calls + /** + * The ID of the brand used in API calls. * @return brandId - **/ - @ApiModelProperty(example = "null", value = "The ID of the brand used in API calls") + **/ + @ApiModelProperty(value = "The ID of the brand used in API calls") public String getBrandId() { return brandId; } + /** + * setBrandId. + **/ public void setBrandId(String brandId) { this.brandId = brandId; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -45,12 +62,18 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.brandId, brandRequest.brandId); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(brandId); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -71,6 +94,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/BrandResourceUrls.java b/src/main/java/com/docusign/esign/model/BrandResourceUrls.java index cc975b71..5da3f34e 100644 --- a/src/main/java/com/docusign/esign/model/BrandResourceUrls.java +++ b/src/main/java/com/docusign/esign/model/BrandResourceUrls.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * BrandResourceUrls + * BrandResourceUrls. + * */ public class BrandResourceUrls { @@ -23,79 +26,120 @@ public class BrandResourceUrls { @JsonProperty("signingCaptive") private String signingCaptive = null; + + /** + * email. + * + * @return BrandResourceUrls + **/ public BrandResourceUrls email(String email) { this.email = email; return this; } - /** - * + /** + * . * @return email - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getEmail() { return email; } + /** + * setEmail. + **/ public void setEmail(String email) { this.email = email; } + + /** + * sending. + * + * @return BrandResourceUrls + **/ public BrandResourceUrls sending(String sending) { this.sending = sending; return this; } - /** - * + /** + * . * @return sending - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSending() { return sending; } + /** + * setSending. + **/ public void setSending(String sending) { this.sending = sending; } + + /** + * signing. + * + * @return BrandResourceUrls + **/ public BrandResourceUrls signing(String signing) { this.signing = signing; return this; } - /** - * + /** + * . * @return signing - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSigning() { return signing; } + /** + * setSigning. + **/ public void setSigning(String signing) { this.signing = signing; } + + /** + * signingCaptive. + * + * @return BrandResourceUrls + **/ public BrandResourceUrls signingCaptive(String signingCaptive) { this.signingCaptive = signingCaptive; return this; } - /** - * + /** + * . * @return signingCaptive - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSigningCaptive() { return signingCaptive; } + /** + * setSigningCaptive. + **/ public void setSigningCaptive(String signingCaptive) { this.signingCaptive = signingCaptive; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -111,12 +155,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.signingCaptive, brandResourceUrls.signingCaptive); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(email, sending, signing, signingCaptive); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -140,6 +190,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/BrandResources.java b/src/main/java/com/docusign/esign/model/BrandResources.java index eac4af12..fdd9edce 100644 --- a/src/main/java/com/docusign/esign/model/BrandResources.java +++ b/src/main/java/com/docusign/esign/model/BrandResources.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.UserInfo; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * BrandResources + * BrandResources. + * */ public class BrandResources { @@ -25,7 +28,7 @@ public class BrandResources { private String modifiedDate = null; @JsonProperty("modifiedTemplates") - private java.util.List modifiedTemplates = new java.util.ArrayList(); + private java.util.List modifiedTemplates = null; @JsonProperty("resourcesContentType") private String resourcesContentType = null; @@ -33,138 +36,214 @@ public class BrandResources { @JsonProperty("resourcesContentUri") private String resourcesContentUri = null; + + /** + * createdByUserInfo. + * + * @return BrandResources + **/ public BrandResources createdByUserInfo(UserInfo createdByUserInfo) { this.createdByUserInfo = createdByUserInfo; return this; } - /** - * Get createdByUserInfo + /** + * Get createdByUserInfo. * @return createdByUserInfo - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public UserInfo getCreatedByUserInfo() { return createdByUserInfo; } + /** + * setCreatedByUserInfo. + **/ public void setCreatedByUserInfo(UserInfo createdByUserInfo) { this.createdByUserInfo = createdByUserInfo; } + + /** + * createdDate. + * + * @return BrandResources + **/ public BrandResources createdDate(String createdDate) { this.createdDate = createdDate; return this; } - /** - * + /** + * . * @return createdDate - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getCreatedDate() { return createdDate; } + /** + * setCreatedDate. + **/ public void setCreatedDate(String createdDate) { this.createdDate = createdDate; } + + /** + * modifiedByUserInfo. + * + * @return BrandResources + **/ public BrandResources modifiedByUserInfo(UserInfo modifiedByUserInfo) { this.modifiedByUserInfo = modifiedByUserInfo; return this; } - /** - * Get modifiedByUserInfo + /** + * Get modifiedByUserInfo. * @return modifiedByUserInfo - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public UserInfo getModifiedByUserInfo() { return modifiedByUserInfo; } + /** + * setModifiedByUserInfo. + **/ public void setModifiedByUserInfo(UserInfo modifiedByUserInfo) { this.modifiedByUserInfo = modifiedByUserInfo; } + + /** + * modifiedDate. + * + * @return BrandResources + **/ public BrandResources modifiedDate(String modifiedDate) { this.modifiedDate = modifiedDate; return this; } - /** - * + /** + * . * @return modifiedDate - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getModifiedDate() { return modifiedDate; } + /** + * setModifiedDate. + **/ public void setModifiedDate(String modifiedDate) { this.modifiedDate = modifiedDate; } + + /** + * modifiedTemplates. + * + * @return BrandResources + **/ public BrandResources modifiedTemplates(java.util.List modifiedTemplates) { this.modifiedTemplates = modifiedTemplates; return this; } - + + /** + * addModifiedTemplatesItem. + * + * @return BrandResources + **/ public BrandResources addModifiedTemplatesItem(String modifiedTemplatesItem) { + if (this.modifiedTemplates == null) { + this.modifiedTemplates = new java.util.ArrayList(); + } this.modifiedTemplates.add(modifiedTemplatesItem); return this; } - /** - * + /** + * . * @return modifiedTemplates - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getModifiedTemplates() { return modifiedTemplates; } + /** + * setModifiedTemplates. + **/ public void setModifiedTemplates(java.util.List modifiedTemplates) { this.modifiedTemplates = modifiedTemplates; } + + /** + * resourcesContentType. + * + * @return BrandResources + **/ public BrandResources resourcesContentType(String resourcesContentType) { this.resourcesContentType = resourcesContentType; return this; } - /** - * + /** + * . * @return resourcesContentType - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getResourcesContentType() { return resourcesContentType; } + /** + * setResourcesContentType. + **/ public void setResourcesContentType(String resourcesContentType) { this.resourcesContentType = resourcesContentType; } + + /** + * resourcesContentUri. + * + * @return BrandResources + **/ public BrandResources resourcesContentUri(String resourcesContentUri) { this.resourcesContentUri = resourcesContentUri; return this; } - /** - * + /** + * . * @return resourcesContentUri - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getResourcesContentUri() { return resourcesContentUri; } + /** + * setResourcesContentUri. + **/ public void setResourcesContentUri(String resourcesContentUri) { this.resourcesContentUri = resourcesContentUri; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -183,12 +262,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.resourcesContentUri, brandResources.resourcesContentUri); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(createdByUserInfo, createdDate, modifiedByUserInfo, modifiedDate, modifiedTemplates, resourcesContentType, resourcesContentUri); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -215,6 +300,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/BrandResourcesList.java b/src/main/java/com/docusign/esign/model/BrandResourcesList.java index f8e94446..524c1b24 100644 --- a/src/main/java/com/docusign/esign/model/BrandResourcesList.java +++ b/src/main/java/com/docusign/esign/model/BrandResourcesList.java @@ -1,44 +1,69 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.BrandResources; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * BrandResourcesList + * BrandResourcesList. + * */ public class BrandResourcesList { @JsonProperty("resourcesContentTypes") - private java.util.List resourcesContentTypes = new java.util.ArrayList(); + private java.util.List resourcesContentTypes = null; + + /** + * resourcesContentTypes. + * + * @return BrandResourcesList + **/ public BrandResourcesList resourcesContentTypes(java.util.List resourcesContentTypes) { this.resourcesContentTypes = resourcesContentTypes; return this; } - + + /** + * addResourcesContentTypesItem. + * + * @return BrandResourcesList + **/ public BrandResourcesList addResourcesContentTypesItem(BrandResources resourcesContentTypesItem) { + if (this.resourcesContentTypes == null) { + this.resourcesContentTypes = new java.util.ArrayList(); + } this.resourcesContentTypes.add(resourcesContentTypesItem); return this; } - /** - * + /** + * . * @return resourcesContentTypes - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getResourcesContentTypes() { return resourcesContentTypes; } + /** + * setResourcesContentTypes. + **/ public void setResourcesContentTypes(java.util.List resourcesContentTypes) { this.resourcesContentTypes = resourcesContentTypes; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -51,12 +76,18 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.resourcesContentTypes, brandResourcesList.resourcesContentTypes); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(resourcesContentTypes); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -77,6 +108,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/BrandsRequest.java b/src/main/java/com/docusign/esign/model/BrandsRequest.java index 329cb0ff..97a72a83 100644 --- a/src/main/java/com/docusign/esign/model/BrandsRequest.java +++ b/src/main/java/com/docusign/esign/model/BrandsRequest.java @@ -1,44 +1,69 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.BrandRequest; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * BrandsRequest + * BrandsRequest. + * */ public class BrandsRequest { @JsonProperty("brands") - private java.util.List brands = new java.util.ArrayList(); + private java.util.List brands = null; + + /** + * brands. + * + * @return BrandsRequest + **/ public BrandsRequest brands(java.util.List brands) { this.brands = brands; return this; } - + + /** + * addBrandsItem. + * + * @return BrandsRequest + **/ public BrandsRequest addBrandsItem(BrandRequest brandsItem) { + if (this.brands == null) { + this.brands = new java.util.ArrayList(); + } this.brands.add(brandsItem); return this; } - /** - * The list of brands. + /** + * The list of brands.. * @return brands - **/ - @ApiModelProperty(example = "null", value = "The list of brands.") + **/ + @ApiModelProperty(value = "The list of brands.") public java.util.List getBrands() { return brands; } + /** + * setBrands. + **/ public void setBrands(java.util.List brands) { this.brands = brands; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -51,12 +76,18 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.brands, brandsRequest.brands); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(brands); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -77,6 +108,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/BrandsResponse.java b/src/main/java/com/docusign/esign/model/BrandsResponse.java index 6ea46ab0..b0915b04 100644 --- a/src/main/java/com/docusign/esign/model/BrandsResponse.java +++ b/src/main/java/com/docusign/esign/model/BrandsResponse.java @@ -1,19 +1,22 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.Brand; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * BrandsResponse + * BrandsResponse. + * */ public class BrandsResponse { @JsonProperty("brands") - private java.util.List brands = new java.util.ArrayList(); + private java.util.List brands = null; @JsonProperty("recipientBrandIdDefault") private String recipientBrandIdDefault = null; @@ -21,66 +24,106 @@ public class BrandsResponse { @JsonProperty("senderBrandIdDefault") private String senderBrandIdDefault = null; + + /** + * brands. + * + * @return BrandsResponse + **/ public BrandsResponse brands(java.util.List brands) { this.brands = brands; return this; } - + + /** + * addBrandsItem. + * + * @return BrandsResponse + **/ public BrandsResponse addBrandsItem(Brand brandsItem) { + if (this.brands == null) { + this.brands = new java.util.ArrayList(); + } this.brands.add(brandsItem); return this; } - /** - * The list of brands. + /** + * The list of brands.. * @return brands - **/ - @ApiModelProperty(example = "null", value = "The list of brands.") + **/ + @ApiModelProperty(value = "The list of brands.") public java.util.List getBrands() { return brands; } + /** + * setBrands. + **/ public void setBrands(java.util.List brands) { this.brands = brands; } + + /** + * recipientBrandIdDefault. + * + * @return BrandsResponse + **/ public BrandsResponse recipientBrandIdDefault(String recipientBrandIdDefault) { this.recipientBrandIdDefault = recipientBrandIdDefault; return this; } - /** - * The brand seen by envelope recipients when a brand is not explicitly set. + /** + * The brand seen by envelope recipients when a brand is not explicitly set.. * @return recipientBrandIdDefault - **/ - @ApiModelProperty(example = "null", value = "The brand seen by envelope recipients when a brand is not explicitly set.") + **/ + @ApiModelProperty(value = "The brand seen by envelope recipients when a brand is not explicitly set.") public String getRecipientBrandIdDefault() { return recipientBrandIdDefault; } + /** + * setRecipientBrandIdDefault. + **/ public void setRecipientBrandIdDefault(String recipientBrandIdDefault) { this.recipientBrandIdDefault = recipientBrandIdDefault; } + + /** + * senderBrandIdDefault. + * + * @return BrandsResponse + **/ public BrandsResponse senderBrandIdDefault(String senderBrandIdDefault) { this.senderBrandIdDefault = senderBrandIdDefault; return this; } - /** - * The brand seen by envelope senders when a brand is not explicitly set. + /** + * The brand seen by envelope senders when a brand is not explicitly set.. * @return senderBrandIdDefault - **/ - @ApiModelProperty(example = "null", value = "The brand seen by envelope senders when a brand is not explicitly set.") + **/ + @ApiModelProperty(value = "The brand seen by envelope senders when a brand is not explicitly set.") public String getSenderBrandIdDefault() { return senderBrandIdDefault; } + /** + * setSenderBrandIdDefault. + **/ public void setSenderBrandIdDefault(String senderBrandIdDefault) { this.senderBrandIdDefault = senderBrandIdDefault; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -95,12 +138,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.senderBrandIdDefault, brandsResponse.senderBrandIdDefault); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(brands, recipientBrandIdDefault, senderBrandIdDefault); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -123,6 +172,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/BulkEnvelope.java b/src/main/java/com/docusign/esign/model/BulkEnvelope.java index fb6d75d9..23a1a97d 100644 --- a/src/main/java/com/docusign/esign/model/BulkEnvelope.java +++ b/src/main/java/com/docusign/esign/model/BulkEnvelope.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ErrorDetails; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * BulkEnvelope + * BulkEnvelope. + * */ public class BulkEnvelope { @@ -39,169 +42,255 @@ public class BulkEnvelope { @JsonProperty("transactionId") private String transactionId = null; + + /** + * bulkRecipientRow. + * + * @return BulkEnvelope + **/ public BulkEnvelope bulkRecipientRow(String bulkRecipientRow) { this.bulkRecipientRow = bulkRecipientRow; return this; } - /** - * Reserved: TBD + /** + * Reserved: TBD. * @return bulkRecipientRow - **/ - @ApiModelProperty(example = "null", value = "Reserved: TBD") + **/ + @ApiModelProperty(value = "Reserved: TBD") public String getBulkRecipientRow() { return bulkRecipientRow; } + /** + * setBulkRecipientRow. + **/ public void setBulkRecipientRow(String bulkRecipientRow) { this.bulkRecipientRow = bulkRecipientRow; } + + /** + * bulkStatus. + * + * @return BulkEnvelope + **/ public BulkEnvelope bulkStatus(String bulkStatus) { this.bulkStatus = bulkStatus; return this; } - /** - * Indicates the status of the bulk send operation. Returned values can be: * queued * processing * sent * failed + /** + * Indicates the status of the bulk send operation. Returned values can be: * queued * processing * sent * failed. * @return bulkStatus - **/ - @ApiModelProperty(example = "null", value = "Indicates the status of the bulk send operation. Returned values can be: * queued * processing * sent * failed") + **/ + @ApiModelProperty(value = "Indicates the status of the bulk send operation. Returned values can be: * queued * processing * sent * failed") public String getBulkStatus() { return bulkStatus; } + /** + * setBulkStatus. + **/ public void setBulkStatus(String bulkStatus) { this.bulkStatus = bulkStatus; } + + /** + * email. + * + * @return BulkEnvelope + **/ public BulkEnvelope email(String email) { this.email = email; return this; } - /** - * + /** + * . * @return email - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getEmail() { return email; } + /** + * setEmail. + **/ public void setEmail(String email) { this.email = email; } + + /** + * envelopeId. + * + * @return BulkEnvelope + **/ public BulkEnvelope envelopeId(String envelopeId) { this.envelopeId = envelopeId; return this; } - /** - * The envelope ID of the envelope status that failed to post. + /** + * The envelope ID of the envelope status that failed to post.. * @return envelopeId - **/ - @ApiModelProperty(example = "null", value = "The envelope ID of the envelope status that failed to post.") + **/ + @ApiModelProperty(value = "The envelope ID of the envelope status that failed to post.") public String getEnvelopeId() { return envelopeId; } + /** + * setEnvelopeId. + **/ public void setEnvelopeId(String envelopeId) { this.envelopeId = envelopeId; } + + /** + * envelopeUri. + * + * @return BulkEnvelope + **/ public BulkEnvelope envelopeUri(String envelopeUri) { this.envelopeUri = envelopeUri; return this; } - /** - * Contains a URI for an endpoint that you can use to retrieve the envelope or envelopes. + /** + * Contains a URI for an endpoint that you can use to retrieve the envelope or envelopes.. * @return envelopeUri - **/ - @ApiModelProperty(example = "null", value = "Contains a URI for an endpoint that you can use to retrieve the envelope or envelopes.") + **/ + @ApiModelProperty(value = "Contains a URI for an endpoint that you can use to retrieve the envelope or envelopes.") public String getEnvelopeUri() { return envelopeUri; } + /** + * setEnvelopeUri. + **/ public void setEnvelopeUri(String envelopeUri) { this.envelopeUri = envelopeUri; } + + /** + * errorDetails. + * + * @return BulkEnvelope + **/ public BulkEnvelope errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * name. + * + * @return BulkEnvelope + **/ public BulkEnvelope name(String name) { this.name = name; return this; } - /** - * + /** + * . * @return name - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * submittedDateTime. + * + * @return BulkEnvelope + **/ public BulkEnvelope submittedDateTime(String submittedDateTime) { this.submittedDateTime = submittedDateTime; return this; } - /** - * + /** + * . * @return submittedDateTime - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSubmittedDateTime() { return submittedDateTime; } + /** + * setSubmittedDateTime. + **/ public void setSubmittedDateTime(String submittedDateTime) { this.submittedDateTime = submittedDateTime; } + + /** + * transactionId. + * + * @return BulkEnvelope + **/ public BulkEnvelope transactionId(String transactionId) { this.transactionId = transactionId; return this; } - /** - * Used to identify an envelope. The id is a sender-generated value and is valid in the DocuSign system for 7 days. It is recommended that a transaction ID is used for offline signing to ensure that an envelope is not sent multiple times. The `transactionId` property can be used determine an envelope's status (i.e. was it created or not) in cases where the internet connection was lost before the envelope status was returned. + /** + * Used to identify an envelope. The id is a sender-generated value and is valid in the DocuSign system for 7 days. It is recommended that a transaction ID is used for offline signing to ensure that an envelope is not sent multiple times. The `transactionId` property can be used determine an envelope's status (i.e. was it created or not) in cases where the internet connection was lost before the envelope status was returned.. * @return transactionId - **/ - @ApiModelProperty(example = "null", value = " Used to identify an envelope. The id is a sender-generated value and is valid in the DocuSign system for 7 days. It is recommended that a transaction ID is used for offline signing to ensure that an envelope is not sent multiple times. The `transactionId` property can be used determine an envelope's status (i.e. was it created or not) in cases where the internet connection was lost before the envelope status was returned.") + **/ + @ApiModelProperty(value = " Used to identify an envelope. The id is a sender-generated value and is valid in the DocuSign system for 7 days. It is recommended that a transaction ID is used for offline signing to ensure that an envelope is not sent multiple times. The `transactionId` property can be used determine an envelope's status (i.e. was it created or not) in cases where the internet connection was lost before the envelope status was returned.") public String getTransactionId() { return transactionId; } + /** + * setTransactionId. + **/ public void setTransactionId(String transactionId) { this.transactionId = transactionId; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -222,12 +311,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.transactionId, bulkEnvelope.transactionId); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(bulkRecipientRow, bulkStatus, email, envelopeId, envelopeUri, errorDetails, name, submittedDateTime, transactionId); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -256,6 +351,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/BulkEnvelopeStatus.java b/src/main/java/com/docusign/esign/model/BulkEnvelopeStatus.java index bc2046d2..8b0768aa 100644 --- a/src/main/java/com/docusign/esign/model/BulkEnvelopeStatus.java +++ b/src/main/java/com/docusign/esign/model/BulkEnvelopeStatus.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.BulkEnvelope; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * BulkEnvelopeStatus + * BulkEnvelopeStatus. + * */ public class BulkEnvelopeStatus { @@ -19,7 +22,7 @@ public class BulkEnvelopeStatus { private String batchSize = null; @JsonProperty("bulkEnvelopes") - private java.util.List bulkEnvelopes = new java.util.ArrayList(); + private java.util.List bulkEnvelopes = null; @JsonProperty("bulkEnvelopesBatchUri") private String bulkEnvelopesBatchUri = null; @@ -54,264 +57,403 @@ public class BulkEnvelopeStatus { @JsonProperty("totalSetSize") private String totalSetSize = null; + + /** + * batchId. + * + * @return BulkEnvelopeStatus + **/ public BulkEnvelopeStatus batchId(String batchId) { this.batchId = batchId; return this; } - /** - * Specifies an identifier which can be used to retrieve a more detailed status of individual bulk recipient batches. + /** + * Specifies an identifier which can be used to retrieve a more detailed status of individual bulk recipient batches.. * @return batchId - **/ - @ApiModelProperty(example = "null", value = "Specifies an identifier which can be used to retrieve a more detailed status of individual bulk recipient batches.") + **/ + @ApiModelProperty(value = "Specifies an identifier which can be used to retrieve a more detailed status of individual bulk recipient batches.") public String getBatchId() { return batchId; } + /** + * setBatchId. + **/ public void setBatchId(String batchId) { this.batchId = batchId; } + + /** + * batchSize. + * + * @return BulkEnvelopeStatus + **/ public BulkEnvelopeStatus batchSize(String batchSize) { this.batchSize = batchSize; return this; } - /** - * The number of items returned in this response. + /** + * The number of items returned in this response.. * @return batchSize - **/ - @ApiModelProperty(example = "null", value = "The number of items returned in this response.") + **/ + @ApiModelProperty(value = "The number of items returned in this response.") public String getBatchSize() { return batchSize; } + /** + * setBatchSize. + **/ public void setBatchSize(String batchSize) { this.batchSize = batchSize; } + + /** + * bulkEnvelopes. + * + * @return BulkEnvelopeStatus + **/ public BulkEnvelopeStatus bulkEnvelopes(java.util.List bulkEnvelopes) { this.bulkEnvelopes = bulkEnvelopes; return this; } - + + /** + * addBulkEnvelopesItem. + * + * @return BulkEnvelopeStatus + **/ public BulkEnvelopeStatus addBulkEnvelopesItem(BulkEnvelope bulkEnvelopesItem) { + if (this.bulkEnvelopes == null) { + this.bulkEnvelopes = new java.util.ArrayList(); + } this.bulkEnvelopes.add(bulkEnvelopesItem); return this; } - /** - * Reserved: TBD + /** + * Reserved: TBD. * @return bulkEnvelopes - **/ - @ApiModelProperty(example = "null", value = "Reserved: TBD") + **/ + @ApiModelProperty(value = "Reserved: TBD") public java.util.List getBulkEnvelopes() { return bulkEnvelopes; } + /** + * setBulkEnvelopes. + **/ public void setBulkEnvelopes(java.util.List bulkEnvelopes) { this.bulkEnvelopes = bulkEnvelopes; } + + /** + * bulkEnvelopesBatchUri. + * + * @return BulkEnvelopeStatus + **/ public BulkEnvelopeStatus bulkEnvelopesBatchUri(String bulkEnvelopesBatchUri) { this.bulkEnvelopesBatchUri = bulkEnvelopesBatchUri; return this; } - /** - * Reserved: TBD + /** + * Reserved: TBD. * @return bulkEnvelopesBatchUri - **/ - @ApiModelProperty(example = "null", value = "Reserved: TBD") + **/ + @ApiModelProperty(value = "Reserved: TBD") public String getBulkEnvelopesBatchUri() { return bulkEnvelopesBatchUri; } + /** + * setBulkEnvelopesBatchUri. + **/ public void setBulkEnvelopesBatchUri(String bulkEnvelopesBatchUri) { this.bulkEnvelopesBatchUri = bulkEnvelopesBatchUri; } + + /** + * endPosition. + * + * @return BulkEnvelopeStatus + **/ public BulkEnvelopeStatus endPosition(String endPosition) { this.endPosition = endPosition; return this; } - /** - * The last position in the result set. + /** + * The last position in the result set. . * @return endPosition - **/ - @ApiModelProperty(example = "null", value = "The last position in the result set. ") + **/ + @ApiModelProperty(value = "The last position in the result set. ") public String getEndPosition() { return endPosition; } + /** + * setEndPosition. + **/ public void setEndPosition(String endPosition) { this.endPosition = endPosition; } + + /** + * failed. + * + * @return BulkEnvelopeStatus + **/ public BulkEnvelopeStatus failed(String failed) { this.failed = failed; return this; } - /** - * The number of entries with a status of failed. + /** + * The number of entries with a status of failed. . * @return failed - **/ - @ApiModelProperty(example = "null", value = "The number of entries with a status of failed. ") + **/ + @ApiModelProperty(value = "The number of entries with a status of failed. ") public String getFailed() { return failed; } + /** + * setFailed. + **/ public void setFailed(String failed) { this.failed = failed; } + + /** + * nextUri. + * + * @return BulkEnvelopeStatus + **/ public BulkEnvelopeStatus nextUri(String nextUri) { this.nextUri = nextUri; return this; } - /** - * The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. + /** + * The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. . * @return nextUri - **/ - @ApiModelProperty(example = "null", value = "The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. ") + **/ + @ApiModelProperty(value = "The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. ") public String getNextUri() { return nextUri; } + /** + * setNextUri. + **/ public void setNextUri(String nextUri) { this.nextUri = nextUri; } + + /** + * previousUri. + * + * @return BulkEnvelopeStatus + **/ public BulkEnvelopeStatus previousUri(String previousUri) { this.previousUri = previousUri; return this; } - /** - * The postal code for the billing address. + /** + * The postal code for the billing address.. * @return previousUri - **/ - @ApiModelProperty(example = "null", value = "The postal code for the billing address.") + **/ + @ApiModelProperty(value = "The postal code for the billing address.") public String getPreviousUri() { return previousUri; } + /** + * setPreviousUri. + **/ public void setPreviousUri(String previousUri) { this.previousUri = previousUri; } + + /** + * queued. + * + * @return BulkEnvelopeStatus + **/ public BulkEnvelopeStatus queued(String queued) { this.queued = queued; return this; } - /** - * The number of entries with a status of queued. + /** + * The number of entries with a status of queued. . * @return queued - **/ - @ApiModelProperty(example = "null", value = "The number of entries with a status of queued. ") + **/ + @ApiModelProperty(value = "The number of entries with a status of queued. ") public String getQueued() { return queued; } + /** + * setQueued. + **/ public void setQueued(String queued) { this.queued = queued; } + + /** + * resultSetSize. + * + * @return BulkEnvelopeStatus + **/ public BulkEnvelopeStatus resultSetSize(String resultSetSize) { this.resultSetSize = resultSetSize; return this; } - /** - * The number of results returned in this response. + /** + * The number of results returned in this response. . * @return resultSetSize - **/ - @ApiModelProperty(example = "null", value = "The number of results returned in this response. ") + **/ + @ApiModelProperty(value = "The number of results returned in this response. ") public String getResultSetSize() { return resultSetSize; } + /** + * setResultSetSize. + **/ public void setResultSetSize(String resultSetSize) { this.resultSetSize = resultSetSize; } + + /** + * sent. + * + * @return BulkEnvelopeStatus + **/ public BulkEnvelopeStatus sent(String sent) { this.sent = sent; return this; } - /** - * The number of entries with a status of sent. + /** + * The number of entries with a status of sent.. * @return sent - **/ - @ApiModelProperty(example = "null", value = "The number of entries with a status of sent.") + **/ + @ApiModelProperty(value = "The number of entries with a status of sent.") public String getSent() { return sent; } + /** + * setSent. + **/ public void setSent(String sent) { this.sent = sent; } + + /** + * startPosition. + * + * @return BulkEnvelopeStatus + **/ public BulkEnvelopeStatus startPosition(String startPosition) { this.startPosition = startPosition; return this; } - /** - * Starting position of the current result set. + /** + * Starting position of the current result set.. * @return startPosition - **/ - @ApiModelProperty(example = "null", value = "Starting position of the current result set.") + **/ + @ApiModelProperty(value = "Starting position of the current result set.") public String getStartPosition() { return startPosition; } + /** + * setStartPosition. + **/ public void setStartPosition(String startPosition) { this.startPosition = startPosition; } + + /** + * submittedDate. + * + * @return BulkEnvelopeStatus + **/ public BulkEnvelopeStatus submittedDate(String submittedDate) { this.submittedDate = submittedDate; return this; } - /** - * + /** + * . * @return submittedDate - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSubmittedDate() { return submittedDate; } + /** + * setSubmittedDate. + **/ public void setSubmittedDate(String submittedDate) { this.submittedDate = submittedDate; } + + /** + * totalSetSize. + * + * @return BulkEnvelopeStatus + **/ public BulkEnvelopeStatus totalSetSize(String totalSetSize) { this.totalSetSize = totalSetSize; return this; } - /** - * The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response. + /** + * The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.. * @return totalSetSize - **/ - @ApiModelProperty(example = "null", value = "The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.") + **/ + @ApiModelProperty(value = "The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.") public String getTotalSetSize() { return totalSetSize; } + /** + * setTotalSetSize. + **/ public void setTotalSetSize(String totalSetSize) { this.totalSetSize = totalSetSize; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -337,12 +479,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.totalSetSize, bulkEnvelopeStatus.totalSetSize); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(batchId, batchSize, bulkEnvelopes, bulkEnvelopesBatchUri, endPosition, failed, nextUri, previousUri, queued, resultSetSize, sent, startPosition, submittedDate, totalSetSize); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -376,6 +524,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/BulkEnvelopesResponse.java b/src/main/java/com/docusign/esign/model/BulkEnvelopesResponse.java index 56a4ec1e..fa6d12c4 100644 --- a/src/main/java/com/docusign/esign/model/BulkEnvelopesResponse.java +++ b/src/main/java/com/docusign/esign/model/BulkEnvelopesResponse.java @@ -1,9 +1,11 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.BulkEnvelopeStatus; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; @@ -13,7 +15,7 @@ public class BulkEnvelopesResponse { @JsonProperty("bulkEnvelopeStatuses") - private java.util.List bulkEnvelopeStatuses = new java.util.ArrayList(); + private java.util.List bulkEnvelopeStatuses = null; @JsonProperty("endPosition") private String endPosition = null; @@ -39,6 +41,9 @@ public BulkEnvelopesResponse bulkEnvelopeStatuses(java.util.List(); + } this.bulkEnvelopeStatuses.add(bulkEnvelopeStatusesItem); return this; } @@ -47,7 +52,7 @@ public BulkEnvelopesResponse addBulkEnvelopeStatusesItem(BulkEnvelopeStatus bulk * Reserved: TBD * @return bulkEnvelopeStatuses **/ - @ApiModelProperty(example = "null", value = "Reserved: TBD") + @ApiModelProperty(value = "Reserved: TBD") public java.util.List getBulkEnvelopeStatuses() { return bulkEnvelopeStatuses; } @@ -65,7 +70,7 @@ public BulkEnvelopesResponse endPosition(String endPosition) { * The last position in the result set. * @return endPosition **/ - @ApiModelProperty(example = "null", value = "The last position in the result set. ") + @ApiModelProperty(value = "The last position in the result set. ") public String getEndPosition() { return endPosition; } @@ -83,7 +88,7 @@ public BulkEnvelopesResponse nextUri(String nextUri) { * The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. * @return nextUri **/ - @ApiModelProperty(example = "null", value = "The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. ") + @ApiModelProperty(value = "The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. ") public String getNextUri() { return nextUri; } @@ -101,7 +106,7 @@ public BulkEnvelopesResponse previousUri(String previousUri) { * The postal code for the billing address. * @return previousUri **/ - @ApiModelProperty(example = "null", value = "The postal code for the billing address.") + @ApiModelProperty(value = "The postal code for the billing address.") public String getPreviousUri() { return previousUri; } @@ -119,7 +124,7 @@ public BulkEnvelopesResponse resultSetSize(String resultSetSize) { * The number of results returned in this response. * @return resultSetSize **/ - @ApiModelProperty(example = "null", value = "The number of results returned in this response. ") + @ApiModelProperty(value = "The number of results returned in this response. ") public String getResultSetSize() { return resultSetSize; } @@ -137,7 +142,7 @@ public BulkEnvelopesResponse startPosition(String startPosition) { * Starting position of the current result set. * @return startPosition **/ - @ApiModelProperty(example = "null", value = "Starting position of the current result set.") + @ApiModelProperty(value = "Starting position of the current result set.") public String getStartPosition() { return startPosition; } @@ -155,7 +160,7 @@ public BulkEnvelopesResponse totalSetSize(String totalSetSize) { * The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response. * @return totalSetSize **/ - @ApiModelProperty(example = "null", value = "The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.") + @ApiModelProperty(value = "The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.") public String getTotalSetSize() { return totalSetSize; } @@ -215,6 +220,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/BulkRecipient.java b/src/main/java/com/docusign/esign/model/BulkRecipient.java index af26a906..538eacc7 100644 --- a/src/main/java/com/docusign/esign/model/BulkRecipient.java +++ b/src/main/java/com/docusign/esign/model/BulkRecipient.java @@ -1,16 +1,19 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.BulkRecipientSignatureProvider; import com.docusign.esign.model.BulkRecipientTabLabel; import com.docusign.esign.model.ErrorDetails; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * BulkRecipient + * BulkRecipient. + * */ public class BulkRecipient { @@ -21,7 +24,7 @@ public class BulkRecipient { private String email = null; @JsonProperty("errorDetails") - private java.util.List errorDetails = new java.util.ArrayList(); + private java.util.List errorDetails = null; @JsonProperty("identification") private String identification = null; @@ -36,210 +39,329 @@ public class BulkRecipient { private String phoneNumber = null; @JsonProperty("recipientSignatureProviderInfo") - private java.util.List recipientSignatureProviderInfo = new java.util.ArrayList(); + private java.util.List recipientSignatureProviderInfo = null; @JsonProperty("rowNumber") private String rowNumber = null; @JsonProperty("tabLabels") - private java.util.List tabLabels = new java.util.ArrayList(); + private java.util.List tabLabels = null; + + /** + * accessCode. + * + * @return BulkRecipient + **/ public BulkRecipient accessCode(String accessCode) { this.accessCode = accessCode; return this; } - /** - * If a value is provided, the recipient must enter the value as the access code to view and sign the envelope. Maximum Length: 50 characters and it must conform to the account's access code format setting. If blank, but the signer `accessCode` property is set in the envelope, then that value is used. If blank and the signer `accessCode` property is not set, then the access code is not required. + /** + * If a value is provided, the recipient must enter the value as the access code to view and sign the envelope. Maximum Length: 50 characters and it must conform to the account's access code format setting. If blank, but the signer `accessCode` property is set in the envelope, then that value is used. If blank and the signer `accessCode` property is not set, then the access code is not required.. * @return accessCode - **/ - @ApiModelProperty(example = "null", value = "If a value is provided, the recipient must enter the value as the access code to view and sign the envelope. Maximum Length: 50 characters and it must conform to the account's access code format setting. If blank, but the signer `accessCode` property is set in the envelope, then that value is used. If blank and the signer `accessCode` property is not set, then the access code is not required.") + **/ + @ApiModelProperty(value = "If a value is provided, the recipient must enter the value as the access code to view and sign the envelope. Maximum Length: 50 characters and it must conform to the account's access code format setting. If blank, but the signer `accessCode` property is set in the envelope, then that value is used. If blank and the signer `accessCode` property is not set, then the access code is not required.") public String getAccessCode() { return accessCode; } + /** + * setAccessCode. + **/ public void setAccessCode(String accessCode) { this.accessCode = accessCode; } + + /** + * email. + * + * @return BulkRecipient + **/ public BulkRecipient email(String email) { this.email = email; return this; } - /** - * Specifies the recipient's email address. Maximum length: 100 characters. + /** + * Specifies the recipient's email address. Maximum length: 100 characters.. * @return email - **/ - @ApiModelProperty(example = "null", value = "Specifies the recipient's email address. Maximum length: 100 characters.") + **/ + @ApiModelProperty(value = "Specifies the recipient's email address. Maximum length: 100 characters.") public String getEmail() { return email; } + /** + * setEmail. + **/ public void setEmail(String email) { this.email = email; } + + /** + * errorDetails. + * + * @return BulkRecipient + **/ public BulkRecipient errorDetails(java.util.List errorDetails) { this.errorDetails = errorDetails; return this; } - + + /** + * addErrorDetailsItem. + * + * @return BulkRecipient + **/ public BulkRecipient addErrorDetailsItem(ErrorDetails errorDetailsItem) { + if (this.errorDetails == null) { + this.errorDetails = new java.util.ArrayList(); + } this.errorDetails.add(errorDetailsItem); return this; } - /** - * Array or errors. + /** + * Array or errors.. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "Array or errors.") + **/ + @ApiModelProperty(value = "Array or errors.") public java.util.List getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(java.util.List errorDetails) { this.errorDetails = errorDetails; } + + /** + * identification. + * + * @return BulkRecipient + **/ public BulkRecipient identification(String identification) { this.identification = identification; return this; } - /** - * Specifies the authentication check used for the signer. If blank then no authentication check is required for the signer. Only one value can be used in this field. The acceptable values are: * KBA: Enables the normal ID check authentication set up for your account. * Phone: Enables phone authentication. * SMS: Enables SMS authentication. + /** + * Specifies the authentication check used for the signer. If blank then no authentication check is required for the signer. Only one value can be used in this field. The acceptable values are: * KBA: Enables the normal ID check authentication set up for your account. * Phone: Enables phone authentication. * SMS: Enables SMS authentication.. * @return identification - **/ - @ApiModelProperty(example = "null", value = "Specifies the authentication check used for the signer. If blank then no authentication check is required for the signer. Only one value can be used in this field. The acceptable values are: * KBA: Enables the normal ID check authentication set up for your account. * Phone: Enables phone authentication. * SMS: Enables SMS authentication.") + **/ + @ApiModelProperty(value = "Specifies the authentication check used for the signer. If blank then no authentication check is required for the signer. Only one value can be used in this field. The acceptable values are: * KBA: Enables the normal ID check authentication set up for your account. * Phone: Enables phone authentication. * SMS: Enables SMS authentication.") public String getIdentification() { return identification; } + /** + * setIdentification. + **/ public void setIdentification(String identification) { this.identification = identification; } + + /** + * name. + * + * @return BulkRecipient + **/ public BulkRecipient name(String name) { this.name = name; return this; } - /** - * Specifies the recipient's name. Maximum length: 50 characters. + /** + * Specifies the recipient's name. Maximum length: 50 characters.. * @return name - **/ - @ApiModelProperty(example = "null", value = "Specifies the recipient's name. Maximum length: 50 characters.") + **/ + @ApiModelProperty(value = "Specifies the recipient's name. Maximum length: 50 characters.") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * note. + * + * @return BulkRecipient + **/ public BulkRecipient note(String note) { this.note = note; return this; } - /** - * Specifies a note that is unique to this recipient. This note is sent to the recipient via the signing email. The note displays in the signing UI near the upper left corner of the document on the signing screen. Maximum Length: 1000 characters. + /** + * Specifies a note that is unique to this recipient. This note is sent to the recipient via the signing email. The note displays in the signing UI near the upper left corner of the document on the signing screen. Maximum Length: 1000 characters.. * @return note - **/ - @ApiModelProperty(example = "null", value = "Specifies a note that is unique to this recipient. This note is sent to the recipient via the signing email. The note displays in the signing UI near the upper left corner of the document on the signing screen. Maximum Length: 1000 characters.") + **/ + @ApiModelProperty(value = "Specifies a note that is unique to this recipient. This note is sent to the recipient via the signing email. The note displays in the signing UI near the upper left corner of the document on the signing screen. Maximum Length: 1000 characters.") public String getNote() { return note; } + /** + * setNote. + **/ public void setNote(String note) { this.note = note; } + + /** + * phoneNumber. + * + * @return BulkRecipient + **/ public BulkRecipient phoneNumber(String phoneNumber) { this.phoneNumber = phoneNumber; return this; } - /** - * This is only used if the Identification field value is Phone or SMS. The value for this field can be a valid telephone number or, if Phone, usersupplied (SMS authentication cannot use a user supplied number). Parenthesis and dashes can be used in the telephone number. If `usersupplied` is used, the signer supplies his or her own telephone number. + /** + * This is only used if the Identification field value is Phone or SMS. The value for this field can be a valid telephone number or, if Phone, usersupplied (SMS authentication cannot use a user supplied number). Parenthesis and dashes can be used in the telephone number. If `usersupplied` is used, the signer supplies his or her own telephone number.. * @return phoneNumber - **/ - @ApiModelProperty(example = "null", value = "This is only used if the Identification field value is Phone or SMS. The value for this field can be a valid telephone number or, if Phone, usersupplied (SMS authentication cannot use a user supplied number). Parenthesis and dashes can be used in the telephone number. If `usersupplied` is used, the signer supplies his or her own telephone number.") + **/ + @ApiModelProperty(value = "This is only used if the Identification field value is Phone or SMS. The value for this field can be a valid telephone number or, if Phone, usersupplied (SMS authentication cannot use a user supplied number). Parenthesis and dashes can be used in the telephone number. If `usersupplied` is used, the signer supplies his or her own telephone number.") public String getPhoneNumber() { return phoneNumber; } + /** + * setPhoneNumber. + **/ public void setPhoneNumber(String phoneNumber) { this.phoneNumber = phoneNumber; } + + /** + * recipientSignatureProviderInfo. + * + * @return BulkRecipient + **/ public BulkRecipient recipientSignatureProviderInfo(java.util.List recipientSignatureProviderInfo) { this.recipientSignatureProviderInfo = recipientSignatureProviderInfo; return this; } - + + /** + * addRecipientSignatureProviderInfoItem. + * + * @return BulkRecipient + **/ public BulkRecipient addRecipientSignatureProviderInfoItem(BulkRecipientSignatureProvider recipientSignatureProviderInfoItem) { + if (this.recipientSignatureProviderInfo == null) { + this.recipientSignatureProviderInfo = new java.util.ArrayList(); + } this.recipientSignatureProviderInfo.add(recipientSignatureProviderInfoItem); return this; } - /** - * + /** + * . * @return recipientSignatureProviderInfo - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getRecipientSignatureProviderInfo() { return recipientSignatureProviderInfo; } + /** + * setRecipientSignatureProviderInfo. + **/ public void setRecipientSignatureProviderInfo(java.util.List recipientSignatureProviderInfo) { this.recipientSignatureProviderInfo = recipientSignatureProviderInfo; } + + /** + * rowNumber. + * + * @return BulkRecipient + **/ public BulkRecipient rowNumber(String rowNumber) { this.rowNumber = rowNumber; return this; } - /** - * + /** + * . * @return rowNumber - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getRowNumber() { return rowNumber; } + /** + * setRowNumber. + **/ public void setRowNumber(String rowNumber) { this.rowNumber = rowNumber; } + + /** + * tabLabels. + * + * @return BulkRecipient + **/ public BulkRecipient tabLabels(java.util.List tabLabels) { this.tabLabels = tabLabels; return this; } - + + /** + * addTabLabelsItem. + * + * @return BulkRecipient + **/ public BulkRecipient addTabLabelsItem(BulkRecipientTabLabel tabLabelsItem) { + if (this.tabLabels == null) { + this.tabLabels = new java.util.ArrayList(); + } this.tabLabels.add(tabLabelsItem); return this; } - /** - * Specifies values used to populate recipient tabs with information. This allows each bulk recipient signer to have different values for their associated tabs. Any number of `tabLabel` columns can be added to the bulk recipient file. The information used in the bulk recipient file header must be the same as the `tabLabel` for the tab. The values entered in this column are automatically inserted into the corresponding tab for the recipient in the same row. Note that this option cannot be used for tabs that do not have data or that are automatically populated data such as Signature, Full Name, Email Address, Company, Title, and Date Signed tabs. + /** + * Specifies values used to populate recipient tabs with information. This allows each bulk recipient signer to have different values for their associated tabs. Any number of `tabLabel` columns can be added to the bulk recipient file. The information used in the bulk recipient file header must be the same as the `tabLabel` for the tab. The values entered in this column are automatically inserted into the corresponding tab for the recipient in the same row. Note that this option cannot be used for tabs that do not have data or that are automatically populated data such as Signature, Full Name, Email Address, Company, Title, and Date Signed tabs.. * @return tabLabels - **/ - @ApiModelProperty(example = "null", value = "Specifies values used to populate recipient tabs with information. This allows each bulk recipient signer to have different values for their associated tabs. Any number of `tabLabel` columns can be added to the bulk recipient file. The information used in the bulk recipient file header must be the same as the `tabLabel` for the tab. The values entered in this column are automatically inserted into the corresponding tab for the recipient in the same row. Note that this option cannot be used for tabs that do not have data or that are automatically populated data such as Signature, Full Name, Email Address, Company, Title, and Date Signed tabs.") + **/ + @ApiModelProperty(value = "Specifies values used to populate recipient tabs with information. This allows each bulk recipient signer to have different values for their associated tabs. Any number of `tabLabel` columns can be added to the bulk recipient file. The information used in the bulk recipient file header must be the same as the `tabLabel` for the tab. The values entered in this column are automatically inserted into the corresponding tab for the recipient in the same row. Note that this option cannot be used for tabs that do not have data or that are automatically populated data such as Signature, Full Name, Email Address, Company, Title, and Date Signed tabs.") public java.util.List getTabLabels() { return tabLabels; } + /** + * setTabLabels. + **/ public void setTabLabels(java.util.List tabLabels) { this.tabLabels = tabLabels; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -261,12 +383,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.tabLabels, bulkRecipient.tabLabels); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(accessCode, email, errorDetails, identification, name, note, phoneNumber, recipientSignatureProviderInfo, rowNumber, tabLabels); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -296,6 +424,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/BulkRecipientSignatureProvider.java b/src/main/java/com/docusign/esign/model/BulkRecipientSignatureProvider.java index c745332d..ed530b14 100644 --- a/src/main/java/com/docusign/esign/model/BulkRecipientSignatureProvider.java +++ b/src/main/java/com/docusign/esign/model/BulkRecipientSignatureProvider.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * BulkRecipientSignatureProvider + * BulkRecipientSignatureProvider. + * */ public class BulkRecipientSignatureProvider { @@ -17,43 +20,66 @@ public class BulkRecipientSignatureProvider { @JsonProperty("value") private String value = null; + + /** + * name. + * + * @return BulkRecipientSignatureProvider + **/ public BulkRecipientSignatureProvider name(String name) { this.name = name; return this; } - /** - * + /** + * . * @return name - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * value. + * + * @return BulkRecipientSignatureProvider + **/ public BulkRecipientSignatureProvider value(String value) { this.value = value; return this; } - /** - * Specifies the value of the tab. + /** + * Specifies the value of the tab. . * @return value - **/ - @ApiModelProperty(example = "null", value = "Specifies the value of the tab. ") + **/ + @ApiModelProperty(value = "Specifies the value of the tab. ") public String getValue() { return value; } + /** + * setValue. + **/ public void setValue(String value) { this.value = value; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -67,12 +93,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.value, bulkRecipientSignatureProvider.value); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(name, value); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -94,6 +126,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/BulkRecipientTabLabel.java b/src/main/java/com/docusign/esign/model/BulkRecipientTabLabel.java index d7c9ea10..2e9bef66 100644 --- a/src/main/java/com/docusign/esign/model/BulkRecipientTabLabel.java +++ b/src/main/java/com/docusign/esign/model/BulkRecipientTabLabel.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * BulkRecipientTabLabel + * BulkRecipientTabLabel. + * */ public class BulkRecipientTabLabel { @@ -17,43 +20,66 @@ public class BulkRecipientTabLabel { @JsonProperty("value") private String value = null; + + /** + * name. + * + * @return BulkRecipientTabLabel + **/ public BulkRecipientTabLabel name(String name) { this.name = name; return this; } - /** - * + /** + * . * @return name - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * value. + * + * @return BulkRecipientTabLabel + **/ public BulkRecipientTabLabel value(String value) { this.value = value; return this; } - /** - * Specifies the value of the tab. + /** + * Specifies the value of the tab. . * @return value - **/ - @ApiModelProperty(example = "null", value = "Specifies the value of the tab. ") + **/ + @ApiModelProperty(value = "Specifies the value of the tab. ") public String getValue() { return value; } + /** + * setValue. + **/ public void setValue(String value) { this.value = value; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -67,12 +93,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.value, bulkRecipientTabLabel.value); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(name, value); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -94,6 +126,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/BulkRecipientsRequest.java b/src/main/java/com/docusign/esign/model/BulkRecipientsRequest.java index 4d4649fb..428b3e49 100644 --- a/src/main/java/com/docusign/esign/model/BulkRecipientsRequest.java +++ b/src/main/java/com/docusign/esign/model/BulkRecipientsRequest.java @@ -1,44 +1,69 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.BulkRecipient; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * BulkRecipientsRequest + * BulkRecipientsRequest. + * */ public class BulkRecipientsRequest { @JsonProperty("bulkRecipients") - private java.util.List bulkRecipients = new java.util.ArrayList(); + private java.util.List bulkRecipients = null; + + /** + * bulkRecipients. + * + * @return BulkRecipientsRequest + **/ public BulkRecipientsRequest bulkRecipients(java.util.List bulkRecipients) { this.bulkRecipients = bulkRecipients; return this; } - + + /** + * addBulkRecipientsItem. + * + * @return BulkRecipientsRequest + **/ public BulkRecipientsRequest addBulkRecipientsItem(BulkRecipient bulkRecipientsItem) { + if (this.bulkRecipients == null) { + this.bulkRecipients = new java.util.ArrayList(); + } this.bulkRecipients.add(bulkRecipientsItem); return this; } - /** - * A complex type containing information about the bulk recipients in the request. + /** + * A complex type containing information about the bulk recipients in the request.. * @return bulkRecipients - **/ - @ApiModelProperty(example = "null", value = "A complex type containing information about the bulk recipients in the request.") + **/ + @ApiModelProperty(value = "A complex type containing information about the bulk recipients in the request.") public java.util.List getBulkRecipients() { return bulkRecipients; } + /** + * setBulkRecipients. + **/ public void setBulkRecipients(java.util.List bulkRecipients) { this.bulkRecipients = bulkRecipients; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -51,12 +76,18 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.bulkRecipients, bulkRecipientsRequest.bulkRecipients); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(bulkRecipients); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -77,6 +108,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/BulkRecipientsResponse.java b/src/main/java/com/docusign/esign/model/BulkRecipientsResponse.java index 26fb73bb..93c34c27 100644 --- a/src/main/java/com/docusign/esign/model/BulkRecipientsResponse.java +++ b/src/main/java/com/docusign/esign/model/BulkRecipientsResponse.java @@ -1,19 +1,22 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.BulkRecipient; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * BulkRecipientsResponse + * BulkRecipientsResponse. + * */ public class BulkRecipientsResponse { @JsonProperty("bulkRecipients") - private java.util.List bulkRecipients = new java.util.ArrayList(); + private java.util.List bulkRecipients = null; @JsonProperty("endPosition") private String endPosition = null; @@ -33,138 +36,214 @@ public class BulkRecipientsResponse { @JsonProperty("totalSetSize") private String totalSetSize = null; + + /** + * bulkRecipients. + * + * @return BulkRecipientsResponse + **/ public BulkRecipientsResponse bulkRecipients(java.util.List bulkRecipients) { this.bulkRecipients = bulkRecipients; return this; } - + + /** + * addBulkRecipientsItem. + * + * @return BulkRecipientsResponse + **/ public BulkRecipientsResponse addBulkRecipientsItem(BulkRecipient bulkRecipientsItem) { + if (this.bulkRecipients == null) { + this.bulkRecipients = new java.util.ArrayList(); + } this.bulkRecipients.add(bulkRecipientsItem); return this; } - /** - * A complex type containing information about the bulk recipients in the response. + /** + * A complex type containing information about the bulk recipients in the response.. * @return bulkRecipients - **/ - @ApiModelProperty(example = "null", value = "A complex type containing information about the bulk recipients in the response.") + **/ + @ApiModelProperty(value = "A complex type containing information about the bulk recipients in the response.") public java.util.List getBulkRecipients() { return bulkRecipients; } + /** + * setBulkRecipients. + **/ public void setBulkRecipients(java.util.List bulkRecipients) { this.bulkRecipients = bulkRecipients; } + + /** + * endPosition. + * + * @return BulkRecipientsResponse + **/ public BulkRecipientsResponse endPosition(String endPosition) { this.endPosition = endPosition; return this; } - /** - * The last position in the result set. + /** + * The last position in the result set. . * @return endPosition - **/ - @ApiModelProperty(example = "null", value = "The last position in the result set. ") + **/ + @ApiModelProperty(value = "The last position in the result set. ") public String getEndPosition() { return endPosition; } + /** + * setEndPosition. + **/ public void setEndPosition(String endPosition) { this.endPosition = endPosition; } + + /** + * nextUri. + * + * @return BulkRecipientsResponse + **/ public BulkRecipientsResponse nextUri(String nextUri) { this.nextUri = nextUri; return this; } - /** - * The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. + /** + * The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. . * @return nextUri - **/ - @ApiModelProperty(example = "null", value = "The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. ") + **/ + @ApiModelProperty(value = "The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. ") public String getNextUri() { return nextUri; } + /** + * setNextUri. + **/ public void setNextUri(String nextUri) { this.nextUri = nextUri; } + + /** + * previousUri. + * + * @return BulkRecipientsResponse + **/ public BulkRecipientsResponse previousUri(String previousUri) { this.previousUri = previousUri; return this; } - /** - * The postal code for the billing address. + /** + * The postal code for the billing address.. * @return previousUri - **/ - @ApiModelProperty(example = "null", value = "The postal code for the billing address.") + **/ + @ApiModelProperty(value = "The postal code for the billing address.") public String getPreviousUri() { return previousUri; } + /** + * setPreviousUri. + **/ public void setPreviousUri(String previousUri) { this.previousUri = previousUri; } + + /** + * resultSetSize. + * + * @return BulkRecipientsResponse + **/ public BulkRecipientsResponse resultSetSize(String resultSetSize) { this.resultSetSize = resultSetSize; return this; } - /** - * The number of results returned in this response. + /** + * The number of results returned in this response. . * @return resultSetSize - **/ - @ApiModelProperty(example = "null", value = "The number of results returned in this response. ") + **/ + @ApiModelProperty(value = "The number of results returned in this response. ") public String getResultSetSize() { return resultSetSize; } + /** + * setResultSetSize. + **/ public void setResultSetSize(String resultSetSize) { this.resultSetSize = resultSetSize; } + + /** + * startPosition. + * + * @return BulkRecipientsResponse + **/ public BulkRecipientsResponse startPosition(String startPosition) { this.startPosition = startPosition; return this; } - /** - * Starting position of the current result set. + /** + * Starting position of the current result set.. * @return startPosition - **/ - @ApiModelProperty(example = "null", value = "Starting position of the current result set.") + **/ + @ApiModelProperty(value = "Starting position of the current result set.") public String getStartPosition() { return startPosition; } + /** + * setStartPosition. + **/ public void setStartPosition(String startPosition) { this.startPosition = startPosition; } + + /** + * totalSetSize. + * + * @return BulkRecipientsResponse + **/ public BulkRecipientsResponse totalSetSize(String totalSetSize) { this.totalSetSize = totalSetSize; return this; } - /** - * The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response. + /** + * The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.. * @return totalSetSize - **/ - @ApiModelProperty(example = "null", value = "The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.") + **/ + @ApiModelProperty(value = "The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.") public String getTotalSetSize() { return totalSetSize; } + /** + * setTotalSetSize. + **/ public void setTotalSetSize(String totalSetSize) { this.totalSetSize = totalSetSize; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -183,12 +262,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.totalSetSize, bulkRecipientsResponse.totalSetSize); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(bulkRecipients, endPosition, nextUri, previousUri, resultSetSize, startPosition, totalSetSize); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -215,6 +300,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/BulkRecipientsSummaryResponse.java b/src/main/java/com/docusign/esign/model/BulkRecipientsSummaryResponse.java index bfe109ac..ec4bb29f 100644 --- a/src/main/java/com/docusign/esign/model/BulkRecipientsSummaryResponse.java +++ b/src/main/java/com/docusign/esign/model/BulkRecipientsSummaryResponse.java @@ -1,20 +1,23 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.BulkRecipient; import com.docusign.esign.model.ErrorDetails; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * BulkRecipientsSummaryResponse + * BulkRecipientsSummaryResponse. + * */ public class BulkRecipientsSummaryResponse { @JsonProperty("bulkRecipients") - private java.util.List bulkRecipients = new java.util.ArrayList(); + private java.util.List bulkRecipients = null; @JsonProperty("bulkRecipientsCount") private String bulkRecipientsCount = null; @@ -23,91 +26,148 @@ public class BulkRecipientsSummaryResponse { private String bulkRecipientsUri = null; @JsonProperty("errorDetails") - private java.util.List errorDetails = new java.util.ArrayList(); + private java.util.List errorDetails = null; + + /** + * bulkRecipients. + * + * @return BulkRecipientsSummaryResponse + **/ public BulkRecipientsSummaryResponse bulkRecipients(java.util.List bulkRecipients) { this.bulkRecipients = bulkRecipients; return this; } - + + /** + * addBulkRecipientsItem. + * + * @return BulkRecipientsSummaryResponse + **/ public BulkRecipientsSummaryResponse addBulkRecipientsItem(BulkRecipient bulkRecipientsItem) { + if (this.bulkRecipients == null) { + this.bulkRecipients = new java.util.ArrayList(); + } this.bulkRecipients.add(bulkRecipientsItem); return this; } - /** - * A complex type containing information about the bulk recipients in the response. + /** + * A complex type containing information about the bulk recipients in the response.. * @return bulkRecipients - **/ - @ApiModelProperty(example = "null", value = "A complex type containing information about the bulk recipients in the response.") + **/ + @ApiModelProperty(value = "A complex type containing information about the bulk recipients in the response.") public java.util.List getBulkRecipients() { return bulkRecipients; } + /** + * setBulkRecipients. + **/ public void setBulkRecipients(java.util.List bulkRecipients) { this.bulkRecipients = bulkRecipients; } + + /** + * bulkRecipientsCount. + * + * @return BulkRecipientsSummaryResponse + **/ public BulkRecipientsSummaryResponse bulkRecipientsCount(String bulkRecipientsCount) { this.bulkRecipientsCount = bulkRecipientsCount; return this; } - /** - * The number of items returned in this response. + /** + * The number of items returned in this response.. * @return bulkRecipientsCount - **/ - @ApiModelProperty(example = "null", value = "The number of items returned in this response.") + **/ + @ApiModelProperty(value = "The number of items returned in this response.") public String getBulkRecipientsCount() { return bulkRecipientsCount; } + /** + * setBulkRecipientsCount. + **/ public void setBulkRecipientsCount(String bulkRecipientsCount) { this.bulkRecipientsCount = bulkRecipientsCount; } + + /** + * bulkRecipientsUri. + * + * @return BulkRecipientsSummaryResponse + **/ public BulkRecipientsSummaryResponse bulkRecipientsUri(String bulkRecipientsUri) { this.bulkRecipientsUri = bulkRecipientsUri; return this; } - /** - * Contains a URI for an endpoint that allows you to easily retrieve bulk recipient information. + /** + * Contains a URI for an endpoint that allows you to easily retrieve bulk recipient information.. * @return bulkRecipientsUri - **/ - @ApiModelProperty(example = "null", value = "Contains a URI for an endpoint that allows you to easily retrieve bulk recipient information.") + **/ + @ApiModelProperty(value = "Contains a URI for an endpoint that allows you to easily retrieve bulk recipient information.") public String getBulkRecipientsUri() { return bulkRecipientsUri; } + /** + * setBulkRecipientsUri. + **/ public void setBulkRecipientsUri(String bulkRecipientsUri) { this.bulkRecipientsUri = bulkRecipientsUri; } + + /** + * errorDetails. + * + * @return BulkRecipientsSummaryResponse + **/ public BulkRecipientsSummaryResponse errorDetails(java.util.List errorDetails) { this.errorDetails = errorDetails; return this; } - + + /** + * addErrorDetailsItem. + * + * @return BulkRecipientsSummaryResponse + **/ public BulkRecipientsSummaryResponse addErrorDetailsItem(ErrorDetails errorDetailsItem) { + if (this.errorDetails == null) { + this.errorDetails = new java.util.ArrayList(); + } this.errorDetails.add(errorDetailsItem); return this; } - /** - * Array or errors. + /** + * Array or errors.. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "Array or errors.") + **/ + @ApiModelProperty(value = "Array or errors.") public java.util.List getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(java.util.List errorDetails) { this.errorDetails = errorDetails; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -123,12 +183,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.errorDetails, bulkRecipientsSummaryResponse.errorDetails); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(bulkRecipients, bulkRecipientsCount, bulkRecipientsUri, errorDetails); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -152,6 +218,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/BulkRecipientsUpdateResponse.java b/src/main/java/com/docusign/esign/model/BulkRecipientsUpdateResponse.java index f7da86bf..09154358 100644 --- a/src/main/java/com/docusign/esign/model/BulkRecipientsUpdateResponse.java +++ b/src/main/java/com/docusign/esign/model/BulkRecipientsUpdateResponse.java @@ -1,39 +1,56 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.Signer; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * BulkRecipientsUpdateResponse + * BulkRecipientsUpdateResponse. + * */ public class BulkRecipientsUpdateResponse { @JsonProperty("signer") private Signer signer = null; + + /** + * signer. + * + * @return BulkRecipientsUpdateResponse + **/ public BulkRecipientsUpdateResponse signer(Signer signer) { this.signer = signer; return this; } - /** - * Get signer + /** + * Get signer. * @return signer - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public Signer getSigner() { return signer; } + /** + * setSigner. + **/ public void setSigner(Signer signer) { this.signer = signer; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -46,12 +63,18 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.signer, bulkRecipientsUpdateResponse.signer); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(signer); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -72,6 +95,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/CaptiveRecipient.java b/src/main/java/com/docusign/esign/model/CaptiveRecipient.java index f1ee8aaa..a1cc034a 100644 --- a/src/main/java/com/docusign/esign/model/CaptiveRecipient.java +++ b/src/main/java/com/docusign/esign/model/CaptiveRecipient.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ErrorDetails; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * CaptiveRecipient + * CaptiveRecipient. + * */ public class CaptiveRecipient { @@ -24,79 +27,120 @@ public class CaptiveRecipient { @JsonProperty("userName") private String userName = null; + + /** + * clientUserId. + * + * @return CaptiveRecipient + **/ public CaptiveRecipient clientUserId(String clientUserId) { this.clientUserId = clientUserId; return this; } - /** - * Specifies whether the recipient is embedded or remote. If the `clientUserId` property is not null then the recipient is embedded. Note that if the `ClientUserId` property is set and either `SignerMustHaveAccount` or `SignerMustLoginToSign` property of the account settings is set to **true**, an error is generated on sending.ng. Maximum length: 100 characters. + /** + * Specifies whether the recipient is embedded or remote. If the `clientUserId` property is not null then the recipient is embedded. Note that if the `ClientUserId` property is set and either `SignerMustHaveAccount` or `SignerMustLoginToSign` property of the account settings is set to **true**, an error is generated on sending.ng. Maximum length: 100 characters. . * @return clientUserId - **/ - @ApiModelProperty(example = "null", value = "Specifies whether the recipient is embedded or remote. If the `clientUserId` property is not null then the recipient is embedded. Note that if the `ClientUserId` property is set and either `SignerMustHaveAccount` or `SignerMustLoginToSign` property of the account settings is set to **true**, an error is generated on sending.ng. Maximum length: 100 characters. ") + **/ + @ApiModelProperty(value = "Specifies whether the recipient is embedded or remote. If the `clientUserId` property is not null then the recipient is embedded. Note that if the `ClientUserId` property is set and either `SignerMustHaveAccount` or `SignerMustLoginToSign` property of the account settings is set to **true**, an error is generated on sending.ng. Maximum length: 100 characters. ") public String getClientUserId() { return clientUserId; } + /** + * setClientUserId. + **/ public void setClientUserId(String clientUserId) { this.clientUserId = clientUserId; } + + /** + * email. + * + * @return CaptiveRecipient + **/ public CaptiveRecipient email(String email) { this.email = email; return this; } - /** - * Specifies the email address associated with the captive recipient. + /** + * Specifies the email address associated with the captive recipient.. * @return email - **/ - @ApiModelProperty(example = "null", value = "Specifies the email address associated with the captive recipient.") + **/ + @ApiModelProperty(value = "Specifies the email address associated with the captive recipient.") public String getEmail() { return email; } + /** + * setEmail. + **/ public void setEmail(String email) { this.email = email; } + + /** + * errorDetails. + * + * @return CaptiveRecipient + **/ public CaptiveRecipient errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * userName. + * + * @return CaptiveRecipient + **/ public CaptiveRecipient userName(String userName) { this.userName = userName; return this; } - /** - * Specifies the user name associated with the captive recipient. + /** + * Specifies the user name associated with the captive recipient.. * @return userName - **/ - @ApiModelProperty(example = "null", value = "Specifies the user name associated with the captive recipient.") + **/ + @ApiModelProperty(value = "Specifies the user name associated with the captive recipient.") public String getUserName() { return userName; } + /** + * setUserName. + **/ public void setUserName(String userName) { this.userName = userName; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -112,12 +156,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.userName, captiveRecipient.userName); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(clientUserId, email, errorDetails, userName); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -141,6 +191,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/CaptiveRecipientInformation.java b/src/main/java/com/docusign/esign/model/CaptiveRecipientInformation.java index ea142ed8..482a3f51 100644 --- a/src/main/java/com/docusign/esign/model/CaptiveRecipientInformation.java +++ b/src/main/java/com/docusign/esign/model/CaptiveRecipientInformation.java @@ -1,44 +1,69 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.CaptiveRecipient; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * CaptiveRecipientInformation + * CaptiveRecipientInformation. + * */ public class CaptiveRecipientInformation { @JsonProperty("captiveRecipients") - private java.util.List captiveRecipients = new java.util.ArrayList(); + private java.util.List captiveRecipients = null; + + /** + * captiveRecipients. + * + * @return CaptiveRecipientInformation + **/ public CaptiveRecipientInformation captiveRecipients(java.util.List captiveRecipients) { this.captiveRecipients = captiveRecipients; return this; } - + + /** + * addCaptiveRecipientsItem. + * + * @return CaptiveRecipientInformation + **/ public CaptiveRecipientInformation addCaptiveRecipientsItem(CaptiveRecipient captiveRecipientsItem) { + if (this.captiveRecipients == null) { + this.captiveRecipients = new java.util.ArrayList(); + } this.captiveRecipients.add(captiveRecipientsItem); return this; } - /** - * A complex type containing information about one or more captive recipients. + /** + * A complex type containing information about one or more captive recipients.. * @return captiveRecipients - **/ - @ApiModelProperty(example = "null", value = "A complex type containing information about one or more captive recipients.") + **/ + @ApiModelProperty(value = "A complex type containing information about one or more captive recipients.") public java.util.List getCaptiveRecipients() { return captiveRecipients; } + /** + * setCaptiveRecipients. + **/ public void setCaptiveRecipients(java.util.List captiveRecipients) { this.captiveRecipients = captiveRecipients; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -51,12 +76,18 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.captiveRecipients, captiveRecipientInformation.captiveRecipients); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(captiveRecipients); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -77,6 +108,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/CarbonCopy.java b/src/main/java/com/docusign/esign/model/CarbonCopy.java index 41ff2107..6d5e0a8b 100644 --- a/src/main/java/com/docusign/esign/model/CarbonCopy.java +++ b/src/main/java/com/docusign/esign/model/CarbonCopy.java @@ -1,24 +1,29 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.AuthenticationStatus; import com.docusign.esign.model.DocumentVisibility; import com.docusign.esign.model.ErrorDetails; import com.docusign.esign.model.IdCheckInformationInput; import com.docusign.esign.model.RecipientAttachment; import com.docusign.esign.model.RecipientEmailNotification; +import com.docusign.esign.model.RecipientIdentityVerification; import com.docusign.esign.model.RecipientPhoneAuthentication; +import com.docusign.esign.model.RecipientProofFile; import com.docusign.esign.model.RecipientSAMLAuthentication; import com.docusign.esign.model.RecipientSMSAuthentication; import com.docusign.esign.model.SocialAuthentication; import com.docusign.esign.model.UserInfo; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * CarbonCopy + * CarbonCopy. + * */ public class CarbonCopy { @@ -38,7 +43,7 @@ public class CarbonCopy { private String clientUserId = null; @JsonProperty("customFields") - private java.util.List customFields = new java.util.ArrayList(); + private java.util.List customFields = null; @JsonProperty("declinedDateTime") private String declinedDateTime = null; @@ -53,7 +58,7 @@ public class CarbonCopy { private String deliveryMethod = null; @JsonProperty("documentVisibility") - private java.util.List documentVisibility = new java.util.ArrayList(); + private java.util.List documentVisibility = null; @JsonProperty("email") private String email = null; @@ -71,7 +76,7 @@ public class CarbonCopy { private ErrorDetails errorDetails = null; @JsonProperty("excludedDocuments") - private java.util.List excludedDocuments = new java.util.ArrayList(); + private java.util.List excludedDocuments = null; @JsonProperty("faxNumber") private String faxNumber = null; @@ -88,6 +93,9 @@ public class CarbonCopy { @JsonProperty("idCheckInformationInput") private IdCheckInformationInput idCheckInformationInput = null; + @JsonProperty("identityVerification") + private RecipientIdentityVerification identityVerification = null; + @JsonProperty("inheritEmailNotificationConfiguration") private String inheritEmailNotificationConfiguration = null; @@ -103,8 +111,11 @@ public class CarbonCopy { @JsonProperty("phoneAuthentication") private RecipientPhoneAuthentication phoneAuthentication = null; + @JsonProperty("proofFile") + private RecipientProofFile proofFile = null; + @JsonProperty("recipientAttachments") - private java.util.List recipientAttachments = new java.util.ArrayList(); + private java.util.List recipientAttachments = null; @JsonProperty("recipientAuthenticationStatus") private AuthenticationStatus recipientAuthenticationStatus = null; @@ -140,13 +151,13 @@ public class CarbonCopy { private String signingGroupName = null; @JsonProperty("signingGroupUsers") - private java.util.List signingGroupUsers = new java.util.ArrayList(); + private java.util.List signingGroupUsers = null; @JsonProperty("smsAuthentication") private RecipientSMSAuthentication smsAuthentication = null; @JsonProperty("socialAuthentications") - private java.util.List socialAuthentications = new java.util.ArrayList(); + private java.util.List socialAuthentications = null; @JsonProperty("status") private String status = null; @@ -163,883 +174,1413 @@ public class CarbonCopy { @JsonProperty("userId") private String userId = null; + + /** + * accessCode. + * + * @return CarbonCopy + **/ public CarbonCopy accessCode(String accessCode) { this.accessCode = accessCode; return this; } - /** - * If a value is provided, the recipient must enter the value as the access code to view and sign the envelope. Maximum Length: 50 characters and it must conform to the account's access code format setting. If blank, but the signer `accessCode` property is set in the envelope, then that value is used. If blank and the signer `accessCode` property is not set, then the access code is not required. + /** + * If a value is provided, the recipient must enter the value as the access code to view and sign the envelope. Maximum Length: 50 characters and it must conform to the account's access code format setting. If blank, but the signer `accessCode` property is set in the envelope, then that value is used. If blank and the signer `accessCode` property is not set, then the access code is not required.. * @return accessCode - **/ - @ApiModelProperty(example = "null", value = "If a value is provided, the recipient must enter the value as the access code to view and sign the envelope. Maximum Length: 50 characters and it must conform to the account's access code format setting. If blank, but the signer `accessCode` property is set in the envelope, then that value is used. If blank and the signer `accessCode` property is not set, then the access code is not required.") + **/ + @ApiModelProperty(value = "If a value is provided, the recipient must enter the value as the access code to view and sign the envelope. Maximum Length: 50 characters and it must conform to the account's access code format setting. If blank, but the signer `accessCode` property is set in the envelope, then that value is used. If blank and the signer `accessCode` property is not set, then the access code is not required.") public String getAccessCode() { return accessCode; } + /** + * setAccessCode. + **/ public void setAccessCode(String accessCode) { this.accessCode = accessCode; } + + /** + * addAccessCodeToEmail. + * + * @return CarbonCopy + **/ public CarbonCopy addAccessCodeToEmail(String addAccessCodeToEmail) { this.addAccessCodeToEmail = addAccessCodeToEmail; return this; } - /** - * This Optional attribute indicates that the access code will be added to the email sent to the recipient; this nullifies the Security measure of Access Code on the recipient. + /** + * This Optional attribute indicates that the access code will be added to the email sent to the recipient; this nullifies the Security measure of Access Code on the recipient.. * @return addAccessCodeToEmail - **/ - @ApiModelProperty(example = "null", value = "This Optional attribute indicates that the access code will be added to the email sent to the recipient; this nullifies the Security measure of Access Code on the recipient.") + **/ + @ApiModelProperty(value = "This Optional attribute indicates that the access code will be added to the email sent to the recipient; this nullifies the Security measure of Access Code on the recipient.") public String getAddAccessCodeToEmail() { return addAccessCodeToEmail; } + /** + * setAddAccessCodeToEmail. + **/ public void setAddAccessCodeToEmail(String addAccessCodeToEmail) { this.addAccessCodeToEmail = addAccessCodeToEmail; } + + /** + * agentCanEditEmail. + * + * @return CarbonCopy + **/ public CarbonCopy agentCanEditEmail(String agentCanEditEmail) { this.agentCanEditEmail = agentCanEditEmail; return this; } - /** - * + /** + * . * @return agentCanEditEmail - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAgentCanEditEmail() { return agentCanEditEmail; } + /** + * setAgentCanEditEmail. + **/ public void setAgentCanEditEmail(String agentCanEditEmail) { this.agentCanEditEmail = agentCanEditEmail; } + + /** + * agentCanEditName. + * + * @return CarbonCopy + **/ public CarbonCopy agentCanEditName(String agentCanEditName) { this.agentCanEditName = agentCanEditName; return this; } - /** - * + /** + * . * @return agentCanEditName - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAgentCanEditName() { return agentCanEditName; } + /** + * setAgentCanEditName. + **/ public void setAgentCanEditName(String agentCanEditName) { this.agentCanEditName = agentCanEditName; } + + /** + * clientUserId. + * + * @return CarbonCopy + **/ public CarbonCopy clientUserId(String clientUserId) { this.clientUserId = clientUserId; return this; } - /** - * Specifies whether the recipient is embedded or remote. If the `clientUserId` property is not null then the recipient is embedded. Note that if the `ClientUserId` property is set and either `SignerMustHaveAccount` or `SignerMustLoginToSign` property of the account settings is set to **true**, an error is generated on sending.ng. Maximum length: 100 characters. + /** + * Specifies whether the recipient is embedded or remote. If the `clientUserId` property is not null then the recipient is embedded. Note that if the `ClientUserId` property is set and either `SignerMustHaveAccount` or `SignerMustLoginToSign` property of the account settings is set to **true**, an error is generated on sending.ng. Maximum length: 100 characters. . * @return clientUserId - **/ - @ApiModelProperty(example = "null", value = "Specifies whether the recipient is embedded or remote. If the `clientUserId` property is not null then the recipient is embedded. Note that if the `ClientUserId` property is set and either `SignerMustHaveAccount` or `SignerMustLoginToSign` property of the account settings is set to **true**, an error is generated on sending.ng. Maximum length: 100 characters. ") + **/ + @ApiModelProperty(value = "Specifies whether the recipient is embedded or remote. If the `clientUserId` property is not null then the recipient is embedded. Note that if the `ClientUserId` property is set and either `SignerMustHaveAccount` or `SignerMustLoginToSign` property of the account settings is set to **true**, an error is generated on sending.ng. Maximum length: 100 characters. ") public String getClientUserId() { return clientUserId; } + /** + * setClientUserId. + **/ public void setClientUserId(String clientUserId) { this.clientUserId = clientUserId; } + + /** + * customFields. + * + * @return CarbonCopy + **/ public CarbonCopy customFields(java.util.List customFields) { this.customFields = customFields; return this; } - + + /** + * addCustomFieldsItem. + * + * @return CarbonCopy + **/ public CarbonCopy addCustomFieldsItem(String customFieldsItem) { + if (this.customFields == null) { + this.customFields = new java.util.ArrayList(); + } this.customFields.add(customFieldsItem); return this; } - /** - * An optional array of strings that allows the sender to provide custom data about the recipient. This information is returned in the envelope status but otherwise not used by DocuSign. Each customField string can be a maximum of 100 characters. + /** + * An optional array of strings that allows the sender to provide custom data about the recipient. This information is returned in the envelope status but otherwise not used by DocuSign. Each customField string can be a maximum of 100 characters.. * @return customFields - **/ - @ApiModelProperty(example = "null", value = "An optional array of strings that allows the sender to provide custom data about the recipient. This information is returned in the envelope status but otherwise not used by DocuSign. Each customField string can be a maximum of 100 characters.") + **/ + @ApiModelProperty(value = "An optional array of strings that allows the sender to provide custom data about the recipient. This information is returned in the envelope status but otherwise not used by DocuSign. Each customField string can be a maximum of 100 characters.") public java.util.List getCustomFields() { return customFields; } + /** + * setCustomFields. + **/ public void setCustomFields(java.util.List customFields) { this.customFields = customFields; } + + /** + * declinedDateTime. + * + * @return CarbonCopy + **/ public CarbonCopy declinedDateTime(String declinedDateTime) { this.declinedDateTime = declinedDateTime; return this; } - /** - * The date and time the recipient declined the document. + /** + * The date and time the recipient declined the document.. * @return declinedDateTime - **/ - @ApiModelProperty(example = "null", value = "The date and time the recipient declined the document.") + **/ + @ApiModelProperty(value = "The date and time the recipient declined the document.") public String getDeclinedDateTime() { return declinedDateTime; } + /** + * setDeclinedDateTime. + **/ public void setDeclinedDateTime(String declinedDateTime) { this.declinedDateTime = declinedDateTime; } + + /** + * declinedReason. + * + * @return CarbonCopy + **/ public CarbonCopy declinedReason(String declinedReason) { this.declinedReason = declinedReason; return this; } - /** - * The reason the recipient declined the document. + /** + * The reason the recipient declined the document.. * @return declinedReason - **/ - @ApiModelProperty(example = "null", value = "The reason the recipient declined the document.") + **/ + @ApiModelProperty(value = "The reason the recipient declined the document.") public String getDeclinedReason() { return declinedReason; } + /** + * setDeclinedReason. + **/ public void setDeclinedReason(String declinedReason) { this.declinedReason = declinedReason; } + + /** + * deliveredDateTime. + * + * @return CarbonCopy + **/ public CarbonCopy deliveredDateTime(String deliveredDateTime) { this.deliveredDateTime = deliveredDateTime; return this; } - /** - * Reserved: For DocuSign use only. + /** + * Reserved: For DocuSign use only.. * @return deliveredDateTime - **/ - @ApiModelProperty(example = "null", value = "Reserved: For DocuSign use only.") + **/ + @ApiModelProperty(value = "Reserved: For DocuSign use only.") public String getDeliveredDateTime() { return deliveredDateTime; } + /** + * setDeliveredDateTime. + **/ public void setDeliveredDateTime(String deliveredDateTime) { this.deliveredDateTime = deliveredDateTime; } + + /** + * deliveryMethod. + * + * @return CarbonCopy + **/ public CarbonCopy deliveryMethod(String deliveryMethod) { this.deliveryMethod = deliveryMethod; return this; } - /** - * Reserved: For DocuSign use only. + /** + * Reserved: For DocuSign use only.. * @return deliveryMethod - **/ - @ApiModelProperty(example = "null", value = "Reserved: For DocuSign use only.") + **/ + @ApiModelProperty(value = "Reserved: For DocuSign use only.") public String getDeliveryMethod() { return deliveryMethod; } + /** + * setDeliveryMethod. + **/ public void setDeliveryMethod(String deliveryMethod) { this.deliveryMethod = deliveryMethod; } + + /** + * documentVisibility. + * + * @return CarbonCopy + **/ public CarbonCopy documentVisibility(java.util.List documentVisibility) { this.documentVisibility = documentVisibility; return this; } - + + /** + * addDocumentVisibilityItem. + * + * @return CarbonCopy + **/ public CarbonCopy addDocumentVisibilityItem(DocumentVisibility documentVisibilityItem) { + if (this.documentVisibility == null) { + this.documentVisibility = new java.util.ArrayList(); + } this.documentVisibility.add(documentVisibilityItem); return this; } - /** - * + /** + * . * @return documentVisibility - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getDocumentVisibility() { return documentVisibility; } + /** + * setDocumentVisibility. + **/ public void setDocumentVisibility(java.util.List documentVisibility) { this.documentVisibility = documentVisibility; } + + /** + * email. + * + * @return CarbonCopy + **/ public CarbonCopy email(String email) { this.email = email; return this; } - /** - * Email id of the recipient. Notification of the document to sign is sent to this email id. Maximum length: 100 characters. + /** + * Email id of the recipient. Notification of the document to sign is sent to this email id. Maximum length: 100 characters. . * @return email - **/ - @ApiModelProperty(example = "null", value = "Email id of the recipient. Notification of the document to sign is sent to this email id. Maximum length: 100 characters. ") + **/ + @ApiModelProperty(value = "Email id of the recipient. Notification of the document to sign is sent to this email id. Maximum length: 100 characters. ") public String getEmail() { return email; } + /** + * setEmail. + **/ public void setEmail(String email) { this.email = email; } + + /** + * emailNotification. + * + * @return CarbonCopy + **/ public CarbonCopy emailNotification(RecipientEmailNotification emailNotification) { this.emailNotification = emailNotification; return this; } - /** - * Get emailNotification + /** + * Get emailNotification. * @return emailNotification - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public RecipientEmailNotification getEmailNotification() { return emailNotification; } + /** + * setEmailNotification. + **/ public void setEmailNotification(RecipientEmailNotification emailNotification) { this.emailNotification = emailNotification; } + + /** + * emailRecipientPostSigningURL. + * + * @return CarbonCopy + **/ public CarbonCopy emailRecipientPostSigningURL(String emailRecipientPostSigningURL) { this.emailRecipientPostSigningURL = emailRecipientPostSigningURL; return this; } - /** - * + /** + * . * @return emailRecipientPostSigningURL - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getEmailRecipientPostSigningURL() { return emailRecipientPostSigningURL; } + /** + * setEmailRecipientPostSigningURL. + **/ public void setEmailRecipientPostSigningURL(String emailRecipientPostSigningURL) { this.emailRecipientPostSigningURL = emailRecipientPostSigningURL; } + + /** + * embeddedRecipientStartURL. + * + * @return CarbonCopy + **/ public CarbonCopy embeddedRecipientStartURL(String embeddedRecipientStartURL) { this.embeddedRecipientStartURL = embeddedRecipientStartURL; return this; } - /** - * Specifies a sender provided valid URL string for redirecting an embedded recipient. When using this option, the embedded recipient still receives an email from DocuSign, just as a remote recipient would. When the document link in the email is clicked the recipient is redirected, through DocuSign, to the supplied URL to complete their actions. When routing to the URL, the sender's system (the server responding to the URL) must request a recipient token to launch a signing session. If set to `SIGN_AT_DOCUSIGN`, the recipient is directed to an embedded signing or viewing process directly at DocuSign. The signing or viewing action is initiated by the DocuSign system and the transaction activity and Certificate of Completion records will reflect this. In all other ways the process is identical to an embedded signing or viewing operation that is launched by any partner. It is important to remember that in a typical embedded workflow the authentication of an embedded recipient is the responsibility of the sending application, DocuSign expects that senders will follow their own process for establishing the recipient's identity. In this workflow the recipient goes through the sending application before the embedded signing or viewing process in initiated. However, when the sending application sets `EmbeddedRecipientStartURL=SIGN_AT_DOCUSIGN`, the recipient goes directly to the embedded signing or viewing process bypassing the sending application and any authentication steps the sending application would use. In this case, DocuSign recommends that you use one of the normal DocuSign authentication features (Access Code, Phone Authentication, SMS Authentication, etc.) to verify the identity of the recipient. If the `clientUserId` property is NOT set, and the `embeddedRecipientStartURL` is set, DocuSign will ignore the redirect URL and launch the standard signing process for the email recipient. Information can be appended to the embedded recipient start URL using merge fields. The available merge fields items are: envelopeId, recipientId, recipientName, recipientEmail, and customFields. The `customFields` property must be set fort the recipient or envelope. The merge fields are enclosed in double brackets. *Example*: `http://senderHost/[[mergeField1]]/ beginSigningSession? [[mergeField2]]&[[mergeField3]]` + /** + * Specifies a sender provided valid URL string for redirecting an embedded recipient. When using this option, the embedded recipient still receives an email from DocuSign, just as a remote recipient would. When the document link in the email is clicked the recipient is redirected, through DocuSign, to the supplied URL to complete their actions. When routing to the URL, the sender's system (the server responding to the URL) must request a recipient token to launch a signing session. If set to `SIGN_AT_DOCUSIGN`, the recipient is directed to an embedded signing or viewing process directly at DocuSign. The signing or viewing action is initiated by the DocuSign system and the transaction activity and Certificate of Completion records will reflect this. In all other ways the process is identical to an embedded signing or viewing operation that is launched by any partner. It is important to remember that in a typical embedded workflow the authentication of an embedded recipient is the responsibility of the sending application, DocuSign expects that senders will follow their own process for establishing the recipient's identity. In this workflow the recipient goes through the sending application before the embedded signing or viewing process in initiated. However, when the sending application sets `EmbeddedRecipientStartURL=SIGN_AT_DOCUSIGN`, the recipient goes directly to the embedded signing or viewing process bypassing the sending application and any authentication steps the sending application would use. In this case, DocuSign recommends that you use one of the normal DocuSign authentication features (Access Code, Phone Authentication, SMS Authentication, etc.) to verify the identity of the recipient. If the `clientUserId` property is NOT set, and the `embeddedRecipientStartURL` is set, DocuSign will ignore the redirect URL and launch the standard signing process for the email recipient. Information can be appended to the embedded recipient start URL using merge fields. The available merge fields items are: envelopeId, recipientId, recipientName, recipientEmail, and customFields. The `customFields` property must be set fort the recipient or envelope. The merge fields are enclosed in double brackets. *Example*: `http://senderHost/[[mergeField1]]/ beginSigningSession? [[mergeField2]]&[[mergeField3]]` . * @return embeddedRecipientStartURL - **/ - @ApiModelProperty(example = "null", value = "Specifies a sender provided valid URL string for redirecting an embedded recipient. When using this option, the embedded recipient still receives an email from DocuSign, just as a remote recipient would. When the document link in the email is clicked the recipient is redirected, through DocuSign, to the supplied URL to complete their actions. When routing to the URL, the sender's system (the server responding to the URL) must request a recipient token to launch a signing session. If set to `SIGN_AT_DOCUSIGN`, the recipient is directed to an embedded signing or viewing process directly at DocuSign. The signing or viewing action is initiated by the DocuSign system and the transaction activity and Certificate of Completion records will reflect this. In all other ways the process is identical to an embedded signing or viewing operation that is launched by any partner. It is important to remember that in a typical embedded workflow the authentication of an embedded recipient is the responsibility of the sending application, DocuSign expects that senders will follow their own process for establishing the recipient's identity. In this workflow the recipient goes through the sending application before the embedded signing or viewing process in initiated. However, when the sending application sets `EmbeddedRecipientStartURL=SIGN_AT_DOCUSIGN`, the recipient goes directly to the embedded signing or viewing process bypassing the sending application and any authentication steps the sending application would use. In this case, DocuSign recommends that you use one of the normal DocuSign authentication features (Access Code, Phone Authentication, SMS Authentication, etc.) to verify the identity of the recipient. If the `clientUserId` property is NOT set, and the `embeddedRecipientStartURL` is set, DocuSign will ignore the redirect URL and launch the standard signing process for the email recipient. Information can be appended to the embedded recipient start URL using merge fields. The available merge fields items are: envelopeId, recipientId, recipientName, recipientEmail, and customFields. The `customFields` property must be set fort the recipient or envelope. The merge fields are enclosed in double brackets. *Example*: `http://senderHost/[[mergeField1]]/ beginSigningSession? [[mergeField2]]&[[mergeField3]]` ") + **/ + @ApiModelProperty(value = "Specifies a sender provided valid URL string for redirecting an embedded recipient. When using this option, the embedded recipient still receives an email from DocuSign, just as a remote recipient would. When the document link in the email is clicked the recipient is redirected, through DocuSign, to the supplied URL to complete their actions. When routing to the URL, the sender's system (the server responding to the URL) must request a recipient token to launch a signing session. If set to `SIGN_AT_DOCUSIGN`, the recipient is directed to an embedded signing or viewing process directly at DocuSign. The signing or viewing action is initiated by the DocuSign system and the transaction activity and Certificate of Completion records will reflect this. In all other ways the process is identical to an embedded signing or viewing operation that is launched by any partner. It is important to remember that in a typical embedded workflow the authentication of an embedded recipient is the responsibility of the sending application, DocuSign expects that senders will follow their own process for establishing the recipient's identity. In this workflow the recipient goes through the sending application before the embedded signing or viewing process in initiated. However, when the sending application sets `EmbeddedRecipientStartURL=SIGN_AT_DOCUSIGN`, the recipient goes directly to the embedded signing or viewing process bypassing the sending application and any authentication steps the sending application would use. In this case, DocuSign recommends that you use one of the normal DocuSign authentication features (Access Code, Phone Authentication, SMS Authentication, etc.) to verify the identity of the recipient. If the `clientUserId` property is NOT set, and the `embeddedRecipientStartURL` is set, DocuSign will ignore the redirect URL and launch the standard signing process for the email recipient. Information can be appended to the embedded recipient start URL using merge fields. The available merge fields items are: envelopeId, recipientId, recipientName, recipientEmail, and customFields. The `customFields` property must be set fort the recipient or envelope. The merge fields are enclosed in double brackets. *Example*: `http://senderHost/[[mergeField1]]/ beginSigningSession? [[mergeField2]]&[[mergeField3]]` ") public String getEmbeddedRecipientStartURL() { return embeddedRecipientStartURL; } + /** + * setEmbeddedRecipientStartURL. + **/ public void setEmbeddedRecipientStartURL(String embeddedRecipientStartURL) { this.embeddedRecipientStartURL = embeddedRecipientStartURL; } + + /** + * errorDetails. + * + * @return CarbonCopy + **/ public CarbonCopy errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * excludedDocuments. + * + * @return CarbonCopy + **/ public CarbonCopy excludedDocuments(java.util.List excludedDocuments) { this.excludedDocuments = excludedDocuments; return this; } - + + /** + * addExcludedDocumentsItem. + * + * @return CarbonCopy + **/ public CarbonCopy addExcludedDocumentsItem(String excludedDocumentsItem) { + if (this.excludedDocuments == null) { + this.excludedDocuments = new java.util.ArrayList(); + } this.excludedDocuments.add(excludedDocumentsItem); return this; } - /** - * Specifies the documents that are not visible to this recipient. Document Visibility must be enabled for the account and the `enforceSignerVisibility` property must be set to **true** for the envelope to use this. When enforce signer visibility is enabled, documents with tabs can only be viewed by signers that have a tab on that document. Recipients that have an administrative role (Agent, Editor, or Intermediaries) or informational role (Certified Deliveries or Carbon Copies) can always see all the documents in an envelope, unless they are specifically excluded using this setting when an envelope is sent. Documents that do not have tabs are always visible to all recipients, unless they are specifically excluded using this setting when an envelope is sent. + /** + * Specifies the documents that are not visible to this recipient. Document Visibility must be enabled for the account and the `enforceSignerVisibility` property must be set to **true** for the envelope to use this. When enforce signer visibility is enabled, documents with tabs can only be viewed by signers that have a tab on that document. Recipients that have an administrative role (Agent, Editor, or Intermediaries) or informational role (Certified Deliveries or Carbon Copies) can always see all the documents in an envelope, unless they are specifically excluded using this setting when an envelope is sent. Documents that do not have tabs are always visible to all recipients, unless they are specifically excluded using this setting when an envelope is sent.. * @return excludedDocuments - **/ - @ApiModelProperty(example = "null", value = "Specifies the documents that are not visible to this recipient. Document Visibility must be enabled for the account and the `enforceSignerVisibility` property must be set to **true** for the envelope to use this. When enforce signer visibility is enabled, documents with tabs can only be viewed by signers that have a tab on that document. Recipients that have an administrative role (Agent, Editor, or Intermediaries) or informational role (Certified Deliveries or Carbon Copies) can always see all the documents in an envelope, unless they are specifically excluded using this setting when an envelope is sent. Documents that do not have tabs are always visible to all recipients, unless they are specifically excluded using this setting when an envelope is sent.") + **/ + @ApiModelProperty(value = "Specifies the documents that are not visible to this recipient. Document Visibility must be enabled for the account and the `enforceSignerVisibility` property must be set to **true** for the envelope to use this. When enforce signer visibility is enabled, documents with tabs can only be viewed by signers that have a tab on that document. Recipients that have an administrative role (Agent, Editor, or Intermediaries) or informational role (Certified Deliveries or Carbon Copies) can always see all the documents in an envelope, unless they are specifically excluded using this setting when an envelope is sent. Documents that do not have tabs are always visible to all recipients, unless they are specifically excluded using this setting when an envelope is sent.") public java.util.List getExcludedDocuments() { return excludedDocuments; } + /** + * setExcludedDocuments. + **/ public void setExcludedDocuments(java.util.List excludedDocuments) { this.excludedDocuments = excludedDocuments; } + + /** + * faxNumber. + * + * @return CarbonCopy + **/ public CarbonCopy faxNumber(String faxNumber) { this.faxNumber = faxNumber; return this; } - /** - * Reserved: + /** + * Reserved:. * @return faxNumber - **/ - @ApiModelProperty(example = "null", value = "Reserved:") + **/ + @ApiModelProperty(value = "Reserved:") public String getFaxNumber() { return faxNumber; } + /** + * setFaxNumber. + **/ public void setFaxNumber(String faxNumber) { this.faxNumber = faxNumber; } + + /** + * firstName. + * + * @return CarbonCopy + **/ public CarbonCopy firstName(String firstName) { this.firstName = firstName; return this; } - /** - * The user's first name. Maximum Length: 50 characters. + /** + * The user's first name. Maximum Length: 50 characters.. * @return firstName - **/ - @ApiModelProperty(example = "null", value = "The user's first name. Maximum Length: 50 characters.") + **/ + @ApiModelProperty(value = "The user's first name. Maximum Length: 50 characters.") public String getFirstName() { return firstName; } + /** + * setFirstName. + **/ public void setFirstName(String firstName) { this.firstName = firstName; } + + /** + * fullName. + * + * @return CarbonCopy + **/ public CarbonCopy fullName(String fullName) { this.fullName = fullName; return this; } - /** - * + /** + * . * @return fullName - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getFullName() { return fullName; } + /** + * setFullName. + **/ public void setFullName(String fullName) { this.fullName = fullName; } + + /** + * idCheckConfigurationName. + * + * @return CarbonCopy + **/ public CarbonCopy idCheckConfigurationName(String idCheckConfigurationName) { this.idCheckConfigurationName = idCheckConfigurationName; return this; } - /** - * Specifies authentication check by name. The names used here must be the same as the authentication type names used by the account (these name can also be found in the web console sending interface in the Identify list for a recipient,) This overrides any default authentication setting. *Example*: Your account has ID Check and SMS Authentication available and in the web console Identify list these appear as 'ID Check $' and 'SMS Auth $'. To use ID check in an envelope, the idCheckConfigurationName should be 'ID Check '. If you wanted to use SMS, it would be 'SMS Auth $' and you would need to add you would need to add phone number information to the `smsAuthentication` node. + /** + * Specifies authentication check by name. The names used here must be the same as the authentication type names used by the account (these name can also be found in the web console sending interface in the Identify list for a recipient,) This overrides any default authentication setting. *Example*: Your account has ID Check and SMS Authentication available and in the web console Identify list these appear as 'ID Check $' and 'SMS Auth $'. To use ID check in an envelope, the idCheckConfigurationName should be 'ID Check '. If you wanted to use SMS, it would be 'SMS Auth $' and you would need to add you would need to add phone number information to the `smsAuthentication` node.. * @return idCheckConfigurationName - **/ - @ApiModelProperty(example = "null", value = "Specifies authentication check by name. The names used here must be the same as the authentication type names used by the account (these name can also be found in the web console sending interface in the Identify list for a recipient,) This overrides any default authentication setting. *Example*: Your account has ID Check and SMS Authentication available and in the web console Identify list these appear as 'ID Check $' and 'SMS Auth $'. To use ID check in an envelope, the idCheckConfigurationName should be 'ID Check '. If you wanted to use SMS, it would be 'SMS Auth $' and you would need to add you would need to add phone number information to the `smsAuthentication` node.") + **/ + @ApiModelProperty(value = "Specifies authentication check by name. The names used here must be the same as the authentication type names used by the account (these name can also be found in the web console sending interface in the Identify list for a recipient,) This overrides any default authentication setting. *Example*: Your account has ID Check and SMS Authentication available and in the web console Identify list these appear as 'ID Check $' and 'SMS Auth $'. To use ID check in an envelope, the idCheckConfigurationName should be 'ID Check '. If you wanted to use SMS, it would be 'SMS Auth $' and you would need to add you would need to add phone number information to the `smsAuthentication` node.") public String getIdCheckConfigurationName() { return idCheckConfigurationName; } + /** + * setIdCheckConfigurationName. + **/ public void setIdCheckConfigurationName(String idCheckConfigurationName) { this.idCheckConfigurationName = idCheckConfigurationName; } + + /** + * idCheckInformationInput. + * + * @return CarbonCopy + **/ public CarbonCopy idCheckInformationInput(IdCheckInformationInput idCheckInformationInput) { this.idCheckInformationInput = idCheckInformationInput; return this; } - /** - * Get idCheckInformationInput + /** + * Get idCheckInformationInput. * @return idCheckInformationInput - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public IdCheckInformationInput getIdCheckInformationInput() { return idCheckInformationInput; } + /** + * setIdCheckInformationInput. + **/ public void setIdCheckInformationInput(IdCheckInformationInput idCheckInformationInput) { this.idCheckInformationInput = idCheckInformationInput; } + + /** + * identityVerification. + * + * @return CarbonCopy + **/ + public CarbonCopy identityVerification(RecipientIdentityVerification identityVerification) { + this.identityVerification = identityVerification; + return this; + } + + /** + * Get identityVerification. + * @return identityVerification + **/ + @ApiModelProperty(value = "") + public RecipientIdentityVerification getIdentityVerification() { + return identityVerification; + } + + /** + * setIdentityVerification. + **/ + public void setIdentityVerification(RecipientIdentityVerification identityVerification) { + this.identityVerification = identityVerification; + } + + + /** + * inheritEmailNotificationConfiguration. + * + * @return CarbonCopy + **/ public CarbonCopy inheritEmailNotificationConfiguration(String inheritEmailNotificationConfiguration) { this.inheritEmailNotificationConfiguration = inheritEmailNotificationConfiguration; return this; } - /** - * When set to **true** and the envelope recipient creates a DocuSign account after signing, the Manage Account Email Notification settings are used as the default settings for the recipient's account. + /** + * When set to **true** and the envelope recipient creates a DocuSign account after signing, the Manage Account Email Notification settings are used as the default settings for the recipient's account. . * @return inheritEmailNotificationConfiguration - **/ - @ApiModelProperty(example = "null", value = "When set to **true** and the envelope recipient creates a DocuSign account after signing, the Manage Account Email Notification settings are used as the default settings for the recipient's account. ") + **/ + @ApiModelProperty(value = "When set to **true** and the envelope recipient creates a DocuSign account after signing, the Manage Account Email Notification settings are used as the default settings for the recipient's account. ") public String getInheritEmailNotificationConfiguration() { return inheritEmailNotificationConfiguration; } + /** + * setInheritEmailNotificationConfiguration. + **/ public void setInheritEmailNotificationConfiguration(String inheritEmailNotificationConfiguration) { this.inheritEmailNotificationConfiguration = inheritEmailNotificationConfiguration; } + + /** + * lastName. + * + * @return CarbonCopy + **/ public CarbonCopy lastName(String lastName) { this.lastName = lastName; return this; } - /** - * + /** + * . * @return lastName - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getLastName() { return lastName; } + /** + * setLastName. + **/ public void setLastName(String lastName) { this.lastName = lastName; } + + /** + * name. + * + * @return CarbonCopy + **/ public CarbonCopy name(String name) { this.name = name; return this; } - /** - * legal name of the recipient. Maximum Length: 100 characters. + /** + * legal name of the recipient. Maximum Length: 100 characters.. * @return name - **/ - @ApiModelProperty(example = "null", value = "legal name of the recipient. Maximum Length: 100 characters.") + **/ + @ApiModelProperty(value = "legal name of the recipient. Maximum Length: 100 characters.") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * note. + * + * @return CarbonCopy + **/ public CarbonCopy note(String note) { this.note = note; return this; } - /** - * Specifies a note that is unique to this recipient. This note is sent to the recipient via the signing email. The note displays in the signing UI near the upper left corner of the document on the signing screen. Maximum Length: 1000 characters. + /** + * Specifies a note that is unique to this recipient. This note is sent to the recipient via the signing email. The note displays in the signing UI near the upper left corner of the document on the signing screen. Maximum Length: 1000 characters.. * @return note - **/ - @ApiModelProperty(example = "null", value = "Specifies a note that is unique to this recipient. This note is sent to the recipient via the signing email. The note displays in the signing UI near the upper left corner of the document on the signing screen. Maximum Length: 1000 characters.") + **/ + @ApiModelProperty(value = "Specifies a note that is unique to this recipient. This note is sent to the recipient via the signing email. The note displays in the signing UI near the upper left corner of the document on the signing screen. Maximum Length: 1000 characters.") public String getNote() { return note; } + /** + * setNote. + **/ public void setNote(String note) { this.note = note; } + + /** + * phoneAuthentication. + * + * @return CarbonCopy + **/ public CarbonCopy phoneAuthentication(RecipientPhoneAuthentication phoneAuthentication) { this.phoneAuthentication = phoneAuthentication; return this; } - /** - * Get phoneAuthentication + /** + * Get phoneAuthentication. * @return phoneAuthentication - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public RecipientPhoneAuthentication getPhoneAuthentication() { return phoneAuthentication; } + /** + * setPhoneAuthentication. + **/ public void setPhoneAuthentication(RecipientPhoneAuthentication phoneAuthentication) { this.phoneAuthentication = phoneAuthentication; } + + /** + * proofFile. + * + * @return CarbonCopy + **/ + public CarbonCopy proofFile(RecipientProofFile proofFile) { + this.proofFile = proofFile; + return this; + } + + /** + * Get proofFile. + * @return proofFile + **/ + @ApiModelProperty(value = "") + public RecipientProofFile getProofFile() { + return proofFile; + } + + /** + * setProofFile. + **/ + public void setProofFile(RecipientProofFile proofFile) { + this.proofFile = proofFile; + } + + + /** + * recipientAttachments. + * + * @return CarbonCopy + **/ public CarbonCopy recipientAttachments(java.util.List recipientAttachments) { this.recipientAttachments = recipientAttachments; return this; } - + + /** + * addRecipientAttachmentsItem. + * + * @return CarbonCopy + **/ public CarbonCopy addRecipientAttachmentsItem(RecipientAttachment recipientAttachmentsItem) { + if (this.recipientAttachments == null) { + this.recipientAttachments = new java.util.ArrayList(); + } this.recipientAttachments.add(recipientAttachmentsItem); return this; } - /** - * Reserved: + /** + * Reserved:. * @return recipientAttachments - **/ - @ApiModelProperty(example = "null", value = "Reserved:") + **/ + @ApiModelProperty(value = "Reserved:") public java.util.List getRecipientAttachments() { return recipientAttachments; } + /** + * setRecipientAttachments. + **/ public void setRecipientAttachments(java.util.List recipientAttachments) { this.recipientAttachments = recipientAttachments; } + + /** + * recipientAuthenticationStatus. + * + * @return CarbonCopy + **/ public CarbonCopy recipientAuthenticationStatus(AuthenticationStatus recipientAuthenticationStatus) { this.recipientAuthenticationStatus = recipientAuthenticationStatus; return this; } - /** - * Get recipientAuthenticationStatus + /** + * Get recipientAuthenticationStatus. * @return recipientAuthenticationStatus - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public AuthenticationStatus getRecipientAuthenticationStatus() { return recipientAuthenticationStatus; } + /** + * setRecipientAuthenticationStatus. + **/ public void setRecipientAuthenticationStatus(AuthenticationStatus recipientAuthenticationStatus) { this.recipientAuthenticationStatus = recipientAuthenticationStatus; } + + /** + * recipientId. + * + * @return CarbonCopy + **/ public CarbonCopy recipientId(String recipientId) { this.recipientId = recipientId; return this; } - /** - * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document. + /** + * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.. * @return recipientId - **/ - @ApiModelProperty(example = "null", value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") + **/ + @ApiModelProperty(value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") public String getRecipientId() { return recipientId; } + /** + * setRecipientId. + **/ public void setRecipientId(String recipientId) { this.recipientId = recipientId; } + + /** + * recipientIdGuid. + * + * @return CarbonCopy + **/ public CarbonCopy recipientIdGuid(String recipientIdGuid) { this.recipientIdGuid = recipientIdGuid; return this; } - /** - * + /** + * . * @return recipientIdGuid - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getRecipientIdGuid() { return recipientIdGuid; } + /** + * setRecipientIdGuid. + **/ public void setRecipientIdGuid(String recipientIdGuid) { this.recipientIdGuid = recipientIdGuid; } + + /** + * requireIdLookup. + * + * @return CarbonCopy + **/ public CarbonCopy requireIdLookup(String requireIdLookup) { this.requireIdLookup = requireIdLookup; return this; } - /** - * When set to **true**, the recipient is required to use the specified ID check method (including Phone and SMS authentication) to validate their identity. + /** + * When set to **true**, the recipient is required to use the specified ID check method (including Phone and SMS authentication) to validate their identity. . * @return requireIdLookup - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the recipient is required to use the specified ID check method (including Phone and SMS authentication) to validate their identity. ") + **/ + @ApiModelProperty(value = "When set to **true**, the recipient is required to use the specified ID check method (including Phone and SMS authentication) to validate their identity. ") public String getRequireIdLookup() { return requireIdLookup; } + /** + * setRequireIdLookup. + **/ public void setRequireIdLookup(String requireIdLookup) { this.requireIdLookup = requireIdLookup; } + + /** + * roleName. + * + * @return CarbonCopy + **/ public CarbonCopy roleName(String roleName) { this.roleName = roleName; return this; } - /** - * Optional element. Specifies the role name associated with the recipient.

This is required when working with template recipients. + /** + * Optional element. Specifies the role name associated with the recipient.

This is required when working with template recipients.. * @return roleName - **/ - @ApiModelProperty(example = "null", value = "Optional element. Specifies the role name associated with the recipient.

This is required when working with template recipients.") + **/ + @ApiModelProperty(value = "Optional element. Specifies the role name associated with the recipient.

This is required when working with template recipients.") public String getRoleName() { return roleName; } + /** + * setRoleName. + **/ public void setRoleName(String roleName) { this.roleName = roleName; } + + /** + * routingOrder. + * + * @return CarbonCopy + **/ public CarbonCopy routingOrder(String routingOrder) { this.routingOrder = routingOrder; return this; } - /** - * Specifies the routing order of the recipient in the envelope. + /** + * Specifies the routing order of the recipient in the envelope. . * @return routingOrder - **/ - @ApiModelProperty(example = "null", value = "Specifies the routing order of the recipient in the envelope. ") + **/ + @ApiModelProperty(value = "Specifies the routing order of the recipient in the envelope. ") public String getRoutingOrder() { return routingOrder; } + /** + * setRoutingOrder. + **/ public void setRoutingOrder(String routingOrder) { this.routingOrder = routingOrder; } + + /** + * samlAuthentication. + * + * @return CarbonCopy + **/ public CarbonCopy samlAuthentication(RecipientSAMLAuthentication samlAuthentication) { this.samlAuthentication = samlAuthentication; return this; } - /** - * Get samlAuthentication + /** + * Get samlAuthentication. * @return samlAuthentication - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public RecipientSAMLAuthentication getSamlAuthentication() { return samlAuthentication; } + /** + * setSamlAuthentication. + **/ public void setSamlAuthentication(RecipientSAMLAuthentication samlAuthentication) { this.samlAuthentication = samlAuthentication; } + + /** + * sentDateTime. + * + * @return CarbonCopy + **/ public CarbonCopy sentDateTime(String sentDateTime) { this.sentDateTime = sentDateTime; return this; } - /** - * The date and time the envelope was sent. + /** + * The date and time the envelope was sent.. * @return sentDateTime - **/ - @ApiModelProperty(example = "null", value = "The date and time the envelope was sent.") + **/ + @ApiModelProperty(value = "The date and time the envelope was sent.") public String getSentDateTime() { return sentDateTime; } + /** + * setSentDateTime. + **/ public void setSentDateTime(String sentDateTime) { this.sentDateTime = sentDateTime; } + + /** + * signedDateTime. + * + * @return CarbonCopy + **/ public CarbonCopy signedDateTime(String signedDateTime) { this.signedDateTime = signedDateTime; return this; } - /** - * Reserved: For DocuSign use only. + /** + * Reserved: For DocuSign use only. . * @return signedDateTime - **/ - @ApiModelProperty(example = "null", value = "Reserved: For DocuSign use only. ") + **/ + @ApiModelProperty(value = "Reserved: For DocuSign use only. ") public String getSignedDateTime() { return signedDateTime; } + /** + * setSignedDateTime. + **/ public void setSignedDateTime(String signedDateTime) { this.signedDateTime = signedDateTime; } + + /** + * signingGroupId. + * + * @return CarbonCopy + **/ public CarbonCopy signingGroupId(String signingGroupId) { this.signingGroupId = signingGroupId; return this; } - /** - * When set to **true** and the feature is enabled in the sender's account, the signing recipient is required to draw signatures and initials at each signature/initial tab ( instead of adopting a signature/initial style or only drawing a signature/initial once). + /** + * When set to **true** and the feature is enabled in the sender's account, the signing recipient is required to draw signatures and initials at each signature/initial tab ( instead of adopting a signature/initial style or only drawing a signature/initial once).. * @return signingGroupId - **/ - @ApiModelProperty(example = "null", value = "When set to **true** and the feature is enabled in the sender's account, the signing recipient is required to draw signatures and initials at each signature/initial tab ( instead of adopting a signature/initial style or only drawing a signature/initial once).") + **/ + @ApiModelProperty(value = "When set to **true** and the feature is enabled in the sender's account, the signing recipient is required to draw signatures and initials at each signature/initial tab ( instead of adopting a signature/initial style or only drawing a signature/initial once).") public String getSigningGroupId() { return signingGroupId; } + /** + * setSigningGroupId. + **/ public void setSigningGroupId(String signingGroupId) { this.signingGroupId = signingGroupId; } + + /** + * signingGroupName. + * + * @return CarbonCopy + **/ public CarbonCopy signingGroupName(String signingGroupName) { this.signingGroupName = signingGroupName; return this; } - /** - * The display name for the signing group. Maximum Length: 100 characters. + /** + * The display name for the signing group. Maximum Length: 100 characters. . * @return signingGroupName - **/ - @ApiModelProperty(example = "null", value = "The display name for the signing group. Maximum Length: 100 characters. ") + **/ + @ApiModelProperty(value = "The display name for the signing group. Maximum Length: 100 characters. ") public String getSigningGroupName() { return signingGroupName; } + /** + * setSigningGroupName. + **/ public void setSigningGroupName(String signingGroupName) { this.signingGroupName = signingGroupName; } + + /** + * signingGroupUsers. + * + * @return CarbonCopy + **/ public CarbonCopy signingGroupUsers(java.util.List signingGroupUsers) { this.signingGroupUsers = signingGroupUsers; return this; } - + + /** + * addSigningGroupUsersItem. + * + * @return CarbonCopy + **/ public CarbonCopy addSigningGroupUsersItem(UserInfo signingGroupUsersItem) { + if (this.signingGroupUsers == null) { + this.signingGroupUsers = new java.util.ArrayList(); + } this.signingGroupUsers.add(signingGroupUsersItem); return this; } - /** - * A complex type that contains information about users in the signing group. + /** + * A complex type that contains information about users in the signing group.. * @return signingGroupUsers - **/ - @ApiModelProperty(example = "null", value = "A complex type that contains information about users in the signing group.") + **/ + @ApiModelProperty(value = "A complex type that contains information about users in the signing group.") public java.util.List getSigningGroupUsers() { return signingGroupUsers; } + /** + * setSigningGroupUsers. + **/ public void setSigningGroupUsers(java.util.List signingGroupUsers) { this.signingGroupUsers = signingGroupUsers; } + + /** + * smsAuthentication. + * + * @return CarbonCopy + **/ public CarbonCopy smsAuthentication(RecipientSMSAuthentication smsAuthentication) { this.smsAuthentication = smsAuthentication; return this; } - /** - * Get smsAuthentication + /** + * Get smsAuthentication. * @return smsAuthentication - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public RecipientSMSAuthentication getSmsAuthentication() { return smsAuthentication; } + /** + * setSmsAuthentication. + **/ public void setSmsAuthentication(RecipientSMSAuthentication smsAuthentication) { this.smsAuthentication = smsAuthentication; } + + /** + * socialAuthentications. + * + * @return CarbonCopy + **/ public CarbonCopy socialAuthentications(java.util.List socialAuthentications) { this.socialAuthentications = socialAuthentications; return this; } - + + /** + * addSocialAuthenticationsItem. + * + * @return CarbonCopy + **/ public CarbonCopy addSocialAuthenticationsItem(SocialAuthentication socialAuthenticationsItem) { + if (this.socialAuthentications == null) { + this.socialAuthentications = new java.util.ArrayList(); + } this.socialAuthentications.add(socialAuthenticationsItem); return this; } - /** - * Lists the social ID type that can be used for recipient authentication. + /** + * Lists the social ID type that can be used for recipient authentication.. * @return socialAuthentications - **/ - @ApiModelProperty(example = "null", value = " Lists the social ID type that can be used for recipient authentication.") + **/ + @ApiModelProperty(value = " Lists the social ID type that can be used for recipient authentication.") public java.util.List getSocialAuthentications() { return socialAuthentications; } + /** + * setSocialAuthentications. + **/ public void setSocialAuthentications(java.util.List socialAuthentications) { this.socialAuthentications = socialAuthentications; } + + /** + * status. + * + * @return CarbonCopy + **/ public CarbonCopy status(String status) { this.status = status; return this; } - /** - * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. + /** + * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.. * @return status - **/ - @ApiModelProperty(example = "null", value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") + **/ + @ApiModelProperty(value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") public String getStatus() { return status; } + /** + * setStatus. + **/ public void setStatus(String status) { this.status = status; } + + /** + * templateLocked. + * + * @return CarbonCopy + **/ public CarbonCopy templateLocked(String templateLocked) { this.templateLocked = templateLocked; return this; } - /** - * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. . * @return templateLocked - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") + **/ + @ApiModelProperty(value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") public String getTemplateLocked() { return templateLocked; } + /** + * setTemplateLocked. + **/ public void setTemplateLocked(String templateLocked) { this.templateLocked = templateLocked; } + + /** + * templateRequired. + * + * @return CarbonCopy + **/ public CarbonCopy templateRequired(String templateRequired) { this.templateRequired = templateRequired; return this; } - /** - * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.. * @return templateRequired - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") + **/ + @ApiModelProperty(value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") public String getTemplateRequired() { return templateRequired; } + /** + * setTemplateRequired. + **/ public void setTemplateRequired(String templateRequired) { this.templateRequired = templateRequired; } + + /** + * totalTabCount. + * + * @return CarbonCopy + **/ public CarbonCopy totalTabCount(String totalTabCount) { this.totalTabCount = totalTabCount; return this; } - /** - * + /** + * . * @return totalTabCount - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTotalTabCount() { return totalTabCount; } + /** + * setTotalTabCount. + **/ public void setTotalTabCount(String totalTabCount) { this.totalTabCount = totalTabCount; } + + /** + * userId. + * + * @return CarbonCopy + **/ public CarbonCopy userId(String userId) { this.userId = userId; return this; } - /** - * + /** + * . * @return userId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getUserId() { return userId; } + /** + * setUserId. + **/ public void setUserId(String userId) { this.userId = userId; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -1071,11 +1612,13 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.fullName, carbonCopy.fullName) && Objects.equals(this.idCheckConfigurationName, carbonCopy.idCheckConfigurationName) && Objects.equals(this.idCheckInformationInput, carbonCopy.idCheckInformationInput) && + Objects.equals(this.identityVerification, carbonCopy.identityVerification) && Objects.equals(this.inheritEmailNotificationConfiguration, carbonCopy.inheritEmailNotificationConfiguration) && Objects.equals(this.lastName, carbonCopy.lastName) && Objects.equals(this.name, carbonCopy.name) && Objects.equals(this.note, carbonCopy.note) && Objects.equals(this.phoneAuthentication, carbonCopy.phoneAuthentication) && + Objects.equals(this.proofFile, carbonCopy.proofFile) && Objects.equals(this.recipientAttachments, carbonCopy.recipientAttachments) && Objects.equals(this.recipientAuthenticationStatus, carbonCopy.recipientAuthenticationStatus) && Objects.equals(this.recipientId, carbonCopy.recipientId) && @@ -1098,12 +1641,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.userId, carbonCopy.userId); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { - return Objects.hash(accessCode, addAccessCodeToEmail, agentCanEditEmail, agentCanEditName, clientUserId, customFields, declinedDateTime, declinedReason, deliveredDateTime, deliveryMethod, documentVisibility, email, emailNotification, emailRecipientPostSigningURL, embeddedRecipientStartURL, errorDetails, excludedDocuments, faxNumber, firstName, fullName, idCheckConfigurationName, idCheckInformationInput, inheritEmailNotificationConfiguration, lastName, name, note, phoneAuthentication, recipientAttachments, recipientAuthenticationStatus, recipientId, recipientIdGuid, requireIdLookup, roleName, routingOrder, samlAuthentication, sentDateTime, signedDateTime, signingGroupId, signingGroupName, signingGroupUsers, smsAuthentication, socialAuthentications, status, templateLocked, templateRequired, totalTabCount, userId); + return Objects.hash(accessCode, addAccessCodeToEmail, agentCanEditEmail, agentCanEditName, clientUserId, customFields, declinedDateTime, declinedReason, deliveredDateTime, deliveryMethod, documentVisibility, email, emailNotification, emailRecipientPostSigningURL, embeddedRecipientStartURL, errorDetails, excludedDocuments, faxNumber, firstName, fullName, idCheckConfigurationName, idCheckInformationInput, identityVerification, inheritEmailNotificationConfiguration, lastName, name, note, phoneAuthentication, proofFile, recipientAttachments, recipientAuthenticationStatus, recipientId, recipientIdGuid, requireIdLookup, roleName, routingOrder, samlAuthentication, sentDateTime, signedDateTime, signingGroupId, signingGroupName, signingGroupUsers, smsAuthentication, socialAuthentications, status, templateLocked, templateRequired, totalTabCount, userId); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -1131,11 +1680,13 @@ public String toString() { sb.append(" fullName: ").append(toIndentedString(fullName)).append("\n"); sb.append(" idCheckConfigurationName: ").append(toIndentedString(idCheckConfigurationName)).append("\n"); sb.append(" idCheckInformationInput: ").append(toIndentedString(idCheckInformationInput)).append("\n"); + sb.append(" identityVerification: ").append(toIndentedString(identityVerification)).append("\n"); sb.append(" inheritEmailNotificationConfiguration: ").append(toIndentedString(inheritEmailNotificationConfiguration)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append(" note: ").append(toIndentedString(note)).append("\n"); sb.append(" phoneAuthentication: ").append(toIndentedString(phoneAuthentication)).append("\n"); + sb.append(" proofFile: ").append(toIndentedString(proofFile)).append("\n"); sb.append(" recipientAttachments: ").append(toIndentedString(recipientAttachments)).append("\n"); sb.append(" recipientAuthenticationStatus: ").append(toIndentedString(recipientAuthenticationStatus)).append("\n"); sb.append(" recipientId: ").append(toIndentedString(recipientId)).append("\n"); @@ -1170,6 +1721,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/CertifiedDelivery.java b/src/main/java/com/docusign/esign/model/CertifiedDelivery.java index 596022b7..3e1e97fa 100644 --- a/src/main/java/com/docusign/esign/model/CertifiedDelivery.java +++ b/src/main/java/com/docusign/esign/model/CertifiedDelivery.java @@ -1,24 +1,29 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.AuthenticationStatus; import com.docusign.esign.model.DocumentVisibility; import com.docusign.esign.model.ErrorDetails; import com.docusign.esign.model.IdCheckInformationInput; import com.docusign.esign.model.RecipientAttachment; import com.docusign.esign.model.RecipientEmailNotification; +import com.docusign.esign.model.RecipientIdentityVerification; import com.docusign.esign.model.RecipientPhoneAuthentication; +import com.docusign.esign.model.RecipientProofFile; import com.docusign.esign.model.RecipientSAMLAuthentication; import com.docusign.esign.model.RecipientSMSAuthentication; import com.docusign.esign.model.SocialAuthentication; import com.docusign.esign.model.UserInfo; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * CertifiedDelivery + * CertifiedDelivery. + * */ public class CertifiedDelivery { @@ -38,7 +43,7 @@ public class CertifiedDelivery { private String clientUserId = null; @JsonProperty("customFields") - private java.util.List customFields = new java.util.ArrayList(); + private java.util.List customFields = null; @JsonProperty("declinedDateTime") private String declinedDateTime = null; @@ -53,7 +58,7 @@ public class CertifiedDelivery { private String deliveryMethod = null; @JsonProperty("documentVisibility") - private java.util.List documentVisibility = new java.util.ArrayList(); + private java.util.List documentVisibility = null; @JsonProperty("email") private String email = null; @@ -71,7 +76,7 @@ public class CertifiedDelivery { private ErrorDetails errorDetails = null; @JsonProperty("excludedDocuments") - private java.util.List excludedDocuments = new java.util.ArrayList(); + private java.util.List excludedDocuments = null; @JsonProperty("faxNumber") private String faxNumber = null; @@ -88,6 +93,9 @@ public class CertifiedDelivery { @JsonProperty("idCheckInformationInput") private IdCheckInformationInput idCheckInformationInput = null; + @JsonProperty("identityVerification") + private RecipientIdentityVerification identityVerification = null; + @JsonProperty("inheritEmailNotificationConfiguration") private String inheritEmailNotificationConfiguration = null; @@ -103,8 +111,11 @@ public class CertifiedDelivery { @JsonProperty("phoneAuthentication") private RecipientPhoneAuthentication phoneAuthentication = null; + @JsonProperty("proofFile") + private RecipientProofFile proofFile = null; + @JsonProperty("recipientAttachments") - private java.util.List recipientAttachments = new java.util.ArrayList(); + private java.util.List recipientAttachments = null; @JsonProperty("recipientAuthenticationStatus") private AuthenticationStatus recipientAuthenticationStatus = null; @@ -140,13 +151,13 @@ public class CertifiedDelivery { private String signingGroupName = null; @JsonProperty("signingGroupUsers") - private java.util.List signingGroupUsers = new java.util.ArrayList(); + private java.util.List signingGroupUsers = null; @JsonProperty("smsAuthentication") private RecipientSMSAuthentication smsAuthentication = null; @JsonProperty("socialAuthentications") - private java.util.List socialAuthentications = new java.util.ArrayList(); + private java.util.List socialAuthentications = null; @JsonProperty("status") private String status = null; @@ -163,883 +174,1413 @@ public class CertifiedDelivery { @JsonProperty("userId") private String userId = null; + + /** + * accessCode. + * + * @return CertifiedDelivery + **/ public CertifiedDelivery accessCode(String accessCode) { this.accessCode = accessCode; return this; } - /** - * If a value is provided, the recipient must enter the value as the access code to view and sign the envelope. Maximum Length: 50 characters and it must conform to the account's access code format setting. If blank, but the signer `accessCode` property is set in the envelope, then that value is used. If blank and the signer `accessCode` property is not set, then the access code is not required. + /** + * If a value is provided, the recipient must enter the value as the access code to view and sign the envelope. Maximum Length: 50 characters and it must conform to the account's access code format setting. If blank, but the signer `accessCode` property is set in the envelope, then that value is used. If blank and the signer `accessCode` property is not set, then the access code is not required.. * @return accessCode - **/ - @ApiModelProperty(example = "null", value = "If a value is provided, the recipient must enter the value as the access code to view and sign the envelope. Maximum Length: 50 characters and it must conform to the account's access code format setting. If blank, but the signer `accessCode` property is set in the envelope, then that value is used. If blank and the signer `accessCode` property is not set, then the access code is not required.") + **/ + @ApiModelProperty(value = "If a value is provided, the recipient must enter the value as the access code to view and sign the envelope. Maximum Length: 50 characters and it must conform to the account's access code format setting. If blank, but the signer `accessCode` property is set in the envelope, then that value is used. If blank and the signer `accessCode` property is not set, then the access code is not required.") public String getAccessCode() { return accessCode; } + /** + * setAccessCode. + **/ public void setAccessCode(String accessCode) { this.accessCode = accessCode; } + + /** + * addAccessCodeToEmail. + * + * @return CertifiedDelivery + **/ public CertifiedDelivery addAccessCodeToEmail(String addAccessCodeToEmail) { this.addAccessCodeToEmail = addAccessCodeToEmail; return this; } - /** - * This Optional attribute indicates that the access code will be added to the email sent to the recipient; this nullifies the Security measure of Access Code on the recipient. + /** + * This Optional attribute indicates that the access code will be added to the email sent to the recipient; this nullifies the Security measure of Access Code on the recipient.. * @return addAccessCodeToEmail - **/ - @ApiModelProperty(example = "null", value = "This Optional attribute indicates that the access code will be added to the email sent to the recipient; this nullifies the Security measure of Access Code on the recipient.") + **/ + @ApiModelProperty(value = "This Optional attribute indicates that the access code will be added to the email sent to the recipient; this nullifies the Security measure of Access Code on the recipient.") public String getAddAccessCodeToEmail() { return addAccessCodeToEmail; } + /** + * setAddAccessCodeToEmail. + **/ public void setAddAccessCodeToEmail(String addAccessCodeToEmail) { this.addAccessCodeToEmail = addAccessCodeToEmail; } + + /** + * agentCanEditEmail. + * + * @return CertifiedDelivery + **/ public CertifiedDelivery agentCanEditEmail(String agentCanEditEmail) { this.agentCanEditEmail = agentCanEditEmail; return this; } - /** - * + /** + * . * @return agentCanEditEmail - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAgentCanEditEmail() { return agentCanEditEmail; } + /** + * setAgentCanEditEmail. + **/ public void setAgentCanEditEmail(String agentCanEditEmail) { this.agentCanEditEmail = agentCanEditEmail; } + + /** + * agentCanEditName. + * + * @return CertifiedDelivery + **/ public CertifiedDelivery agentCanEditName(String agentCanEditName) { this.agentCanEditName = agentCanEditName; return this; } - /** - * + /** + * . * @return agentCanEditName - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAgentCanEditName() { return agentCanEditName; } + /** + * setAgentCanEditName. + **/ public void setAgentCanEditName(String agentCanEditName) { this.agentCanEditName = agentCanEditName; } + + /** + * clientUserId. + * + * @return CertifiedDelivery + **/ public CertifiedDelivery clientUserId(String clientUserId) { this.clientUserId = clientUserId; return this; } - /** - * Specifies whether the recipient is embedded or remote. If the `clientUserId` property is not null then the recipient is embedded. Note that if the `ClientUserId` property is set and either `SignerMustHaveAccount` or `SignerMustLoginToSign` property of the account settings is set to **true**, an error is generated on sending.ng. Maximum length: 100 characters. + /** + * Specifies whether the recipient is embedded or remote. If the `clientUserId` property is not null then the recipient is embedded. Note that if the `ClientUserId` property is set and either `SignerMustHaveAccount` or `SignerMustLoginToSign` property of the account settings is set to **true**, an error is generated on sending.ng. Maximum length: 100 characters. . * @return clientUserId - **/ - @ApiModelProperty(example = "null", value = "Specifies whether the recipient is embedded or remote. If the `clientUserId` property is not null then the recipient is embedded. Note that if the `ClientUserId` property is set and either `SignerMustHaveAccount` or `SignerMustLoginToSign` property of the account settings is set to **true**, an error is generated on sending.ng. Maximum length: 100 characters. ") + **/ + @ApiModelProperty(value = "Specifies whether the recipient is embedded or remote. If the `clientUserId` property is not null then the recipient is embedded. Note that if the `ClientUserId` property is set and either `SignerMustHaveAccount` or `SignerMustLoginToSign` property of the account settings is set to **true**, an error is generated on sending.ng. Maximum length: 100 characters. ") public String getClientUserId() { return clientUserId; } + /** + * setClientUserId. + **/ public void setClientUserId(String clientUserId) { this.clientUserId = clientUserId; } + + /** + * customFields. + * + * @return CertifiedDelivery + **/ public CertifiedDelivery customFields(java.util.List customFields) { this.customFields = customFields; return this; } - + + /** + * addCustomFieldsItem. + * + * @return CertifiedDelivery + **/ public CertifiedDelivery addCustomFieldsItem(String customFieldsItem) { + if (this.customFields == null) { + this.customFields = new java.util.ArrayList(); + } this.customFields.add(customFieldsItem); return this; } - /** - * An optional array of strings that allows the sender to provide custom data about the recipient. This information is returned in the envelope status but otherwise not used by DocuSign. Each customField string can be a maximum of 100 characters. + /** + * An optional array of strings that allows the sender to provide custom data about the recipient. This information is returned in the envelope status but otherwise not used by DocuSign. Each customField string can be a maximum of 100 characters.. * @return customFields - **/ - @ApiModelProperty(example = "null", value = "An optional array of strings that allows the sender to provide custom data about the recipient. This information is returned in the envelope status but otherwise not used by DocuSign. Each customField string can be a maximum of 100 characters.") + **/ + @ApiModelProperty(value = "An optional array of strings that allows the sender to provide custom data about the recipient. This information is returned in the envelope status but otherwise not used by DocuSign. Each customField string can be a maximum of 100 characters.") public java.util.List getCustomFields() { return customFields; } + /** + * setCustomFields. + **/ public void setCustomFields(java.util.List customFields) { this.customFields = customFields; } + + /** + * declinedDateTime. + * + * @return CertifiedDelivery + **/ public CertifiedDelivery declinedDateTime(String declinedDateTime) { this.declinedDateTime = declinedDateTime; return this; } - /** - * The date and time the recipient declined the document. + /** + * The date and time the recipient declined the document.. * @return declinedDateTime - **/ - @ApiModelProperty(example = "null", value = "The date and time the recipient declined the document.") + **/ + @ApiModelProperty(value = "The date and time the recipient declined the document.") public String getDeclinedDateTime() { return declinedDateTime; } + /** + * setDeclinedDateTime. + **/ public void setDeclinedDateTime(String declinedDateTime) { this.declinedDateTime = declinedDateTime; } + + /** + * declinedReason. + * + * @return CertifiedDelivery + **/ public CertifiedDelivery declinedReason(String declinedReason) { this.declinedReason = declinedReason; return this; } - /** - * The reason the recipient declined the document. + /** + * The reason the recipient declined the document.. * @return declinedReason - **/ - @ApiModelProperty(example = "null", value = "The reason the recipient declined the document.") + **/ + @ApiModelProperty(value = "The reason the recipient declined the document.") public String getDeclinedReason() { return declinedReason; } + /** + * setDeclinedReason. + **/ public void setDeclinedReason(String declinedReason) { this.declinedReason = declinedReason; } + + /** + * deliveredDateTime. + * + * @return CertifiedDelivery + **/ public CertifiedDelivery deliveredDateTime(String deliveredDateTime) { this.deliveredDateTime = deliveredDateTime; return this; } - /** - * Reserved: For DocuSign use only. + /** + * Reserved: For DocuSign use only.. * @return deliveredDateTime - **/ - @ApiModelProperty(example = "null", value = "Reserved: For DocuSign use only.") + **/ + @ApiModelProperty(value = "Reserved: For DocuSign use only.") public String getDeliveredDateTime() { return deliveredDateTime; } + /** + * setDeliveredDateTime. + **/ public void setDeliveredDateTime(String deliveredDateTime) { this.deliveredDateTime = deliveredDateTime; } + + /** + * deliveryMethod. + * + * @return CertifiedDelivery + **/ public CertifiedDelivery deliveryMethod(String deliveryMethod) { this.deliveryMethod = deliveryMethod; return this; } - /** - * Reserved: For DocuSign use only. + /** + * Reserved: For DocuSign use only.. * @return deliveryMethod - **/ - @ApiModelProperty(example = "null", value = "Reserved: For DocuSign use only.") + **/ + @ApiModelProperty(value = "Reserved: For DocuSign use only.") public String getDeliveryMethod() { return deliveryMethod; } + /** + * setDeliveryMethod. + **/ public void setDeliveryMethod(String deliveryMethod) { this.deliveryMethod = deliveryMethod; } + + /** + * documentVisibility. + * + * @return CertifiedDelivery + **/ public CertifiedDelivery documentVisibility(java.util.List documentVisibility) { this.documentVisibility = documentVisibility; return this; } - + + /** + * addDocumentVisibilityItem. + * + * @return CertifiedDelivery + **/ public CertifiedDelivery addDocumentVisibilityItem(DocumentVisibility documentVisibilityItem) { + if (this.documentVisibility == null) { + this.documentVisibility = new java.util.ArrayList(); + } this.documentVisibility.add(documentVisibilityItem); return this; } - /** - * + /** + * . * @return documentVisibility - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getDocumentVisibility() { return documentVisibility; } + /** + * setDocumentVisibility. + **/ public void setDocumentVisibility(java.util.List documentVisibility) { this.documentVisibility = documentVisibility; } + + /** + * email. + * + * @return CertifiedDelivery + **/ public CertifiedDelivery email(String email) { this.email = email; return this; } - /** - * + /** + * . * @return email - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getEmail() { return email; } + /** + * setEmail. + **/ public void setEmail(String email) { this.email = email; } + + /** + * emailNotification. + * + * @return CertifiedDelivery + **/ public CertifiedDelivery emailNotification(RecipientEmailNotification emailNotification) { this.emailNotification = emailNotification; return this; } - /** - * Get emailNotification + /** + * Get emailNotification. * @return emailNotification - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public RecipientEmailNotification getEmailNotification() { return emailNotification; } + /** + * setEmailNotification. + **/ public void setEmailNotification(RecipientEmailNotification emailNotification) { this.emailNotification = emailNotification; } + + /** + * emailRecipientPostSigningURL. + * + * @return CertifiedDelivery + **/ public CertifiedDelivery emailRecipientPostSigningURL(String emailRecipientPostSigningURL) { this.emailRecipientPostSigningURL = emailRecipientPostSigningURL; return this; } - /** - * + /** + * . * @return emailRecipientPostSigningURL - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getEmailRecipientPostSigningURL() { return emailRecipientPostSigningURL; } + /** + * setEmailRecipientPostSigningURL. + **/ public void setEmailRecipientPostSigningURL(String emailRecipientPostSigningURL) { this.emailRecipientPostSigningURL = emailRecipientPostSigningURL; } + + /** + * embeddedRecipientStartURL. + * + * @return CertifiedDelivery + **/ public CertifiedDelivery embeddedRecipientStartURL(String embeddedRecipientStartURL) { this.embeddedRecipientStartURL = embeddedRecipientStartURL; return this; } - /** - * Specifies a sender provided valid URL string for redirecting an embedded recipient. When using this option, the embedded recipient still receives an email from DocuSign, just as a remote recipient would. When the document link in the email is clicked the recipient is redirected, through DocuSign, to the supplied URL to complete their actions. When routing to the URL, the sender's system (the server responding to the URL) must request a recipient token to launch a signing session. If set to `SIGN_AT_DOCUSIGN`, the recipient is directed to an embedded signing or viewing process directly at DocuSign. The signing or viewing action is initiated by the DocuSign system and the transaction activity and Certificate of Completion records will reflect this. In all other ways the process is identical to an embedded signing or viewing operation that is launched by any partner. It is important to remember that in a typical embedded workflow the authentication of an embedded recipient is the responsibility of the sending application, DocuSign expects that senders will follow their own process for establishing the recipient's identity. In this workflow the recipient goes through the sending application before the embedded signing or viewing process in initiated. However, when the sending application sets `EmbeddedRecipientStartURL=SIGN_AT_DOCUSIGN`, the recipient goes directly to the embedded signing or viewing process bypassing the sending application and any authentication steps the sending application would use. In this case, DocuSign recommends that you use one of the normal DocuSign authentication features (Access Code, Phone Authentication, SMS Authentication, etc.) to verify the identity of the recipient. If the `clientUserId` property is NOT set, and the `embeddedRecipientStartURL` is set, DocuSign will ignore the redirect URL and launch the standard signing process for the email recipient. Information can be appended to the embedded recipient start URL using merge fields. The available merge fields items are: envelopeId, recipientId, recipientName, recipientEmail, and customFields. The `customFields` property must be set fort the recipient or envelope. The merge fields are enclosed in double brackets. *Example*: `http://senderHost/[[mergeField1]]/ beginSigningSession? [[mergeField2]]&[[mergeField3]]` + /** + * Specifies a sender provided valid URL string for redirecting an embedded recipient. When using this option, the embedded recipient still receives an email from DocuSign, just as a remote recipient would. When the document link in the email is clicked the recipient is redirected, through DocuSign, to the supplied URL to complete their actions. When routing to the URL, the sender's system (the server responding to the URL) must request a recipient token to launch a signing session. If set to `SIGN_AT_DOCUSIGN`, the recipient is directed to an embedded signing or viewing process directly at DocuSign. The signing or viewing action is initiated by the DocuSign system and the transaction activity and Certificate of Completion records will reflect this. In all other ways the process is identical to an embedded signing or viewing operation that is launched by any partner. It is important to remember that in a typical embedded workflow the authentication of an embedded recipient is the responsibility of the sending application, DocuSign expects that senders will follow their own process for establishing the recipient's identity. In this workflow the recipient goes through the sending application before the embedded signing or viewing process in initiated. However, when the sending application sets `EmbeddedRecipientStartURL=SIGN_AT_DOCUSIGN`, the recipient goes directly to the embedded signing or viewing process bypassing the sending application and any authentication steps the sending application would use. In this case, DocuSign recommends that you use one of the normal DocuSign authentication features (Access Code, Phone Authentication, SMS Authentication, etc.) to verify the identity of the recipient. If the `clientUserId` property is NOT set, and the `embeddedRecipientStartURL` is set, DocuSign will ignore the redirect URL and launch the standard signing process for the email recipient. Information can be appended to the embedded recipient start URL using merge fields. The available merge fields items are: envelopeId, recipientId, recipientName, recipientEmail, and customFields. The `customFields` property must be set fort the recipient or envelope. The merge fields are enclosed in double brackets. *Example*: `http://senderHost/[[mergeField1]]/ beginSigningSession? [[mergeField2]]&[[mergeField3]]` . * @return embeddedRecipientStartURL - **/ - @ApiModelProperty(example = "null", value = "Specifies a sender provided valid URL string for redirecting an embedded recipient. When using this option, the embedded recipient still receives an email from DocuSign, just as a remote recipient would. When the document link in the email is clicked the recipient is redirected, through DocuSign, to the supplied URL to complete their actions. When routing to the URL, the sender's system (the server responding to the URL) must request a recipient token to launch a signing session. If set to `SIGN_AT_DOCUSIGN`, the recipient is directed to an embedded signing or viewing process directly at DocuSign. The signing or viewing action is initiated by the DocuSign system and the transaction activity and Certificate of Completion records will reflect this. In all other ways the process is identical to an embedded signing or viewing operation that is launched by any partner. It is important to remember that in a typical embedded workflow the authentication of an embedded recipient is the responsibility of the sending application, DocuSign expects that senders will follow their own process for establishing the recipient's identity. In this workflow the recipient goes through the sending application before the embedded signing or viewing process in initiated. However, when the sending application sets `EmbeddedRecipientStartURL=SIGN_AT_DOCUSIGN`, the recipient goes directly to the embedded signing or viewing process bypassing the sending application and any authentication steps the sending application would use. In this case, DocuSign recommends that you use one of the normal DocuSign authentication features (Access Code, Phone Authentication, SMS Authentication, etc.) to verify the identity of the recipient. If the `clientUserId` property is NOT set, and the `embeddedRecipientStartURL` is set, DocuSign will ignore the redirect URL and launch the standard signing process for the email recipient. Information can be appended to the embedded recipient start URL using merge fields. The available merge fields items are: envelopeId, recipientId, recipientName, recipientEmail, and customFields. The `customFields` property must be set fort the recipient or envelope. The merge fields are enclosed in double brackets. *Example*: `http://senderHost/[[mergeField1]]/ beginSigningSession? [[mergeField2]]&[[mergeField3]]` ") + **/ + @ApiModelProperty(value = "Specifies a sender provided valid URL string for redirecting an embedded recipient. When using this option, the embedded recipient still receives an email from DocuSign, just as a remote recipient would. When the document link in the email is clicked the recipient is redirected, through DocuSign, to the supplied URL to complete their actions. When routing to the URL, the sender's system (the server responding to the URL) must request a recipient token to launch a signing session. If set to `SIGN_AT_DOCUSIGN`, the recipient is directed to an embedded signing or viewing process directly at DocuSign. The signing or viewing action is initiated by the DocuSign system and the transaction activity and Certificate of Completion records will reflect this. In all other ways the process is identical to an embedded signing or viewing operation that is launched by any partner. It is important to remember that in a typical embedded workflow the authentication of an embedded recipient is the responsibility of the sending application, DocuSign expects that senders will follow their own process for establishing the recipient's identity. In this workflow the recipient goes through the sending application before the embedded signing or viewing process in initiated. However, when the sending application sets `EmbeddedRecipientStartURL=SIGN_AT_DOCUSIGN`, the recipient goes directly to the embedded signing or viewing process bypassing the sending application and any authentication steps the sending application would use. In this case, DocuSign recommends that you use one of the normal DocuSign authentication features (Access Code, Phone Authentication, SMS Authentication, etc.) to verify the identity of the recipient. If the `clientUserId` property is NOT set, and the `embeddedRecipientStartURL` is set, DocuSign will ignore the redirect URL and launch the standard signing process for the email recipient. Information can be appended to the embedded recipient start URL using merge fields. The available merge fields items are: envelopeId, recipientId, recipientName, recipientEmail, and customFields. The `customFields` property must be set fort the recipient or envelope. The merge fields are enclosed in double brackets. *Example*: `http://senderHost/[[mergeField1]]/ beginSigningSession? [[mergeField2]]&[[mergeField3]]` ") public String getEmbeddedRecipientStartURL() { return embeddedRecipientStartURL; } + /** + * setEmbeddedRecipientStartURL. + **/ public void setEmbeddedRecipientStartURL(String embeddedRecipientStartURL) { this.embeddedRecipientStartURL = embeddedRecipientStartURL; } + + /** + * errorDetails. + * + * @return CertifiedDelivery + **/ public CertifiedDelivery errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * excludedDocuments. + * + * @return CertifiedDelivery + **/ public CertifiedDelivery excludedDocuments(java.util.List excludedDocuments) { this.excludedDocuments = excludedDocuments; return this; } - + + /** + * addExcludedDocumentsItem. + * + * @return CertifiedDelivery + **/ public CertifiedDelivery addExcludedDocumentsItem(String excludedDocumentsItem) { + if (this.excludedDocuments == null) { + this.excludedDocuments = new java.util.ArrayList(); + } this.excludedDocuments.add(excludedDocumentsItem); return this; } - /** - * Specifies the documents that are not visible to this recipient. Document Visibility must be enabled for the account and the `enforceSignerVisibility` property must be set to **true** for the envelope to use this. When enforce signer visibility is enabled, documents with tabs can only be viewed by signers that have a tab on that document. Recipients that have an administrative role (Agent, Editor, or Intermediaries) or informational role (Certified Deliveries or Carbon Copies) can always see all the documents in an envelope, unless they are specifically excluded using this setting when an envelope is sent. Documents that do not have tabs are always visible to all recipients, unless they are specifically excluded using this setting when an envelope is sent. + /** + * Specifies the documents that are not visible to this recipient. Document Visibility must be enabled for the account and the `enforceSignerVisibility` property must be set to **true** for the envelope to use this. When enforce signer visibility is enabled, documents with tabs can only be viewed by signers that have a tab on that document. Recipients that have an administrative role (Agent, Editor, or Intermediaries) or informational role (Certified Deliveries or Carbon Copies) can always see all the documents in an envelope, unless they are specifically excluded using this setting when an envelope is sent. Documents that do not have tabs are always visible to all recipients, unless they are specifically excluded using this setting when an envelope is sent.. * @return excludedDocuments - **/ - @ApiModelProperty(example = "null", value = "Specifies the documents that are not visible to this recipient. Document Visibility must be enabled for the account and the `enforceSignerVisibility` property must be set to **true** for the envelope to use this. When enforce signer visibility is enabled, documents with tabs can only be viewed by signers that have a tab on that document. Recipients that have an administrative role (Agent, Editor, or Intermediaries) or informational role (Certified Deliveries or Carbon Copies) can always see all the documents in an envelope, unless they are specifically excluded using this setting when an envelope is sent. Documents that do not have tabs are always visible to all recipients, unless they are specifically excluded using this setting when an envelope is sent.") + **/ + @ApiModelProperty(value = "Specifies the documents that are not visible to this recipient. Document Visibility must be enabled for the account and the `enforceSignerVisibility` property must be set to **true** for the envelope to use this. When enforce signer visibility is enabled, documents with tabs can only be viewed by signers that have a tab on that document. Recipients that have an administrative role (Agent, Editor, or Intermediaries) or informational role (Certified Deliveries or Carbon Copies) can always see all the documents in an envelope, unless they are specifically excluded using this setting when an envelope is sent. Documents that do not have tabs are always visible to all recipients, unless they are specifically excluded using this setting when an envelope is sent.") public java.util.List getExcludedDocuments() { return excludedDocuments; } + /** + * setExcludedDocuments. + **/ public void setExcludedDocuments(java.util.List excludedDocuments) { this.excludedDocuments = excludedDocuments; } + + /** + * faxNumber. + * + * @return CertifiedDelivery + **/ public CertifiedDelivery faxNumber(String faxNumber) { this.faxNumber = faxNumber; return this; } - /** - * Reserved: + /** + * Reserved:. * @return faxNumber - **/ - @ApiModelProperty(example = "null", value = "Reserved:") + **/ + @ApiModelProperty(value = "Reserved:") public String getFaxNumber() { return faxNumber; } + /** + * setFaxNumber. + **/ public void setFaxNumber(String faxNumber) { this.faxNumber = faxNumber; } + + /** + * firstName. + * + * @return CertifiedDelivery + **/ public CertifiedDelivery firstName(String firstName) { this.firstName = firstName; return this; } - /** - * The user's first name. Maximum Length: 50 characters. + /** + * The user's first name. Maximum Length: 50 characters.. * @return firstName - **/ - @ApiModelProperty(example = "null", value = "The user's first name. Maximum Length: 50 characters.") + **/ + @ApiModelProperty(value = "The user's first name. Maximum Length: 50 characters.") public String getFirstName() { return firstName; } + /** + * setFirstName. + **/ public void setFirstName(String firstName) { this.firstName = firstName; } + + /** + * fullName. + * + * @return CertifiedDelivery + **/ public CertifiedDelivery fullName(String fullName) { this.fullName = fullName; return this; } - /** - * + /** + * . * @return fullName - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getFullName() { return fullName; } + /** + * setFullName. + **/ public void setFullName(String fullName) { this.fullName = fullName; } + + /** + * idCheckConfigurationName. + * + * @return CertifiedDelivery + **/ public CertifiedDelivery idCheckConfigurationName(String idCheckConfigurationName) { this.idCheckConfigurationName = idCheckConfigurationName; return this; } - /** - * Specifies authentication check by name. The names used here must be the same as the authentication type names used by the account (these name can also be found in the web console sending interface in the Identify list for a recipient,) This overrides any default authentication setting. *Example*: Your account has ID Check and SMS Authentication available and in the web console Identify list these appear as 'ID Check $' and 'SMS Auth $'. To use ID check in an envelope, the idCheckConfigurationName should be 'ID Check '. If you wanted to use SMS, it would be 'SMS Auth $' and you would need to add you would need to add phone number information to the `smsAuthentication` node. + /** + * Specifies authentication check by name. The names used here must be the same as the authentication type names used by the account (these name can also be found in the web console sending interface in the Identify list for a recipient,) This overrides any default authentication setting. *Example*: Your account has ID Check and SMS Authentication available and in the web console Identify list these appear as 'ID Check $' and 'SMS Auth $'. To use ID check in an envelope, the idCheckConfigurationName should be 'ID Check '. If you wanted to use SMS, it would be 'SMS Auth $' and you would need to add you would need to add phone number information to the `smsAuthentication` node.. * @return idCheckConfigurationName - **/ - @ApiModelProperty(example = "null", value = "Specifies authentication check by name. The names used here must be the same as the authentication type names used by the account (these name can also be found in the web console sending interface in the Identify list for a recipient,) This overrides any default authentication setting. *Example*: Your account has ID Check and SMS Authentication available and in the web console Identify list these appear as 'ID Check $' and 'SMS Auth $'. To use ID check in an envelope, the idCheckConfigurationName should be 'ID Check '. If you wanted to use SMS, it would be 'SMS Auth $' and you would need to add you would need to add phone number information to the `smsAuthentication` node.") + **/ + @ApiModelProperty(value = "Specifies authentication check by name. The names used here must be the same as the authentication type names used by the account (these name can also be found in the web console sending interface in the Identify list for a recipient,) This overrides any default authentication setting. *Example*: Your account has ID Check and SMS Authentication available and in the web console Identify list these appear as 'ID Check $' and 'SMS Auth $'. To use ID check in an envelope, the idCheckConfigurationName should be 'ID Check '. If you wanted to use SMS, it would be 'SMS Auth $' and you would need to add you would need to add phone number information to the `smsAuthentication` node.") public String getIdCheckConfigurationName() { return idCheckConfigurationName; } + /** + * setIdCheckConfigurationName. + **/ public void setIdCheckConfigurationName(String idCheckConfigurationName) { this.idCheckConfigurationName = idCheckConfigurationName; } + + /** + * idCheckInformationInput. + * + * @return CertifiedDelivery + **/ public CertifiedDelivery idCheckInformationInput(IdCheckInformationInput idCheckInformationInput) { this.idCheckInformationInput = idCheckInformationInput; return this; } - /** - * Get idCheckInformationInput + /** + * Get idCheckInformationInput. * @return idCheckInformationInput - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public IdCheckInformationInput getIdCheckInformationInput() { return idCheckInformationInput; } + /** + * setIdCheckInformationInput. + **/ public void setIdCheckInformationInput(IdCheckInformationInput idCheckInformationInput) { this.idCheckInformationInput = idCheckInformationInput; } + + /** + * identityVerification. + * + * @return CertifiedDelivery + **/ + public CertifiedDelivery identityVerification(RecipientIdentityVerification identityVerification) { + this.identityVerification = identityVerification; + return this; + } + + /** + * Get identityVerification. + * @return identityVerification + **/ + @ApiModelProperty(value = "") + public RecipientIdentityVerification getIdentityVerification() { + return identityVerification; + } + + /** + * setIdentityVerification. + **/ + public void setIdentityVerification(RecipientIdentityVerification identityVerification) { + this.identityVerification = identityVerification; + } + + + /** + * inheritEmailNotificationConfiguration. + * + * @return CertifiedDelivery + **/ public CertifiedDelivery inheritEmailNotificationConfiguration(String inheritEmailNotificationConfiguration) { this.inheritEmailNotificationConfiguration = inheritEmailNotificationConfiguration; return this; } - /** - * When set to **true** and the envelope recipient creates a DocuSign account after signing, the Manage Account Email Notification settings are used as the default settings for the recipient's account. + /** + * When set to **true** and the envelope recipient creates a DocuSign account after signing, the Manage Account Email Notification settings are used as the default settings for the recipient's account. . * @return inheritEmailNotificationConfiguration - **/ - @ApiModelProperty(example = "null", value = "When set to **true** and the envelope recipient creates a DocuSign account after signing, the Manage Account Email Notification settings are used as the default settings for the recipient's account. ") + **/ + @ApiModelProperty(value = "When set to **true** and the envelope recipient creates a DocuSign account after signing, the Manage Account Email Notification settings are used as the default settings for the recipient's account. ") public String getInheritEmailNotificationConfiguration() { return inheritEmailNotificationConfiguration; } + /** + * setInheritEmailNotificationConfiguration. + **/ public void setInheritEmailNotificationConfiguration(String inheritEmailNotificationConfiguration) { this.inheritEmailNotificationConfiguration = inheritEmailNotificationConfiguration; } + + /** + * lastName. + * + * @return CertifiedDelivery + **/ public CertifiedDelivery lastName(String lastName) { this.lastName = lastName; return this; } - /** - * + /** + * . * @return lastName - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getLastName() { return lastName; } + /** + * setLastName. + **/ public void setLastName(String lastName) { this.lastName = lastName; } + + /** + * name. + * + * @return CertifiedDelivery + **/ public CertifiedDelivery name(String name) { this.name = name; return this; } - /** - * + /** + * . * @return name - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * note. + * + * @return CertifiedDelivery + **/ public CertifiedDelivery note(String note) { this.note = note; return this; } - /** - * Specifies a note that is unique to this recipient. This note is sent to the recipient via the signing email. The note displays in the signing UI near the upper left corner of the document on the signing screen. Maximum Length: 1000 characters. + /** + * Specifies a note that is unique to this recipient. This note is sent to the recipient via the signing email. The note displays in the signing UI near the upper left corner of the document on the signing screen. Maximum Length: 1000 characters.. * @return note - **/ - @ApiModelProperty(example = "null", value = "Specifies a note that is unique to this recipient. This note is sent to the recipient via the signing email. The note displays in the signing UI near the upper left corner of the document on the signing screen. Maximum Length: 1000 characters.") + **/ + @ApiModelProperty(value = "Specifies a note that is unique to this recipient. This note is sent to the recipient via the signing email. The note displays in the signing UI near the upper left corner of the document on the signing screen. Maximum Length: 1000 characters.") public String getNote() { return note; } + /** + * setNote. + **/ public void setNote(String note) { this.note = note; } + + /** + * phoneAuthentication. + * + * @return CertifiedDelivery + **/ public CertifiedDelivery phoneAuthentication(RecipientPhoneAuthentication phoneAuthentication) { this.phoneAuthentication = phoneAuthentication; return this; } - /** - * Get phoneAuthentication + /** + * Get phoneAuthentication. * @return phoneAuthentication - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public RecipientPhoneAuthentication getPhoneAuthentication() { return phoneAuthentication; } + /** + * setPhoneAuthentication. + **/ public void setPhoneAuthentication(RecipientPhoneAuthentication phoneAuthentication) { this.phoneAuthentication = phoneAuthentication; } + + /** + * proofFile. + * + * @return CertifiedDelivery + **/ + public CertifiedDelivery proofFile(RecipientProofFile proofFile) { + this.proofFile = proofFile; + return this; + } + + /** + * Get proofFile. + * @return proofFile + **/ + @ApiModelProperty(value = "") + public RecipientProofFile getProofFile() { + return proofFile; + } + + /** + * setProofFile. + **/ + public void setProofFile(RecipientProofFile proofFile) { + this.proofFile = proofFile; + } + + + /** + * recipientAttachments. + * + * @return CertifiedDelivery + **/ public CertifiedDelivery recipientAttachments(java.util.List recipientAttachments) { this.recipientAttachments = recipientAttachments; return this; } - + + /** + * addRecipientAttachmentsItem. + * + * @return CertifiedDelivery + **/ public CertifiedDelivery addRecipientAttachmentsItem(RecipientAttachment recipientAttachmentsItem) { + if (this.recipientAttachments == null) { + this.recipientAttachments = new java.util.ArrayList(); + } this.recipientAttachments.add(recipientAttachmentsItem); return this; } - /** - * Reserved: + /** + * Reserved:. * @return recipientAttachments - **/ - @ApiModelProperty(example = "null", value = "Reserved:") + **/ + @ApiModelProperty(value = "Reserved:") public java.util.List getRecipientAttachments() { return recipientAttachments; } + /** + * setRecipientAttachments. + **/ public void setRecipientAttachments(java.util.List recipientAttachments) { this.recipientAttachments = recipientAttachments; } + + /** + * recipientAuthenticationStatus. + * + * @return CertifiedDelivery + **/ public CertifiedDelivery recipientAuthenticationStatus(AuthenticationStatus recipientAuthenticationStatus) { this.recipientAuthenticationStatus = recipientAuthenticationStatus; return this; } - /** - * Get recipientAuthenticationStatus + /** + * Get recipientAuthenticationStatus. * @return recipientAuthenticationStatus - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public AuthenticationStatus getRecipientAuthenticationStatus() { return recipientAuthenticationStatus; } + /** + * setRecipientAuthenticationStatus. + **/ public void setRecipientAuthenticationStatus(AuthenticationStatus recipientAuthenticationStatus) { this.recipientAuthenticationStatus = recipientAuthenticationStatus; } + + /** + * recipientId. + * + * @return CertifiedDelivery + **/ public CertifiedDelivery recipientId(String recipientId) { this.recipientId = recipientId; return this; } - /** - * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document. + /** + * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.. * @return recipientId - **/ - @ApiModelProperty(example = "null", value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") + **/ + @ApiModelProperty(value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") public String getRecipientId() { return recipientId; } + /** + * setRecipientId. + **/ public void setRecipientId(String recipientId) { this.recipientId = recipientId; } + + /** + * recipientIdGuid. + * + * @return CertifiedDelivery + **/ public CertifiedDelivery recipientIdGuid(String recipientIdGuid) { this.recipientIdGuid = recipientIdGuid; return this; } - /** - * + /** + * . * @return recipientIdGuid - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getRecipientIdGuid() { return recipientIdGuid; } + /** + * setRecipientIdGuid. + **/ public void setRecipientIdGuid(String recipientIdGuid) { this.recipientIdGuid = recipientIdGuid; } + + /** + * requireIdLookup. + * + * @return CertifiedDelivery + **/ public CertifiedDelivery requireIdLookup(String requireIdLookup) { this.requireIdLookup = requireIdLookup; return this; } - /** - * When set to **true**, the recipient is required to use the specified ID check method (including Phone and SMS authentication) to validate their identity. + /** + * When set to **true**, the recipient is required to use the specified ID check method (including Phone and SMS authentication) to validate their identity. . * @return requireIdLookup - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the recipient is required to use the specified ID check method (including Phone and SMS authentication) to validate their identity. ") + **/ + @ApiModelProperty(value = "When set to **true**, the recipient is required to use the specified ID check method (including Phone and SMS authentication) to validate their identity. ") public String getRequireIdLookup() { return requireIdLookup; } + /** + * setRequireIdLookup. + **/ public void setRequireIdLookup(String requireIdLookup) { this.requireIdLookup = requireIdLookup; } + + /** + * roleName. + * + * @return CertifiedDelivery + **/ public CertifiedDelivery roleName(String roleName) { this.roleName = roleName; return this; } - /** - * Optional element. Specifies the role name associated with the recipient.

This is required when working with template recipients. + /** + * Optional element. Specifies the role name associated with the recipient.

This is required when working with template recipients.. * @return roleName - **/ - @ApiModelProperty(example = "null", value = "Optional element. Specifies the role name associated with the recipient.

This is required when working with template recipients.") + **/ + @ApiModelProperty(value = "Optional element. Specifies the role name associated with the recipient.

This is required when working with template recipients.") public String getRoleName() { return roleName; } + /** + * setRoleName. + **/ public void setRoleName(String roleName) { this.roleName = roleName; } + + /** + * routingOrder. + * + * @return CertifiedDelivery + **/ public CertifiedDelivery routingOrder(String routingOrder) { this.routingOrder = routingOrder; return this; } - /** - * Specifies the routing order of the recipient in the envelope. + /** + * Specifies the routing order of the recipient in the envelope. . * @return routingOrder - **/ - @ApiModelProperty(example = "null", value = "Specifies the routing order of the recipient in the envelope. ") + **/ + @ApiModelProperty(value = "Specifies the routing order of the recipient in the envelope. ") public String getRoutingOrder() { return routingOrder; } + /** + * setRoutingOrder. + **/ public void setRoutingOrder(String routingOrder) { this.routingOrder = routingOrder; } + + /** + * samlAuthentication. + * + * @return CertifiedDelivery + **/ public CertifiedDelivery samlAuthentication(RecipientSAMLAuthentication samlAuthentication) { this.samlAuthentication = samlAuthentication; return this; } - /** - * Get samlAuthentication + /** + * Get samlAuthentication. * @return samlAuthentication - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public RecipientSAMLAuthentication getSamlAuthentication() { return samlAuthentication; } + /** + * setSamlAuthentication. + **/ public void setSamlAuthentication(RecipientSAMLAuthentication samlAuthentication) { this.samlAuthentication = samlAuthentication; } + + /** + * sentDateTime. + * + * @return CertifiedDelivery + **/ public CertifiedDelivery sentDateTime(String sentDateTime) { this.sentDateTime = sentDateTime; return this; } - /** - * The date and time the envelope was sent. + /** + * The date and time the envelope was sent.. * @return sentDateTime - **/ - @ApiModelProperty(example = "null", value = "The date and time the envelope was sent.") + **/ + @ApiModelProperty(value = "The date and time the envelope was sent.") public String getSentDateTime() { return sentDateTime; } + /** + * setSentDateTime. + **/ public void setSentDateTime(String sentDateTime) { this.sentDateTime = sentDateTime; } + + /** + * signedDateTime. + * + * @return CertifiedDelivery + **/ public CertifiedDelivery signedDateTime(String signedDateTime) { this.signedDateTime = signedDateTime; return this; } - /** - * Reserved: For DocuSign use only. + /** + * Reserved: For DocuSign use only. . * @return signedDateTime - **/ - @ApiModelProperty(example = "null", value = "Reserved: For DocuSign use only. ") + **/ + @ApiModelProperty(value = "Reserved: For DocuSign use only. ") public String getSignedDateTime() { return signedDateTime; } + /** + * setSignedDateTime. + **/ public void setSignedDateTime(String signedDateTime) { this.signedDateTime = signedDateTime; } + + /** + * signingGroupId. + * + * @return CertifiedDelivery + **/ public CertifiedDelivery signingGroupId(String signingGroupId) { this.signingGroupId = signingGroupId; return this; } - /** - * When set to **true** and the feature is enabled in the sender's account, the signing recipient is required to draw signatures and initials at each signature/initial tab ( instead of adopting a signature/initial style or only drawing a signature/initial once). + /** + * When set to **true** and the feature is enabled in the sender's account, the signing recipient is required to draw signatures and initials at each signature/initial tab ( instead of adopting a signature/initial style or only drawing a signature/initial once).. * @return signingGroupId - **/ - @ApiModelProperty(example = "null", value = "When set to **true** and the feature is enabled in the sender's account, the signing recipient is required to draw signatures and initials at each signature/initial tab ( instead of adopting a signature/initial style or only drawing a signature/initial once).") + **/ + @ApiModelProperty(value = "When set to **true** and the feature is enabled in the sender's account, the signing recipient is required to draw signatures and initials at each signature/initial tab ( instead of adopting a signature/initial style or only drawing a signature/initial once).") public String getSigningGroupId() { return signingGroupId; } + /** + * setSigningGroupId. + **/ public void setSigningGroupId(String signingGroupId) { this.signingGroupId = signingGroupId; } + + /** + * signingGroupName. + * + * @return CertifiedDelivery + **/ public CertifiedDelivery signingGroupName(String signingGroupName) { this.signingGroupName = signingGroupName; return this; } - /** - * The display name for the signing group. Maximum Length: 100 characters. + /** + * The display name for the signing group. Maximum Length: 100 characters. . * @return signingGroupName - **/ - @ApiModelProperty(example = "null", value = "The display name for the signing group. Maximum Length: 100 characters. ") + **/ + @ApiModelProperty(value = "The display name for the signing group. Maximum Length: 100 characters. ") public String getSigningGroupName() { return signingGroupName; } + /** + * setSigningGroupName. + **/ public void setSigningGroupName(String signingGroupName) { this.signingGroupName = signingGroupName; } + + /** + * signingGroupUsers. + * + * @return CertifiedDelivery + **/ public CertifiedDelivery signingGroupUsers(java.util.List signingGroupUsers) { this.signingGroupUsers = signingGroupUsers; return this; } - + + /** + * addSigningGroupUsersItem. + * + * @return CertifiedDelivery + **/ public CertifiedDelivery addSigningGroupUsersItem(UserInfo signingGroupUsersItem) { + if (this.signingGroupUsers == null) { + this.signingGroupUsers = new java.util.ArrayList(); + } this.signingGroupUsers.add(signingGroupUsersItem); return this; } - /** - * A complex type that contains information about users in the signing group. + /** + * A complex type that contains information about users in the signing group.. * @return signingGroupUsers - **/ - @ApiModelProperty(example = "null", value = "A complex type that contains information about users in the signing group.") + **/ + @ApiModelProperty(value = "A complex type that contains information about users in the signing group.") public java.util.List getSigningGroupUsers() { return signingGroupUsers; } + /** + * setSigningGroupUsers. + **/ public void setSigningGroupUsers(java.util.List signingGroupUsers) { this.signingGroupUsers = signingGroupUsers; } + + /** + * smsAuthentication. + * + * @return CertifiedDelivery + **/ public CertifiedDelivery smsAuthentication(RecipientSMSAuthentication smsAuthentication) { this.smsAuthentication = smsAuthentication; return this; } - /** - * Get smsAuthentication + /** + * Get smsAuthentication. * @return smsAuthentication - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public RecipientSMSAuthentication getSmsAuthentication() { return smsAuthentication; } + /** + * setSmsAuthentication. + **/ public void setSmsAuthentication(RecipientSMSAuthentication smsAuthentication) { this.smsAuthentication = smsAuthentication; } + + /** + * socialAuthentications. + * + * @return CertifiedDelivery + **/ public CertifiedDelivery socialAuthentications(java.util.List socialAuthentications) { this.socialAuthentications = socialAuthentications; return this; } - + + /** + * addSocialAuthenticationsItem. + * + * @return CertifiedDelivery + **/ public CertifiedDelivery addSocialAuthenticationsItem(SocialAuthentication socialAuthenticationsItem) { + if (this.socialAuthentications == null) { + this.socialAuthentications = new java.util.ArrayList(); + } this.socialAuthentications.add(socialAuthenticationsItem); return this; } - /** - * Lists the social ID type that can be used for recipient authentication. + /** + * Lists the social ID type that can be used for recipient authentication.. * @return socialAuthentications - **/ - @ApiModelProperty(example = "null", value = " Lists the social ID type that can be used for recipient authentication.") + **/ + @ApiModelProperty(value = " Lists the social ID type that can be used for recipient authentication.") public java.util.List getSocialAuthentications() { return socialAuthentications; } + /** + * setSocialAuthentications. + **/ public void setSocialAuthentications(java.util.List socialAuthentications) { this.socialAuthentications = socialAuthentications; } + + /** + * status. + * + * @return CertifiedDelivery + **/ public CertifiedDelivery status(String status) { this.status = status; return this; } - /** - * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. + /** + * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.. * @return status - **/ - @ApiModelProperty(example = "null", value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") + **/ + @ApiModelProperty(value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") public String getStatus() { return status; } + /** + * setStatus. + **/ public void setStatus(String status) { this.status = status; } + + /** + * templateLocked. + * + * @return CertifiedDelivery + **/ public CertifiedDelivery templateLocked(String templateLocked) { this.templateLocked = templateLocked; return this; } - /** - * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. . * @return templateLocked - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") + **/ + @ApiModelProperty(value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") public String getTemplateLocked() { return templateLocked; } + /** + * setTemplateLocked. + **/ public void setTemplateLocked(String templateLocked) { this.templateLocked = templateLocked; } + + /** + * templateRequired. + * + * @return CertifiedDelivery + **/ public CertifiedDelivery templateRequired(String templateRequired) { this.templateRequired = templateRequired; return this; } - /** - * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.. * @return templateRequired - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") + **/ + @ApiModelProperty(value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") public String getTemplateRequired() { return templateRequired; } + /** + * setTemplateRequired. + **/ public void setTemplateRequired(String templateRequired) { this.templateRequired = templateRequired; } + + /** + * totalTabCount. + * + * @return CertifiedDelivery + **/ public CertifiedDelivery totalTabCount(String totalTabCount) { this.totalTabCount = totalTabCount; return this; } - /** - * + /** + * . * @return totalTabCount - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTotalTabCount() { return totalTabCount; } + /** + * setTotalTabCount. + **/ public void setTotalTabCount(String totalTabCount) { this.totalTabCount = totalTabCount; } + + /** + * userId. + * + * @return CertifiedDelivery + **/ public CertifiedDelivery userId(String userId) { this.userId = userId; return this; } - /** - * + /** + * . * @return userId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getUserId() { return userId; } + /** + * setUserId. + **/ public void setUserId(String userId) { this.userId = userId; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -1071,11 +1612,13 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.fullName, certifiedDelivery.fullName) && Objects.equals(this.idCheckConfigurationName, certifiedDelivery.idCheckConfigurationName) && Objects.equals(this.idCheckInformationInput, certifiedDelivery.idCheckInformationInput) && + Objects.equals(this.identityVerification, certifiedDelivery.identityVerification) && Objects.equals(this.inheritEmailNotificationConfiguration, certifiedDelivery.inheritEmailNotificationConfiguration) && Objects.equals(this.lastName, certifiedDelivery.lastName) && Objects.equals(this.name, certifiedDelivery.name) && Objects.equals(this.note, certifiedDelivery.note) && Objects.equals(this.phoneAuthentication, certifiedDelivery.phoneAuthentication) && + Objects.equals(this.proofFile, certifiedDelivery.proofFile) && Objects.equals(this.recipientAttachments, certifiedDelivery.recipientAttachments) && Objects.equals(this.recipientAuthenticationStatus, certifiedDelivery.recipientAuthenticationStatus) && Objects.equals(this.recipientId, certifiedDelivery.recipientId) && @@ -1098,12 +1641,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.userId, certifiedDelivery.userId); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { - return Objects.hash(accessCode, addAccessCodeToEmail, agentCanEditEmail, agentCanEditName, clientUserId, customFields, declinedDateTime, declinedReason, deliveredDateTime, deliveryMethod, documentVisibility, email, emailNotification, emailRecipientPostSigningURL, embeddedRecipientStartURL, errorDetails, excludedDocuments, faxNumber, firstName, fullName, idCheckConfigurationName, idCheckInformationInput, inheritEmailNotificationConfiguration, lastName, name, note, phoneAuthentication, recipientAttachments, recipientAuthenticationStatus, recipientId, recipientIdGuid, requireIdLookup, roleName, routingOrder, samlAuthentication, sentDateTime, signedDateTime, signingGroupId, signingGroupName, signingGroupUsers, smsAuthentication, socialAuthentications, status, templateLocked, templateRequired, totalTabCount, userId); + return Objects.hash(accessCode, addAccessCodeToEmail, agentCanEditEmail, agentCanEditName, clientUserId, customFields, declinedDateTime, declinedReason, deliveredDateTime, deliveryMethod, documentVisibility, email, emailNotification, emailRecipientPostSigningURL, embeddedRecipientStartURL, errorDetails, excludedDocuments, faxNumber, firstName, fullName, idCheckConfigurationName, idCheckInformationInput, identityVerification, inheritEmailNotificationConfiguration, lastName, name, note, phoneAuthentication, proofFile, recipientAttachments, recipientAuthenticationStatus, recipientId, recipientIdGuid, requireIdLookup, roleName, routingOrder, samlAuthentication, sentDateTime, signedDateTime, signingGroupId, signingGroupName, signingGroupUsers, smsAuthentication, socialAuthentications, status, templateLocked, templateRequired, totalTabCount, userId); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -1131,11 +1680,13 @@ public String toString() { sb.append(" fullName: ").append(toIndentedString(fullName)).append("\n"); sb.append(" idCheckConfigurationName: ").append(toIndentedString(idCheckConfigurationName)).append("\n"); sb.append(" idCheckInformationInput: ").append(toIndentedString(idCheckInformationInput)).append("\n"); + sb.append(" identityVerification: ").append(toIndentedString(identityVerification)).append("\n"); sb.append(" inheritEmailNotificationConfiguration: ").append(toIndentedString(inheritEmailNotificationConfiguration)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append(" note: ").append(toIndentedString(note)).append("\n"); sb.append(" phoneAuthentication: ").append(toIndentedString(phoneAuthentication)).append("\n"); + sb.append(" proofFile: ").append(toIndentedString(proofFile)).append("\n"); sb.append(" recipientAttachments: ").append(toIndentedString(recipientAttachments)).append("\n"); sb.append(" recipientAuthenticationStatus: ").append(toIndentedString(recipientAuthenticationStatus)).append("\n"); sb.append(" recipientId: ").append(toIndentedString(recipientId)).append("\n"); @@ -1170,6 +1721,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/Checkbox.java b/src/main/java/com/docusign/esign/model/Checkbox.java index 02880464..124ca967 100644 --- a/src/main/java/com/docusign/esign/model/Checkbox.java +++ b/src/main/java/com/docusign/esign/model/Checkbox.java @@ -1,15 +1,18 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ErrorDetails; import com.docusign.esign.model.MergeField; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Checkbox + * Checkbox. + * */ public class Checkbox { @@ -83,7 +86,7 @@ public class Checkbox { private String status = null; @JsonProperty("tabGroupLabels") - private java.util.List tabGroupLabels = new java.util.ArrayList(); + private java.util.List tabGroupLabels = null; @JsonProperty("tabId") private String tabId = null; @@ -109,588 +112,889 @@ public class Checkbox { @JsonProperty("yPosition") private String yPosition = null; + + /** + * anchorCaseSensitive. + * + * @return Checkbox + **/ public Checkbox anchorCaseSensitive(String anchorCaseSensitive) { this.anchorCaseSensitive = anchorCaseSensitive; return this; } - /** - * When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**. + /** + * When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.. * @return anchorCaseSensitive - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.") + **/ + @ApiModelProperty(value = "When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.") public String getAnchorCaseSensitive() { return anchorCaseSensitive; } + /** + * setAnchorCaseSensitive. + **/ public void setAnchorCaseSensitive(String anchorCaseSensitive) { this.anchorCaseSensitive = anchorCaseSensitive; } + + /** + * anchorHorizontalAlignment. + * + * @return Checkbox + **/ public Checkbox anchorHorizontalAlignment(String anchorHorizontalAlignment) { this.anchorHorizontalAlignment = anchorHorizontalAlignment; return this; } - /** - * Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**. + /** + * Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.. * @return anchorHorizontalAlignment - **/ - @ApiModelProperty(example = "null", value = "Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.") + **/ + @ApiModelProperty(value = "Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.") public String getAnchorHorizontalAlignment() { return anchorHorizontalAlignment; } + /** + * setAnchorHorizontalAlignment. + **/ public void setAnchorHorizontalAlignment(String anchorHorizontalAlignment) { this.anchorHorizontalAlignment = anchorHorizontalAlignment; } + + /** + * anchorIgnoreIfNotPresent. + * + * @return Checkbox + **/ public Checkbox anchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { this.anchorIgnoreIfNotPresent = anchorIgnoreIfNotPresent; return this; } - /** - * When set to **true**, this tab is ignored if anchorString is not found in the document. + /** + * When set to **true**, this tab is ignored if anchorString is not found in the document.. * @return anchorIgnoreIfNotPresent - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, this tab is ignored if anchorString is not found in the document.") + **/ + @ApiModelProperty(value = "When set to **true**, this tab is ignored if anchorString is not found in the document.") public String getAnchorIgnoreIfNotPresent() { return anchorIgnoreIfNotPresent; } + /** + * setAnchorIgnoreIfNotPresent. + **/ public void setAnchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { this.anchorIgnoreIfNotPresent = anchorIgnoreIfNotPresent; } + + /** + * anchorMatchWholeWord. + * + * @return Checkbox + **/ public Checkbox anchorMatchWholeWord(String anchorMatchWholeWord) { this.anchorMatchWholeWord = anchorMatchWholeWord; return this; } - /** - * When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**. + /** + * When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.. * @return anchorMatchWholeWord - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.") + **/ + @ApiModelProperty(value = "When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.") public String getAnchorMatchWholeWord() { return anchorMatchWholeWord; } + /** + * setAnchorMatchWholeWord. + **/ public void setAnchorMatchWholeWord(String anchorMatchWholeWord) { this.anchorMatchWholeWord = anchorMatchWholeWord; } + + /** + * anchorString. + * + * @return Checkbox + **/ public Checkbox anchorString(String anchorString) { this.anchorString = anchorString; return this; } - /** - * Anchor text information for a radio button. + /** + * Anchor text information for a radio button.. * @return anchorString - **/ - @ApiModelProperty(example = "null", value = "Anchor text information for a radio button.") + **/ + @ApiModelProperty(value = "Anchor text information for a radio button.") public String getAnchorString() { return anchorString; } + /** + * setAnchorString. + **/ public void setAnchorString(String anchorString) { this.anchorString = anchorString; } + + /** + * anchorUnits. + * + * @return Checkbox + **/ public Checkbox anchorUnits(String anchorUnits) { this.anchorUnits = anchorUnits; return this; } - /** - * Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. + /** + * Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. * @return anchorUnits - **/ - @ApiModelProperty(example = "null", value = "Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.") + **/ + @ApiModelProperty(value = "Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.") public String getAnchorUnits() { return anchorUnits; } + /** + * setAnchorUnits. + **/ public void setAnchorUnits(String anchorUnits) { this.anchorUnits = anchorUnits; } + + /** + * anchorXOffset. + * + * @return Checkbox + **/ public Checkbox anchorXOffset(String anchorXOffset) { this.anchorXOffset = anchorXOffset; return this; } - /** - * Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString. + /** + * Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. * @return anchorXOffset - **/ - @ApiModelProperty(example = "null", value = "Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.") + **/ + @ApiModelProperty(value = "Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.") public String getAnchorXOffset() { return anchorXOffset; } + /** + * setAnchorXOffset. + **/ public void setAnchorXOffset(String anchorXOffset) { this.anchorXOffset = anchorXOffset; } + + /** + * anchorYOffset. + * + * @return Checkbox + **/ public Checkbox anchorYOffset(String anchorYOffset) { this.anchorYOffset = anchorYOffset; return this; } - /** - * Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString. + /** + * Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.. * @return anchorYOffset - **/ - @ApiModelProperty(example = "null", value = "Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.") + **/ + @ApiModelProperty(value = "Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.") public String getAnchorYOffset() { return anchorYOffset; } + /** + * setAnchorYOffset. + **/ public void setAnchorYOffset(String anchorYOffset) { this.anchorYOffset = anchorYOffset; } + + /** + * conditionalParentLabel. + * + * @return Checkbox + **/ public Checkbox conditionalParentLabel(String conditionalParentLabel) { this.conditionalParentLabel = conditionalParentLabel; return this; } - /** - * For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility. + /** + * For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.. * @return conditionalParentLabel - **/ - @ApiModelProperty(example = "null", value = "For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.") + **/ + @ApiModelProperty(value = "For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.") public String getConditionalParentLabel() { return conditionalParentLabel; } + /** + * setConditionalParentLabel. + **/ public void setConditionalParentLabel(String conditionalParentLabel) { this.conditionalParentLabel = conditionalParentLabel; } + + /** + * conditionalParentValue. + * + * @return Checkbox + **/ public Checkbox conditionalParentValue(String conditionalParentValue) { this.conditionalParentValue = conditionalParentValue; return this; } - /** - * For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. + /** + * For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. . * @return conditionalParentValue - **/ - @ApiModelProperty(example = "null", value = "For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. ") + **/ + @ApiModelProperty(value = "For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. ") public String getConditionalParentValue() { return conditionalParentValue; } + /** + * setConditionalParentValue. + **/ public void setConditionalParentValue(String conditionalParentValue) { this.conditionalParentValue = conditionalParentValue; } + + /** + * customTabId. + * + * @return Checkbox + **/ public Checkbox customTabId(String customTabId) { this.customTabId = customTabId; return this; } - /** - * The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties. + /** + * The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.. * @return customTabId - **/ - @ApiModelProperty(example = "null", value = "The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.") + **/ + @ApiModelProperty(value = "The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.") public String getCustomTabId() { return customTabId; } + /** + * setCustomTabId. + **/ public void setCustomTabId(String customTabId) { this.customTabId = customTabId; } + + /** + * documentId. + * + * @return Checkbox + **/ public Checkbox documentId(String documentId) { this.documentId = documentId; return this; } - /** - * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute. + /** + * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.. * @return documentId - **/ - @ApiModelProperty(example = "null", value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") + **/ + @ApiModelProperty(value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") public String getDocumentId() { return documentId; } + /** + * setDocumentId. + **/ public void setDocumentId(String documentId) { this.documentId = documentId; } + + /** + * errorDetails. + * + * @return Checkbox + **/ public Checkbox errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * locked. + * + * @return Checkbox + **/ public Checkbox locked(String locked) { this.locked = locked; return this; } - /** - * When set to **true**, the signer cannot change the data of the custom tab. + /** + * When set to **true**, the signer cannot change the data of the custom tab.. * @return locked - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the signer cannot change the data of the custom tab.") + **/ + @ApiModelProperty(value = "When set to **true**, the signer cannot change the data of the custom tab.") public String getLocked() { return locked; } + /** + * setLocked. + **/ public void setLocked(String locked) { this.locked = locked; } + + /** + * mergeField. + * + * @return Checkbox + **/ public Checkbox mergeField(MergeField mergeField) { this.mergeField = mergeField; return this; } - /** - * Get mergeField + /** + * Get mergeField. * @return mergeField - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public MergeField getMergeField() { return mergeField; } + /** + * setMergeField. + **/ public void setMergeField(MergeField mergeField) { this.mergeField = mergeField; } + + /** + * name. + * + * @return Checkbox + **/ public Checkbox name(String name) { this.name = name; return this; } - /** - * Specifies the tool tip text for the tab. + /** + * Specifies the tool tip text for the tab.. * @return name - **/ - @ApiModelProperty(example = "null", value = "Specifies the tool tip text for the tab.") + **/ + @ApiModelProperty(value = "Specifies the tool tip text for the tab.") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * pageNumber. + * + * @return Checkbox + **/ public Checkbox pageNumber(String pageNumber) { this.pageNumber = pageNumber; return this; } - /** - * Specifies the page number on which the tab is located. + /** + * Specifies the page number on which the tab is located.. * @return pageNumber - **/ - @ApiModelProperty(example = "null", value = "Specifies the page number on which the tab is located.") + **/ + @ApiModelProperty(value = "Specifies the page number on which the tab is located.") public String getPageNumber() { return pageNumber; } + /** + * setPageNumber. + **/ public void setPageNumber(String pageNumber) { this.pageNumber = pageNumber; } + + /** + * recipientId. + * + * @return Checkbox + **/ public Checkbox recipientId(String recipientId) { this.recipientId = recipientId; return this; } - /** - * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document. + /** + * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.. * @return recipientId - **/ - @ApiModelProperty(example = "null", value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") + **/ + @ApiModelProperty(value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") public String getRecipientId() { return recipientId; } + /** + * setRecipientId. + **/ public void setRecipientId(String recipientId) { this.recipientId = recipientId; } + + /** + * required. + * + * @return Checkbox + **/ public Checkbox required(String required) { this.required = required; return this; } - /** - * When set to **true**, the signer is required to fill out this tab + /** + * When set to **true**, the signer is required to fill out this tab. * @return required - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the signer is required to fill out this tab") + **/ + @ApiModelProperty(value = "When set to **true**, the signer is required to fill out this tab") public String getRequired() { return required; } + /** + * setRequired. + **/ public void setRequired(String required) { this.required = required; } + + /** + * requireInitialOnSharedChange. + * + * @return Checkbox + **/ public Checkbox requireInitialOnSharedChange(String requireInitialOnSharedChange) { this.requireInitialOnSharedChange = requireInitialOnSharedChange; return this; } - /** - * Optional element for field markup. When set to **true**, the signer is required to initial when they modify a shared field. + /** + * Optional element for field markup. When set to **true**, the signer is required to initial when they modify a shared field.. * @return requireInitialOnSharedChange - **/ - @ApiModelProperty(example = "null", value = "Optional element for field markup. When set to **true**, the signer is required to initial when they modify a shared field.") + **/ + @ApiModelProperty(value = "Optional element for field markup. When set to **true**, the signer is required to initial when they modify a shared field.") public String getRequireInitialOnSharedChange() { return requireInitialOnSharedChange; } + /** + * setRequireInitialOnSharedChange. + **/ public void setRequireInitialOnSharedChange(String requireInitialOnSharedChange) { this.requireInitialOnSharedChange = requireInitialOnSharedChange; } + + /** + * selected. + * + * @return Checkbox + **/ public Checkbox selected(String selected) { this.selected = selected; return this; } - /** - * When set to **true**, the checkbox is selected. + /** + * When set to **true**, the checkbox is selected.. * @return selected - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the checkbox is selected.") + **/ + @ApiModelProperty(value = "When set to **true**, the checkbox is selected.") public String getSelected() { return selected; } + /** + * setSelected. + **/ public void setSelected(String selected) { this.selected = selected; } + + /** + * shared. + * + * @return Checkbox + **/ public Checkbox shared(String shared) { this.shared = shared; return this; } - /** - * When set to **true**, this custom tab is shared. + /** + * When set to **true**, this custom tab is shared.. * @return shared - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, this custom tab is shared.") + **/ + @ApiModelProperty(value = "When set to **true**, this custom tab is shared.") public String getShared() { return shared; } + /** + * setShared. + **/ public void setShared(String shared) { this.shared = shared; } + + /** + * status. + * + * @return Checkbox + **/ public Checkbox status(String status) { this.status = status; return this; } - /** - * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. + /** + * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.. * @return status - **/ - @ApiModelProperty(example = "null", value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") + **/ + @ApiModelProperty(value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") public String getStatus() { return status; } + /** + * setStatus. + **/ public void setStatus(String status) { this.status = status; } + + /** + * tabGroupLabels. + * + * @return Checkbox + **/ public Checkbox tabGroupLabels(java.util.List tabGroupLabels) { this.tabGroupLabels = tabGroupLabels; return this; } - + + /** + * addTabGroupLabelsItem. + * + * @return Checkbox + **/ public Checkbox addTabGroupLabelsItem(String tabGroupLabelsItem) { + if (this.tabGroupLabels == null) { + this.tabGroupLabels = new java.util.ArrayList(); + } this.tabGroupLabels.add(tabGroupLabelsItem); return this; } - /** - * + /** + * . * @return tabGroupLabels - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getTabGroupLabels() { return tabGroupLabels; } + /** + * setTabGroupLabels. + **/ public void setTabGroupLabels(java.util.List tabGroupLabels) { this.tabGroupLabels = tabGroupLabels; } + + /** + * tabId. + * + * @return Checkbox + **/ public Checkbox tabId(String tabId) { this.tabId = tabId; return this; } - /** - * The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. + /** + * The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. . * @return tabId - **/ - @ApiModelProperty(example = "null", value = "The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. ") + **/ + @ApiModelProperty(value = "The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. ") public String getTabId() { return tabId; } + /** + * setTabId. + **/ public void setTabId(String tabId) { this.tabId = tabId; } + + /** + * tabLabel. + * + * @return Checkbox + **/ public Checkbox tabLabel(String tabLabel) { this.tabLabel = tabLabel; return this; } - /** - * The label string associated with the tab. + /** + * The label string associated with the tab.. * @return tabLabel - **/ - @ApiModelProperty(example = "null", value = "The label string associated with the tab.") + **/ + @ApiModelProperty(value = "The label string associated with the tab.") public String getTabLabel() { return tabLabel; } + /** + * setTabLabel. + **/ public void setTabLabel(String tabLabel) { this.tabLabel = tabLabel; } + + /** + * tabOrder. + * + * @return Checkbox + **/ public Checkbox tabOrder(String tabOrder) { this.tabOrder = tabOrder; return this; } - /** - * + /** + * . * @return tabOrder - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTabOrder() { return tabOrder; } + /** + * setTabOrder. + **/ public void setTabOrder(String tabOrder) { this.tabOrder = tabOrder; } + + /** + * templateLocked. + * + * @return Checkbox + **/ public Checkbox templateLocked(String templateLocked) { this.templateLocked = templateLocked; return this; } - /** - * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. . * @return templateLocked - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") + **/ + @ApiModelProperty(value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") public String getTemplateLocked() { return templateLocked; } + /** + * setTemplateLocked. + **/ public void setTemplateLocked(String templateLocked) { this.templateLocked = templateLocked; } + + /** + * templateRequired. + * + * @return Checkbox + **/ public Checkbox templateRequired(String templateRequired) { this.templateRequired = templateRequired; return this; } - /** - * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.. * @return templateRequired - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") + **/ + @ApiModelProperty(value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") public String getTemplateRequired() { return templateRequired; } + /** + * setTemplateRequired. + **/ public void setTemplateRequired(String templateRequired) { this.templateRequired = templateRequired; } + + /** + * tooltip. + * + * @return Checkbox + **/ public Checkbox tooltip(String tooltip) { this.tooltip = tooltip; return this; } - /** - * + /** + * . * @return tooltip - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTooltip() { return tooltip; } + /** + * setTooltip. + **/ public void setTooltip(String tooltip) { this.tooltip = tooltip; } + + /** + * xPosition. + * + * @return Checkbox + **/ public Checkbox xPosition(String xPosition) { this.xPosition = xPosition; return this; } - /** - * This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position. + /** + * This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.. * @return xPosition - **/ - @ApiModelProperty(example = "null", value = "This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.") + **/ + @ApiModelProperty(value = "This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.") public String getXPosition() { return xPosition; } + /** + * setXPosition. + **/ public void setXPosition(String xPosition) { this.xPosition = xPosition; } + + /** + * yPosition. + * + * @return Checkbox + **/ public Checkbox yPosition(String yPosition) { this.yPosition = yPosition; return this; } - /** - * This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position. + /** + * This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. * @return yPosition - **/ - @ApiModelProperty(example = "null", value = "This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.") + **/ + @ApiModelProperty(value = "This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.") public String getYPosition() { return yPosition; } + /** + * setYPosition. + **/ public void setYPosition(String yPosition) { this.yPosition = yPosition; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -734,12 +1038,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.yPosition, checkbox.yPosition); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(anchorCaseSensitive, anchorHorizontalAlignment, anchorIgnoreIfNotPresent, anchorMatchWholeWord, anchorString, anchorUnits, anchorXOffset, anchorYOffset, conditionalParentLabel, conditionalParentValue, customTabId, documentId, errorDetails, locked, mergeField, name, pageNumber, recipientId, required, requireInitialOnSharedChange, selected, shared, status, tabGroupLabels, tabId, tabLabel, tabOrder, templateLocked, templateRequired, tooltip, xPosition, yPosition); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -791,6 +1101,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/ChunkedUploadPart.java b/src/main/java/com/docusign/esign/model/ChunkedUploadPart.java index 7ea9c067..3d6172e2 100644 --- a/src/main/java/com/docusign/esign/model/ChunkedUploadPart.java +++ b/src/main/java/com/docusign/esign/model/ChunkedUploadPart.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * ChunkedUploadPart + * ChunkedUploadPart. + * */ public class ChunkedUploadPart { @@ -17,43 +20,66 @@ public class ChunkedUploadPart { @JsonProperty("size") private String size = null; + + /** + * sequence. + * + * @return ChunkedUploadPart + **/ public ChunkedUploadPart sequence(String sequence) { this.sequence = sequence; return this; } - /** - * + /** + * . * @return sequence - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSequence() { return sequence; } + /** + * setSequence. + **/ public void setSequence(String sequence) { this.sequence = sequence; } + + /** + * size. + * + * @return ChunkedUploadPart + **/ public ChunkedUploadPart size(String size) { this.size = size; return this; } - /** - * + /** + * . * @return size - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSize() { return size; } + /** + * setSize. + **/ public void setSize(String size) { this.size = size; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -67,12 +93,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.size, chunkedUploadPart.size); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(sequence, size); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -94,6 +126,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/ChunkedUploadRequest.java b/src/main/java/com/docusign/esign/model/ChunkedUploadRequest.java index 3336e049..8e54cd7a 100644 --- a/src/main/java/com/docusign/esign/model/ChunkedUploadRequest.java +++ b/src/main/java/com/docusign/esign/model/ChunkedUploadRequest.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * ChunkedUploadRequest + * ChunkedUploadRequest. + * */ public class ChunkedUploadRequest { @@ -17,43 +20,66 @@ public class ChunkedUploadRequest { @JsonProperty("data") private String data = null; + + /** + * chunkedUploadId. + * + * @return ChunkedUploadRequest + **/ public ChunkedUploadRequest chunkedUploadId(String chunkedUploadId) { this.chunkedUploadId = chunkedUploadId; return this; } - /** - * + /** + * . * @return chunkedUploadId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getChunkedUploadId() { return chunkedUploadId; } + /** + * setChunkedUploadId. + **/ public void setChunkedUploadId(String chunkedUploadId) { this.chunkedUploadId = chunkedUploadId; } + + /** + * data. + * + * @return ChunkedUploadRequest + **/ public ChunkedUploadRequest data(String data) { this.data = data; return this; } - /** - * + /** + * . * @return data - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getData() { return data; } + /** + * setData. + **/ public void setData(String data) { this.data = data; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -67,12 +93,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.data, chunkedUploadRequest.data); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(chunkedUploadId, data); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -94,6 +126,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/ChunkedUploadResponse.java b/src/main/java/com/docusign/esign/model/ChunkedUploadResponse.java index a570b4c9..be1fd6c3 100644 --- a/src/main/java/com/docusign/esign/model/ChunkedUploadResponse.java +++ b/src/main/java/com/docusign/esign/model/ChunkedUploadResponse.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ChunkedUploadPart; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * ChunkedUploadResponse + * ChunkedUploadResponse. + * */ public class ChunkedUploadResponse { @@ -19,7 +22,7 @@ public class ChunkedUploadResponse { private String chunkedUploadId = null; @JsonProperty("chunkedUploadParts") - private java.util.List chunkedUploadParts = new java.util.ArrayList(); + private java.util.List chunkedUploadParts = null; @JsonProperty("chunkedUploadUri") private String chunkedUploadUri = null; @@ -39,174 +42,268 @@ public class ChunkedUploadResponse { @JsonProperty("totalSize") private String totalSize = null; + + /** + * checksum. + * + * @return ChunkedUploadResponse + **/ public ChunkedUploadResponse checksum(String checksum) { this.checksum = checksum; return this; } - /** - * + /** + * . * @return checksum - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getChecksum() { return checksum; } + /** + * setChecksum. + **/ public void setChecksum(String checksum) { this.checksum = checksum; } + + /** + * chunkedUploadId. + * + * @return ChunkedUploadResponse + **/ public ChunkedUploadResponse chunkedUploadId(String chunkedUploadId) { this.chunkedUploadId = chunkedUploadId; return this; } - /** - * + /** + * . * @return chunkedUploadId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getChunkedUploadId() { return chunkedUploadId; } + /** + * setChunkedUploadId. + **/ public void setChunkedUploadId(String chunkedUploadId) { this.chunkedUploadId = chunkedUploadId; } + + /** + * chunkedUploadParts. + * + * @return ChunkedUploadResponse + **/ public ChunkedUploadResponse chunkedUploadParts(java.util.List chunkedUploadParts) { this.chunkedUploadParts = chunkedUploadParts; return this; } - + + /** + * addChunkedUploadPartsItem. + * + * @return ChunkedUploadResponse + **/ public ChunkedUploadResponse addChunkedUploadPartsItem(ChunkedUploadPart chunkedUploadPartsItem) { + if (this.chunkedUploadParts == null) { + this.chunkedUploadParts = new java.util.ArrayList(); + } this.chunkedUploadParts.add(chunkedUploadPartsItem); return this; } - /** - * + /** + * . * @return chunkedUploadParts - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getChunkedUploadParts() { return chunkedUploadParts; } + /** + * setChunkedUploadParts. + **/ public void setChunkedUploadParts(java.util.List chunkedUploadParts) { this.chunkedUploadParts = chunkedUploadParts; } + + /** + * chunkedUploadUri. + * + * @return ChunkedUploadResponse + **/ public ChunkedUploadResponse chunkedUploadUri(String chunkedUploadUri) { this.chunkedUploadUri = chunkedUploadUri; return this; } - /** - * + /** + * . * @return chunkedUploadUri - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getChunkedUploadUri() { return chunkedUploadUri; } + /** + * setChunkedUploadUri. + **/ public void setChunkedUploadUri(String chunkedUploadUri) { this.chunkedUploadUri = chunkedUploadUri; } + + /** + * committed. + * + * @return ChunkedUploadResponse + **/ public ChunkedUploadResponse committed(String committed) { this.committed = committed; return this; } - /** - * + /** + * . * @return committed - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getCommitted() { return committed; } + /** + * setCommitted. + **/ public void setCommitted(String committed) { this.committed = committed; } + + /** + * expirationDateTime. + * + * @return ChunkedUploadResponse + **/ public ChunkedUploadResponse expirationDateTime(String expirationDateTime) { this.expirationDateTime = expirationDateTime; return this; } - /** - * + /** + * . * @return expirationDateTime - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getExpirationDateTime() { return expirationDateTime; } + /** + * setExpirationDateTime. + **/ public void setExpirationDateTime(String expirationDateTime) { this.expirationDateTime = expirationDateTime; } + + /** + * maxChunkedUploadParts. + * + * @return ChunkedUploadResponse + **/ public ChunkedUploadResponse maxChunkedUploadParts(String maxChunkedUploadParts) { this.maxChunkedUploadParts = maxChunkedUploadParts; return this; } - /** - * + /** + * . * @return maxChunkedUploadParts - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getMaxChunkedUploadParts() { return maxChunkedUploadParts; } + /** + * setMaxChunkedUploadParts. + **/ public void setMaxChunkedUploadParts(String maxChunkedUploadParts) { this.maxChunkedUploadParts = maxChunkedUploadParts; } + + /** + * maxTotalSize. + * + * @return ChunkedUploadResponse + **/ public ChunkedUploadResponse maxTotalSize(String maxTotalSize) { this.maxTotalSize = maxTotalSize; return this; } - /** - * + /** + * . * @return maxTotalSize - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getMaxTotalSize() { return maxTotalSize; } + /** + * setMaxTotalSize. + **/ public void setMaxTotalSize(String maxTotalSize) { this.maxTotalSize = maxTotalSize; } + + /** + * totalSize. + * + * @return ChunkedUploadResponse + **/ public ChunkedUploadResponse totalSize(String totalSize) { this.totalSize = totalSize; return this; } - /** - * + /** + * . * @return totalSize - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTotalSize() { return totalSize; } + /** + * setTotalSize. + **/ public void setTotalSize(String totalSize) { this.totalSize = totalSize; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -227,12 +324,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.totalSize, chunkedUploadResponse.totalSize); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(checksum, chunkedUploadId, chunkedUploadParts, chunkedUploadUri, committed, expirationDateTime, maxChunkedUploadParts, maxTotalSize, totalSize); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -261,6 +364,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/CloudStorageProvider.java b/src/main/java/com/docusign/esign/model/CloudStorageProvider.java index b5b8f713..cadbd3d1 100644 --- a/src/main/java/com/docusign/esign/model/CloudStorageProvider.java +++ b/src/main/java/com/docusign/esign/model/CloudStorageProvider.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ErrorDetails; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * CloudStorageProvider + * CloudStorageProvider. + * */ public class CloudStorageProvider { @@ -27,97 +30,147 @@ public class CloudStorageProvider { @JsonProperty("serviceId") private String serviceId = null; + + /** + * authenticationUrl. + * + * @return CloudStorageProvider + **/ public CloudStorageProvider authenticationUrl(String authenticationUrl) { this.authenticationUrl = authenticationUrl; return this; } - /** - * The authentication URL used for the cloud storage provider. This information is only included in the response if the user has not passed authentication for the cloud storage provider. If the redirectUrl query string is provided, the returnUrl is appended to the authenticationUrl. + /** + * The authentication URL used for the cloud storage provider. This information is only included in the response if the user has not passed authentication for the cloud storage provider. If the redirectUrl query string is provided, the returnUrl is appended to the authenticationUrl. . * @return authenticationUrl - **/ - @ApiModelProperty(example = "null", value = "The authentication URL used for the cloud storage provider. This information is only included in the response if the user has not passed authentication for the cloud storage provider. If the redirectUrl query string is provided, the returnUrl is appended to the authenticationUrl. ") + **/ + @ApiModelProperty(value = "The authentication URL used for the cloud storage provider. This information is only included in the response if the user has not passed authentication for the cloud storage provider. If the redirectUrl query string is provided, the returnUrl is appended to the authenticationUrl. ") public String getAuthenticationUrl() { return authenticationUrl; } + /** + * setAuthenticationUrl. + **/ public void setAuthenticationUrl(String authenticationUrl) { this.authenticationUrl = authenticationUrl; } + + /** + * errorDetails. + * + * @return CloudStorageProvider + **/ public CloudStorageProvider errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * redirectUrl. + * + * @return CloudStorageProvider + **/ public CloudStorageProvider redirectUrl(String redirectUrl) { this.redirectUrl = redirectUrl; return this; } - /** - * The URL the user is redirected to after the cloud storage provider authenticates the user. Using this will append the redirectUrl to the authenticationUrl. The redirectUrl is restricted to URLs in the docusign.com or docusign.net domains. + /** + * The URL the user is redirected to after the cloud storage provider authenticates the user. Using this will append the redirectUrl to the authenticationUrl. The redirectUrl is restricted to URLs in the docusign.com or docusign.net domains.. * @return redirectUrl - **/ - @ApiModelProperty(example = "null", value = "The URL the user is redirected to after the cloud storage provider authenticates the user. Using this will append the redirectUrl to the authenticationUrl. The redirectUrl is restricted to URLs in the docusign.com or docusign.net domains.") + **/ + @ApiModelProperty(value = "The URL the user is redirected to after the cloud storage provider authenticates the user. Using this will append the redirectUrl to the authenticationUrl. The redirectUrl is restricted to URLs in the docusign.com or docusign.net domains.") public String getRedirectUrl() { return redirectUrl; } + /** + * setRedirectUrl. + **/ public void setRedirectUrl(String redirectUrl) { this.redirectUrl = redirectUrl; } + + /** + * service. + * + * @return CloudStorageProvider + **/ public CloudStorageProvider service(String service) { this.service = service; return this; } - /** - * The service name for the cloud storage provider. + /** + * The service name for the cloud storage provider.. * @return service - **/ - @ApiModelProperty(example = "null", value = "The service name for the cloud storage provider.") + **/ + @ApiModelProperty(value = "The service name for the cloud storage provider.") public String getService() { return service; } + /** + * setService. + **/ public void setService(String service) { this.service = service; } + + /** + * serviceId. + * + * @return CloudStorageProvider + **/ public CloudStorageProvider serviceId(String serviceId) { this.serviceId = serviceId; return this; } - /** - * The DocuSign generated ID for the cloud storage provider + /** + * The DocuSign generated ID for the cloud storage provider. * @return serviceId - **/ - @ApiModelProperty(example = "null", value = "The DocuSign generated ID for the cloud storage provider") + **/ + @ApiModelProperty(value = "The DocuSign generated ID for the cloud storage provider") public String getServiceId() { return serviceId; } + /** + * setServiceId. + **/ public void setServiceId(String serviceId) { this.serviceId = serviceId; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -134,12 +187,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.serviceId, cloudStorageProvider.serviceId); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(authenticationUrl, errorDetails, redirectUrl, service, serviceId); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -164,6 +223,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/CloudStorageProviders.java b/src/main/java/com/docusign/esign/model/CloudStorageProviders.java index 619e91bb..aba0b985 100644 --- a/src/main/java/com/docusign/esign/model/CloudStorageProviders.java +++ b/src/main/java/com/docusign/esign/model/CloudStorageProviders.java @@ -1,44 +1,69 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.CloudStorageProvider; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * CloudStorageProviders + * CloudStorageProviders. + * */ public class CloudStorageProviders { @JsonProperty("storageProviders") - private java.util.List storageProviders = new java.util.ArrayList(); + private java.util.List storageProviders = null; + + /** + * storageProviders. + * + * @return CloudStorageProviders + **/ public CloudStorageProviders storageProviders(java.util.List storageProviders) { this.storageProviders = storageProviders; return this; } - + + /** + * addStorageProvidersItem. + * + * @return CloudStorageProviders + **/ public CloudStorageProviders addStorageProvidersItem(CloudStorageProvider storageProvidersItem) { + if (this.storageProviders == null) { + this.storageProviders = new java.util.ArrayList(); + } this.storageProviders.add(storageProvidersItem); return this; } - /** - * An Array containing the storage providers associated with the user. + /** + * An Array containing the storage providers associated with the user.. * @return storageProviders - **/ - @ApiModelProperty(example = "null", value = "An Array containing the storage providers associated with the user.") + **/ + @ApiModelProperty(value = "An Array containing the storage providers associated with the user.") public java.util.List getStorageProviders() { return storageProviders; } + /** + * setStorageProviders. + **/ public void setStorageProviders(java.util.List storageProviders) { this.storageProviders = storageProviders; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -51,12 +76,18 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.storageProviders, cloudStorageProviders.storageProviders); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(storageProviders); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -77,6 +108,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/Comment.java b/src/main/java/com/docusign/esign/model/Comment.java new file mode 100644 index 00000000..d79b649d --- /dev/null +++ b/src/main/java/com/docusign/esign/model/Comment.java @@ -0,0 +1,546 @@ +package com.docusign.esign.model; + +import java.util.Objects; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +/** + * Comment + */ + +public class Comment { + @JsonProperty("envelopeId") + private String envelopeId = null; + + @JsonProperty("hmac") + private String hmac = null; + + @JsonProperty("id") + private String id = null; + + @JsonProperty("mentions") + private java.util.List mentions = new java.util.ArrayList(); + + @JsonProperty("read") + private Boolean read = null; + + @JsonProperty("sentByEmail") + private String sentByEmail = null; + + @JsonProperty("sentByFullName") + private String sentByFullName = null; + + @JsonProperty("sentByImageId") + private String sentByImageId = null; + + @JsonProperty("sentByInitials") + private String sentByInitials = null; + + @JsonProperty("sentByRecipientId") + private String sentByRecipientId = null; + + @JsonProperty("sentByUserId") + private String sentByUserId = null; + + @JsonProperty("signingGroupId") + private String signingGroupId = null; + + @JsonProperty("signingGroupName") + private String signingGroupName = null; + + @JsonProperty("subject") + private String subject = null; + + @JsonProperty("tabId") + private String tabId = null; + + @JsonProperty("text") + private String text = null; + + @JsonProperty("threadId") + private String threadId = null; + + @JsonProperty("threadOriginatorId") + private String threadOriginatorId = null; + + @JsonProperty("timestamp") + private String timestamp = null; + + @JsonProperty("timeStampFormatted") + private String timeStampFormatted = null; + + @JsonProperty("visibleTo") + private java.util.List visibleTo = new java.util.ArrayList(); + + public Comment envelopeId(String envelopeId) { + this.envelopeId = envelopeId; + return this; + } + + /** + * The envelope ID of the envelope status that failed to post. + * @return envelopeId + **/ + @ApiModelProperty(example = "null", value = "The envelope ID of the envelope status that failed to post.") + public String getEnvelopeId() { + return envelopeId; + } + + public void setEnvelopeId(String envelopeId) { + this.envelopeId = envelopeId; + } + + public Comment hmac(String hmac) { + this.hmac = hmac; + return this; + } + + /** + * + * @return hmac + **/ + @ApiModelProperty(example = "null", value = "") + public String getHmac() { + return hmac; + } + + public void setHmac(String hmac) { + this.hmac = hmac; + } + + public Comment id(String id) { + this.id = id; + return this; + } + + /** + * + * @return id + **/ + @ApiModelProperty(example = "null", value = "") + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public Comment mentions(java.util.List mentions) { + this.mentions = mentions; + return this; + } + + public Comment addMentionsItem(String mentionsItem) { + this.mentions.add(mentionsItem); + return this; + } + + /** + * + * @return mentions + **/ + @ApiModelProperty(example = "null", value = "") + public java.util.List getMentions() { + return mentions; + } + + public void setMentions(java.util.List mentions) { + this.mentions = mentions; + } + + public Comment read(Boolean read) { + this.read = read; + return this; + } + + /** + * + * @return read + **/ + @ApiModelProperty(example = "null", value = "") + public Boolean getRead() { + return read; + } + + public void setRead(Boolean read) { + this.read = read; + } + + public Comment sentByEmail(String sentByEmail) { + this.sentByEmail = sentByEmail; + return this; + } + + /** + * + * @return sentByEmail + **/ + @ApiModelProperty(example = "null", value = "") + public String getSentByEmail() { + return sentByEmail; + } + + public void setSentByEmail(String sentByEmail) { + this.sentByEmail = sentByEmail; + } + + public Comment sentByFullName(String sentByFullName) { + this.sentByFullName = sentByFullName; + return this; + } + + /** + * + * @return sentByFullName + **/ + @ApiModelProperty(example = "null", value = "") + public String getSentByFullName() { + return sentByFullName; + } + + public void setSentByFullName(String sentByFullName) { + this.sentByFullName = sentByFullName; + } + + public Comment sentByImageId(String sentByImageId) { + this.sentByImageId = sentByImageId; + return this; + } + + /** + * + * @return sentByImageId + **/ + @ApiModelProperty(example = "null", value = "") + public String getSentByImageId() { + return sentByImageId; + } + + public void setSentByImageId(String sentByImageId) { + this.sentByImageId = sentByImageId; + } + + public Comment sentByInitials(String sentByInitials) { + this.sentByInitials = sentByInitials; + return this; + } + + /** + * + * @return sentByInitials + **/ + @ApiModelProperty(example = "null", value = "") + public String getSentByInitials() { + return sentByInitials; + } + + public void setSentByInitials(String sentByInitials) { + this.sentByInitials = sentByInitials; + } + + public Comment sentByRecipientId(String sentByRecipientId) { + this.sentByRecipientId = sentByRecipientId; + return this; + } + + /** + * + * @return sentByRecipientId + **/ + @ApiModelProperty(example = "null", value = "") + public String getSentByRecipientId() { + return sentByRecipientId; + } + + public void setSentByRecipientId(String sentByRecipientId) { + this.sentByRecipientId = sentByRecipientId; + } + + public Comment sentByUserId(String sentByUserId) { + this.sentByUserId = sentByUserId; + return this; + } + + /** + * + * @return sentByUserId + **/ + @ApiModelProperty(example = "null", value = "") + public String getSentByUserId() { + return sentByUserId; + } + + public void setSentByUserId(String sentByUserId) { + this.sentByUserId = sentByUserId; + } + + public Comment signingGroupId(String signingGroupId) { + this.signingGroupId = signingGroupId; + return this; + } + + /** + * When set to **true** and the feature is enabled in the sender's account, the signing recipient is required to draw signatures and initials at each signature/initial tab ( instead of adopting a signature/initial style or only drawing a signature/initial once). + * @return signingGroupId + **/ + @ApiModelProperty(example = "null", value = "When set to **true** and the feature is enabled in the sender's account, the signing recipient is required to draw signatures and initials at each signature/initial tab ( instead of adopting a signature/initial style or only drawing a signature/initial once).") + public String getSigningGroupId() { + return signingGroupId; + } + + public void setSigningGroupId(String signingGroupId) { + this.signingGroupId = signingGroupId; + } + + public Comment signingGroupName(String signingGroupName) { + this.signingGroupName = signingGroupName; + return this; + } + + /** + * The display name for the signing group. Maximum Length: 100 characters. + * @return signingGroupName + **/ + @ApiModelProperty(example = "null", value = "The display name for the signing group. Maximum Length: 100 characters. ") + public String getSigningGroupName() { + return signingGroupName; + } + + public void setSigningGroupName(String signingGroupName) { + this.signingGroupName = signingGroupName; + } + + public Comment subject(String subject) { + this.subject = subject; + return this; + } + + /** + * + * @return subject + **/ + @ApiModelProperty(example = "null", value = "") + public String getSubject() { + return subject; + } + + public void setSubject(String subject) { + this.subject = subject; + } + + public Comment tabId(String tabId) { + this.tabId = tabId; + return this; + } + + /** + * The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. + * @return tabId + **/ + @ApiModelProperty(example = "null", value = "The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. ") + public String getTabId() { + return tabId; + } + + public void setTabId(String tabId) { + this.tabId = tabId; + } + + public Comment text(String text) { + this.text = text; + return this; + } + + /** + * + * @return text + **/ + @ApiModelProperty(example = "null", value = "") + public String getText() { + return text; + } + + public void setText(String text) { + this.text = text; + } + + public Comment threadId(String threadId) { + this.threadId = threadId; + return this; + } + + /** + * + * @return threadId + **/ + @ApiModelProperty(example = "null", value = "") + public String getThreadId() { + return threadId; + } + + public void setThreadId(String threadId) { + this.threadId = threadId; + } + + public Comment threadOriginatorId(String threadOriginatorId) { + this.threadOriginatorId = threadOriginatorId; + return this; + } + + /** + * + * @return threadOriginatorId + **/ + @ApiModelProperty(example = "null", value = "") + public String getThreadOriginatorId() { + return threadOriginatorId; + } + + public void setThreadOriginatorId(String threadOriginatorId) { + this.threadOriginatorId = threadOriginatorId; + } + + public Comment timestamp(String timestamp) { + this.timestamp = timestamp; + return this; + } + + /** + * + * @return timestamp + **/ + @ApiModelProperty(example = "null", value = "") + public String getTimestamp() { + return timestamp; + } + + public void setTimestamp(String timestamp) { + this.timestamp = timestamp; + } + + public Comment timeStampFormatted(String timeStampFormatted) { + this.timeStampFormatted = timeStampFormatted; + return this; + } + + /** + * + * @return timeStampFormatted + **/ + @ApiModelProperty(example = "null", value = "") + public String getTimeStampFormatted() { + return timeStampFormatted; + } + + public void setTimeStampFormatted(String timeStampFormatted) { + this.timeStampFormatted = timeStampFormatted; + } + + public Comment visibleTo(java.util.List visibleTo) { + this.visibleTo = visibleTo; + return this; + } + + public Comment addVisibleToItem(String visibleToItem) { + this.visibleTo.add(visibleToItem); + return this; + } + + /** + * + * @return visibleTo + **/ + @ApiModelProperty(example = "null", value = "") + public java.util.List getVisibleTo() { + return visibleTo; + } + + public void setVisibleTo(java.util.List visibleTo) { + this.visibleTo = visibleTo; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Comment comment = (Comment) o; + return Objects.equals(this.envelopeId, comment.envelopeId) && + Objects.equals(this.hmac, comment.hmac) && + Objects.equals(this.id, comment.id) && + Objects.equals(this.mentions, comment.mentions) && + Objects.equals(this.read, comment.read) && + Objects.equals(this.sentByEmail, comment.sentByEmail) && + Objects.equals(this.sentByFullName, comment.sentByFullName) && + Objects.equals(this.sentByImageId, comment.sentByImageId) && + Objects.equals(this.sentByInitials, comment.sentByInitials) && + Objects.equals(this.sentByRecipientId, comment.sentByRecipientId) && + Objects.equals(this.sentByUserId, comment.sentByUserId) && + Objects.equals(this.signingGroupId, comment.signingGroupId) && + Objects.equals(this.signingGroupName, comment.signingGroupName) && + Objects.equals(this.subject, comment.subject) && + Objects.equals(this.tabId, comment.tabId) && + Objects.equals(this.text, comment.text) && + Objects.equals(this.threadId, comment.threadId) && + Objects.equals(this.threadOriginatorId, comment.threadOriginatorId) && + Objects.equals(this.timestamp, comment.timestamp) && + Objects.equals(this.timeStampFormatted, comment.timeStampFormatted) && + Objects.equals(this.visibleTo, comment.visibleTo); + } + + @Override + public int hashCode() { + return Objects.hash(envelopeId, hmac, id, mentions, read, sentByEmail, sentByFullName, sentByImageId, sentByInitials, sentByRecipientId, sentByUserId, signingGroupId, signingGroupName, subject, tabId, text, threadId, threadOriginatorId, timestamp, timeStampFormatted, visibleTo); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Comment {\n"); + + sb.append(" envelopeId: ").append(toIndentedString(envelopeId)).append("\n"); + sb.append(" hmac: ").append(toIndentedString(hmac)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" mentions: ").append(toIndentedString(mentions)).append("\n"); + sb.append(" read: ").append(toIndentedString(read)).append("\n"); + sb.append(" sentByEmail: ").append(toIndentedString(sentByEmail)).append("\n"); + sb.append(" sentByFullName: ").append(toIndentedString(sentByFullName)).append("\n"); + sb.append(" sentByImageId: ").append(toIndentedString(sentByImageId)).append("\n"); + sb.append(" sentByInitials: ").append(toIndentedString(sentByInitials)).append("\n"); + sb.append(" sentByRecipientId: ").append(toIndentedString(sentByRecipientId)).append("\n"); + sb.append(" sentByUserId: ").append(toIndentedString(sentByUserId)).append("\n"); + sb.append(" signingGroupId: ").append(toIndentedString(signingGroupId)).append("\n"); + sb.append(" signingGroupName: ").append(toIndentedString(signingGroupName)).append("\n"); + sb.append(" subject: ").append(toIndentedString(subject)).append("\n"); + sb.append(" tabId: ").append(toIndentedString(tabId)).append("\n"); + sb.append(" text: ").append(toIndentedString(text)).append("\n"); + sb.append(" threadId: ").append(toIndentedString(threadId)).append("\n"); + sb.append(" threadOriginatorId: ").append(toIndentedString(threadOriginatorId)).append("\n"); + sb.append(" timestamp: ").append(toIndentedString(timestamp)).append("\n"); + sb.append(" timeStampFormatted: ").append(toIndentedString(timeStampFormatted)).append("\n"); + sb.append(" visibleTo: ").append(toIndentedString(visibleTo)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/com/docusign/esign/model/CommentHistoryResult.java b/src/main/java/com/docusign/esign/model/CommentHistoryResult.java new file mode 100644 index 00000000..e728e394 --- /dev/null +++ b/src/main/java/com/docusign/esign/model/CommentHistoryResult.java @@ -0,0 +1,151 @@ +package com.docusign.esign.model; + +import java.util.Objects; +import com.docusign.esign.model.Comment; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +/** + * CommentHistoryResult + */ + +public class CommentHistoryResult { + @JsonProperty("comments") + private java.util.List comments = new java.util.ArrayList(); + + @JsonProperty("count") + private Integer count = null; + + @JsonProperty("endTimetoken") + private String endTimetoken = null; + + @JsonProperty("startTimetoken") + private String startTimetoken = null; + + public CommentHistoryResult comments(java.util.List comments) { + this.comments = comments; + return this; + } + + public CommentHistoryResult addCommentsItem(Comment commentsItem) { + this.comments.add(commentsItem); + return this; + } + + /** + * + * @return comments + **/ + @ApiModelProperty(example = "null", value = "") + public java.util.List getComments() { + return comments; + } + + public void setComments(java.util.List comments) { + this.comments = comments; + } + + public CommentHistoryResult count(Integer count) { + this.count = count; + return this; + } + + /** + * + * @return count + **/ + @ApiModelProperty(example = "null", value = "") + public Integer getCount() { + return count; + } + + public void setCount(Integer count) { + this.count = count; + } + + public CommentHistoryResult endTimetoken(String endTimetoken) { + this.endTimetoken = endTimetoken; + return this; + } + + /** + * + * @return endTimetoken + **/ + @ApiModelProperty(example = "null", value = "") + public String getEndTimetoken() { + return endTimetoken; + } + + public void setEndTimetoken(String endTimetoken) { + this.endTimetoken = endTimetoken; + } + + public CommentHistoryResult startTimetoken(String startTimetoken) { + this.startTimetoken = startTimetoken; + return this; + } + + /** + * + * @return startTimetoken + **/ + @ApiModelProperty(example = "null", value = "") + public String getStartTimetoken() { + return startTimetoken; + } + + public void setStartTimetoken(String startTimetoken) { + this.startTimetoken = startTimetoken; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CommentHistoryResult commentHistoryResult = (CommentHistoryResult) o; + return Objects.equals(this.comments, commentHistoryResult.comments) && + Objects.equals(this.count, commentHistoryResult.count) && + Objects.equals(this.endTimetoken, commentHistoryResult.endTimetoken) && + Objects.equals(this.startTimetoken, commentHistoryResult.startTimetoken); + } + + @Override + public int hashCode() { + return Objects.hash(comments, count, endTimetoken, startTimetoken); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CommentHistoryResult {\n"); + + sb.append(" comments: ").append(toIndentedString(comments)).append("\n"); + sb.append(" count: ").append(toIndentedString(count)).append("\n"); + sb.append(" endTimetoken: ").append(toIndentedString(endTimetoken)).append("\n"); + sb.append(" startTimetoken: ").append(toIndentedString(startTimetoken)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/com/docusign/esign/model/CommentPublish.java b/src/main/java/com/docusign/esign/model/CommentPublish.java new file mode 100644 index 00000000..fd928397 --- /dev/null +++ b/src/main/java/com/docusign/esign/model/CommentPublish.java @@ -0,0 +1,206 @@ +package com.docusign.esign.model; + +import java.util.Objects; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +/** + * CommentPublish + */ + +public class CommentPublish { + @JsonProperty("id") + private String id = null; + + @JsonProperty("mentions") + private java.util.List mentions = new java.util.ArrayList(); + + @JsonProperty("text") + private String text = null; + + @JsonProperty("threadAnchorKeys") + private java.util.Map threadAnchorKeys = new java.util.HashMap(); + + @JsonProperty("threadId") + private String threadId = null; + + @JsonProperty("visibleTo") + private java.util.List visibleTo = new java.util.ArrayList(); + + public CommentPublish id(String id) { + this.id = id; + return this; + } + + /** + * + * @return id + **/ + @ApiModelProperty(example = "null", value = "") + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public CommentPublish mentions(java.util.List mentions) { + this.mentions = mentions; + return this; + } + + public CommentPublish addMentionsItem(String mentionsItem) { + this.mentions.add(mentionsItem); + return this; + } + + /** + * + * @return mentions + **/ + @ApiModelProperty(example = "null", value = "") + public java.util.List getMentions() { + return mentions; + } + + public void setMentions(java.util.List mentions) { + this.mentions = mentions; + } + + public CommentPublish text(String text) { + this.text = text; + return this; + } + + /** + * + * @return text + **/ + @ApiModelProperty(example = "null", value = "") + public String getText() { + return text; + } + + public void setText(String text) { + this.text = text; + } + + public CommentPublish threadAnchorKeys(java.util.Map threadAnchorKeys) { + this.threadAnchorKeys = threadAnchorKeys; + return this; + } + + public CommentPublish putThreadAnchorKeysItem(String key, String threadAnchorKeysItem) { + this.threadAnchorKeys.put(key, threadAnchorKeysItem); + return this; + } + + /** + * + * @return threadAnchorKeys + **/ + @ApiModelProperty(example = "null", value = "") + public java.util.Map getThreadAnchorKeys() { + return threadAnchorKeys; + } + + public void setThreadAnchorKeys(java.util.Map threadAnchorKeys) { + this.threadAnchorKeys = threadAnchorKeys; + } + + public CommentPublish threadId(String threadId) { + this.threadId = threadId; + return this; + } + + /** + * + * @return threadId + **/ + @ApiModelProperty(example = "null", value = "") + public String getThreadId() { + return threadId; + } + + public void setThreadId(String threadId) { + this.threadId = threadId; + } + + public CommentPublish visibleTo(java.util.List visibleTo) { + this.visibleTo = visibleTo; + return this; + } + + public CommentPublish addVisibleToItem(String visibleToItem) { + this.visibleTo.add(visibleToItem); + return this; + } + + /** + * + * @return visibleTo + **/ + @ApiModelProperty(example = "null", value = "") + public java.util.List getVisibleTo() { + return visibleTo; + } + + public void setVisibleTo(java.util.List visibleTo) { + this.visibleTo = visibleTo; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CommentPublish commentPublish = (CommentPublish) o; + return Objects.equals(this.id, commentPublish.id) && + Objects.equals(this.mentions, commentPublish.mentions) && + Objects.equals(this.text, commentPublish.text) && + Objects.equals(this.threadAnchorKeys, commentPublish.threadAnchorKeys) && + Objects.equals(this.threadId, commentPublish.threadId) && + Objects.equals(this.visibleTo, commentPublish.visibleTo); + } + + @Override + public int hashCode() { + return Objects.hash(id, mentions, text, threadAnchorKeys, threadId, visibleTo); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CommentPublish {\n"); + + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" mentions: ").append(toIndentedString(mentions)).append("\n"); + sb.append(" text: ").append(toIndentedString(text)).append("\n"); + sb.append(" threadAnchorKeys: ").append(toIndentedString(threadAnchorKeys)).append("\n"); + sb.append(" threadId: ").append(toIndentedString(threadId)).append("\n"); + sb.append(" visibleTo: ").append(toIndentedString(visibleTo)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/com/docusign/esign/model/CommentThread.java b/src/main/java/com/docusign/esign/model/CommentThread.java new file mode 100644 index 00000000..d814d075 --- /dev/null +++ b/src/main/java/com/docusign/esign/model/CommentThread.java @@ -0,0 +1,1954 @@ +package com.docusign.esign.model; + +import java.util.Objects; +import com.docusign.esign.model.Comment; +import com.docusign.esign.model.ErrorDetails; +import com.docusign.esign.model.LocalePolicyTab; +import com.docusign.esign.model.MergeField; +import com.docusign.esign.model.PropertyMetadata; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +/** + * CommentThread + */ + +public class CommentThread { + @JsonProperty("anchorCaseSensitive") + private String anchorCaseSensitive = null; + + @JsonProperty("anchorCaseSensitiveMetadata") + private PropertyMetadata anchorCaseSensitiveMetadata = null; + + @JsonProperty("anchorHorizontalAlignment") + private String anchorHorizontalAlignment = null; + + @JsonProperty("anchorHorizontalAlignmentMetadata") + private PropertyMetadata anchorHorizontalAlignmentMetadata = null; + + @JsonProperty("anchorIgnoreIfNotPresent") + private String anchorIgnoreIfNotPresent = null; + + @JsonProperty("anchorIgnoreIfNotPresentMetadata") + private PropertyMetadata anchorIgnoreIfNotPresentMetadata = null; + + @JsonProperty("anchorMatchWholeWord") + private String anchorMatchWholeWord = null; + + @JsonProperty("anchorMatchWholeWordMetadata") + private PropertyMetadata anchorMatchWholeWordMetadata = null; + + @JsonProperty("anchorString") + private String anchorString = null; + + @JsonProperty("anchorStringMetadata") + private PropertyMetadata anchorStringMetadata = null; + + @JsonProperty("anchorTabProcessorVersion") + private String anchorTabProcessorVersion = null; + + @JsonProperty("anchorTabProcessorVersionMetadata") + private PropertyMetadata anchorTabProcessorVersionMetadata = null; + + @JsonProperty("anchorUnits") + private String anchorUnits = null; + + @JsonProperty("anchorUnitsMetadata") + private PropertyMetadata anchorUnitsMetadata = null; + + @JsonProperty("anchorXOffset") + private String anchorXOffset = null; + + @JsonProperty("anchorXOffsetMetadata") + private PropertyMetadata anchorXOffsetMetadata = null; + + @JsonProperty("anchorYOffset") + private String anchorYOffset = null; + + @JsonProperty("anchorYOffsetMetadata") + private PropertyMetadata anchorYOffsetMetadata = null; + + @JsonProperty("bold") + private String bold = null; + + @JsonProperty("boldMetadata") + private PropertyMetadata boldMetadata = null; + + @JsonProperty("comments") + private java.util.List comments = new java.util.ArrayList(); + + @JsonProperty("conditionalParentLabel") + private String conditionalParentLabel = null; + + @JsonProperty("conditionalParentLabelMetadata") + private PropertyMetadata conditionalParentLabelMetadata = null; + + @JsonProperty("conditionalParentValue") + private String conditionalParentValue = null; + + @JsonProperty("conditionalParentValueMetadata") + private PropertyMetadata conditionalParentValueMetadata = null; + + @JsonProperty("customTabId") + private String customTabId = null; + + @JsonProperty("customTabIdMetadata") + private PropertyMetadata customTabIdMetadata = null; + + @JsonProperty("documentId") + private String documentId = null; + + @JsonProperty("documentIdMetadata") + private PropertyMetadata documentIdMetadata = null; + + @JsonProperty("errorDetails") + private ErrorDetails errorDetails = null; + + @JsonProperty("font") + private String font = null; + + @JsonProperty("fontColor") + private String fontColor = null; + + @JsonProperty("fontColorMetadata") + private PropertyMetadata fontColorMetadata = null; + + @JsonProperty("fontMetadata") + private PropertyMetadata fontMetadata = null; + + @JsonProperty("fontSize") + private String fontSize = null; + + @JsonProperty("fontSizeMetadata") + private PropertyMetadata fontSizeMetadata = null; + + @JsonProperty("formOrder") + private String formOrder = null; + + @JsonProperty("formOrderMetadata") + private PropertyMetadata formOrderMetadata = null; + + @JsonProperty("formPageLabel") + private String formPageLabel = null; + + @JsonProperty("formPageLabelMetadata") + private PropertyMetadata formPageLabelMetadata = null; + + @JsonProperty("formPageNumber") + private String formPageNumber = null; + + @JsonProperty("formPageNumberMetadata") + private PropertyMetadata formPageNumberMetadata = null; + + @JsonProperty("height") + private String height = null; + + @JsonProperty("heightMetadata") + private PropertyMetadata heightMetadata = null; + + @JsonProperty("italic") + private String italic = null; + + @JsonProperty("italicMetadata") + private PropertyMetadata italicMetadata = null; + + @JsonProperty("localePolicy") + private LocalePolicyTab localePolicy = null; + + @JsonProperty("mergeField") + private MergeField mergeField = null; + + @JsonProperty("mergeFieldXml") + private String mergeFieldXml = null; + + @JsonProperty("pageNumber") + private String pageNumber = null; + + @JsonProperty("pageNumberMetadata") + private PropertyMetadata pageNumberMetadata = null; + + @JsonProperty("recipientId") + private String recipientId = null; + + @JsonProperty("recipientIdGuid") + private String recipientIdGuid = null; + + @JsonProperty("recipientIdGuidMetadata") + private PropertyMetadata recipientIdGuidMetadata = null; + + @JsonProperty("recipientIdMetadata") + private PropertyMetadata recipientIdMetadata = null; + + @JsonProperty("status") + private String status = null; + + @JsonProperty("statusMetadata") + private PropertyMetadata statusMetadata = null; + + @JsonProperty("tabGroupLabels") + private java.util.List tabGroupLabels = new java.util.ArrayList(); + + @JsonProperty("tabGroupLabelsMetadata") + private PropertyMetadata tabGroupLabelsMetadata = null; + + @JsonProperty("tabId") + private String tabId = null; + + @JsonProperty("tabIdMetadata") + private PropertyMetadata tabIdMetadata = null; + + @JsonProperty("tabLabel") + private String tabLabel = null; + + @JsonProperty("tabLabelMetadata") + private PropertyMetadata tabLabelMetadata = null; + + @JsonProperty("tabOrder") + private String tabOrder = null; + + @JsonProperty("tabOrderMetadata") + private PropertyMetadata tabOrderMetadata = null; + + @JsonProperty("tabType") + private String tabType = null; + + @JsonProperty("tabTypeMetadata") + private PropertyMetadata tabTypeMetadata = null; + + @JsonProperty("templateLocked") + private String templateLocked = null; + + @JsonProperty("templateLockedMetadata") + private PropertyMetadata templateLockedMetadata = null; + + @JsonProperty("templateRequired") + private String templateRequired = null; + + @JsonProperty("templateRequiredMetadata") + private PropertyMetadata templateRequiredMetadata = null; + + @JsonProperty("threadId") + private String threadId = null; + + @JsonProperty("tooltip") + private String tooltip = null; + + @JsonProperty("toolTipMetadata") + private PropertyMetadata toolTipMetadata = null; + + @JsonProperty("underline") + private String underline = null; + + @JsonProperty("underlineMetadata") + private PropertyMetadata underlineMetadata = null; + + @JsonProperty("width") + private String width = null; + + @JsonProperty("widthMetadata") + private PropertyMetadata widthMetadata = null; + + @JsonProperty("xPosition") + private String xPosition = null; + + @JsonProperty("xPositionMetadata") + private PropertyMetadata xPositionMetadata = null; + + @JsonProperty("yPosition") + private String yPosition = null; + + @JsonProperty("yPositionMetadata") + private PropertyMetadata yPositionMetadata = null; + + public CommentThread anchorCaseSensitive(String anchorCaseSensitive) { + this.anchorCaseSensitive = anchorCaseSensitive; + return this; + } + + /** + * When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**. + * @return anchorCaseSensitive + **/ + @ApiModelProperty(example = "null", value = "When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.") + public String getAnchorCaseSensitive() { + return anchorCaseSensitive; + } + + public void setAnchorCaseSensitive(String anchorCaseSensitive) { + this.anchorCaseSensitive = anchorCaseSensitive; + } + + public CommentThread anchorCaseSensitiveMetadata(PropertyMetadata anchorCaseSensitiveMetadata) { + this.anchorCaseSensitiveMetadata = anchorCaseSensitiveMetadata; + return this; + } + + /** + * Get anchorCaseSensitiveMetadata + * @return anchorCaseSensitiveMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getAnchorCaseSensitiveMetadata() { + return anchorCaseSensitiveMetadata; + } + + public void setAnchorCaseSensitiveMetadata(PropertyMetadata anchorCaseSensitiveMetadata) { + this.anchorCaseSensitiveMetadata = anchorCaseSensitiveMetadata; + } + + public CommentThread anchorHorizontalAlignment(String anchorHorizontalAlignment) { + this.anchorHorizontalAlignment = anchorHorizontalAlignment; + return this; + } + + /** + * Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**. + * @return anchorHorizontalAlignment + **/ + @ApiModelProperty(example = "null", value = "Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.") + public String getAnchorHorizontalAlignment() { + return anchorHorizontalAlignment; + } + + public void setAnchorHorizontalAlignment(String anchorHorizontalAlignment) { + this.anchorHorizontalAlignment = anchorHorizontalAlignment; + } + + public CommentThread anchorHorizontalAlignmentMetadata(PropertyMetadata anchorHorizontalAlignmentMetadata) { + this.anchorHorizontalAlignmentMetadata = anchorHorizontalAlignmentMetadata; + return this; + } + + /** + * Get anchorHorizontalAlignmentMetadata + * @return anchorHorizontalAlignmentMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getAnchorHorizontalAlignmentMetadata() { + return anchorHorizontalAlignmentMetadata; + } + + public void setAnchorHorizontalAlignmentMetadata(PropertyMetadata anchorHorizontalAlignmentMetadata) { + this.anchorHorizontalAlignmentMetadata = anchorHorizontalAlignmentMetadata; + } + + public CommentThread anchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { + this.anchorIgnoreIfNotPresent = anchorIgnoreIfNotPresent; + return this; + } + + /** + * When set to **true**, this tab is ignored if anchorString is not found in the document. + * @return anchorIgnoreIfNotPresent + **/ + @ApiModelProperty(example = "null", value = "When set to **true**, this tab is ignored if anchorString is not found in the document.") + public String getAnchorIgnoreIfNotPresent() { + return anchorIgnoreIfNotPresent; + } + + public void setAnchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { + this.anchorIgnoreIfNotPresent = anchorIgnoreIfNotPresent; + } + + public CommentThread anchorIgnoreIfNotPresentMetadata(PropertyMetadata anchorIgnoreIfNotPresentMetadata) { + this.anchorIgnoreIfNotPresentMetadata = anchorIgnoreIfNotPresentMetadata; + return this; + } + + /** + * Get anchorIgnoreIfNotPresentMetadata + * @return anchorIgnoreIfNotPresentMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getAnchorIgnoreIfNotPresentMetadata() { + return anchorIgnoreIfNotPresentMetadata; + } + + public void setAnchorIgnoreIfNotPresentMetadata(PropertyMetadata anchorIgnoreIfNotPresentMetadata) { + this.anchorIgnoreIfNotPresentMetadata = anchorIgnoreIfNotPresentMetadata; + } + + public CommentThread anchorMatchWholeWord(String anchorMatchWholeWord) { + this.anchorMatchWholeWord = anchorMatchWholeWord; + return this; + } + + /** + * When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**. + * @return anchorMatchWholeWord + **/ + @ApiModelProperty(example = "null", value = "When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.") + public String getAnchorMatchWholeWord() { + return anchorMatchWholeWord; + } + + public void setAnchorMatchWholeWord(String anchorMatchWholeWord) { + this.anchorMatchWholeWord = anchorMatchWholeWord; + } + + public CommentThread anchorMatchWholeWordMetadata(PropertyMetadata anchorMatchWholeWordMetadata) { + this.anchorMatchWholeWordMetadata = anchorMatchWholeWordMetadata; + return this; + } + + /** + * Get anchorMatchWholeWordMetadata + * @return anchorMatchWholeWordMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getAnchorMatchWholeWordMetadata() { + return anchorMatchWholeWordMetadata; + } + + public void setAnchorMatchWholeWordMetadata(PropertyMetadata anchorMatchWholeWordMetadata) { + this.anchorMatchWholeWordMetadata = anchorMatchWholeWordMetadata; + } + + public CommentThread anchorString(String anchorString) { + this.anchorString = anchorString; + return this; + } + + /** + * Anchor text information for a radio button. + * @return anchorString + **/ + @ApiModelProperty(example = "null", value = "Anchor text information for a radio button.") + public String getAnchorString() { + return anchorString; + } + + public void setAnchorString(String anchorString) { + this.anchorString = anchorString; + } + + public CommentThread anchorStringMetadata(PropertyMetadata anchorStringMetadata) { + this.anchorStringMetadata = anchorStringMetadata; + return this; + } + + /** + * Get anchorStringMetadata + * @return anchorStringMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getAnchorStringMetadata() { + return anchorStringMetadata; + } + + public void setAnchorStringMetadata(PropertyMetadata anchorStringMetadata) { + this.anchorStringMetadata = anchorStringMetadata; + } + + public CommentThread anchorTabProcessorVersion(String anchorTabProcessorVersion) { + this.anchorTabProcessorVersion = anchorTabProcessorVersion; + return this; + } + + /** + * + * @return anchorTabProcessorVersion + **/ + @ApiModelProperty(example = "null", value = "") + public String getAnchorTabProcessorVersion() { + return anchorTabProcessorVersion; + } + + public void setAnchorTabProcessorVersion(String anchorTabProcessorVersion) { + this.anchorTabProcessorVersion = anchorTabProcessorVersion; + } + + public CommentThread anchorTabProcessorVersionMetadata(PropertyMetadata anchorTabProcessorVersionMetadata) { + this.anchorTabProcessorVersionMetadata = anchorTabProcessorVersionMetadata; + return this; + } + + /** + * Get anchorTabProcessorVersionMetadata + * @return anchorTabProcessorVersionMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getAnchorTabProcessorVersionMetadata() { + return anchorTabProcessorVersionMetadata; + } + + public void setAnchorTabProcessorVersionMetadata(PropertyMetadata anchorTabProcessorVersionMetadata) { + this.anchorTabProcessorVersionMetadata = anchorTabProcessorVersionMetadata; + } + + public CommentThread anchorUnits(String anchorUnits) { + this.anchorUnits = anchorUnits; + return this; + } + + /** + * Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. + * @return anchorUnits + **/ + @ApiModelProperty(example = "null", value = "Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.") + public String getAnchorUnits() { + return anchorUnits; + } + + public void setAnchorUnits(String anchorUnits) { + this.anchorUnits = anchorUnits; + } + + public CommentThread anchorUnitsMetadata(PropertyMetadata anchorUnitsMetadata) { + this.anchorUnitsMetadata = anchorUnitsMetadata; + return this; + } + + /** + * Get anchorUnitsMetadata + * @return anchorUnitsMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getAnchorUnitsMetadata() { + return anchorUnitsMetadata; + } + + public void setAnchorUnitsMetadata(PropertyMetadata anchorUnitsMetadata) { + this.anchorUnitsMetadata = anchorUnitsMetadata; + } + + public CommentThread anchorXOffset(String anchorXOffset) { + this.anchorXOffset = anchorXOffset; + return this; + } + + /** + * Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString. + * @return anchorXOffset + **/ + @ApiModelProperty(example = "null", value = "Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.") + public String getAnchorXOffset() { + return anchorXOffset; + } + + public void setAnchorXOffset(String anchorXOffset) { + this.anchorXOffset = anchorXOffset; + } + + public CommentThread anchorXOffsetMetadata(PropertyMetadata anchorXOffsetMetadata) { + this.anchorXOffsetMetadata = anchorXOffsetMetadata; + return this; + } + + /** + * Get anchorXOffsetMetadata + * @return anchorXOffsetMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getAnchorXOffsetMetadata() { + return anchorXOffsetMetadata; + } + + public void setAnchorXOffsetMetadata(PropertyMetadata anchorXOffsetMetadata) { + this.anchorXOffsetMetadata = anchorXOffsetMetadata; + } + + public CommentThread anchorYOffset(String anchorYOffset) { + this.anchorYOffset = anchorYOffset; + return this; + } + + /** + * Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString. + * @return anchorYOffset + **/ + @ApiModelProperty(example = "null", value = "Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.") + public String getAnchorYOffset() { + return anchorYOffset; + } + + public void setAnchorYOffset(String anchorYOffset) { + this.anchorYOffset = anchorYOffset; + } + + public CommentThread anchorYOffsetMetadata(PropertyMetadata anchorYOffsetMetadata) { + this.anchorYOffsetMetadata = anchorYOffsetMetadata; + return this; + } + + /** + * Get anchorYOffsetMetadata + * @return anchorYOffsetMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getAnchorYOffsetMetadata() { + return anchorYOffsetMetadata; + } + + public void setAnchorYOffsetMetadata(PropertyMetadata anchorYOffsetMetadata) { + this.anchorYOffsetMetadata = anchorYOffsetMetadata; + } + + public CommentThread bold(String bold) { + this.bold = bold; + return this; + } + + /** + * When set to **true**, the information in the tab is bold. + * @return bold + **/ + @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is bold.") + public String getBold() { + return bold; + } + + public void setBold(String bold) { + this.bold = bold; + } + + public CommentThread boldMetadata(PropertyMetadata boldMetadata) { + this.boldMetadata = boldMetadata; + return this; + } + + /** + * Get boldMetadata + * @return boldMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getBoldMetadata() { + return boldMetadata; + } + + public void setBoldMetadata(PropertyMetadata boldMetadata) { + this.boldMetadata = boldMetadata; + } + + public CommentThread comments(java.util.List comments) { + this.comments = comments; + return this; + } + + public CommentThread addCommentsItem(Comment commentsItem) { + this.comments.add(commentsItem); + return this; + } + + /** + * + * @return comments + **/ + @ApiModelProperty(example = "null", value = "") + public java.util.List getComments() { + return comments; + } + + public void setComments(java.util.List comments) { + this.comments = comments; + } + + public CommentThread conditionalParentLabel(String conditionalParentLabel) { + this.conditionalParentLabel = conditionalParentLabel; + return this; + } + + /** + * For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility. + * @return conditionalParentLabel + **/ + @ApiModelProperty(example = "null", value = "For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.") + public String getConditionalParentLabel() { + return conditionalParentLabel; + } + + public void setConditionalParentLabel(String conditionalParentLabel) { + this.conditionalParentLabel = conditionalParentLabel; + } + + public CommentThread conditionalParentLabelMetadata(PropertyMetadata conditionalParentLabelMetadata) { + this.conditionalParentLabelMetadata = conditionalParentLabelMetadata; + return this; + } + + /** + * Get conditionalParentLabelMetadata + * @return conditionalParentLabelMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getConditionalParentLabelMetadata() { + return conditionalParentLabelMetadata; + } + + public void setConditionalParentLabelMetadata(PropertyMetadata conditionalParentLabelMetadata) { + this.conditionalParentLabelMetadata = conditionalParentLabelMetadata; + } + + public CommentThread conditionalParentValue(String conditionalParentValue) { + this.conditionalParentValue = conditionalParentValue; + return this; + } + + /** + * For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. + * @return conditionalParentValue + **/ + @ApiModelProperty(example = "null", value = "For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. ") + public String getConditionalParentValue() { + return conditionalParentValue; + } + + public void setConditionalParentValue(String conditionalParentValue) { + this.conditionalParentValue = conditionalParentValue; + } + + public CommentThread conditionalParentValueMetadata(PropertyMetadata conditionalParentValueMetadata) { + this.conditionalParentValueMetadata = conditionalParentValueMetadata; + return this; + } + + /** + * Get conditionalParentValueMetadata + * @return conditionalParentValueMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getConditionalParentValueMetadata() { + return conditionalParentValueMetadata; + } + + public void setConditionalParentValueMetadata(PropertyMetadata conditionalParentValueMetadata) { + this.conditionalParentValueMetadata = conditionalParentValueMetadata; + } + + public CommentThread customTabId(String customTabId) { + this.customTabId = customTabId; + return this; + } + + /** + * The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties. + * @return customTabId + **/ + @ApiModelProperty(example = "null", value = "The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.") + public String getCustomTabId() { + return customTabId; + } + + public void setCustomTabId(String customTabId) { + this.customTabId = customTabId; + } + + public CommentThread customTabIdMetadata(PropertyMetadata customTabIdMetadata) { + this.customTabIdMetadata = customTabIdMetadata; + return this; + } + + /** + * Get customTabIdMetadata + * @return customTabIdMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getCustomTabIdMetadata() { + return customTabIdMetadata; + } + + public void setCustomTabIdMetadata(PropertyMetadata customTabIdMetadata) { + this.customTabIdMetadata = customTabIdMetadata; + } + + public CommentThread documentId(String documentId) { + this.documentId = documentId; + return this; + } + + /** + * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute. + * @return documentId + **/ + @ApiModelProperty(example = "null", value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") + public String getDocumentId() { + return documentId; + } + + public void setDocumentId(String documentId) { + this.documentId = documentId; + } + + public CommentThread documentIdMetadata(PropertyMetadata documentIdMetadata) { + this.documentIdMetadata = documentIdMetadata; + return this; + } + + /** + * Get documentIdMetadata + * @return documentIdMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getDocumentIdMetadata() { + return documentIdMetadata; + } + + public void setDocumentIdMetadata(PropertyMetadata documentIdMetadata) { + this.documentIdMetadata = documentIdMetadata; + } + + public CommentThread errorDetails(ErrorDetails errorDetails) { + this.errorDetails = errorDetails; + return this; + } + + /** + * Get errorDetails + * @return errorDetails + **/ + @ApiModelProperty(example = "null", value = "") + public ErrorDetails getErrorDetails() { + return errorDetails; + } + + public void setErrorDetails(ErrorDetails errorDetails) { + this.errorDetails = errorDetails; + } + + public CommentThread font(String font) { + this.font = font; + return this; + } + + /** + * The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default. + * @return font + **/ + @ApiModelProperty(example = "null", value = "The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.") + public String getFont() { + return font; + } + + public void setFont(String font) { + this.font = font; + } + + public CommentThread fontColor(String fontColor) { + this.fontColor = fontColor; + return this; + } + + /** + * The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White. + * @return fontColor + **/ + @ApiModelProperty(example = "null", value = "The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.") + public String getFontColor() { + return fontColor; + } + + public void setFontColor(String fontColor) { + this.fontColor = fontColor; + } + + public CommentThread fontColorMetadata(PropertyMetadata fontColorMetadata) { + this.fontColorMetadata = fontColorMetadata; + return this; + } + + /** + * Get fontColorMetadata + * @return fontColorMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getFontColorMetadata() { + return fontColorMetadata; + } + + public void setFontColorMetadata(PropertyMetadata fontColorMetadata) { + this.fontColorMetadata = fontColorMetadata; + } + + public CommentThread fontMetadata(PropertyMetadata fontMetadata) { + this.fontMetadata = fontMetadata; + return this; + } + + /** + * Get fontMetadata + * @return fontMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getFontMetadata() { + return fontMetadata; + } + + public void setFontMetadata(PropertyMetadata fontMetadata) { + this.fontMetadata = fontMetadata; + } + + public CommentThread fontSize(String fontSize) { + this.fontSize = fontSize; + return this; + } + + /** + * The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72. + * @return fontSize + **/ + @ApiModelProperty(example = "null", value = "The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.") + public String getFontSize() { + return fontSize; + } + + public void setFontSize(String fontSize) { + this.fontSize = fontSize; + } + + public CommentThread fontSizeMetadata(PropertyMetadata fontSizeMetadata) { + this.fontSizeMetadata = fontSizeMetadata; + return this; + } + + /** + * Get fontSizeMetadata + * @return fontSizeMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getFontSizeMetadata() { + return fontSizeMetadata; + } + + public void setFontSizeMetadata(PropertyMetadata fontSizeMetadata) { + this.fontSizeMetadata = fontSizeMetadata; + } + + public CommentThread formOrder(String formOrder) { + this.formOrder = formOrder; + return this; + } + + /** + * + * @return formOrder + **/ + @ApiModelProperty(example = "null", value = "") + public String getFormOrder() { + return formOrder; + } + + public void setFormOrder(String formOrder) { + this.formOrder = formOrder; + } + + public CommentThread formOrderMetadata(PropertyMetadata formOrderMetadata) { + this.formOrderMetadata = formOrderMetadata; + return this; + } + + /** + * Get formOrderMetadata + * @return formOrderMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getFormOrderMetadata() { + return formOrderMetadata; + } + + public void setFormOrderMetadata(PropertyMetadata formOrderMetadata) { + this.formOrderMetadata = formOrderMetadata; + } + + public CommentThread formPageLabel(String formPageLabel) { + this.formPageLabel = formPageLabel; + return this; + } + + /** + * + * @return formPageLabel + **/ + @ApiModelProperty(example = "null", value = "") + public String getFormPageLabel() { + return formPageLabel; + } + + public void setFormPageLabel(String formPageLabel) { + this.formPageLabel = formPageLabel; + } + + public CommentThread formPageLabelMetadata(PropertyMetadata formPageLabelMetadata) { + this.formPageLabelMetadata = formPageLabelMetadata; + return this; + } + + /** + * Get formPageLabelMetadata + * @return formPageLabelMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getFormPageLabelMetadata() { + return formPageLabelMetadata; + } + + public void setFormPageLabelMetadata(PropertyMetadata formPageLabelMetadata) { + this.formPageLabelMetadata = formPageLabelMetadata; + } + + public CommentThread formPageNumber(String formPageNumber) { + this.formPageNumber = formPageNumber; + return this; + } + + /** + * + * @return formPageNumber + **/ + @ApiModelProperty(example = "null", value = "") + public String getFormPageNumber() { + return formPageNumber; + } + + public void setFormPageNumber(String formPageNumber) { + this.formPageNumber = formPageNumber; + } + + public CommentThread formPageNumberMetadata(PropertyMetadata formPageNumberMetadata) { + this.formPageNumberMetadata = formPageNumberMetadata; + return this; + } + + /** + * Get formPageNumberMetadata + * @return formPageNumberMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getFormPageNumberMetadata() { + return formPageNumberMetadata; + } + + public void setFormPageNumberMetadata(PropertyMetadata formPageNumberMetadata) { + this.formPageNumberMetadata = formPageNumberMetadata; + } + + public CommentThread height(String height) { + this.height = height; + return this; + } + + /** + * Height of the tab in pixels. + * @return height + **/ + @ApiModelProperty(example = "null", value = "Height of the tab in pixels.") + public String getHeight() { + return height; + } + + public void setHeight(String height) { + this.height = height; + } + + public CommentThread heightMetadata(PropertyMetadata heightMetadata) { + this.heightMetadata = heightMetadata; + return this; + } + + /** + * Get heightMetadata + * @return heightMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getHeightMetadata() { + return heightMetadata; + } + + public void setHeightMetadata(PropertyMetadata heightMetadata) { + this.heightMetadata = heightMetadata; + } + + public CommentThread italic(String italic) { + this.italic = italic; + return this; + } + + /** + * When set to **true**, the information in the tab is italic. + * @return italic + **/ + @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is italic.") + public String getItalic() { + return italic; + } + + public void setItalic(String italic) { + this.italic = italic; + } + + public CommentThread italicMetadata(PropertyMetadata italicMetadata) { + this.italicMetadata = italicMetadata; + return this; + } + + /** + * Get italicMetadata + * @return italicMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getItalicMetadata() { + return italicMetadata; + } + + public void setItalicMetadata(PropertyMetadata italicMetadata) { + this.italicMetadata = italicMetadata; + } + + public CommentThread localePolicy(LocalePolicyTab localePolicy) { + this.localePolicy = localePolicy; + return this; + } + + /** + * Get localePolicy + * @return localePolicy + **/ + @ApiModelProperty(example = "null", value = "") + public LocalePolicyTab getLocalePolicy() { + return localePolicy; + } + + public void setLocalePolicy(LocalePolicyTab localePolicy) { + this.localePolicy = localePolicy; + } + + public CommentThread mergeField(MergeField mergeField) { + this.mergeField = mergeField; + return this; + } + + /** + * Get mergeField + * @return mergeField + **/ + @ApiModelProperty(example = "null", value = "") + public MergeField getMergeField() { + return mergeField; + } + + public void setMergeField(MergeField mergeField) { + this.mergeField = mergeField; + } + + public CommentThread mergeFieldXml(String mergeFieldXml) { + this.mergeFieldXml = mergeFieldXml; + return this; + } + + /** + * + * @return mergeFieldXml + **/ + @ApiModelProperty(example = "null", value = "") + public String getMergeFieldXml() { + return mergeFieldXml; + } + + public void setMergeFieldXml(String mergeFieldXml) { + this.mergeFieldXml = mergeFieldXml; + } + + public CommentThread pageNumber(String pageNumber) { + this.pageNumber = pageNumber; + return this; + } + + /** + * Specifies the page number on which the tab is located. + * @return pageNumber + **/ + @ApiModelProperty(example = "null", value = "Specifies the page number on which the tab is located.") + public String getPageNumber() { + return pageNumber; + } + + public void setPageNumber(String pageNumber) { + this.pageNumber = pageNumber; + } + + public CommentThread pageNumberMetadata(PropertyMetadata pageNumberMetadata) { + this.pageNumberMetadata = pageNumberMetadata; + return this; + } + + /** + * Get pageNumberMetadata + * @return pageNumberMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getPageNumberMetadata() { + return pageNumberMetadata; + } + + public void setPageNumberMetadata(PropertyMetadata pageNumberMetadata) { + this.pageNumberMetadata = pageNumberMetadata; + } + + public CommentThread recipientId(String recipientId) { + this.recipientId = recipientId; + return this; + } + + /** + * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document. + * @return recipientId + **/ + @ApiModelProperty(example = "null", value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") + public String getRecipientId() { + return recipientId; + } + + public void setRecipientId(String recipientId) { + this.recipientId = recipientId; + } + + public CommentThread recipientIdGuid(String recipientIdGuid) { + this.recipientIdGuid = recipientIdGuid; + return this; + } + + /** + * + * @return recipientIdGuid + **/ + @ApiModelProperty(example = "null", value = "") + public String getRecipientIdGuid() { + return recipientIdGuid; + } + + public void setRecipientIdGuid(String recipientIdGuid) { + this.recipientIdGuid = recipientIdGuid; + } + + public CommentThread recipientIdGuidMetadata(PropertyMetadata recipientIdGuidMetadata) { + this.recipientIdGuidMetadata = recipientIdGuidMetadata; + return this; + } + + /** + * Get recipientIdGuidMetadata + * @return recipientIdGuidMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getRecipientIdGuidMetadata() { + return recipientIdGuidMetadata; + } + + public void setRecipientIdGuidMetadata(PropertyMetadata recipientIdGuidMetadata) { + this.recipientIdGuidMetadata = recipientIdGuidMetadata; + } + + public CommentThread recipientIdMetadata(PropertyMetadata recipientIdMetadata) { + this.recipientIdMetadata = recipientIdMetadata; + return this; + } + + /** + * Get recipientIdMetadata + * @return recipientIdMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getRecipientIdMetadata() { + return recipientIdMetadata; + } + + public void setRecipientIdMetadata(PropertyMetadata recipientIdMetadata) { + this.recipientIdMetadata = recipientIdMetadata; + } + + public CommentThread status(String status) { + this.status = status; + return this; + } + + /** + * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. + * @return status + **/ + @ApiModelProperty(example = "null", value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + public CommentThread statusMetadata(PropertyMetadata statusMetadata) { + this.statusMetadata = statusMetadata; + return this; + } + + /** + * Get statusMetadata + * @return statusMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getStatusMetadata() { + return statusMetadata; + } + + public void setStatusMetadata(PropertyMetadata statusMetadata) { + this.statusMetadata = statusMetadata; + } + + public CommentThread tabGroupLabels(java.util.List tabGroupLabels) { + this.tabGroupLabels = tabGroupLabels; + return this; + } + + public CommentThread addTabGroupLabelsItem(String tabGroupLabelsItem) { + this.tabGroupLabels.add(tabGroupLabelsItem); + return this; + } + + /** + * + * @return tabGroupLabels + **/ + @ApiModelProperty(example = "null", value = "") + public java.util.List getTabGroupLabels() { + return tabGroupLabels; + } + + public void setTabGroupLabels(java.util.List tabGroupLabels) { + this.tabGroupLabels = tabGroupLabels; + } + + public CommentThread tabGroupLabelsMetadata(PropertyMetadata tabGroupLabelsMetadata) { + this.tabGroupLabelsMetadata = tabGroupLabelsMetadata; + return this; + } + + /** + * Get tabGroupLabelsMetadata + * @return tabGroupLabelsMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getTabGroupLabelsMetadata() { + return tabGroupLabelsMetadata; + } + + public void setTabGroupLabelsMetadata(PropertyMetadata tabGroupLabelsMetadata) { + this.tabGroupLabelsMetadata = tabGroupLabelsMetadata; + } + + public CommentThread tabId(String tabId) { + this.tabId = tabId; + return this; + } + + /** + * The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. + * @return tabId + **/ + @ApiModelProperty(example = "null", value = "The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. ") + public String getTabId() { + return tabId; + } + + public void setTabId(String tabId) { + this.tabId = tabId; + } + + public CommentThread tabIdMetadata(PropertyMetadata tabIdMetadata) { + this.tabIdMetadata = tabIdMetadata; + return this; + } + + /** + * Get tabIdMetadata + * @return tabIdMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getTabIdMetadata() { + return tabIdMetadata; + } + + public void setTabIdMetadata(PropertyMetadata tabIdMetadata) { + this.tabIdMetadata = tabIdMetadata; + } + + public CommentThread tabLabel(String tabLabel) { + this.tabLabel = tabLabel; + return this; + } + + /** + * The label string associated with the tab. + * @return tabLabel + **/ + @ApiModelProperty(example = "null", value = "The label string associated with the tab.") + public String getTabLabel() { + return tabLabel; + } + + public void setTabLabel(String tabLabel) { + this.tabLabel = tabLabel; + } + + public CommentThread tabLabelMetadata(PropertyMetadata tabLabelMetadata) { + this.tabLabelMetadata = tabLabelMetadata; + return this; + } + + /** + * Get tabLabelMetadata + * @return tabLabelMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getTabLabelMetadata() { + return tabLabelMetadata; + } + + public void setTabLabelMetadata(PropertyMetadata tabLabelMetadata) { + this.tabLabelMetadata = tabLabelMetadata; + } + + public CommentThread tabOrder(String tabOrder) { + this.tabOrder = tabOrder; + return this; + } + + /** + * + * @return tabOrder + **/ + @ApiModelProperty(example = "null", value = "") + public String getTabOrder() { + return tabOrder; + } + + public void setTabOrder(String tabOrder) { + this.tabOrder = tabOrder; + } + + public CommentThread tabOrderMetadata(PropertyMetadata tabOrderMetadata) { + this.tabOrderMetadata = tabOrderMetadata; + return this; + } + + /** + * Get tabOrderMetadata + * @return tabOrderMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getTabOrderMetadata() { + return tabOrderMetadata; + } + + public void setTabOrderMetadata(PropertyMetadata tabOrderMetadata) { + this.tabOrderMetadata = tabOrderMetadata; + } + + public CommentThread tabType(String tabType) { + this.tabType = tabType; + return this; + } + + /** + * + * @return tabType + **/ + @ApiModelProperty(example = "null", value = "") + public String getTabType() { + return tabType; + } + + public void setTabType(String tabType) { + this.tabType = tabType; + } + + public CommentThread tabTypeMetadata(PropertyMetadata tabTypeMetadata) { + this.tabTypeMetadata = tabTypeMetadata; + return this; + } + + /** + * Get tabTypeMetadata + * @return tabTypeMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getTabTypeMetadata() { + return tabTypeMetadata; + } + + public void setTabTypeMetadata(PropertyMetadata tabTypeMetadata) { + this.tabTypeMetadata = tabTypeMetadata; + } + + public CommentThread templateLocked(String templateLocked) { + this.templateLocked = templateLocked; + return this; + } + + /** + * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. + * @return templateLocked + **/ + @ApiModelProperty(example = "null", value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") + public String getTemplateLocked() { + return templateLocked; + } + + public void setTemplateLocked(String templateLocked) { + this.templateLocked = templateLocked; + } + + public CommentThread templateLockedMetadata(PropertyMetadata templateLockedMetadata) { + this.templateLockedMetadata = templateLockedMetadata; + return this; + } + + /** + * Get templateLockedMetadata + * @return templateLockedMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getTemplateLockedMetadata() { + return templateLockedMetadata; + } + + public void setTemplateLockedMetadata(PropertyMetadata templateLockedMetadata) { + this.templateLockedMetadata = templateLockedMetadata; + } + + public CommentThread templateRequired(String templateRequired) { + this.templateRequired = templateRequired; + return this; + } + + /** + * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients. + * @return templateRequired + **/ + @ApiModelProperty(example = "null", value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") + public String getTemplateRequired() { + return templateRequired; + } + + public void setTemplateRequired(String templateRequired) { + this.templateRequired = templateRequired; + } + + public CommentThread templateRequiredMetadata(PropertyMetadata templateRequiredMetadata) { + this.templateRequiredMetadata = templateRequiredMetadata; + return this; + } + + /** + * Get templateRequiredMetadata + * @return templateRequiredMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getTemplateRequiredMetadata() { + return templateRequiredMetadata; + } + + public void setTemplateRequiredMetadata(PropertyMetadata templateRequiredMetadata) { + this.templateRequiredMetadata = templateRequiredMetadata; + } + + public CommentThread threadId(String threadId) { + this.threadId = threadId; + return this; + } + + /** + * + * @return threadId + **/ + @ApiModelProperty(example = "null", value = "") + public String getThreadId() { + return threadId; + } + + public void setThreadId(String threadId) { + this.threadId = threadId; + } + + public CommentThread tooltip(String tooltip) { + this.tooltip = tooltip; + return this; + } + + /** + * + * @return tooltip + **/ + @ApiModelProperty(example = "null", value = "") + public String getTooltip() { + return tooltip; + } + + public void setTooltip(String tooltip) { + this.tooltip = tooltip; + } + + public CommentThread toolTipMetadata(PropertyMetadata toolTipMetadata) { + this.toolTipMetadata = toolTipMetadata; + return this; + } + + /** + * Get toolTipMetadata + * @return toolTipMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getToolTipMetadata() { + return toolTipMetadata; + } + + public void setToolTipMetadata(PropertyMetadata toolTipMetadata) { + this.toolTipMetadata = toolTipMetadata; + } + + public CommentThread underline(String underline) { + this.underline = underline; + return this; + } + + /** + * When set to **true**, the information in the tab is underlined. + * @return underline + **/ + @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is underlined.") + public String getUnderline() { + return underline; + } + + public void setUnderline(String underline) { + this.underline = underline; + } + + public CommentThread underlineMetadata(PropertyMetadata underlineMetadata) { + this.underlineMetadata = underlineMetadata; + return this; + } + + /** + * Get underlineMetadata + * @return underlineMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getUnderlineMetadata() { + return underlineMetadata; + } + + public void setUnderlineMetadata(PropertyMetadata underlineMetadata) { + this.underlineMetadata = underlineMetadata; + } + + public CommentThread width(String width) { + this.width = width; + return this; + } + + /** + * Width of the tab in pixels. + * @return width + **/ + @ApiModelProperty(example = "null", value = "Width of the tab in pixels.") + public String getWidth() { + return width; + } + + public void setWidth(String width) { + this.width = width; + } + + public CommentThread widthMetadata(PropertyMetadata widthMetadata) { + this.widthMetadata = widthMetadata; + return this; + } + + /** + * Get widthMetadata + * @return widthMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getWidthMetadata() { + return widthMetadata; + } + + public void setWidthMetadata(PropertyMetadata widthMetadata) { + this.widthMetadata = widthMetadata; + } + + public CommentThread xPosition(String xPosition) { + this.xPosition = xPosition; + return this; + } + + /** + * This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position. + * @return xPosition + **/ + @ApiModelProperty(example = "null", value = "This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.") + public String getXPosition() { + return xPosition; + } + + public void setXPosition(String xPosition) { + this.xPosition = xPosition; + } + + public CommentThread xPositionMetadata(PropertyMetadata xPositionMetadata) { + this.xPositionMetadata = xPositionMetadata; + return this; + } + + /** + * Get xPositionMetadata + * @return xPositionMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getXPositionMetadata() { + return xPositionMetadata; + } + + public void setXPositionMetadata(PropertyMetadata xPositionMetadata) { + this.xPositionMetadata = xPositionMetadata; + } + + public CommentThread yPosition(String yPosition) { + this.yPosition = yPosition; + return this; + } + + /** + * This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position. + * @return yPosition + **/ + @ApiModelProperty(example = "null", value = "This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.") + public String getYPosition() { + return yPosition; + } + + public void setYPosition(String yPosition) { + this.yPosition = yPosition; + } + + public CommentThread yPositionMetadata(PropertyMetadata yPositionMetadata) { + this.yPositionMetadata = yPositionMetadata; + return this; + } + + /** + * Get yPositionMetadata + * @return yPositionMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getYPositionMetadata() { + return yPositionMetadata; + } + + public void setYPositionMetadata(PropertyMetadata yPositionMetadata) { + this.yPositionMetadata = yPositionMetadata; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CommentThread commentThread = (CommentThread) o; + return Objects.equals(this.anchorCaseSensitive, commentThread.anchorCaseSensitive) && + Objects.equals(this.anchorCaseSensitiveMetadata, commentThread.anchorCaseSensitiveMetadata) && + Objects.equals(this.anchorHorizontalAlignment, commentThread.anchorHorizontalAlignment) && + Objects.equals(this.anchorHorizontalAlignmentMetadata, commentThread.anchorHorizontalAlignmentMetadata) && + Objects.equals(this.anchorIgnoreIfNotPresent, commentThread.anchorIgnoreIfNotPresent) && + Objects.equals(this.anchorIgnoreIfNotPresentMetadata, commentThread.anchorIgnoreIfNotPresentMetadata) && + Objects.equals(this.anchorMatchWholeWord, commentThread.anchorMatchWholeWord) && + Objects.equals(this.anchorMatchWholeWordMetadata, commentThread.anchorMatchWholeWordMetadata) && + Objects.equals(this.anchorString, commentThread.anchorString) && + Objects.equals(this.anchorStringMetadata, commentThread.anchorStringMetadata) && + Objects.equals(this.anchorTabProcessorVersion, commentThread.anchorTabProcessorVersion) && + Objects.equals(this.anchorTabProcessorVersionMetadata, commentThread.anchorTabProcessorVersionMetadata) && + Objects.equals(this.anchorUnits, commentThread.anchorUnits) && + Objects.equals(this.anchorUnitsMetadata, commentThread.anchorUnitsMetadata) && + Objects.equals(this.anchorXOffset, commentThread.anchorXOffset) && + Objects.equals(this.anchorXOffsetMetadata, commentThread.anchorXOffsetMetadata) && + Objects.equals(this.anchorYOffset, commentThread.anchorYOffset) && + Objects.equals(this.anchorYOffsetMetadata, commentThread.anchorYOffsetMetadata) && + Objects.equals(this.bold, commentThread.bold) && + Objects.equals(this.boldMetadata, commentThread.boldMetadata) && + Objects.equals(this.comments, commentThread.comments) && + Objects.equals(this.conditionalParentLabel, commentThread.conditionalParentLabel) && + Objects.equals(this.conditionalParentLabelMetadata, commentThread.conditionalParentLabelMetadata) && + Objects.equals(this.conditionalParentValue, commentThread.conditionalParentValue) && + Objects.equals(this.conditionalParentValueMetadata, commentThread.conditionalParentValueMetadata) && + Objects.equals(this.customTabId, commentThread.customTabId) && + Objects.equals(this.customTabIdMetadata, commentThread.customTabIdMetadata) && + Objects.equals(this.documentId, commentThread.documentId) && + Objects.equals(this.documentIdMetadata, commentThread.documentIdMetadata) && + Objects.equals(this.errorDetails, commentThread.errorDetails) && + Objects.equals(this.font, commentThread.font) && + Objects.equals(this.fontColor, commentThread.fontColor) && + Objects.equals(this.fontColorMetadata, commentThread.fontColorMetadata) && + Objects.equals(this.fontMetadata, commentThread.fontMetadata) && + Objects.equals(this.fontSize, commentThread.fontSize) && + Objects.equals(this.fontSizeMetadata, commentThread.fontSizeMetadata) && + Objects.equals(this.formOrder, commentThread.formOrder) && + Objects.equals(this.formOrderMetadata, commentThread.formOrderMetadata) && + Objects.equals(this.formPageLabel, commentThread.formPageLabel) && + Objects.equals(this.formPageLabelMetadata, commentThread.formPageLabelMetadata) && + Objects.equals(this.formPageNumber, commentThread.formPageNumber) && + Objects.equals(this.formPageNumberMetadata, commentThread.formPageNumberMetadata) && + Objects.equals(this.height, commentThread.height) && + Objects.equals(this.heightMetadata, commentThread.heightMetadata) && + Objects.equals(this.italic, commentThread.italic) && + Objects.equals(this.italicMetadata, commentThread.italicMetadata) && + Objects.equals(this.localePolicy, commentThread.localePolicy) && + Objects.equals(this.mergeField, commentThread.mergeField) && + Objects.equals(this.mergeFieldXml, commentThread.mergeFieldXml) && + Objects.equals(this.pageNumber, commentThread.pageNumber) && + Objects.equals(this.pageNumberMetadata, commentThread.pageNumberMetadata) && + Objects.equals(this.recipientId, commentThread.recipientId) && + Objects.equals(this.recipientIdGuid, commentThread.recipientIdGuid) && + Objects.equals(this.recipientIdGuidMetadata, commentThread.recipientIdGuidMetadata) && + Objects.equals(this.recipientIdMetadata, commentThread.recipientIdMetadata) && + Objects.equals(this.status, commentThread.status) && + Objects.equals(this.statusMetadata, commentThread.statusMetadata) && + Objects.equals(this.tabGroupLabels, commentThread.tabGroupLabels) && + Objects.equals(this.tabGroupLabelsMetadata, commentThread.tabGroupLabelsMetadata) && + Objects.equals(this.tabId, commentThread.tabId) && + Objects.equals(this.tabIdMetadata, commentThread.tabIdMetadata) && + Objects.equals(this.tabLabel, commentThread.tabLabel) && + Objects.equals(this.tabLabelMetadata, commentThread.tabLabelMetadata) && + Objects.equals(this.tabOrder, commentThread.tabOrder) && + Objects.equals(this.tabOrderMetadata, commentThread.tabOrderMetadata) && + Objects.equals(this.tabType, commentThread.tabType) && + Objects.equals(this.tabTypeMetadata, commentThread.tabTypeMetadata) && + Objects.equals(this.templateLocked, commentThread.templateLocked) && + Objects.equals(this.templateLockedMetadata, commentThread.templateLockedMetadata) && + Objects.equals(this.templateRequired, commentThread.templateRequired) && + Objects.equals(this.templateRequiredMetadata, commentThread.templateRequiredMetadata) && + Objects.equals(this.threadId, commentThread.threadId) && + Objects.equals(this.tooltip, commentThread.tooltip) && + Objects.equals(this.toolTipMetadata, commentThread.toolTipMetadata) && + Objects.equals(this.underline, commentThread.underline) && + Objects.equals(this.underlineMetadata, commentThread.underlineMetadata) && + Objects.equals(this.width, commentThread.width) && + Objects.equals(this.widthMetadata, commentThread.widthMetadata) && + Objects.equals(this.xPosition, commentThread.xPosition) && + Objects.equals(this.xPositionMetadata, commentThread.xPositionMetadata) && + Objects.equals(this.yPosition, commentThread.yPosition) && + Objects.equals(this.yPositionMetadata, commentThread.yPositionMetadata); + } + + @Override + public int hashCode() { + return Objects.hash(anchorCaseSensitive, anchorCaseSensitiveMetadata, anchorHorizontalAlignment, anchorHorizontalAlignmentMetadata, anchorIgnoreIfNotPresent, anchorIgnoreIfNotPresentMetadata, anchorMatchWholeWord, anchorMatchWholeWordMetadata, anchorString, anchorStringMetadata, anchorTabProcessorVersion, anchorTabProcessorVersionMetadata, anchorUnits, anchorUnitsMetadata, anchorXOffset, anchorXOffsetMetadata, anchorYOffset, anchorYOffsetMetadata, bold, boldMetadata, comments, conditionalParentLabel, conditionalParentLabelMetadata, conditionalParentValue, conditionalParentValueMetadata, customTabId, customTabIdMetadata, documentId, documentIdMetadata, errorDetails, font, fontColor, fontColorMetadata, fontMetadata, fontSize, fontSizeMetadata, formOrder, formOrderMetadata, formPageLabel, formPageLabelMetadata, formPageNumber, formPageNumberMetadata, height, heightMetadata, italic, italicMetadata, localePolicy, mergeField, mergeFieldXml, pageNumber, pageNumberMetadata, recipientId, recipientIdGuid, recipientIdGuidMetadata, recipientIdMetadata, status, statusMetadata, tabGroupLabels, tabGroupLabelsMetadata, tabId, tabIdMetadata, tabLabel, tabLabelMetadata, tabOrder, tabOrderMetadata, tabType, tabTypeMetadata, templateLocked, templateLockedMetadata, templateRequired, templateRequiredMetadata, threadId, tooltip, toolTipMetadata, underline, underlineMetadata, width, widthMetadata, xPosition, xPositionMetadata, yPosition, yPositionMetadata); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CommentThread {\n"); + + sb.append(" anchorCaseSensitive: ").append(toIndentedString(anchorCaseSensitive)).append("\n"); + sb.append(" anchorCaseSensitiveMetadata: ").append(toIndentedString(anchorCaseSensitiveMetadata)).append("\n"); + sb.append(" anchorHorizontalAlignment: ").append(toIndentedString(anchorHorizontalAlignment)).append("\n"); + sb.append(" anchorHorizontalAlignmentMetadata: ").append(toIndentedString(anchorHorizontalAlignmentMetadata)).append("\n"); + sb.append(" anchorIgnoreIfNotPresent: ").append(toIndentedString(anchorIgnoreIfNotPresent)).append("\n"); + sb.append(" anchorIgnoreIfNotPresentMetadata: ").append(toIndentedString(anchorIgnoreIfNotPresentMetadata)).append("\n"); + sb.append(" anchorMatchWholeWord: ").append(toIndentedString(anchorMatchWholeWord)).append("\n"); + sb.append(" anchorMatchWholeWordMetadata: ").append(toIndentedString(anchorMatchWholeWordMetadata)).append("\n"); + sb.append(" anchorString: ").append(toIndentedString(anchorString)).append("\n"); + sb.append(" anchorStringMetadata: ").append(toIndentedString(anchorStringMetadata)).append("\n"); + sb.append(" anchorTabProcessorVersion: ").append(toIndentedString(anchorTabProcessorVersion)).append("\n"); + sb.append(" anchorTabProcessorVersionMetadata: ").append(toIndentedString(anchorTabProcessorVersionMetadata)).append("\n"); + sb.append(" anchorUnits: ").append(toIndentedString(anchorUnits)).append("\n"); + sb.append(" anchorUnitsMetadata: ").append(toIndentedString(anchorUnitsMetadata)).append("\n"); + sb.append(" anchorXOffset: ").append(toIndentedString(anchorXOffset)).append("\n"); + sb.append(" anchorXOffsetMetadata: ").append(toIndentedString(anchorXOffsetMetadata)).append("\n"); + sb.append(" anchorYOffset: ").append(toIndentedString(anchorYOffset)).append("\n"); + sb.append(" anchorYOffsetMetadata: ").append(toIndentedString(anchorYOffsetMetadata)).append("\n"); + sb.append(" bold: ").append(toIndentedString(bold)).append("\n"); + sb.append(" boldMetadata: ").append(toIndentedString(boldMetadata)).append("\n"); + sb.append(" comments: ").append(toIndentedString(comments)).append("\n"); + sb.append(" conditionalParentLabel: ").append(toIndentedString(conditionalParentLabel)).append("\n"); + sb.append(" conditionalParentLabelMetadata: ").append(toIndentedString(conditionalParentLabelMetadata)).append("\n"); + sb.append(" conditionalParentValue: ").append(toIndentedString(conditionalParentValue)).append("\n"); + sb.append(" conditionalParentValueMetadata: ").append(toIndentedString(conditionalParentValueMetadata)).append("\n"); + sb.append(" customTabId: ").append(toIndentedString(customTabId)).append("\n"); + sb.append(" customTabIdMetadata: ").append(toIndentedString(customTabIdMetadata)).append("\n"); + sb.append(" documentId: ").append(toIndentedString(documentId)).append("\n"); + sb.append(" documentIdMetadata: ").append(toIndentedString(documentIdMetadata)).append("\n"); + sb.append(" errorDetails: ").append(toIndentedString(errorDetails)).append("\n"); + sb.append(" font: ").append(toIndentedString(font)).append("\n"); + sb.append(" fontColor: ").append(toIndentedString(fontColor)).append("\n"); + sb.append(" fontColorMetadata: ").append(toIndentedString(fontColorMetadata)).append("\n"); + sb.append(" fontMetadata: ").append(toIndentedString(fontMetadata)).append("\n"); + sb.append(" fontSize: ").append(toIndentedString(fontSize)).append("\n"); + sb.append(" fontSizeMetadata: ").append(toIndentedString(fontSizeMetadata)).append("\n"); + sb.append(" formOrder: ").append(toIndentedString(formOrder)).append("\n"); + sb.append(" formOrderMetadata: ").append(toIndentedString(formOrderMetadata)).append("\n"); + sb.append(" formPageLabel: ").append(toIndentedString(formPageLabel)).append("\n"); + sb.append(" formPageLabelMetadata: ").append(toIndentedString(formPageLabelMetadata)).append("\n"); + sb.append(" formPageNumber: ").append(toIndentedString(formPageNumber)).append("\n"); + sb.append(" formPageNumberMetadata: ").append(toIndentedString(formPageNumberMetadata)).append("\n"); + sb.append(" height: ").append(toIndentedString(height)).append("\n"); + sb.append(" heightMetadata: ").append(toIndentedString(heightMetadata)).append("\n"); + sb.append(" italic: ").append(toIndentedString(italic)).append("\n"); + sb.append(" italicMetadata: ").append(toIndentedString(italicMetadata)).append("\n"); + sb.append(" localePolicy: ").append(toIndentedString(localePolicy)).append("\n"); + sb.append(" mergeField: ").append(toIndentedString(mergeField)).append("\n"); + sb.append(" mergeFieldXml: ").append(toIndentedString(mergeFieldXml)).append("\n"); + sb.append(" pageNumber: ").append(toIndentedString(pageNumber)).append("\n"); + sb.append(" pageNumberMetadata: ").append(toIndentedString(pageNumberMetadata)).append("\n"); + sb.append(" recipientId: ").append(toIndentedString(recipientId)).append("\n"); + sb.append(" recipientIdGuid: ").append(toIndentedString(recipientIdGuid)).append("\n"); + sb.append(" recipientIdGuidMetadata: ").append(toIndentedString(recipientIdGuidMetadata)).append("\n"); + sb.append(" recipientIdMetadata: ").append(toIndentedString(recipientIdMetadata)).append("\n"); + sb.append(" status: ").append(toIndentedString(status)).append("\n"); + sb.append(" statusMetadata: ").append(toIndentedString(statusMetadata)).append("\n"); + sb.append(" tabGroupLabels: ").append(toIndentedString(tabGroupLabels)).append("\n"); + sb.append(" tabGroupLabelsMetadata: ").append(toIndentedString(tabGroupLabelsMetadata)).append("\n"); + sb.append(" tabId: ").append(toIndentedString(tabId)).append("\n"); + sb.append(" tabIdMetadata: ").append(toIndentedString(tabIdMetadata)).append("\n"); + sb.append(" tabLabel: ").append(toIndentedString(tabLabel)).append("\n"); + sb.append(" tabLabelMetadata: ").append(toIndentedString(tabLabelMetadata)).append("\n"); + sb.append(" tabOrder: ").append(toIndentedString(tabOrder)).append("\n"); + sb.append(" tabOrderMetadata: ").append(toIndentedString(tabOrderMetadata)).append("\n"); + sb.append(" tabType: ").append(toIndentedString(tabType)).append("\n"); + sb.append(" tabTypeMetadata: ").append(toIndentedString(tabTypeMetadata)).append("\n"); + sb.append(" templateLocked: ").append(toIndentedString(templateLocked)).append("\n"); + sb.append(" templateLockedMetadata: ").append(toIndentedString(templateLockedMetadata)).append("\n"); + sb.append(" templateRequired: ").append(toIndentedString(templateRequired)).append("\n"); + sb.append(" templateRequiredMetadata: ").append(toIndentedString(templateRequiredMetadata)).append("\n"); + sb.append(" threadId: ").append(toIndentedString(threadId)).append("\n"); + sb.append(" tooltip: ").append(toIndentedString(tooltip)).append("\n"); + sb.append(" toolTipMetadata: ").append(toIndentedString(toolTipMetadata)).append("\n"); + sb.append(" underline: ").append(toIndentedString(underline)).append("\n"); + sb.append(" underlineMetadata: ").append(toIndentedString(underlineMetadata)).append("\n"); + sb.append(" width: ").append(toIndentedString(width)).append("\n"); + sb.append(" widthMetadata: ").append(toIndentedString(widthMetadata)).append("\n"); + sb.append(" xPosition: ").append(toIndentedString(xPosition)).append("\n"); + sb.append(" xPositionMetadata: ").append(toIndentedString(xPositionMetadata)).append("\n"); + sb.append(" yPosition: ").append(toIndentedString(yPosition)).append("\n"); + sb.append(" yPositionMetadata: ").append(toIndentedString(yPositionMetadata)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/com/docusign/esign/model/CommentsPublish.java b/src/main/java/com/docusign/esign/model/CommentsPublish.java new file mode 100644 index 00000000..e3ea6fbb --- /dev/null +++ b/src/main/java/com/docusign/esign/model/CommentsPublish.java @@ -0,0 +1,82 @@ +package com.docusign.esign.model; + +import java.util.Objects; +import com.docusign.esign.model.CommentPublish; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +/** + * CommentsPublish + */ + +public class CommentsPublish { + @JsonProperty("commentsToPublish") + private java.util.List commentsToPublish = new java.util.ArrayList(); + + public CommentsPublish commentsToPublish(java.util.List commentsToPublish) { + this.commentsToPublish = commentsToPublish; + return this; + } + + public CommentsPublish addCommentsToPublishItem(CommentPublish commentsToPublishItem) { + this.commentsToPublish.add(commentsToPublishItem); + return this; + } + + /** + * + * @return commentsToPublish + **/ + @ApiModelProperty(example = "null", value = "") + public java.util.List getCommentsToPublish() { + return commentsToPublish; + } + + public void setCommentsToPublish(java.util.List commentsToPublish) { + this.commentsToPublish = commentsToPublish; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CommentsPublish commentsPublish = (CommentsPublish) o; + return Objects.equals(this.commentsToPublish, commentsPublish.commentsToPublish); + } + + @Override + public int hashCode() { + return Objects.hash(commentsToPublish); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CommentsPublish {\n"); + + sb.append(" commentsToPublish: ").append(toIndentedString(commentsToPublish)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/com/docusign/esign/model/Company.java b/src/main/java/com/docusign/esign/model/Company.java index aae6f5c1..e4eb4010 100644 --- a/src/main/java/com/docusign/esign/model/Company.java +++ b/src/main/java/com/docusign/esign/model/Company.java @@ -1,15 +1,18 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ErrorDetails; import com.docusign.esign.model.MergeField; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Company + * Company. + * */ public class Company { @@ -101,7 +104,7 @@ public class Company { private String status = null; @JsonProperty("tabGroupLabels") - private java.util.List tabGroupLabels = new java.util.ArrayList(); + private java.util.List tabGroupLabels = null; @JsonProperty("tabId") private String tabId = null; @@ -136,750 +139,1132 @@ public class Company { @JsonProperty("yPosition") private String yPosition = null; + + /** + * anchorCaseSensitive. + * + * @return Company + **/ public Company anchorCaseSensitive(String anchorCaseSensitive) { this.anchorCaseSensitive = anchorCaseSensitive; return this; } - /** - * When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**. + /** + * When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.. * @return anchorCaseSensitive - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.") + **/ + @ApiModelProperty(value = "When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.") public String getAnchorCaseSensitive() { return anchorCaseSensitive; } + /** + * setAnchorCaseSensitive. + **/ public void setAnchorCaseSensitive(String anchorCaseSensitive) { this.anchorCaseSensitive = anchorCaseSensitive; } + + /** + * anchorHorizontalAlignment. + * + * @return Company + **/ public Company anchorHorizontalAlignment(String anchorHorizontalAlignment) { this.anchorHorizontalAlignment = anchorHorizontalAlignment; return this; } - /** - * Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**. + /** + * Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.. * @return anchorHorizontalAlignment - **/ - @ApiModelProperty(example = "null", value = "Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.") + **/ + @ApiModelProperty(value = "Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.") public String getAnchorHorizontalAlignment() { return anchorHorizontalAlignment; } + /** + * setAnchorHorizontalAlignment. + **/ public void setAnchorHorizontalAlignment(String anchorHorizontalAlignment) { this.anchorHorizontalAlignment = anchorHorizontalAlignment; } + + /** + * anchorIgnoreIfNotPresent. + * + * @return Company + **/ public Company anchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { this.anchorIgnoreIfNotPresent = anchorIgnoreIfNotPresent; return this; } - /** - * When set to **true**, this tab is ignored if anchorString is not found in the document. + /** + * When set to **true**, this tab is ignored if anchorString is not found in the document.. * @return anchorIgnoreIfNotPresent - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, this tab is ignored if anchorString is not found in the document.") + **/ + @ApiModelProperty(value = "When set to **true**, this tab is ignored if anchorString is not found in the document.") public String getAnchorIgnoreIfNotPresent() { return anchorIgnoreIfNotPresent; } + /** + * setAnchorIgnoreIfNotPresent. + **/ public void setAnchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { this.anchorIgnoreIfNotPresent = anchorIgnoreIfNotPresent; } + + /** + * anchorMatchWholeWord. + * + * @return Company + **/ public Company anchorMatchWholeWord(String anchorMatchWholeWord) { this.anchorMatchWholeWord = anchorMatchWholeWord; return this; } - /** - * When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**. + /** + * When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.. * @return anchorMatchWholeWord - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.") + **/ + @ApiModelProperty(value = "When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.") public String getAnchorMatchWholeWord() { return anchorMatchWholeWord; } + /** + * setAnchorMatchWholeWord. + **/ public void setAnchorMatchWholeWord(String anchorMatchWholeWord) { this.anchorMatchWholeWord = anchorMatchWholeWord; } + + /** + * anchorString. + * + * @return Company + **/ public Company anchorString(String anchorString) { this.anchorString = anchorString; return this; } - /** - * Anchor text information for a radio button. + /** + * Anchor text information for a radio button.. * @return anchorString - **/ - @ApiModelProperty(example = "null", value = "Anchor text information for a radio button.") + **/ + @ApiModelProperty(value = "Anchor text information for a radio button.") public String getAnchorString() { return anchorString; } + /** + * setAnchorString. + **/ public void setAnchorString(String anchorString) { this.anchorString = anchorString; } + + /** + * anchorUnits. + * + * @return Company + **/ public Company anchorUnits(String anchorUnits) { this.anchorUnits = anchorUnits; return this; } - /** - * Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. + /** + * Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. * @return anchorUnits - **/ - @ApiModelProperty(example = "null", value = "Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.") + **/ + @ApiModelProperty(value = "Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.") public String getAnchorUnits() { return anchorUnits; } + /** + * setAnchorUnits. + **/ public void setAnchorUnits(String anchorUnits) { this.anchorUnits = anchorUnits; } + + /** + * anchorXOffset. + * + * @return Company + **/ public Company anchorXOffset(String anchorXOffset) { this.anchorXOffset = anchorXOffset; return this; } - /** - * Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString. + /** + * Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. * @return anchorXOffset - **/ - @ApiModelProperty(example = "null", value = "Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.") + **/ + @ApiModelProperty(value = "Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.") public String getAnchorXOffset() { return anchorXOffset; } + /** + * setAnchorXOffset. + **/ public void setAnchorXOffset(String anchorXOffset) { this.anchorXOffset = anchorXOffset; } + + /** + * anchorYOffset. + * + * @return Company + **/ public Company anchorYOffset(String anchorYOffset) { this.anchorYOffset = anchorYOffset; return this; } - /** - * Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString. + /** + * Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.. * @return anchorYOffset - **/ - @ApiModelProperty(example = "null", value = "Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.") + **/ + @ApiModelProperty(value = "Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.") public String getAnchorYOffset() { return anchorYOffset; } + /** + * setAnchorYOffset. + **/ public void setAnchorYOffset(String anchorYOffset) { this.anchorYOffset = anchorYOffset; } + + /** + * bold. + * + * @return Company + **/ public Company bold(String bold) { this.bold = bold; return this; } - /** - * When set to **true**, the information in the tab is bold. + /** + * When set to **true**, the information in the tab is bold.. * @return bold - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is bold.") + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is bold.") public String getBold() { return bold; } + /** + * setBold. + **/ public void setBold(String bold) { this.bold = bold; } + + /** + * concealValueOnDocument. + * + * @return Company + **/ public Company concealValueOnDocument(String concealValueOnDocument) { this.concealValueOnDocument = concealValueOnDocument; return this; } - /** - * When set to **true**, the field appears normally while the recipient is adding or modifying the information in the field, but the data is not visible (the characters are hidden by asterisks) to any other signer or the sender. When an envelope is completed the information is available to the sender through the Form Data link in the DocuSign Console. This setting applies only to text boxes and does not affect list boxes, radio buttons, or check boxes. + /** + * When set to **true**, the field appears normally while the recipient is adding or modifying the information in the field, but the data is not visible (the characters are hidden by asterisks) to any other signer or the sender. When an envelope is completed the information is available to the sender through the Form Data link in the DocuSign Console. This setting applies only to text boxes and does not affect list boxes, radio buttons, or check boxes.. * @return concealValueOnDocument - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the field appears normally while the recipient is adding or modifying the information in the field, but the data is not visible (the characters are hidden by asterisks) to any other signer or the sender. When an envelope is completed the information is available to the sender through the Form Data link in the DocuSign Console. This setting applies only to text boxes and does not affect list boxes, radio buttons, or check boxes.") + **/ + @ApiModelProperty(value = "When set to **true**, the field appears normally while the recipient is adding or modifying the information in the field, but the data is not visible (the characters are hidden by asterisks) to any other signer or the sender. When an envelope is completed the information is available to the sender through the Form Data link in the DocuSign Console. This setting applies only to text boxes and does not affect list boxes, radio buttons, or check boxes.") public String getConcealValueOnDocument() { return concealValueOnDocument; } + /** + * setConcealValueOnDocument. + **/ public void setConcealValueOnDocument(String concealValueOnDocument) { this.concealValueOnDocument = concealValueOnDocument; } + + /** + * conditionalParentLabel. + * + * @return Company + **/ public Company conditionalParentLabel(String conditionalParentLabel) { this.conditionalParentLabel = conditionalParentLabel; return this; } - /** - * For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility. + /** + * For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.. * @return conditionalParentLabel - **/ - @ApiModelProperty(example = "null", value = "For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.") + **/ + @ApiModelProperty(value = "For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.") public String getConditionalParentLabel() { return conditionalParentLabel; } + /** + * setConditionalParentLabel. + **/ public void setConditionalParentLabel(String conditionalParentLabel) { this.conditionalParentLabel = conditionalParentLabel; } + + /** + * conditionalParentValue. + * + * @return Company + **/ public Company conditionalParentValue(String conditionalParentValue) { this.conditionalParentValue = conditionalParentValue; return this; } - /** - * For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. + /** + * For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. . * @return conditionalParentValue - **/ - @ApiModelProperty(example = "null", value = "For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. ") + **/ + @ApiModelProperty(value = "For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. ") public String getConditionalParentValue() { return conditionalParentValue; } + /** + * setConditionalParentValue. + **/ public void setConditionalParentValue(String conditionalParentValue) { this.conditionalParentValue = conditionalParentValue; } + + /** + * customTabId. + * + * @return Company + **/ public Company customTabId(String customTabId) { this.customTabId = customTabId; return this; } - /** - * The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties. + /** + * The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.. * @return customTabId - **/ - @ApiModelProperty(example = "null", value = "The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.") + **/ + @ApiModelProperty(value = "The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.") public String getCustomTabId() { return customTabId; } + /** + * setCustomTabId. + **/ public void setCustomTabId(String customTabId) { this.customTabId = customTabId; } + + /** + * disableAutoSize. + * + * @return Company + **/ public Company disableAutoSize(String disableAutoSize) { this.disableAutoSize = disableAutoSize; return this; } - /** - * When set to **true**, disables the auto sizing of single line text boxes in the signing screen when the signer enters data. If disabled users will only be able enter as much data as the text box can hold. By default this is false. This property only affects single line text boxes. + /** + * When set to **true**, disables the auto sizing of single line text boxes in the signing screen when the signer enters data. If disabled users will only be able enter as much data as the text box can hold. By default this is false. This property only affects single line text boxes.. * @return disableAutoSize - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, disables the auto sizing of single line text boxes in the signing screen when the signer enters data. If disabled users will only be able enter as much data as the text box can hold. By default this is false. This property only affects single line text boxes.") + **/ + @ApiModelProperty(value = "When set to **true**, disables the auto sizing of single line text boxes in the signing screen when the signer enters data. If disabled users will only be able enter as much data as the text box can hold. By default this is false. This property only affects single line text boxes.") public String getDisableAutoSize() { return disableAutoSize; } + /** + * setDisableAutoSize. + **/ public void setDisableAutoSize(String disableAutoSize) { this.disableAutoSize = disableAutoSize; } + + /** + * documentId. + * + * @return Company + **/ public Company documentId(String documentId) { this.documentId = documentId; return this; } - /** - * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute. + /** + * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.. * @return documentId - **/ - @ApiModelProperty(example = "null", value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") + **/ + @ApiModelProperty(value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") public String getDocumentId() { return documentId; } + /** + * setDocumentId. + **/ public void setDocumentId(String documentId) { this.documentId = documentId; } + + /** + * errorDetails. + * + * @return Company + **/ public Company errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * font. + * + * @return Company + **/ public Company font(String font) { this.font = font; return this; } - /** - * The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default. + /** + * The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.. * @return font - **/ - @ApiModelProperty(example = "null", value = "The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.") + **/ + @ApiModelProperty(value = "The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.") public String getFont() { return font; } + /** + * setFont. + **/ public void setFont(String font) { this.font = font; } + + /** + * fontColor. + * + * @return Company + **/ public Company fontColor(String fontColor) { this.fontColor = fontColor; return this; } - /** - * The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White. + /** + * The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.. * @return fontColor - **/ - @ApiModelProperty(example = "null", value = "The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.") + **/ + @ApiModelProperty(value = "The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.") public String getFontColor() { return fontColor; } + /** + * setFontColor. + **/ public void setFontColor(String fontColor) { this.fontColor = fontColor; } + + /** + * fontSize. + * + * @return Company + **/ public Company fontSize(String fontSize) { this.fontSize = fontSize; return this; } - /** - * The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72. + /** + * The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.. * @return fontSize - **/ - @ApiModelProperty(example = "null", value = "The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.") + **/ + @ApiModelProperty(value = "The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.") public String getFontSize() { return fontSize; } + /** + * setFontSize. + **/ public void setFontSize(String fontSize) { this.fontSize = fontSize; } + + /** + * italic. + * + * @return Company + **/ public Company italic(String italic) { this.italic = italic; return this; } - /** - * When set to **true**, the information in the tab is italic. + /** + * When set to **true**, the information in the tab is italic.. * @return italic - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is italic.") + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is italic.") public String getItalic() { return italic; } + /** + * setItalic. + **/ public void setItalic(String italic) { this.italic = italic; } + + /** + * locked. + * + * @return Company + **/ public Company locked(String locked) { this.locked = locked; return this; } - /** - * When set to **true**, the signer cannot change the data of the custom tab. + /** + * When set to **true**, the signer cannot change the data of the custom tab.. * @return locked - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the signer cannot change the data of the custom tab.") + **/ + @ApiModelProperty(value = "When set to **true**, the signer cannot change the data of the custom tab.") public String getLocked() { return locked; } + /** + * setLocked. + **/ public void setLocked(String locked) { this.locked = locked; } + + /** + * maxLength. + * + * @return Company + **/ public Company maxLength(Integer maxLength) { this.maxLength = maxLength; return this; } - /** - * An optional value that describes the maximum length of the property when the property is a string. + /** + * An optional value that describes the maximum length of the property when the property is a string.. * @return maxLength - **/ - @ApiModelProperty(example = "null", value = "An optional value that describes the maximum length of the property when the property is a string.") + **/ + @ApiModelProperty(value = "An optional value that describes the maximum length of the property when the property is a string.") public Integer getMaxLength() { return maxLength; } + /** + * setMaxLength. + **/ public void setMaxLength(Integer maxLength) { this.maxLength = maxLength; } + + /** + * mergeField. + * + * @return Company + **/ public Company mergeField(MergeField mergeField) { this.mergeField = mergeField; return this; } - /** - * Get mergeField + /** + * Get mergeField. * @return mergeField - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public MergeField getMergeField() { return mergeField; } + /** + * setMergeField. + **/ public void setMergeField(MergeField mergeField) { this.mergeField = mergeField; } + + /** + * name. + * + * @return Company + **/ public Company name(String name) { this.name = name; return this; } - /** - * Specifies the tool tip text for the tab. + /** + * Specifies the tool tip text for the tab.. * @return name - **/ - @ApiModelProperty(example = "null", value = "Specifies the tool tip text for the tab.") + **/ + @ApiModelProperty(value = "Specifies the tool tip text for the tab.") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * originalValue. + * + * @return Company + **/ public Company originalValue(String originalValue) { this.originalValue = originalValue; return this; } - /** - * The initial value of the tab when it was sent to the recipient. + /** + * The initial value of the tab when it was sent to the recipient. . * @return originalValue - **/ - @ApiModelProperty(example = "null", value = "The initial value of the tab when it was sent to the recipient. ") + **/ + @ApiModelProperty(value = "The initial value of the tab when it was sent to the recipient. ") public String getOriginalValue() { return originalValue; } + /** + * setOriginalValue. + **/ public void setOriginalValue(String originalValue) { this.originalValue = originalValue; } + + /** + * pageNumber. + * + * @return Company + **/ public Company pageNumber(String pageNumber) { this.pageNumber = pageNumber; return this; } - /** - * Specifies the page number on which the tab is located. + /** + * Specifies the page number on which the tab is located.. * @return pageNumber - **/ - @ApiModelProperty(example = "null", value = "Specifies the page number on which the tab is located.") + **/ + @ApiModelProperty(value = "Specifies the page number on which the tab is located.") public String getPageNumber() { return pageNumber; } + /** + * setPageNumber. + **/ public void setPageNumber(String pageNumber) { this.pageNumber = pageNumber; } + + /** + * recipientId. + * + * @return Company + **/ public Company recipientId(String recipientId) { this.recipientId = recipientId; return this; } - /** - * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document. + /** + * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.. * @return recipientId - **/ - @ApiModelProperty(example = "null", value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") + **/ + @ApiModelProperty(value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") public String getRecipientId() { return recipientId; } + /** + * setRecipientId. + **/ public void setRecipientId(String recipientId) { this.recipientId = recipientId; } + + /** + * required. + * + * @return Company + **/ public Company required(String required) { this.required = required; return this; } - /** - * When set to **true**, the signer is required to fill out this tab + /** + * When set to **true**, the signer is required to fill out this tab. * @return required - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the signer is required to fill out this tab") + **/ + @ApiModelProperty(value = "When set to **true**, the signer is required to fill out this tab") public String getRequired() { return required; } + /** + * setRequired. + **/ public void setRequired(String required) { this.required = required; } + + /** + * status. + * + * @return Company + **/ public Company status(String status) { this.status = status; return this; } - /** - * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. + /** + * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.. * @return status - **/ - @ApiModelProperty(example = "null", value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") + **/ + @ApiModelProperty(value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") public String getStatus() { return status; } + /** + * setStatus. + **/ public void setStatus(String status) { this.status = status; } + + /** + * tabGroupLabels. + * + * @return Company + **/ public Company tabGroupLabels(java.util.List tabGroupLabels) { this.tabGroupLabels = tabGroupLabels; return this; } - + + /** + * addTabGroupLabelsItem. + * + * @return Company + **/ public Company addTabGroupLabelsItem(String tabGroupLabelsItem) { + if (this.tabGroupLabels == null) { + this.tabGroupLabels = new java.util.ArrayList(); + } this.tabGroupLabels.add(tabGroupLabelsItem); return this; } - /** - * + /** + * . * @return tabGroupLabels - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getTabGroupLabels() { return tabGroupLabels; } + /** + * setTabGroupLabels. + **/ public void setTabGroupLabels(java.util.List tabGroupLabels) { this.tabGroupLabels = tabGroupLabels; } + + /** + * tabId. + * + * @return Company + **/ public Company tabId(String tabId) { this.tabId = tabId; return this; } - /** - * The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. + /** + * The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. . * @return tabId - **/ - @ApiModelProperty(example = "null", value = "The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. ") + **/ + @ApiModelProperty(value = "The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. ") public String getTabId() { return tabId; } + /** + * setTabId. + **/ public void setTabId(String tabId) { this.tabId = tabId; } + + /** + * tabLabel. + * + * @return Company + **/ public Company tabLabel(String tabLabel) { this.tabLabel = tabLabel; return this; } - /** - * The label string associated with the tab. + /** + * The label string associated with the tab.. * @return tabLabel - **/ - @ApiModelProperty(example = "null", value = "The label string associated with the tab.") + **/ + @ApiModelProperty(value = "The label string associated with the tab.") public String getTabLabel() { return tabLabel; } + /** + * setTabLabel. + **/ public void setTabLabel(String tabLabel) { this.tabLabel = tabLabel; } + + /** + * tabOrder. + * + * @return Company + **/ public Company tabOrder(String tabOrder) { this.tabOrder = tabOrder; return this; } - /** - * + /** + * . * @return tabOrder - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTabOrder() { return tabOrder; } + /** + * setTabOrder. + **/ public void setTabOrder(String tabOrder) { this.tabOrder = tabOrder; } + + /** + * templateLocked. + * + * @return Company + **/ public Company templateLocked(String templateLocked) { this.templateLocked = templateLocked; return this; } - /** - * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. . * @return templateLocked - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") + **/ + @ApiModelProperty(value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") public String getTemplateLocked() { return templateLocked; } + /** + * setTemplateLocked. + **/ public void setTemplateLocked(String templateLocked) { this.templateLocked = templateLocked; } + + /** + * templateRequired. + * + * @return Company + **/ public Company templateRequired(String templateRequired) { this.templateRequired = templateRequired; return this; } - /** - * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.. * @return templateRequired - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") + **/ + @ApiModelProperty(value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") public String getTemplateRequired() { return templateRequired; } + /** + * setTemplateRequired. + **/ public void setTemplateRequired(String templateRequired) { this.templateRequired = templateRequired; } + + /** + * tooltip. + * + * @return Company + **/ public Company tooltip(String tooltip) { this.tooltip = tooltip; return this; } - /** - * + /** + * . * @return tooltip - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTooltip() { return tooltip; } + /** + * setTooltip. + **/ public void setTooltip(String tooltip) { this.tooltip = tooltip; } + + /** + * underline. + * + * @return Company + **/ public Company underline(String underline) { this.underline = underline; return this; } - /** - * When set to **true**, the information in the tab is underlined. + /** + * When set to **true**, the information in the tab is underlined.. * @return underline - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is underlined.") + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is underlined.") public String getUnderline() { return underline; } + /** + * setUnderline. + **/ public void setUnderline(String underline) { this.underline = underline; } + + /** + * value. + * + * @return Company + **/ public Company value(String value) { this.value = value; return this; } - /** - * Specifies the value of the tab. + /** + * Specifies the value of the tab. . * @return value - **/ - @ApiModelProperty(example = "null", value = "Specifies the value of the tab. ") + **/ + @ApiModelProperty(value = "Specifies the value of the tab. ") public String getValue() { return value; } + /** + * setValue. + **/ public void setValue(String value) { this.value = value; } + + /** + * width. + * + * @return Company + **/ public Company width(Integer width) { this.width = width; return this; } - /** - * Width of the tab in pixels. + /** + * Width of the tab in pixels.. * @return width - **/ - @ApiModelProperty(example = "null", value = "Width of the tab in pixels.") + **/ + @ApiModelProperty(value = "Width of the tab in pixels.") public Integer getWidth() { return width; } + /** + * setWidth. + **/ public void setWidth(Integer width) { this.width = width; } + + /** + * xPosition. + * + * @return Company + **/ public Company xPosition(String xPosition) { this.xPosition = xPosition; return this; } - /** - * This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position. + /** + * This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.. * @return xPosition - **/ - @ApiModelProperty(example = "null", value = "This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.") + **/ + @ApiModelProperty(value = "This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.") public String getXPosition() { return xPosition; } + /** + * setXPosition. + **/ public void setXPosition(String xPosition) { this.xPosition = xPosition; } + + /** + * yPosition. + * + * @return Company + **/ public Company yPosition(String yPosition) { this.yPosition = yPosition; return this; } - /** - * This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position. + /** + * This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. * @return yPosition - **/ - @ApiModelProperty(example = "null", value = "This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.") + **/ + @ApiModelProperty(value = "This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.") public String getYPosition() { return yPosition; } + /** + * setYPosition. + **/ public void setYPosition(String yPosition) { this.yPosition = yPosition; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -932,12 +1317,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.yPosition, company.yPosition); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(anchorCaseSensitive, anchorHorizontalAlignment, anchorIgnoreIfNotPresent, anchorMatchWholeWord, anchorString, anchorUnits, anchorXOffset, anchorYOffset, bold, concealValueOnDocument, conditionalParentLabel, conditionalParentValue, customTabId, disableAutoSize, documentId, errorDetails, font, fontColor, fontSize, italic, locked, maxLength, mergeField, name, originalValue, pageNumber, recipientId, required, status, tabGroupLabels, tabId, tabLabel, tabOrder, templateLocked, templateRequired, tooltip, underline, value, width, xPosition, yPosition); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -998,6 +1389,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/CompleteSignHashResponse.java b/src/main/java/com/docusign/esign/model/CompleteSignHashResponse.java index 87958d55..a154316e 100644 --- a/src/main/java/com/docusign/esign/model/CompleteSignHashResponse.java +++ b/src/main/java/com/docusign/esign/model/CompleteSignHashResponse.java @@ -1,9 +1,11 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.SignHashDocument; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; @@ -13,7 +15,7 @@ public class CompleteSignHashResponse { @JsonProperty("documents") - private java.util.List documents = new java.util.ArrayList(); + private java.util.List documents = null; @JsonProperty("redirectionUrl") private String redirectionUrl = null; @@ -27,6 +29,9 @@ public CompleteSignHashResponse documents(java.util.List docum } public CompleteSignHashResponse addDocumentsItem(SignHashDocument documentsItem) { + if (this.documents == null) { + this.documents = new java.util.ArrayList(); + } this.documents.add(documentsItem); return this; } @@ -35,7 +40,7 @@ public CompleteSignHashResponse addDocumentsItem(SignHashDocument documentsItem) * Complex element contains the details on the documents in the envelope. * @return documents **/ - @ApiModelProperty(example = "null", value = "Complex element contains the details on the documents in the envelope.") + @ApiModelProperty(value = "Complex element contains the details on the documents in the envelope.") public java.util.List getDocuments() { return documents; } @@ -53,7 +58,7 @@ public CompleteSignHashResponse redirectionUrl(String redirectionUrl) { * * @return redirectionUrl **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public String getRedirectionUrl() { return redirectionUrl; } @@ -71,7 +76,7 @@ public CompleteSignHashResponse remainingSignatureRequests(String remainingSigna * * @return remainingSignatureRequests **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public String getRemainingSignatureRequests() { return remainingSignatureRequests; } @@ -123,6 +128,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/CompleteSignRequest.java b/src/main/java/com/docusign/esign/model/CompleteSignRequest.java index 075bab31..7399757f 100644 --- a/src/main/java/com/docusign/esign/model/CompleteSignRequest.java +++ b/src/main/java/com/docusign/esign/model/CompleteSignRequest.java @@ -1,9 +1,11 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.DocumentUpdateInfo; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; @@ -16,7 +18,7 @@ public class CompleteSignRequest { private String correlationId = null; @JsonProperty("documentUpdateInfos") - private java.util.List documentUpdateInfos = new java.util.ArrayList(); + private java.util.List documentUpdateInfos = null; @JsonProperty("signingLocation") private String signingLocation = null; @@ -33,7 +35,7 @@ public CompleteSignRequest correlationId(String correlationId) { * * @return correlationId **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public String getCorrelationId() { return correlationId; } @@ -48,6 +50,9 @@ public CompleteSignRequest documentUpdateInfos(java.util.List(); + } this.documentUpdateInfos.add(documentUpdateInfosItem); return this; } @@ -56,7 +61,7 @@ public CompleteSignRequest addDocumentUpdateInfosItem(DocumentUpdateInfo documen * * @return documentUpdateInfos **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public java.util.List getDocumentUpdateInfos() { return documentUpdateInfos; } @@ -74,7 +79,7 @@ public CompleteSignRequest signingLocation(String signingLocation) { * Specifies the physical location where the signing takes place. It can have two enumeration values; InPerson and Online. The default value is Online. * @return signingLocation **/ - @ApiModelProperty(example = "null", value = "Specifies the physical location where the signing takes place. It can have two enumeration values; InPerson and Online. The default value is Online.") + @ApiModelProperty(value = "Specifies the physical location where the signing takes place. It can have two enumeration values; InPerson and Online. The default value is Online.") public String getSigningLocation() { return signingLocation; } @@ -92,7 +97,7 @@ public CompleteSignRequest transactionId(String transactionId) { * Used to identify an envelope. The id is a sender-generated value and is valid in the DocuSign system for 7 days. It is recommended that a transaction ID is used for offline signing to ensure that an envelope is not sent multiple times. The `transactionId` property can be used determine an envelope's status (i.e. was it created or not) in cases where the internet connection was lost before the envelope status was returned. * @return transactionId **/ - @ApiModelProperty(example = "null", value = " Used to identify an envelope. The id is a sender-generated value and is valid in the DocuSign system for 7 days. It is recommended that a transaction ID is used for offline signing to ensure that an envelope is not sent multiple times. The `transactionId` property can be used determine an envelope's status (i.e. was it created or not) in cases where the internet connection was lost before the envelope status was returned.") + @ApiModelProperty(value = " Used to identify an envelope. The id is a sender-generated value and is valid in the DocuSign system for 7 days. It is recommended that a transaction ID is used for offline signing to ensure that an envelope is not sent multiple times. The `transactionId` property can be used determine an envelope's status (i.e. was it created or not) in cases where the internet connection was lost before the envelope status was returned.") public String getTransactionId() { return transactionId; } @@ -146,6 +151,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/CompositeTemplate.java b/src/main/java/com/docusign/esign/model/CompositeTemplate.java index 15df83cd..be7febb0 100644 --- a/src/main/java/com/docusign/esign/model/CompositeTemplate.java +++ b/src/main/java/com/docusign/esign/model/CompositeTemplate.java @@ -1,16 +1,19 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.Document; import com.docusign.esign.model.InlineTemplate; import com.docusign.esign.model.ServerTemplate; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * CompositeTemplate + * CompositeTemplate. + * */ public class CompositeTemplate { @@ -21,115 +24,181 @@ public class CompositeTemplate { private Document document = null; @JsonProperty("inlineTemplates") - private java.util.List inlineTemplates = new java.util.ArrayList(); + private java.util.List inlineTemplates = null; @JsonProperty("pdfMetaDataTemplateSequence") private String pdfMetaDataTemplateSequence = null; @JsonProperty("serverTemplates") - private java.util.List serverTemplates = new java.util.ArrayList(); + private java.util.List serverTemplates = null; + + /** + * compositeTemplateId. + * + * @return CompositeTemplate + **/ public CompositeTemplate compositeTemplateId(String compositeTemplateId) { this.compositeTemplateId = compositeTemplateId; return this; } - /** - * The identify of this composite template. It is used as a reference when adding document object information. If used, the document's `content-disposition` must include the composite template ID to which the document should be added. If a composite template ID is not specified in the content-disposition, the document is applied based on the value of the `documentId` property only. If no document object is specified, the composite template inherits the first document. + /** + * The identify of this composite template. It is used as a reference when adding document object information. If used, the document's `content-disposition` must include the composite template ID to which the document should be added. If a composite template ID is not specified in the content-disposition, the document is applied based on the value of the `documentId` property only. If no document object is specified, the composite template inherits the first document.. * @return compositeTemplateId - **/ - @ApiModelProperty(example = "null", value = "The identify of this composite template. It is used as a reference when adding document object information. If used, the document's `content-disposition` must include the composite template ID to which the document should be added. If a composite template ID is not specified in the content-disposition, the document is applied based on the value of the `documentId` property only. If no document object is specified, the composite template inherits the first document.") + **/ + @ApiModelProperty(value = "The identify of this composite template. It is used as a reference when adding document object information. If used, the document's `content-disposition` must include the composite template ID to which the document should be added. If a composite template ID is not specified in the content-disposition, the document is applied based on the value of the `documentId` property only. If no document object is specified, the composite template inherits the first document.") public String getCompositeTemplateId() { return compositeTemplateId; } + /** + * setCompositeTemplateId. + **/ public void setCompositeTemplateId(String compositeTemplateId) { this.compositeTemplateId = compositeTemplateId; } + + /** + * document. + * + * @return CompositeTemplate + **/ public CompositeTemplate document(Document document) { this.document = document; return this; } - /** - * Get document + /** + * Get document. * @return document - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public Document getDocument() { return document; } + /** + * setDocument. + **/ public void setDocument(Document document) { this.document = document; } + + /** + * inlineTemplates. + * + * @return CompositeTemplate + **/ public CompositeTemplate inlineTemplates(java.util.List inlineTemplates) { this.inlineTemplates = inlineTemplates; return this; } - + + /** + * addInlineTemplatesItem. + * + * @return CompositeTemplate + **/ public CompositeTemplate addInlineTemplatesItem(InlineTemplate inlineTemplatesItem) { + if (this.inlineTemplates == null) { + this.inlineTemplates = new java.util.ArrayList(); + } this.inlineTemplates.add(inlineTemplatesItem); return this; } - /** - * Zero or more inline templates and their position in the overlay. If supplied, they are overlaid into the envelope in the order of their Sequence value. + /** + * Zero or more inline templates and their position in the overlay. If supplied, they are overlaid into the envelope in the order of their Sequence value.. * @return inlineTemplates - **/ - @ApiModelProperty(example = "null", value = " Zero or more inline templates and their position in the overlay. If supplied, they are overlaid into the envelope in the order of their Sequence value.") + **/ + @ApiModelProperty(value = " Zero or more inline templates and their position in the overlay. If supplied, they are overlaid into the envelope in the order of their Sequence value.") public java.util.List getInlineTemplates() { return inlineTemplates; } + /** + * setInlineTemplates. + **/ public void setInlineTemplates(java.util.List inlineTemplates) { this.inlineTemplates = inlineTemplates; } + + /** + * pdfMetaDataTemplateSequence. + * + * @return CompositeTemplate + **/ public CompositeTemplate pdfMetaDataTemplateSequence(String pdfMetaDataTemplateSequence) { this.pdfMetaDataTemplateSequence = pdfMetaDataTemplateSequence; return this; } - /** - * + /** + * . * @return pdfMetaDataTemplateSequence - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPdfMetaDataTemplateSequence() { return pdfMetaDataTemplateSequence; } + /** + * setPdfMetaDataTemplateSequence. + **/ public void setPdfMetaDataTemplateSequence(String pdfMetaDataTemplateSequence) { this.pdfMetaDataTemplateSequence = pdfMetaDataTemplateSequence; } + + /** + * serverTemplates. + * + * @return CompositeTemplate + **/ public CompositeTemplate serverTemplates(java.util.List serverTemplates) { this.serverTemplates = serverTemplates; return this; } - + + /** + * addServerTemplatesItem. + * + * @return CompositeTemplate + **/ public CompositeTemplate addServerTemplatesItem(ServerTemplate serverTemplatesItem) { + if (this.serverTemplates == null) { + this.serverTemplates = new java.util.ArrayList(); + } this.serverTemplates.add(serverTemplatesItem); return this; } - /** - * 0 or more server-side templates and their position in the overlay. If supplied, they are overlaid into the envelope in the order of their Sequence value + /** + * 0 or more server-side templates and their position in the overlay. If supplied, they are overlaid into the envelope in the order of their Sequence value. * @return serverTemplates - **/ - @ApiModelProperty(example = "null", value = "0 or more server-side templates and their position in the overlay. If supplied, they are overlaid into the envelope in the order of their Sequence value") + **/ + @ApiModelProperty(value = "0 or more server-side templates and their position in the overlay. If supplied, they are overlaid into the envelope in the order of their Sequence value") public java.util.List getServerTemplates() { return serverTemplates; } + /** + * setServerTemplates. + **/ public void setServerTemplates(java.util.List serverTemplates) { this.serverTemplates = serverTemplates; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -146,12 +215,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.serverTemplates, compositeTemplate.serverTemplates); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(compositeTemplateId, document, inlineTemplates, pdfMetaDataTemplateSequence, serverTemplates); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -176,6 +251,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/ConnectConfigResults.java b/src/main/java/com/docusign/esign/model/ConnectConfigResults.java index 0ef83e21..8a189898 100644 --- a/src/main/java/com/docusign/esign/model/ConnectConfigResults.java +++ b/src/main/java/com/docusign/esign/model/ConnectConfigResults.java @@ -1,65 +1,99 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ConnectCustomConfiguration; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * ConnectConfigResults + * ConnectConfigResults. + * */ public class ConnectConfigResults { @JsonProperty("configurations") - private java.util.List configurations = new java.util.ArrayList(); + private java.util.List configurations = null; @JsonProperty("totalRecords") private String totalRecords = null; + + /** + * configurations. + * + * @return ConnectConfigResults + **/ public ConnectConfigResults configurations(java.util.List configurations) { this.configurations = configurations; return this; } - + + /** + * addConfigurationsItem. + * + * @return ConnectConfigResults + **/ public ConnectConfigResults addConfigurationsItem(ConnectCustomConfiguration configurationsItem) { + if (this.configurations == null) { + this.configurations = new java.util.ArrayList(); + } this.configurations.add(configurationsItem); return this; } - /** - * Reserved: TBD + /** + * Reserved: TBD. * @return configurations - **/ - @ApiModelProperty(example = "null", value = "Reserved: TBD") + **/ + @ApiModelProperty(value = "Reserved: TBD") public java.util.List getConfigurations() { return configurations; } + /** + * setConfigurations. + **/ public void setConfigurations(java.util.List configurations) { this.configurations = configurations; } + + /** + * totalRecords. + * + * @return ConnectConfigResults + **/ public ConnectConfigResults totalRecords(String totalRecords) { this.totalRecords = totalRecords; return this; } - /** - * + /** + * . * @return totalRecords - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTotalRecords() { return totalRecords; } + /** + * setTotalRecords. + **/ public void setTotalRecords(String totalRecords) { this.totalRecords = totalRecords; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -73,12 +107,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.totalRecords, connectConfigResults.totalRecords); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(configurations, totalRecords); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -100,6 +140,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/ConnectCustomConfiguration.java b/src/main/java/com/docusign/esign/model/ConnectCustomConfiguration.java index 5d780f0c..65b6b715 100644 --- a/src/main/java/com/docusign/esign/model/ConnectCustomConfiguration.java +++ b/src/main/java/com/docusign/esign/model/ConnectCustomConfiguration.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * ConnectCustomConfiguration + * ConnectCustomConfiguration. + * */ public class ConnectCustomConfiguration { @@ -77,403 +80,606 @@ public class ConnectCustomConfiguration { @JsonProperty("useSoapInterface") private String useSoapInterface = null; + + /** + * allowEnvelopePublish. + * + * @return ConnectCustomConfiguration + **/ public ConnectCustomConfiguration allowEnvelopePublish(String allowEnvelopePublish) { this.allowEnvelopePublish = allowEnvelopePublish; return this; } - /** - * When set to **true**, data is sent to the urlToPublishTo web address. This option can be set to false to stop sending data while maintaining the Connect configuration information. + /** + * When set to **true**, data is sent to the urlToPublishTo web address. This option can be set to false to stop sending data while maintaining the Connect configuration information.. * @return allowEnvelopePublish - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, data is sent to the urlToPublishTo web address. This option can be set to false to stop sending data while maintaining the Connect configuration information.") + **/ + @ApiModelProperty(value = "When set to **true**, data is sent to the urlToPublishTo web address. This option can be set to false to stop sending data while maintaining the Connect configuration information.") public String getAllowEnvelopePublish() { return allowEnvelopePublish; } + /** + * setAllowEnvelopePublish. + **/ public void setAllowEnvelopePublish(String allowEnvelopePublish) { this.allowEnvelopePublish = allowEnvelopePublish; } + + /** + * allUsers. + * + * @return ConnectCustomConfiguration + **/ public ConnectCustomConfiguration allUsers(String allUsers) { this.allUsers = allUsers; return this; } - /** - * When set to **true**, the tracked envelope and recipient events for all users, including users that are added a later time, are sent through Connect. + /** + * When set to **true**, the tracked envelope and recipient events for all users, including users that are added a later time, are sent through Connect.. * @return allUsers - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the tracked envelope and recipient events for all users, including users that are added a later time, are sent through Connect.") + **/ + @ApiModelProperty(value = "When set to **true**, the tracked envelope and recipient events for all users, including users that are added a later time, are sent through Connect.") public String getAllUsers() { return allUsers; } + /** + * setAllUsers. + **/ public void setAllUsers(String allUsers) { this.allUsers = allUsers; } + + /** + * configurationType. + * + * @return ConnectCustomConfiguration + **/ public ConnectCustomConfiguration configurationType(String configurationType) { this.configurationType = configurationType; return this; } - /** - * If merge field's are being used, specifies the type of the merge field. The only supported value is **salesforce**. + /** + * If merge field's are being used, specifies the type of the merge field. The only supported value is **salesforce**.. * @return configurationType - **/ - @ApiModelProperty(example = "null", value = "If merge field's are being used, specifies the type of the merge field. The only supported value is **salesforce**.") + **/ + @ApiModelProperty(value = "If merge field's are being used, specifies the type of the merge field. The only supported value is **salesforce**.") public String getConfigurationType() { return configurationType; } + /** + * setConfigurationType. + **/ public void setConfigurationType(String configurationType) { this.configurationType = configurationType; } + + /** + * connectId. + * + * @return ConnectCustomConfiguration + **/ public ConnectCustomConfiguration connectId(String connectId) { this.connectId = connectId; return this; } - /** - * Specifies the DocuSign generated ID for the Connect configuration. + /** + * Specifies the DocuSign generated ID for the Connect configuration. . * @return connectId - **/ - @ApiModelProperty(example = "null", value = " Specifies the DocuSign generated ID for the Connect configuration. ") + **/ + @ApiModelProperty(value = " Specifies the DocuSign generated ID for the Connect configuration. ") public String getConnectId() { return connectId; } + /** + * setConnectId. + **/ public void setConnectId(String connectId) { this.connectId = connectId; } + + /** + * enableLog. + * + * @return ConnectCustomConfiguration + **/ public ConnectCustomConfiguration enableLog(String enableLog) { this.enableLog = enableLog; return this; } - /** - * This turns Connect logging on or off. When set to **true**, logging is turned on. + /** + * This turns Connect logging on or off. When set to **true**, logging is turned on.. * @return enableLog - **/ - @ApiModelProperty(example = "null", value = "This turns Connect logging on or off. When set to **true**, logging is turned on.") + **/ + @ApiModelProperty(value = "This turns Connect logging on or off. When set to **true**, logging is turned on.") public String getEnableLog() { return enableLog; } + /** + * setEnableLog. + **/ public void setEnableLog(String enableLog) { this.enableLog = enableLog; } + + /** + * envelopeEvents. + * + * @return ConnectCustomConfiguration + **/ public ConnectCustomConfiguration envelopeEvents(String envelopeEvents) { this.envelopeEvents = envelopeEvents; return this; } - /** - * A comma separated list of �Envelope� related events that are tracked through Connect. The possible event values are: Sent, Delivered, Completed, Declined, and Voided. + /** + * A comma separated list of �Envelope� related events that are tracked through Connect. The possible event values are: Sent, Delivered, Completed, Declined, and Voided.. * @return envelopeEvents - **/ - @ApiModelProperty(example = "null", value = "A comma separated list of �Envelope� related events that are tracked through Connect. The possible event values are: Sent, Delivered, Completed, Declined, and Voided.") + **/ + @ApiModelProperty(value = "A comma separated list of �Envelope� related events that are tracked through Connect. The possible event values are: Sent, Delivered, Completed, Declined, and Voided.") public String getEnvelopeEvents() { return envelopeEvents; } + /** + * setEnvelopeEvents. + **/ public void setEnvelopeEvents(String envelopeEvents) { this.envelopeEvents = envelopeEvents; } + + /** + * includeCertificateOfCompletion. + * + * @return ConnectCustomConfiguration + **/ public ConnectCustomConfiguration includeCertificateOfCompletion(String includeCertificateOfCompletion) { this.includeCertificateOfCompletion = includeCertificateOfCompletion; return this; } - /** - * When set to **true**, the Connect Service includes the Certificate of Completion with completed envelopes. + /** + * When set to **true**, the Connect Service includes the Certificate of Completion with completed envelopes. . * @return includeCertificateOfCompletion - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the Connect Service includes the Certificate of Completion with completed envelopes. ") + **/ + @ApiModelProperty(value = "When set to **true**, the Connect Service includes the Certificate of Completion with completed envelopes. ") public String getIncludeCertificateOfCompletion() { return includeCertificateOfCompletion; } + /** + * setIncludeCertificateOfCompletion. + **/ public void setIncludeCertificateOfCompletion(String includeCertificateOfCompletion) { this.includeCertificateOfCompletion = includeCertificateOfCompletion; } + + /** + * includeCertSoapHeader. + * + * @return ConnectCustomConfiguration + **/ public ConnectCustomConfiguration includeCertSoapHeader(String includeCertSoapHeader) { this.includeCertSoapHeader = includeCertSoapHeader; return this; } - /** - * + /** + * . * @return includeCertSoapHeader - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getIncludeCertSoapHeader() { return includeCertSoapHeader; } + /** + * setIncludeCertSoapHeader. + **/ public void setIncludeCertSoapHeader(String includeCertSoapHeader) { this.includeCertSoapHeader = includeCertSoapHeader; } + + /** + * includeDocumentFields. + * + * @return ConnectCustomConfiguration + **/ public ConnectCustomConfiguration includeDocumentFields(String includeDocumentFields) { this.includeDocumentFields = includeDocumentFields; return this; } - /** - * When set to **true**, the Document Fields associated with envelope documents are included in the data. Document Fields are optional custom name-value pairs added to documents using the API. + /** + * When set to **true**, the Document Fields associated with envelope documents are included in the data. Document Fields are optional custom name-value pairs added to documents using the API. . * @return includeDocumentFields - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the Document Fields associated with envelope documents are included in the data. Document Fields are optional custom name-value pairs added to documents using the API. ") + **/ + @ApiModelProperty(value = "When set to **true**, the Document Fields associated with envelope documents are included in the data. Document Fields are optional custom name-value pairs added to documents using the API. ") public String getIncludeDocumentFields() { return includeDocumentFields; } + /** + * setIncludeDocumentFields. + **/ public void setIncludeDocumentFields(String includeDocumentFields) { this.includeDocumentFields = includeDocumentFields; } + + /** + * includeDocuments. + * + * @return ConnectCustomConfiguration + **/ public ConnectCustomConfiguration includeDocuments(String includeDocuments) { this.includeDocuments = includeDocuments; return this; } - /** - * When set to **true**, Connect will send the PDF document along with the update XML. + /** + * When set to **true**, Connect will send the PDF document along with the update XML.. * @return includeDocuments - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, Connect will send the PDF document along with the update XML.") + **/ + @ApiModelProperty(value = "When set to **true**, Connect will send the PDF document along with the update XML.") public String getIncludeDocuments() { return includeDocuments; } + /** + * setIncludeDocuments. + **/ public void setIncludeDocuments(String includeDocuments) { this.includeDocuments = includeDocuments; } + + /** + * includeEnvelopeVoidReason. + * + * @return ConnectCustomConfiguration + **/ public ConnectCustomConfiguration includeEnvelopeVoidReason(String includeEnvelopeVoidReason) { this.includeEnvelopeVoidReason = includeEnvelopeVoidReason; return this; } - /** - * When set to **true**, Connect will include the voidedReason for voided envelopes. + /** + * When set to **true**, Connect will include the voidedReason for voided envelopes.. * @return includeEnvelopeVoidReason - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, Connect will include the voidedReason for voided envelopes.") + **/ + @ApiModelProperty(value = "When set to **true**, Connect will include the voidedReason for voided envelopes.") public String getIncludeEnvelopeVoidReason() { return includeEnvelopeVoidReason; } + /** + * setIncludeEnvelopeVoidReason. + **/ public void setIncludeEnvelopeVoidReason(String includeEnvelopeVoidReason) { this.includeEnvelopeVoidReason = includeEnvelopeVoidReason; } + + /** + * includeHMAC. + * + * @return ConnectCustomConfiguration + **/ public ConnectCustomConfiguration includeHMAC(String includeHMAC) { this.includeHMAC = includeHMAC; return this; } - /** - * + /** + * . * @return includeHMAC - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getIncludeHMAC() { return includeHMAC; } + /** + * setIncludeHMAC. + **/ public void setIncludeHMAC(String includeHMAC) { this.includeHMAC = includeHMAC; } + + /** + * includeSenderAccountasCustomField. + * + * @return ConnectCustomConfiguration + **/ public ConnectCustomConfiguration includeSenderAccountasCustomField(String includeSenderAccountasCustomField) { this.includeSenderAccountasCustomField = includeSenderAccountasCustomField; return this; } - /** - * When set to **true**, Connect will include the sender account as Custom Field in the data. + /** + * When set to **true**, Connect will include the sender account as Custom Field in the data.. * @return includeSenderAccountasCustomField - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, Connect will include the sender account as Custom Field in the data.") + **/ + @ApiModelProperty(value = "When set to **true**, Connect will include the sender account as Custom Field in the data.") public String getIncludeSenderAccountasCustomField() { return includeSenderAccountasCustomField; } + /** + * setIncludeSenderAccountasCustomField. + **/ public void setIncludeSenderAccountasCustomField(String includeSenderAccountasCustomField) { this.includeSenderAccountasCustomField = includeSenderAccountasCustomField; } + + /** + * includeTimeZoneInformation. + * + * @return ConnectCustomConfiguration + **/ public ConnectCustomConfiguration includeTimeZoneInformation(String includeTimeZoneInformation) { this.includeTimeZoneInformation = includeTimeZoneInformation; return this; } - /** - * When set to **true**, Connect will include the envelope time zone information. + /** + * When set to **true**, Connect will include the envelope time zone information.. * @return includeTimeZoneInformation - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, Connect will include the envelope time zone information.") + **/ + @ApiModelProperty(value = "When set to **true**, Connect will include the envelope time zone information.") public String getIncludeTimeZoneInformation() { return includeTimeZoneInformation; } + /** + * setIncludeTimeZoneInformation. + **/ public void setIncludeTimeZoneInformation(String includeTimeZoneInformation) { this.includeTimeZoneInformation = includeTimeZoneInformation; } + + /** + * name. + * + * @return ConnectCustomConfiguration + **/ public ConnectCustomConfiguration name(String name) { this.name = name; return this; } - /** - * The name of the Connect configuration. The name helps identify the configuration in the list. + /** + * The name of the Connect configuration. The name helps identify the configuration in the list.. * @return name - **/ - @ApiModelProperty(example = "null", value = "The name of the Connect configuration. The name helps identify the configuration in the list.") + **/ + @ApiModelProperty(value = "The name of the Connect configuration. The name helps identify the configuration in the list.") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * recipientEvents. + * + * @return ConnectCustomConfiguration + **/ public ConnectCustomConfiguration recipientEvents(String recipientEvents) { this.recipientEvents = recipientEvents; return this; } - /** - * A comma separated list of �Recipient� related events that are tracked through Connect. The possible event values are: Sent, Delivered, Completed, Declined, AuthenticationFailed, and AutoResponded. + /** + * A comma separated list of �Recipient� related events that are tracked through Connect. The possible event values are: Sent, Delivered, Completed, Declined, AuthenticationFailed, and AutoResponded.. * @return recipientEvents - **/ - @ApiModelProperty(example = "null", value = "A comma separated list of �Recipient� related events that are tracked through Connect. The possible event values are: Sent, Delivered, Completed, Declined, AuthenticationFailed, and AutoResponded.") + **/ + @ApiModelProperty(value = "A comma separated list of �Recipient� related events that are tracked through Connect. The possible event values are: Sent, Delivered, Completed, Declined, AuthenticationFailed, and AutoResponded.") public String getRecipientEvents() { return recipientEvents; } + /** + * setRecipientEvents. + **/ public void setRecipientEvents(String recipientEvents) { this.recipientEvents = recipientEvents; } + + /** + * requiresAcknowledgement. + * + * @return ConnectCustomConfiguration + **/ public ConnectCustomConfiguration requiresAcknowledgement(String requiresAcknowledgement) { this.requiresAcknowledgement = requiresAcknowledgement; return this; } - /** - * When set to **true**, and a publication message fails to be acknowledged, the message goes back into the queue and the system will retry delivery after a successful acknowledgement is received. If the delivery fails a second time, the message is not returned to the queue for sending until Connect receives a successful acknowledgement and it has been at least 24 hours since the previous retry. There is a maximum of ten retries Alternately, you can use Republish Connect Information to manually republish the envelope information. + /** + * When set to **true**, and a publication message fails to be acknowledged, the message goes back into the queue and the system will retry delivery after a successful acknowledgement is received. If the delivery fails a second time, the message is not returned to the queue for sending until Connect receives a successful acknowledgement and it has been at least 24 hours since the previous retry. There is a maximum of ten retries Alternately, you can use Republish Connect Information to manually republish the envelope information.. * @return requiresAcknowledgement - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, and a publication message fails to be acknowledged, the message goes back into the queue and the system will retry delivery after a successful acknowledgement is received. If the delivery fails a second time, the message is not returned to the queue for sending until Connect receives a successful acknowledgement and it has been at least 24 hours since the previous retry. There is a maximum of ten retries Alternately, you can use Republish Connect Information to manually republish the envelope information.") + **/ + @ApiModelProperty(value = "When set to **true**, and a publication message fails to be acknowledged, the message goes back into the queue and the system will retry delivery after a successful acknowledgement is received. If the delivery fails a second time, the message is not returned to the queue for sending until Connect receives a successful acknowledgement and it has been at least 24 hours since the previous retry. There is a maximum of ten retries Alternately, you can use Republish Connect Information to manually republish the envelope information.") public String getRequiresAcknowledgement() { return requiresAcknowledgement; } + /** + * setRequiresAcknowledgement. + **/ public void setRequiresAcknowledgement(String requiresAcknowledgement) { this.requiresAcknowledgement = requiresAcknowledgement; } + + /** + * signMessageWithX509Certificate. + * + * @return ConnectCustomConfiguration + **/ public ConnectCustomConfiguration signMessageWithX509Certificate(String signMessageWithX509Certificate) { this.signMessageWithX509Certificate = signMessageWithX509Certificate; return this; } - /** - * When set to **true**, Connect messages are signed with an X509 certificate. This provides support for 2-way SSL. + /** + * When set to **true**, Connect messages are signed with an X509 certificate. This provides support for 2-way SSL.. * @return signMessageWithX509Certificate - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, Connect messages are signed with an X509 certificate. This provides support for 2-way SSL.") + **/ + @ApiModelProperty(value = "When set to **true**, Connect messages are signed with an X509 certificate. This provides support for 2-way SSL.") public String getSignMessageWithX509Certificate() { return signMessageWithX509Certificate; } + /** + * setSignMessageWithX509Certificate. + **/ public void setSignMessageWithX509Certificate(String signMessageWithX509Certificate) { this.signMessageWithX509Certificate = signMessageWithX509Certificate; } + + /** + * soapNamespace. + * + * @return ConnectCustomConfiguration + **/ public ConnectCustomConfiguration soapNamespace(String soapNamespace) { this.soapNamespace = soapNamespace; return this; } - /** - * The namespace of the SOAP interface. The namespace value must be set if useSoapInterface is set to true. + /** + * The namespace of the SOAP interface. The namespace value must be set if useSoapInterface is set to true.. * @return soapNamespace - **/ - @ApiModelProperty(example = "null", value = "The namespace of the SOAP interface. The namespace value must be set if useSoapInterface is set to true.") + **/ + @ApiModelProperty(value = "The namespace of the SOAP interface. The namespace value must be set if useSoapInterface is set to true.") public String getSoapNamespace() { return soapNamespace; } + /** + * setSoapNamespace. + **/ public void setSoapNamespace(String soapNamespace) { this.soapNamespace = soapNamespace; } + + /** + * urlToPublishTo. + * + * @return ConnectCustomConfiguration + **/ public ConnectCustomConfiguration urlToPublishTo(String urlToPublishTo) { this.urlToPublishTo = urlToPublishTo; return this; } - /** - * This is the web address and name of your listener or Retrieving Service endpoint. You need to include HTTPS:// in the web address. + /** + * This is the web address and name of your listener or Retrieving Service endpoint. You need to include HTTPS:// in the web address.. * @return urlToPublishTo - **/ - @ApiModelProperty(example = "null", value = "This is the web address and name of your listener or Retrieving Service endpoint. You need to include HTTPS:// in the web address.") + **/ + @ApiModelProperty(value = "This is the web address and name of your listener or Retrieving Service endpoint. You need to include HTTPS:// in the web address.") public String getUrlToPublishTo() { return urlToPublishTo; } + /** + * setUrlToPublishTo. + **/ public void setUrlToPublishTo(String urlToPublishTo) { this.urlToPublishTo = urlToPublishTo; } + + /** + * userIds. + * + * @return ConnectCustomConfiguration + **/ public ConnectCustomConfiguration userIds(String userIds) { this.userIds = userIds; return this; } - /** - * A comma separated list of userIds. This sets the users associated with the tracked envelope and recipient events. When one of the event occurs for a set user, the information is sent through Connect. ###### Note: If allUsers is set to �false� then you must provide a list of user id�s. + /** + * A comma separated list of userIds. This sets the users associated with the tracked envelope and recipient events. When one of the event occurs for a set user, the information is sent through Connect. ###### Note: If allUsers is set to �false� then you must provide a list of user id�s.. * @return userIds - **/ - @ApiModelProperty(example = "null", value = "A comma separated list of userIds. This sets the users associated with the tracked envelope and recipient events. When one of the event occurs for a set user, the information is sent through Connect. ###### Note: If allUsers is set to �false� then you must provide a list of user id�s.") + **/ + @ApiModelProperty(value = "A comma separated list of userIds. This sets the users associated with the tracked envelope and recipient events. When one of the event occurs for a set user, the information is sent through Connect. ###### Note: If allUsers is set to �false� then you must provide a list of user id�s.") public String getUserIds() { return userIds; } + /** + * setUserIds. + **/ public void setUserIds(String userIds) { this.userIds = userIds; } + + /** + * useSoapInterface. + * + * @return ConnectCustomConfiguration + **/ public ConnectCustomConfiguration useSoapInterface(String useSoapInterface) { this.useSoapInterface = useSoapInterface; return this; } - /** - * When set to **true**, indicates that the `urlToPublishTo` property contains a SOAP endpoint. + /** + * When set to **true**, indicates that the `urlToPublishTo` property contains a SOAP endpoint.. * @return useSoapInterface - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, indicates that the `urlToPublishTo` property contains a SOAP endpoint.") + **/ + @ApiModelProperty(value = "When set to **true**, indicates that the `urlToPublishTo` property contains a SOAP endpoint.") public String getUseSoapInterface() { return useSoapInterface; } + /** + * setUseSoapInterface. + **/ public void setUseSoapInterface(String useSoapInterface) { this.useSoapInterface = useSoapInterface; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -507,12 +713,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.useSoapInterface, connectCustomConfiguration.useSoapInterface); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(allowEnvelopePublish, allUsers, configurationType, connectId, enableLog, envelopeEvents, includeCertificateOfCompletion, includeCertSoapHeader, includeDocumentFields, includeDocuments, includeEnvelopeVoidReason, includeHMAC, includeSenderAccountasCustomField, includeTimeZoneInformation, name, recipientEvents, requiresAcknowledgement, signMessageWithX509Certificate, soapNamespace, urlToPublishTo, userIds, useSoapInterface); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -554,6 +766,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/ConnectDebugLog.java b/src/main/java/com/docusign/esign/model/ConnectDebugLog.java index 8f6f1e01..b316c12b 100644 --- a/src/main/java/com/docusign/esign/model/ConnectDebugLog.java +++ b/src/main/java/com/docusign/esign/model/ConnectDebugLog.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ErrorDetails; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * ConnectDebugLog + * ConnectDebugLog. + * */ public class ConnectDebugLog { @@ -27,97 +30,147 @@ public class ConnectDebugLog { @JsonProperty("payload") private String payload = null; + + /** + * connectConfig. + * + * @return ConnectDebugLog + **/ public ConnectDebugLog connectConfig(String connectConfig) { this.connectConfig = connectConfig; return this; } - /** - * + /** + * . * @return connectConfig - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getConnectConfig() { return connectConfig; } + /** + * setConnectConfig. + **/ public void setConnectConfig(String connectConfig) { this.connectConfig = connectConfig; } + + /** + * errorDetails. + * + * @return ConnectDebugLog + **/ public ConnectDebugLog errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * eventDateTime. + * + * @return ConnectDebugLog + **/ public ConnectDebugLog eventDateTime(String eventDateTime) { this.eventDateTime = eventDateTime; return this; } - /** - * + /** + * . * @return eventDateTime - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getEventDateTime() { return eventDateTime; } + /** + * setEventDateTime. + **/ public void setEventDateTime(String eventDateTime) { this.eventDateTime = eventDateTime; } + + /** + * eventDescription. + * + * @return ConnectDebugLog + **/ public ConnectDebugLog eventDescription(String eventDescription) { this.eventDescription = eventDescription; return this; } - /** - * + /** + * . * @return eventDescription - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getEventDescription() { return eventDescription; } + /** + * setEventDescription. + **/ public void setEventDescription(String eventDescription) { this.eventDescription = eventDescription; } + + /** + * payload. + * + * @return ConnectDebugLog + **/ public ConnectDebugLog payload(String payload) { this.payload = payload; return this; } - /** - * + /** + * . * @return payload - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPayload() { return payload; } + /** + * setPayload. + **/ public void setPayload(String payload) { this.payload = payload; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -134,12 +187,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.payload, connectDebugLog.payload); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(connectConfig, errorDetails, eventDateTime, eventDescription, payload); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -164,6 +223,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/ConnectFailureFilter.java b/src/main/java/com/docusign/esign/model/ConnectFailureFilter.java index ecfb9c17..e32294a7 100644 --- a/src/main/java/com/docusign/esign/model/ConnectFailureFilter.java +++ b/src/main/java/com/docusign/esign/model/ConnectFailureFilter.java @@ -1,64 +1,98 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * ConnectFailureFilter + * ConnectFailureFilter. + * */ public class ConnectFailureFilter { @JsonProperty("envelopeIds") - private java.util.List envelopeIds = new java.util.ArrayList(); + private java.util.List envelopeIds = null; @JsonProperty("synchronous") private String synchronous = null; + + /** + * envelopeIds. + * + * @return ConnectFailureFilter + **/ public ConnectFailureFilter envelopeIds(java.util.List envelopeIds) { this.envelopeIds = envelopeIds; return this; } - + + /** + * addEnvelopeIdsItem. + * + * @return ConnectFailureFilter + **/ public ConnectFailureFilter addEnvelopeIdsItem(String envelopeIdsItem) { + if (this.envelopeIds == null) { + this.envelopeIds = new java.util.ArrayList(); + } this.envelopeIds.add(envelopeIdsItem); return this; } - /** - * + /** + * . * @return envelopeIds - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getEnvelopeIds() { return envelopeIds; } + /** + * setEnvelopeIds. + **/ public void setEnvelopeIds(java.util.List envelopeIds) { this.envelopeIds = envelopeIds; } + + /** + * synchronous. + * + * @return ConnectFailureFilter + **/ public ConnectFailureFilter synchronous(String synchronous) { this.synchronous = synchronous; return this; } - /** - * + /** + * . * @return synchronous - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSynchronous() { return synchronous; } + /** + * setSynchronous. + **/ public void setSynchronous(String synchronous) { this.synchronous = synchronous; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -72,12 +106,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.synchronous, connectFailureFilter.synchronous); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(envelopeIds, synchronous); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -99,6 +139,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/ConnectFailureResult.java b/src/main/java/com/docusign/esign/model/ConnectFailureResult.java index 3363ecc9..450c76d5 100644 --- a/src/main/java/com/docusign/esign/model/ConnectFailureResult.java +++ b/src/main/java/com/docusign/esign/model/ConnectFailureResult.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * ConnectFailureResult + * ConnectFailureResult. + * */ public class ConnectFailureResult { @@ -26,97 +29,147 @@ public class ConnectFailureResult { @JsonProperty("statusMessage") private String statusMessage = null; + + /** + * configId. + * + * @return ConnectFailureResult + **/ public ConnectFailureResult configId(String configId) { this.configId = configId; return this; } - /** - * Reserved: TBD + /** + * Reserved: TBD. * @return configId - **/ - @ApiModelProperty(example = "null", value = "Reserved: TBD") + **/ + @ApiModelProperty(value = "Reserved: TBD") public String getConfigId() { return configId; } + /** + * setConfigId. + **/ public void setConfigId(String configId) { this.configId = configId; } + + /** + * configUrl. + * + * @return ConnectFailureResult + **/ public ConnectFailureResult configUrl(String configUrl) { this.configUrl = configUrl; return this; } - /** - * Reserved: TBD + /** + * Reserved: TBD. * @return configUrl - **/ - @ApiModelProperty(example = "null", value = "Reserved: TBD") + **/ + @ApiModelProperty(value = "Reserved: TBD") public String getConfigUrl() { return configUrl; } + /** + * setConfigUrl. + **/ public void setConfigUrl(String configUrl) { this.configUrl = configUrl; } + + /** + * envelopeId. + * + * @return ConnectFailureResult + **/ public ConnectFailureResult envelopeId(String envelopeId) { this.envelopeId = envelopeId; return this; } - /** - * The envelope ID of the envelope status that failed to post. + /** + * The envelope ID of the envelope status that failed to post.. * @return envelopeId - **/ - @ApiModelProperty(example = "null", value = "The envelope ID of the envelope status that failed to post.") + **/ + @ApiModelProperty(value = "The envelope ID of the envelope status that failed to post.") public String getEnvelopeId() { return envelopeId; } + /** + * setEnvelopeId. + **/ public void setEnvelopeId(String envelopeId) { this.envelopeId = envelopeId; } + + /** + * status. + * + * @return ConnectFailureResult + **/ public ConnectFailureResult status(String status) { this.status = status; return this; } - /** - * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. + /** + * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.. * @return status - **/ - @ApiModelProperty(example = "null", value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") + **/ + @ApiModelProperty(value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") public String getStatus() { return status; } + /** + * setStatus. + **/ public void setStatus(String status) { this.status = status; } + + /** + * statusMessage. + * + * @return ConnectFailureResult + **/ public ConnectFailureResult statusMessage(String statusMessage) { this.statusMessage = statusMessage; return this; } - /** - * + /** + * . * @return statusMessage - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getStatusMessage() { return statusMessage; } + /** + * setStatusMessage. + **/ public void setStatusMessage(String statusMessage) { this.statusMessage = statusMessage; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -133,12 +186,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.statusMessage, connectFailureResult.statusMessage); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(configId, configUrl, envelopeId, status, statusMessage); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -163,6 +222,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/ConnectFailureResults.java b/src/main/java/com/docusign/esign/model/ConnectFailureResults.java index 412c03e9..b1255584 100644 --- a/src/main/java/com/docusign/esign/model/ConnectFailureResults.java +++ b/src/main/java/com/docusign/esign/model/ConnectFailureResults.java @@ -1,44 +1,69 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ConnectFailureResult; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * ConnectFailureResults + * ConnectFailureResults. + * */ public class ConnectFailureResults { @JsonProperty("retryQueue") - private java.util.List retryQueue = new java.util.ArrayList(); + private java.util.List retryQueue = null; + + /** + * retryQueue. + * + * @return ConnectFailureResults + **/ public ConnectFailureResults retryQueue(java.util.List retryQueue) { this.retryQueue = retryQueue; return this; } - + + /** + * addRetryQueueItem. + * + * @return ConnectFailureResults + **/ public ConnectFailureResults addRetryQueueItem(ConnectFailureResult retryQueueItem) { + if (this.retryQueue == null) { + this.retryQueue = new java.util.ArrayList(); + } this.retryQueue.add(retryQueueItem); return this; } - /** - * + /** + * . * @return retryQueue - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getRetryQueue() { return retryQueue; } + /** + * setRetryQueue. + **/ public void setRetryQueue(java.util.List retryQueue) { this.retryQueue = retryQueue; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -51,12 +76,18 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.retryQueue, connectFailureResults.retryQueue); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(retryQueue); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -77,6 +108,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/ConnectLog.java b/src/main/java/com/docusign/esign/model/ConnectLog.java index a963bdd3..647b606e 100644 --- a/src/main/java/com/docusign/esign/model/ConnectLog.java +++ b/src/main/java/com/docusign/esign/model/ConnectLog.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ConnectDebugLog; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * ConnectLog + * ConnectLog. + * */ public class ConnectLog { @@ -19,7 +22,7 @@ public class ConnectLog { private String configUrl = null; @JsonProperty("connectDebugLog") - private java.util.List connectDebugLog = new java.util.ArrayList(); + private java.util.List connectDebugLog = null; @JsonProperty("connectId") private String connectId = null; @@ -66,336 +69,511 @@ public class ConnectLog { @JsonProperty("userName") private String userName = null; + + /** + * accountId. + * + * @return ConnectLog + **/ public ConnectLog accountId(String accountId) { this.accountId = accountId; return this; } - /** - * The account ID associated with the envelope. + /** + * The account ID associated with the envelope.. * @return accountId - **/ - @ApiModelProperty(example = "null", value = "The account ID associated with the envelope.") + **/ + @ApiModelProperty(value = "The account ID associated with the envelope.") public String getAccountId() { return accountId; } + /** + * setAccountId. + **/ public void setAccountId(String accountId) { this.accountId = accountId; } + + /** + * configUrl. + * + * @return ConnectLog + **/ public ConnectLog configUrl(String configUrl) { this.configUrl = configUrl; return this; } - /** - * The web address of the listener or Retrieving Service end point for Connect. + /** + * The web address of the listener or Retrieving Service end point for Connect.. * @return configUrl - **/ - @ApiModelProperty(example = "null", value = "The web address of the listener or Retrieving Service end point for Connect.") + **/ + @ApiModelProperty(value = "The web address of the listener or Retrieving Service end point for Connect.") public String getConfigUrl() { return configUrl; } + /** + * setConfigUrl. + **/ public void setConfigUrl(String configUrl) { this.configUrl = configUrl; } + + /** + * connectDebugLog. + * + * @return ConnectLog + **/ public ConnectLog connectDebugLog(java.util.List connectDebugLog) { this.connectDebugLog = connectDebugLog; return this; } - + + /** + * addConnectDebugLogItem. + * + * @return ConnectLog + **/ public ConnectLog addConnectDebugLogItem(ConnectDebugLog connectDebugLogItem) { + if (this.connectDebugLog == null) { + this.connectDebugLog = new java.util.ArrayList(); + } this.connectDebugLog.add(connectDebugLogItem); return this; } - /** - * A complex element containing information about the Connect configuration, error details, date/time, description and payload. This is only included in the response if the query additional_info=true is used. + /** + * A complex element containing information about the Connect configuration, error details, date/time, description and payload. This is only included in the response if the query additional_info=true is used.. * @return connectDebugLog - **/ - @ApiModelProperty(example = "null", value = "A complex element containing information about the Connect configuration, error details, date/time, description and payload. This is only included in the response if the query additional_info=true is used.") + **/ + @ApiModelProperty(value = "A complex element containing information about the Connect configuration, error details, date/time, description and payload. This is only included in the response if the query additional_info=true is used.") public java.util.List getConnectDebugLog() { return connectDebugLog; } + /** + * setConnectDebugLog. + **/ public void setConnectDebugLog(java.util.List connectDebugLog) { this.connectDebugLog = connectDebugLog; } + + /** + * connectId. + * + * @return ConnectLog + **/ public ConnectLog connectId(String connectId) { this.connectId = connectId; return this; } - /** - * The identifier for the Connect configuration that failed. If an account has multiple Connect configurations, this value is used to look up the Connect configuration for the failed post. + /** + * The identifier for the Connect configuration that failed. If an account has multiple Connect configurations, this value is used to look up the Connect configuration for the failed post.. * @return connectId - **/ - @ApiModelProperty(example = "null", value = "The identifier for the Connect configuration that failed. If an account has multiple Connect configurations, this value is used to look up the Connect configuration for the failed post.") + **/ + @ApiModelProperty(value = "The identifier for the Connect configuration that failed. If an account has multiple Connect configurations, this value is used to look up the Connect configuration for the failed post.") public String getConnectId() { return connectId; } + /** + * setConnectId. + **/ public void setConnectId(String connectId) { this.connectId = connectId; } + + /** + * created. + * + * @return ConnectLog + **/ public ConnectLog created(String created) { this.created = created; return this; } - /** - * The date and time the entry was created. + /** + * The date and time the entry was created.. * @return created - **/ - @ApiModelProperty(example = "null", value = "The date and time the entry was created.") + **/ + @ApiModelProperty(value = "The date and time the entry was created.") public String getCreated() { return created; } + /** + * setCreated. + **/ public void setCreated(String created) { this.created = created; } + + /** + * email. + * + * @return ConnectLog + **/ public ConnectLog email(String email) { this.email = email; return this; } - /** - * The email that sent the envelope. + /** + * The email that sent the envelope.. * @return email - **/ - @ApiModelProperty(example = "null", value = "The email that sent the envelope.") + **/ + @ApiModelProperty(value = "The email that sent the envelope.") public String getEmail() { return email; } + /** + * setEmail. + **/ public void setEmail(String email) { this.email = email; } + + /** + * envelopeId. + * + * @return ConnectLog + **/ public ConnectLog envelopeId(String envelopeId) { this.envelopeId = envelopeId; return this; } - /** - * The envelope ID of the envelope status that failed to post. + /** + * The envelope ID of the envelope status that failed to post.. * @return envelopeId - **/ - @ApiModelProperty(example = "null", value = "The envelope ID of the envelope status that failed to post.") + **/ + @ApiModelProperty(value = "The envelope ID of the envelope status that failed to post.") public String getEnvelopeId() { return envelopeId; } + /** + * setEnvelopeId. + **/ public void setEnvelopeId(String envelopeId) { this.envelopeId = envelopeId; } + + /** + * error. + * + * @return ConnectLog + **/ public ConnectLog error(String error) { this.error = error; return this; } - /** - * The error that caused the Connect post to fail. + /** + * The error that caused the Connect post to fail.. * @return error - **/ - @ApiModelProperty(example = "null", value = "The error that caused the Connect post to fail.") + **/ + @ApiModelProperty(value = "The error that caused the Connect post to fail.") public String getError() { return error; } + /** + * setError. + **/ public void setError(String error) { this.error = error; } + + /** + * failureId. + * + * @return ConnectLog + **/ public ConnectLog failureId(String failureId) { this.failureId = failureId; return this; } - /** - * The failure log ID for the failure. + /** + * The failure log ID for the failure.. * @return failureId - **/ - @ApiModelProperty(example = "null", value = "The failure log ID for the failure.") + **/ + @ApiModelProperty(value = "The failure log ID for the failure.") public String getFailureId() { return failureId; } + /** + * setFailureId. + **/ public void setFailureId(String failureId) { this.failureId = failureId; } + + /** + * failureUri. + * + * @return ConnectLog + **/ public ConnectLog failureUri(String failureUri) { this.failureUri = failureUri; return this; } - /** - * The URI for the failure. + /** + * The URI for the failure.. * @return failureUri - **/ - @ApiModelProperty(example = "null", value = "The URI for the failure.") + **/ + @ApiModelProperty(value = "The URI for the failure.") public String getFailureUri() { return failureUri; } + /** + * setFailureUri. + **/ public void setFailureUri(String failureUri) { this.failureUri = failureUri; } + + /** + * lastTry. + * + * @return ConnectLog + **/ public ConnectLog lastTry(String lastTry) { this.lastTry = lastTry; return this; } - /** - * The date and time the last attempt to post. + /** + * The date and time the last attempt to post.. * @return lastTry - **/ - @ApiModelProperty(example = "null", value = "The date and time the last attempt to post.") + **/ + @ApiModelProperty(value = "The date and time the last attempt to post.") public String getLastTry() { return lastTry; } + /** + * setLastTry. + **/ public void setLastTry(String lastTry) { this.lastTry = lastTry; } + + /** + * logId. + * + * @return ConnectLog + **/ public ConnectLog logId(String logId) { this.logId = logId; return this; } - /** - * The Connect log ID for the entry. + /** + * The Connect log ID for the entry.. * @return logId - **/ - @ApiModelProperty(example = "null", value = "The Connect log ID for the entry.") + **/ + @ApiModelProperty(value = "The Connect log ID for the entry.") public String getLogId() { return logId; } + /** + * setLogId. + **/ public void setLogId(String logId) { this.logId = logId; } + + /** + * logUri. + * + * @return ConnectLog + **/ public ConnectLog logUri(String logUri) { this.logUri = logUri; return this; } - /** - * The URI for the log item. + /** + * The URI for the log item.. * @return logUri - **/ - @ApiModelProperty(example = "null", value = "The URI for the log item.") + **/ + @ApiModelProperty(value = "The URI for the log item.") public String getLogUri() { return logUri; } + /** + * setLogUri. + **/ public void setLogUri(String logUri) { this.logUri = logUri; } + + /** + * retryCount. + * + * @return ConnectLog + **/ public ConnectLog retryCount(String retryCount) { this.retryCount = retryCount; return this; } - /** - * The number of times the Connect post has been retried. + /** + * The number of times the Connect post has been retried.. * @return retryCount - **/ - @ApiModelProperty(example = "null", value = "The number of times the Connect post has been retried.") + **/ + @ApiModelProperty(value = "The number of times the Connect post has been retried.") public String getRetryCount() { return retryCount; } + /** + * setRetryCount. + **/ public void setRetryCount(String retryCount) { this.retryCount = retryCount; } + + /** + * retryUri. + * + * @return ConnectLog + **/ public ConnectLog retryUri(String retryUri) { this.retryUri = retryUri; return this; } - /** - * The UEI to retry to publish the Connect failure. + /** + * The UEI to retry to publish the Connect failure.. * @return retryUri - **/ - @ApiModelProperty(example = "null", value = "The UEI to retry to publish the Connect failure.") + **/ + @ApiModelProperty(value = "The UEI to retry to publish the Connect failure.") public String getRetryUri() { return retryUri; } + /** + * setRetryUri. + **/ public void setRetryUri(String retryUri) { this.retryUri = retryUri; } + + /** + * status. + * + * @return ConnectLog + **/ public ConnectLog status(String status) { this.status = status; return this; } - /** - * The new envelope status for the failed Connect post. The possible values are: Any, Voided, Created, Deleted, Sent, Delivered, Signed, Completed, Declined, TimedOut, Template, or Processing. + /** + * The new envelope status for the failed Connect post. The possible values are: Any, Voided, Created, Deleted, Sent, Delivered, Signed, Completed, Declined, TimedOut, Template, or Processing.. * @return status - **/ - @ApiModelProperty(example = "null", value = "The new envelope status for the failed Connect post. The possible values are: Any, Voided, Created, Deleted, Sent, Delivered, Signed, Completed, Declined, TimedOut, Template, or Processing.") + **/ + @ApiModelProperty(value = "The new envelope status for the failed Connect post. The possible values are: Any, Voided, Created, Deleted, Sent, Delivered, Signed, Completed, Declined, TimedOut, Template, or Processing.") public String getStatus() { return status; } + /** + * setStatus. + **/ public void setStatus(String status) { this.status = status; } + + /** + * subject. + * + * @return ConnectLog + **/ public ConnectLog subject(String subject) { this.subject = subject; return this; } - /** - * The envelope subject. + /** + * The envelope subject.. * @return subject - **/ - @ApiModelProperty(example = "null", value = "The envelope subject.") + **/ + @ApiModelProperty(value = "The envelope subject.") public String getSubject() { return subject; } + /** + * setSubject. + **/ public void setSubject(String subject) { this.subject = subject; } + + /** + * userName. + * + * @return ConnectLog + **/ public ConnectLog userName(String userName) { this.userName = userName; return this; } - /** - * The name of the envelope sender. + /** + * The name of the envelope sender.. * @return userName - **/ - @ApiModelProperty(example = "null", value = "The name of the envelope sender.") + **/ + @ApiModelProperty(value = "The name of the envelope sender.") public String getUserName() { return userName; } + /** + * setUserName. + **/ public void setUserName(String userName) { this.userName = userName; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -425,12 +603,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.userName, connectLog.userName); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(accountId, configUrl, connectDebugLog, connectId, created, email, envelopeId, error, failureId, failureUri, lastTry, logId, logUri, retryCount, retryUri, status, subject, userName); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -468,6 +652,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/ConnectLogs.java b/src/main/java/com/docusign/esign/model/ConnectLogs.java index 3e562643..6be407b5 100644 --- a/src/main/java/com/docusign/esign/model/ConnectLogs.java +++ b/src/main/java/com/docusign/esign/model/ConnectLogs.java @@ -1,22 +1,25 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ConnectLog; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * ConnectLogs + * ConnectLogs. + * */ public class ConnectLogs { @JsonProperty("failures") - private java.util.List failures = new java.util.ArrayList(); + private java.util.List failures = null; @JsonProperty("logs") - private java.util.List logs = new java.util.ArrayList(); + private java.util.List logs = null; @JsonProperty("totalRecords") private String totalRecords = null; @@ -24,89 +27,146 @@ public class ConnectLogs { @JsonProperty("type") private String type = null; + + /** + * failures. + * + * @return ConnectLogs + **/ public ConnectLogs failures(java.util.List failures) { this.failures = failures; return this; } - + + /** + * addFailuresItem. + * + * @return ConnectLogs + **/ public ConnectLogs addFailuresItem(ConnectLog failuresItem) { + if (this.failures == null) { + this.failures = new java.util.ArrayList(); + } this.failures.add(failuresItem); return this; } - /** - * An array of containing failure information from the Connect failure log. + /** + * An array of containing failure information from the Connect failure log.. * @return failures - **/ - @ApiModelProperty(example = "null", value = "An array of containing failure information from the Connect failure log.") + **/ + @ApiModelProperty(value = "An array of containing failure information from the Connect failure log.") public java.util.List getFailures() { return failures; } + /** + * setFailures. + **/ public void setFailures(java.util.List failures) { this.failures = failures; } + + /** + * logs. + * + * @return ConnectLogs + **/ public ConnectLogs logs(java.util.List logs) { this.logs = logs; return this; } - + + /** + * addLogsItem. + * + * @return ConnectLogs + **/ public ConnectLogs addLogsItem(ConnectLog logsItem) { + if (this.logs == null) { + this.logs = new java.util.ArrayList(); + } this.logs.add(logsItem); return this; } - /** - * A complex type containing Connect log information. It is divided into two sections, one for regular logs and one for Connect failures. + /** + * A complex type containing Connect log information. It is divided into two sections, one for regular logs and one for Connect failures. . * @return logs - **/ - @ApiModelProperty(example = "null", value = "A complex type containing Connect log information. It is divided into two sections, one for regular logs and one for Connect failures. ") + **/ + @ApiModelProperty(value = "A complex type containing Connect log information. It is divided into two sections, one for regular logs and one for Connect failures. ") public java.util.List getLogs() { return logs; } + /** + * setLogs. + **/ public void setLogs(java.util.List logs) { this.logs = logs; } + + /** + * totalRecords. + * + * @return ConnectLogs + **/ public ConnectLogs totalRecords(String totalRecords) { this.totalRecords = totalRecords; return this; } - /** - * + /** + * . * @return totalRecords - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTotalRecords() { return totalRecords; } + /** + * setTotalRecords. + **/ public void setTotalRecords(String totalRecords) { this.totalRecords = totalRecords; } + + /** + * type. + * + * @return ConnectLogs + **/ public ConnectLogs type(String type) { this.type = type; return this; } - /** - * + /** + * . * @return type - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getType() { return type; } + /** + * setType. + **/ public void setType(String type) { this.type = type; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -122,12 +182,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.type, connectLogs.type); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(failures, logs, totalRecords, type); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -151,6 +217,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/ConnectSalesforceField.java b/src/main/java/com/docusign/esign/model/ConnectSalesforceField.java new file mode 100644 index 00000000..39d3141d --- /dev/null +++ b/src/main/java/com/docusign/esign/model/ConnectSalesforceField.java @@ -0,0 +1,237 @@ +package com.docusign.esign.model; + +import java.util.Objects; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +/** + * ConnectSalesforceField + */ + +public class ConnectSalesforceField { + @JsonProperty("dsAttribute") + private String dsAttribute = null; + + @JsonProperty("dsLink") + private String dsLink = null; + + @JsonProperty("dsNode") + private String dsNode = null; + + @JsonProperty("id") + private String id = null; + + @JsonProperty("sfField") + private String sfField = null; + + @JsonProperty("sfFieldName") + private String sfFieldName = null; + + @JsonProperty("sfFolder") + private String sfFolder = null; + + @JsonProperty("sfLockedValue") + private String sfLockedValue = null; + + public ConnectSalesforceField dsAttribute(String dsAttribute) { + this.dsAttribute = dsAttribute; + return this; + } + + /** + * + * @return dsAttribute + **/ + @ApiModelProperty(example = "null", value = "") + public String getDsAttribute() { + return dsAttribute; + } + + public void setDsAttribute(String dsAttribute) { + this.dsAttribute = dsAttribute; + } + + public ConnectSalesforceField dsLink(String dsLink) { + this.dsLink = dsLink; + return this; + } + + /** + * + * @return dsLink + **/ + @ApiModelProperty(example = "null", value = "") + public String getDsLink() { + return dsLink; + } + + public void setDsLink(String dsLink) { + this.dsLink = dsLink; + } + + public ConnectSalesforceField dsNode(String dsNode) { + this.dsNode = dsNode; + return this; + } + + /** + * + * @return dsNode + **/ + @ApiModelProperty(example = "null", value = "") + public String getDsNode() { + return dsNode; + } + + public void setDsNode(String dsNode) { + this.dsNode = dsNode; + } + + public ConnectSalesforceField id(String id) { + this.id = id; + return this; + } + + /** + * + * @return id + **/ + @ApiModelProperty(example = "null", value = "") + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public ConnectSalesforceField sfField(String sfField) { + this.sfField = sfField; + return this; + } + + /** + * + * @return sfField + **/ + @ApiModelProperty(example = "null", value = "") + public String getSfField() { + return sfField; + } + + public void setSfField(String sfField) { + this.sfField = sfField; + } + + public ConnectSalesforceField sfFieldName(String sfFieldName) { + this.sfFieldName = sfFieldName; + return this; + } + + /** + * + * @return sfFieldName + **/ + @ApiModelProperty(example = "null", value = "") + public String getSfFieldName() { + return sfFieldName; + } + + public void setSfFieldName(String sfFieldName) { + this.sfFieldName = sfFieldName; + } + + public ConnectSalesforceField sfFolder(String sfFolder) { + this.sfFolder = sfFolder; + return this; + } + + /** + * + * @return sfFolder + **/ + @ApiModelProperty(example = "null", value = "") + public String getSfFolder() { + return sfFolder; + } + + public void setSfFolder(String sfFolder) { + this.sfFolder = sfFolder; + } + + public ConnectSalesforceField sfLockedValue(String sfLockedValue) { + this.sfLockedValue = sfLockedValue; + return this; + } + + /** + * + * @return sfLockedValue + **/ + @ApiModelProperty(example = "null", value = "") + public String getSfLockedValue() { + return sfLockedValue; + } + + public void setSfLockedValue(String sfLockedValue) { + this.sfLockedValue = sfLockedValue; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConnectSalesforceField connectSalesforceField = (ConnectSalesforceField) o; + return Objects.equals(this.dsAttribute, connectSalesforceField.dsAttribute) && + Objects.equals(this.dsLink, connectSalesforceField.dsLink) && + Objects.equals(this.dsNode, connectSalesforceField.dsNode) && + Objects.equals(this.id, connectSalesforceField.id) && + Objects.equals(this.sfField, connectSalesforceField.sfField) && + Objects.equals(this.sfFieldName, connectSalesforceField.sfFieldName) && + Objects.equals(this.sfFolder, connectSalesforceField.sfFolder) && + Objects.equals(this.sfLockedValue, connectSalesforceField.sfLockedValue); + } + + @Override + public int hashCode() { + return Objects.hash(dsAttribute, dsLink, dsNode, id, sfField, sfFieldName, sfFolder, sfLockedValue); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConnectSalesforceField {\n"); + + sb.append(" dsAttribute: ").append(toIndentedString(dsAttribute)).append("\n"); + sb.append(" dsLink: ").append(toIndentedString(dsLink)).append("\n"); + sb.append(" dsNode: ").append(toIndentedString(dsNode)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" sfField: ").append(toIndentedString(sfField)).append("\n"); + sb.append(" sfFieldName: ").append(toIndentedString(sfFieldName)).append("\n"); + sb.append(" sfFolder: ").append(toIndentedString(sfFolder)).append("\n"); + sb.append(" sfLockedValue: ").append(toIndentedString(sfLockedValue)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/com/docusign/esign/model/ConnectSalesforceObject.java b/src/main/java/com/docusign/esign/model/ConnectSalesforceObject.java new file mode 100644 index 00000000..3a52adf9 --- /dev/null +++ b/src/main/java/com/docusign/esign/model/ConnectSalesforceObject.java @@ -0,0 +1,271 @@ +package com.docusign.esign.model; + +import java.util.Objects; +import com.docusign.esign.model.ConnectSalesforceField; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +/** + * ConnectSalesforceObject + */ + +public class ConnectSalesforceObject { + @JsonProperty("active") + private String active = null; + + @JsonProperty("description") + private String description = null; + + @JsonProperty("id") + private String id = null; + + @JsonProperty("insert") + private String insert = null; + + @JsonProperty("onCompleteOnly") + private String onCompleteOnly = null; + + @JsonProperty("selectFields") + private java.util.List selectFields = new java.util.ArrayList(); + + @JsonProperty("sfObject") + private String sfObject = null; + + @JsonProperty("sfObjectName") + private String sfObjectName = null; + + @JsonProperty("updateFields") + private java.util.List updateFields = new java.util.ArrayList(); + + public ConnectSalesforceObject active(String active) { + this.active = active; + return this; + } + + /** + * + * @return active + **/ + @ApiModelProperty(example = "null", value = "") + public String getActive() { + return active; + } + + public void setActive(String active) { + this.active = active; + } + + public ConnectSalesforceObject description(String description) { + this.description = description; + return this; + } + + /** + * + * @return description + **/ + @ApiModelProperty(example = "null", value = "") + public String getDescription() { + return description; + } + + public void setDescription(String description) { + this.description = description; + } + + public ConnectSalesforceObject id(String id) { + this.id = id; + return this; + } + + /** + * + * @return id + **/ + @ApiModelProperty(example = "null", value = "") + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public ConnectSalesforceObject insert(String insert) { + this.insert = insert; + return this; + } + + /** + * + * @return insert + **/ + @ApiModelProperty(example = "null", value = "") + public String getInsert() { + return insert; + } + + public void setInsert(String insert) { + this.insert = insert; + } + + public ConnectSalesforceObject onCompleteOnly(String onCompleteOnly) { + this.onCompleteOnly = onCompleteOnly; + return this; + } + + /** + * + * @return onCompleteOnly + **/ + @ApiModelProperty(example = "null", value = "") + public String getOnCompleteOnly() { + return onCompleteOnly; + } + + public void setOnCompleteOnly(String onCompleteOnly) { + this.onCompleteOnly = onCompleteOnly; + } + + public ConnectSalesforceObject selectFields(java.util.List selectFields) { + this.selectFields = selectFields; + return this; + } + + public ConnectSalesforceObject addSelectFieldsItem(ConnectSalesforceField selectFieldsItem) { + this.selectFields.add(selectFieldsItem); + return this; + } + + /** + * + * @return selectFields + **/ + @ApiModelProperty(example = "null", value = "") + public java.util.List getSelectFields() { + return selectFields; + } + + public void setSelectFields(java.util.List selectFields) { + this.selectFields = selectFields; + } + + public ConnectSalesforceObject sfObject(String sfObject) { + this.sfObject = sfObject; + return this; + } + + /** + * + * @return sfObject + **/ + @ApiModelProperty(example = "null", value = "") + public String getSfObject() { + return sfObject; + } + + public void setSfObject(String sfObject) { + this.sfObject = sfObject; + } + + public ConnectSalesforceObject sfObjectName(String sfObjectName) { + this.sfObjectName = sfObjectName; + return this; + } + + /** + * + * @return sfObjectName + **/ + @ApiModelProperty(example = "null", value = "") + public String getSfObjectName() { + return sfObjectName; + } + + public void setSfObjectName(String sfObjectName) { + this.sfObjectName = sfObjectName; + } + + public ConnectSalesforceObject updateFields(java.util.List updateFields) { + this.updateFields = updateFields; + return this; + } + + public ConnectSalesforceObject addUpdateFieldsItem(ConnectSalesforceField updateFieldsItem) { + this.updateFields.add(updateFieldsItem); + return this; + } + + /** + * + * @return updateFields + **/ + @ApiModelProperty(example = "null", value = "") + public java.util.List getUpdateFields() { + return updateFields; + } + + public void setUpdateFields(java.util.List updateFields) { + this.updateFields = updateFields; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConnectSalesforceObject connectSalesforceObject = (ConnectSalesforceObject) o; + return Objects.equals(this.active, connectSalesforceObject.active) && + Objects.equals(this.description, connectSalesforceObject.description) && + Objects.equals(this.id, connectSalesforceObject.id) && + Objects.equals(this.insert, connectSalesforceObject.insert) && + Objects.equals(this.onCompleteOnly, connectSalesforceObject.onCompleteOnly) && + Objects.equals(this.selectFields, connectSalesforceObject.selectFields) && + Objects.equals(this.sfObject, connectSalesforceObject.sfObject) && + Objects.equals(this.sfObjectName, connectSalesforceObject.sfObjectName) && + Objects.equals(this.updateFields, connectSalesforceObject.updateFields); + } + + @Override + public int hashCode() { + return Objects.hash(active, description, id, insert, onCompleteOnly, selectFields, sfObject, sfObjectName, updateFields); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConnectSalesforceObject {\n"); + + sb.append(" active: ").append(toIndentedString(active)).append("\n"); + sb.append(" description: ").append(toIndentedString(description)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" insert: ").append(toIndentedString(insert)).append("\n"); + sb.append(" onCompleteOnly: ").append(toIndentedString(onCompleteOnly)).append("\n"); + sb.append(" selectFields: ").append(toIndentedString(selectFields)).append("\n"); + sb.append(" sfObject: ").append(toIndentedString(sfObject)).append("\n"); + sb.append(" sfObjectName: ").append(toIndentedString(sfObjectName)).append("\n"); + sb.append(" updateFields: ").append(toIndentedString(updateFields)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/com/docusign/esign/model/ConnectUserObject.java b/src/main/java/com/docusign/esign/model/ConnectUserObject.java new file mode 100644 index 00000000..24e7b7d5 --- /dev/null +++ b/src/main/java/com/docusign/esign/model/ConnectUserObject.java @@ -0,0 +1,173 @@ +package com.docusign.esign.model; + +import java.util.Objects; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +/** + * ConnectUserObject + */ + +public class ConnectUserObject { + @JsonProperty("configurationtype") + private String configurationtype = null; + + @JsonProperty("connectId") + private String connectId = null; + + @JsonProperty("enabled") + private String enabled = null; + + @JsonProperty("hasAccess") + private String hasAccess = null; + + @JsonProperty("senderSearchableItems") + private java.util.List senderSearchableItems = new java.util.ArrayList(); + + public ConnectUserObject configurationtype(String configurationtype) { + this.configurationtype = configurationtype; + return this; + } + + /** + * If merge field's are being used, specifies the type of the merge field. The only supported value is **salesforce**. + * @return configurationtype + **/ + @ApiModelProperty(example = "null", value = "If merge field's are being used, specifies the type of the merge field. The only supported value is **salesforce**.") + public String getConfigurationtype() { + return configurationtype; + } + + public void setConfigurationtype(String configurationtype) { + this.configurationtype = configurationtype; + } + + public ConnectUserObject connectId(String connectId) { + this.connectId = connectId; + return this; + } + + /** + * + * @return connectId + **/ + @ApiModelProperty(example = "null", value = "") + public String getConnectId() { + return connectId; + } + + public void setConnectId(String connectId) { + this.connectId = connectId; + } + + public ConnectUserObject enabled(String enabled) { + this.enabled = enabled; + return this; + } + + /** + * + * @return enabled + **/ + @ApiModelProperty(example = "null", value = "") + public String getEnabled() { + return enabled; + } + + public void setEnabled(String enabled) { + this.enabled = enabled; + } + + public ConnectUserObject hasAccess(String hasAccess) { + this.hasAccess = hasAccess; + return this; + } + + /** + * + * @return hasAccess + **/ + @ApiModelProperty(example = "null", value = "") + public String getHasAccess() { + return hasAccess; + } + + public void setHasAccess(String hasAccess) { + this.hasAccess = hasAccess; + } + + public ConnectUserObject senderSearchableItems(java.util.List senderSearchableItems) { + this.senderSearchableItems = senderSearchableItems; + return this; + } + + public ConnectUserObject addSenderSearchableItemsItem(String senderSearchableItemsItem) { + this.senderSearchableItems.add(senderSearchableItemsItem); + return this; + } + + /** + * + * @return senderSearchableItems + **/ + @ApiModelProperty(example = "null", value = "") + public java.util.List getSenderSearchableItems() { + return senderSearchableItems; + } + + public void setSenderSearchableItems(java.util.List senderSearchableItems) { + this.senderSearchableItems = senderSearchableItems; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConnectUserObject connectUserObject = (ConnectUserObject) o; + return Objects.equals(this.configurationtype, connectUserObject.configurationtype) && + Objects.equals(this.connectId, connectUserObject.connectId) && + Objects.equals(this.enabled, connectUserObject.enabled) && + Objects.equals(this.hasAccess, connectUserObject.hasAccess) && + Objects.equals(this.senderSearchableItems, connectUserObject.senderSearchableItems); + } + + @Override + public int hashCode() { + return Objects.hash(configurationtype, connectId, enabled, hasAccess, senderSearchableItems); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConnectUserObject {\n"); + + sb.append(" configurationtype: ").append(toIndentedString(configurationtype)).append("\n"); + sb.append(" connectId: ").append(toIndentedString(connectId)).append("\n"); + sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); + sb.append(" hasAccess: ").append(toIndentedString(hasAccess)).append("\n"); + sb.append(" senderSearchableItems: ").append(toIndentedString(senderSearchableItems)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/com/docusign/esign/model/ConsoleViewRequest.java b/src/main/java/com/docusign/esign/model/ConsoleViewRequest.java index 23a993f9..4d85b696 100644 --- a/src/main/java/com/docusign/esign/model/ConsoleViewRequest.java +++ b/src/main/java/com/docusign/esign/model/ConsoleViewRequest.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * ConsoleViewRequest + * ConsoleViewRequest. + * */ public class ConsoleViewRequest { @@ -17,43 +20,66 @@ public class ConsoleViewRequest { @JsonProperty("returnUrl") private String returnUrl = null; + + /** + * envelopeId. + * + * @return ConsoleViewRequest + **/ public ConsoleViewRequest envelopeId(String envelopeId) { this.envelopeId = envelopeId; return this; } - /** - * The envelope ID of the envelope status that failed to post. + /** + * The envelope ID of the envelope status that failed to post.. * @return envelopeId - **/ - @ApiModelProperty(example = "null", value = "The envelope ID of the envelope status that failed to post.") + **/ + @ApiModelProperty(value = "The envelope ID of the envelope status that failed to post.") public String getEnvelopeId() { return envelopeId; } + /** + * setEnvelopeId. + **/ public void setEnvelopeId(String envelopeId) { this.envelopeId = envelopeId; } + + /** + * returnUrl. + * + * @return ConsoleViewRequest + **/ public ConsoleViewRequest returnUrl(String returnUrl) { this.returnUrl = returnUrl; return this; } - /** - * The URL to be redirected to after the console view session has ended. + /** + * The URL to be redirected to after the console view session has ended.. * @return returnUrl - **/ - @ApiModelProperty(example = "null", value = "The URL to be redirected to after the console view session has ended.") + **/ + @ApiModelProperty(value = "The URL to be redirected to after the console view session has ended.") public String getReturnUrl() { return returnUrl; } + /** + * setReturnUrl. + **/ public void setReturnUrl(String returnUrl) { this.returnUrl = returnUrl; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -67,12 +93,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.returnUrl, consoleViewRequest.returnUrl); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(envelopeId, returnUrl); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -94,6 +126,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/ConsumerDisclosure.java b/src/main/java/com/docusign/esign/model/ConsumerDisclosure.java index 645d4ccf..f01dfe1b 100644 --- a/src/main/java/com/docusign/esign/model/ConsumerDisclosure.java +++ b/src/main/java/com/docusign/esign/model/ConsumerDisclosure.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.SettingsMetadata; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * ConsumerDisclosure + * ConsumerDisclosure. + * */ public class ConsumerDisclosure { @@ -108,583 +111,876 @@ public class ConsumerDisclosure { @JsonProperty("withdrawState") private String withdrawState = null; + + /** + * accountEsignId. + * + * @return ConsumerDisclosure + **/ public ConsumerDisclosure accountEsignId(String accountEsignId) { this.accountEsignId = accountEsignId; return this; } - /** - * A GUID identifying the account associated with the consumer disclosure + /** + * A GUID identifying the account associated with the consumer disclosure. * @return accountEsignId - **/ - @ApiModelProperty(example = "null", value = "A GUID identifying the account associated with the consumer disclosure") + **/ + @ApiModelProperty(value = "A GUID identifying the account associated with the consumer disclosure") public String getAccountEsignId() { return accountEsignId; } + /** + * setAccountEsignId. + **/ public void setAccountEsignId(String accountEsignId) { this.accountEsignId = accountEsignId; } + + /** + * allowCDWithdraw. + * + * @return ConsumerDisclosure + **/ public ConsumerDisclosure allowCDWithdraw(String allowCDWithdraw) { this.allowCDWithdraw = allowCDWithdraw; return this; } - /** - * Indicates whether the customer can withdraw their acceptance of the consumer disclosure. + /** + * Indicates whether the customer can withdraw their acceptance of the consumer disclosure.. * @return allowCDWithdraw - **/ - @ApiModelProperty(example = "null", value = "Indicates whether the customer can withdraw their acceptance of the consumer disclosure.") + **/ + @ApiModelProperty(value = "Indicates whether the customer can withdraw their acceptance of the consumer disclosure.") public String getAllowCDWithdraw() { return allowCDWithdraw; } + /** + * setAllowCDWithdraw. + **/ public void setAllowCDWithdraw(String allowCDWithdraw) { this.allowCDWithdraw = allowCDWithdraw; } + + /** + * allowCDWithdrawMetadata. + * + * @return ConsumerDisclosure + **/ public ConsumerDisclosure allowCDWithdrawMetadata(SettingsMetadata allowCDWithdrawMetadata) { this.allowCDWithdrawMetadata = allowCDWithdrawMetadata; return this; } - /** - * Get allowCDWithdrawMetadata + /** + * Get allowCDWithdrawMetadata. * @return allowCDWithdrawMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getAllowCDWithdrawMetadata() { return allowCDWithdrawMetadata; } + /** + * setAllowCDWithdrawMetadata. + **/ public void setAllowCDWithdrawMetadata(SettingsMetadata allowCDWithdrawMetadata) { this.allowCDWithdrawMetadata = allowCDWithdrawMetadata; } + + /** + * changeEmail. + * + * @return ConsumerDisclosure + **/ public ConsumerDisclosure changeEmail(String changeEmail) { this.changeEmail = changeEmail; return this; } - /** - * + /** + * . * @return changeEmail - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getChangeEmail() { return changeEmail; } + /** + * setChangeEmail. + **/ public void setChangeEmail(String changeEmail) { this.changeEmail = changeEmail; } + + /** + * changeEmailOther. + * + * @return ConsumerDisclosure + **/ public ConsumerDisclosure changeEmailOther(String changeEmailOther) { this.changeEmailOther = changeEmailOther; return this; } - /** - * + /** + * . * @return changeEmailOther - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getChangeEmailOther() { return changeEmailOther; } + /** + * setChangeEmailOther. + **/ public void setChangeEmailOther(String changeEmailOther) { this.changeEmailOther = changeEmailOther; } + + /** + * companyName. + * + * @return ConsumerDisclosure + **/ public ConsumerDisclosure companyName(String companyName) { this.companyName = companyName; return this; } - /** - * The name of the company associated with the consumer disclosure. + /** + * The name of the company associated with the consumer disclosure.. * @return companyName - **/ - @ApiModelProperty(example = "null", value = "The name of the company associated with the consumer disclosure.") + **/ + @ApiModelProperty(value = "The name of the company associated with the consumer disclosure.") public String getCompanyName() { return companyName; } + /** + * setCompanyName. + **/ public void setCompanyName(String companyName) { this.companyName = companyName; } + + /** + * companyPhone. + * + * @return ConsumerDisclosure + **/ public ConsumerDisclosure companyPhone(String companyPhone) { this.companyPhone = companyPhone; return this; } - /** - * The phone number of the company associated with the consumer disclosure. + /** + * The phone number of the company associated with the consumer disclosure.. * @return companyPhone - **/ - @ApiModelProperty(example = "null", value = "The phone number of the company associated with the consumer disclosure.") + **/ + @ApiModelProperty(value = "The phone number of the company associated with the consumer disclosure.") public String getCompanyPhone() { return companyPhone; } + /** + * setCompanyPhone. + **/ public void setCompanyPhone(String companyPhone) { this.companyPhone = companyPhone; } + + /** + * copyCostPerPage. + * + * @return ConsumerDisclosure + **/ public ConsumerDisclosure copyCostPerPage(String copyCostPerPage) { this.copyCostPerPage = copyCostPerPage; return this; } - /** - * + /** + * . * @return copyCostPerPage - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getCopyCostPerPage() { return copyCostPerPage; } + /** + * setCopyCostPerPage. + **/ public void setCopyCostPerPage(String copyCostPerPage) { this.copyCostPerPage = copyCostPerPage; } + + /** + * copyFeeCollectionMethod. + * + * @return ConsumerDisclosure + **/ public ConsumerDisclosure copyFeeCollectionMethod(String copyFeeCollectionMethod) { this.copyFeeCollectionMethod = copyFeeCollectionMethod; return this; } - /** - * Specifies the fee collection method for cases in which the customer requires paper copies of the document. Maximum Length: 255 characters + /** + * Specifies the fee collection method for cases in which the customer requires paper copies of the document. Maximum Length: 255 characters. * @return copyFeeCollectionMethod - **/ - @ApiModelProperty(example = "null", value = "Specifies the fee collection method for cases in which the customer requires paper copies of the document. Maximum Length: 255 characters") + **/ + @ApiModelProperty(value = "Specifies the fee collection method for cases in which the customer requires paper copies of the document. Maximum Length: 255 characters") public String getCopyFeeCollectionMethod() { return copyFeeCollectionMethod; } + /** + * setCopyFeeCollectionMethod. + **/ public void setCopyFeeCollectionMethod(String copyFeeCollectionMethod) { this.copyFeeCollectionMethod = copyFeeCollectionMethod; } + + /** + * copyRequestEmail. + * + * @return ConsumerDisclosure + **/ public ConsumerDisclosure copyRequestEmail(String copyRequestEmail) { this.copyRequestEmail = copyRequestEmail; return this; } - /** - * + /** + * . * @return copyRequestEmail - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getCopyRequestEmail() { return copyRequestEmail; } + /** + * setCopyRequestEmail. + **/ public void setCopyRequestEmail(String copyRequestEmail) { this.copyRequestEmail = copyRequestEmail; } + + /** + * custom. + * + * @return ConsumerDisclosure + **/ public ConsumerDisclosure custom(String custom) { this.custom = custom; return this; } - /** - * + /** + * . * @return custom - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getCustom() { return custom; } + /** + * setCustom. + **/ public void setCustom(String custom) { this.custom = custom; } + + /** + * enableEsign. + * + * @return ConsumerDisclosure + **/ public ConsumerDisclosure enableEsign(String enableEsign) { this.enableEsign = enableEsign; return this; } - /** - * + /** + * . * @return enableEsign - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getEnableEsign() { return enableEsign; } + /** + * setEnableEsign. + **/ public void setEnableEsign(String enableEsign) { this.enableEsign = enableEsign; } + + /** + * esignAgreement. + * + * @return ConsumerDisclosure + **/ public ConsumerDisclosure esignAgreement(String esignAgreement) { this.esignAgreement = esignAgreement; return this; } - /** - * The Electronic Record and Signature Disclosure text. The disclosure text includes the html formatting. + /** + * The Electronic Record and Signature Disclosure text. The disclosure text includes the html formatting.. * @return esignAgreement - **/ - @ApiModelProperty(example = "null", value = "The Electronic Record and Signature Disclosure text. The disclosure text includes the html formatting.") + **/ + @ApiModelProperty(value = "The Electronic Record and Signature Disclosure text. The disclosure text includes the html formatting.") public String getEsignAgreement() { return esignAgreement; } + /** + * setEsignAgreement. + **/ public void setEsignAgreement(String esignAgreement) { this.esignAgreement = esignAgreement; } + + /** + * esignText. + * + * @return ConsumerDisclosure + **/ public ConsumerDisclosure esignText(String esignText) { this.esignText = esignText; return this; } - /** - * + /** + * . * @return esignText - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getEsignText() { return esignText; } + /** + * setEsignText. + **/ public void setEsignText(String esignText) { this.esignText = esignText; } + + /** + * languageCode. + * + * @return ConsumerDisclosure + **/ public ConsumerDisclosure languageCode(String languageCode) { this.languageCode = languageCode; return this; } - /** - * + /** + * . * @return languageCode - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getLanguageCode() { return languageCode; } + /** + * setLanguageCode. + **/ public void setLanguageCode(String languageCode) { this.languageCode = languageCode; } + + /** + * mustAgreeToEsign. + * + * @return ConsumerDisclosure + **/ public ConsumerDisclosure mustAgreeToEsign(String mustAgreeToEsign) { this.mustAgreeToEsign = mustAgreeToEsign; return this; } - /** - * + /** + * . * @return mustAgreeToEsign - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getMustAgreeToEsign() { return mustAgreeToEsign; } + /** + * setMustAgreeToEsign. + **/ public void setMustAgreeToEsign(String mustAgreeToEsign) { this.mustAgreeToEsign = mustAgreeToEsign; } + + /** + * pdfId. + * + * @return ConsumerDisclosure + **/ public ConsumerDisclosure pdfId(String pdfId) { this.pdfId = pdfId; return this; } - /** - * + /** + * . * @return pdfId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPdfId() { return pdfId; } + /** + * setPdfId. + **/ public void setPdfId(String pdfId) { this.pdfId = pdfId; } + + /** + * useBrand. + * + * @return ConsumerDisclosure + **/ public ConsumerDisclosure useBrand(String useBrand) { this.useBrand = useBrand; return this; } - /** - * + /** + * . * @return useBrand - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getUseBrand() { return useBrand; } + /** + * setUseBrand. + **/ public void setUseBrand(String useBrand) { this.useBrand = useBrand; } + + /** + * useConsumerDisclosureWithinAccount. + * + * @return ConsumerDisclosure + **/ public ConsumerDisclosure useConsumerDisclosureWithinAccount(String useConsumerDisclosureWithinAccount) { this.useConsumerDisclosureWithinAccount = useConsumerDisclosureWithinAccount; return this; } - /** - * + /** + * . * @return useConsumerDisclosureWithinAccount - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getUseConsumerDisclosureWithinAccount() { return useConsumerDisclosureWithinAccount; } + /** + * setUseConsumerDisclosureWithinAccount. + **/ public void setUseConsumerDisclosureWithinAccount(String useConsumerDisclosureWithinAccount) { this.useConsumerDisclosureWithinAccount = useConsumerDisclosureWithinAccount; } + + /** + * useConsumerDisclosureWithinAccountMetadata. + * + * @return ConsumerDisclosure + **/ public ConsumerDisclosure useConsumerDisclosureWithinAccountMetadata(SettingsMetadata useConsumerDisclosureWithinAccountMetadata) { this.useConsumerDisclosureWithinAccountMetadata = useConsumerDisclosureWithinAccountMetadata; return this; } - /** - * Get useConsumerDisclosureWithinAccountMetadata + /** + * Get useConsumerDisclosureWithinAccountMetadata. * @return useConsumerDisclosureWithinAccountMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getUseConsumerDisclosureWithinAccountMetadata() { return useConsumerDisclosureWithinAccountMetadata; } + /** + * setUseConsumerDisclosureWithinAccountMetadata. + **/ public void setUseConsumerDisclosureWithinAccountMetadata(SettingsMetadata useConsumerDisclosureWithinAccountMetadata) { this.useConsumerDisclosureWithinAccountMetadata = useConsumerDisclosureWithinAccountMetadata; } + + /** + * withdrawAddressLine1. + * + * @return ConsumerDisclosure + **/ public ConsumerDisclosure withdrawAddressLine1(String withdrawAddressLine1) { this.withdrawAddressLine1 = withdrawAddressLine1; return this; } - /** - * Contains the first address line of the postal address to which a customer can send a consent withdrawal notification. Maximum length: 100 characters. + /** + * Contains the first address line of the postal address to which a customer can send a consent withdrawal notification. Maximum length: 100 characters. . * @return withdrawAddressLine1 - **/ - @ApiModelProperty(example = "null", value = "Contains the first address line of the postal address to which a customer can send a consent withdrawal notification. Maximum length: 100 characters. ") + **/ + @ApiModelProperty(value = "Contains the first address line of the postal address to which a customer can send a consent withdrawal notification. Maximum length: 100 characters. ") public String getWithdrawAddressLine1() { return withdrawAddressLine1; } + /** + * setWithdrawAddressLine1. + **/ public void setWithdrawAddressLine1(String withdrawAddressLine1) { this.withdrawAddressLine1 = withdrawAddressLine1; } + + /** + * withdrawAddressLine2. + * + * @return ConsumerDisclosure + **/ public ConsumerDisclosure withdrawAddressLine2(String withdrawAddressLine2) { this.withdrawAddressLine2 = withdrawAddressLine2; return this; } - /** - * Contains the second address line of the postal address to which a customer can send a consent withdrawal notification. Maximum length: 100 characters. + /** + * Contains the second address line of the postal address to which a customer can send a consent withdrawal notification. Maximum length: 100 characters. . * @return withdrawAddressLine2 - **/ - @ApiModelProperty(example = "null", value = "Contains the second address line of the postal address to which a customer can send a consent withdrawal notification. Maximum length: 100 characters. ") + **/ + @ApiModelProperty(value = "Contains the second address line of the postal address to which a customer can send a consent withdrawal notification. Maximum length: 100 characters. ") public String getWithdrawAddressLine2() { return withdrawAddressLine2; } + /** + * setWithdrawAddressLine2. + **/ public void setWithdrawAddressLine2(String withdrawAddressLine2) { this.withdrawAddressLine2 = withdrawAddressLine2; } + + /** + * withdrawByEmail. + * + * @return ConsumerDisclosure + **/ public ConsumerDisclosure withdrawByEmail(String withdrawByEmail) { this.withdrawByEmail = withdrawByEmail; return this; } - /** - * Indicates whether the customer can withdraw consent by email. + /** + * Indicates whether the customer can withdraw consent by email.. * @return withdrawByEmail - **/ - @ApiModelProperty(example = "null", value = "Indicates whether the customer can withdraw consent by email.") + **/ + @ApiModelProperty(value = "Indicates whether the customer can withdraw consent by email.") public String getWithdrawByEmail() { return withdrawByEmail; } + /** + * setWithdrawByEmail. + **/ public void setWithdrawByEmail(String withdrawByEmail) { this.withdrawByEmail = withdrawByEmail; } + + /** + * withdrawByMail. + * + * @return ConsumerDisclosure + **/ public ConsumerDisclosure withdrawByMail(String withdrawByMail) { this.withdrawByMail = withdrawByMail; return this; } - /** - * Indicates whether the customer can withdraw consent by postal mail. + /** + * Indicates whether the customer can withdraw consent by postal mail.. * @return withdrawByMail - **/ - @ApiModelProperty(example = "null", value = "Indicates whether the customer can withdraw consent by postal mail.") + **/ + @ApiModelProperty(value = "Indicates whether the customer can withdraw consent by postal mail.") public String getWithdrawByMail() { return withdrawByMail; } + /** + * setWithdrawByMail. + **/ public void setWithdrawByMail(String withdrawByMail) { this.withdrawByMail = withdrawByMail; } + + /** + * withdrawByPhone. + * + * @return ConsumerDisclosure + **/ public ConsumerDisclosure withdrawByPhone(String withdrawByPhone) { this.withdrawByPhone = withdrawByPhone; return this; } - /** - * Indicates whether the customer can withdraw consent by phone. + /** + * Indicates whether the customer can withdraw consent by phone.. * @return withdrawByPhone - **/ - @ApiModelProperty(example = "null", value = "Indicates whether the customer can withdraw consent by phone.") + **/ + @ApiModelProperty(value = "Indicates whether the customer can withdraw consent by phone.") public String getWithdrawByPhone() { return withdrawByPhone; } + /** + * setWithdrawByPhone. + **/ public void setWithdrawByPhone(String withdrawByPhone) { this.withdrawByPhone = withdrawByPhone; } + + /** + * withdrawCity. + * + * @return ConsumerDisclosure + **/ public ConsumerDisclosure withdrawCity(String withdrawCity) { this.withdrawCity = withdrawCity; return this; } - /** - * Contains the city of the postal address to which a customer can send a consent withdrawal notification. Maximum length: 50 characters. + /** + * Contains the city of the postal address to which a customer can send a consent withdrawal notification. Maximum length: 50 characters. . * @return withdrawCity - **/ - @ApiModelProperty(example = "null", value = "Contains the city of the postal address to which a customer can send a consent withdrawal notification. Maximum length: 50 characters. ") + **/ + @ApiModelProperty(value = "Contains the city of the postal address to which a customer can send a consent withdrawal notification. Maximum length: 50 characters. ") public String getWithdrawCity() { return withdrawCity; } + /** + * setWithdrawCity. + **/ public void setWithdrawCity(String withdrawCity) { this.withdrawCity = withdrawCity; } + + /** + * withdrawConsequences. + * + * @return ConsumerDisclosure + **/ public ConsumerDisclosure withdrawConsequences(String withdrawConsequences) { this.withdrawConsequences = withdrawConsequences; return this; } - /** - * Indicates the consequences of withdrawing consent. + /** + * Indicates the consequences of withdrawing consent.. * @return withdrawConsequences - **/ - @ApiModelProperty(example = "null", value = "Indicates the consequences of withdrawing consent.") + **/ + @ApiModelProperty(value = "Indicates the consequences of withdrawing consent.") public String getWithdrawConsequences() { return withdrawConsequences; } + /** + * setWithdrawConsequences. + **/ public void setWithdrawConsequences(String withdrawConsequences) { this.withdrawConsequences = withdrawConsequences; } + + /** + * withdrawEmail. + * + * @return ConsumerDisclosure + **/ public ConsumerDisclosure withdrawEmail(String withdrawEmail) { this.withdrawEmail = withdrawEmail; return this; } - /** - * Contains the email address to which a customer can send a consent withdrawal notification. Maximum length: 100 characters. + /** + * Contains the email address to which a customer can send a consent withdrawal notification. Maximum length: 100 characters. . * @return withdrawEmail - **/ - @ApiModelProperty(example = "null", value = "Contains the email address to which a customer can send a consent withdrawal notification. Maximum length: 100 characters. ") + **/ + @ApiModelProperty(value = "Contains the email address to which a customer can send a consent withdrawal notification. Maximum length: 100 characters. ") public String getWithdrawEmail() { return withdrawEmail; } + /** + * setWithdrawEmail. + **/ public void setWithdrawEmail(String withdrawEmail) { this.withdrawEmail = withdrawEmail; } + + /** + * withdrawOther. + * + * @return ConsumerDisclosure + **/ public ConsumerDisclosure withdrawOther(String withdrawOther) { this.withdrawOther = withdrawOther; return this; } - /** - * Indicates other information need to withdraw consent. Maximum length: 255 characters. + /** + * Indicates other information need to withdraw consent. Maximum length: 255 characters.. * @return withdrawOther - **/ - @ApiModelProperty(example = "null", value = "Indicates other information need to withdraw consent. Maximum length: 255 characters.") + **/ + @ApiModelProperty(value = "Indicates other information need to withdraw consent. Maximum length: 255 characters.") public String getWithdrawOther() { return withdrawOther; } + /** + * setWithdrawOther. + **/ public void setWithdrawOther(String withdrawOther) { this.withdrawOther = withdrawOther; } + + /** + * withdrawPhone. + * + * @return ConsumerDisclosure + **/ public ConsumerDisclosure withdrawPhone(String withdrawPhone) { this.withdrawPhone = withdrawPhone; return this; } - /** - * Contains the phone number which a customer can call to register consent withdrawal notification. Maximum length: 20 characters. + /** + * Contains the phone number which a customer can call to register consent withdrawal notification. Maximum length: 20 characters. . * @return withdrawPhone - **/ - @ApiModelProperty(example = "null", value = "Contains the phone number which a customer can call to register consent withdrawal notification. Maximum length: 20 characters. ") + **/ + @ApiModelProperty(value = "Contains the phone number which a customer can call to register consent withdrawal notification. Maximum length: 20 characters. ") public String getWithdrawPhone() { return withdrawPhone; } + /** + * setWithdrawPhone. + **/ public void setWithdrawPhone(String withdrawPhone) { this.withdrawPhone = withdrawPhone; } + + /** + * withdrawPostalCode. + * + * @return ConsumerDisclosure + **/ public ConsumerDisclosure withdrawPostalCode(String withdrawPostalCode) { this.withdrawPostalCode = withdrawPostalCode; return this; } - /** - * Contains the postal code of the postal address to which a customer can send a consent withdrawal notification. Maximum length: 20 characters. + /** + * Contains the postal code of the postal address to which a customer can send a consent withdrawal notification. Maximum length: 20 characters. . * @return withdrawPostalCode - **/ - @ApiModelProperty(example = "null", value = "Contains the postal code of the postal address to which a customer can send a consent withdrawal notification. Maximum length: 20 characters. ") + **/ + @ApiModelProperty(value = "Contains the postal code of the postal address to which a customer can send a consent withdrawal notification. Maximum length: 20 characters. ") public String getWithdrawPostalCode() { return withdrawPostalCode; } + /** + * setWithdrawPostalCode. + **/ public void setWithdrawPostalCode(String withdrawPostalCode) { this.withdrawPostalCode = withdrawPostalCode; } + + /** + * withdrawState. + * + * @return ConsumerDisclosure + **/ public ConsumerDisclosure withdrawState(String withdrawState) { this.withdrawState = withdrawState; return this; } - /** - * Contains the state of the postal address to which a customer can send a consent withdrawal notification. + /** + * Contains the state of the postal address to which a customer can send a consent withdrawal notification.. * @return withdrawState - **/ - @ApiModelProperty(example = "null", value = "Contains the state of the postal address to which a customer can send a consent withdrawal notification.") + **/ + @ApiModelProperty(value = "Contains the state of the postal address to which a customer can send a consent withdrawal notification.") public String getWithdrawState() { return withdrawState; } + /** + * setWithdrawState. + **/ public void setWithdrawState(String withdrawState) { this.withdrawState = withdrawState; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -728,12 +1024,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.withdrawState, consumerDisclosure.withdrawState); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(accountEsignId, allowCDWithdraw, allowCDWithdrawMetadata, changeEmail, changeEmailOther, companyName, companyPhone, copyCostPerPage, copyFeeCollectionMethod, copyRequestEmail, custom, enableEsign, esignAgreement, esignText, languageCode, mustAgreeToEsign, pdfId, useBrand, useConsumerDisclosureWithinAccount, useConsumerDisclosureWithinAccountMetadata, withdrawAddressLine1, withdrawAddressLine2, withdrawByEmail, withdrawByMail, withdrawByPhone, withdrawCity, withdrawConsequences, withdrawEmail, withdrawOther, withdrawPhone, withdrawPostalCode, withdrawState); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -785,6 +1087,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/Contact.java b/src/main/java/com/docusign/esign/model/Contact.java index 143583ea..02ebb0f4 100644 --- a/src/main/java/com/docusign/esign/model/Contact.java +++ b/src/main/java/com/docusign/esign/model/Contact.java @@ -1,15 +1,18 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ContactPhoneNumber; import com.docusign.esign.model.ErrorDetails; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Contact + * Contact. + * */ public class Contact { @@ -17,13 +20,13 @@ public class Contact { private String contactId = null; @JsonProperty("contactPhoneNumbers") - private java.util.List contactPhoneNumbers = new java.util.ArrayList(); + private java.util.List contactPhoneNumbers = null; @JsonProperty("contactUri") private String contactUri = null; @JsonProperty("emails") - private java.util.List emails = new java.util.ArrayList(); + private java.util.List emails = null; @JsonProperty("errorDetails") private ErrorDetails errorDetails = null; @@ -43,197 +46,308 @@ public class Contact { @JsonProperty("signingGroupName") private String signingGroupName = null; + + /** + * contactId. + * + * @return Contact + **/ public Contact contactId(String contactId) { this.contactId = contactId; return this; } - /** - * + /** + * . * @return contactId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getContactId() { return contactId; } + /** + * setContactId. + **/ public void setContactId(String contactId) { this.contactId = contactId; } + + /** + * contactPhoneNumbers. + * + * @return Contact + **/ public Contact contactPhoneNumbers(java.util.List contactPhoneNumbers) { this.contactPhoneNumbers = contactPhoneNumbers; return this; } - + + /** + * addContactPhoneNumbersItem. + * + * @return Contact + **/ public Contact addContactPhoneNumbersItem(ContactPhoneNumber contactPhoneNumbersItem) { + if (this.contactPhoneNumbers == null) { + this.contactPhoneNumbers = new java.util.ArrayList(); + } this.contactPhoneNumbers.add(contactPhoneNumbersItem); return this; } - /** - * + /** + * . * @return contactPhoneNumbers - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getContactPhoneNumbers() { return contactPhoneNumbers; } + /** + * setContactPhoneNumbers. + **/ public void setContactPhoneNumbers(java.util.List contactPhoneNumbers) { this.contactPhoneNumbers = contactPhoneNumbers; } + + /** + * contactUri. + * + * @return Contact + **/ public Contact contactUri(String contactUri) { this.contactUri = contactUri; return this; } - /** - * + /** + * . * @return contactUri - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getContactUri() { return contactUri; } + /** + * setContactUri. + **/ public void setContactUri(String contactUri) { this.contactUri = contactUri; } + + /** + * emails. + * + * @return Contact + **/ public Contact emails(java.util.List emails) { this.emails = emails; return this; } - + + /** + * addEmailsItem. + * + * @return Contact + **/ public Contact addEmailsItem(String emailsItem) { + if (this.emails == null) { + this.emails = new java.util.ArrayList(); + } this.emails.add(emailsItem); return this; } - /** - * + /** + * . * @return emails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getEmails() { return emails; } + /** + * setEmails. + **/ public void setEmails(java.util.List emails) { this.emails = emails; } + + /** + * errorDetails. + * + * @return Contact + **/ public Contact errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * name. + * + * @return Contact + **/ public Contact name(String name) { this.name = name; return this; } - /** - * + /** + * . * @return name - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * organization. + * + * @return Contact + **/ public Contact organization(String organization) { this.organization = organization; return this; } - /** - * + /** + * . * @return organization - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getOrganization() { return organization; } + /** + * setOrganization. + **/ public void setOrganization(String organization) { this.organization = organization; } + + /** + * shared. + * + * @return Contact + **/ public Contact shared(String shared) { this.shared = shared; return this; } - /** - * When set to **true**, this custom tab is shared. + /** + * When set to **true**, this custom tab is shared.. * @return shared - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, this custom tab is shared.") + **/ + @ApiModelProperty(value = "When set to **true**, this custom tab is shared.") public String getShared() { return shared; } + /** + * setShared. + **/ public void setShared(String shared) { this.shared = shared; } + + /** + * signingGroup. + * + * @return Contact + **/ public Contact signingGroup(String signingGroup) { this.signingGroup = signingGroup; return this; } - /** - * + /** + * . * @return signingGroup - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSigningGroup() { return signingGroup; } + /** + * setSigningGroup. + **/ public void setSigningGroup(String signingGroup) { this.signingGroup = signingGroup; } + + /** + * signingGroupName. + * + * @return Contact + **/ public Contact signingGroupName(String signingGroupName) { this.signingGroupName = signingGroupName; return this; } - /** - * The display name for the signing group. Maximum Length: 100 characters. + /** + * The display name for the signing group. Maximum Length: 100 characters. . * @return signingGroupName - **/ - @ApiModelProperty(example = "null", value = "The display name for the signing group. Maximum Length: 100 characters. ") + **/ + @ApiModelProperty(value = "The display name for the signing group. Maximum Length: 100 characters. ") public String getSigningGroupName() { return signingGroupName; } + /** + * setSigningGroupName. + **/ public void setSigningGroupName(String signingGroupName) { this.signingGroupName = signingGroupName; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -255,12 +369,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.signingGroupName, contact.signingGroupName); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(contactId, contactPhoneNumbers, contactUri, emails, errorDetails, name, organization, shared, signingGroup, signingGroupName); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -290,6 +410,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/ContactGetResponse.java b/src/main/java/com/docusign/esign/model/ContactGetResponse.java index 46c295d2..14bca644 100644 --- a/src/main/java/com/docusign/esign/model/ContactGetResponse.java +++ b/src/main/java/com/docusign/esign/model/ContactGetResponse.java @@ -1,19 +1,22 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.Contact; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * ContactGetResponse + * ContactGetResponse. + * */ public class ContactGetResponse { @JsonProperty("contacts") - private java.util.List contacts = new java.util.ArrayList(); + private java.util.List contacts = null; @JsonProperty("endPosition") private String endPosition = null; @@ -33,138 +36,214 @@ public class ContactGetResponse { @JsonProperty("totalSetSize") private String totalSetSize = null; + + /** + * contacts. + * + * @return ContactGetResponse + **/ public ContactGetResponse contacts(java.util.List contacts) { this.contacts = contacts; return this; } - + + /** + * addContactsItem. + * + * @return ContactGetResponse + **/ public ContactGetResponse addContactsItem(Contact contactsItem) { + if (this.contacts == null) { + this.contacts = new java.util.ArrayList(); + } this.contacts.add(contactsItem); return this; } - /** - * + /** + * . * @return contacts - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getContacts() { return contacts; } + /** + * setContacts. + **/ public void setContacts(java.util.List contacts) { this.contacts = contacts; } + + /** + * endPosition. + * + * @return ContactGetResponse + **/ public ContactGetResponse endPosition(String endPosition) { this.endPosition = endPosition; return this; } - /** - * The last position in the result set. + /** + * The last position in the result set. . * @return endPosition - **/ - @ApiModelProperty(example = "null", value = "The last position in the result set. ") + **/ + @ApiModelProperty(value = "The last position in the result set. ") public String getEndPosition() { return endPosition; } + /** + * setEndPosition. + **/ public void setEndPosition(String endPosition) { this.endPosition = endPosition; } + + /** + * nextUri. + * + * @return ContactGetResponse + **/ public ContactGetResponse nextUri(String nextUri) { this.nextUri = nextUri; return this; } - /** - * The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. + /** + * The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. . * @return nextUri - **/ - @ApiModelProperty(example = "null", value = "The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. ") + **/ + @ApiModelProperty(value = "The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. ") public String getNextUri() { return nextUri; } + /** + * setNextUri. + **/ public void setNextUri(String nextUri) { this.nextUri = nextUri; } + + /** + * previousUri. + * + * @return ContactGetResponse + **/ public ContactGetResponse previousUri(String previousUri) { this.previousUri = previousUri; return this; } - /** - * The postal code for the billing address. + /** + * The postal code for the billing address.. * @return previousUri - **/ - @ApiModelProperty(example = "null", value = "The postal code for the billing address.") + **/ + @ApiModelProperty(value = "The postal code for the billing address.") public String getPreviousUri() { return previousUri; } + /** + * setPreviousUri. + **/ public void setPreviousUri(String previousUri) { this.previousUri = previousUri; } + + /** + * resultSetSize. + * + * @return ContactGetResponse + **/ public ContactGetResponse resultSetSize(String resultSetSize) { this.resultSetSize = resultSetSize; return this; } - /** - * The number of results returned in this response. + /** + * The number of results returned in this response. . * @return resultSetSize - **/ - @ApiModelProperty(example = "null", value = "The number of results returned in this response. ") + **/ + @ApiModelProperty(value = "The number of results returned in this response. ") public String getResultSetSize() { return resultSetSize; } + /** + * setResultSetSize. + **/ public void setResultSetSize(String resultSetSize) { this.resultSetSize = resultSetSize; } + + /** + * startPosition. + * + * @return ContactGetResponse + **/ public ContactGetResponse startPosition(String startPosition) { this.startPosition = startPosition; return this; } - /** - * Starting position of the current result set. + /** + * Starting position of the current result set.. * @return startPosition - **/ - @ApiModelProperty(example = "null", value = "Starting position of the current result set.") + **/ + @ApiModelProperty(value = "Starting position of the current result set.") public String getStartPosition() { return startPosition; } + /** + * setStartPosition. + **/ public void setStartPosition(String startPosition) { this.startPosition = startPosition; } + + /** + * totalSetSize. + * + * @return ContactGetResponse + **/ public ContactGetResponse totalSetSize(String totalSetSize) { this.totalSetSize = totalSetSize; return this; } - /** - * The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response. + /** + * The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.. * @return totalSetSize - **/ - @ApiModelProperty(example = "null", value = "The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.") + **/ + @ApiModelProperty(value = "The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.") public String getTotalSetSize() { return totalSetSize; } + /** + * setTotalSetSize. + **/ public void setTotalSetSize(String totalSetSize) { this.totalSetSize = totalSetSize; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -183,12 +262,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.totalSetSize, contactGetResponse.totalSetSize); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(contacts, endPosition, nextUri, previousUri, resultSetSize, startPosition, totalSetSize); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -215,6 +300,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/ContactModRequest.java b/src/main/java/com/docusign/esign/model/ContactModRequest.java index cc381279..daf2b0c2 100644 --- a/src/main/java/com/docusign/esign/model/ContactModRequest.java +++ b/src/main/java/com/docusign/esign/model/ContactModRequest.java @@ -1,44 +1,69 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.Contact; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * ContactModRequest + * ContactModRequest. + * */ public class ContactModRequest { @JsonProperty("contacts") - private java.util.List contacts = new java.util.ArrayList(); + private java.util.List contacts = null; + + /** + * contacts. + * + * @return ContactModRequest + **/ public ContactModRequest contacts(java.util.List contacts) { this.contacts = contacts; return this; } - + + /** + * addContactsItem. + * + * @return ContactModRequest + **/ public ContactModRequest addContactsItem(Contact contactsItem) { + if (this.contacts == null) { + this.contacts = new java.util.ArrayList(); + } this.contacts.add(contactsItem); return this; } - /** - * + /** + * . * @return contacts - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getContacts() { return contacts; } + /** + * setContacts. + **/ public void setContacts(java.util.List contacts) { this.contacts = contacts; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -51,12 +76,18 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.contacts, contactModRequest.contacts); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(contacts); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -77,6 +108,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/ContactPhoneNumber.java b/src/main/java/com/docusign/esign/model/ContactPhoneNumber.java index 17d0b6e3..4427c491 100644 --- a/src/main/java/com/docusign/esign/model/ContactPhoneNumber.java +++ b/src/main/java/com/docusign/esign/model/ContactPhoneNumber.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * ContactPhoneNumber + * ContactPhoneNumber. + * */ public class ContactPhoneNumber { @@ -17,43 +20,66 @@ public class ContactPhoneNumber { @JsonProperty("phoneType") private String phoneType = null; + + /** + * phoneNumber. + * + * @return ContactPhoneNumber + **/ public ContactPhoneNumber phoneNumber(String phoneNumber) { this.phoneNumber = phoneNumber; return this; } - /** - * + /** + * . * @return phoneNumber - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPhoneNumber() { return phoneNumber; } + /** + * setPhoneNumber. + **/ public void setPhoneNumber(String phoneNumber) { this.phoneNumber = phoneNumber; } + + /** + * phoneType. + * + * @return ContactPhoneNumber + **/ public ContactPhoneNumber phoneType(String phoneType) { this.phoneType = phoneType; return this; } - /** - * + /** + * . * @return phoneType - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPhoneType() { return phoneType; } + /** + * setPhoneType. + **/ public void setPhoneType(String phoneType) { this.phoneType = phoneType; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -67,12 +93,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.phoneType, contactPhoneNumber.phoneType); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(phoneNumber, phoneType); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -94,6 +126,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/ContactUpdateResponse.java b/src/main/java/com/docusign/esign/model/ContactUpdateResponse.java index e6f93201..f3381647 100644 --- a/src/main/java/com/docusign/esign/model/ContactUpdateResponse.java +++ b/src/main/java/com/docusign/esign/model/ContactUpdateResponse.java @@ -1,44 +1,69 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.Contact; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * ContactUpdateResponse + * ContactUpdateResponse. + * */ public class ContactUpdateResponse { @JsonProperty("contacts") - private java.util.List contacts = new java.util.ArrayList(); + private java.util.List contacts = null; + + /** + * contacts. + * + * @return ContactUpdateResponse + **/ public ContactUpdateResponse contacts(java.util.List contacts) { this.contacts = contacts; return this; } - + + /** + * addContactsItem. + * + * @return ContactUpdateResponse + **/ public ContactUpdateResponse addContactsItem(Contact contactsItem) { + if (this.contacts == null) { + this.contacts = new java.util.ArrayList(); + } this.contacts.add(contactsItem); return this; } - /** - * + /** + * . * @return contacts - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getContacts() { return contacts; } + /** + * setContacts. + **/ public void setContacts(java.util.List contacts) { this.contacts = contacts; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -51,12 +76,18 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.contacts, contactUpdateResponse.contacts); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(contacts); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -77,6 +108,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/CorrectViewRequest.java b/src/main/java/com/docusign/esign/model/CorrectViewRequest.java index cd3b51e3..f13facb9 100644 --- a/src/main/java/com/docusign/esign/model/CorrectViewRequest.java +++ b/src/main/java/com/docusign/esign/model/CorrectViewRequest.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * CorrectViewRequest + * CorrectViewRequest. + * */ public class CorrectViewRequest { @@ -17,43 +20,96 @@ public class CorrectViewRequest { @JsonProperty("suppressNavigation") private String suppressNavigation = null; + @JsonProperty("viewUrl") + private String viewUrl = null; + + + /** + * returnUrl. + * + * @return CorrectViewRequest + **/ public CorrectViewRequest returnUrl(String returnUrl) { this.returnUrl = returnUrl; return this; } - /** - * The url used after correct/send view session has ended. DocuSign redirects to the url and includes an event parameter that can be used by your app. The event parameters returned are: * send (user corrected and sent the envelope) * save (user saved the envelope) * cancel (user canceled the transaction.) * error (there was an error when performing the correct or send) * sessionEnd (the session ended before the user completed a different action) ###### Note: Include https:// in the URL or the redirect might not succeed on some browsers. + /** + * The url used after correct/send view session has ended. DocuSign redirects to the url and includes an event parameter that can be used by your app. The event parameters returned are: * send (user corrected and sent the envelope) * save (user saved the envelope) * cancel (user canceled the transaction.) * error (there was an error when performing the correct or send) * sessionEnd (the session ended before the user completed a different action) ###### Note: Include https:// in the URL or the redirect might not succeed on some browsers. . * @return returnUrl - **/ - @ApiModelProperty(example = "null", value = "The url used after correct/send view session has ended. DocuSign redirects to the url and includes an event parameter that can be used by your app. The event parameters returned are: * send (user corrected and sent the envelope) * save (user saved the envelope) * cancel (user canceled the transaction.) * error (there was an error when performing the correct or send) * sessionEnd (the session ended before the user completed a different action) ###### Note: Include https:// in the URL or the redirect might not succeed on some browsers. ") + **/ + @ApiModelProperty(value = "The url used after correct/send view session has ended. DocuSign redirects to the url and includes an event parameter that can be used by your app. The event parameters returned are: * send (user corrected and sent the envelope) * save (user saved the envelope) * cancel (user canceled the transaction.) * error (there was an error when performing the correct or send) * sessionEnd (the session ended before the user completed a different action) ###### Note: Include https:// in the URL or the redirect might not succeed on some browsers. ") public String getReturnUrl() { return returnUrl; } + /** + * setReturnUrl. + **/ public void setReturnUrl(String returnUrl) { this.returnUrl = returnUrl; } + + /** + * suppressNavigation. + * + * @return CorrectViewRequest + **/ public CorrectViewRequest suppressNavigation(String suppressNavigation) { this.suppressNavigation = suppressNavigation; return this; } - /** - * Specifies whether the window is displayed with or without dressing. + /** + * Specifies whether the window is displayed with or without dressing.. * @return suppressNavigation - **/ - @ApiModelProperty(example = "null", value = "Specifies whether the window is displayed with or without dressing.") + **/ + @ApiModelProperty(value = "Specifies whether the window is displayed with or without dressing.") public String getSuppressNavigation() { return suppressNavigation; } + /** + * setSuppressNavigation. + **/ public void setSuppressNavigation(String suppressNavigation) { this.suppressNavigation = suppressNavigation; } + /** + * viewUrl. + * + * @return CorrectViewRequest + **/ + public CorrectViewRequest viewUrl(String viewUrl) { + this.viewUrl = viewUrl; + return this; + } + + /** + * . + * @return viewUrl + **/ + @ApiModelProperty(value = "") + public String getViewUrl() { + return viewUrl; + } + + /** + * setViewUrl. + **/ + public void setViewUrl(String viewUrl) { + this.viewUrl = viewUrl; + } + + + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -64,15 +120,22 @@ public boolean equals(java.lang.Object o) { } CorrectViewRequest correctViewRequest = (CorrectViewRequest) o; return Objects.equals(this.returnUrl, correctViewRequest.returnUrl) && - Objects.equals(this.suppressNavigation, correctViewRequest.suppressNavigation); + Objects.equals(this.suppressNavigation, correctViewRequest.suppressNavigation) && + Objects.equals(this.viewUrl, correctViewRequest.viewUrl); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { - return Objects.hash(returnUrl, suppressNavigation); + return Objects.hash(returnUrl, suppressNavigation, viewUrl); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -80,6 +143,7 @@ public String toString() { sb.append(" returnUrl: ").append(toIndentedString(returnUrl)).append("\n"); sb.append(" suppressNavigation: ").append(toIndentedString(suppressNavigation)).append("\n"); + sb.append(" viewUrl: ").append(toIndentedString(viewUrl)).append("\n"); sb.append("}"); return sb.toString(); } @@ -94,6 +158,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/Country.java b/src/main/java/com/docusign/esign/model/Country.java index 5fdd8ab8..461ad5d5 100644 --- a/src/main/java/com/docusign/esign/model/Country.java +++ b/src/main/java/com/docusign/esign/model/Country.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.Province; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Country + * Country. + * */ public class Country { @@ -19,89 +22,138 @@ public class Country { private String name = null; @JsonProperty("provinces") - private java.util.List provinces = new java.util.ArrayList(); + private java.util.List provinces = null; @JsonProperty("provinceValidated") private String provinceValidated = null; + + /** + * isoCode. + * + * @return Country + **/ public Country isoCode(String isoCode) { this.isoCode = isoCode; return this; } - /** - * + /** + * . * @return isoCode - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getIsoCode() { return isoCode; } + /** + * setIsoCode. + **/ public void setIsoCode(String isoCode) { this.isoCode = isoCode; } + + /** + * name. + * + * @return Country + **/ public Country name(String name) { this.name = name; return this; } - /** - * + /** + * . * @return name - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * provinces. + * + * @return Country + **/ public Country provinces(java.util.List provinces) { this.provinces = provinces; return this; } - + + /** + * addProvincesItem. + * + * @return Country + **/ public Country addProvincesItem(Province provincesItem) { + if (this.provinces == null) { + this.provinces = new java.util.ArrayList(); + } this.provinces.add(provincesItem); return this; } - /** - * + /** + * . * @return provinces - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getProvinces() { return provinces; } + /** + * setProvinces. + **/ public void setProvinces(java.util.List provinces) { this.provinces = provinces; } + + /** + * provinceValidated. + * + * @return Country + **/ public Country provinceValidated(String provinceValidated) { this.provinceValidated = provinceValidated; return this; } - /** - * + /** + * . * @return provinceValidated - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getProvinceValidated() { return provinceValidated; } + /** + * setProvinceValidated. + **/ public void setProvinceValidated(String provinceValidated) { this.provinceValidated = provinceValidated; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -117,12 +169,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.provinceValidated, country.provinceValidated); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(isoCode, name, provinces, provinceValidated); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -146,6 +204,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/Credential.java b/src/main/java/com/docusign/esign/model/Credential.java index cbf03a66..97a788f3 100644 --- a/src/main/java/com/docusign/esign/model/Credential.java +++ b/src/main/java/com/docusign/esign/model/Credential.java @@ -1,8 +1,10 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; @@ -26,7 +28,7 @@ public Credential type(String type) { * * @return type **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public String getType() { return type; } @@ -44,7 +46,7 @@ public Credential value(String value) { * Specifies the value of the tab. * @return value **/ - @ApiModelProperty(example = "null", value = "Specifies the value of the tab. ") + @ApiModelProperty(value = "Specifies the value of the tab. ") public String getValue() { return value; } @@ -94,6 +96,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/CreditCardInformation.java b/src/main/java/com/docusign/esign/model/CreditCardInformation.java index a0d07a69..d54c6660 100644 --- a/src/main/java/com/docusign/esign/model/CreditCardInformation.java +++ b/src/main/java/com/docusign/esign/model/CreditCardInformation.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.AddressInformation; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * CreditCardInformation + * CreditCardInformation. + * */ public class CreditCardInformation { @@ -30,115 +33,174 @@ public class CreditCardInformation { @JsonProperty("nameOnCard") private String nameOnCard = null; + + /** + * address. + * + * @return CreditCardInformation + **/ public CreditCardInformation address(AddressInformation address) { this.address = address; return this; } - /** - * Get address + /** + * Get address. * @return address - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public AddressInformation getAddress() { return address; } + /** + * setAddress. + **/ public void setAddress(AddressInformation address) { this.address = address; } + + /** + * cardNumber. + * + * @return CreditCardInformation + **/ public CreditCardInformation cardNumber(String cardNumber) { this.cardNumber = cardNumber; return this; } - /** - * The number on the credit card. + /** + * The number on the credit card.. * @return cardNumber - **/ - @ApiModelProperty(example = "null", value = "The number on the credit card.") + **/ + @ApiModelProperty(value = "The number on the credit card.") public String getCardNumber() { return cardNumber; } + /** + * setCardNumber. + **/ public void setCardNumber(String cardNumber) { this.cardNumber = cardNumber; } + + /** + * cardType. + * + * @return CreditCardInformation + **/ public CreditCardInformation cardType(String cardType) { this.cardType = cardType; return this; } - /** - * The credit card type. Valid values are: visa, mastercard, or amex. + /** + * The credit card type. Valid values are: visa, mastercard, or amex.. * @return cardType - **/ - @ApiModelProperty(example = "null", value = "The credit card type. Valid values are: visa, mastercard, or amex.") + **/ + @ApiModelProperty(value = "The credit card type. Valid values are: visa, mastercard, or amex.") public String getCardType() { return cardType; } + /** + * setCardType. + **/ public void setCardType(String cardType) { this.cardType = cardType; } + + /** + * expirationMonth. + * + * @return CreditCardInformation + **/ public CreditCardInformation expirationMonth(String expirationMonth) { this.expirationMonth = expirationMonth; return this; } - /** - * The month that the credit card expires (1-12). + /** + * The month that the credit card expires (1-12).. * @return expirationMonth - **/ - @ApiModelProperty(example = "null", value = "The month that the credit card expires (1-12).") + **/ + @ApiModelProperty(value = "The month that the credit card expires (1-12).") public String getExpirationMonth() { return expirationMonth; } + /** + * setExpirationMonth. + **/ public void setExpirationMonth(String expirationMonth) { this.expirationMonth = expirationMonth; } + + /** + * expirationYear. + * + * @return CreditCardInformation + **/ public CreditCardInformation expirationYear(String expirationYear) { this.expirationYear = expirationYear; return this; } - /** - * The year 4 digit year in which the credit card expires. + /** + * The year 4 digit year in which the credit card expires.. * @return expirationYear - **/ - @ApiModelProperty(example = "null", value = "The year 4 digit year in which the credit card expires.") + **/ + @ApiModelProperty(value = "The year 4 digit year in which the credit card expires.") public String getExpirationYear() { return expirationYear; } + /** + * setExpirationYear. + **/ public void setExpirationYear(String expirationYear) { this.expirationYear = expirationYear; } + + /** + * nameOnCard. + * + * @return CreditCardInformation + **/ public CreditCardInformation nameOnCard(String nameOnCard) { this.nameOnCard = nameOnCard; return this; } - /** - * The exact name printed on the credit card. + /** + * The exact name printed on the credit card.. * @return nameOnCard - **/ - @ApiModelProperty(example = "null", value = "The exact name printed on the credit card.") + **/ + @ApiModelProperty(value = "The exact name printed on the credit card.") public String getNameOnCard() { return nameOnCard; } + /** + * setNameOnCard. + **/ public void setNameOnCard(String nameOnCard) { this.nameOnCard = nameOnCard; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -156,12 +218,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.nameOnCard, creditCardInformation.nameOnCard); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(address, cardNumber, cardType, expirationMonth, expirationYear, nameOnCard); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -187,6 +255,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/CreditCardTypes.java b/src/main/java/com/docusign/esign/model/CreditCardTypes.java index 52b54cfe..c4e712f0 100644 --- a/src/main/java/com/docusign/esign/model/CreditCardTypes.java +++ b/src/main/java/com/docusign/esign/model/CreditCardTypes.java @@ -1,43 +1,68 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * CreditCardTypes + * CreditCardTypes. + * */ public class CreditCardTypes { @JsonProperty("cardTypes") - private java.util.List cardTypes = new java.util.ArrayList(); + private java.util.List cardTypes = null; + + /** + * cardTypes. + * + * @return CreditCardTypes + **/ public CreditCardTypes cardTypes(java.util.List cardTypes) { this.cardTypes = cardTypes; return this; } - + + /** + * addCardTypesItem. + * + * @return CreditCardTypes + **/ public CreditCardTypes addCardTypesItem(String cardTypesItem) { + if (this.cardTypes == null) { + this.cardTypes = new java.util.ArrayList(); + } this.cardTypes.add(cardTypesItem); return this; } - /** - * An array containing supported credit card types. + /** + * An array containing supported credit card types.. * @return cardTypes - **/ - @ApiModelProperty(example = "null", value = "An array containing supported credit card types.") + **/ + @ApiModelProperty(value = "An array containing supported credit card types.") public java.util.List getCardTypes() { return cardTypes; } + /** + * setCardTypes. + **/ public void setCardTypes(java.util.List cardTypes) { this.cardTypes = cardTypes; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -50,12 +75,18 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.cardTypes, creditCardTypes.cardTypes); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(cardTypes); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -76,6 +107,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/CurrencyFeatureSetPrice.java b/src/main/java/com/docusign/esign/model/CurrencyFeatureSetPrice.java index 89b998f6..212c1ab7 100644 --- a/src/main/java/com/docusign/esign/model/CurrencyFeatureSetPrice.java +++ b/src/main/java/com/docusign/esign/model/CurrencyFeatureSetPrice.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * CurrencyFeatureSetPrice + * CurrencyFeatureSetPrice. + * */ public class CurrencyFeatureSetPrice { @@ -26,97 +29,147 @@ public class CurrencyFeatureSetPrice { @JsonProperty("seatFee") private String seatFee = null; + + /** + * currencyCode. + * + * @return CurrencyFeatureSetPrice + **/ public CurrencyFeatureSetPrice currencyCode(String currencyCode) { this.currencyCode = currencyCode; return this; } - /** - * Specifies the alternate ISO currency code for the account. + /** + * Specifies the alternate ISO currency code for the account. . * @return currencyCode - **/ - @ApiModelProperty(example = "null", value = "Specifies the alternate ISO currency code for the account. ") + **/ + @ApiModelProperty(value = "Specifies the alternate ISO currency code for the account. ") public String getCurrencyCode() { return currencyCode; } + /** + * setCurrencyCode. + **/ public void setCurrencyCode(String currencyCode) { this.currencyCode = currencyCode; } + + /** + * currencySymbol. + * + * @return CurrencyFeatureSetPrice + **/ public CurrencyFeatureSetPrice currencySymbol(String currencySymbol) { this.currencySymbol = currencySymbol; return this; } - /** - * Specifies the alternate currency symbol for the account. + /** + * Specifies the alternate currency symbol for the account.. * @return currencySymbol - **/ - @ApiModelProperty(example = "null", value = "Specifies the alternate currency symbol for the account.") + **/ + @ApiModelProperty(value = "Specifies the alternate currency symbol for the account.") public String getCurrencySymbol() { return currencySymbol; } + /** + * setCurrencySymbol. + **/ public void setCurrencySymbol(String currencySymbol) { this.currencySymbol = currencySymbol; } + + /** + * envelopeFee. + * + * @return CurrencyFeatureSetPrice + **/ public CurrencyFeatureSetPrice envelopeFee(String envelopeFee) { this.envelopeFee = envelopeFee; return this; } - /** - * An incremental envelope cost for plans with envelope overages (when `isEnabled` is set to **true**.) + /** + * An incremental envelope cost for plans with envelope overages (when `isEnabled` is set to **true**.). * @return envelopeFee - **/ - @ApiModelProperty(example = "null", value = "An incremental envelope cost for plans with envelope overages (when `isEnabled` is set to **true**.)") + **/ + @ApiModelProperty(value = "An incremental envelope cost for plans with envelope overages (when `isEnabled` is set to **true**.)") public String getEnvelopeFee() { return envelopeFee; } + /** + * setEnvelopeFee. + **/ public void setEnvelopeFee(String envelopeFee) { this.envelopeFee = envelopeFee; } + + /** + * fixedFee. + * + * @return CurrencyFeatureSetPrice + **/ public CurrencyFeatureSetPrice fixedFee(String fixedFee) { this.fixedFee = fixedFee; return this; } - /** - * Specifies a one-time fee associated with the plan (when `isEnabled` is set to **true**.) + /** + * Specifies a one-time fee associated with the plan (when `isEnabled` is set to **true**.). * @return fixedFee - **/ - @ApiModelProperty(example = "null", value = "Specifies a one-time fee associated with the plan (when `isEnabled` is set to **true**.)") + **/ + @ApiModelProperty(value = "Specifies a one-time fee associated with the plan (when `isEnabled` is set to **true**.)") public String getFixedFee() { return fixedFee; } + /** + * setFixedFee. + **/ public void setFixedFee(String fixedFee) { this.fixedFee = fixedFee; } + + /** + * seatFee. + * + * @return CurrencyFeatureSetPrice + **/ public CurrencyFeatureSetPrice seatFee(String seatFee) { this.seatFee = seatFee; return this; } - /** - * Specifies an incremental seat cost for seat-based plans (when `isEnabled` is set to **true**.) + /** + * Specifies an incremental seat cost for seat-based plans (when `isEnabled` is set to **true**.). * @return seatFee - **/ - @ApiModelProperty(example = "null", value = "Specifies an incremental seat cost for seat-based plans (when `isEnabled` is set to **true**.)") + **/ + @ApiModelProperty(value = "Specifies an incremental seat cost for seat-based plans (when `isEnabled` is set to **true**.)") public String getSeatFee() { return seatFee; } + /** + * setSeatFee. + **/ public void setSeatFee(String seatFee) { this.seatFee = seatFee; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -133,12 +186,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.seatFee, currencyFeatureSetPrice.seatFee); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(currencyCode, currencySymbol, envelopeFee, fixedFee, seatFee); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -163,6 +222,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/CurrencyPlanPrice.java b/src/main/java/com/docusign/esign/model/CurrencyPlanPrice.java index 0e7da74e..15073904 100644 --- a/src/main/java/com/docusign/esign/model/CurrencyPlanPrice.java +++ b/src/main/java/com/docusign/esign/model/CurrencyPlanPrice.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.CreditCardTypes; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * CurrencyPlanPrice + * CurrencyPlanPrice. + * */ public class CurrencyPlanPrice { @@ -30,115 +33,174 @@ public class CurrencyPlanPrice { @JsonProperty("supportPlanFee") private String supportPlanFee = null; + + /** + * currencyCode. + * + * @return CurrencyPlanPrice + **/ public CurrencyPlanPrice currencyCode(String currencyCode) { this.currencyCode = currencyCode; return this; } - /** - * Specifies the ISO currency code for the account. + /** + * Specifies the ISO currency code for the account.. * @return currencyCode - **/ - @ApiModelProperty(example = "null", value = "Specifies the ISO currency code for the account.") + **/ + @ApiModelProperty(value = "Specifies the ISO currency code for the account.") public String getCurrencyCode() { return currencyCode; } + /** + * setCurrencyCode. + **/ public void setCurrencyCode(String currencyCode) { this.currencyCode = currencyCode; } + + /** + * currencySymbol. + * + * @return CurrencyPlanPrice + **/ public CurrencyPlanPrice currencySymbol(String currencySymbol) { this.currencySymbol = currencySymbol; return this; } - /** - * Specifies the currency symbol for the account. + /** + * Specifies the currency symbol for the account.. * @return currencySymbol - **/ - @ApiModelProperty(example = "null", value = "Specifies the currency symbol for the account.") + **/ + @ApiModelProperty(value = "Specifies the currency symbol for the account.") public String getCurrencySymbol() { return currencySymbol; } + /** + * setCurrencySymbol. + **/ public void setCurrencySymbol(String currencySymbol) { this.currencySymbol = currencySymbol; } + + /** + * perSeatPrice. + * + * @return CurrencyPlanPrice + **/ public CurrencyPlanPrice perSeatPrice(String perSeatPrice) { this.perSeatPrice = perSeatPrice; return this; } - /** - * + /** + * . * @return perSeatPrice - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPerSeatPrice() { return perSeatPrice; } + /** + * setPerSeatPrice. + **/ public void setPerSeatPrice(String perSeatPrice) { this.perSeatPrice = perSeatPrice; } + + /** + * supportedCardTypes. + * + * @return CurrencyPlanPrice + **/ public CurrencyPlanPrice supportedCardTypes(CreditCardTypes supportedCardTypes) { this.supportedCardTypes = supportedCardTypes; return this; } - /** - * Get supportedCardTypes + /** + * Get supportedCardTypes. * @return supportedCardTypes - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public CreditCardTypes getSupportedCardTypes() { return supportedCardTypes; } + /** + * setSupportedCardTypes. + **/ public void setSupportedCardTypes(CreditCardTypes supportedCardTypes) { this.supportedCardTypes = supportedCardTypes; } + + /** + * supportIncidentFee. + * + * @return CurrencyPlanPrice + **/ public CurrencyPlanPrice supportIncidentFee(String supportIncidentFee) { this.supportIncidentFee = supportIncidentFee; return this; } - /** - * The support incident fee charged for each support incident. + /** + * The support incident fee charged for each support incident.. * @return supportIncidentFee - **/ - @ApiModelProperty(example = "null", value = "The support incident fee charged for each support incident.") + **/ + @ApiModelProperty(value = "The support incident fee charged for each support incident.") public String getSupportIncidentFee() { return supportIncidentFee; } + /** + * setSupportIncidentFee. + **/ public void setSupportIncidentFee(String supportIncidentFee) { this.supportIncidentFee = supportIncidentFee; } + + /** + * supportPlanFee. + * + * @return CurrencyPlanPrice + **/ public CurrencyPlanPrice supportPlanFee(String supportPlanFee) { this.supportPlanFee = supportPlanFee; return this; } - /** - * The support plan fee charged for this plan. + /** + * The support plan fee charged for this plan.. * @return supportPlanFee - **/ - @ApiModelProperty(example = "null", value = "The support plan fee charged for this plan.") + **/ + @ApiModelProperty(value = "The support plan fee charged for this plan.") public String getSupportPlanFee() { return supportPlanFee; } + /** + * setSupportPlanFee. + **/ public void setSupportPlanFee(String supportPlanFee) { this.supportPlanFee = supportPlanFee; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -156,12 +218,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.supportPlanFee, currencyPlanPrice.supportPlanFee); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(currencyCode, currencySymbol, perSeatPrice, supportedCardTypes, supportIncidentFee, supportPlanFee); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -187,6 +255,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/CustomField.java b/src/main/java/com/docusign/esign/model/CustomField.java index b5a1fa55..efe4c81c 100644 --- a/src/main/java/com/docusign/esign/model/CustomField.java +++ b/src/main/java/com/docusign/esign/model/CustomField.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ErrorDetails; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * CustomField + * CustomField. + * */ public class CustomField { @@ -22,7 +25,7 @@ public class CustomField { private String fieldId = null; @JsonProperty("listItems") - private java.util.List listItems = new java.util.ArrayList(); + private java.util.List listItems = null; @JsonProperty("name") private String name = null; @@ -36,156 +39,241 @@ public class CustomField { @JsonProperty("value") private String value = null; + + /** + * customFieldType. + * + * @return CustomField + **/ public CustomField customFieldType(String customFieldType) { this.customFieldType = customFieldType; return this; } - /** - * + /** + * . * @return customFieldType - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getCustomFieldType() { return customFieldType; } + /** + * setCustomFieldType. + **/ public void setCustomFieldType(String customFieldType) { this.customFieldType = customFieldType; } + + /** + * errorDetails. + * + * @return CustomField + **/ public CustomField errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * fieldId. + * + * @return CustomField + **/ public CustomField fieldId(String fieldId) { this.fieldId = fieldId; return this; } - /** - * + /** + * . * @return fieldId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getFieldId() { return fieldId; } + /** + * setFieldId. + **/ public void setFieldId(String fieldId) { this.fieldId = fieldId; } + + /** + * listItems. + * + * @return CustomField + **/ public CustomField listItems(java.util.List listItems) { this.listItems = listItems; return this; } - + + /** + * addListItemsItem. + * + * @return CustomField + **/ public CustomField addListItemsItem(String listItemsItem) { + if (this.listItems == null) { + this.listItems = new java.util.ArrayList(); + } this.listItems.add(listItemsItem); return this; } - /** - * + /** + * . * @return listItems - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getListItems() { return listItems; } + /** + * setListItems. + **/ public void setListItems(java.util.List listItems) { this.listItems = listItems; } + + /** + * name. + * + * @return CustomField + **/ public CustomField name(String name) { this.name = name; return this; } - /** - * + /** + * . * @return name - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * required. + * + * @return CustomField + **/ public CustomField required(String required) { this.required = required; return this; } - /** - * When set to **true**, the signer is required to fill out this tab + /** + * When set to **true**, the signer is required to fill out this tab. * @return required - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the signer is required to fill out this tab") + **/ + @ApiModelProperty(value = "When set to **true**, the signer is required to fill out this tab") public String getRequired() { return required; } + /** + * setRequired. + **/ public void setRequired(String required) { this.required = required; } + + /** + * show. + * + * @return CustomField + **/ public CustomField show(String show) { this.show = show; return this; } - /** - * + /** + * . * @return show - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getShow() { return show; } + /** + * setShow. + **/ public void setShow(String show) { this.show = show; } + + /** + * value. + * + * @return CustomField + **/ public CustomField value(String value) { this.value = value; return this; } - /** - * Specifies the value of the tab. + /** + * Specifies the value of the tab. . * @return value - **/ - @ApiModelProperty(example = "null", value = "Specifies the value of the tab. ") + **/ + @ApiModelProperty(value = "Specifies the value of the tab. ") public String getValue() { return value; } + /** + * setValue. + **/ public void setValue(String value) { this.value = value; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -205,12 +293,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.value, customField.value); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(customFieldType, errorDetails, fieldId, listItems, name, required, show, value); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -238,6 +332,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/CustomFieldV2.java b/src/main/java/com/docusign/esign/model/CustomFieldV2.java index 449818ce..368fa5bf 100644 --- a/src/main/java/com/docusign/esign/model/CustomFieldV2.java +++ b/src/main/java/com/docusign/esign/model/CustomFieldV2.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ErrorDetails; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * CustomFieldV2 + * CustomFieldV2. + * */ public class CustomFieldV2 { @@ -33,133 +36,201 @@ public class CustomFieldV2 { @JsonProperty("value") private String value = null; + + /** + * configurationType. + * + * @return CustomFieldV2 + **/ public CustomFieldV2 configurationType(String configurationType) { this.configurationType = configurationType; return this; } - /** - * If merge field's are being used, specifies the type of the merge field. The only supported value is **salesforce**. + /** + * If merge field's are being used, specifies the type of the merge field. The only supported value is **salesforce**.. * @return configurationType - **/ - @ApiModelProperty(example = "null", value = "If merge field's are being used, specifies the type of the merge field. The only supported value is **salesforce**.") + **/ + @ApiModelProperty(value = "If merge field's are being used, specifies the type of the merge field. The only supported value is **salesforce**.") public String getConfigurationType() { return configurationType; } + /** + * setConfigurationType. + **/ public void setConfigurationType(String configurationType) { this.configurationType = configurationType; } + + /** + * errorDetails. + * + * @return CustomFieldV2 + **/ public CustomFieldV2 errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * fieldId. + * + * @return CustomFieldV2 + **/ public CustomFieldV2 fieldId(String fieldId) { this.fieldId = fieldId; return this; } - /** - * + /** + * . * @return fieldId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getFieldId() { return fieldId; } + /** + * setFieldId. + **/ public void setFieldId(String fieldId) { this.fieldId = fieldId; } + + /** + * name. + * + * @return CustomFieldV2 + **/ public CustomFieldV2 name(String name) { this.name = name; return this; } - /** - * + /** + * . * @return name - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * required. + * + * @return CustomFieldV2 + **/ public CustomFieldV2 required(String required) { this.required = required; return this; } - /** - * When set to **true**, the signer is required to fill out this tab + /** + * When set to **true**, the signer is required to fill out this tab. * @return required - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the signer is required to fill out this tab") + **/ + @ApiModelProperty(value = "When set to **true**, the signer is required to fill out this tab") public String getRequired() { return required; } + /** + * setRequired. + **/ public void setRequired(String required) { this.required = required; } + + /** + * show. + * + * @return CustomFieldV2 + **/ public CustomFieldV2 show(String show) { this.show = show; return this; } - /** - * + /** + * . * @return show - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getShow() { return show; } + /** + * setShow. + **/ public void setShow(String show) { this.show = show; } + + /** + * value. + * + * @return CustomFieldV2 + **/ public CustomFieldV2 value(String value) { this.value = value; return this; } - /** - * The value of the custom field. + /** + * The value of the custom field.. * @return value - **/ - @ApiModelProperty(example = "null", value = "The value of the custom field.") + **/ + @ApiModelProperty(value = "The value of the custom field.") public String getValue() { return value; } + /** + * setValue. + **/ public void setValue(String value) { this.value = value; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -178,12 +249,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.value, customFieldV2.value); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(configurationType, errorDetails, fieldId, name, required, show, value); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -210,6 +287,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/CustomFields.java b/src/main/java/com/docusign/esign/model/CustomFields.java index 75ebc027..c886ca56 100644 --- a/src/main/java/com/docusign/esign/model/CustomFields.java +++ b/src/main/java/com/docusign/esign/model/CustomFields.java @@ -1,72 +1,114 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ListCustomField; import com.docusign.esign.model.TextCustomField; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Contains information about custom fields. + * Contains information about custom fields.. + * */ @ApiModel(description = "Contains information about custom fields.") public class CustomFields { @JsonProperty("listCustomFields") - private java.util.List listCustomFields = new java.util.ArrayList(); + private java.util.List listCustomFields = null; @JsonProperty("textCustomFields") - private java.util.List textCustomFields = new java.util.ArrayList(); + private java.util.List textCustomFields = null; + + /** + * listCustomFields. + * + * @return CustomFields + **/ public CustomFields listCustomFields(java.util.List listCustomFields) { this.listCustomFields = listCustomFields; return this; } - + + /** + * addListCustomFieldsItem. + * + * @return CustomFields + **/ public CustomFields addListCustomFieldsItem(ListCustomField listCustomFieldsItem) { + if (this.listCustomFields == null) { + this.listCustomFields = new java.util.ArrayList(); + } this.listCustomFields.add(listCustomFieldsItem); return this; } - /** - * An array of list custom fields. + /** + * An array of list custom fields.. * @return listCustomFields - **/ - @ApiModelProperty(example = "null", value = "An array of list custom fields.") + **/ + @ApiModelProperty(value = "An array of list custom fields.") public java.util.List getListCustomFields() { return listCustomFields; } + /** + * setListCustomFields. + **/ public void setListCustomFields(java.util.List listCustomFields) { this.listCustomFields = listCustomFields; } + + /** + * textCustomFields. + * + * @return CustomFields + **/ public CustomFields textCustomFields(java.util.List textCustomFields) { this.textCustomFields = textCustomFields; return this; } - + + /** + * addTextCustomFieldsItem. + * + * @return CustomFields + **/ public CustomFields addTextCustomFieldsItem(TextCustomField textCustomFieldsItem) { + if (this.textCustomFields == null) { + this.textCustomFields = new java.util.ArrayList(); + } this.textCustomFields.add(textCustomFieldsItem); return this; } - /** - * An array of text custom fields. + /** + * An array of text custom fields.. * @return textCustomFields - **/ - @ApiModelProperty(example = "null", value = "An array of text custom fields.") + **/ + @ApiModelProperty(value = "An array of text custom fields.") public java.util.List getTextCustomFields() { return textCustomFields; } + /** + * setTextCustomFields. + **/ public void setTextCustomFields(java.util.List textCustomFields) { this.textCustomFields = textCustomFields; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -80,12 +122,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.textCustomFields, customFields.textCustomFields); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(listCustomFields, textCustomFields); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -107,6 +155,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/CustomFieldsEnvelope.java b/src/main/java/com/docusign/esign/model/CustomFieldsEnvelope.java index c9ee01b6..b86aa887 100644 --- a/src/main/java/com/docusign/esign/model/CustomFieldsEnvelope.java +++ b/src/main/java/com/docusign/esign/model/CustomFieldsEnvelope.java @@ -1,71 +1,113 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ListCustomField; import com.docusign.esign.model.TextCustomField; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * CustomFieldsEnvelope + * CustomFieldsEnvelope. + * */ public class CustomFieldsEnvelope { @JsonProperty("listCustomFields") - private java.util.List listCustomFields = new java.util.ArrayList(); + private java.util.List listCustomFields = null; @JsonProperty("textCustomFields") - private java.util.List textCustomFields = new java.util.ArrayList(); + private java.util.List textCustomFields = null; + + /** + * listCustomFields. + * + * @return CustomFieldsEnvelope + **/ public CustomFieldsEnvelope listCustomFields(java.util.List listCustomFields) { this.listCustomFields = listCustomFields; return this; } - + + /** + * addListCustomFieldsItem. + * + * @return CustomFieldsEnvelope + **/ public CustomFieldsEnvelope addListCustomFieldsItem(ListCustomField listCustomFieldsItem) { + if (this.listCustomFields == null) { + this.listCustomFields = new java.util.ArrayList(); + } this.listCustomFields.add(listCustomFieldsItem); return this; } - /** - * An array of list custom fields. + /** + * An array of list custom fields.. * @return listCustomFields - **/ - @ApiModelProperty(example = "null", value = "An array of list custom fields.") + **/ + @ApiModelProperty(value = "An array of list custom fields.") public java.util.List getListCustomFields() { return listCustomFields; } + /** + * setListCustomFields. + **/ public void setListCustomFields(java.util.List listCustomFields) { this.listCustomFields = listCustomFields; } + + /** + * textCustomFields. + * + * @return CustomFieldsEnvelope + **/ public CustomFieldsEnvelope textCustomFields(java.util.List textCustomFields) { this.textCustomFields = textCustomFields; return this; } - + + /** + * addTextCustomFieldsItem. + * + * @return CustomFieldsEnvelope + **/ public CustomFieldsEnvelope addTextCustomFieldsItem(TextCustomField textCustomFieldsItem) { + if (this.textCustomFields == null) { + this.textCustomFields = new java.util.ArrayList(); + } this.textCustomFields.add(textCustomFieldsItem); return this; } - /** - * An array of text custom fields. + /** + * An array of text custom fields.. * @return textCustomFields - **/ - @ApiModelProperty(example = "null", value = "An array of text custom fields.") + **/ + @ApiModelProperty(value = "An array of text custom fields.") public java.util.List getTextCustomFields() { return textCustomFields; } + /** + * setTextCustomFields. + **/ public void setTextCustomFields(java.util.List textCustomFields) { this.textCustomFields = textCustomFields; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -79,12 +121,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.textCustomFields, customFieldsEnvelope.textCustomFields); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(listCustomFields, textCustomFields); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -106,6 +154,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/CustomSettingsInformation.java b/src/main/java/com/docusign/esign/model/CustomSettingsInformation.java index 5604df2e..7bc2b04d 100644 --- a/src/main/java/com/docusign/esign/model/CustomSettingsInformation.java +++ b/src/main/java/com/docusign/esign/model/CustomSettingsInformation.java @@ -1,44 +1,69 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.NameValue; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * CustomSettingsInformation + * CustomSettingsInformation. + * */ public class CustomSettingsInformation { @JsonProperty("customSettings") - private java.util.List customSettings = new java.util.ArrayList(); + private java.util.List customSettings = null; + + /** + * customSettings. + * + * @return CustomSettingsInformation + **/ public CustomSettingsInformation customSettings(java.util.List customSettings) { this.customSettings = customSettings; return this; } - + + /** + * addCustomSettingsItem. + * + * @return CustomSettingsInformation + **/ public CustomSettingsInformation addCustomSettingsItem(NameValue customSettingsItem) { + if (this.customSettings == null) { + this.customSettings = new java.util.ArrayList(); + } this.customSettings.add(customSettingsItem); return this; } - /** - * + /** + * . * @return customSettings - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getCustomSettings() { return customSettings; } + /** + * setCustomSettings. + **/ public void setCustomSettings(java.util.List customSettings) { this.customSettings = customSettings; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -51,12 +76,18 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.customSettings, customSettingsInformation.customSettings); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(customSettings); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -77,6 +108,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/Date.java b/src/main/java/com/docusign/esign/model/Date.java index dc7b365d..6d1e3121 100644 --- a/src/main/java/com/docusign/esign/model/Date.java +++ b/src/main/java/com/docusign/esign/model/Date.java @@ -1,15 +1,18 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ErrorDetails; import com.docusign.esign.model.MergeField; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Date + * Date. + * */ public class Date { @@ -113,7 +116,7 @@ public class Date { private String status = null; @JsonProperty("tabGroupLabels") - private java.util.List tabGroupLabels = new java.util.ArrayList(); + private java.util.List tabGroupLabels = null; @JsonProperty("tabId") private String tabId = null; @@ -154,858 +157,1294 @@ public class Date { @JsonProperty("yPosition") private String yPosition = null; + + /** + * anchorCaseSensitive. + * + * @return Date + **/ public Date anchorCaseSensitive(String anchorCaseSensitive) { this.anchorCaseSensitive = anchorCaseSensitive; return this; } - /** - * When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**. + /** + * When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.. * @return anchorCaseSensitive - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.") + **/ + @ApiModelProperty(value = "When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.") public String getAnchorCaseSensitive() { return anchorCaseSensitive; } + /** + * setAnchorCaseSensitive. + **/ public void setAnchorCaseSensitive(String anchorCaseSensitive) { this.anchorCaseSensitive = anchorCaseSensitive; } + + /** + * anchorHorizontalAlignment. + * + * @return Date + **/ public Date anchorHorizontalAlignment(String anchorHorizontalAlignment) { this.anchorHorizontalAlignment = anchorHorizontalAlignment; return this; } - /** - * Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**. + /** + * Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.. * @return anchorHorizontalAlignment - **/ - @ApiModelProperty(example = "null", value = "Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.") + **/ + @ApiModelProperty(value = "Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.") public String getAnchorHorizontalAlignment() { return anchorHorizontalAlignment; } + /** + * setAnchorHorizontalAlignment. + **/ public void setAnchorHorizontalAlignment(String anchorHorizontalAlignment) { this.anchorHorizontalAlignment = anchorHorizontalAlignment; } + + /** + * anchorIgnoreIfNotPresent. + * + * @return Date + **/ public Date anchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { this.anchorIgnoreIfNotPresent = anchorIgnoreIfNotPresent; return this; } - /** - * When set to **true**, this tab is ignored if anchorString is not found in the document. + /** + * When set to **true**, this tab is ignored if anchorString is not found in the document.. * @return anchorIgnoreIfNotPresent - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, this tab is ignored if anchorString is not found in the document.") + **/ + @ApiModelProperty(value = "When set to **true**, this tab is ignored if anchorString is not found in the document.") public String getAnchorIgnoreIfNotPresent() { return anchorIgnoreIfNotPresent; } + /** + * setAnchorIgnoreIfNotPresent. + **/ public void setAnchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { this.anchorIgnoreIfNotPresent = anchorIgnoreIfNotPresent; } + + /** + * anchorMatchWholeWord. + * + * @return Date + **/ public Date anchorMatchWholeWord(String anchorMatchWholeWord) { this.anchorMatchWholeWord = anchorMatchWholeWord; return this; } - /** - * When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**. + /** + * When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.. * @return anchorMatchWholeWord - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.") + **/ + @ApiModelProperty(value = "When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.") public String getAnchorMatchWholeWord() { return anchorMatchWholeWord; } + /** + * setAnchorMatchWholeWord. + **/ public void setAnchorMatchWholeWord(String anchorMatchWholeWord) { this.anchorMatchWholeWord = anchorMatchWholeWord; } + + /** + * anchorString. + * + * @return Date + **/ public Date anchorString(String anchorString) { this.anchorString = anchorString; return this; } - /** - * Anchor text information for a radio button. + /** + * Anchor text information for a radio button.. * @return anchorString - **/ - @ApiModelProperty(example = "null", value = "Anchor text information for a radio button.") + **/ + @ApiModelProperty(value = "Anchor text information for a radio button.") public String getAnchorString() { return anchorString; } + /** + * setAnchorString. + **/ public void setAnchorString(String anchorString) { this.anchorString = anchorString; } + + /** + * anchorUnits. + * + * @return Date + **/ public Date anchorUnits(String anchorUnits) { this.anchorUnits = anchorUnits; return this; } - /** - * Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. + /** + * Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. * @return anchorUnits - **/ - @ApiModelProperty(example = "null", value = "Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.") + **/ + @ApiModelProperty(value = "Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.") public String getAnchorUnits() { return anchorUnits; } + /** + * setAnchorUnits. + **/ public void setAnchorUnits(String anchorUnits) { this.anchorUnits = anchorUnits; } + + /** + * anchorXOffset. + * + * @return Date + **/ public Date anchorXOffset(String anchorXOffset) { this.anchorXOffset = anchorXOffset; return this; } - /** - * Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString. + /** + * Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. * @return anchorXOffset - **/ - @ApiModelProperty(example = "null", value = "Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.") + **/ + @ApiModelProperty(value = "Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.") public String getAnchorXOffset() { return anchorXOffset; } + /** + * setAnchorXOffset. + **/ public void setAnchorXOffset(String anchorXOffset) { this.anchorXOffset = anchorXOffset; } + + /** + * anchorYOffset. + * + * @return Date + **/ public Date anchorYOffset(String anchorYOffset) { this.anchorYOffset = anchorYOffset; return this; } - /** - * Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString. + /** + * Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.. * @return anchorYOffset - **/ - @ApiModelProperty(example = "null", value = "Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.") + **/ + @ApiModelProperty(value = "Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.") public String getAnchorYOffset() { return anchorYOffset; } + /** + * setAnchorYOffset. + **/ public void setAnchorYOffset(String anchorYOffset) { this.anchorYOffset = anchorYOffset; } + + /** + * bold. + * + * @return Date + **/ public Date bold(String bold) { this.bold = bold; return this; } - /** - * When set to **true**, the information in the tab is bold. + /** + * When set to **true**, the information in the tab is bold.. * @return bold - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is bold.") + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is bold.") public String getBold() { return bold; } + /** + * setBold. + **/ public void setBold(String bold) { this.bold = bold; } + + /** + * concealValueOnDocument. + * + * @return Date + **/ public Date concealValueOnDocument(String concealValueOnDocument) { this.concealValueOnDocument = concealValueOnDocument; return this; } - /** - * When set to **true**, the field appears normally while the recipient is adding or modifying the information in the field, but the data is not visible (the characters are hidden by asterisks) to any other signer or the sender. When an envelope is completed the information is available to the sender through the Form Data link in the DocuSign Console. This setting applies only to text boxes and does not affect list boxes, radio buttons, or check boxes. + /** + * When set to **true**, the field appears normally while the recipient is adding or modifying the information in the field, but the data is not visible (the characters are hidden by asterisks) to any other signer or the sender. When an envelope is completed the information is available to the sender through the Form Data link in the DocuSign Console. This setting applies only to text boxes and does not affect list boxes, radio buttons, or check boxes.. * @return concealValueOnDocument - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the field appears normally while the recipient is adding or modifying the information in the field, but the data is not visible (the characters are hidden by asterisks) to any other signer or the sender. When an envelope is completed the information is available to the sender through the Form Data link in the DocuSign Console. This setting applies only to text boxes and does not affect list boxes, radio buttons, or check boxes.") + **/ + @ApiModelProperty(value = "When set to **true**, the field appears normally while the recipient is adding or modifying the information in the field, but the data is not visible (the characters are hidden by asterisks) to any other signer or the sender. When an envelope is completed the information is available to the sender through the Form Data link in the DocuSign Console. This setting applies only to text boxes and does not affect list boxes, radio buttons, or check boxes.") public String getConcealValueOnDocument() { return concealValueOnDocument; } + /** + * setConcealValueOnDocument. + **/ public void setConcealValueOnDocument(String concealValueOnDocument) { this.concealValueOnDocument = concealValueOnDocument; } + + /** + * conditionalParentLabel. + * + * @return Date + **/ public Date conditionalParentLabel(String conditionalParentLabel) { this.conditionalParentLabel = conditionalParentLabel; return this; } - /** - * For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility. + /** + * For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.. * @return conditionalParentLabel - **/ - @ApiModelProperty(example = "null", value = "For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.") + **/ + @ApiModelProperty(value = "For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.") public String getConditionalParentLabel() { return conditionalParentLabel; } + /** + * setConditionalParentLabel. + **/ public void setConditionalParentLabel(String conditionalParentLabel) { this.conditionalParentLabel = conditionalParentLabel; } + + /** + * conditionalParentValue. + * + * @return Date + **/ public Date conditionalParentValue(String conditionalParentValue) { this.conditionalParentValue = conditionalParentValue; return this; } - /** - * For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. + /** + * For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. . * @return conditionalParentValue - **/ - @ApiModelProperty(example = "null", value = "For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. ") + **/ + @ApiModelProperty(value = "For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. ") public String getConditionalParentValue() { return conditionalParentValue; } + /** + * setConditionalParentValue. + **/ public void setConditionalParentValue(String conditionalParentValue) { this.conditionalParentValue = conditionalParentValue; } + + /** + * customTabId. + * + * @return Date + **/ public Date customTabId(String customTabId) { this.customTabId = customTabId; return this; } - /** - * The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties. + /** + * The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.. * @return customTabId - **/ - @ApiModelProperty(example = "null", value = "The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.") + **/ + @ApiModelProperty(value = "The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.") public String getCustomTabId() { return customTabId; } + /** + * setCustomTabId. + **/ public void setCustomTabId(String customTabId) { this.customTabId = customTabId; } + + /** + * disableAutoSize. + * + * @return Date + **/ public Date disableAutoSize(String disableAutoSize) { this.disableAutoSize = disableAutoSize; return this; } - /** - * When set to **true**, disables the auto sizing of single line text boxes in the signing screen when the signer enters data. If disabled users will only be able enter as much data as the text box can hold. By default this is false. This property only affects single line text boxes. + /** + * When set to **true**, disables the auto sizing of single line text boxes in the signing screen when the signer enters data. If disabled users will only be able enter as much data as the text box can hold. By default this is false. This property only affects single line text boxes.. * @return disableAutoSize - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, disables the auto sizing of single line text boxes in the signing screen when the signer enters data. If disabled users will only be able enter as much data as the text box can hold. By default this is false. This property only affects single line text boxes.") + **/ + @ApiModelProperty(value = "When set to **true**, disables the auto sizing of single line text boxes in the signing screen when the signer enters data. If disabled users will only be able enter as much data as the text box can hold. By default this is false. This property only affects single line text boxes.") public String getDisableAutoSize() { return disableAutoSize; } + /** + * setDisableAutoSize. + **/ public void setDisableAutoSize(String disableAutoSize) { this.disableAutoSize = disableAutoSize; } + + /** + * documentId. + * + * @return Date + **/ public Date documentId(String documentId) { this.documentId = documentId; return this; } - /** - * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute. + /** + * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.. * @return documentId - **/ - @ApiModelProperty(example = "null", value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") + **/ + @ApiModelProperty(value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") public String getDocumentId() { return documentId; } + /** + * setDocumentId. + **/ public void setDocumentId(String documentId) { this.documentId = documentId; } + + /** + * errorDetails. + * + * @return Date + **/ public Date errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * font. + * + * @return Date + **/ public Date font(String font) { this.font = font; return this; } - /** - * The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default. + /** + * The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.. * @return font - **/ - @ApiModelProperty(example = "null", value = "The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.") + **/ + @ApiModelProperty(value = "The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.") public String getFont() { return font; } + /** + * setFont. + **/ public void setFont(String font) { this.font = font; } + + /** + * fontColor. + * + * @return Date + **/ public Date fontColor(String fontColor) { this.fontColor = fontColor; return this; } - /** - * The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White. + /** + * The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.. * @return fontColor - **/ - @ApiModelProperty(example = "null", value = "The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.") + **/ + @ApiModelProperty(value = "The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.") public String getFontColor() { return fontColor; } + /** + * setFontColor. + **/ public void setFontColor(String fontColor) { this.fontColor = fontColor; } + + /** + * fontSize. + * + * @return Date + **/ public Date fontSize(String fontSize) { this.fontSize = fontSize; return this; } - /** - * The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72. + /** + * The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.. * @return fontSize - **/ - @ApiModelProperty(example = "null", value = "The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.") + **/ + @ApiModelProperty(value = "The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.") public String getFontSize() { return fontSize; } + /** + * setFontSize. + **/ public void setFontSize(String fontSize) { this.fontSize = fontSize; } + + /** + * italic. + * + * @return Date + **/ public Date italic(String italic) { this.italic = italic; return this; } - /** - * When set to **true**, the information in the tab is italic. + /** + * When set to **true**, the information in the tab is italic.. * @return italic - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is italic.") + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is italic.") public String getItalic() { return italic; } + /** + * setItalic. + **/ public void setItalic(String italic) { this.italic = italic; } + + /** + * locked. + * + * @return Date + **/ public Date locked(String locked) { this.locked = locked; return this; } - /** - * When set to **true**, the signer cannot change the data of the custom tab. + /** + * When set to **true**, the signer cannot change the data of the custom tab.. * @return locked - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the signer cannot change the data of the custom tab.") + **/ + @ApiModelProperty(value = "When set to **true**, the signer cannot change the data of the custom tab.") public String getLocked() { return locked; } + /** + * setLocked. + **/ public void setLocked(String locked) { this.locked = locked; } + + /** + * maxLength. + * + * @return Date + **/ public Date maxLength(Integer maxLength) { this.maxLength = maxLength; return this; } - /** - * An optional value that describes the maximum length of the property when the property is a string. + /** + * An optional value that describes the maximum length of the property when the property is a string.. * @return maxLength - **/ - @ApiModelProperty(example = "null", value = "An optional value that describes the maximum length of the property when the property is a string.") + **/ + @ApiModelProperty(value = "An optional value that describes the maximum length of the property when the property is a string.") public Integer getMaxLength() { return maxLength; } + /** + * setMaxLength. + **/ public void setMaxLength(Integer maxLength) { this.maxLength = maxLength; } + + /** + * mergeField. + * + * @return Date + **/ public Date mergeField(MergeField mergeField) { this.mergeField = mergeField; return this; } - /** - * Get mergeField + /** + * Get mergeField. * @return mergeField - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public MergeField getMergeField() { return mergeField; } + /** + * setMergeField. + **/ public void setMergeField(MergeField mergeField) { this.mergeField = mergeField; } + + /** + * name. + * + * @return Date + **/ public Date name(String name) { this.name = name; return this; } - /** - * + /** + * . * @return name - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * originalValue. + * + * @return Date + **/ public Date originalValue(String originalValue) { this.originalValue = originalValue; return this; } - /** - * The initial value of the tab when it was sent to the recipient. + /** + * The initial value of the tab when it was sent to the recipient. . * @return originalValue - **/ - @ApiModelProperty(example = "null", value = "The initial value of the tab when it was sent to the recipient. ") + **/ + @ApiModelProperty(value = "The initial value of the tab when it was sent to the recipient. ") public String getOriginalValue() { return originalValue; } + /** + * setOriginalValue. + **/ public void setOriginalValue(String originalValue) { this.originalValue = originalValue; } + + /** + * pageNumber. + * + * @return Date + **/ public Date pageNumber(String pageNumber) { this.pageNumber = pageNumber; return this; } - /** - * Specifies the page number on which the tab is located. + /** + * Specifies the page number on which the tab is located.. * @return pageNumber - **/ - @ApiModelProperty(example = "null", value = "Specifies the page number on which the tab is located.") + **/ + @ApiModelProperty(value = "Specifies the page number on which the tab is located.") public String getPageNumber() { return pageNumber; } + /** + * setPageNumber. + **/ public void setPageNumber(String pageNumber) { this.pageNumber = pageNumber; } + + /** + * recipientId. + * + * @return Date + **/ public Date recipientId(String recipientId) { this.recipientId = recipientId; return this; } - /** - * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document. + /** + * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.. * @return recipientId - **/ - @ApiModelProperty(example = "null", value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") + **/ + @ApiModelProperty(value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") public String getRecipientId() { return recipientId; } + /** + * setRecipientId. + **/ public void setRecipientId(String recipientId) { this.recipientId = recipientId; } + + /** + * requireAll. + * + * @return Date + **/ public Date requireAll(String requireAll) { this.requireAll = requireAll; return this; } - /** - * When set to **true** and shared is true, information must be entered in this field to complete the envelope. + /** + * When set to **true** and shared is true, information must be entered in this field to complete the envelope. . * @return requireAll - **/ - @ApiModelProperty(example = "null", value = "When set to **true** and shared is true, information must be entered in this field to complete the envelope. ") + **/ + @ApiModelProperty(value = "When set to **true** and shared is true, information must be entered in this field to complete the envelope. ") public String getRequireAll() { return requireAll; } + /** + * setRequireAll. + **/ public void setRequireAll(String requireAll) { this.requireAll = requireAll; } + + /** + * required. + * + * @return Date + **/ public Date required(String required) { this.required = required; return this; } - /** - * When set to **true**, the signer is required to fill out this tab + /** + * When set to **true**, the signer is required to fill out this tab. * @return required - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the signer is required to fill out this tab") + **/ + @ApiModelProperty(value = "When set to **true**, the signer is required to fill out this tab") public String getRequired() { return required; } + /** + * setRequired. + **/ public void setRequired(String required) { this.required = required; } + + /** + * requireInitialOnSharedChange. + * + * @return Date + **/ public Date requireInitialOnSharedChange(String requireInitialOnSharedChange) { this.requireInitialOnSharedChange = requireInitialOnSharedChange; return this; } - /** - * Optional element for field markup. When set to **true**, the signer is required to initial when they modify a shared field. + /** + * Optional element for field markup. When set to **true**, the signer is required to initial when they modify a shared field.. * @return requireInitialOnSharedChange - **/ - @ApiModelProperty(example = "null", value = "Optional element for field markup. When set to **true**, the signer is required to initial when they modify a shared field.") + **/ + @ApiModelProperty(value = "Optional element for field markup. When set to **true**, the signer is required to initial when they modify a shared field.") public String getRequireInitialOnSharedChange() { return requireInitialOnSharedChange; } + /** + * setRequireInitialOnSharedChange. + **/ public void setRequireInitialOnSharedChange(String requireInitialOnSharedChange) { this.requireInitialOnSharedChange = requireInitialOnSharedChange; } + + /** + * senderRequired. + * + * @return Date + **/ public Date senderRequired(String senderRequired) { this.senderRequired = senderRequired; return this; } - /** - * When set to **true**, the sender must populate the tab before an envelope can be sent using the template. This value tab can only be changed by modifying (PUT) the template. Tabs with a `senderRequired` value of true cannot be deleted from an envelope. + /** + * When set to **true**, the sender must populate the tab before an envelope can be sent using the template. This value tab can only be changed by modifying (PUT) the template. Tabs with a `senderRequired` value of true cannot be deleted from an envelope.. * @return senderRequired - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender must populate the tab before an envelope can be sent using the template. This value tab can only be changed by modifying (PUT) the template. Tabs with a `senderRequired` value of true cannot be deleted from an envelope.") + **/ + @ApiModelProperty(value = "When set to **true**, the sender must populate the tab before an envelope can be sent using the template. This value tab can only be changed by modifying (PUT) the template. Tabs with a `senderRequired` value of true cannot be deleted from an envelope.") public String getSenderRequired() { return senderRequired; } + /** + * setSenderRequired. + **/ public void setSenderRequired(String senderRequired) { this.senderRequired = senderRequired; } + + /** + * shared. + * + * @return Date + **/ public Date shared(String shared) { this.shared = shared; return this; } - /** - * When set to **true**, this custom tab is shared. + /** + * When set to **true**, this custom tab is shared.. * @return shared - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, this custom tab is shared.") + **/ + @ApiModelProperty(value = "When set to **true**, this custom tab is shared.") public String getShared() { return shared; } + /** + * setShared. + **/ public void setShared(String shared) { this.shared = shared; } + + /** + * status. + * + * @return Date + **/ public Date status(String status) { this.status = status; return this; } - /** - * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. + /** + * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.. * @return status - **/ - @ApiModelProperty(example = "null", value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") + **/ + @ApiModelProperty(value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") public String getStatus() { return status; } + /** + * setStatus. + **/ public void setStatus(String status) { this.status = status; } + + /** + * tabGroupLabels. + * + * @return Date + **/ public Date tabGroupLabels(java.util.List tabGroupLabels) { this.tabGroupLabels = tabGroupLabels; return this; } - + + /** + * addTabGroupLabelsItem. + * + * @return Date + **/ public Date addTabGroupLabelsItem(String tabGroupLabelsItem) { + if (this.tabGroupLabels == null) { + this.tabGroupLabels = new java.util.ArrayList(); + } this.tabGroupLabels.add(tabGroupLabelsItem); return this; } - /** - * + /** + * . * @return tabGroupLabels - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getTabGroupLabels() { return tabGroupLabels; } + /** + * setTabGroupLabels. + **/ public void setTabGroupLabels(java.util.List tabGroupLabels) { this.tabGroupLabels = tabGroupLabels; } + + /** + * tabId. + * + * @return Date + **/ public Date tabId(String tabId) { this.tabId = tabId; return this; } - /** - * The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. + /** + * The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. . * @return tabId - **/ - @ApiModelProperty(example = "null", value = "The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. ") + **/ + @ApiModelProperty(value = "The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. ") public String getTabId() { return tabId; } + /** + * setTabId. + **/ public void setTabId(String tabId) { this.tabId = tabId; } + + /** + * tabLabel. + * + * @return Date + **/ public Date tabLabel(String tabLabel) { this.tabLabel = tabLabel; return this; } - /** - * The label string associated with the tab. + /** + * The label string associated with the tab.. * @return tabLabel - **/ - @ApiModelProperty(example = "null", value = "The label string associated with the tab.") + **/ + @ApiModelProperty(value = "The label string associated with the tab.") public String getTabLabel() { return tabLabel; } + /** + * setTabLabel. + **/ public void setTabLabel(String tabLabel) { this.tabLabel = tabLabel; } + + /** + * tabOrder. + * + * @return Date + **/ public Date tabOrder(String tabOrder) { this.tabOrder = tabOrder; return this; } - /** - * + /** + * . * @return tabOrder - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTabOrder() { return tabOrder; } + /** + * setTabOrder. + **/ public void setTabOrder(String tabOrder) { this.tabOrder = tabOrder; } + + /** + * templateLocked. + * + * @return Date + **/ public Date templateLocked(String templateLocked) { this.templateLocked = templateLocked; return this; } - /** - * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. . * @return templateLocked - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") + **/ + @ApiModelProperty(value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") public String getTemplateLocked() { return templateLocked; } + /** + * setTemplateLocked. + **/ public void setTemplateLocked(String templateLocked) { this.templateLocked = templateLocked; } + + /** + * templateRequired. + * + * @return Date + **/ public Date templateRequired(String templateRequired) { this.templateRequired = templateRequired; return this; } - /** - * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.. * @return templateRequired - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") + **/ + @ApiModelProperty(value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") public String getTemplateRequired() { return templateRequired; } + /** + * setTemplateRequired. + **/ public void setTemplateRequired(String templateRequired) { this.templateRequired = templateRequired; } + + /** + * tooltip. + * + * @return Date + **/ public Date tooltip(String tooltip) { this.tooltip = tooltip; return this; } - /** - * + /** + * . * @return tooltip - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTooltip() { return tooltip; } + /** + * setTooltip. + **/ public void setTooltip(String tooltip) { this.tooltip = tooltip; } + + /** + * underline. + * + * @return Date + **/ public Date underline(String underline) { this.underline = underline; return this; } - /** - * When set to **true**, the information in the tab is underlined. + /** + * When set to **true**, the information in the tab is underlined.. * @return underline - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is underlined.") + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is underlined.") public String getUnderline() { return underline; } + /** + * setUnderline. + **/ public void setUnderline(String underline) { this.underline = underline; } + + /** + * validationMessage. + * + * @return Date + **/ public Date validationMessage(String validationMessage) { this.validationMessage = validationMessage; return this; } - /** - * The message displayed if the custom tab fails input validation (either custom of embedded). + /** + * The message displayed if the custom tab fails input validation (either custom of embedded).. * @return validationMessage - **/ - @ApiModelProperty(example = "null", value = "The message displayed if the custom tab fails input validation (either custom of embedded).") + **/ + @ApiModelProperty(value = "The message displayed if the custom tab fails input validation (either custom of embedded).") public String getValidationMessage() { return validationMessage; } + /** + * setValidationMessage. + **/ public void setValidationMessage(String validationMessage) { this.validationMessage = validationMessage; } + + /** + * validationPattern. + * + * @return Date + **/ public Date validationPattern(String validationPattern) { this.validationPattern = validationPattern; return this; } - /** - * A regular expression used to validate input for the tab. + /** + * A regular expression used to validate input for the tab.. * @return validationPattern - **/ - @ApiModelProperty(example = "null", value = "A regular expression used to validate input for the tab.") + **/ + @ApiModelProperty(value = "A regular expression used to validate input for the tab.") public String getValidationPattern() { return validationPattern; } + /** + * setValidationPattern. + **/ public void setValidationPattern(String validationPattern) { this.validationPattern = validationPattern; } + + /** + * value. + * + * @return Date + **/ public Date value(String value) { this.value = value; return this; } - /** - * Specifies the value of the tab. + /** + * Specifies the value of the tab. . * @return value - **/ - @ApiModelProperty(example = "null", value = "Specifies the value of the tab. ") + **/ + @ApiModelProperty(value = "Specifies the value of the tab. ") public String getValue() { return value; } + /** + * setValue. + **/ public void setValue(String value) { this.value = value; } + + /** + * width. + * + * @return Date + **/ public Date width(Integer width) { this.width = width; return this; } - /** - * Width of the tab in pixels. + /** + * Width of the tab in pixels.. * @return width - **/ - @ApiModelProperty(example = "null", value = "Width of the tab in pixels.") + **/ + @ApiModelProperty(value = "Width of the tab in pixels.") public Integer getWidth() { return width; } + /** + * setWidth. + **/ public void setWidth(Integer width) { this.width = width; } + + /** + * xPosition. + * + * @return Date + **/ public Date xPosition(String xPosition) { this.xPosition = xPosition; return this; } - /** - * This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position. + /** + * This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.. * @return xPosition - **/ - @ApiModelProperty(example = "null", value = "This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.") + **/ + @ApiModelProperty(value = "This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.") public String getXPosition() { return xPosition; } + /** + * setXPosition. + **/ public void setXPosition(String xPosition) { this.xPosition = xPosition; } + + /** + * yPosition. + * + * @return Date + **/ public Date yPosition(String yPosition) { this.yPosition = yPosition; return this; } - /** - * This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position. + /** + * This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. * @return yPosition - **/ - @ApiModelProperty(example = "null", value = "This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.") + **/ + @ApiModelProperty(value = "This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.") public String getYPosition() { return yPosition; } + /** + * setYPosition. + **/ public void setYPosition(String yPosition) { this.yPosition = yPosition; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -1064,12 +1503,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.yPosition, date.yPosition); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(anchorCaseSensitive, anchorHorizontalAlignment, anchorIgnoreIfNotPresent, anchorMatchWholeWord, anchorString, anchorUnits, anchorXOffset, anchorYOffset, bold, concealValueOnDocument, conditionalParentLabel, conditionalParentValue, customTabId, disableAutoSize, documentId, errorDetails, font, fontColor, fontSize, italic, locked, maxLength, mergeField, name, originalValue, pageNumber, recipientId, requireAll, required, requireInitialOnSharedChange, senderRequired, shared, status, tabGroupLabels, tabId, tabLabel, tabOrder, templateLocked, templateRequired, tooltip, underline, validationMessage, validationPattern, value, width, xPosition, yPosition); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -1136,6 +1581,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/DateSigned.java b/src/main/java/com/docusign/esign/model/DateSigned.java index 9d289314..48c266b8 100644 --- a/src/main/java/com/docusign/esign/model/DateSigned.java +++ b/src/main/java/com/docusign/esign/model/DateSigned.java @@ -1,15 +1,18 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ErrorDetails; import com.docusign.esign.model.MergeField; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * DateSigned + * DateSigned. + * */ public class DateSigned { @@ -83,7 +86,7 @@ public class DateSigned { private String status = null; @JsonProperty("tabGroupLabels") - private java.util.List tabGroupLabels = new java.util.ArrayList(); + private java.util.List tabGroupLabels = null; @JsonProperty("tabId") private String tabId = null; @@ -115,624 +118,943 @@ public class DateSigned { @JsonProperty("yPosition") private String yPosition = null; + + /** + * anchorCaseSensitive. + * + * @return DateSigned + **/ public DateSigned anchorCaseSensitive(String anchorCaseSensitive) { this.anchorCaseSensitive = anchorCaseSensitive; return this; } - /** - * When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**. + /** + * When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.. * @return anchorCaseSensitive - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.") + **/ + @ApiModelProperty(value = "When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.") public String getAnchorCaseSensitive() { return anchorCaseSensitive; } + /** + * setAnchorCaseSensitive. + **/ public void setAnchorCaseSensitive(String anchorCaseSensitive) { this.anchorCaseSensitive = anchorCaseSensitive; } + + /** + * anchorHorizontalAlignment. + * + * @return DateSigned + **/ public DateSigned anchorHorizontalAlignment(String anchorHorizontalAlignment) { this.anchorHorizontalAlignment = anchorHorizontalAlignment; return this; } - /** - * Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**. + /** + * Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.. * @return anchorHorizontalAlignment - **/ - @ApiModelProperty(example = "null", value = "Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.") + **/ + @ApiModelProperty(value = "Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.") public String getAnchorHorizontalAlignment() { return anchorHorizontalAlignment; } + /** + * setAnchorHorizontalAlignment. + **/ public void setAnchorHorizontalAlignment(String anchorHorizontalAlignment) { this.anchorHorizontalAlignment = anchorHorizontalAlignment; } + + /** + * anchorIgnoreIfNotPresent. + * + * @return DateSigned + **/ public DateSigned anchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { this.anchorIgnoreIfNotPresent = anchorIgnoreIfNotPresent; return this; } - /** - * When set to **true**, this tab is ignored if anchorString is not found in the document. + /** + * When set to **true**, this tab is ignored if anchorString is not found in the document.. * @return anchorIgnoreIfNotPresent - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, this tab is ignored if anchorString is not found in the document.") + **/ + @ApiModelProperty(value = "When set to **true**, this tab is ignored if anchorString is not found in the document.") public String getAnchorIgnoreIfNotPresent() { return anchorIgnoreIfNotPresent; } + /** + * setAnchorIgnoreIfNotPresent. + **/ public void setAnchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { this.anchorIgnoreIfNotPresent = anchorIgnoreIfNotPresent; } + + /** + * anchorMatchWholeWord. + * + * @return DateSigned + **/ public DateSigned anchorMatchWholeWord(String anchorMatchWholeWord) { this.anchorMatchWholeWord = anchorMatchWholeWord; return this; } - /** - * When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**. + /** + * When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.. * @return anchorMatchWholeWord - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.") + **/ + @ApiModelProperty(value = "When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.") public String getAnchorMatchWholeWord() { return anchorMatchWholeWord; } + /** + * setAnchorMatchWholeWord. + **/ public void setAnchorMatchWholeWord(String anchorMatchWholeWord) { this.anchorMatchWholeWord = anchorMatchWholeWord; } + + /** + * anchorString. + * + * @return DateSigned + **/ public DateSigned anchorString(String anchorString) { this.anchorString = anchorString; return this; } - /** - * Anchor text information for a radio button. + /** + * Anchor text information for a radio button.. * @return anchorString - **/ - @ApiModelProperty(example = "null", value = "Anchor text information for a radio button.") + **/ + @ApiModelProperty(value = "Anchor text information for a radio button.") public String getAnchorString() { return anchorString; } + /** + * setAnchorString. + **/ public void setAnchorString(String anchorString) { this.anchorString = anchorString; } + + /** + * anchorUnits. + * + * @return DateSigned + **/ public DateSigned anchorUnits(String anchorUnits) { this.anchorUnits = anchorUnits; return this; } - /** - * Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. + /** + * Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. * @return anchorUnits - **/ - @ApiModelProperty(example = "null", value = "Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.") + **/ + @ApiModelProperty(value = "Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.") public String getAnchorUnits() { return anchorUnits; } + /** + * setAnchorUnits. + **/ public void setAnchorUnits(String anchorUnits) { this.anchorUnits = anchorUnits; } + + /** + * anchorXOffset. + * + * @return DateSigned + **/ public DateSigned anchorXOffset(String anchorXOffset) { this.anchorXOffset = anchorXOffset; return this; } - /** - * Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString. + /** + * Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. * @return anchorXOffset - **/ - @ApiModelProperty(example = "null", value = "Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.") + **/ + @ApiModelProperty(value = "Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.") public String getAnchorXOffset() { return anchorXOffset; } + /** + * setAnchorXOffset. + **/ public void setAnchorXOffset(String anchorXOffset) { this.anchorXOffset = anchorXOffset; } + + /** + * anchorYOffset. + * + * @return DateSigned + **/ public DateSigned anchorYOffset(String anchorYOffset) { this.anchorYOffset = anchorYOffset; return this; } - /** - * Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString. + /** + * Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.. * @return anchorYOffset - **/ - @ApiModelProperty(example = "null", value = "Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.") + **/ + @ApiModelProperty(value = "Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.") public String getAnchorYOffset() { return anchorYOffset; } + /** + * setAnchorYOffset. + **/ public void setAnchorYOffset(String anchorYOffset) { this.anchorYOffset = anchorYOffset; } + + /** + * bold. + * + * @return DateSigned + **/ public DateSigned bold(String bold) { this.bold = bold; return this; } - /** - * When set to **true**, the information in the tab is bold. + /** + * When set to **true**, the information in the tab is bold.. * @return bold - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is bold.") + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is bold.") public String getBold() { return bold; } + /** + * setBold. + **/ public void setBold(String bold) { this.bold = bold; } + + /** + * conditionalParentLabel. + * + * @return DateSigned + **/ public DateSigned conditionalParentLabel(String conditionalParentLabel) { this.conditionalParentLabel = conditionalParentLabel; return this; } - /** - * For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility. + /** + * For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.. * @return conditionalParentLabel - **/ - @ApiModelProperty(example = "null", value = "For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.") + **/ + @ApiModelProperty(value = "For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.") public String getConditionalParentLabel() { return conditionalParentLabel; } + /** + * setConditionalParentLabel. + **/ public void setConditionalParentLabel(String conditionalParentLabel) { this.conditionalParentLabel = conditionalParentLabel; } + + /** + * conditionalParentValue. + * + * @return DateSigned + **/ public DateSigned conditionalParentValue(String conditionalParentValue) { this.conditionalParentValue = conditionalParentValue; return this; } - /** - * For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. + /** + * For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. . * @return conditionalParentValue - **/ - @ApiModelProperty(example = "null", value = "For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. ") + **/ + @ApiModelProperty(value = "For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. ") public String getConditionalParentValue() { return conditionalParentValue; } + /** + * setConditionalParentValue. + **/ public void setConditionalParentValue(String conditionalParentValue) { this.conditionalParentValue = conditionalParentValue; } + + /** + * customTabId. + * + * @return DateSigned + **/ public DateSigned customTabId(String customTabId) { this.customTabId = customTabId; return this; } - /** - * The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties. + /** + * The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.. * @return customTabId - **/ - @ApiModelProperty(example = "null", value = "The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.") + **/ + @ApiModelProperty(value = "The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.") public String getCustomTabId() { return customTabId; } + /** + * setCustomTabId. + **/ public void setCustomTabId(String customTabId) { this.customTabId = customTabId; } + + /** + * documentId. + * + * @return DateSigned + **/ public DateSigned documentId(String documentId) { this.documentId = documentId; return this; } - /** - * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute. + /** + * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.. * @return documentId - **/ - @ApiModelProperty(example = "null", value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") + **/ + @ApiModelProperty(value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") public String getDocumentId() { return documentId; } + /** + * setDocumentId. + **/ public void setDocumentId(String documentId) { this.documentId = documentId; } + + /** + * errorDetails. + * + * @return DateSigned + **/ public DateSigned errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * font. + * + * @return DateSigned + **/ public DateSigned font(String font) { this.font = font; return this; } - /** - * The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default. + /** + * The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.. * @return font - **/ - @ApiModelProperty(example = "null", value = "The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.") + **/ + @ApiModelProperty(value = "The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.") public String getFont() { return font; } + /** + * setFont. + **/ public void setFont(String font) { this.font = font; } + + /** + * fontColor. + * + * @return DateSigned + **/ public DateSigned fontColor(String fontColor) { this.fontColor = fontColor; return this; } - /** - * The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White. + /** + * The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.. * @return fontColor - **/ - @ApiModelProperty(example = "null", value = "The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.") + **/ + @ApiModelProperty(value = "The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.") public String getFontColor() { return fontColor; } + /** + * setFontColor. + **/ public void setFontColor(String fontColor) { this.fontColor = fontColor; } + + /** + * fontSize. + * + * @return DateSigned + **/ public DateSigned fontSize(String fontSize) { this.fontSize = fontSize; return this; } - /** - * The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72. + /** + * The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.. * @return fontSize - **/ - @ApiModelProperty(example = "null", value = "The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.") + **/ + @ApiModelProperty(value = "The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.") public String getFontSize() { return fontSize; } + /** + * setFontSize. + **/ public void setFontSize(String fontSize) { this.fontSize = fontSize; } + + /** + * italic. + * + * @return DateSigned + **/ public DateSigned italic(String italic) { this.italic = italic; return this; } - /** - * When set to **true**, the information in the tab is italic. + /** + * When set to **true**, the information in the tab is italic.. * @return italic - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is italic.") + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is italic.") public String getItalic() { return italic; } + /** + * setItalic. + **/ public void setItalic(String italic) { this.italic = italic; } + + /** + * mergeField. + * + * @return DateSigned + **/ public DateSigned mergeField(MergeField mergeField) { this.mergeField = mergeField; return this; } - /** - * Get mergeField + /** + * Get mergeField. * @return mergeField - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public MergeField getMergeField() { return mergeField; } + /** + * setMergeField. + **/ public void setMergeField(MergeField mergeField) { this.mergeField = mergeField; } + + /** + * name. + * + * @return DateSigned + **/ public DateSigned name(String name) { this.name = name; return this; } - /** - * + /** + * . * @return name - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * pageNumber. + * + * @return DateSigned + **/ public DateSigned pageNumber(String pageNumber) { this.pageNumber = pageNumber; return this; } - /** - * Specifies the page number on which the tab is located. + /** + * Specifies the page number on which the tab is located.. * @return pageNumber - **/ - @ApiModelProperty(example = "null", value = "Specifies the page number on which the tab is located.") + **/ + @ApiModelProperty(value = "Specifies the page number on which the tab is located.") public String getPageNumber() { return pageNumber; } + /** + * setPageNumber. + **/ public void setPageNumber(String pageNumber) { this.pageNumber = pageNumber; } + + /** + * recipientId. + * + * @return DateSigned + **/ public DateSigned recipientId(String recipientId) { this.recipientId = recipientId; return this; } - /** - * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document. + /** + * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.. * @return recipientId - **/ - @ApiModelProperty(example = "null", value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") + **/ + @ApiModelProperty(value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") public String getRecipientId() { return recipientId; } + /** + * setRecipientId. + **/ public void setRecipientId(String recipientId) { this.recipientId = recipientId; } + + /** + * status. + * + * @return DateSigned + **/ public DateSigned status(String status) { this.status = status; return this; } - /** - * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. + /** + * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.. * @return status - **/ - @ApiModelProperty(example = "null", value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") + **/ + @ApiModelProperty(value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") public String getStatus() { return status; } + /** + * setStatus. + **/ public void setStatus(String status) { this.status = status; } + + /** + * tabGroupLabels. + * + * @return DateSigned + **/ public DateSigned tabGroupLabels(java.util.List tabGroupLabels) { this.tabGroupLabels = tabGroupLabels; return this; } - + + /** + * addTabGroupLabelsItem. + * + * @return DateSigned + **/ public DateSigned addTabGroupLabelsItem(String tabGroupLabelsItem) { + if (this.tabGroupLabels == null) { + this.tabGroupLabels = new java.util.ArrayList(); + } this.tabGroupLabels.add(tabGroupLabelsItem); return this; } - /** - * + /** + * . * @return tabGroupLabels - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getTabGroupLabels() { return tabGroupLabels; } + /** + * setTabGroupLabels. + **/ public void setTabGroupLabels(java.util.List tabGroupLabels) { this.tabGroupLabels = tabGroupLabels; } + + /** + * tabId. + * + * @return DateSigned + **/ public DateSigned tabId(String tabId) { this.tabId = tabId; return this; } - /** - * The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. + /** + * The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. . * @return tabId - **/ - @ApiModelProperty(example = "null", value = "The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. ") + **/ + @ApiModelProperty(value = "The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. ") public String getTabId() { return tabId; } + /** + * setTabId. + **/ public void setTabId(String tabId) { this.tabId = tabId; } + + /** + * tabLabel. + * + * @return DateSigned + **/ public DateSigned tabLabel(String tabLabel) { this.tabLabel = tabLabel; return this; } - /** - * The label string associated with the tab. + /** + * The label string associated with the tab.. * @return tabLabel - **/ - @ApiModelProperty(example = "null", value = "The label string associated with the tab.") + **/ + @ApiModelProperty(value = "The label string associated with the tab.") public String getTabLabel() { return tabLabel; } + /** + * setTabLabel. + **/ public void setTabLabel(String tabLabel) { this.tabLabel = tabLabel; } + + /** + * tabOrder. + * + * @return DateSigned + **/ public DateSigned tabOrder(String tabOrder) { this.tabOrder = tabOrder; return this; } - /** - * + /** + * . * @return tabOrder - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTabOrder() { return tabOrder; } + /** + * setTabOrder. + **/ public void setTabOrder(String tabOrder) { this.tabOrder = tabOrder; } + + /** + * templateLocked. + * + * @return DateSigned + **/ public DateSigned templateLocked(String templateLocked) { this.templateLocked = templateLocked; return this; } - /** - * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. . * @return templateLocked - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") + **/ + @ApiModelProperty(value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") public String getTemplateLocked() { return templateLocked; } + /** + * setTemplateLocked. + **/ public void setTemplateLocked(String templateLocked) { this.templateLocked = templateLocked; } + + /** + * templateRequired. + * + * @return DateSigned + **/ public DateSigned templateRequired(String templateRequired) { this.templateRequired = templateRequired; return this; } - /** - * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.. * @return templateRequired - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") + **/ + @ApiModelProperty(value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") public String getTemplateRequired() { return templateRequired; } + /** + * setTemplateRequired. + **/ public void setTemplateRequired(String templateRequired) { this.templateRequired = templateRequired; } + + /** + * tooltip. + * + * @return DateSigned + **/ public DateSigned tooltip(String tooltip) { this.tooltip = tooltip; return this; } - /** - * + /** + * . * @return tooltip - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTooltip() { return tooltip; } + /** + * setTooltip. + **/ public void setTooltip(String tooltip) { this.tooltip = tooltip; } + + /** + * underline. + * + * @return DateSigned + **/ public DateSigned underline(String underline) { this.underline = underline; return this; } - /** - * When set to **true**, the information in the tab is underlined. + /** + * When set to **true**, the information in the tab is underlined.. * @return underline - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is underlined.") + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is underlined.") public String getUnderline() { return underline; } + /** + * setUnderline. + **/ public void setUnderline(String underline) { this.underline = underline; } + + /** + * value. + * + * @return DateSigned + **/ public DateSigned value(String value) { this.value = value; return this; } - /** - * Specifies the value of the tab. + /** + * Specifies the value of the tab. . * @return value - **/ - @ApiModelProperty(example = "null", value = "Specifies the value of the tab. ") + **/ + @ApiModelProperty(value = "Specifies the value of the tab. ") public String getValue() { return value; } + /** + * setValue. + **/ public void setValue(String value) { this.value = value; } + + /** + * xPosition. + * + * @return DateSigned + **/ public DateSigned xPosition(String xPosition) { this.xPosition = xPosition; return this; } - /** - * This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position. + /** + * This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.. * @return xPosition - **/ - @ApiModelProperty(example = "null", value = "This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.") + **/ + @ApiModelProperty(value = "This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.") public String getXPosition() { return xPosition; } + /** + * setXPosition. + **/ public void setXPosition(String xPosition) { this.xPosition = xPosition; } + + /** + * yPosition. + * + * @return DateSigned + **/ public DateSigned yPosition(String yPosition) { this.yPosition = yPosition; return this; } - /** - * This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position. + /** + * This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. * @return yPosition - **/ - @ApiModelProperty(example = "null", value = "This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.") + **/ + @ApiModelProperty(value = "This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.") public String getYPosition() { return yPosition; } + /** + * setYPosition. + **/ public void setYPosition(String yPosition) { this.yPosition = yPosition; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -778,12 +1100,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.yPosition, dateSigned.yPosition); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(anchorCaseSensitive, anchorHorizontalAlignment, anchorIgnoreIfNotPresent, anchorMatchWholeWord, anchorString, anchorUnits, anchorXOffset, anchorYOffset, bold, conditionalParentLabel, conditionalParentValue, customTabId, documentId, errorDetails, font, fontColor, fontSize, italic, mergeField, name, pageNumber, recipientId, status, tabGroupLabels, tabId, tabLabel, tabOrder, templateLocked, templateRequired, tooltip, underline, value, xPosition, yPosition); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -837,6 +1165,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/DateStampProperties.java b/src/main/java/com/docusign/esign/model/DateStampProperties.java index eea43854..7ec98fb9 100644 --- a/src/main/java/com/docusign/esign/model/DateStampProperties.java +++ b/src/main/java/com/docusign/esign/model/DateStampProperties.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * DateStampProperties + * DateStampProperties. + * */ public class DateStampProperties { @@ -23,79 +26,120 @@ public class DateStampProperties { @JsonProperty("dateAreaY") private String dateAreaY = null; + + /** + * dateAreaHeight. + * + * @return DateStampProperties + **/ public DateStampProperties dateAreaHeight(String dateAreaHeight) { this.dateAreaHeight = dateAreaHeight; return this; } - /** - * + /** + * . * @return dateAreaHeight - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getDateAreaHeight() { return dateAreaHeight; } + /** + * setDateAreaHeight. + **/ public void setDateAreaHeight(String dateAreaHeight) { this.dateAreaHeight = dateAreaHeight; } + + /** + * dateAreaWidth. + * + * @return DateStampProperties + **/ public DateStampProperties dateAreaWidth(String dateAreaWidth) { this.dateAreaWidth = dateAreaWidth; return this; } - /** - * + /** + * . * @return dateAreaWidth - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getDateAreaWidth() { return dateAreaWidth; } + /** + * setDateAreaWidth. + **/ public void setDateAreaWidth(String dateAreaWidth) { this.dateAreaWidth = dateAreaWidth; } + + /** + * dateAreaX. + * + * @return DateStampProperties + **/ public DateStampProperties dateAreaX(String dateAreaX) { this.dateAreaX = dateAreaX; return this; } - /** - * + /** + * . * @return dateAreaX - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getDateAreaX() { return dateAreaX; } + /** + * setDateAreaX. + **/ public void setDateAreaX(String dateAreaX) { this.dateAreaX = dateAreaX; } + + /** + * dateAreaY. + * + * @return DateStampProperties + **/ public DateStampProperties dateAreaY(String dateAreaY) { this.dateAreaY = dateAreaY; return this; } - /** - * + /** + * . * @return dateAreaY - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getDateAreaY() { return dateAreaY; } + /** + * setDateAreaY. + **/ public void setDateAreaY(String dateAreaY) { this.dateAreaY = dateAreaY; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -111,12 +155,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.dateAreaY, dateStampProperties.dateAreaY); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(dateAreaHeight, dateAreaWidth, dateAreaX, dateAreaY); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -140,6 +190,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/Decline.java b/src/main/java/com/docusign/esign/model/Decline.java index b1c440bc..20f0654e 100644 --- a/src/main/java/com/docusign/esign/model/Decline.java +++ b/src/main/java/com/docusign/esign/model/Decline.java @@ -1,15 +1,18 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ErrorDetails; import com.docusign.esign.model.MergeField; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Decline + * Decline. + * */ public class Decline { @@ -89,7 +92,7 @@ public class Decline { private String status = null; @JsonProperty("tabGroupLabels") - private java.util.List tabGroupLabels = new java.util.ArrayList(); + private java.util.List tabGroupLabels = null; @JsonProperty("tabId") private String tabId = null; @@ -121,660 +124,997 @@ public class Decline { @JsonProperty("yPosition") private String yPosition = null; + + /** + * anchorCaseSensitive. + * + * @return Decline + **/ public Decline anchorCaseSensitive(String anchorCaseSensitive) { this.anchorCaseSensitive = anchorCaseSensitive; return this; } - /** - * When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**. + /** + * When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.. * @return anchorCaseSensitive - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.") + **/ + @ApiModelProperty(value = "When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.") public String getAnchorCaseSensitive() { return anchorCaseSensitive; } + /** + * setAnchorCaseSensitive. + **/ public void setAnchorCaseSensitive(String anchorCaseSensitive) { this.anchorCaseSensitive = anchorCaseSensitive; } + + /** + * anchorHorizontalAlignment. + * + * @return Decline + **/ public Decline anchorHorizontalAlignment(String anchorHorizontalAlignment) { this.anchorHorizontalAlignment = anchorHorizontalAlignment; return this; } - /** - * Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**. + /** + * Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.. * @return anchorHorizontalAlignment - **/ - @ApiModelProperty(example = "null", value = "Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.") + **/ + @ApiModelProperty(value = "Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.") public String getAnchorHorizontalAlignment() { return anchorHorizontalAlignment; } + /** + * setAnchorHorizontalAlignment. + **/ public void setAnchorHorizontalAlignment(String anchorHorizontalAlignment) { this.anchorHorizontalAlignment = anchorHorizontalAlignment; } + + /** + * anchorIgnoreIfNotPresent. + * + * @return Decline + **/ public Decline anchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { this.anchorIgnoreIfNotPresent = anchorIgnoreIfNotPresent; return this; } - /** - * When set to **true**, this tab is ignored if anchorString is not found in the document. + /** + * When set to **true**, this tab is ignored if anchorString is not found in the document.. * @return anchorIgnoreIfNotPresent - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, this tab is ignored if anchorString is not found in the document.") + **/ + @ApiModelProperty(value = "When set to **true**, this tab is ignored if anchorString is not found in the document.") public String getAnchorIgnoreIfNotPresent() { return anchorIgnoreIfNotPresent; } + /** + * setAnchorIgnoreIfNotPresent. + **/ public void setAnchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { this.anchorIgnoreIfNotPresent = anchorIgnoreIfNotPresent; } + + /** + * anchorMatchWholeWord. + * + * @return Decline + **/ public Decline anchorMatchWholeWord(String anchorMatchWholeWord) { this.anchorMatchWholeWord = anchorMatchWholeWord; return this; } - /** - * When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**. + /** + * When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.. * @return anchorMatchWholeWord - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.") + **/ + @ApiModelProperty(value = "When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.") public String getAnchorMatchWholeWord() { return anchorMatchWholeWord; } + /** + * setAnchorMatchWholeWord. + **/ public void setAnchorMatchWholeWord(String anchorMatchWholeWord) { this.anchorMatchWholeWord = anchorMatchWholeWord; } + + /** + * anchorString. + * + * @return Decline + **/ public Decline anchorString(String anchorString) { this.anchorString = anchorString; return this; } - /** - * Anchor text information for a radio button. + /** + * Anchor text information for a radio button.. * @return anchorString - **/ - @ApiModelProperty(example = "null", value = "Anchor text information for a radio button.") + **/ + @ApiModelProperty(value = "Anchor text information for a radio button.") public String getAnchorString() { return anchorString; } + /** + * setAnchorString. + **/ public void setAnchorString(String anchorString) { this.anchorString = anchorString; } + + /** + * anchorUnits. + * + * @return Decline + **/ public Decline anchorUnits(String anchorUnits) { this.anchorUnits = anchorUnits; return this; } - /** - * Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. + /** + * Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. * @return anchorUnits - **/ - @ApiModelProperty(example = "null", value = "Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.") + **/ + @ApiModelProperty(value = "Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.") public String getAnchorUnits() { return anchorUnits; } + /** + * setAnchorUnits. + **/ public void setAnchorUnits(String anchorUnits) { this.anchorUnits = anchorUnits; } + + /** + * anchorXOffset. + * + * @return Decline + **/ public Decline anchorXOffset(String anchorXOffset) { this.anchorXOffset = anchorXOffset; return this; } - /** - * Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString. + /** + * Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. * @return anchorXOffset - **/ - @ApiModelProperty(example = "null", value = "Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.") + **/ + @ApiModelProperty(value = "Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.") public String getAnchorXOffset() { return anchorXOffset; } + /** + * setAnchorXOffset. + **/ public void setAnchorXOffset(String anchorXOffset) { this.anchorXOffset = anchorXOffset; } + + /** + * anchorYOffset. + * + * @return Decline + **/ public Decline anchorYOffset(String anchorYOffset) { this.anchorYOffset = anchorYOffset; return this; } - /** - * Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString. + /** + * Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.. * @return anchorYOffset - **/ - @ApiModelProperty(example = "null", value = "Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.") + **/ + @ApiModelProperty(value = "Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.") public String getAnchorYOffset() { return anchorYOffset; } + /** + * setAnchorYOffset. + **/ public void setAnchorYOffset(String anchorYOffset) { this.anchorYOffset = anchorYOffset; } + + /** + * bold. + * + * @return Decline + **/ public Decline bold(String bold) { this.bold = bold; return this; } - /** - * When set to **true**, the information in the tab is bold. + /** + * When set to **true**, the information in the tab is bold.. * @return bold - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is bold.") + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is bold.") public String getBold() { return bold; } + /** + * setBold. + **/ public void setBold(String bold) { this.bold = bold; } + + /** + * buttonText. + * + * @return Decline + **/ public Decline buttonText(String buttonText) { this.buttonText = buttonText; return this; } - /** - * Specifies the decline text displayed in the tab. + /** + * Specifies the decline text displayed in the tab.. * @return buttonText - **/ - @ApiModelProperty(example = "null", value = " Specifies the decline text displayed in the tab.") + **/ + @ApiModelProperty(value = " Specifies the decline text displayed in the tab.") public String getButtonText() { return buttonText; } + /** + * setButtonText. + **/ public void setButtonText(String buttonText) { this.buttonText = buttonText; } + + /** + * conditionalParentLabel. + * + * @return Decline + **/ public Decline conditionalParentLabel(String conditionalParentLabel) { this.conditionalParentLabel = conditionalParentLabel; return this; } - /** - * For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility. + /** + * For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.. * @return conditionalParentLabel - **/ - @ApiModelProperty(example = "null", value = "For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.") + **/ + @ApiModelProperty(value = "For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.") public String getConditionalParentLabel() { return conditionalParentLabel; } + /** + * setConditionalParentLabel. + **/ public void setConditionalParentLabel(String conditionalParentLabel) { this.conditionalParentLabel = conditionalParentLabel; } + + /** + * conditionalParentValue. + * + * @return Decline + **/ public Decline conditionalParentValue(String conditionalParentValue) { this.conditionalParentValue = conditionalParentValue; return this; } - /** - * For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. + /** + * For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. . * @return conditionalParentValue - **/ - @ApiModelProperty(example = "null", value = "For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. ") + **/ + @ApiModelProperty(value = "For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. ") public String getConditionalParentValue() { return conditionalParentValue; } + /** + * setConditionalParentValue. + **/ public void setConditionalParentValue(String conditionalParentValue) { this.conditionalParentValue = conditionalParentValue; } + + /** + * customTabId. + * + * @return Decline + **/ public Decline customTabId(String customTabId) { this.customTabId = customTabId; return this; } - /** - * The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties. + /** + * The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.. * @return customTabId - **/ - @ApiModelProperty(example = "null", value = "The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.") + **/ + @ApiModelProperty(value = "The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.") public String getCustomTabId() { return customTabId; } + /** + * setCustomTabId. + **/ public void setCustomTabId(String customTabId) { this.customTabId = customTabId; } + + /** + * declineReason. + * + * @return Decline + **/ public Decline declineReason(String declineReason) { this.declineReason = declineReason; return this; } - /** - * The reason the recipient declined the document. + /** + * The reason the recipient declined the document.. * @return declineReason - **/ - @ApiModelProperty(example = "null", value = "The reason the recipient declined the document.") + **/ + @ApiModelProperty(value = "The reason the recipient declined the document.") public String getDeclineReason() { return declineReason; } + /** + * setDeclineReason. + **/ public void setDeclineReason(String declineReason) { this.declineReason = declineReason; } + + /** + * documentId. + * + * @return Decline + **/ public Decline documentId(String documentId) { this.documentId = documentId; return this; } - /** - * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute. + /** + * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.. * @return documentId - **/ - @ApiModelProperty(example = "null", value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") + **/ + @ApiModelProperty(value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") public String getDocumentId() { return documentId; } + /** + * setDocumentId. + **/ public void setDocumentId(String documentId) { this.documentId = documentId; } + + /** + * errorDetails. + * + * @return Decline + **/ public Decline errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * font. + * + * @return Decline + **/ public Decline font(String font) { this.font = font; return this; } - /** - * The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default. + /** + * The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.. * @return font - **/ - @ApiModelProperty(example = "null", value = "The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.") + **/ + @ApiModelProperty(value = "The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.") public String getFont() { return font; } + /** + * setFont. + **/ public void setFont(String font) { this.font = font; } + + /** + * fontColor. + * + * @return Decline + **/ public Decline fontColor(String fontColor) { this.fontColor = fontColor; return this; } - /** - * The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White. + /** + * The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.. * @return fontColor - **/ - @ApiModelProperty(example = "null", value = "The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.") + **/ + @ApiModelProperty(value = "The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.") public String getFontColor() { return fontColor; } + /** + * setFontColor. + **/ public void setFontColor(String fontColor) { this.fontColor = fontColor; } + + /** + * fontSize. + * + * @return Decline + **/ public Decline fontSize(String fontSize) { this.fontSize = fontSize; return this; } - /** - * The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72. + /** + * The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.. * @return fontSize - **/ - @ApiModelProperty(example = "null", value = "The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.") + **/ + @ApiModelProperty(value = "The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.") public String getFontSize() { return fontSize; } + /** + * setFontSize. + **/ public void setFontSize(String fontSize) { this.fontSize = fontSize; } + + /** + * height. + * + * @return Decline + **/ public Decline height(Integer height) { this.height = height; return this; } - /** - * Height of the tab in pixels. + /** + * Height of the tab in pixels.. * @return height - **/ - @ApiModelProperty(example = "null", value = "Height of the tab in pixels.") + **/ + @ApiModelProperty(value = "Height of the tab in pixels.") public Integer getHeight() { return height; } + /** + * setHeight. + **/ public void setHeight(Integer height) { this.height = height; } + + /** + * italic. + * + * @return Decline + **/ public Decline italic(String italic) { this.italic = italic; return this; } - /** - * When set to **true**, the information in the tab is italic. + /** + * When set to **true**, the information in the tab is italic.. * @return italic - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is italic.") + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is italic.") public String getItalic() { return italic; } + /** + * setItalic. + **/ public void setItalic(String italic) { this.italic = italic; } + + /** + * mergeField. + * + * @return Decline + **/ public Decline mergeField(MergeField mergeField) { this.mergeField = mergeField; return this; } - /** - * Get mergeField + /** + * Get mergeField. * @return mergeField - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public MergeField getMergeField() { return mergeField; } + /** + * setMergeField. + **/ public void setMergeField(MergeField mergeField) { this.mergeField = mergeField; } + + /** + * pageNumber. + * + * @return Decline + **/ public Decline pageNumber(String pageNumber) { this.pageNumber = pageNumber; return this; } - /** - * Specifies the page number on which the tab is located. + /** + * Specifies the page number on which the tab is located.. * @return pageNumber - **/ - @ApiModelProperty(example = "null", value = "Specifies the page number on which the tab is located.") + **/ + @ApiModelProperty(value = "Specifies the page number on which the tab is located.") public String getPageNumber() { return pageNumber; } + /** + * setPageNumber. + **/ public void setPageNumber(String pageNumber) { this.pageNumber = pageNumber; } + + /** + * recipientId. + * + * @return Decline + **/ public Decline recipientId(String recipientId) { this.recipientId = recipientId; return this; } - /** - * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document. + /** + * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.. * @return recipientId - **/ - @ApiModelProperty(example = "null", value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") + **/ + @ApiModelProperty(value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") public String getRecipientId() { return recipientId; } + /** + * setRecipientId. + **/ public void setRecipientId(String recipientId) { this.recipientId = recipientId; } + + /** + * status. + * + * @return Decline + **/ public Decline status(String status) { this.status = status; return this; } - /** - * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. + /** + * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.. * @return status - **/ - @ApiModelProperty(example = "null", value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") + **/ + @ApiModelProperty(value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") public String getStatus() { return status; } + /** + * setStatus. + **/ public void setStatus(String status) { this.status = status; } + + /** + * tabGroupLabels. + * + * @return Decline + **/ public Decline tabGroupLabels(java.util.List tabGroupLabels) { this.tabGroupLabels = tabGroupLabels; return this; } - + + /** + * addTabGroupLabelsItem. + * + * @return Decline + **/ public Decline addTabGroupLabelsItem(String tabGroupLabelsItem) { + if (this.tabGroupLabels == null) { + this.tabGroupLabels = new java.util.ArrayList(); + } this.tabGroupLabels.add(tabGroupLabelsItem); return this; } - /** - * + /** + * . * @return tabGroupLabels - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getTabGroupLabels() { return tabGroupLabels; } + /** + * setTabGroupLabels. + **/ public void setTabGroupLabels(java.util.List tabGroupLabels) { this.tabGroupLabels = tabGroupLabels; } + + /** + * tabId. + * + * @return Decline + **/ public Decline tabId(String tabId) { this.tabId = tabId; return this; } - /** - * The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. + /** + * The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. . * @return tabId - **/ - @ApiModelProperty(example = "null", value = "The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. ") + **/ + @ApiModelProperty(value = "The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. ") public String getTabId() { return tabId; } + /** + * setTabId. + **/ public void setTabId(String tabId) { this.tabId = tabId; } + + /** + * tabLabel. + * + * @return Decline + **/ public Decline tabLabel(String tabLabel) { this.tabLabel = tabLabel; return this; } - /** - * The label string associated with the tab. + /** + * The label string associated with the tab.. * @return tabLabel - **/ - @ApiModelProperty(example = "null", value = "The label string associated with the tab.") + **/ + @ApiModelProperty(value = "The label string associated with the tab.") public String getTabLabel() { return tabLabel; } + /** + * setTabLabel. + **/ public void setTabLabel(String tabLabel) { this.tabLabel = tabLabel; } + + /** + * tabOrder. + * + * @return Decline + **/ public Decline tabOrder(String tabOrder) { this.tabOrder = tabOrder; return this; } - /** - * + /** + * . * @return tabOrder - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTabOrder() { return tabOrder; } + /** + * setTabOrder. + **/ public void setTabOrder(String tabOrder) { this.tabOrder = tabOrder; } + + /** + * templateLocked. + * + * @return Decline + **/ public Decline templateLocked(String templateLocked) { this.templateLocked = templateLocked; return this; } - /** - * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. . * @return templateLocked - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") + **/ + @ApiModelProperty(value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") public String getTemplateLocked() { return templateLocked; } + /** + * setTemplateLocked. + **/ public void setTemplateLocked(String templateLocked) { this.templateLocked = templateLocked; } + + /** + * templateRequired. + * + * @return Decline + **/ public Decline templateRequired(String templateRequired) { this.templateRequired = templateRequired; return this; } - /** - * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.. * @return templateRequired - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") + **/ + @ApiModelProperty(value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") public String getTemplateRequired() { return templateRequired; } + /** + * setTemplateRequired. + **/ public void setTemplateRequired(String templateRequired) { this.templateRequired = templateRequired; } + + /** + * tooltip. + * + * @return Decline + **/ public Decline tooltip(String tooltip) { this.tooltip = tooltip; return this; } - /** - * + /** + * . * @return tooltip - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTooltip() { return tooltip; } + /** + * setTooltip. + **/ public void setTooltip(String tooltip) { this.tooltip = tooltip; } + + /** + * underline. + * + * @return Decline + **/ public Decline underline(String underline) { this.underline = underline; return this; } - /** - * When set to **true**, the information in the tab is underlined. + /** + * When set to **true**, the information in the tab is underlined.. * @return underline - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is underlined.") + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is underlined.") public String getUnderline() { return underline; } + /** + * setUnderline. + **/ public void setUnderline(String underline) { this.underline = underline; } + + /** + * width. + * + * @return Decline + **/ public Decline width(Integer width) { this.width = width; return this; } - /** - * Width of the tab in pixels. + /** + * Width of the tab in pixels.. * @return width - **/ - @ApiModelProperty(example = "null", value = "Width of the tab in pixels.") + **/ + @ApiModelProperty(value = "Width of the tab in pixels.") public Integer getWidth() { return width; } + /** + * setWidth. + **/ public void setWidth(Integer width) { this.width = width; } + + /** + * xPosition. + * + * @return Decline + **/ public Decline xPosition(String xPosition) { this.xPosition = xPosition; return this; } - /** - * This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position. + /** + * This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.. * @return xPosition - **/ - @ApiModelProperty(example = "null", value = "This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.") + **/ + @ApiModelProperty(value = "This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.") public String getXPosition() { return xPosition; } + /** + * setXPosition. + **/ public void setXPosition(String xPosition) { this.xPosition = xPosition; } + + /** + * yPosition. + * + * @return Decline + **/ public Decline yPosition(String yPosition) { this.yPosition = yPosition; return this; } - /** - * This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position. + /** + * This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. * @return yPosition - **/ - @ApiModelProperty(example = "null", value = "This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.") + **/ + @ApiModelProperty(value = "This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.") public String getYPosition() { return yPosition; } + /** + * setYPosition. + **/ public void setYPosition(String yPosition) { this.yPosition = yPosition; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -822,12 +1162,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.yPosition, decline.yPosition); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(anchorCaseSensitive, anchorHorizontalAlignment, anchorIgnoreIfNotPresent, anchorMatchWholeWord, anchorString, anchorUnits, anchorXOffset, anchorYOffset, bold, buttonText, conditionalParentLabel, conditionalParentValue, customTabId, declineReason, documentId, errorDetails, font, fontColor, fontSize, height, italic, mergeField, pageNumber, recipientId, status, tabGroupLabels, tabId, tabLabel, tabOrder, templateLocked, templateRequired, tooltip, underline, width, xPosition, yPosition); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -883,6 +1229,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/DiagnosticsSettingsInformation.java b/src/main/java/com/docusign/esign/model/DiagnosticsSettingsInformation.java index 512c651e..23b470a2 100644 --- a/src/main/java/com/docusign/esign/model/DiagnosticsSettingsInformation.java +++ b/src/main/java/com/docusign/esign/model/DiagnosticsSettingsInformation.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * DiagnosticsSettingsInformation + * DiagnosticsSettingsInformation. + * */ public class DiagnosticsSettingsInformation { @@ -20,61 +23,93 @@ public class DiagnosticsSettingsInformation { @JsonProperty("apiRequestLogRemainingEntries") private String apiRequestLogRemainingEntries = null; + + /** + * apiRequestLogging. + * + * @return DiagnosticsSettingsInformation + **/ public DiagnosticsSettingsInformation apiRequestLogging(String apiRequestLogging) { this.apiRequestLogging = apiRequestLogging; return this; } - /** - * When set to **true**, enables API request logging for the user. + /** + * When set to **true**, enables API request logging for the user. . * @return apiRequestLogging - **/ - @ApiModelProperty(example = "null", value = " When set to **true**, enables API request logging for the user. ") + **/ + @ApiModelProperty(value = " When set to **true**, enables API request logging for the user. ") public String getApiRequestLogging() { return apiRequestLogging; } + /** + * setApiRequestLogging. + **/ public void setApiRequestLogging(String apiRequestLogging) { this.apiRequestLogging = apiRequestLogging; } + + /** + * apiRequestLogMaxEntries. + * + * @return DiagnosticsSettingsInformation + **/ public DiagnosticsSettingsInformation apiRequestLogMaxEntries(String apiRequestLogMaxEntries) { this.apiRequestLogMaxEntries = apiRequestLogMaxEntries; return this; } - /** - * Specifies the maximum number of API requests to log. + /** + * Specifies the maximum number of API requests to log.. * @return apiRequestLogMaxEntries - **/ - @ApiModelProperty(example = "null", value = "Specifies the maximum number of API requests to log.") + **/ + @ApiModelProperty(value = "Specifies the maximum number of API requests to log.") public String getApiRequestLogMaxEntries() { return apiRequestLogMaxEntries; } + /** + * setApiRequestLogMaxEntries. + **/ public void setApiRequestLogMaxEntries(String apiRequestLogMaxEntries) { this.apiRequestLogMaxEntries = apiRequestLogMaxEntries; } + + /** + * apiRequestLogRemainingEntries. + * + * @return DiagnosticsSettingsInformation + **/ public DiagnosticsSettingsInformation apiRequestLogRemainingEntries(String apiRequestLogRemainingEntries) { this.apiRequestLogRemainingEntries = apiRequestLogRemainingEntries; return this; } - /** - * Indicates the remaining number of API requests that can be logged. + /** + * Indicates the remaining number of API requests that can be logged.. * @return apiRequestLogRemainingEntries - **/ - @ApiModelProperty(example = "null", value = "Indicates the remaining number of API requests that can be logged.") + **/ + @ApiModelProperty(value = "Indicates the remaining number of API requests that can be logged.") public String getApiRequestLogRemainingEntries() { return apiRequestLogRemainingEntries; } + /** + * setApiRequestLogRemainingEntries. + **/ public void setApiRequestLogRemainingEntries(String apiRequestLogRemainingEntries) { this.apiRequestLogRemainingEntries = apiRequestLogRemainingEntries; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -89,12 +124,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.apiRequestLogRemainingEntries, diagnosticsSettingsInformation.apiRequestLogRemainingEntries); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(apiRequestLogging, apiRequestLogMaxEntries, apiRequestLogRemainingEntries); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -117,6 +158,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/DirectDebitProcessorInformation.java b/src/main/java/com/docusign/esign/model/DirectDebitProcessorInformation.java new file mode 100644 index 00000000..0072975b --- /dev/null +++ b/src/main/java/com/docusign/esign/model/DirectDebitProcessorInformation.java @@ -0,0 +1,329 @@ +package com.docusign.esign.model; + +import java.util.Objects; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +/** + * DirectDebitProcessorInformation + */ + +public class DirectDebitProcessorInformation { + @JsonProperty("bankBranchCode") + private String bankBranchCode = null; + + @JsonProperty("bankCheckDigit") + private String bankCheckDigit = null; + + @JsonProperty("bankCode") + private String bankCode = null; + + @JsonProperty("bankName") + private String bankName = null; + + @JsonProperty("bankTransferAccountName") + private String bankTransferAccountName = null; + + @JsonProperty("bankTransferAccountNumber") + private String bankTransferAccountNumber = null; + + @JsonProperty("bankTransferType") + private String bankTransferType = null; + + @JsonProperty("country") + private String country = null; + + @JsonProperty("email") + private String email = null; + + @JsonProperty("firstName") + private String firstName = null; + + @JsonProperty("iBAN") + private String iBAN = null; + + @JsonProperty("lastName") + private String lastName = null; + + public DirectDebitProcessorInformation bankBranchCode(String bankBranchCode) { + this.bankBranchCode = bankBranchCode; + return this; + } + + /** + * + * @return bankBranchCode + **/ + @ApiModelProperty(example = "null", value = "") + public String getBankBranchCode() { + return bankBranchCode; + } + + public void setBankBranchCode(String bankBranchCode) { + this.bankBranchCode = bankBranchCode; + } + + public DirectDebitProcessorInformation bankCheckDigit(String bankCheckDigit) { + this.bankCheckDigit = bankCheckDigit; + return this; + } + + /** + * + * @return bankCheckDigit + **/ + @ApiModelProperty(example = "null", value = "") + public String getBankCheckDigit() { + return bankCheckDigit; + } + + public void setBankCheckDigit(String bankCheckDigit) { + this.bankCheckDigit = bankCheckDigit; + } + + public DirectDebitProcessorInformation bankCode(String bankCode) { + this.bankCode = bankCode; + return this; + } + + /** + * + * @return bankCode + **/ + @ApiModelProperty(example = "null", value = "") + public String getBankCode() { + return bankCode; + } + + public void setBankCode(String bankCode) { + this.bankCode = bankCode; + } + + public DirectDebitProcessorInformation bankName(String bankName) { + this.bankName = bankName; + return this; + } + + /** + * + * @return bankName + **/ + @ApiModelProperty(example = "null", value = "") + public String getBankName() { + return bankName; + } + + public void setBankName(String bankName) { + this.bankName = bankName; + } + + public DirectDebitProcessorInformation bankTransferAccountName(String bankTransferAccountName) { + this.bankTransferAccountName = bankTransferAccountName; + return this; + } + + /** + * + * @return bankTransferAccountName + **/ + @ApiModelProperty(example = "null", value = "") + public String getBankTransferAccountName() { + return bankTransferAccountName; + } + + public void setBankTransferAccountName(String bankTransferAccountName) { + this.bankTransferAccountName = bankTransferAccountName; + } + + public DirectDebitProcessorInformation bankTransferAccountNumber(String bankTransferAccountNumber) { + this.bankTransferAccountNumber = bankTransferAccountNumber; + return this; + } + + /** + * + * @return bankTransferAccountNumber + **/ + @ApiModelProperty(example = "null", value = "") + public String getBankTransferAccountNumber() { + return bankTransferAccountNumber; + } + + public void setBankTransferAccountNumber(String bankTransferAccountNumber) { + this.bankTransferAccountNumber = bankTransferAccountNumber; + } + + public DirectDebitProcessorInformation bankTransferType(String bankTransferType) { + this.bankTransferType = bankTransferType; + return this; + } + + /** + * + * @return bankTransferType + **/ + @ApiModelProperty(example = "null", value = "") + public String getBankTransferType() { + return bankTransferType; + } + + public void setBankTransferType(String bankTransferType) { + this.bankTransferType = bankTransferType; + } + + public DirectDebitProcessorInformation country(String country) { + this.country = country; + return this; + } + + /** + * Specifies the country associated with the address. + * @return country + **/ + @ApiModelProperty(example = "null", value = "Specifies the country associated with the address.") + public String getCountry() { + return country; + } + + public void setCountry(String country) { + this.country = country; + } + + public DirectDebitProcessorInformation email(String email) { + this.email = email; + return this; + } + + /** + * + * @return email + **/ + @ApiModelProperty(example = "null", value = "") + public String getEmail() { + return email; + } + + public void setEmail(String email) { + this.email = email; + } + + public DirectDebitProcessorInformation firstName(String firstName) { + this.firstName = firstName; + return this; + } + + /** + * The user's first name. Maximum Length: 50 characters. + * @return firstName + **/ + @ApiModelProperty(example = "null", value = "The user's first name. Maximum Length: 50 characters.") + public String getFirstName() { + return firstName; + } + + public void setFirstName(String firstName) { + this.firstName = firstName; + } + + public DirectDebitProcessorInformation iBAN(String iBAN) { + this.iBAN = iBAN; + return this; + } + + /** + * + * @return iBAN + **/ + @ApiModelProperty(example = "null", value = "") + public String getIBAN() { + return iBAN; + } + + public void setIBAN(String iBAN) { + this.iBAN = iBAN; + } + + public DirectDebitProcessorInformation lastName(String lastName) { + this.lastName = lastName; + return this; + } + + /** + * + * @return lastName + **/ + @ApiModelProperty(example = "null", value = "") + public String getLastName() { + return lastName; + } + + public void setLastName(String lastName) { + this.lastName = lastName; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DirectDebitProcessorInformation directDebitProcessorInformation = (DirectDebitProcessorInformation) o; + return Objects.equals(this.bankBranchCode, directDebitProcessorInformation.bankBranchCode) && + Objects.equals(this.bankCheckDigit, directDebitProcessorInformation.bankCheckDigit) && + Objects.equals(this.bankCode, directDebitProcessorInformation.bankCode) && + Objects.equals(this.bankName, directDebitProcessorInformation.bankName) && + Objects.equals(this.bankTransferAccountName, directDebitProcessorInformation.bankTransferAccountName) && + Objects.equals(this.bankTransferAccountNumber, directDebitProcessorInformation.bankTransferAccountNumber) && + Objects.equals(this.bankTransferType, directDebitProcessorInformation.bankTransferType) && + Objects.equals(this.country, directDebitProcessorInformation.country) && + Objects.equals(this.email, directDebitProcessorInformation.email) && + Objects.equals(this.firstName, directDebitProcessorInformation.firstName) && + Objects.equals(this.iBAN, directDebitProcessorInformation.iBAN) && + Objects.equals(this.lastName, directDebitProcessorInformation.lastName); + } + + @Override + public int hashCode() { + return Objects.hash(bankBranchCode, bankCheckDigit, bankCode, bankName, bankTransferAccountName, bankTransferAccountNumber, bankTransferType, country, email, firstName, iBAN, lastName); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DirectDebitProcessorInformation {\n"); + + sb.append(" bankBranchCode: ").append(toIndentedString(bankBranchCode)).append("\n"); + sb.append(" bankCheckDigit: ").append(toIndentedString(bankCheckDigit)).append("\n"); + sb.append(" bankCode: ").append(toIndentedString(bankCode)).append("\n"); + sb.append(" bankName: ").append(toIndentedString(bankName)).append("\n"); + sb.append(" bankTransferAccountName: ").append(toIndentedString(bankTransferAccountName)).append("\n"); + sb.append(" bankTransferAccountNumber: ").append(toIndentedString(bankTransferAccountNumber)).append("\n"); + sb.append(" bankTransferType: ").append(toIndentedString(bankTransferType)).append("\n"); + sb.append(" country: ").append(toIndentedString(country)).append("\n"); + sb.append(" email: ").append(toIndentedString(email)).append("\n"); + sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); + sb.append(" iBAN: ").append(toIndentedString(iBAN)).append("\n"); + sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/com/docusign/esign/model/DobInformationInput.java b/src/main/java/com/docusign/esign/model/DobInformationInput.java index da7ef86a..31f1fb03 100644 --- a/src/main/java/com/docusign/esign/model/DobInformationInput.java +++ b/src/main/java/com/docusign/esign/model/DobInformationInput.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Complex type containing: * dateOfBirth * displayLevelCode * receiveInResponse + * Complex type containing: * dateOfBirth * displayLevelCode * receiveInResponse. + * */ @ApiModel(description = "Complex type containing: * dateOfBirth * displayLevelCode * receiveInResponse") @@ -21,61 +24,93 @@ public class DobInformationInput { @JsonProperty("receiveInResponse") private String receiveInResponse = null; + + /** + * dateOfBirth. + * + * @return DobInformationInput + **/ public DobInformationInput dateOfBirth(String dateOfBirth) { this.dateOfBirth = dateOfBirth; return this; } - /** - * Specifies the recipient's date, month, and year of birth. + /** + * Specifies the recipient's date, month, and year of birth.. * @return dateOfBirth - **/ - @ApiModelProperty(example = "null", value = "Specifies the recipient's date, month, and year of birth.") + **/ + @ApiModelProperty(value = "Specifies the recipient's date, month, and year of birth.") public String getDateOfBirth() { return dateOfBirth; } + /** + * setDateOfBirth. + **/ public void setDateOfBirth(String dateOfBirth) { this.dateOfBirth = dateOfBirth; } + + /** + * displayLevelCode. + * + * @return DobInformationInput + **/ public DobInformationInput displayLevelCode(String displayLevelCode) { this.displayLevelCode = displayLevelCode; return this; } - /** - * Specifies the display level for the recipient. Valid values are: * ReadOnly * Editable * DoNotDisplay + /** + * Specifies the display level for the recipient. Valid values are: * ReadOnly * Editable * DoNotDisplay. * @return displayLevelCode - **/ - @ApiModelProperty(example = "null", value = "Specifies the display level for the recipient. Valid values are: * ReadOnly * Editable * DoNotDisplay") + **/ + @ApiModelProperty(value = "Specifies the display level for the recipient. Valid values are: * ReadOnly * Editable * DoNotDisplay") public String getDisplayLevelCode() { return displayLevelCode; } + /** + * setDisplayLevelCode. + **/ public void setDisplayLevelCode(String displayLevelCode) { this.displayLevelCode = displayLevelCode; } + + /** + * receiveInResponse. + * + * @return DobInformationInput + **/ public DobInformationInput receiveInResponse(String receiveInResponse) { this.receiveInResponse = receiveInResponse; return this; } - /** - * When set to **true**, the information needs to be returned in the response. + /** + * When set to **true**, the information needs to be returned in the response.. * @return receiveInResponse - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information needs to be returned in the response.") + **/ + @ApiModelProperty(value = "When set to **true**, the information needs to be returned in the response.") public String getReceiveInResponse() { return receiveInResponse; } + /** + * setReceiveInResponse. + **/ public void setReceiveInResponse(String receiveInResponse) { this.receiveInResponse = receiveInResponse; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -90,12 +125,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.receiveInResponse, dobInformationInput.receiveInResponse); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(dateOfBirth, displayLevelCode, receiveInResponse); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -118,6 +159,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/Document.java b/src/main/java/com/docusign/esign/model/Document.java index 16a7c367..d2c5a916 100644 --- a/src/main/java/com/docusign/esign/model/Document.java +++ b/src/main/java/com/docusign/esign/model/Document.java @@ -1,16 +1,19 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.DocumentHtmlDefinition; import com.docusign.esign.model.MatchBox; import com.docusign.esign.model.NameValue; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Document + * Document. + * */ public class Document { @@ -27,10 +30,7 @@ public class Document { private String documentBase64 = null; @JsonProperty("documentFields") - private java.util.List documentFields = new java.util.ArrayList(); - - @JsonProperty("documentGroup") - private String documentGroup = null; + private java.util.List documentFields = null; @JsonProperty("documentId") private String documentId = null; @@ -51,7 +51,7 @@ public class Document { private String includeInDownload = null; @JsonProperty("matchBoxes") - private java.util.List matchBoxes = new java.util.ArrayList(); + private java.util.List matchBoxes = null; @JsonProperty("name") private String name = null; @@ -83,431 +83,632 @@ public class Document { @JsonProperty("uri") private String uri = null; + + /** + * applyAnchorTabs. + * + * @return Document + **/ public Document applyAnchorTabs(String applyAnchorTabs) { this.applyAnchorTabs = applyAnchorTabs; return this; } - /** - * Reserved: TBD + /** + * Reserved: TBD. * @return applyAnchorTabs - **/ - @ApiModelProperty(example = "null", value = "Reserved: TBD") + **/ + @ApiModelProperty(value = "Reserved: TBD") public String getApplyAnchorTabs() { return applyAnchorTabs; } + /** + * setApplyAnchorTabs. + **/ public void setApplyAnchorTabs(String applyAnchorTabs) { this.applyAnchorTabs = applyAnchorTabs; } + + /** + * authoritativeCopy. + * + * @return Document + **/ public Document authoritativeCopy(Boolean authoritativeCopy) { this.authoritativeCopy = authoritativeCopy; return this; } - /** - * Specifies the Authoritative copy feature. If set to true the Authoritative copy feature is enabled. + /** + * Specifies the Authoritative copy feature. If set to true the Authoritative copy feature is enabled.. * @return authoritativeCopy - **/ - @ApiModelProperty(example = "null", value = "Specifies the Authoritative copy feature. If set to true the Authoritative copy feature is enabled.") - public Boolean getAuthoritativeCopy() { + **/ + @ApiModelProperty(value = "Specifies the Authoritative copy feature. If set to true the Authoritative copy feature is enabled.") + public Boolean isAuthoritativeCopy() { return authoritativeCopy; } + /** + * setAuthoritativeCopy. + **/ public void setAuthoritativeCopy(Boolean authoritativeCopy) { this.authoritativeCopy = authoritativeCopy; } + + /** + * display. + * + * @return Document + **/ public Document display(String display) { this.display = display; return this; } - /** - * + /** + * . * @return display - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getDisplay() { return display; } + /** + * setDisplay. + **/ public void setDisplay(String display) { this.display = display; } + + /** + * documentBase64. + * + * @return Document + **/ public Document documentBase64(String documentBase64) { this.documentBase64 = documentBase64; return this; } - /** - * The document's bytes. This field can be used to include a base64 version of the document bytes within an envelope definition instead of sending the document using a multi-part HTTP request. The maximum document size is smaller if this field is used due to the overhead of the base64 encoding. + /** + * The document's bytes. This field can be used to include a base64 version of the document bytes within an envelope definition instead of sending the document using a multi-part HTTP request. The maximum document size is smaller if this field is used due to the overhead of the base64 encoding.. * @return documentBase64 - **/ - @ApiModelProperty(example = "null", value = "The document's bytes. This field can be used to include a base64 version of the document bytes within an envelope definition instead of sending the document using a multi-part HTTP request. The maximum document size is smaller if this field is used due to the overhead of the base64 encoding.") + **/ + @ApiModelProperty(value = "The document's bytes. This field can be used to include a base64 version of the document bytes within an envelope definition instead of sending the document using a multi-part HTTP request. The maximum document size is smaller if this field is used due to the overhead of the base64 encoding.") public String getDocumentBase64() { return documentBase64; } + /** + * setDocumentBase64. + **/ public void setDocumentBase64(String documentBase64) { this.documentBase64 = documentBase64; } + + /** + * documentFields. + * + * @return Document + **/ public Document documentFields(java.util.List documentFields) { this.documentFields = documentFields; return this; } - + + /** + * addDocumentFieldsItem. + * + * @return Document + **/ public Document addDocumentFieldsItem(NameValue documentFieldsItem) { + if (this.documentFields == null) { + this.documentFields = new java.util.ArrayList(); + } this.documentFields.add(documentFieldsItem); return this; } - /** - * + /** + * . * @return documentFields - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getDocumentFields() { return documentFields; } + /** + * setDocumentFields. + **/ public void setDocumentFields(java.util.List documentFields) { this.documentFields = documentFields; } - public Document documentGroup(String documentGroup) { - this.documentGroup = documentGroup; - return this; - } - - /** - * - * @return documentGroup - **/ - @ApiModelProperty(example = "null", value = "") - public String getDocumentGroup() { - return documentGroup; - } - - public void setDocumentGroup(String documentGroup) { - this.documentGroup = documentGroup; - } + /** + * documentId. + * + * @return Document + **/ public Document documentId(String documentId) { this.documentId = documentId; return this; } - /** - * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute. + /** + * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.. * @return documentId - **/ - @ApiModelProperty(example = "null", value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") + **/ + @ApiModelProperty(value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") public String getDocumentId() { return documentId; } + /** + * setDocumentId. + **/ public void setDocumentId(String documentId) { this.documentId = documentId; } + + /** + * encryptedWithKeyManager. + * + * @return Document + **/ public Document encryptedWithKeyManager(String encryptedWithKeyManager) { this.encryptedWithKeyManager = encryptedWithKeyManager; return this; } - /** - * When set to **true**, the document is been already encrypted by the sender for use with the DocuSign Key Manager Security Appliance. + /** + * When set to **true**, the document is been already encrypted by the sender for use with the DocuSign Key Manager Security Appliance. . * @return encryptedWithKeyManager - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the document is been already encrypted by the sender for use with the DocuSign Key Manager Security Appliance. ") + **/ + @ApiModelProperty(value = "When set to **true**, the document is been already encrypted by the sender for use with the DocuSign Key Manager Security Appliance. ") public String getEncryptedWithKeyManager() { return encryptedWithKeyManager; } + /** + * setEncryptedWithKeyManager. + **/ public void setEncryptedWithKeyManager(String encryptedWithKeyManager) { this.encryptedWithKeyManager = encryptedWithKeyManager; } + + /** + * fileExtension. + * + * @return Document + **/ public Document fileExtension(String fileExtension) { this.fileExtension = fileExtension; return this; } - /** - * The file extension type of the document. If the document is not a PDF it is converted to a PDF. + /** + * The file extension type of the document. If the document is not a PDF it is converted to a PDF. . * @return fileExtension - **/ - @ApiModelProperty(example = "null", value = "The file extension type of the document. If the document is not a PDF it is converted to a PDF. ") + **/ + @ApiModelProperty(value = "The file extension type of the document. If the document is not a PDF it is converted to a PDF. ") public String getFileExtension() { return fileExtension; } + /** + * setFileExtension. + **/ public void setFileExtension(String fileExtension) { this.fileExtension = fileExtension; } + + /** + * fileFormatHint. + * + * @return Document + **/ public Document fileFormatHint(String fileFormatHint) { this.fileFormatHint = fileFormatHint; return this; } - /** - * + /** + * . * @return fileFormatHint - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getFileFormatHint() { return fileFormatHint; } + /** + * setFileFormatHint. + **/ public void setFileFormatHint(String fileFormatHint) { this.fileFormatHint = fileFormatHint; } + + /** + * htmlDefinition. + * + * @return Document + **/ public Document htmlDefinition(DocumentHtmlDefinition htmlDefinition) { this.htmlDefinition = htmlDefinition; return this; } - /** - * Get htmlDefinition + /** + * Get htmlDefinition. * @return htmlDefinition - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public DocumentHtmlDefinition getHtmlDefinition() { return htmlDefinition; } + /** + * setHtmlDefinition. + **/ public void setHtmlDefinition(DocumentHtmlDefinition htmlDefinition) { this.htmlDefinition = htmlDefinition; } + + /** + * includeInDownload. + * + * @return Document + **/ public Document includeInDownload(String includeInDownload) { this.includeInDownload = includeInDownload; return this; } - /** - * + /** + * . * @return includeInDownload - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getIncludeInDownload() { return includeInDownload; } + /** + * setIncludeInDownload. + **/ public void setIncludeInDownload(String includeInDownload) { this.includeInDownload = includeInDownload; } + + /** + * matchBoxes. + * + * @return Document + **/ public Document matchBoxes(java.util.List matchBoxes) { this.matchBoxes = matchBoxes; return this; } - + + /** + * addMatchBoxesItem. + * + * @return Document + **/ public Document addMatchBoxesItem(MatchBox matchBoxesItem) { + if (this.matchBoxes == null) { + this.matchBoxes = new java.util.ArrayList(); + } this.matchBoxes.add(matchBoxesItem); return this; } - /** - * Matchboxes define areas in a document for document matching when you are creating envelopes. They are only used when you upload and edit a template. A matchbox consists of 5 elements: * pageNumber - The document page number on which the matchbox will appear. * xPosition - The x position of the matchbox on a page. * yPosition - The y position of the matchbox on a page. * width - The width of the matchbox. * height - The height of the matchbox. + /** + * Matchboxes define areas in a document for document matching when you are creating envelopes. They are only used when you upload and edit a template. A matchbox consists of 5 elements: * pageNumber - The document page number on which the matchbox will appear. * xPosition - The x position of the matchbox on a page. * yPosition - The y position of the matchbox on a page. * width - The width of the matchbox. * height - The height of the matchbox. . * @return matchBoxes - **/ - @ApiModelProperty(example = "null", value = "Matchboxes define areas in a document for document matching when you are creating envelopes. They are only used when you upload and edit a template. A matchbox consists of 5 elements: * pageNumber - The document page number on which the matchbox will appear. * xPosition - The x position of the matchbox on a page. * yPosition - The y position of the matchbox on a page. * width - The width of the matchbox. * height - The height of the matchbox. ") + **/ + @ApiModelProperty(value = "Matchboxes define areas in a document for document matching when you are creating envelopes. They are only used when you upload and edit a template. A matchbox consists of 5 elements: * pageNumber - The document page number on which the matchbox will appear. * xPosition - The x position of the matchbox on a page. * yPosition - The y position of the matchbox on a page. * width - The width of the matchbox. * height - The height of the matchbox. ") public java.util.List getMatchBoxes() { return matchBoxes; } + /** + * setMatchBoxes. + **/ public void setMatchBoxes(java.util.List matchBoxes) { this.matchBoxes = matchBoxes; } + + /** + * name. + * + * @return Document + **/ public Document name(String name) { this.name = name; return this; } - /** - * + /** + * . * @return name - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * order. + * + * @return Document + **/ public Document order(String order) { this.order = order; return this; } - /** - * + /** + * . * @return order - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getOrder() { return order; } + /** + * setOrder. + **/ public void setOrder(String order) { this.order = order; } + + /** + * pages. + * + * @return Document + **/ public Document pages(String pages) { this.pages = pages; return this; } - /** - * + /** + * . * @return pages - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPages() { return pages; } + /** + * setPages. + **/ public void setPages(String pages) { this.pages = pages; } + + /** + * password. + * + * @return Document + **/ public Document password(String password) { this.password = password; return this; } - /** - * + /** + * . * @return password - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPassword() { return password; } + /** + * setPassword. + **/ public void setPassword(String password) { this.password = password; } + + /** + * remoteUrl. + * + * @return Document + **/ public Document remoteUrl(String remoteUrl) { this.remoteUrl = remoteUrl; return this; } - /** - * The file id from the cloud storage service where the document is located. This information is returned using [ML:GET /folders] or [ML:/folders/{folderid}]. + /** + * The file id from the cloud storage service where the document is located. This information is returned using [ML:GET /folders] or [ML:/folders/{folderid}]. . * @return remoteUrl - **/ - @ApiModelProperty(example = "null", value = "The file id from the cloud storage service where the document is located. This information is returned using [ML:GET /folders] or [ML:/folders/{folderid}]. ") + **/ + @ApiModelProperty(value = "The file id from the cloud storage service where the document is located. This information is returned using [ML:GET /folders] or [ML:/folders/{folderid}]. ") public String getRemoteUrl() { return remoteUrl; } + /** + * setRemoteUrl. + **/ public void setRemoteUrl(String remoteUrl) { this.remoteUrl = remoteUrl; } + + /** + * signerMustAcknowledge. + * + * @return Document + **/ public Document signerMustAcknowledge(String signerMustAcknowledge) { this.signerMustAcknowledge = signerMustAcknowledge; return this; } - /** - * + /** + * . * @return signerMustAcknowledge - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSignerMustAcknowledge() { return signerMustAcknowledge; } + /** + * setSignerMustAcknowledge. + **/ public void setSignerMustAcknowledge(String signerMustAcknowledge) { this.signerMustAcknowledge = signerMustAcknowledge; } + + /** + * templateLocked. + * + * @return Document + **/ public Document templateLocked(String templateLocked) { this.templateLocked = templateLocked; return this; } - /** - * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. . * @return templateLocked - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") + **/ + @ApiModelProperty(value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") public String getTemplateLocked() { return templateLocked; } + /** + * setTemplateLocked. + **/ public void setTemplateLocked(String templateLocked) { this.templateLocked = templateLocked; } + + /** + * templateRequired. + * + * @return Document + **/ public Document templateRequired(String templateRequired) { this.templateRequired = templateRequired; return this; } - /** - * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.. * @return templateRequired - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") + **/ + @ApiModelProperty(value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") public String getTemplateRequired() { return templateRequired; } + /** + * setTemplateRequired. + **/ public void setTemplateRequired(String templateRequired) { this.templateRequired = templateRequired; } + + /** + * transformPdfFields. + * + * @return Document + **/ public Document transformPdfFields(String transformPdfFields) { this.transformPdfFields = transformPdfFields; return this; } - /** - * When set to **true**, PDF form field data is transformed into document tab values when the PDF form field name matches the DocuSign custom tab tabLabel. The resulting PDF form data is also returned in the PDF meta data when requesting the document PDF. See the [ML:Transform PDF Fields] section for more information about how fields are transformed into DocuSign tabs. + /** + * When set to **true**, PDF form field data is transformed into document tab values when the PDF form field name matches the DocuSign custom tab tabLabel. The resulting PDF form data is also returned in the PDF meta data when requesting the document PDF. See the [ML:Transform PDF Fields] section for more information about how fields are transformed into DocuSign tabs. . * @return transformPdfFields - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, PDF form field data is transformed into document tab values when the PDF form field name matches the DocuSign custom tab tabLabel. The resulting PDF form data is also returned in the PDF meta data when requesting the document PDF. See the [ML:Transform PDF Fields] section for more information about how fields are transformed into DocuSign tabs. ") + **/ + @ApiModelProperty(value = "When set to **true**, PDF form field data is transformed into document tab values when the PDF form field name matches the DocuSign custom tab tabLabel. The resulting PDF form data is also returned in the PDF meta data when requesting the document PDF. See the [ML:Transform PDF Fields] section for more information about how fields are transformed into DocuSign tabs. ") public String getTransformPdfFields() { return transformPdfFields; } + /** + * setTransformPdfFields. + **/ public void setTransformPdfFields(String transformPdfFields) { this.transformPdfFields = transformPdfFields; } + + /** + * uri. + * + * @return Document + **/ public Document uri(String uri) { this.uri = uri; return this; } - /** - * + /** + * . * @return uri - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getUri() { return uri; } + /** + * setUri. + **/ public void setUri(String uri) { this.uri = uri; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -522,7 +723,6 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.display, document.display) && Objects.equals(this.documentBase64, document.documentBase64) && Objects.equals(this.documentFields, document.documentFields) && - Objects.equals(this.documentGroup, document.documentGroup) && Objects.equals(this.documentId, document.documentId) && Objects.equals(this.encryptedWithKeyManager, document.encryptedWithKeyManager) && Objects.equals(this.fileExtension, document.fileExtension) && @@ -542,12 +742,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.uri, document.uri); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { - return Objects.hash(applyAnchorTabs, authoritativeCopy, display, documentBase64, documentFields, documentGroup, documentId, encryptedWithKeyManager, fileExtension, fileFormatHint, htmlDefinition, includeInDownload, matchBoxes, name, order, pages, password, remoteUrl, signerMustAcknowledge, templateLocked, templateRequired, transformPdfFields, uri); + return Objects.hash(applyAnchorTabs, authoritativeCopy, display, documentBase64, documentFields, documentId, encryptedWithKeyManager, fileExtension, fileFormatHint, htmlDefinition, includeInDownload, matchBoxes, name, order, pages, password, remoteUrl, signerMustAcknowledge, templateLocked, templateRequired, transformPdfFields, uri); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -558,7 +764,6 @@ public String toString() { sb.append(" display: ").append(toIndentedString(display)).append("\n"); sb.append(" documentBase64: ").append(toIndentedString(documentBase64)).append("\n"); sb.append(" documentFields: ").append(toIndentedString(documentFields)).append("\n"); - sb.append(" documentGroup: ").append(toIndentedString(documentGroup)).append("\n"); sb.append(" documentId: ").append(toIndentedString(documentId)).append("\n"); sb.append(" encryptedWithKeyManager: ").append(toIndentedString(encryptedWithKeyManager)).append("\n"); sb.append(" fileExtension: ").append(toIndentedString(fileExtension)).append("\n"); @@ -590,6 +795,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/DocumentFieldsInformation.java b/src/main/java/com/docusign/esign/model/DocumentFieldsInformation.java index d0821f64..dc6385c3 100644 --- a/src/main/java/com/docusign/esign/model/DocumentFieldsInformation.java +++ b/src/main/java/com/docusign/esign/model/DocumentFieldsInformation.java @@ -1,44 +1,69 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.NameValue; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * DocumentFieldsInformation + * DocumentFieldsInformation. + * */ public class DocumentFieldsInformation { @JsonProperty("documentFields") - private java.util.List documentFields = new java.util.ArrayList(); + private java.util.List documentFields = null; + + /** + * documentFields. + * + * @return DocumentFieldsInformation + **/ public DocumentFieldsInformation documentFields(java.util.List documentFields) { this.documentFields = documentFields; return this; } - + + /** + * addDocumentFieldsItem. + * + * @return DocumentFieldsInformation + **/ public DocumentFieldsInformation addDocumentFieldsItem(NameValue documentFieldsItem) { + if (this.documentFields == null) { + this.documentFields = new java.util.ArrayList(); + } this.documentFields.add(documentFieldsItem); return this; } - /** - * The array of name/value custom data strings to be added to a document. Custom document field information is returned in the status, but otherwise is not used by DocuSign. The array contains the elements: * name - A string that can be a maximum of 50 characters. * value - A string that can be a maximum of 200 characters. *IMPORTANT*: If you are using xml, the name/value pair is contained in a nameValue element. + /** + * The array of name/value custom data strings to be added to a document. Custom document field information is returned in the status, but otherwise is not used by DocuSign. The array contains the elements: * name - A string that can be a maximum of 50 characters. * value - A string that can be a maximum of 200 characters. *IMPORTANT*: If you are using xml, the name/value pair is contained in a nameValue element. . * @return documentFields - **/ - @ApiModelProperty(example = "null", value = "The array of name/value custom data strings to be added to a document. Custom document field information is returned in the status, but otherwise is not used by DocuSign. The array contains the elements: * name - A string that can be a maximum of 50 characters. * value - A string that can be a maximum of 200 characters. *IMPORTANT*: If you are using xml, the name/value pair is contained in a nameValue element. ") + **/ + @ApiModelProperty(value = "The array of name/value custom data strings to be added to a document. Custom document field information is returned in the status, but otherwise is not used by DocuSign. The array contains the elements: * name - A string that can be a maximum of 50 characters. * value - A string that can be a maximum of 200 characters. *IMPORTANT*: If you are using xml, the name/value pair is contained in a nameValue element. ") public java.util.List getDocumentFields() { return documentFields; } + /** + * setDocumentFields. + **/ public void setDocumentFields(java.util.List documentFields) { this.documentFields = documentFields; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -51,12 +76,18 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.documentFields, documentFieldsInformation.documentFields); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(documentFields); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -77,6 +108,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/DocumentHtmlCollapsibleDisplaySettings.java b/src/main/java/com/docusign/esign/model/DocumentHtmlCollapsibleDisplaySettings.java index 54dc5a37..6bd904e2 100644 --- a/src/main/java/com/docusign/esign/model/DocumentHtmlCollapsibleDisplaySettings.java +++ b/src/main/java/com/docusign/esign/model/DocumentHtmlCollapsibleDisplaySettings.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * DocumentHtmlCollapsibleDisplaySettings + * DocumentHtmlCollapsibleDisplaySettings. + * */ public class DocumentHtmlCollapsibleDisplaySettings { @@ -41,187 +44,282 @@ public class DocumentHtmlCollapsibleDisplaySettings { @JsonProperty("outerLabelAndArrowStyle") private String outerLabelAndArrowStyle = null; + + /** + * arrowClosed. + * + * @return DocumentHtmlCollapsibleDisplaySettings + **/ public DocumentHtmlCollapsibleDisplaySettings arrowClosed(String arrowClosed) { this.arrowClosed = arrowClosed; return this; } - /** - * + /** + * . * @return arrowClosed - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getArrowClosed() { return arrowClosed; } + /** + * setArrowClosed. + **/ public void setArrowClosed(String arrowClosed) { this.arrowClosed = arrowClosed; } + + /** + * arrowColor. + * + * @return DocumentHtmlCollapsibleDisplaySettings + **/ public DocumentHtmlCollapsibleDisplaySettings arrowColor(String arrowColor) { this.arrowColor = arrowColor; return this; } - /** - * + /** + * . * @return arrowColor - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getArrowColor() { return arrowColor; } + /** + * setArrowColor. + **/ public void setArrowColor(String arrowColor) { this.arrowColor = arrowColor; } + + /** + * arrowLocation. + * + * @return DocumentHtmlCollapsibleDisplaySettings + **/ public DocumentHtmlCollapsibleDisplaySettings arrowLocation(String arrowLocation) { this.arrowLocation = arrowLocation; return this; } - /** - * + /** + * . * @return arrowLocation - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getArrowLocation() { return arrowLocation; } + /** + * setArrowLocation. + **/ public void setArrowLocation(String arrowLocation) { this.arrowLocation = arrowLocation; } + + /** + * arrowOpen. + * + * @return DocumentHtmlCollapsibleDisplaySettings + **/ public DocumentHtmlCollapsibleDisplaySettings arrowOpen(String arrowOpen) { this.arrowOpen = arrowOpen; return this; } - /** - * + /** + * . * @return arrowOpen - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getArrowOpen() { return arrowOpen; } + /** + * setArrowOpen. + **/ public void setArrowOpen(String arrowOpen) { this.arrowOpen = arrowOpen; } + + /** + * arrowSize. + * + * @return DocumentHtmlCollapsibleDisplaySettings + **/ public DocumentHtmlCollapsibleDisplaySettings arrowSize(String arrowSize) { this.arrowSize = arrowSize; return this; } - /** - * + /** + * . * @return arrowSize - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getArrowSize() { return arrowSize; } + /** + * setArrowSize. + **/ public void setArrowSize(String arrowSize) { this.arrowSize = arrowSize; } + + /** + * arrowStyle. + * + * @return DocumentHtmlCollapsibleDisplaySettings + **/ public DocumentHtmlCollapsibleDisplaySettings arrowStyle(String arrowStyle) { this.arrowStyle = arrowStyle; return this; } - /** - * + /** + * . * @return arrowStyle - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getArrowStyle() { return arrowStyle; } + /** + * setArrowStyle. + **/ public void setArrowStyle(String arrowStyle) { this.arrowStyle = arrowStyle; } + + /** + * containerStyle. + * + * @return DocumentHtmlCollapsibleDisplaySettings + **/ public DocumentHtmlCollapsibleDisplaySettings containerStyle(String containerStyle) { this.containerStyle = containerStyle; return this; } - /** - * + /** + * . * @return containerStyle - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getContainerStyle() { return containerStyle; } + /** + * setContainerStyle. + **/ public void setContainerStyle(String containerStyle) { this.containerStyle = containerStyle; } + + /** + * labelStyle. + * + * @return DocumentHtmlCollapsibleDisplaySettings + **/ public DocumentHtmlCollapsibleDisplaySettings labelStyle(String labelStyle) { this.labelStyle = labelStyle; return this; } - /** - * + /** + * . * @return labelStyle - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getLabelStyle() { return labelStyle; } + /** + * setLabelStyle. + **/ public void setLabelStyle(String labelStyle) { this.labelStyle = labelStyle; } + + /** + * onlyArrowIsClickable. + * + * @return DocumentHtmlCollapsibleDisplaySettings + **/ public DocumentHtmlCollapsibleDisplaySettings onlyArrowIsClickable(Boolean onlyArrowIsClickable) { this.onlyArrowIsClickable = onlyArrowIsClickable; return this; } - /** - * + /** + * . * @return onlyArrowIsClickable - **/ - @ApiModelProperty(example = "null", value = "") - public Boolean getOnlyArrowIsClickable() { + **/ + @ApiModelProperty(value = "") + public Boolean isOnlyArrowIsClickable() { return onlyArrowIsClickable; } + /** + * setOnlyArrowIsClickable. + **/ public void setOnlyArrowIsClickable(Boolean onlyArrowIsClickable) { this.onlyArrowIsClickable = onlyArrowIsClickable; } + + /** + * outerLabelAndArrowStyle. + * + * @return DocumentHtmlCollapsibleDisplaySettings + **/ public DocumentHtmlCollapsibleDisplaySettings outerLabelAndArrowStyle(String outerLabelAndArrowStyle) { this.outerLabelAndArrowStyle = outerLabelAndArrowStyle; return this; } - /** - * + /** + * . * @return outerLabelAndArrowStyle - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getOuterLabelAndArrowStyle() { return outerLabelAndArrowStyle; } + /** + * setOuterLabelAndArrowStyle. + **/ public void setOuterLabelAndArrowStyle(String outerLabelAndArrowStyle) { this.outerLabelAndArrowStyle = outerLabelAndArrowStyle; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -243,12 +341,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.outerLabelAndArrowStyle, documentHtmlCollapsibleDisplaySettings.outerLabelAndArrowStyle); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(arrowClosed, arrowColor, arrowLocation, arrowOpen, arrowSize, arrowStyle, containerStyle, labelStyle, onlyArrowIsClickable, outerLabelAndArrowStyle); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -278,6 +382,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/DocumentHtmlDefinition.java b/src/main/java/com/docusign/esign/model/DocumentHtmlDefinition.java index 45fba77e..d4955d09 100644 --- a/src/main/java/com/docusign/esign/model/DocumentHtmlDefinition.java +++ b/src/main/java/com/docusign/esign/model/DocumentHtmlDefinition.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.DocumentHtmlDisplayAnchor; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * DocumentHtmlDefinition + * DocumentHtmlDefinition. + * */ public class DocumentHtmlDefinition { @@ -16,7 +19,7 @@ public class DocumentHtmlDefinition { private String displayAnchorPrefix = null; @JsonProperty("displayAnchors") - private java.util.List displayAnchors = new java.util.ArrayList(); + private java.util.List displayAnchors = null; @JsonProperty("displayOrder") private String displayOrder = null; @@ -45,210 +48,322 @@ public class DocumentHtmlDefinition { @JsonProperty("source") private String source = null; + + /** + * displayAnchorPrefix. + * + * @return DocumentHtmlDefinition + **/ public DocumentHtmlDefinition displayAnchorPrefix(String displayAnchorPrefix) { this.displayAnchorPrefix = displayAnchorPrefix; return this; } - /** - * + /** + * . * @return displayAnchorPrefix - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getDisplayAnchorPrefix() { return displayAnchorPrefix; } + /** + * setDisplayAnchorPrefix. + **/ public void setDisplayAnchorPrefix(String displayAnchorPrefix) { this.displayAnchorPrefix = displayAnchorPrefix; } + + /** + * displayAnchors. + * + * @return DocumentHtmlDefinition + **/ public DocumentHtmlDefinition displayAnchors(java.util.List displayAnchors) { this.displayAnchors = displayAnchors; return this; } - + + /** + * addDisplayAnchorsItem. + * + * @return DocumentHtmlDefinition + **/ public DocumentHtmlDefinition addDisplayAnchorsItem(DocumentHtmlDisplayAnchor displayAnchorsItem) { + if (this.displayAnchors == null) { + this.displayAnchors = new java.util.ArrayList(); + } this.displayAnchors.add(displayAnchorsItem); return this; } - /** - * + /** + * . * @return displayAnchors - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getDisplayAnchors() { return displayAnchors; } + /** + * setDisplayAnchors. + **/ public void setDisplayAnchors(java.util.List displayAnchors) { this.displayAnchors = displayAnchors; } + + /** + * displayOrder. + * + * @return DocumentHtmlDefinition + **/ public DocumentHtmlDefinition displayOrder(String displayOrder) { this.displayOrder = displayOrder; return this; } - /** - * + /** + * . * @return displayOrder - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getDisplayOrder() { return displayOrder; } + /** + * setDisplayOrder. + **/ public void setDisplayOrder(String displayOrder) { this.displayOrder = displayOrder; } + + /** + * displayPageNumber. + * + * @return DocumentHtmlDefinition + **/ public DocumentHtmlDefinition displayPageNumber(String displayPageNumber) { this.displayPageNumber = displayPageNumber; return this; } - /** - * + /** + * . * @return displayPageNumber - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getDisplayPageNumber() { return displayPageNumber; } + /** + * setDisplayPageNumber. + **/ public void setDisplayPageNumber(String displayPageNumber) { this.displayPageNumber = displayPageNumber; } + + /** + * documentGuid. + * + * @return DocumentHtmlDefinition + **/ public DocumentHtmlDefinition documentGuid(String documentGuid) { this.documentGuid = documentGuid; return this; } - /** - * + /** + * . * @return documentGuid - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getDocumentGuid() { return documentGuid; } + /** + * setDocumentGuid. + **/ public void setDocumentGuid(String documentGuid) { this.documentGuid = documentGuid; } + + /** + * documentId. + * + * @return DocumentHtmlDefinition + **/ public DocumentHtmlDefinition documentId(String documentId) { this.documentId = documentId; return this; } - /** - * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute. + /** + * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.. * @return documentId - **/ - @ApiModelProperty(example = "null", value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") + **/ + @ApiModelProperty(value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") public String getDocumentId() { return documentId; } + /** + * setDocumentId. + **/ public void setDocumentId(String documentId) { this.documentId = documentId; } + + /** + * headerLabel. + * + * @return DocumentHtmlDefinition + **/ public DocumentHtmlDefinition headerLabel(String headerLabel) { this.headerLabel = headerLabel; return this; } - /** - * + /** + * . * @return headerLabel - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getHeaderLabel() { return headerLabel; } + /** + * setHeaderLabel. + **/ public void setHeaderLabel(String headerLabel) { this.headerLabel = headerLabel; } + + /** + * maxScreenWidth. + * + * @return DocumentHtmlDefinition + **/ public DocumentHtmlDefinition maxScreenWidth(String maxScreenWidth) { this.maxScreenWidth = maxScreenWidth; return this; } - /** - * + /** + * . * @return maxScreenWidth - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getMaxScreenWidth() { return maxScreenWidth; } + /** + * setMaxScreenWidth. + **/ public void setMaxScreenWidth(String maxScreenWidth) { this.maxScreenWidth = maxScreenWidth; } + + /** + * removeEmptyTags. + * + * @return DocumentHtmlDefinition + **/ public DocumentHtmlDefinition removeEmptyTags(String removeEmptyTags) { this.removeEmptyTags = removeEmptyTags; return this; } - /** - * + /** + * . * @return removeEmptyTags - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getRemoveEmptyTags() { return removeEmptyTags; } + /** + * setRemoveEmptyTags. + **/ public void setRemoveEmptyTags(String removeEmptyTags) { this.removeEmptyTags = removeEmptyTags; } + + /** + * showMobileOptimizedToggle. + * + * @return DocumentHtmlDefinition + **/ public DocumentHtmlDefinition showMobileOptimizedToggle(String showMobileOptimizedToggle) { this.showMobileOptimizedToggle = showMobileOptimizedToggle; return this; } - /** - * + /** + * . * @return showMobileOptimizedToggle - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getShowMobileOptimizedToggle() { return showMobileOptimizedToggle; } + /** + * setShowMobileOptimizedToggle. + **/ public void setShowMobileOptimizedToggle(String showMobileOptimizedToggle) { this.showMobileOptimizedToggle = showMobileOptimizedToggle; } + + /** + * source. + * + * @return DocumentHtmlDefinition + **/ public DocumentHtmlDefinition source(String source) { this.source = source; return this; } - /** - * + /** + * . * @return source - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSource() { return source; } + /** + * setSource. + **/ public void setSource(String source) { this.source = source; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -271,12 +386,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.source, documentHtmlDefinition.source); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(displayAnchorPrefix, displayAnchors, displayOrder, displayPageNumber, documentGuid, documentId, headerLabel, maxScreenWidth, removeEmptyTags, showMobileOptimizedToggle, source); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -307,6 +428,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/DocumentHtmlDefinitionOriginal.java b/src/main/java/com/docusign/esign/model/DocumentHtmlDefinitionOriginal.java index 9aa928f4..1e14686e 100644 --- a/src/main/java/com/docusign/esign/model/DocumentHtmlDefinitionOriginal.java +++ b/src/main/java/com/docusign/esign/model/DocumentHtmlDefinitionOriginal.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.DocumentHtmlDefinition; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * DocumentHtmlDefinitionOriginal + * DocumentHtmlDefinitionOriginal. + * */ public class DocumentHtmlDefinitionOriginal { @@ -21,61 +24,93 @@ public class DocumentHtmlDefinitionOriginal { @JsonProperty("htmlDefinition") private DocumentHtmlDefinition htmlDefinition = null; + + /** + * documentId. + * + * @return DocumentHtmlDefinitionOriginal + **/ public DocumentHtmlDefinitionOriginal documentId(String documentId) { this.documentId = documentId; return this; } - /** - * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute. + /** + * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.. * @return documentId - **/ - @ApiModelProperty(example = "null", value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") + **/ + @ApiModelProperty(value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") public String getDocumentId() { return documentId; } + /** + * setDocumentId. + **/ public void setDocumentId(String documentId) { this.documentId = documentId; } + + /** + * documentIdGuid. + * + * @return DocumentHtmlDefinitionOriginal + **/ public DocumentHtmlDefinitionOriginal documentIdGuid(String documentIdGuid) { this.documentIdGuid = documentIdGuid; return this; } - /** - * + /** + * . * @return documentIdGuid - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getDocumentIdGuid() { return documentIdGuid; } + /** + * setDocumentIdGuid. + **/ public void setDocumentIdGuid(String documentIdGuid) { this.documentIdGuid = documentIdGuid; } + + /** + * htmlDefinition. + * + * @return DocumentHtmlDefinitionOriginal + **/ public DocumentHtmlDefinitionOriginal htmlDefinition(DocumentHtmlDefinition htmlDefinition) { this.htmlDefinition = htmlDefinition; return this; } - /** - * Get htmlDefinition + /** + * Get htmlDefinition. * @return htmlDefinition - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public DocumentHtmlDefinition getHtmlDefinition() { return htmlDefinition; } + /** + * setHtmlDefinition. + **/ public void setHtmlDefinition(DocumentHtmlDefinition htmlDefinition) { this.htmlDefinition = htmlDefinition; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -90,12 +125,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.htmlDefinition, documentHtmlDefinitionOriginal.htmlDefinition); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(documentId, documentIdGuid, htmlDefinition); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -118,6 +159,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/DocumentHtmlDefinitionOriginals.java b/src/main/java/com/docusign/esign/model/DocumentHtmlDefinitionOriginals.java index bd9d12f4..5644f2f6 100644 --- a/src/main/java/com/docusign/esign/model/DocumentHtmlDefinitionOriginals.java +++ b/src/main/java/com/docusign/esign/model/DocumentHtmlDefinitionOriginals.java @@ -1,44 +1,69 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.DocumentHtmlDefinitionOriginal; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * DocumentHtmlDefinitionOriginals + * DocumentHtmlDefinitionOriginals. + * */ public class DocumentHtmlDefinitionOriginals { @JsonProperty("htmlDefinitions") - private java.util.List htmlDefinitions = new java.util.ArrayList(); + private java.util.List htmlDefinitions = null; + + /** + * htmlDefinitions. + * + * @return DocumentHtmlDefinitionOriginals + **/ public DocumentHtmlDefinitionOriginals htmlDefinitions(java.util.List htmlDefinitions) { this.htmlDefinitions = htmlDefinitions; return this; } - + + /** + * addHtmlDefinitionsItem. + * + * @return DocumentHtmlDefinitionOriginals + **/ public DocumentHtmlDefinitionOriginals addHtmlDefinitionsItem(DocumentHtmlDefinitionOriginal htmlDefinitionsItem) { + if (this.htmlDefinitions == null) { + this.htmlDefinitions = new java.util.ArrayList(); + } this.htmlDefinitions.add(htmlDefinitionsItem); return this; } - /** - * + /** + * . * @return htmlDefinitions - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getHtmlDefinitions() { return htmlDefinitions; } + /** + * setHtmlDefinitions. + **/ public void setHtmlDefinitions(java.util.List htmlDefinitions) { this.htmlDefinitions = htmlDefinitions; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -51,12 +76,18 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.htmlDefinitions, documentHtmlDefinitionOriginals.htmlDefinitions); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(htmlDefinitions); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -77,6 +108,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/DocumentHtmlDefinitions.java b/src/main/java/com/docusign/esign/model/DocumentHtmlDefinitions.java index d8ec75c2..60202ad9 100644 --- a/src/main/java/com/docusign/esign/model/DocumentHtmlDefinitions.java +++ b/src/main/java/com/docusign/esign/model/DocumentHtmlDefinitions.java @@ -1,43 +1,68 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * DocumentHtmlDefinitions + * DocumentHtmlDefinitions. + * */ public class DocumentHtmlDefinitions { @JsonProperty("htmlDefinitions") - private java.util.List htmlDefinitions = new java.util.ArrayList(); + private java.util.List htmlDefinitions = null; + + /** + * htmlDefinitions. + * + * @return DocumentHtmlDefinitions + **/ public DocumentHtmlDefinitions htmlDefinitions(java.util.List htmlDefinitions) { this.htmlDefinitions = htmlDefinitions; return this; } - + + /** + * addHtmlDefinitionsItem. + * + * @return DocumentHtmlDefinitions + **/ public DocumentHtmlDefinitions addHtmlDefinitionsItem(String htmlDefinitionsItem) { + if (this.htmlDefinitions == null) { + this.htmlDefinitions = new java.util.ArrayList(); + } this.htmlDefinitions.add(htmlDefinitionsItem); return this; } - /** - * + /** + * . * @return htmlDefinitions - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getHtmlDefinitions() { return htmlDefinitions; } + /** + * setHtmlDefinitions. + **/ public void setHtmlDefinitions(java.util.List htmlDefinitions) { this.htmlDefinitions = htmlDefinitions; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -50,12 +75,18 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.htmlDefinitions, documentHtmlDefinitions.htmlDefinitions); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(htmlDefinitions); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -76,6 +107,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/DocumentHtmlDisplayAnchor.java b/src/main/java/com/docusign/esign/model/DocumentHtmlDisplayAnchor.java index 1556c074..0c740adb 100644 --- a/src/main/java/com/docusign/esign/model/DocumentHtmlDisplayAnchor.java +++ b/src/main/java/com/docusign/esign/model/DocumentHtmlDisplayAnchor.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.DocumentHtmlDisplaySettings; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * DocumentHtmlDisplayAnchor + * DocumentHtmlDisplayAnchor. + * */ public class DocumentHtmlDisplayAnchor { @@ -30,115 +33,174 @@ public class DocumentHtmlDisplayAnchor { @JsonProperty("startAnchor") private String startAnchor = null; + + /** + * caseSensitive. + * + * @return DocumentHtmlDisplayAnchor + **/ public DocumentHtmlDisplayAnchor caseSensitive(Boolean caseSensitive) { this.caseSensitive = caseSensitive; return this; } - /** - * + /** + * . * @return caseSensitive - **/ - @ApiModelProperty(example = "null", value = "") - public Boolean getCaseSensitive() { + **/ + @ApiModelProperty(value = "") + public Boolean isCaseSensitive() { return caseSensitive; } + /** + * setCaseSensitive. + **/ public void setCaseSensitive(Boolean caseSensitive) { this.caseSensitive = caseSensitive; } + + /** + * displaySettings. + * + * @return DocumentHtmlDisplayAnchor + **/ public DocumentHtmlDisplayAnchor displaySettings(DocumentHtmlDisplaySettings displaySettings) { this.displaySettings = displaySettings; return this; } - /** - * Get displaySettings + /** + * Get displaySettings. * @return displaySettings - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public DocumentHtmlDisplaySettings getDisplaySettings() { return displaySettings; } + /** + * setDisplaySettings. + **/ public void setDisplaySettings(DocumentHtmlDisplaySettings displaySettings) { this.displaySettings = displaySettings; } + + /** + * endAnchor. + * + * @return DocumentHtmlDisplayAnchor + **/ public DocumentHtmlDisplayAnchor endAnchor(String endAnchor) { this.endAnchor = endAnchor; return this; } - /** - * + /** + * . * @return endAnchor - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getEndAnchor() { return endAnchor; } + /** + * setEndAnchor. + **/ public void setEndAnchor(String endAnchor) { this.endAnchor = endAnchor; } + + /** + * removeEndAnchor. + * + * @return DocumentHtmlDisplayAnchor + **/ public DocumentHtmlDisplayAnchor removeEndAnchor(Boolean removeEndAnchor) { this.removeEndAnchor = removeEndAnchor; return this; } - /** - * + /** + * . * @return removeEndAnchor - **/ - @ApiModelProperty(example = "null", value = "") - public Boolean getRemoveEndAnchor() { + **/ + @ApiModelProperty(value = "") + public Boolean isRemoveEndAnchor() { return removeEndAnchor; } + /** + * setRemoveEndAnchor. + **/ public void setRemoveEndAnchor(Boolean removeEndAnchor) { this.removeEndAnchor = removeEndAnchor; } + + /** + * removeStartAnchor. + * + * @return DocumentHtmlDisplayAnchor + **/ public DocumentHtmlDisplayAnchor removeStartAnchor(Boolean removeStartAnchor) { this.removeStartAnchor = removeStartAnchor; return this; } - /** - * + /** + * . * @return removeStartAnchor - **/ - @ApiModelProperty(example = "null", value = "") - public Boolean getRemoveStartAnchor() { + **/ + @ApiModelProperty(value = "") + public Boolean isRemoveStartAnchor() { return removeStartAnchor; } + /** + * setRemoveStartAnchor. + **/ public void setRemoveStartAnchor(Boolean removeStartAnchor) { this.removeStartAnchor = removeStartAnchor; } + + /** + * startAnchor. + * + * @return DocumentHtmlDisplayAnchor + **/ public DocumentHtmlDisplayAnchor startAnchor(String startAnchor) { this.startAnchor = startAnchor; return this; } - /** - * + /** + * . * @return startAnchor - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getStartAnchor() { return startAnchor; } + /** + * setStartAnchor. + **/ public void setStartAnchor(String startAnchor) { this.startAnchor = startAnchor; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -156,12 +218,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.startAnchor, documentHtmlDisplayAnchor.startAnchor); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(caseSensitive, displaySettings, endAnchor, removeEndAnchor, removeStartAnchor, startAnchor); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -187,6 +255,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/DocumentHtmlDisplaySettings.java b/src/main/java/com/docusign/esign/model/DocumentHtmlDisplaySettings.java index b0e6d85c..8ee942fd 100644 --- a/src/main/java/com/docusign/esign/model/DocumentHtmlDisplaySettings.java +++ b/src/main/java/com/docusign/esign/model/DocumentHtmlDisplaySettings.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.DocumentHtmlCollapsibleDisplaySettings; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * DocumentHtmlDisplaySettings + * DocumentHtmlDisplaySettings. + * */ public class DocumentHtmlDisplaySettings { @@ -39,211 +42,345 @@ public class DocumentHtmlDisplaySettings { @JsonProperty("labelWhenOpened") private String labelWhenOpened = null; + @JsonProperty("preLabel") + private String preLabel = null; + @JsonProperty("scrollToTopWhenOpened") private Boolean scrollToTopWhenOpened = null; @JsonProperty("tableStyle") private String tableStyle = null; + + /** + * cellStyle. + * + * @return DocumentHtmlDisplaySettings + **/ public DocumentHtmlDisplaySettings cellStyle(String cellStyle) { this.cellStyle = cellStyle; return this; } - /** - * + /** + * . * @return cellStyle - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getCellStyle() { return cellStyle; } + /** + * setCellStyle. + **/ public void setCellStyle(String cellStyle) { this.cellStyle = cellStyle; } + + /** + * collapsibleSettings. + * + * @return DocumentHtmlDisplaySettings + **/ public DocumentHtmlDisplaySettings collapsibleSettings(DocumentHtmlCollapsibleDisplaySettings collapsibleSettings) { this.collapsibleSettings = collapsibleSettings; return this; } - /** - * Get collapsibleSettings + /** + * Get collapsibleSettings. * @return collapsibleSettings - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public DocumentHtmlCollapsibleDisplaySettings getCollapsibleSettings() { return collapsibleSettings; } + /** + * setCollapsibleSettings. + **/ public void setCollapsibleSettings(DocumentHtmlCollapsibleDisplaySettings collapsibleSettings) { this.collapsibleSettings = collapsibleSettings; } + + /** + * display. + * + * @return DocumentHtmlDisplaySettings + **/ public DocumentHtmlDisplaySettings display(String display) { this.display = display; return this; } - /** - * + /** + * . * @return display - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getDisplay() { return display; } + /** + * setDisplay. + **/ public void setDisplay(String display) { this.display = display; } + + /** + * displayLabel. + * + * @return DocumentHtmlDisplaySettings + **/ public DocumentHtmlDisplaySettings displayLabel(String displayLabel) { this.displayLabel = displayLabel; return this; } - /** - * + /** + * . * @return displayLabel - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getDisplayLabel() { return displayLabel; } + /** + * setDisplayLabel. + **/ public void setDisplayLabel(String displayLabel) { this.displayLabel = displayLabel; } + + /** + * displayOrder. + * + * @return DocumentHtmlDisplaySettings + **/ public DocumentHtmlDisplaySettings displayOrder(Integer displayOrder) { this.displayOrder = displayOrder; return this; } - /** - * + /** + * . * @return displayOrder - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public Integer getDisplayOrder() { return displayOrder; } + /** + * setDisplayOrder. + **/ public void setDisplayOrder(Integer displayOrder) { this.displayOrder = displayOrder; } + + /** + * displayPageNumber. + * + * @return DocumentHtmlDisplaySettings + **/ public DocumentHtmlDisplaySettings displayPageNumber(Integer displayPageNumber) { this.displayPageNumber = displayPageNumber; return this; } - /** - * + /** + * . * @return displayPageNumber - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public Integer getDisplayPageNumber() { return displayPageNumber; } + /** + * setDisplayPageNumber. + **/ public void setDisplayPageNumber(Integer displayPageNumber) { this.displayPageNumber = displayPageNumber; } + + /** + * hideLabelWhenOpened. + * + * @return DocumentHtmlDisplaySettings + **/ public DocumentHtmlDisplaySettings hideLabelWhenOpened(Boolean hideLabelWhenOpened) { this.hideLabelWhenOpened = hideLabelWhenOpened; return this; } - /** - * + /** + * . * @return hideLabelWhenOpened - **/ - @ApiModelProperty(example = "null", value = "") - public Boolean getHideLabelWhenOpened() { + **/ + @ApiModelProperty(value = "") + public Boolean isHideLabelWhenOpened() { return hideLabelWhenOpened; } + /** + * setHideLabelWhenOpened. + **/ public void setHideLabelWhenOpened(Boolean hideLabelWhenOpened) { this.hideLabelWhenOpened = hideLabelWhenOpened; } + + /** + * inlineOuterStyle. + * + * @return DocumentHtmlDisplaySettings + **/ public DocumentHtmlDisplaySettings inlineOuterStyle(String inlineOuterStyle) { this.inlineOuterStyle = inlineOuterStyle; return this; } - /** - * + /** + * . * @return inlineOuterStyle - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getInlineOuterStyle() { return inlineOuterStyle; } + /** + * setInlineOuterStyle. + **/ public void setInlineOuterStyle(String inlineOuterStyle) { this.inlineOuterStyle = inlineOuterStyle; } + + /** + * labelWhenOpened. + * + * @return DocumentHtmlDisplaySettings + **/ public DocumentHtmlDisplaySettings labelWhenOpened(String labelWhenOpened) { this.labelWhenOpened = labelWhenOpened; return this; } - /** - * + /** + * . * @return labelWhenOpened - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getLabelWhenOpened() { return labelWhenOpened; } + /** + * setLabelWhenOpened. + **/ public void setLabelWhenOpened(String labelWhenOpened) { this.labelWhenOpened = labelWhenOpened; } + + /** + * preLabel. + * + * @return DocumentHtmlDisplaySettings + **/ + public DocumentHtmlDisplaySettings preLabel(String preLabel) { + this.preLabel = preLabel; + return this; + } + + /** + * . + * @return preLabel + **/ + @ApiModelProperty(value = "") + public String getPreLabel() { + return preLabel; + } + + /** + * setPreLabel. + **/ + public void setPreLabel(String preLabel) { + this.preLabel = preLabel; + } + + + /** + * scrollToTopWhenOpened. + * + * @return DocumentHtmlDisplaySettings + **/ public DocumentHtmlDisplaySettings scrollToTopWhenOpened(Boolean scrollToTopWhenOpened) { this.scrollToTopWhenOpened = scrollToTopWhenOpened; return this; } - /** - * + /** + * . * @return scrollToTopWhenOpened - **/ - @ApiModelProperty(example = "null", value = "") - public Boolean getScrollToTopWhenOpened() { + **/ + @ApiModelProperty(value = "") + public Boolean isScrollToTopWhenOpened() { return scrollToTopWhenOpened; } + /** + * setScrollToTopWhenOpened. + **/ public void setScrollToTopWhenOpened(Boolean scrollToTopWhenOpened) { this.scrollToTopWhenOpened = scrollToTopWhenOpened; } + + /** + * tableStyle. + * + * @return DocumentHtmlDisplaySettings + **/ public DocumentHtmlDisplaySettings tableStyle(String tableStyle) { this.tableStyle = tableStyle; return this; } - /** - * + /** + * . * @return tableStyle - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTableStyle() { return tableStyle; } + /** + * setTableStyle. + **/ public void setTableStyle(String tableStyle) { this.tableStyle = tableStyle; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -262,16 +399,23 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.hideLabelWhenOpened, documentHtmlDisplaySettings.hideLabelWhenOpened) && Objects.equals(this.inlineOuterStyle, documentHtmlDisplaySettings.inlineOuterStyle) && Objects.equals(this.labelWhenOpened, documentHtmlDisplaySettings.labelWhenOpened) && + Objects.equals(this.preLabel, documentHtmlDisplaySettings.preLabel) && Objects.equals(this.scrollToTopWhenOpened, documentHtmlDisplaySettings.scrollToTopWhenOpened) && Objects.equals(this.tableStyle, documentHtmlDisplaySettings.tableStyle); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { - return Objects.hash(cellStyle, collapsibleSettings, display, displayLabel, displayOrder, displayPageNumber, hideLabelWhenOpened, inlineOuterStyle, labelWhenOpened, scrollToTopWhenOpened, tableStyle); + return Objects.hash(cellStyle, collapsibleSettings, display, displayLabel, displayOrder, displayPageNumber, hideLabelWhenOpened, inlineOuterStyle, labelWhenOpened, preLabel, scrollToTopWhenOpened, tableStyle); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -286,6 +430,7 @@ public String toString() { sb.append(" hideLabelWhenOpened: ").append(toIndentedString(hideLabelWhenOpened)).append("\n"); sb.append(" inlineOuterStyle: ").append(toIndentedString(inlineOuterStyle)).append("\n"); sb.append(" labelWhenOpened: ").append(toIndentedString(labelWhenOpened)).append("\n"); + sb.append(" preLabel: ").append(toIndentedString(preLabel)).append("\n"); sb.append(" scrollToTopWhenOpened: ").append(toIndentedString(scrollToTopWhenOpened)).append("\n"); sb.append(" tableStyle: ").append(toIndentedString(tableStyle)).append("\n"); sb.append("}"); @@ -302,6 +447,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/DocumentSecurityStore.java b/src/main/java/com/docusign/esign/model/DocumentSecurityStore.java index 493e268b..f90bb26f 100644 --- a/src/main/java/com/docusign/esign/model/DocumentSecurityStore.java +++ b/src/main/java/com/docusign/esign/model/DocumentSecurityStore.java @@ -1,8 +1,10 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; @@ -12,13 +14,13 @@ public class DocumentSecurityStore { @JsonProperty("certificates") - private java.util.List certificates = new java.util.ArrayList(); + private java.util.List certificates = null; @JsonProperty("crls") - private java.util.List crls = new java.util.ArrayList(); + private java.util.List crls = null; @JsonProperty("ocsps") - private java.util.List ocsps = new java.util.ArrayList(); + private java.util.List ocsps = null; public DocumentSecurityStore certificates(java.util.List certificates) { this.certificates = certificates; @@ -26,6 +28,9 @@ public DocumentSecurityStore certificates(java.util.List certificates) { } public DocumentSecurityStore addCertificatesItem(String certificatesItem) { + if (this.certificates == null) { + this.certificates = new java.util.ArrayList(); + } this.certificates.add(certificatesItem); return this; } @@ -34,7 +39,7 @@ public DocumentSecurityStore addCertificatesItem(String certificatesItem) { * * @return certificates **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public java.util.List getCertificates() { return certificates; } @@ -49,6 +54,9 @@ public DocumentSecurityStore crls(java.util.List crls) { } public DocumentSecurityStore addCrlsItem(String crlsItem) { + if (this.crls == null) { + this.crls = new java.util.ArrayList(); + } this.crls.add(crlsItem); return this; } @@ -57,7 +65,7 @@ public DocumentSecurityStore addCrlsItem(String crlsItem) { * * @return crls **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public java.util.List getCrls() { return crls; } @@ -72,6 +80,9 @@ public DocumentSecurityStore ocsps(java.util.List ocsps) { } public DocumentSecurityStore addOcspsItem(String ocspsItem) { + if (this.ocsps == null) { + this.ocsps = new java.util.ArrayList(); + } this.ocsps.add(ocspsItem); return this; } @@ -80,7 +91,7 @@ public DocumentSecurityStore addOcspsItem(String ocspsItem) { * * @return ocsps **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public java.util.List getOcsps() { return ocsps; } @@ -132,6 +143,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/DocumentTemplate.java b/src/main/java/com/docusign/esign/model/DocumentTemplate.java index 84432bce..7ffe11e9 100644 --- a/src/main/java/com/docusign/esign/model/DocumentTemplate.java +++ b/src/main/java/com/docusign/esign/model/DocumentTemplate.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ErrorDetails; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * DocumentTemplate + * DocumentTemplate. + * */ public class DocumentTemplate { @@ -27,97 +30,147 @@ public class DocumentTemplate { @JsonProperty("templateId") private String templateId = null; + + /** + * documentEndPage. + * + * @return DocumentTemplate + **/ public DocumentTemplate documentEndPage(String documentEndPage) { this.documentEndPage = documentEndPage; return this; } - /** - * + /** + * . * @return documentEndPage - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getDocumentEndPage() { return documentEndPage; } + /** + * setDocumentEndPage. + **/ public void setDocumentEndPage(String documentEndPage) { this.documentEndPage = documentEndPage; } + + /** + * documentId. + * + * @return DocumentTemplate + **/ public DocumentTemplate documentId(String documentId) { this.documentId = documentId; return this; } - /** - * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute. + /** + * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.. * @return documentId - **/ - @ApiModelProperty(example = "null", value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") + **/ + @ApiModelProperty(value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") public String getDocumentId() { return documentId; } + /** + * setDocumentId. + **/ public void setDocumentId(String documentId) { this.documentId = documentId; } + + /** + * documentStartPage. + * + * @return DocumentTemplate + **/ public DocumentTemplate documentStartPage(String documentStartPage) { this.documentStartPage = documentStartPage; return this; } - /** - * + /** + * . * @return documentStartPage - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getDocumentStartPage() { return documentStartPage; } + /** + * setDocumentStartPage. + **/ public void setDocumentStartPage(String documentStartPage) { this.documentStartPage = documentStartPage; } + + /** + * errorDetails. + * + * @return DocumentTemplate + **/ public DocumentTemplate errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * templateId. + * + * @return DocumentTemplate + **/ public DocumentTemplate templateId(String templateId) { this.templateId = templateId; return this; } - /** - * The unique identifier of the template. If this is not provided, DocuSign will generate a value. + /** + * The unique identifier of the template. If this is not provided, DocuSign will generate a value. . * @return templateId - **/ - @ApiModelProperty(example = "null", value = "The unique identifier of the template. If this is not provided, DocuSign will generate a value. ") + **/ + @ApiModelProperty(value = "The unique identifier of the template. If this is not provided, DocuSign will generate a value. ") public String getTemplateId() { return templateId; } + /** + * setTemplateId. + **/ public void setTemplateId(String templateId) { this.templateId = templateId; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -134,12 +187,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.templateId, documentTemplate.templateId); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(documentEndPage, documentId, documentStartPage, errorDetails, templateId); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -164,6 +223,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/DocumentTemplateList.java b/src/main/java/com/docusign/esign/model/DocumentTemplateList.java index 03c54779..def216c1 100644 --- a/src/main/java/com/docusign/esign/model/DocumentTemplateList.java +++ b/src/main/java/com/docusign/esign/model/DocumentTemplateList.java @@ -1,44 +1,69 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.DocumentTemplate; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * DocumentTemplateList + * DocumentTemplateList. + * */ public class DocumentTemplateList { @JsonProperty("documentTemplates") - private java.util.List documentTemplates = new java.util.ArrayList(); + private java.util.List documentTemplates = null; + + /** + * documentTemplates. + * + * @return DocumentTemplateList + **/ public DocumentTemplateList documentTemplates(java.util.List documentTemplates) { this.documentTemplates = documentTemplates; return this; } - + + /** + * addDocumentTemplatesItem. + * + * @return DocumentTemplateList + **/ public DocumentTemplateList addDocumentTemplatesItem(DocumentTemplate documentTemplatesItem) { + if (this.documentTemplates == null) { + this.documentTemplates = new java.util.ArrayList(); + } this.documentTemplates.add(documentTemplatesItem); return this; } - /** - * + /** + * . * @return documentTemplates - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getDocumentTemplates() { return documentTemplates; } + /** + * setDocumentTemplates. + **/ public void setDocumentTemplates(java.util.List documentTemplates) { this.documentTemplates = documentTemplates; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -51,12 +76,18 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.documentTemplates, documentTemplateList.documentTemplates); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(documentTemplates); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -77,6 +108,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/DocumentUpdateInfo.java b/src/main/java/com/docusign/esign/model/DocumentUpdateInfo.java index dcfd2629..a9cb5a35 100644 --- a/src/main/java/com/docusign/esign/model/DocumentUpdateInfo.java +++ b/src/main/java/com/docusign/esign/model/DocumentUpdateInfo.java @@ -1,11 +1,13 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.DocumentSecurityStore; import com.docusign.esign.model.SignatureDataInfo; import com.docusign.esign.model.TimeStampField; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; @@ -30,7 +32,7 @@ public class DocumentUpdateInfo { private String returnFormat = null; @JsonProperty("signatureDataInfos") - private java.util.List signatureDataInfos = new java.util.ArrayList(); + private java.util.List signatureDataInfos = null; @JsonProperty("timeStampField") private TimeStampField timeStampField = null; @@ -44,7 +46,7 @@ public DocumentUpdateInfo data(String data) { * * @return data **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public String getData() { return data; } @@ -62,7 +64,7 @@ public DocumentUpdateInfo documentId(String documentId) { * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute. * @return documentId **/ - @ApiModelProperty(example = "null", value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") + @ApiModelProperty(value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") public String getDocumentId() { return documentId; } @@ -80,7 +82,7 @@ public DocumentUpdateInfo documentSecurityStore(DocumentSecurityStore documentSe * Get documentSecurityStore * @return documentSecurityStore **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public DocumentSecurityStore getDocumentSecurityStore() { return documentSecurityStore; } @@ -98,7 +100,7 @@ public DocumentUpdateInfo name(String name) { * * @return name **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public String getName() { return name; } @@ -116,7 +118,7 @@ public DocumentUpdateInfo returnFormat(String returnFormat) { * * @return returnFormat **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public String getReturnFormat() { return returnFormat; } @@ -131,6 +133,9 @@ public DocumentUpdateInfo signatureDataInfos(java.util.List s } public DocumentUpdateInfo addSignatureDataInfosItem(SignatureDataInfo signatureDataInfosItem) { + if (this.signatureDataInfos == null) { + this.signatureDataInfos = new java.util.ArrayList(); + } this.signatureDataInfos.add(signatureDataInfosItem); return this; } @@ -139,7 +144,7 @@ public DocumentUpdateInfo addSignatureDataInfosItem(SignatureDataInfo signatureD * * @return signatureDataInfos **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public java.util.List getSignatureDataInfos() { return signatureDataInfos; } @@ -157,7 +162,7 @@ public DocumentUpdateInfo timeStampField(TimeStampField timeStampField) { * Get timeStampField * @return timeStampField **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public TimeStampField getTimeStampField() { return timeStampField; } @@ -217,6 +222,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/DocumentVisibility.java b/src/main/java/com/docusign/esign/model/DocumentVisibility.java index 1dcf02bf..fe7f6393 100644 --- a/src/main/java/com/docusign/esign/model/DocumentVisibility.java +++ b/src/main/java/com/docusign/esign/model/DocumentVisibility.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ErrorDetails; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * DocumentVisibility + * DocumentVisibility. + * */ public class DocumentVisibility { @@ -27,97 +30,147 @@ public class DocumentVisibility { @JsonProperty("visible") private String visible = null; + + /** + * documentId. + * + * @return DocumentVisibility + **/ public DocumentVisibility documentId(String documentId) { this.documentId = documentId; return this; } - /** - * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute. + /** + * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.. * @return documentId - **/ - @ApiModelProperty(example = "null", value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") + **/ + @ApiModelProperty(value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") public String getDocumentId() { return documentId; } + /** + * setDocumentId. + **/ public void setDocumentId(String documentId) { this.documentId = documentId; } + + /** + * errorDetails. + * + * @return DocumentVisibility + **/ public DocumentVisibility errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * recipientId. + * + * @return DocumentVisibility + **/ public DocumentVisibility recipientId(String recipientId) { this.recipientId = recipientId; return this; } - /** - * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document. + /** + * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.. * @return recipientId - **/ - @ApiModelProperty(example = "null", value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") + **/ + @ApiModelProperty(value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") public String getRecipientId() { return recipientId; } + /** + * setRecipientId. + **/ public void setRecipientId(String recipientId) { this.recipientId = recipientId; } + + /** + * rights. + * + * @return DocumentVisibility + **/ public DocumentVisibility rights(String rights) { this.rights = rights; return this; } - /** - * + /** + * . * @return rights - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getRights() { return rights; } + /** + * setRights. + **/ public void setRights(String rights) { this.rights = rights; } + + /** + * visible. + * + * @return DocumentVisibility + **/ public DocumentVisibility visible(String visible) { this.visible = visible; return this; } - /** - * + /** + * . * @return visible - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getVisible() { return visible; } + /** + * setVisible. + **/ public void setVisible(String visible) { this.visible = visible; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -134,12 +187,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.visible, documentVisibility.visible); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(documentId, errorDetails, recipientId, rights, visible); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -164,6 +223,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/DocumentVisibilityList.java b/src/main/java/com/docusign/esign/model/DocumentVisibilityList.java index 4a55d17a..c144744e 100644 --- a/src/main/java/com/docusign/esign/model/DocumentVisibilityList.java +++ b/src/main/java/com/docusign/esign/model/DocumentVisibilityList.java @@ -1,44 +1,69 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.DocumentVisibility; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * DocumentVisibilityList + * DocumentVisibilityList. + * */ public class DocumentVisibilityList { @JsonProperty("documentVisibility") - private java.util.List documentVisibility = new java.util.ArrayList(); + private java.util.List documentVisibility = null; + + /** + * documentVisibility. + * + * @return DocumentVisibilityList + **/ public DocumentVisibilityList documentVisibility(java.util.List documentVisibility) { this.documentVisibility = documentVisibility; return this; } - + + /** + * addDocumentVisibilityItem. + * + * @return DocumentVisibilityList + **/ public DocumentVisibilityList addDocumentVisibilityItem(DocumentVisibility documentVisibilityItem) { + if (this.documentVisibility == null) { + this.documentVisibility = new java.util.ArrayList(); + } this.documentVisibility.add(documentVisibilityItem); return this; } - /** - * + /** + * . * @return documentVisibility - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getDocumentVisibility() { return documentVisibility; } + /** + * setDocumentVisibility. + **/ public void setDocumentVisibility(java.util.List documentVisibility) { this.documentVisibility = documentVisibility; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -51,12 +76,18 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.documentVisibility, documentVisibilityList.documentVisibility); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(documentVisibility); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -77,6 +108,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/ENoteConfiguration.java b/src/main/java/com/docusign/esign/model/ENoteConfiguration.java index b80e17ba..7059e3d2 100644 --- a/src/main/java/com/docusign/esign/model/ENoteConfiguration.java +++ b/src/main/java/com/docusign/esign/model/ENoteConfiguration.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * ENoteConfiguration + * ENoteConfiguration. + * */ public class ENoteConfiguration { @@ -26,97 +29,147 @@ public class ENoteConfiguration { @JsonProperty("userName") private String userName = null; + + /** + * connectConfigured. + * + * @return ENoteConfiguration + **/ public ENoteConfiguration connectConfigured(String connectConfigured) { this.connectConfigured = connectConfigured; return this; } - /** - * + /** + * . * @return connectConfigured - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getConnectConfigured() { return connectConfigured; } + /** + * setConnectConfigured. + **/ public void setConnectConfigured(String connectConfigured) { this.connectConfigured = connectConfigured; } + + /** + * eNoteConfigured. + * + * @return ENoteConfiguration + **/ public ENoteConfiguration eNoteConfigured(String eNoteConfigured) { this.eNoteConfigured = eNoteConfigured; return this; } - /** - * + /** + * . * @return eNoteConfigured - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getENoteConfigured() { return eNoteConfigured; } + /** + * setENoteConfigured. + **/ public void setENoteConfigured(String eNoteConfigured) { this.eNoteConfigured = eNoteConfigured; } + + /** + * organization. + * + * @return ENoteConfiguration + **/ public ENoteConfiguration organization(String organization) { this.organization = organization; return this; } - /** - * + /** + * . * @return organization - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getOrganization() { return organization; } + /** + * setOrganization. + **/ public void setOrganization(String organization) { this.organization = organization; } + + /** + * password. + * + * @return ENoteConfiguration + **/ public ENoteConfiguration password(String password) { this.password = password; return this; } - /** - * + /** + * . * @return password - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPassword() { return password; } + /** + * setPassword. + **/ public void setPassword(String password) { this.password = password; } + + /** + * userName. + * + * @return ENoteConfiguration + **/ public ENoteConfiguration userName(String userName) { this.userName = userName; return this; } - /** - * + /** + * . * @return userName - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getUserName() { return userName; } + /** + * setUserName. + **/ public void setUserName(String userName) { this.userName = userName; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -133,12 +186,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.userName, eNoteConfiguration.userName); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(connectConfigured, eNoteConfigured, organization, password, userName); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -163,6 +222,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/Editor.java b/src/main/java/com/docusign/esign/model/Editor.java index ce5e60e1..b46396f2 100644 --- a/src/main/java/com/docusign/esign/model/Editor.java +++ b/src/main/java/com/docusign/esign/model/Editor.java @@ -1,12 +1,14 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.AuthenticationStatus; import com.docusign.esign.model.DocumentVisibility; import com.docusign.esign.model.ErrorDetails; import com.docusign.esign.model.IdCheckInformationInput; import com.docusign.esign.model.RecipientAttachment; import com.docusign.esign.model.RecipientEmailNotification; +import com.docusign.esign.model.RecipientIdentityVerification; import com.docusign.esign.model.RecipientPhoneAuthentication; import com.docusign.esign.model.RecipientSAMLAuthentication; import com.docusign.esign.model.RecipientSMSAuthentication; @@ -14,11 +16,13 @@ import com.docusign.esign.model.UserInfo; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Editor + * Editor. + * */ public class Editor { @@ -32,7 +36,7 @@ public class Editor { private String clientUserId = null; @JsonProperty("customFields") - private java.util.List customFields = new java.util.ArrayList(); + private java.util.List customFields = null; @JsonProperty("declinedDateTime") private String declinedDateTime = null; @@ -47,7 +51,7 @@ public class Editor { private String deliveryMethod = null; @JsonProperty("documentVisibility") - private java.util.List documentVisibility = new java.util.ArrayList(); + private java.util.List documentVisibility = null; @JsonProperty("email") private String email = null; @@ -79,6 +83,9 @@ public class Editor { @JsonProperty("idCheckInformationInput") private IdCheckInformationInput idCheckInformationInput = null; + @JsonProperty("identityVerification") + private RecipientIdentityVerification identityVerification = null; + @JsonProperty("inheritEmailNotificationConfiguration") private String inheritEmailNotificationConfiguration = null; @@ -95,7 +102,7 @@ public class Editor { private RecipientPhoneAuthentication phoneAuthentication = null; @JsonProperty("recipientAttachments") - private java.util.List recipientAttachments = new java.util.ArrayList(); + private java.util.List recipientAttachments = null; @JsonProperty("recipientAuthenticationStatus") private AuthenticationStatus recipientAuthenticationStatus = null; @@ -131,13 +138,13 @@ public class Editor { private String signingGroupName = null; @JsonProperty("signingGroupUsers") - private java.util.List signingGroupUsers = new java.util.ArrayList(); + private java.util.List signingGroupUsers = null; @JsonProperty("smsAuthentication") private RecipientSMSAuthentication smsAuthentication = null; @JsonProperty("socialAuthentications") - private java.util.List socialAuthentications = new java.util.ArrayList(); + private java.util.List socialAuthentications = null; @JsonProperty("status") private String status = null; @@ -154,824 +161,1292 @@ public class Editor { @JsonProperty("userId") private String userId = null; + + /** + * accessCode. + * + * @return Editor + **/ public Editor accessCode(String accessCode) { this.accessCode = accessCode; return this; } - /** - * If a value is provided, the recipient must enter the value as the access code to view and sign the envelope. Maximum Length: 50 characters and it must conform to the account's access code format setting. If blank, but the signer `accessCode` property is set in the envelope, then that value is used. If blank and the signer `accessCode` property is not set, then the access code is not required. + /** + * If a value is provided, the recipient must enter the value as the access code to view and sign the envelope. Maximum Length: 50 characters and it must conform to the account's access code format setting. If blank, but the signer `accessCode` property is set in the envelope, then that value is used. If blank and the signer `accessCode` property is not set, then the access code is not required.. * @return accessCode - **/ - @ApiModelProperty(example = "null", value = "If a value is provided, the recipient must enter the value as the access code to view and sign the envelope. Maximum Length: 50 characters and it must conform to the account's access code format setting. If blank, but the signer `accessCode` property is set in the envelope, then that value is used. If blank and the signer `accessCode` property is not set, then the access code is not required.") + **/ + @ApiModelProperty(value = "If a value is provided, the recipient must enter the value as the access code to view and sign the envelope. Maximum Length: 50 characters and it must conform to the account's access code format setting. If blank, but the signer `accessCode` property is set in the envelope, then that value is used. If blank and the signer `accessCode` property is not set, then the access code is not required.") public String getAccessCode() { return accessCode; } + /** + * setAccessCode. + **/ public void setAccessCode(String accessCode) { this.accessCode = accessCode; } + + /** + * addAccessCodeToEmail. + * + * @return Editor + **/ public Editor addAccessCodeToEmail(String addAccessCodeToEmail) { this.addAccessCodeToEmail = addAccessCodeToEmail; return this; } - /** - * This Optional attribute indicates that the access code will be added to the email sent to the recipient; this nullifies the Security measure of Access Code on the recipient. + /** + * This Optional attribute indicates that the access code will be added to the email sent to the recipient; this nullifies the Security measure of Access Code on the recipient.. * @return addAccessCodeToEmail - **/ - @ApiModelProperty(example = "null", value = "This Optional attribute indicates that the access code will be added to the email sent to the recipient; this nullifies the Security measure of Access Code on the recipient.") + **/ + @ApiModelProperty(value = "This Optional attribute indicates that the access code will be added to the email sent to the recipient; this nullifies the Security measure of Access Code on the recipient.") public String getAddAccessCodeToEmail() { return addAccessCodeToEmail; } + /** + * setAddAccessCodeToEmail. + **/ public void setAddAccessCodeToEmail(String addAccessCodeToEmail) { this.addAccessCodeToEmail = addAccessCodeToEmail; } + + /** + * clientUserId. + * + * @return Editor + **/ public Editor clientUserId(String clientUserId) { this.clientUserId = clientUserId; return this; } - /** - * Specifies whether the recipient is embedded or remote. If the `clientUserId` property is not null then the recipient is embedded. Note that if the `ClientUserId` property is set and either `SignerMustHaveAccount` or `SignerMustLoginToSign` property of the account settings is set to **true**, an error is generated on sending.ng. Maximum length: 100 characters. + /** + * Specifies whether the recipient is embedded or remote. If the `clientUserId` property is not null then the recipient is embedded. Note that if the `ClientUserId` property is set and either `SignerMustHaveAccount` or `SignerMustLoginToSign` property of the account settings is set to **true**, an error is generated on sending.ng. Maximum length: 100 characters. . * @return clientUserId - **/ - @ApiModelProperty(example = "null", value = "Specifies whether the recipient is embedded or remote. If the `clientUserId` property is not null then the recipient is embedded. Note that if the `ClientUserId` property is set and either `SignerMustHaveAccount` or `SignerMustLoginToSign` property of the account settings is set to **true**, an error is generated on sending.ng. Maximum length: 100 characters. ") + **/ + @ApiModelProperty(value = "Specifies whether the recipient is embedded or remote. If the `clientUserId` property is not null then the recipient is embedded. Note that if the `ClientUserId` property is set and either `SignerMustHaveAccount` or `SignerMustLoginToSign` property of the account settings is set to **true**, an error is generated on sending.ng. Maximum length: 100 characters. ") public String getClientUserId() { return clientUserId; } + /** + * setClientUserId. + **/ public void setClientUserId(String clientUserId) { this.clientUserId = clientUserId; } + + /** + * customFields. + * + * @return Editor + **/ public Editor customFields(java.util.List customFields) { this.customFields = customFields; return this; } - + + /** + * addCustomFieldsItem. + * + * @return Editor + **/ public Editor addCustomFieldsItem(String customFieldsItem) { + if (this.customFields == null) { + this.customFields = new java.util.ArrayList(); + } this.customFields.add(customFieldsItem); return this; } - /** - * An optional array of strings that allows the sender to provide custom data about the recipient. This information is returned in the envelope status but otherwise not used by DocuSign. Each customField string can be a maximum of 100 characters. + /** + * An optional array of strings that allows the sender to provide custom data about the recipient. This information is returned in the envelope status but otherwise not used by DocuSign. Each customField string can be a maximum of 100 characters.. * @return customFields - **/ - @ApiModelProperty(example = "null", value = "An optional array of strings that allows the sender to provide custom data about the recipient. This information is returned in the envelope status but otherwise not used by DocuSign. Each customField string can be a maximum of 100 characters.") + **/ + @ApiModelProperty(value = "An optional array of strings that allows the sender to provide custom data about the recipient. This information is returned in the envelope status but otherwise not used by DocuSign. Each customField string can be a maximum of 100 characters.") public java.util.List getCustomFields() { return customFields; } + /** + * setCustomFields. + **/ public void setCustomFields(java.util.List customFields) { this.customFields = customFields; } + + /** + * declinedDateTime. + * + * @return Editor + **/ public Editor declinedDateTime(String declinedDateTime) { this.declinedDateTime = declinedDateTime; return this; } - /** - * The date and time the recipient declined the document. + /** + * The date and time the recipient declined the document.. * @return declinedDateTime - **/ - @ApiModelProperty(example = "null", value = "The date and time the recipient declined the document.") + **/ + @ApiModelProperty(value = "The date and time the recipient declined the document.") public String getDeclinedDateTime() { return declinedDateTime; } + /** + * setDeclinedDateTime. + **/ public void setDeclinedDateTime(String declinedDateTime) { this.declinedDateTime = declinedDateTime; } + + /** + * declinedReason. + * + * @return Editor + **/ public Editor declinedReason(String declinedReason) { this.declinedReason = declinedReason; return this; } - /** - * The reason the recipient declined the document. + /** + * The reason the recipient declined the document.. * @return declinedReason - **/ - @ApiModelProperty(example = "null", value = "The reason the recipient declined the document.") + **/ + @ApiModelProperty(value = "The reason the recipient declined the document.") public String getDeclinedReason() { return declinedReason; } + /** + * setDeclinedReason. + **/ public void setDeclinedReason(String declinedReason) { this.declinedReason = declinedReason; } + + /** + * deliveredDateTime. + * + * @return Editor + **/ public Editor deliveredDateTime(String deliveredDateTime) { this.deliveredDateTime = deliveredDateTime; return this; } - /** - * Reserved: For DocuSign use only. + /** + * Reserved: For DocuSign use only.. * @return deliveredDateTime - **/ - @ApiModelProperty(example = "null", value = "Reserved: For DocuSign use only.") + **/ + @ApiModelProperty(value = "Reserved: For DocuSign use only.") public String getDeliveredDateTime() { return deliveredDateTime; } + /** + * setDeliveredDateTime. + **/ public void setDeliveredDateTime(String deliveredDateTime) { this.deliveredDateTime = deliveredDateTime; } + + /** + * deliveryMethod. + * + * @return Editor + **/ public Editor deliveryMethod(String deliveryMethod) { this.deliveryMethod = deliveryMethod; return this; } - /** - * Reserved: For DocuSign use only. + /** + * Reserved: For DocuSign use only.. * @return deliveryMethod - **/ - @ApiModelProperty(example = "null", value = "Reserved: For DocuSign use only.") + **/ + @ApiModelProperty(value = "Reserved: For DocuSign use only.") public String getDeliveryMethod() { return deliveryMethod; } + /** + * setDeliveryMethod. + **/ public void setDeliveryMethod(String deliveryMethod) { this.deliveryMethod = deliveryMethod; } + + /** + * documentVisibility. + * + * @return Editor + **/ public Editor documentVisibility(java.util.List documentVisibility) { this.documentVisibility = documentVisibility; return this; } - + + /** + * addDocumentVisibilityItem. + * + * @return Editor + **/ public Editor addDocumentVisibilityItem(DocumentVisibility documentVisibilityItem) { + if (this.documentVisibility == null) { + this.documentVisibility = new java.util.ArrayList(); + } this.documentVisibility.add(documentVisibilityItem); return this; } - /** - * + /** + * . * @return documentVisibility - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getDocumentVisibility() { return documentVisibility; } + /** + * setDocumentVisibility. + **/ public void setDocumentVisibility(java.util.List documentVisibility) { this.documentVisibility = documentVisibility; } + + /** + * email. + * + * @return Editor + **/ public Editor email(String email) { this.email = email; return this; } - /** - * Email id of the recipient. Notification of the document to sign is sent to this email id. Maximum length: 100 characters. + /** + * Email id of the recipient. Notification of the document to sign is sent to this email id. Maximum length: 100 characters. . * @return email - **/ - @ApiModelProperty(example = "null", value = "Email id of the recipient. Notification of the document to sign is sent to this email id. Maximum length: 100 characters. ") + **/ + @ApiModelProperty(value = "Email id of the recipient. Notification of the document to sign is sent to this email id. Maximum length: 100 characters. ") public String getEmail() { return email; } + /** + * setEmail. + **/ public void setEmail(String email) { this.email = email; } + + /** + * emailNotification. + * + * @return Editor + **/ public Editor emailNotification(RecipientEmailNotification emailNotification) { this.emailNotification = emailNotification; return this; } - /** - * Get emailNotification + /** + * Get emailNotification. * @return emailNotification - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public RecipientEmailNotification getEmailNotification() { return emailNotification; } + /** + * setEmailNotification. + **/ public void setEmailNotification(RecipientEmailNotification emailNotification) { this.emailNotification = emailNotification; } + + /** + * emailRecipientPostSigningURL. + * + * @return Editor + **/ public Editor emailRecipientPostSigningURL(String emailRecipientPostSigningURL) { this.emailRecipientPostSigningURL = emailRecipientPostSigningURL; return this; } - /** - * + /** + * . * @return emailRecipientPostSigningURL - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getEmailRecipientPostSigningURL() { return emailRecipientPostSigningURL; } + /** + * setEmailRecipientPostSigningURL. + **/ public void setEmailRecipientPostSigningURL(String emailRecipientPostSigningURL) { this.emailRecipientPostSigningURL = emailRecipientPostSigningURL; } + + /** + * embeddedRecipientStartURL. + * + * @return Editor + **/ public Editor embeddedRecipientStartURL(String embeddedRecipientStartURL) { this.embeddedRecipientStartURL = embeddedRecipientStartURL; return this; } - /** - * Specifies a sender provided valid URL string for redirecting an embedded recipient. When using this option, the embedded recipient still receives an email from DocuSign, just as a remote recipient would. When the document link in the email is clicked the recipient is redirected, through DocuSign, to the supplied URL to complete their actions. When routing to the URL, the sender's system (the server responding to the URL) must request a recipient token to launch a signing session. If set to `SIGN_AT_DOCUSIGN`, the recipient is directed to an embedded signing or viewing process directly at DocuSign. The signing or viewing action is initiated by the DocuSign system and the transaction activity and Certificate of Completion records will reflect this. In all other ways the process is identical to an embedded signing or viewing operation that is launched by any partner. It is important to remember that in a typical embedded workflow the authentication of an embedded recipient is the responsibility of the sending application, DocuSign expects that senders will follow their own process for establishing the recipient's identity. In this workflow the recipient goes through the sending application before the embedded signing or viewing process in initiated. However, when the sending application sets `EmbeddedRecipientStartURL=SIGN_AT_DOCUSIGN`, the recipient goes directly to the embedded signing or viewing process bypassing the sending application and any authentication steps the sending application would use. In this case, DocuSign recommends that you use one of the normal DocuSign authentication features (Access Code, Phone Authentication, SMS Authentication, etc.) to verify the identity of the recipient. If the `clientUserId` property is NOT set, and the `embeddedRecipientStartURL` is set, DocuSign will ignore the redirect URL and launch the standard signing process for the email recipient. Information can be appended to the embedded recipient start URL using merge fields. The available merge fields items are: envelopeId, recipientId, recipientName, recipientEmail, and customFields. The `customFields` property must be set fort the recipient or envelope. The merge fields are enclosed in double brackets. *Example*: `http://senderHost/[[mergeField1]]/ beginSigningSession? [[mergeField2]]&[[mergeField3]]` + /** + * Specifies a sender provided valid URL string for redirecting an embedded recipient. When using this option, the embedded recipient still receives an email from DocuSign, just as a remote recipient would. When the document link in the email is clicked the recipient is redirected, through DocuSign, to the supplied URL to complete their actions. When routing to the URL, the sender's system (the server responding to the URL) must request a recipient token to launch a signing session. If set to `SIGN_AT_DOCUSIGN`, the recipient is directed to an embedded signing or viewing process directly at DocuSign. The signing or viewing action is initiated by the DocuSign system and the transaction activity and Certificate of Completion records will reflect this. In all other ways the process is identical to an embedded signing or viewing operation that is launched by any partner. It is important to remember that in a typical embedded workflow the authentication of an embedded recipient is the responsibility of the sending application, DocuSign expects that senders will follow their own process for establishing the recipient's identity. In this workflow the recipient goes through the sending application before the embedded signing or viewing process in initiated. However, when the sending application sets `EmbeddedRecipientStartURL=SIGN_AT_DOCUSIGN`, the recipient goes directly to the embedded signing or viewing process bypassing the sending application and any authentication steps the sending application would use. In this case, DocuSign recommends that you use one of the normal DocuSign authentication features (Access Code, Phone Authentication, SMS Authentication, etc.) to verify the identity of the recipient. If the `clientUserId` property is NOT set, and the `embeddedRecipientStartURL` is set, DocuSign will ignore the redirect URL and launch the standard signing process for the email recipient. Information can be appended to the embedded recipient start URL using merge fields. The available merge fields items are: envelopeId, recipientId, recipientName, recipientEmail, and customFields. The `customFields` property must be set fort the recipient or envelope. The merge fields are enclosed in double brackets. *Example*: `http://senderHost/[[mergeField1]]/ beginSigningSession? [[mergeField2]]&[[mergeField3]]` . * @return embeddedRecipientStartURL - **/ - @ApiModelProperty(example = "null", value = "Specifies a sender provided valid URL string for redirecting an embedded recipient. When using this option, the embedded recipient still receives an email from DocuSign, just as a remote recipient would. When the document link in the email is clicked the recipient is redirected, through DocuSign, to the supplied URL to complete their actions. When routing to the URL, the sender's system (the server responding to the URL) must request a recipient token to launch a signing session. If set to `SIGN_AT_DOCUSIGN`, the recipient is directed to an embedded signing or viewing process directly at DocuSign. The signing or viewing action is initiated by the DocuSign system and the transaction activity and Certificate of Completion records will reflect this. In all other ways the process is identical to an embedded signing or viewing operation that is launched by any partner. It is important to remember that in a typical embedded workflow the authentication of an embedded recipient is the responsibility of the sending application, DocuSign expects that senders will follow their own process for establishing the recipient's identity. In this workflow the recipient goes through the sending application before the embedded signing or viewing process in initiated. However, when the sending application sets `EmbeddedRecipientStartURL=SIGN_AT_DOCUSIGN`, the recipient goes directly to the embedded signing or viewing process bypassing the sending application and any authentication steps the sending application would use. In this case, DocuSign recommends that you use one of the normal DocuSign authentication features (Access Code, Phone Authentication, SMS Authentication, etc.) to verify the identity of the recipient. If the `clientUserId` property is NOT set, and the `embeddedRecipientStartURL` is set, DocuSign will ignore the redirect URL and launch the standard signing process for the email recipient. Information can be appended to the embedded recipient start URL using merge fields. The available merge fields items are: envelopeId, recipientId, recipientName, recipientEmail, and customFields. The `customFields` property must be set fort the recipient or envelope. The merge fields are enclosed in double brackets. *Example*: `http://senderHost/[[mergeField1]]/ beginSigningSession? [[mergeField2]]&[[mergeField3]]` ") + **/ + @ApiModelProperty(value = "Specifies a sender provided valid URL string for redirecting an embedded recipient. When using this option, the embedded recipient still receives an email from DocuSign, just as a remote recipient would. When the document link in the email is clicked the recipient is redirected, through DocuSign, to the supplied URL to complete their actions. When routing to the URL, the sender's system (the server responding to the URL) must request a recipient token to launch a signing session. If set to `SIGN_AT_DOCUSIGN`, the recipient is directed to an embedded signing or viewing process directly at DocuSign. The signing or viewing action is initiated by the DocuSign system and the transaction activity and Certificate of Completion records will reflect this. In all other ways the process is identical to an embedded signing or viewing operation that is launched by any partner. It is important to remember that in a typical embedded workflow the authentication of an embedded recipient is the responsibility of the sending application, DocuSign expects that senders will follow their own process for establishing the recipient's identity. In this workflow the recipient goes through the sending application before the embedded signing or viewing process in initiated. However, when the sending application sets `EmbeddedRecipientStartURL=SIGN_AT_DOCUSIGN`, the recipient goes directly to the embedded signing or viewing process bypassing the sending application and any authentication steps the sending application would use. In this case, DocuSign recommends that you use one of the normal DocuSign authentication features (Access Code, Phone Authentication, SMS Authentication, etc.) to verify the identity of the recipient. If the `clientUserId` property is NOT set, and the `embeddedRecipientStartURL` is set, DocuSign will ignore the redirect URL and launch the standard signing process for the email recipient. Information can be appended to the embedded recipient start URL using merge fields. The available merge fields items are: envelopeId, recipientId, recipientName, recipientEmail, and customFields. The `customFields` property must be set fort the recipient or envelope. The merge fields are enclosed in double brackets. *Example*: `http://senderHost/[[mergeField1]]/ beginSigningSession? [[mergeField2]]&[[mergeField3]]` ") public String getEmbeddedRecipientStartURL() { return embeddedRecipientStartURL; } + /** + * setEmbeddedRecipientStartURL. + **/ public void setEmbeddedRecipientStartURL(String embeddedRecipientStartURL) { this.embeddedRecipientStartURL = embeddedRecipientStartURL; } + + /** + * errorDetails. + * + * @return Editor + **/ public Editor errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * faxNumber. + * + * @return Editor + **/ public Editor faxNumber(String faxNumber) { this.faxNumber = faxNumber; return this; } - /** - * Reserved: + /** + * Reserved:. * @return faxNumber - **/ - @ApiModelProperty(example = "null", value = "Reserved:") + **/ + @ApiModelProperty(value = "Reserved:") public String getFaxNumber() { return faxNumber; } + /** + * setFaxNumber. + **/ public void setFaxNumber(String faxNumber) { this.faxNumber = faxNumber; } + + /** + * firstName. + * + * @return Editor + **/ public Editor firstName(String firstName) { this.firstName = firstName; return this; } - /** - * The user's first name. Maximum Length: 50 characters. + /** + * The user's first name. Maximum Length: 50 characters.. * @return firstName - **/ - @ApiModelProperty(example = "null", value = "The user's first name. Maximum Length: 50 characters.") + **/ + @ApiModelProperty(value = "The user's first name. Maximum Length: 50 characters.") public String getFirstName() { return firstName; } + /** + * setFirstName. + **/ public void setFirstName(String firstName) { this.firstName = firstName; } + + /** + * fullName. + * + * @return Editor + **/ public Editor fullName(String fullName) { this.fullName = fullName; return this; } - /** - * + /** + * . * @return fullName - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getFullName() { return fullName; } + /** + * setFullName. + **/ public void setFullName(String fullName) { this.fullName = fullName; } + + /** + * idCheckConfigurationName. + * + * @return Editor + **/ public Editor idCheckConfigurationName(String idCheckConfigurationName) { this.idCheckConfigurationName = idCheckConfigurationName; return this; } - /** - * Specifies authentication check by name. The names used here must be the same as the authentication type names used by the account (these name can also be found in the web console sending interface in the Identify list for a recipient,) This overrides any default authentication setting. *Example*: Your account has ID Check and SMS Authentication available and in the web console Identify list these appear as 'ID Check $' and 'SMS Auth $'. To use ID check in an envelope, the idCheckConfigurationName should be 'ID Check '. If you wanted to use SMS, it would be 'SMS Auth $' and you would need to add you would need to add phone number information to the `smsAuthentication` node. + /** + * Specifies authentication check by name. The names used here must be the same as the authentication type names used by the account (these name can also be found in the web console sending interface in the Identify list for a recipient,) This overrides any default authentication setting. *Example*: Your account has ID Check and SMS Authentication available and in the web console Identify list these appear as 'ID Check $' and 'SMS Auth $'. To use ID check in an envelope, the idCheckConfigurationName should be 'ID Check '. If you wanted to use SMS, it would be 'SMS Auth $' and you would need to add you would need to add phone number information to the `smsAuthentication` node.. * @return idCheckConfigurationName - **/ - @ApiModelProperty(example = "null", value = "Specifies authentication check by name. The names used here must be the same as the authentication type names used by the account (these name can also be found in the web console sending interface in the Identify list for a recipient,) This overrides any default authentication setting. *Example*: Your account has ID Check and SMS Authentication available and in the web console Identify list these appear as 'ID Check $' and 'SMS Auth $'. To use ID check in an envelope, the idCheckConfigurationName should be 'ID Check '. If you wanted to use SMS, it would be 'SMS Auth $' and you would need to add you would need to add phone number information to the `smsAuthentication` node.") + **/ + @ApiModelProperty(value = "Specifies authentication check by name. The names used here must be the same as the authentication type names used by the account (these name can also be found in the web console sending interface in the Identify list for a recipient,) This overrides any default authentication setting. *Example*: Your account has ID Check and SMS Authentication available and in the web console Identify list these appear as 'ID Check $' and 'SMS Auth $'. To use ID check in an envelope, the idCheckConfigurationName should be 'ID Check '. If you wanted to use SMS, it would be 'SMS Auth $' and you would need to add you would need to add phone number information to the `smsAuthentication` node.") public String getIdCheckConfigurationName() { return idCheckConfigurationName; } + /** + * setIdCheckConfigurationName. + **/ public void setIdCheckConfigurationName(String idCheckConfigurationName) { this.idCheckConfigurationName = idCheckConfigurationName; } + + /** + * idCheckInformationInput. + * + * @return Editor + **/ public Editor idCheckInformationInput(IdCheckInformationInput idCheckInformationInput) { this.idCheckInformationInput = idCheckInformationInput; return this; } - /** - * Get idCheckInformationInput + /** + * Get idCheckInformationInput. * @return idCheckInformationInput - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public IdCheckInformationInput getIdCheckInformationInput() { return idCheckInformationInput; } + /** + * setIdCheckInformationInput. + **/ public void setIdCheckInformationInput(IdCheckInformationInput idCheckInformationInput) { this.idCheckInformationInput = idCheckInformationInput; } + + /** + * identityVerification. + * + * @return Editor + **/ + public Editor identityVerification(RecipientIdentityVerification identityVerification) { + this.identityVerification = identityVerification; + return this; + } + + /** + * Get identityVerification. + * @return identityVerification + **/ + @ApiModelProperty(value = "") + public RecipientIdentityVerification getIdentityVerification() { + return identityVerification; + } + + /** + * setIdentityVerification. + **/ + public void setIdentityVerification(RecipientIdentityVerification identityVerification) { + this.identityVerification = identityVerification; + } + + + /** + * inheritEmailNotificationConfiguration. + * + * @return Editor + **/ public Editor inheritEmailNotificationConfiguration(String inheritEmailNotificationConfiguration) { this.inheritEmailNotificationConfiguration = inheritEmailNotificationConfiguration; return this; } - /** - * When set to **true** and the envelope recipient creates a DocuSign account after signing, the Manage Account Email Notification settings are used as the default settings for the recipient's account. + /** + * When set to **true** and the envelope recipient creates a DocuSign account after signing, the Manage Account Email Notification settings are used as the default settings for the recipient's account. . * @return inheritEmailNotificationConfiguration - **/ - @ApiModelProperty(example = "null", value = "When set to **true** and the envelope recipient creates a DocuSign account after signing, the Manage Account Email Notification settings are used as the default settings for the recipient's account. ") + **/ + @ApiModelProperty(value = "When set to **true** and the envelope recipient creates a DocuSign account after signing, the Manage Account Email Notification settings are used as the default settings for the recipient's account. ") public String getInheritEmailNotificationConfiguration() { return inheritEmailNotificationConfiguration; } + /** + * setInheritEmailNotificationConfiguration. + **/ public void setInheritEmailNotificationConfiguration(String inheritEmailNotificationConfiguration) { this.inheritEmailNotificationConfiguration = inheritEmailNotificationConfiguration; } + + /** + * lastName. + * + * @return Editor + **/ public Editor lastName(String lastName) { this.lastName = lastName; return this; } - /** - * + /** + * . * @return lastName - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getLastName() { return lastName; } + /** + * setLastName. + **/ public void setLastName(String lastName) { this.lastName = lastName; } + + /** + * name. + * + * @return Editor + **/ public Editor name(String name) { this.name = name; return this; } - /** - * legal name of the recipient. Maximum Length: 100 characters. + /** + * legal name of the recipient. Maximum Length: 100 characters.. * @return name - **/ - @ApiModelProperty(example = "null", value = "legal name of the recipient. Maximum Length: 100 characters.") + **/ + @ApiModelProperty(value = "legal name of the recipient. Maximum Length: 100 characters.") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * note. + * + * @return Editor + **/ public Editor note(String note) { this.note = note; return this; } - /** - * Specifies a note that is unique to this recipient. This note is sent to the recipient via the signing email. The note displays in the signing UI near the upper left corner of the document on the signing screen. Maximum Length: 1000 characters. + /** + * Specifies a note that is unique to this recipient. This note is sent to the recipient via the signing email. The note displays in the signing UI near the upper left corner of the document on the signing screen. Maximum Length: 1000 characters.. * @return note - **/ - @ApiModelProperty(example = "null", value = "Specifies a note that is unique to this recipient. This note is sent to the recipient via the signing email. The note displays in the signing UI near the upper left corner of the document on the signing screen. Maximum Length: 1000 characters.") + **/ + @ApiModelProperty(value = "Specifies a note that is unique to this recipient. This note is sent to the recipient via the signing email. The note displays in the signing UI near the upper left corner of the document on the signing screen. Maximum Length: 1000 characters.") public String getNote() { return note; } + /** + * setNote. + **/ public void setNote(String note) { this.note = note; } + + /** + * phoneAuthentication. + * + * @return Editor + **/ public Editor phoneAuthentication(RecipientPhoneAuthentication phoneAuthentication) { this.phoneAuthentication = phoneAuthentication; return this; } - /** - * Get phoneAuthentication + /** + * Get phoneAuthentication. * @return phoneAuthentication - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public RecipientPhoneAuthentication getPhoneAuthentication() { return phoneAuthentication; } + /** + * setPhoneAuthentication. + **/ public void setPhoneAuthentication(RecipientPhoneAuthentication phoneAuthentication) { this.phoneAuthentication = phoneAuthentication; } + + /** + * recipientAttachments. + * + * @return Editor + **/ public Editor recipientAttachments(java.util.List recipientAttachments) { this.recipientAttachments = recipientAttachments; return this; } - + + /** + * addRecipientAttachmentsItem. + * + * @return Editor + **/ public Editor addRecipientAttachmentsItem(RecipientAttachment recipientAttachmentsItem) { + if (this.recipientAttachments == null) { + this.recipientAttachments = new java.util.ArrayList(); + } this.recipientAttachments.add(recipientAttachmentsItem); return this; } - /** - * Reserved: + /** + * Reserved:. * @return recipientAttachments - **/ - @ApiModelProperty(example = "null", value = "Reserved:") + **/ + @ApiModelProperty(value = "Reserved:") public java.util.List getRecipientAttachments() { return recipientAttachments; } + /** + * setRecipientAttachments. + **/ public void setRecipientAttachments(java.util.List recipientAttachments) { this.recipientAttachments = recipientAttachments; } + + /** + * recipientAuthenticationStatus. + * + * @return Editor + **/ public Editor recipientAuthenticationStatus(AuthenticationStatus recipientAuthenticationStatus) { this.recipientAuthenticationStatus = recipientAuthenticationStatus; return this; } - /** - * Get recipientAuthenticationStatus + /** + * Get recipientAuthenticationStatus. * @return recipientAuthenticationStatus - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public AuthenticationStatus getRecipientAuthenticationStatus() { return recipientAuthenticationStatus; } + /** + * setRecipientAuthenticationStatus. + **/ public void setRecipientAuthenticationStatus(AuthenticationStatus recipientAuthenticationStatus) { this.recipientAuthenticationStatus = recipientAuthenticationStatus; } + + /** + * recipientId. + * + * @return Editor + **/ public Editor recipientId(String recipientId) { this.recipientId = recipientId; return this; } - /** - * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document. + /** + * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.. * @return recipientId - **/ - @ApiModelProperty(example = "null", value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") + **/ + @ApiModelProperty(value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") public String getRecipientId() { return recipientId; } + /** + * setRecipientId. + **/ public void setRecipientId(String recipientId) { this.recipientId = recipientId; } + + /** + * recipientIdGuid. + * + * @return Editor + **/ public Editor recipientIdGuid(String recipientIdGuid) { this.recipientIdGuid = recipientIdGuid; return this; } - /** - * + /** + * . * @return recipientIdGuid - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getRecipientIdGuid() { return recipientIdGuid; } + /** + * setRecipientIdGuid. + **/ public void setRecipientIdGuid(String recipientIdGuid) { this.recipientIdGuid = recipientIdGuid; } + + /** + * requireIdLookup. + * + * @return Editor + **/ public Editor requireIdLookup(String requireIdLookup) { this.requireIdLookup = requireIdLookup; return this; } - /** - * When set to **true**, the recipient is required to use the specified ID check method (including Phone and SMS authentication) to validate their identity. + /** + * When set to **true**, the recipient is required to use the specified ID check method (including Phone and SMS authentication) to validate their identity. . * @return requireIdLookup - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the recipient is required to use the specified ID check method (including Phone and SMS authentication) to validate their identity. ") + **/ + @ApiModelProperty(value = "When set to **true**, the recipient is required to use the specified ID check method (including Phone and SMS authentication) to validate their identity. ") public String getRequireIdLookup() { return requireIdLookup; } + /** + * setRequireIdLookup. + **/ public void setRequireIdLookup(String requireIdLookup) { this.requireIdLookup = requireIdLookup; } + + /** + * roleName. + * + * @return Editor + **/ public Editor roleName(String roleName) { this.roleName = roleName; return this; } - /** - * Optional element. Specifies the role name associated with the recipient.

This is required when working with template recipients. + /** + * Optional element. Specifies the role name associated with the recipient.

This is required when working with template recipients.. * @return roleName - **/ - @ApiModelProperty(example = "null", value = "Optional element. Specifies the role name associated with the recipient.

This is required when working with template recipients.") + **/ + @ApiModelProperty(value = "Optional element. Specifies the role name associated with the recipient.

This is required when working with template recipients.") public String getRoleName() { return roleName; } + /** + * setRoleName. + **/ public void setRoleName(String roleName) { this.roleName = roleName; } + + /** + * routingOrder. + * + * @return Editor + **/ public Editor routingOrder(String routingOrder) { this.routingOrder = routingOrder; return this; } - /** - * Specifies the routing order of the recipient in the envelope. + /** + * Specifies the routing order of the recipient in the envelope. . * @return routingOrder - **/ - @ApiModelProperty(example = "null", value = "Specifies the routing order of the recipient in the envelope. ") + **/ + @ApiModelProperty(value = "Specifies the routing order of the recipient in the envelope. ") public String getRoutingOrder() { return routingOrder; } + /** + * setRoutingOrder. + **/ public void setRoutingOrder(String routingOrder) { this.routingOrder = routingOrder; } + + /** + * samlAuthentication. + * + * @return Editor + **/ public Editor samlAuthentication(RecipientSAMLAuthentication samlAuthentication) { this.samlAuthentication = samlAuthentication; return this; } - /** - * Get samlAuthentication + /** + * Get samlAuthentication. * @return samlAuthentication - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public RecipientSAMLAuthentication getSamlAuthentication() { return samlAuthentication; } + /** + * setSamlAuthentication. + **/ public void setSamlAuthentication(RecipientSAMLAuthentication samlAuthentication) { this.samlAuthentication = samlAuthentication; } + + /** + * sentDateTime. + * + * @return Editor + **/ public Editor sentDateTime(String sentDateTime) { this.sentDateTime = sentDateTime; return this; } - /** - * The date and time the envelope was sent. + /** + * The date and time the envelope was sent.. * @return sentDateTime - **/ - @ApiModelProperty(example = "null", value = "The date and time the envelope was sent.") + **/ + @ApiModelProperty(value = "The date and time the envelope was sent.") public String getSentDateTime() { return sentDateTime; } + /** + * setSentDateTime. + **/ public void setSentDateTime(String sentDateTime) { this.sentDateTime = sentDateTime; } + + /** + * signedDateTime. + * + * @return Editor + **/ public Editor signedDateTime(String signedDateTime) { this.signedDateTime = signedDateTime; return this; } - /** - * Reserved: For DocuSign use only. + /** + * Reserved: For DocuSign use only. . * @return signedDateTime - **/ - @ApiModelProperty(example = "null", value = "Reserved: For DocuSign use only. ") + **/ + @ApiModelProperty(value = "Reserved: For DocuSign use only. ") public String getSignedDateTime() { return signedDateTime; } + /** + * setSignedDateTime. + **/ public void setSignedDateTime(String signedDateTime) { this.signedDateTime = signedDateTime; } + + /** + * signingGroupId. + * + * @return Editor + **/ public Editor signingGroupId(String signingGroupId) { this.signingGroupId = signingGroupId; return this; } - /** - * When set to **true** and the feature is enabled in the sender's account, the signing recipient is required to draw signatures and initials at each signature/initial tab ( instead of adopting a signature/initial style or only drawing a signature/initial once). + /** + * When set to **true** and the feature is enabled in the sender's account, the signing recipient is required to draw signatures and initials at each signature/initial tab ( instead of adopting a signature/initial style or only drawing a signature/initial once).. * @return signingGroupId - **/ - @ApiModelProperty(example = "null", value = "When set to **true** and the feature is enabled in the sender's account, the signing recipient is required to draw signatures and initials at each signature/initial tab ( instead of adopting a signature/initial style or only drawing a signature/initial once).") + **/ + @ApiModelProperty(value = "When set to **true** and the feature is enabled in the sender's account, the signing recipient is required to draw signatures and initials at each signature/initial tab ( instead of adopting a signature/initial style or only drawing a signature/initial once).") public String getSigningGroupId() { return signingGroupId; } + /** + * setSigningGroupId. + **/ public void setSigningGroupId(String signingGroupId) { this.signingGroupId = signingGroupId; } + + /** + * signingGroupName. + * + * @return Editor + **/ public Editor signingGroupName(String signingGroupName) { this.signingGroupName = signingGroupName; return this; } - /** - * The display name for the signing group. Maximum Length: 100 characters. + /** + * The display name for the signing group. Maximum Length: 100 characters. . * @return signingGroupName - **/ - @ApiModelProperty(example = "null", value = "The display name for the signing group. Maximum Length: 100 characters. ") + **/ + @ApiModelProperty(value = "The display name for the signing group. Maximum Length: 100 characters. ") public String getSigningGroupName() { return signingGroupName; } + /** + * setSigningGroupName. + **/ public void setSigningGroupName(String signingGroupName) { this.signingGroupName = signingGroupName; } + + /** + * signingGroupUsers. + * + * @return Editor + **/ public Editor signingGroupUsers(java.util.List signingGroupUsers) { this.signingGroupUsers = signingGroupUsers; return this; } - + + /** + * addSigningGroupUsersItem. + * + * @return Editor + **/ public Editor addSigningGroupUsersItem(UserInfo signingGroupUsersItem) { + if (this.signingGroupUsers == null) { + this.signingGroupUsers = new java.util.ArrayList(); + } this.signingGroupUsers.add(signingGroupUsersItem); return this; } - /** - * A complex type that contains information about users in the signing group. + /** + * A complex type that contains information about users in the signing group.. * @return signingGroupUsers - **/ - @ApiModelProperty(example = "null", value = "A complex type that contains information about users in the signing group.") + **/ + @ApiModelProperty(value = "A complex type that contains information about users in the signing group.") public java.util.List getSigningGroupUsers() { return signingGroupUsers; } + /** + * setSigningGroupUsers. + **/ public void setSigningGroupUsers(java.util.List signingGroupUsers) { this.signingGroupUsers = signingGroupUsers; } + + /** + * smsAuthentication. + * + * @return Editor + **/ public Editor smsAuthentication(RecipientSMSAuthentication smsAuthentication) { this.smsAuthentication = smsAuthentication; return this; } - /** - * Get smsAuthentication + /** + * Get smsAuthentication. * @return smsAuthentication - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public RecipientSMSAuthentication getSmsAuthentication() { return smsAuthentication; } + /** + * setSmsAuthentication. + **/ public void setSmsAuthentication(RecipientSMSAuthentication smsAuthentication) { this.smsAuthentication = smsAuthentication; } + + /** + * socialAuthentications. + * + * @return Editor + **/ public Editor socialAuthentications(java.util.List socialAuthentications) { this.socialAuthentications = socialAuthentications; return this; } - + + /** + * addSocialAuthenticationsItem. + * + * @return Editor + **/ public Editor addSocialAuthenticationsItem(SocialAuthentication socialAuthenticationsItem) { + if (this.socialAuthentications == null) { + this.socialAuthentications = new java.util.ArrayList(); + } this.socialAuthentications.add(socialAuthenticationsItem); return this; } - /** - * Lists the social ID type that can be used for recipient authentication. + /** + * Lists the social ID type that can be used for recipient authentication.. * @return socialAuthentications - **/ - @ApiModelProperty(example = "null", value = " Lists the social ID type that can be used for recipient authentication.") + **/ + @ApiModelProperty(value = " Lists the social ID type that can be used for recipient authentication.") public java.util.List getSocialAuthentications() { return socialAuthentications; } + /** + * setSocialAuthentications. + **/ public void setSocialAuthentications(java.util.List socialAuthentications) { this.socialAuthentications = socialAuthentications; } + + /** + * status. + * + * @return Editor + **/ public Editor status(String status) { this.status = status; return this; } - /** - * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. + /** + * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.. * @return status - **/ - @ApiModelProperty(example = "null", value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") + **/ + @ApiModelProperty(value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") public String getStatus() { return status; } + /** + * setStatus. + **/ public void setStatus(String status) { this.status = status; } + + /** + * templateLocked. + * + * @return Editor + **/ public Editor templateLocked(String templateLocked) { this.templateLocked = templateLocked; return this; } - /** - * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. . * @return templateLocked - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") + **/ + @ApiModelProperty(value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") public String getTemplateLocked() { return templateLocked; } + /** + * setTemplateLocked. + **/ public void setTemplateLocked(String templateLocked) { this.templateLocked = templateLocked; } + + /** + * templateRequired. + * + * @return Editor + **/ public Editor templateRequired(String templateRequired) { this.templateRequired = templateRequired; return this; } - /** - * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.. * @return templateRequired - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") + **/ + @ApiModelProperty(value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") public String getTemplateRequired() { return templateRequired; } + /** + * setTemplateRequired. + **/ public void setTemplateRequired(String templateRequired) { this.templateRequired = templateRequired; } + + /** + * totalTabCount. + * + * @return Editor + **/ public Editor totalTabCount(String totalTabCount) { this.totalTabCount = totalTabCount; return this; } - /** - * + /** + * . * @return totalTabCount - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTotalTabCount() { return totalTabCount; } + /** + * setTotalTabCount. + **/ public void setTotalTabCount(String totalTabCount) { this.totalTabCount = totalTabCount; } + + /** + * userId. + * + * @return Editor + **/ public Editor userId(String userId) { this.userId = userId; return this; } - /** - * + /** + * . * @return userId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getUserId() { return userId; } + /** + * setUserId. + **/ public void setUserId(String userId) { this.userId = userId; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -1000,6 +1475,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.fullName, editor.fullName) && Objects.equals(this.idCheckConfigurationName, editor.idCheckConfigurationName) && Objects.equals(this.idCheckInformationInput, editor.idCheckInformationInput) && + Objects.equals(this.identityVerification, editor.identityVerification) && Objects.equals(this.inheritEmailNotificationConfiguration, editor.inheritEmailNotificationConfiguration) && Objects.equals(this.lastName, editor.lastName) && Objects.equals(this.name, editor.name) && @@ -1027,12 +1503,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.userId, editor.userId); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { - return Objects.hash(accessCode, addAccessCodeToEmail, clientUserId, customFields, declinedDateTime, declinedReason, deliveredDateTime, deliveryMethod, documentVisibility, email, emailNotification, emailRecipientPostSigningURL, embeddedRecipientStartURL, errorDetails, faxNumber, firstName, fullName, idCheckConfigurationName, idCheckInformationInput, inheritEmailNotificationConfiguration, lastName, name, note, phoneAuthentication, recipientAttachments, recipientAuthenticationStatus, recipientId, recipientIdGuid, requireIdLookup, roleName, routingOrder, samlAuthentication, sentDateTime, signedDateTime, signingGroupId, signingGroupName, signingGroupUsers, smsAuthentication, socialAuthentications, status, templateLocked, templateRequired, totalTabCount, userId); + return Objects.hash(accessCode, addAccessCodeToEmail, clientUserId, customFields, declinedDateTime, declinedReason, deliveredDateTime, deliveryMethod, documentVisibility, email, emailNotification, emailRecipientPostSigningURL, embeddedRecipientStartURL, errorDetails, faxNumber, firstName, fullName, idCheckConfigurationName, idCheckInformationInput, identityVerification, inheritEmailNotificationConfiguration, lastName, name, note, phoneAuthentication, recipientAttachments, recipientAuthenticationStatus, recipientId, recipientIdGuid, requireIdLookup, roleName, routingOrder, samlAuthentication, sentDateTime, signedDateTime, signingGroupId, signingGroupName, signingGroupUsers, smsAuthentication, socialAuthentications, status, templateLocked, templateRequired, totalTabCount, userId); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -1057,6 +1539,7 @@ public String toString() { sb.append(" fullName: ").append(toIndentedString(fullName)).append("\n"); sb.append(" idCheckConfigurationName: ").append(toIndentedString(idCheckConfigurationName)).append("\n"); sb.append(" idCheckInformationInput: ").append(toIndentedString(idCheckInformationInput)).append("\n"); + sb.append(" identityVerification: ").append(toIndentedString(identityVerification)).append("\n"); sb.append(" inheritEmailNotificationConfiguration: ").append(toIndentedString(inheritEmailNotificationConfiguration)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); @@ -1096,6 +1579,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/Email.java b/src/main/java/com/docusign/esign/model/Email.java index 877b1b1f..15915820 100644 --- a/src/main/java/com/docusign/esign/model/Email.java +++ b/src/main/java/com/docusign/esign/model/Email.java @@ -1,15 +1,18 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ErrorDetails; import com.docusign.esign.model.MergeField; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Email + * Email. + * */ public class Email { @@ -113,7 +116,7 @@ public class Email { private String status = null; @JsonProperty("tabGroupLabels") - private java.util.List tabGroupLabels = new java.util.ArrayList(); + private java.util.List tabGroupLabels = null; @JsonProperty("tabId") private String tabId = null; @@ -154,858 +157,1294 @@ public class Email { @JsonProperty("yPosition") private String yPosition = null; + + /** + * anchorCaseSensitive. + * + * @return Email + **/ public Email anchorCaseSensitive(String anchorCaseSensitive) { this.anchorCaseSensitive = anchorCaseSensitive; return this; } - /** - * When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**. + /** + * When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.. * @return anchorCaseSensitive - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.") + **/ + @ApiModelProperty(value = "When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.") public String getAnchorCaseSensitive() { return anchorCaseSensitive; } + /** + * setAnchorCaseSensitive. + **/ public void setAnchorCaseSensitive(String anchorCaseSensitive) { this.anchorCaseSensitive = anchorCaseSensitive; } + + /** + * anchorHorizontalAlignment. + * + * @return Email + **/ public Email anchorHorizontalAlignment(String anchorHorizontalAlignment) { this.anchorHorizontalAlignment = anchorHorizontalAlignment; return this; } - /** - * Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**. + /** + * Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.. * @return anchorHorizontalAlignment - **/ - @ApiModelProperty(example = "null", value = "Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.") + **/ + @ApiModelProperty(value = "Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.") public String getAnchorHorizontalAlignment() { return anchorHorizontalAlignment; } + /** + * setAnchorHorizontalAlignment. + **/ public void setAnchorHorizontalAlignment(String anchorHorizontalAlignment) { this.anchorHorizontalAlignment = anchorHorizontalAlignment; } + + /** + * anchorIgnoreIfNotPresent. + * + * @return Email + **/ public Email anchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { this.anchorIgnoreIfNotPresent = anchorIgnoreIfNotPresent; return this; } - /** - * When set to **true**, this tab is ignored if anchorString is not found in the document. + /** + * When set to **true**, this tab is ignored if anchorString is not found in the document.. * @return anchorIgnoreIfNotPresent - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, this tab is ignored if anchorString is not found in the document.") + **/ + @ApiModelProperty(value = "When set to **true**, this tab is ignored if anchorString is not found in the document.") public String getAnchorIgnoreIfNotPresent() { return anchorIgnoreIfNotPresent; } + /** + * setAnchorIgnoreIfNotPresent. + **/ public void setAnchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { this.anchorIgnoreIfNotPresent = anchorIgnoreIfNotPresent; } + + /** + * anchorMatchWholeWord. + * + * @return Email + **/ public Email anchorMatchWholeWord(String anchorMatchWholeWord) { this.anchorMatchWholeWord = anchorMatchWholeWord; return this; } - /** - * When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**. + /** + * When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.. * @return anchorMatchWholeWord - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.") + **/ + @ApiModelProperty(value = "When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.") public String getAnchorMatchWholeWord() { return anchorMatchWholeWord; } + /** + * setAnchorMatchWholeWord. + **/ public void setAnchorMatchWholeWord(String anchorMatchWholeWord) { this.anchorMatchWholeWord = anchorMatchWholeWord; } + + /** + * anchorString. + * + * @return Email + **/ public Email anchorString(String anchorString) { this.anchorString = anchorString; return this; } - /** - * Anchor text information for a radio button. + /** + * Anchor text information for a radio button.. * @return anchorString - **/ - @ApiModelProperty(example = "null", value = "Anchor text information for a radio button.") + **/ + @ApiModelProperty(value = "Anchor text information for a radio button.") public String getAnchorString() { return anchorString; } + /** + * setAnchorString. + **/ public void setAnchorString(String anchorString) { this.anchorString = anchorString; } + + /** + * anchorUnits. + * + * @return Email + **/ public Email anchorUnits(String anchorUnits) { this.anchorUnits = anchorUnits; return this; } - /** - * Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. + /** + * Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. * @return anchorUnits - **/ - @ApiModelProperty(example = "null", value = "Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.") + **/ + @ApiModelProperty(value = "Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.") public String getAnchorUnits() { return anchorUnits; } + /** + * setAnchorUnits. + **/ public void setAnchorUnits(String anchorUnits) { this.anchorUnits = anchorUnits; } + + /** + * anchorXOffset. + * + * @return Email + **/ public Email anchorXOffset(String anchorXOffset) { this.anchorXOffset = anchorXOffset; return this; } - /** - * Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString. + /** + * Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. * @return anchorXOffset - **/ - @ApiModelProperty(example = "null", value = "Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.") + **/ + @ApiModelProperty(value = "Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.") public String getAnchorXOffset() { return anchorXOffset; } + /** + * setAnchorXOffset. + **/ public void setAnchorXOffset(String anchorXOffset) { this.anchorXOffset = anchorXOffset; } + + /** + * anchorYOffset. + * + * @return Email + **/ public Email anchorYOffset(String anchorYOffset) { this.anchorYOffset = anchorYOffset; return this; } - /** - * Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString. + /** + * Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.. * @return anchorYOffset - **/ - @ApiModelProperty(example = "null", value = "Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.") + **/ + @ApiModelProperty(value = "Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.") public String getAnchorYOffset() { return anchorYOffset; } + /** + * setAnchorYOffset. + **/ public void setAnchorYOffset(String anchorYOffset) { this.anchorYOffset = anchorYOffset; } + + /** + * bold. + * + * @return Email + **/ public Email bold(String bold) { this.bold = bold; return this; } - /** - * When set to **true**, the information in the tab is bold. + /** + * When set to **true**, the information in the tab is bold.. * @return bold - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is bold.") + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is bold.") public String getBold() { return bold; } + /** + * setBold. + **/ public void setBold(String bold) { this.bold = bold; } + + /** + * concealValueOnDocument. + * + * @return Email + **/ public Email concealValueOnDocument(String concealValueOnDocument) { this.concealValueOnDocument = concealValueOnDocument; return this; } - /** - * When set to **true**, the field appears normally while the recipient is adding or modifying the information in the field, but the data is not visible (the characters are hidden by asterisks) to any other signer or the sender. When an envelope is completed the information is available to the sender through the Form Data link in the DocuSign Console. This setting applies only to text boxes and does not affect list boxes, radio buttons, or check boxes. + /** + * When set to **true**, the field appears normally while the recipient is adding or modifying the information in the field, but the data is not visible (the characters are hidden by asterisks) to any other signer or the sender. When an envelope is completed the information is available to the sender through the Form Data link in the DocuSign Console. This setting applies only to text boxes and does not affect list boxes, radio buttons, or check boxes.. * @return concealValueOnDocument - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the field appears normally while the recipient is adding or modifying the information in the field, but the data is not visible (the characters are hidden by asterisks) to any other signer or the sender. When an envelope is completed the information is available to the sender through the Form Data link in the DocuSign Console. This setting applies only to text boxes and does not affect list boxes, radio buttons, or check boxes.") + **/ + @ApiModelProperty(value = "When set to **true**, the field appears normally while the recipient is adding or modifying the information in the field, but the data is not visible (the characters are hidden by asterisks) to any other signer or the sender. When an envelope is completed the information is available to the sender through the Form Data link in the DocuSign Console. This setting applies only to text boxes and does not affect list boxes, radio buttons, or check boxes.") public String getConcealValueOnDocument() { return concealValueOnDocument; } + /** + * setConcealValueOnDocument. + **/ public void setConcealValueOnDocument(String concealValueOnDocument) { this.concealValueOnDocument = concealValueOnDocument; } + + /** + * conditionalParentLabel. + * + * @return Email + **/ public Email conditionalParentLabel(String conditionalParentLabel) { this.conditionalParentLabel = conditionalParentLabel; return this; } - /** - * For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility. + /** + * For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.. * @return conditionalParentLabel - **/ - @ApiModelProperty(example = "null", value = "For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.") + **/ + @ApiModelProperty(value = "For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.") public String getConditionalParentLabel() { return conditionalParentLabel; } + /** + * setConditionalParentLabel. + **/ public void setConditionalParentLabel(String conditionalParentLabel) { this.conditionalParentLabel = conditionalParentLabel; } + + /** + * conditionalParentValue. + * + * @return Email + **/ public Email conditionalParentValue(String conditionalParentValue) { this.conditionalParentValue = conditionalParentValue; return this; } - /** - * For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. + /** + * For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. . * @return conditionalParentValue - **/ - @ApiModelProperty(example = "null", value = "For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. ") + **/ + @ApiModelProperty(value = "For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. ") public String getConditionalParentValue() { return conditionalParentValue; } + /** + * setConditionalParentValue. + **/ public void setConditionalParentValue(String conditionalParentValue) { this.conditionalParentValue = conditionalParentValue; } + + /** + * customTabId. + * + * @return Email + **/ public Email customTabId(String customTabId) { this.customTabId = customTabId; return this; } - /** - * The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties. + /** + * The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.. * @return customTabId - **/ - @ApiModelProperty(example = "null", value = "The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.") + **/ + @ApiModelProperty(value = "The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.") public String getCustomTabId() { return customTabId; } + /** + * setCustomTabId. + **/ public void setCustomTabId(String customTabId) { this.customTabId = customTabId; } + + /** + * disableAutoSize. + * + * @return Email + **/ public Email disableAutoSize(String disableAutoSize) { this.disableAutoSize = disableAutoSize; return this; } - /** - * When set to **true**, disables the auto sizing of single line text boxes in the signing screen when the signer enters data. If disabled users will only be able enter as much data as the text box can hold. By default this is false. This property only affects single line text boxes. + /** + * When set to **true**, disables the auto sizing of single line text boxes in the signing screen when the signer enters data. If disabled users will only be able enter as much data as the text box can hold. By default this is false. This property only affects single line text boxes.. * @return disableAutoSize - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, disables the auto sizing of single line text boxes in the signing screen when the signer enters data. If disabled users will only be able enter as much data as the text box can hold. By default this is false. This property only affects single line text boxes.") + **/ + @ApiModelProperty(value = "When set to **true**, disables the auto sizing of single line text boxes in the signing screen when the signer enters data. If disabled users will only be able enter as much data as the text box can hold. By default this is false. This property only affects single line text boxes.") public String getDisableAutoSize() { return disableAutoSize; } + /** + * setDisableAutoSize. + **/ public void setDisableAutoSize(String disableAutoSize) { this.disableAutoSize = disableAutoSize; } + + /** + * documentId. + * + * @return Email + **/ public Email documentId(String documentId) { this.documentId = documentId; return this; } - /** - * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute. + /** + * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.. * @return documentId - **/ - @ApiModelProperty(example = "null", value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") + **/ + @ApiModelProperty(value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") public String getDocumentId() { return documentId; } + /** + * setDocumentId. + **/ public void setDocumentId(String documentId) { this.documentId = documentId; } + + /** + * errorDetails. + * + * @return Email + **/ public Email errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * font. + * + * @return Email + **/ public Email font(String font) { this.font = font; return this; } - /** - * The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default. + /** + * The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.. * @return font - **/ - @ApiModelProperty(example = "null", value = "The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.") + **/ + @ApiModelProperty(value = "The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.") public String getFont() { return font; } + /** + * setFont. + **/ public void setFont(String font) { this.font = font; } + + /** + * fontColor. + * + * @return Email + **/ public Email fontColor(String fontColor) { this.fontColor = fontColor; return this; } - /** - * The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White. + /** + * The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.. * @return fontColor - **/ - @ApiModelProperty(example = "null", value = "The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.") + **/ + @ApiModelProperty(value = "The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.") public String getFontColor() { return fontColor; } + /** + * setFontColor. + **/ public void setFontColor(String fontColor) { this.fontColor = fontColor; } + + /** + * fontSize. + * + * @return Email + **/ public Email fontSize(String fontSize) { this.fontSize = fontSize; return this; } - /** - * The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72. + /** + * The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.. * @return fontSize - **/ - @ApiModelProperty(example = "null", value = "The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.") + **/ + @ApiModelProperty(value = "The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.") public String getFontSize() { return fontSize; } + /** + * setFontSize. + **/ public void setFontSize(String fontSize) { this.fontSize = fontSize; } + + /** + * italic. + * + * @return Email + **/ public Email italic(String italic) { this.italic = italic; return this; } - /** - * When set to **true**, the information in the tab is italic. + /** + * When set to **true**, the information in the tab is italic.. * @return italic - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is italic.") + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is italic.") public String getItalic() { return italic; } + /** + * setItalic. + **/ public void setItalic(String italic) { this.italic = italic; } + + /** + * locked. + * + * @return Email + **/ public Email locked(String locked) { this.locked = locked; return this; } - /** - * When set to **true**, the signer cannot change the data of the custom tab. + /** + * When set to **true**, the signer cannot change the data of the custom tab.. * @return locked - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the signer cannot change the data of the custom tab.") + **/ + @ApiModelProperty(value = "When set to **true**, the signer cannot change the data of the custom tab.") public String getLocked() { return locked; } + /** + * setLocked. + **/ public void setLocked(String locked) { this.locked = locked; } + + /** + * maxLength. + * + * @return Email + **/ public Email maxLength(Integer maxLength) { this.maxLength = maxLength; return this; } - /** - * An optional value that describes the maximum length of the property when the property is a string. + /** + * An optional value that describes the maximum length of the property when the property is a string.. * @return maxLength - **/ - @ApiModelProperty(example = "null", value = "An optional value that describes the maximum length of the property when the property is a string.") + **/ + @ApiModelProperty(value = "An optional value that describes the maximum length of the property when the property is a string.") public Integer getMaxLength() { return maxLength; } + /** + * setMaxLength. + **/ public void setMaxLength(Integer maxLength) { this.maxLength = maxLength; } + + /** + * mergeField. + * + * @return Email + **/ public Email mergeField(MergeField mergeField) { this.mergeField = mergeField; return this; } - /** - * Get mergeField + /** + * Get mergeField. * @return mergeField - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public MergeField getMergeField() { return mergeField; } + /** + * setMergeField. + **/ public void setMergeField(MergeField mergeField) { this.mergeField = mergeField; } + + /** + * name. + * + * @return Email + **/ public Email name(String name) { this.name = name; return this; } - /** - * + /** + * . * @return name - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * originalValue. + * + * @return Email + **/ public Email originalValue(String originalValue) { this.originalValue = originalValue; return this; } - /** - * The initial value of the tab when it was sent to the recipient. + /** + * The initial value of the tab when it was sent to the recipient. . * @return originalValue - **/ - @ApiModelProperty(example = "null", value = "The initial value of the tab when it was sent to the recipient. ") + **/ + @ApiModelProperty(value = "The initial value of the tab when it was sent to the recipient. ") public String getOriginalValue() { return originalValue; } + /** + * setOriginalValue. + **/ public void setOriginalValue(String originalValue) { this.originalValue = originalValue; } + + /** + * pageNumber. + * + * @return Email + **/ public Email pageNumber(String pageNumber) { this.pageNumber = pageNumber; return this; } - /** - * Specifies the page number on which the tab is located. + /** + * Specifies the page number on which the tab is located.. * @return pageNumber - **/ - @ApiModelProperty(example = "null", value = "Specifies the page number on which the tab is located.") + **/ + @ApiModelProperty(value = "Specifies the page number on which the tab is located.") public String getPageNumber() { return pageNumber; } + /** + * setPageNumber. + **/ public void setPageNumber(String pageNumber) { this.pageNumber = pageNumber; } + + /** + * recipientId. + * + * @return Email + **/ public Email recipientId(String recipientId) { this.recipientId = recipientId; return this; } - /** - * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document. + /** + * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.. * @return recipientId - **/ - @ApiModelProperty(example = "null", value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") + **/ + @ApiModelProperty(value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") public String getRecipientId() { return recipientId; } + /** + * setRecipientId. + **/ public void setRecipientId(String recipientId) { this.recipientId = recipientId; } + + /** + * requireAll. + * + * @return Email + **/ public Email requireAll(String requireAll) { this.requireAll = requireAll; return this; } - /** - * When set to **true** and shared is true, information must be entered in this field to complete the envelope. + /** + * When set to **true** and shared is true, information must be entered in this field to complete the envelope. . * @return requireAll - **/ - @ApiModelProperty(example = "null", value = "When set to **true** and shared is true, information must be entered in this field to complete the envelope. ") + **/ + @ApiModelProperty(value = "When set to **true** and shared is true, information must be entered in this field to complete the envelope. ") public String getRequireAll() { return requireAll; } + /** + * setRequireAll. + **/ public void setRequireAll(String requireAll) { this.requireAll = requireAll; } + + /** + * required. + * + * @return Email + **/ public Email required(String required) { this.required = required; return this; } - /** - * When set to **true**, the signer is required to fill out this tab + /** + * When set to **true**, the signer is required to fill out this tab. * @return required - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the signer is required to fill out this tab") + **/ + @ApiModelProperty(value = "When set to **true**, the signer is required to fill out this tab") public String getRequired() { return required; } + /** + * setRequired. + **/ public void setRequired(String required) { this.required = required; } + + /** + * requireInitialOnSharedChange. + * + * @return Email + **/ public Email requireInitialOnSharedChange(String requireInitialOnSharedChange) { this.requireInitialOnSharedChange = requireInitialOnSharedChange; return this; } - /** - * Optional element for field markup. When set to **true**, the signer is required to initial when they modify a shared field. + /** + * Optional element for field markup. When set to **true**, the signer is required to initial when they modify a shared field.. * @return requireInitialOnSharedChange - **/ - @ApiModelProperty(example = "null", value = "Optional element for field markup. When set to **true**, the signer is required to initial when they modify a shared field.") + **/ + @ApiModelProperty(value = "Optional element for field markup. When set to **true**, the signer is required to initial when they modify a shared field.") public String getRequireInitialOnSharedChange() { return requireInitialOnSharedChange; } + /** + * setRequireInitialOnSharedChange. + **/ public void setRequireInitialOnSharedChange(String requireInitialOnSharedChange) { this.requireInitialOnSharedChange = requireInitialOnSharedChange; } + + /** + * senderRequired. + * + * @return Email + **/ public Email senderRequired(String senderRequired) { this.senderRequired = senderRequired; return this; } - /** - * When set to **true**, the sender must populate the tab before an envelope can be sent using the template. This value tab can only be changed by modifying (PUT) the template. Tabs with a `senderRequired` value of true cannot be deleted from an envelope. + /** + * When set to **true**, the sender must populate the tab before an envelope can be sent using the template. This value tab can only be changed by modifying (PUT) the template. Tabs with a `senderRequired` value of true cannot be deleted from an envelope.. * @return senderRequired - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender must populate the tab before an envelope can be sent using the template. This value tab can only be changed by modifying (PUT) the template. Tabs with a `senderRequired` value of true cannot be deleted from an envelope.") + **/ + @ApiModelProperty(value = "When set to **true**, the sender must populate the tab before an envelope can be sent using the template. This value tab can only be changed by modifying (PUT) the template. Tabs with a `senderRequired` value of true cannot be deleted from an envelope.") public String getSenderRequired() { return senderRequired; } + /** + * setSenderRequired. + **/ public void setSenderRequired(String senderRequired) { this.senderRequired = senderRequired; } + + /** + * shared. + * + * @return Email + **/ public Email shared(String shared) { this.shared = shared; return this; } - /** - * When set to **true**, this custom tab is shared. + /** + * When set to **true**, this custom tab is shared.. * @return shared - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, this custom tab is shared.") + **/ + @ApiModelProperty(value = "When set to **true**, this custom tab is shared.") public String getShared() { return shared; } + /** + * setShared. + **/ public void setShared(String shared) { this.shared = shared; } + + /** + * status. + * + * @return Email + **/ public Email status(String status) { this.status = status; return this; } - /** - * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. + /** + * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.. * @return status - **/ - @ApiModelProperty(example = "null", value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") + **/ + @ApiModelProperty(value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") public String getStatus() { return status; } + /** + * setStatus. + **/ public void setStatus(String status) { this.status = status; } + + /** + * tabGroupLabels. + * + * @return Email + **/ public Email tabGroupLabels(java.util.List tabGroupLabels) { this.tabGroupLabels = tabGroupLabels; return this; } - + + /** + * addTabGroupLabelsItem. + * + * @return Email + **/ public Email addTabGroupLabelsItem(String tabGroupLabelsItem) { + if (this.tabGroupLabels == null) { + this.tabGroupLabels = new java.util.ArrayList(); + } this.tabGroupLabels.add(tabGroupLabelsItem); return this; } - /** - * + /** + * . * @return tabGroupLabels - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getTabGroupLabels() { return tabGroupLabels; } + /** + * setTabGroupLabels. + **/ public void setTabGroupLabels(java.util.List tabGroupLabels) { this.tabGroupLabels = tabGroupLabels; } + + /** + * tabId. + * + * @return Email + **/ public Email tabId(String tabId) { this.tabId = tabId; return this; } - /** - * The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. + /** + * The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. . * @return tabId - **/ - @ApiModelProperty(example = "null", value = "The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. ") + **/ + @ApiModelProperty(value = "The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. ") public String getTabId() { return tabId; } + /** + * setTabId. + **/ public void setTabId(String tabId) { this.tabId = tabId; } + + /** + * tabLabel. + * + * @return Email + **/ public Email tabLabel(String tabLabel) { this.tabLabel = tabLabel; return this; } - /** - * The label string associated with the tab. + /** + * The label string associated with the tab.. * @return tabLabel - **/ - @ApiModelProperty(example = "null", value = "The label string associated with the tab.") + **/ + @ApiModelProperty(value = "The label string associated with the tab.") public String getTabLabel() { return tabLabel; } + /** + * setTabLabel. + **/ public void setTabLabel(String tabLabel) { this.tabLabel = tabLabel; } + + /** + * tabOrder. + * + * @return Email + **/ public Email tabOrder(String tabOrder) { this.tabOrder = tabOrder; return this; } - /** - * + /** + * . * @return tabOrder - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTabOrder() { return tabOrder; } + /** + * setTabOrder. + **/ public void setTabOrder(String tabOrder) { this.tabOrder = tabOrder; } + + /** + * templateLocked. + * + * @return Email + **/ public Email templateLocked(String templateLocked) { this.templateLocked = templateLocked; return this; } - /** - * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. . * @return templateLocked - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") + **/ + @ApiModelProperty(value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") public String getTemplateLocked() { return templateLocked; } + /** + * setTemplateLocked. + **/ public void setTemplateLocked(String templateLocked) { this.templateLocked = templateLocked; } + + /** + * templateRequired. + * + * @return Email + **/ public Email templateRequired(String templateRequired) { this.templateRequired = templateRequired; return this; } - /** - * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.. * @return templateRequired - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") + **/ + @ApiModelProperty(value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") public String getTemplateRequired() { return templateRequired; } + /** + * setTemplateRequired. + **/ public void setTemplateRequired(String templateRequired) { this.templateRequired = templateRequired; } + + /** + * tooltip. + * + * @return Email + **/ public Email tooltip(String tooltip) { this.tooltip = tooltip; return this; } - /** - * + /** + * . * @return tooltip - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTooltip() { return tooltip; } + /** + * setTooltip. + **/ public void setTooltip(String tooltip) { this.tooltip = tooltip; } + + /** + * underline. + * + * @return Email + **/ public Email underline(String underline) { this.underline = underline; return this; } - /** - * When set to **true**, the information in the tab is underlined. + /** + * When set to **true**, the information in the tab is underlined.. * @return underline - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is underlined.") + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is underlined.") public String getUnderline() { return underline; } + /** + * setUnderline. + **/ public void setUnderline(String underline) { this.underline = underline; } + + /** + * validationMessage. + * + * @return Email + **/ public Email validationMessage(String validationMessage) { this.validationMessage = validationMessage; return this; } - /** - * The message displayed if the custom tab fails input validation (either custom of embedded). + /** + * The message displayed if the custom tab fails input validation (either custom of embedded).. * @return validationMessage - **/ - @ApiModelProperty(example = "null", value = "The message displayed if the custom tab fails input validation (either custom of embedded).") + **/ + @ApiModelProperty(value = "The message displayed if the custom tab fails input validation (either custom of embedded).") public String getValidationMessage() { return validationMessage; } + /** + * setValidationMessage. + **/ public void setValidationMessage(String validationMessage) { this.validationMessage = validationMessage; } + + /** + * validationPattern. + * + * @return Email + **/ public Email validationPattern(String validationPattern) { this.validationPattern = validationPattern; return this; } - /** - * A regular expression used to validate input for the tab. + /** + * A regular expression used to validate input for the tab.. * @return validationPattern - **/ - @ApiModelProperty(example = "null", value = "A regular expression used to validate input for the tab.") + **/ + @ApiModelProperty(value = "A regular expression used to validate input for the tab.") public String getValidationPattern() { return validationPattern; } + /** + * setValidationPattern. + **/ public void setValidationPattern(String validationPattern) { this.validationPattern = validationPattern; } + + /** + * value. + * + * @return Email + **/ public Email value(String value) { this.value = value; return this; } - /** - * Specifies the value of the tab. + /** + * Specifies the value of the tab. . * @return value - **/ - @ApiModelProperty(example = "null", value = "Specifies the value of the tab. ") + **/ + @ApiModelProperty(value = "Specifies the value of the tab. ") public String getValue() { return value; } + /** + * setValue. + **/ public void setValue(String value) { this.value = value; } + + /** + * width. + * + * @return Email + **/ public Email width(Integer width) { this.width = width; return this; } - /** - * Width of the tab in pixels. + /** + * Width of the tab in pixels.. * @return width - **/ - @ApiModelProperty(example = "null", value = "Width of the tab in pixels.") + **/ + @ApiModelProperty(value = "Width of the tab in pixels.") public Integer getWidth() { return width; } + /** + * setWidth. + **/ public void setWidth(Integer width) { this.width = width; } + + /** + * xPosition. + * + * @return Email + **/ public Email xPosition(String xPosition) { this.xPosition = xPosition; return this; } - /** - * This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position. + /** + * This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.. * @return xPosition - **/ - @ApiModelProperty(example = "null", value = "This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.") + **/ + @ApiModelProperty(value = "This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.") public String getXPosition() { return xPosition; } + /** + * setXPosition. + **/ public void setXPosition(String xPosition) { this.xPosition = xPosition; } + + /** + * yPosition. + * + * @return Email + **/ public Email yPosition(String yPosition) { this.yPosition = yPosition; return this; } - /** - * This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position. + /** + * This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. * @return yPosition - **/ - @ApiModelProperty(example = "null", value = "This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.") + **/ + @ApiModelProperty(value = "This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.") public String getYPosition() { return yPosition; } + /** + * setYPosition. + **/ public void setYPosition(String yPosition) { this.yPosition = yPosition; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -1064,12 +1503,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.yPosition, email.yPosition); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(anchorCaseSensitive, anchorHorizontalAlignment, anchorIgnoreIfNotPresent, anchorMatchWholeWord, anchorString, anchorUnits, anchorXOffset, anchorYOffset, bold, concealValueOnDocument, conditionalParentLabel, conditionalParentValue, customTabId, disableAutoSize, documentId, errorDetails, font, fontColor, fontSize, italic, locked, maxLength, mergeField, name, originalValue, pageNumber, recipientId, requireAll, required, requireInitialOnSharedChange, senderRequired, shared, status, tabGroupLabels, tabId, tabLabel, tabOrder, templateLocked, templateRequired, tooltip, underline, validationMessage, validationPattern, value, width, xPosition, yPosition); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -1136,6 +1581,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/EmailAddress.java b/src/main/java/com/docusign/esign/model/EmailAddress.java index 20bc4cb4..47f973ec 100644 --- a/src/main/java/com/docusign/esign/model/EmailAddress.java +++ b/src/main/java/com/docusign/esign/model/EmailAddress.java @@ -1,15 +1,18 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ErrorDetails; import com.docusign.esign.model.MergeField; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * EmailAddress + * EmailAddress. + * */ public class EmailAddress { @@ -83,7 +86,7 @@ public class EmailAddress { private String status = null; @JsonProperty("tabGroupLabels") - private java.util.List tabGroupLabels = new java.util.ArrayList(); + private java.util.List tabGroupLabels = null; @JsonProperty("tabId") private String tabId = null; @@ -115,624 +118,943 @@ public class EmailAddress { @JsonProperty("yPosition") private String yPosition = null; + + /** + * anchorCaseSensitive. + * + * @return EmailAddress + **/ public EmailAddress anchorCaseSensitive(String anchorCaseSensitive) { this.anchorCaseSensitive = anchorCaseSensitive; return this; } - /** - * When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**. + /** + * When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.. * @return anchorCaseSensitive - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.") + **/ + @ApiModelProperty(value = "When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.") public String getAnchorCaseSensitive() { return anchorCaseSensitive; } + /** + * setAnchorCaseSensitive. + **/ public void setAnchorCaseSensitive(String anchorCaseSensitive) { this.anchorCaseSensitive = anchorCaseSensitive; } + + /** + * anchorHorizontalAlignment. + * + * @return EmailAddress + **/ public EmailAddress anchorHorizontalAlignment(String anchorHorizontalAlignment) { this.anchorHorizontalAlignment = anchorHorizontalAlignment; return this; } - /** - * Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**. + /** + * Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.. * @return anchorHorizontalAlignment - **/ - @ApiModelProperty(example = "null", value = "Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.") + **/ + @ApiModelProperty(value = "Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.") public String getAnchorHorizontalAlignment() { return anchorHorizontalAlignment; } + /** + * setAnchorHorizontalAlignment. + **/ public void setAnchorHorizontalAlignment(String anchorHorizontalAlignment) { this.anchorHorizontalAlignment = anchorHorizontalAlignment; } + + /** + * anchorIgnoreIfNotPresent. + * + * @return EmailAddress + **/ public EmailAddress anchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { this.anchorIgnoreIfNotPresent = anchorIgnoreIfNotPresent; return this; } - /** - * When set to **true**, this tab is ignored if anchorString is not found in the document. + /** + * When set to **true**, this tab is ignored if anchorString is not found in the document.. * @return anchorIgnoreIfNotPresent - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, this tab is ignored if anchorString is not found in the document.") + **/ + @ApiModelProperty(value = "When set to **true**, this tab is ignored if anchorString is not found in the document.") public String getAnchorIgnoreIfNotPresent() { return anchorIgnoreIfNotPresent; } + /** + * setAnchorIgnoreIfNotPresent. + **/ public void setAnchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { this.anchorIgnoreIfNotPresent = anchorIgnoreIfNotPresent; } + + /** + * anchorMatchWholeWord. + * + * @return EmailAddress + **/ public EmailAddress anchorMatchWholeWord(String anchorMatchWholeWord) { this.anchorMatchWholeWord = anchorMatchWholeWord; return this; } - /** - * When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**. + /** + * When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.. * @return anchorMatchWholeWord - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.") + **/ + @ApiModelProperty(value = "When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.") public String getAnchorMatchWholeWord() { return anchorMatchWholeWord; } + /** + * setAnchorMatchWholeWord. + **/ public void setAnchorMatchWholeWord(String anchorMatchWholeWord) { this.anchorMatchWholeWord = anchorMatchWholeWord; } + + /** + * anchorString. + * + * @return EmailAddress + **/ public EmailAddress anchorString(String anchorString) { this.anchorString = anchorString; return this; } - /** - * Anchor text information for a radio button. + /** + * Anchor text information for a radio button.. * @return anchorString - **/ - @ApiModelProperty(example = "null", value = "Anchor text information for a radio button.") + **/ + @ApiModelProperty(value = "Anchor text information for a radio button.") public String getAnchorString() { return anchorString; } + /** + * setAnchorString. + **/ public void setAnchorString(String anchorString) { this.anchorString = anchorString; } + + /** + * anchorUnits. + * + * @return EmailAddress + **/ public EmailAddress anchorUnits(String anchorUnits) { this.anchorUnits = anchorUnits; return this; } - /** - * Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. + /** + * Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. * @return anchorUnits - **/ - @ApiModelProperty(example = "null", value = "Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.") + **/ + @ApiModelProperty(value = "Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.") public String getAnchorUnits() { return anchorUnits; } + /** + * setAnchorUnits. + **/ public void setAnchorUnits(String anchorUnits) { this.anchorUnits = anchorUnits; } + + /** + * anchorXOffset. + * + * @return EmailAddress + **/ public EmailAddress anchorXOffset(String anchorXOffset) { this.anchorXOffset = anchorXOffset; return this; } - /** - * Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString. + /** + * Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. * @return anchorXOffset - **/ - @ApiModelProperty(example = "null", value = "Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.") + **/ + @ApiModelProperty(value = "Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.") public String getAnchorXOffset() { return anchorXOffset; } + /** + * setAnchorXOffset. + **/ public void setAnchorXOffset(String anchorXOffset) { this.anchorXOffset = anchorXOffset; } + + /** + * anchorYOffset. + * + * @return EmailAddress + **/ public EmailAddress anchorYOffset(String anchorYOffset) { this.anchorYOffset = anchorYOffset; return this; } - /** - * Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString. + /** + * Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.. * @return anchorYOffset - **/ - @ApiModelProperty(example = "null", value = "Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.") + **/ + @ApiModelProperty(value = "Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.") public String getAnchorYOffset() { return anchorYOffset; } + /** + * setAnchorYOffset. + **/ public void setAnchorYOffset(String anchorYOffset) { this.anchorYOffset = anchorYOffset; } + + /** + * bold. + * + * @return EmailAddress + **/ public EmailAddress bold(String bold) { this.bold = bold; return this; } - /** - * When set to **true**, the information in the tab is bold. + /** + * When set to **true**, the information in the tab is bold.. * @return bold - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is bold.") + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is bold.") public String getBold() { return bold; } + /** + * setBold. + **/ public void setBold(String bold) { this.bold = bold; } + + /** + * conditionalParentLabel. + * + * @return EmailAddress + **/ public EmailAddress conditionalParentLabel(String conditionalParentLabel) { this.conditionalParentLabel = conditionalParentLabel; return this; } - /** - * For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility. + /** + * For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.. * @return conditionalParentLabel - **/ - @ApiModelProperty(example = "null", value = "For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.") + **/ + @ApiModelProperty(value = "For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.") public String getConditionalParentLabel() { return conditionalParentLabel; } + /** + * setConditionalParentLabel. + **/ public void setConditionalParentLabel(String conditionalParentLabel) { this.conditionalParentLabel = conditionalParentLabel; } + + /** + * conditionalParentValue. + * + * @return EmailAddress + **/ public EmailAddress conditionalParentValue(String conditionalParentValue) { this.conditionalParentValue = conditionalParentValue; return this; } - /** - * For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. + /** + * For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. . * @return conditionalParentValue - **/ - @ApiModelProperty(example = "null", value = "For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. ") + **/ + @ApiModelProperty(value = "For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. ") public String getConditionalParentValue() { return conditionalParentValue; } + /** + * setConditionalParentValue. + **/ public void setConditionalParentValue(String conditionalParentValue) { this.conditionalParentValue = conditionalParentValue; } + + /** + * customTabId. + * + * @return EmailAddress + **/ public EmailAddress customTabId(String customTabId) { this.customTabId = customTabId; return this; } - /** - * The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties. + /** + * The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.. * @return customTabId - **/ - @ApiModelProperty(example = "null", value = "The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.") + **/ + @ApiModelProperty(value = "The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.") public String getCustomTabId() { return customTabId; } + /** + * setCustomTabId. + **/ public void setCustomTabId(String customTabId) { this.customTabId = customTabId; } + + /** + * documentId. + * + * @return EmailAddress + **/ public EmailAddress documentId(String documentId) { this.documentId = documentId; return this; } - /** - * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute. + /** + * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.. * @return documentId - **/ - @ApiModelProperty(example = "null", value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") + **/ + @ApiModelProperty(value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") public String getDocumentId() { return documentId; } + /** + * setDocumentId. + **/ public void setDocumentId(String documentId) { this.documentId = documentId; } + + /** + * errorDetails. + * + * @return EmailAddress + **/ public EmailAddress errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * font. + * + * @return EmailAddress + **/ public EmailAddress font(String font) { this.font = font; return this; } - /** - * The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default. + /** + * The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.. * @return font - **/ - @ApiModelProperty(example = "null", value = "The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.") + **/ + @ApiModelProperty(value = "The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.") public String getFont() { return font; } + /** + * setFont. + **/ public void setFont(String font) { this.font = font; } + + /** + * fontColor. + * + * @return EmailAddress + **/ public EmailAddress fontColor(String fontColor) { this.fontColor = fontColor; return this; } - /** - * The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White. + /** + * The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.. * @return fontColor - **/ - @ApiModelProperty(example = "null", value = "The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.") + **/ + @ApiModelProperty(value = "The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.") public String getFontColor() { return fontColor; } + /** + * setFontColor. + **/ public void setFontColor(String fontColor) { this.fontColor = fontColor; } + + /** + * fontSize. + * + * @return EmailAddress + **/ public EmailAddress fontSize(String fontSize) { this.fontSize = fontSize; return this; } - /** - * The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72. + /** + * The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.. * @return fontSize - **/ - @ApiModelProperty(example = "null", value = "The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.") + **/ + @ApiModelProperty(value = "The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.") public String getFontSize() { return fontSize; } + /** + * setFontSize. + **/ public void setFontSize(String fontSize) { this.fontSize = fontSize; } + + /** + * italic. + * + * @return EmailAddress + **/ public EmailAddress italic(String italic) { this.italic = italic; return this; } - /** - * When set to **true**, the information in the tab is italic. + /** + * When set to **true**, the information in the tab is italic.. * @return italic - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is italic.") + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is italic.") public String getItalic() { return italic; } + /** + * setItalic. + **/ public void setItalic(String italic) { this.italic = italic; } + + /** + * mergeField. + * + * @return EmailAddress + **/ public EmailAddress mergeField(MergeField mergeField) { this.mergeField = mergeField; return this; } - /** - * Get mergeField + /** + * Get mergeField. * @return mergeField - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public MergeField getMergeField() { return mergeField; } + /** + * setMergeField. + **/ public void setMergeField(MergeField mergeField) { this.mergeField = mergeField; } + + /** + * name. + * + * @return EmailAddress + **/ public EmailAddress name(String name) { this.name = name; return this; } - /** - * + /** + * . * @return name - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * pageNumber. + * + * @return EmailAddress + **/ public EmailAddress pageNumber(String pageNumber) { this.pageNumber = pageNumber; return this; } - /** - * Specifies the page number on which the tab is located. + /** + * Specifies the page number on which the tab is located.. * @return pageNumber - **/ - @ApiModelProperty(example = "null", value = "Specifies the page number on which the tab is located.") + **/ + @ApiModelProperty(value = "Specifies the page number on which the tab is located.") public String getPageNumber() { return pageNumber; } + /** + * setPageNumber. + **/ public void setPageNumber(String pageNumber) { this.pageNumber = pageNumber; } + + /** + * recipientId. + * + * @return EmailAddress + **/ public EmailAddress recipientId(String recipientId) { this.recipientId = recipientId; return this; } - /** - * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document. + /** + * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.. * @return recipientId - **/ - @ApiModelProperty(example = "null", value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") + **/ + @ApiModelProperty(value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") public String getRecipientId() { return recipientId; } + /** + * setRecipientId. + **/ public void setRecipientId(String recipientId) { this.recipientId = recipientId; } + + /** + * status. + * + * @return EmailAddress + **/ public EmailAddress status(String status) { this.status = status; return this; } - /** - * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. + /** + * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.. * @return status - **/ - @ApiModelProperty(example = "null", value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") + **/ + @ApiModelProperty(value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") public String getStatus() { return status; } + /** + * setStatus. + **/ public void setStatus(String status) { this.status = status; } + + /** + * tabGroupLabels. + * + * @return EmailAddress + **/ public EmailAddress tabGroupLabels(java.util.List tabGroupLabels) { this.tabGroupLabels = tabGroupLabels; return this; } - + + /** + * addTabGroupLabelsItem. + * + * @return EmailAddress + **/ public EmailAddress addTabGroupLabelsItem(String tabGroupLabelsItem) { + if (this.tabGroupLabels == null) { + this.tabGroupLabels = new java.util.ArrayList(); + } this.tabGroupLabels.add(tabGroupLabelsItem); return this; } - /** - * + /** + * . * @return tabGroupLabels - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getTabGroupLabels() { return tabGroupLabels; } + /** + * setTabGroupLabels. + **/ public void setTabGroupLabels(java.util.List tabGroupLabels) { this.tabGroupLabels = tabGroupLabels; } + + /** + * tabId. + * + * @return EmailAddress + **/ public EmailAddress tabId(String tabId) { this.tabId = tabId; return this; } - /** - * The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. + /** + * The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. . * @return tabId - **/ - @ApiModelProperty(example = "null", value = "The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. ") + **/ + @ApiModelProperty(value = "The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. ") public String getTabId() { return tabId; } + /** + * setTabId. + **/ public void setTabId(String tabId) { this.tabId = tabId; } + + /** + * tabLabel. + * + * @return EmailAddress + **/ public EmailAddress tabLabel(String tabLabel) { this.tabLabel = tabLabel; return this; } - /** - * The label string associated with the tab. + /** + * The label string associated with the tab.. * @return tabLabel - **/ - @ApiModelProperty(example = "null", value = "The label string associated with the tab.") + **/ + @ApiModelProperty(value = "The label string associated with the tab.") public String getTabLabel() { return tabLabel; } + /** + * setTabLabel. + **/ public void setTabLabel(String tabLabel) { this.tabLabel = tabLabel; } + + /** + * tabOrder. + * + * @return EmailAddress + **/ public EmailAddress tabOrder(String tabOrder) { this.tabOrder = tabOrder; return this; } - /** - * + /** + * . * @return tabOrder - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTabOrder() { return tabOrder; } + /** + * setTabOrder. + **/ public void setTabOrder(String tabOrder) { this.tabOrder = tabOrder; } + + /** + * templateLocked. + * + * @return EmailAddress + **/ public EmailAddress templateLocked(String templateLocked) { this.templateLocked = templateLocked; return this; } - /** - * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. . * @return templateLocked - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") + **/ + @ApiModelProperty(value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") public String getTemplateLocked() { return templateLocked; } + /** + * setTemplateLocked. + **/ public void setTemplateLocked(String templateLocked) { this.templateLocked = templateLocked; } + + /** + * templateRequired. + * + * @return EmailAddress + **/ public EmailAddress templateRequired(String templateRequired) { this.templateRequired = templateRequired; return this; } - /** - * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.. * @return templateRequired - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") + **/ + @ApiModelProperty(value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") public String getTemplateRequired() { return templateRequired; } + /** + * setTemplateRequired. + **/ public void setTemplateRequired(String templateRequired) { this.templateRequired = templateRequired; } + + /** + * tooltip. + * + * @return EmailAddress + **/ public EmailAddress tooltip(String tooltip) { this.tooltip = tooltip; return this; } - /** - * + /** + * . * @return tooltip - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTooltip() { return tooltip; } + /** + * setTooltip. + **/ public void setTooltip(String tooltip) { this.tooltip = tooltip; } + + /** + * underline. + * + * @return EmailAddress + **/ public EmailAddress underline(String underline) { this.underline = underline; return this; } - /** - * When set to **true**, the information in the tab is underlined. + /** + * When set to **true**, the information in the tab is underlined.. * @return underline - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is underlined.") + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is underlined.") public String getUnderline() { return underline; } + /** + * setUnderline. + **/ public void setUnderline(String underline) { this.underline = underline; } + + /** + * value. + * + * @return EmailAddress + **/ public EmailAddress value(String value) { this.value = value; return this; } - /** - * Specifies the value of the tab. + /** + * Specifies the value of the tab. . * @return value - **/ - @ApiModelProperty(example = "null", value = "Specifies the value of the tab. ") + **/ + @ApiModelProperty(value = "Specifies the value of the tab. ") public String getValue() { return value; } + /** + * setValue. + **/ public void setValue(String value) { this.value = value; } + + /** + * xPosition. + * + * @return EmailAddress + **/ public EmailAddress xPosition(String xPosition) { this.xPosition = xPosition; return this; } - /** - * This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position. + /** + * This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.. * @return xPosition - **/ - @ApiModelProperty(example = "null", value = "This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.") + **/ + @ApiModelProperty(value = "This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.") public String getXPosition() { return xPosition; } + /** + * setXPosition. + **/ public void setXPosition(String xPosition) { this.xPosition = xPosition; } + + /** + * yPosition. + * + * @return EmailAddress + **/ public EmailAddress yPosition(String yPosition) { this.yPosition = yPosition; return this; } - /** - * This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position. + /** + * This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. * @return yPosition - **/ - @ApiModelProperty(example = "null", value = "This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.") + **/ + @ApiModelProperty(value = "This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.") public String getYPosition() { return yPosition; } + /** + * setYPosition. + **/ public void setYPosition(String yPosition) { this.yPosition = yPosition; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -778,12 +1100,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.yPosition, emailAddress.yPosition); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(anchorCaseSensitive, anchorHorizontalAlignment, anchorIgnoreIfNotPresent, anchorMatchWholeWord, anchorString, anchorUnits, anchorXOffset, anchorYOffset, bold, conditionalParentLabel, conditionalParentValue, customTabId, documentId, errorDetails, font, fontColor, fontSize, italic, mergeField, name, pageNumber, recipientId, status, tabGroupLabels, tabId, tabLabel, tabOrder, templateLocked, templateRequired, tooltip, underline, value, xPosition, yPosition); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -837,6 +1165,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/EmailSettings.java b/src/main/java/com/docusign/esign/model/EmailSettings.java index b5ee8dbf..25549424 100644 --- a/src/main/java/com/docusign/esign/model/EmailSettings.java +++ b/src/main/java/com/docusign/esign/model/EmailSettings.java @@ -1,20 +1,23 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.BccEmailAddress; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * A complex element that allows the sender to override some envelope email setting information. This can be used to override the Reply To email address and name associated with the envelope and to override the BCC email addresses to which an envelope is sent. When the emailSettings information is used for an envelope, it only applies to that envelope. **IMPORTANT**: The emailSettings information is not returned in the GET for envelope status. Use GET /email_settings to return information about the emailSettings. EmailSettings consists of: * replyEmailAddressOverride - The Reply To email used for the envelope. DocuSign will verify that a correct email format is used, but does not verify that the email is active. Maximum Length: 100 characters. * replyEmailNameOverride - The name associated with the Reply To email address. Maximum Length: 100 characters. * bccEmailAddresses - An array of up to five email addresses to which the envelope is sent to as a BCC email. Only users with canManageAccount setting set to true can use this option. DocuSign verifies that the email format is correct, but does not verify that the email is active. Using this overrides the BCC for Email Archive information setting for this envelope. Maximum Length: 100 characters. *Example*: if your account has BCC for Email Archive set up for the email address 'archive@mycompany.com' and you send an envelope using the BCC Email Override to send a BCC email to 'salesarchive@mycompany.com', then a copy of the envelope is only sent to the 'salesarchive@mycompany.com' email address. + * A complex element that allows the sender to override some envelope email setting information. This can be used to override the Reply To email address and name associated with the envelope and to override the BCC email addresses to which an envelope is sent. When the emailSettings information is used for an envelope, it only applies to that envelope. **IMPORTANT**: The emailSettings information is not returned in the GET for envelope status. Use GET /email_settings to return information about the emailSettings. EmailSettings consists of: * replyEmailAddressOverride - The Reply To email used for the envelope. DocuSign will verify that a correct email format is used, but does not verify that the email is active. Maximum Length: 100 characters. * replyEmailNameOverride - The name associated with the Reply To email address. Maximum Length: 100 characters. * bccEmailAddresses - An array of up to five email addresses to which the envelope is sent to as a BCC email. Only users with canManageAccount setting set to true can use this option. DocuSign verifies that the email format is correct, but does not verify that the email is active. Using this overrides the BCC for Email Archive information setting for this envelope. Maximum Length: 100 characters. *Example*: if your account has BCC for Email Archive set up for the email address 'archive@mycompany.com' and you send an envelope using the BCC Email Override to send a BCC email to 'salesarchive@mycompany.com', then a copy of the envelope is only sent to the 'salesarchive@mycompany.com' email address.. + * */ @ApiModel(description = "A complex element that allows the sender to override some envelope email setting information. This can be used to override the Reply To email address and name associated with the envelope and to override the BCC email addresses to which an envelope is sent. When the emailSettings information is used for an envelope, it only applies to that envelope. **IMPORTANT**: The emailSettings information is not returned in the GET for envelope status. Use GET /email_settings to return information about the emailSettings. EmailSettings consists of: * replyEmailAddressOverride - The Reply To email used for the envelope. DocuSign will verify that a correct email format is used, but does not verify that the email is active. Maximum Length: 100 characters. * replyEmailNameOverride - The name associated with the Reply To email address. Maximum Length: 100 characters. * bccEmailAddresses - An array of up to five email addresses to which the envelope is sent to as a BCC email. Only users with canManageAccount setting set to true can use this option. DocuSign verifies that the email format is correct, but does not verify that the email is active. Using this overrides the BCC for Email Archive information setting for this envelope. Maximum Length: 100 characters. *Example*: if your account has BCC for Email Archive set up for the email address 'archive@mycompany.com' and you send an envelope using the BCC Email Override to send a BCC email to 'salesarchive@mycompany.com', then a copy of the envelope is only sent to the 'salesarchive@mycompany.com' email address.") public class EmailSettings { @JsonProperty("bccEmailAddresses") - private java.util.List bccEmailAddresses = new java.util.ArrayList(); + private java.util.List bccEmailAddresses = null; @JsonProperty("replyEmailAddressOverride") private String replyEmailAddressOverride = null; @@ -22,66 +25,106 @@ public class EmailSettings { @JsonProperty("replyEmailNameOverride") private String replyEmailNameOverride = null; + + /** + * bccEmailAddresses. + * + * @return EmailSettings + **/ public EmailSettings bccEmailAddresses(java.util.List bccEmailAddresses) { this.bccEmailAddresses = bccEmailAddresses; return this; } - + + /** + * addBccEmailAddressesItem. + * + * @return EmailSettings + **/ public EmailSettings addBccEmailAddressesItem(BccEmailAddress bccEmailAddressesItem) { + if (this.bccEmailAddresses == null) { + this.bccEmailAddresses = new java.util.ArrayList(); + } this.bccEmailAddresses.add(bccEmailAddressesItem); return this; } - /** - * A list of email addresses that receive a copy of all email communications for an envelope. You can use this for archiving purposes. + /** + * A list of email addresses that receive a copy of all email communications for an envelope. You can use this for archiving purposes.. * @return bccEmailAddresses - **/ - @ApiModelProperty(example = "null", value = "A list of email addresses that receive a copy of all email communications for an envelope. You can use this for archiving purposes.") + **/ + @ApiModelProperty(value = "A list of email addresses that receive a copy of all email communications for an envelope. You can use this for archiving purposes.") public java.util.List getBccEmailAddresses() { return bccEmailAddresses; } + /** + * setBccEmailAddresses. + **/ public void setBccEmailAddresses(java.util.List bccEmailAddresses) { this.bccEmailAddresses = bccEmailAddresses; } + + /** + * replyEmailAddressOverride. + * + * @return EmailSettings + **/ public EmailSettings replyEmailAddressOverride(String replyEmailAddressOverride) { this.replyEmailAddressOverride = replyEmailAddressOverride; return this; } - /** - * + /** + * . * @return replyEmailAddressOverride - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getReplyEmailAddressOverride() { return replyEmailAddressOverride; } + /** + * setReplyEmailAddressOverride. + **/ public void setReplyEmailAddressOverride(String replyEmailAddressOverride) { this.replyEmailAddressOverride = replyEmailAddressOverride; } + + /** + * replyEmailNameOverride. + * + * @return EmailSettings + **/ public EmailSettings replyEmailNameOverride(String replyEmailNameOverride) { this.replyEmailNameOverride = replyEmailNameOverride; return this; } - /** - * + /** + * . * @return replyEmailNameOverride - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getReplyEmailNameOverride() { return replyEmailNameOverride; } + /** + * setReplyEmailNameOverride. + **/ public void setReplyEmailNameOverride(String replyEmailNameOverride) { this.replyEmailNameOverride = replyEmailNameOverride; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -96,12 +139,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.replyEmailNameOverride, emailSettings.replyEmailNameOverride); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(bccEmailAddresses, replyEmailAddressOverride, replyEmailNameOverride); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -124,6 +173,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/Envelope.java b/src/main/java/com/docusign/esign/model/Envelope.java index b8bd5a24..b05c0e34 100644 --- a/src/main/java/com/docusign/esign/model/Envelope.java +++ b/src/main/java/com/docusign/esign/model/Envelope.java @@ -1,6 +1,7 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.CustomFields; import com.docusign.esign.model.EmailSettings; import com.docusign.esign.model.LockInformation; @@ -8,11 +9,13 @@ import com.docusign.esign.model.Recipients; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Envelope + * Envelope. + * */ public class Envelope { @@ -52,6 +55,9 @@ public class Envelope { @JsonProperty("completedDateTime") private String completedDateTime = null; + @JsonProperty("copyRecipientData") + private String copyRecipientData = null; + @JsonProperty("createdDateTime") private String createdDateTime = null; @@ -70,6 +76,9 @@ public class Envelope { @JsonProperty("deliveredDateTime") private String deliveredDateTime = null; + @JsonProperty("disableResponsiveDocument") + private String disableResponsiveDocument = null; + @JsonProperty("documentsCombinedUri") private String documentsCombinedUri = null; @@ -166,907 +175,1416 @@ public class Envelope { @JsonProperty("voidedReason") private String voidedReason = null; + + /** + * allowMarkup. + * + * @return Envelope + **/ public Envelope allowMarkup(String allowMarkup) { this.allowMarkup = allowMarkup; return this; } - /** - * When set to **true**, Document Markup is enabled for envelope. Account must have Document Markup enabled to use this + /** + * When set to **true**, Document Markup is enabled for envelope. Account must have Document Markup enabled to use this. * @return allowMarkup - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, Document Markup is enabled for envelope. Account must have Document Markup enabled to use this") + **/ + @ApiModelProperty(value = "When set to **true**, Document Markup is enabled for envelope. Account must have Document Markup enabled to use this") public String getAllowMarkup() { return allowMarkup; } + /** + * setAllowMarkup. + **/ public void setAllowMarkup(String allowMarkup) { this.allowMarkup = allowMarkup; } + + /** + * allowReassign. + * + * @return Envelope + **/ public Envelope allowReassign(String allowReassign) { this.allowReassign = allowReassign; return this; } - /** - * When set to **true**, the recipient can redirect an envelope to a more appropriate recipient. + /** + * When set to **true**, the recipient can redirect an envelope to a more appropriate recipient.. * @return allowReassign - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the recipient can redirect an envelope to a more appropriate recipient.") + **/ + @ApiModelProperty(value = "When set to **true**, the recipient can redirect an envelope to a more appropriate recipient.") public String getAllowReassign() { return allowReassign; } + /** + * setAllowReassign. + **/ public void setAllowReassign(String allowReassign) { this.allowReassign = allowReassign; } + + /** + * allowViewHistory. + * + * @return Envelope + **/ public Envelope allowViewHistory(String allowViewHistory) { this.allowViewHistory = allowViewHistory; return this; } - /** - * + /** + * . * @return allowViewHistory - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAllowViewHistory() { return allowViewHistory; } + /** + * setAllowViewHistory. + **/ public void setAllowViewHistory(String allowViewHistory) { this.allowViewHistory = allowViewHistory; } + + /** + * asynchronous. + * + * @return Envelope + **/ public Envelope asynchronous(String asynchronous) { this.asynchronous = asynchronous; return this; } - /** - * When set to **true**, the envelope is queued for processing and the value of the `status` property is set to 'Processing'. Additionally, get status calls return 'Processing' until completed. + /** + * When set to **true**, the envelope is queued for processing and the value of the `status` property is set to 'Processing'. Additionally, get status calls return 'Processing' until completed.. * @return asynchronous - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the envelope is queued for processing and the value of the `status` property is set to 'Processing'. Additionally, get status calls return 'Processing' until completed.") + **/ + @ApiModelProperty(value = "When set to **true**, the envelope is queued for processing and the value of the `status` property is set to 'Processing'. Additionally, get status calls return 'Processing' until completed.") public String getAsynchronous() { return asynchronous; } + /** + * setAsynchronous. + **/ public void setAsynchronous(String asynchronous) { this.asynchronous = asynchronous; } + + /** + * attachmentsUri. + * + * @return Envelope + **/ public Envelope attachmentsUri(String attachmentsUri) { this.attachmentsUri = attachmentsUri; return this; } - /** - * + /** + * . * @return attachmentsUri - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAttachmentsUri() { return attachmentsUri; } + /** + * setAttachmentsUri. + **/ public void setAttachmentsUri(String attachmentsUri) { this.attachmentsUri = attachmentsUri; } + + /** + * authoritativeCopy. + * + * @return Envelope + **/ public Envelope authoritativeCopy(String authoritativeCopy) { this.authoritativeCopy = authoritativeCopy; return this; } - /** - * Specifies the Authoritative copy feature. If set to true the Authoritative copy feature is enabled. + /** + * Specifies the Authoritative copy feature. If set to true the Authoritative copy feature is enabled.. * @return authoritativeCopy - **/ - @ApiModelProperty(example = "null", value = "Specifies the Authoritative copy feature. If set to true the Authoritative copy feature is enabled.") + **/ + @ApiModelProperty(value = "Specifies the Authoritative copy feature. If set to true the Authoritative copy feature is enabled.") public String getAuthoritativeCopy() { return authoritativeCopy; } + /** + * setAuthoritativeCopy. + **/ public void setAuthoritativeCopy(String authoritativeCopy) { this.authoritativeCopy = authoritativeCopy; } + + /** + * authoritativeCopyDefault. + * + * @return Envelope + **/ public Envelope authoritativeCopyDefault(String authoritativeCopyDefault) { this.authoritativeCopyDefault = authoritativeCopyDefault; return this; } - /** - * + /** + * . * @return authoritativeCopyDefault - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAuthoritativeCopyDefault() { return authoritativeCopyDefault; } + /** + * setAuthoritativeCopyDefault. + **/ public void setAuthoritativeCopyDefault(String authoritativeCopyDefault) { this.authoritativeCopyDefault = authoritativeCopyDefault; } + + /** + * autoNavigation. + * + * @return Envelope + **/ public Envelope autoNavigation(String autoNavigation) { this.autoNavigation = autoNavigation; return this; } - /** - * + /** + * . * @return autoNavigation - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAutoNavigation() { return autoNavigation; } + /** + * setAutoNavigation. + **/ public void setAutoNavigation(String autoNavigation) { this.autoNavigation = autoNavigation; } + + /** + * brandId. + * + * @return Envelope + **/ public Envelope brandId(String brandId) { this.brandId = brandId; return this; } - /** - * + /** + * . * @return brandId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getBrandId() { return brandId; } + /** + * setBrandId. + **/ public void setBrandId(String brandId) { this.brandId = brandId; } + + /** + * brandLock. + * + * @return Envelope + **/ public Envelope brandLock(String brandLock) { this.brandLock = brandLock; return this; } - /** - * + /** + * . * @return brandLock - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getBrandLock() { return brandLock; } + /** + * setBrandLock. + **/ public void setBrandLock(String brandLock) { this.brandLock = brandLock; } + + /** + * certificateUri. + * + * @return Envelope + **/ public Envelope certificateUri(String certificateUri) { this.certificateUri = certificateUri; return this; } - /** - * Retrieves a URI for an endpoint that allows you to easily retrieve certificate information. + /** + * Retrieves a URI for an endpoint that allows you to easily retrieve certificate information.. * @return certificateUri - **/ - @ApiModelProperty(example = "null", value = "Retrieves a URI for an endpoint that allows you to easily retrieve certificate information.") + **/ + @ApiModelProperty(value = "Retrieves a URI for an endpoint that allows you to easily retrieve certificate information.") public String getCertificateUri() { return certificateUri; } + /** + * setCertificateUri. + **/ public void setCertificateUri(String certificateUri) { this.certificateUri = certificateUri; } + + /** + * completedDateTime. + * + * @return Envelope + **/ public Envelope completedDateTime(String completedDateTime) { this.completedDateTime = completedDateTime; return this; } - /** - * Specifies the date and time this item was completed. + /** + * Specifies the date and time this item was completed.. * @return completedDateTime - **/ - @ApiModelProperty(example = "null", value = "Specifies the date and time this item was completed.") + **/ + @ApiModelProperty(value = "Specifies the date and time this item was completed.") public String getCompletedDateTime() { return completedDateTime; } + /** + * setCompletedDateTime. + **/ public void setCompletedDateTime(String completedDateTime) { this.completedDateTime = completedDateTime; } + + /** + * copyRecipientData. + * + * @return Envelope + **/ + public Envelope copyRecipientData(String copyRecipientData) { + this.copyRecipientData = copyRecipientData; + return this; + } + + /** + * . + * @return copyRecipientData + **/ + @ApiModelProperty(value = "") + public String getCopyRecipientData() { + return copyRecipientData; + } + + /** + * setCopyRecipientData. + **/ + public void setCopyRecipientData(String copyRecipientData) { + this.copyRecipientData = copyRecipientData; + } + + + /** + * createdDateTime. + * + * @return Envelope + **/ public Envelope createdDateTime(String createdDateTime) { this.createdDateTime = createdDateTime; return this; } - /** - * Indicates the date and time the item was created. + /** + * Indicates the date and time the item was created.. * @return createdDateTime - **/ - @ApiModelProperty(example = "null", value = "Indicates the date and time the item was created.") + **/ + @ApiModelProperty(value = "Indicates the date and time the item was created.") public String getCreatedDateTime() { return createdDateTime; } + /** + * setCreatedDateTime. + **/ public void setCreatedDateTime(String createdDateTime) { this.createdDateTime = createdDateTime; } + + /** + * customFields. + * + * @return Envelope + **/ public Envelope customFields(CustomFields customFields) { this.customFields = customFields; return this; } - /** - * Get customFields + /** + * Get customFields. * @return customFields - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public CustomFields getCustomFields() { return customFields; } + /** + * setCustomFields. + **/ public void setCustomFields(CustomFields customFields) { this.customFields = customFields; } + + /** + * customFieldsUri. + * + * @return Envelope + **/ public Envelope customFieldsUri(String customFieldsUri) { this.customFieldsUri = customFieldsUri; return this; } - /** - * Contains a URI for an endpoint that you can use to retrieve the custom fields. + /** + * Contains a URI for an endpoint that you can use to retrieve the custom fields.. * @return customFieldsUri - **/ - @ApiModelProperty(example = "null", value = "Contains a URI for an endpoint that you can use to retrieve the custom fields.") + **/ + @ApiModelProperty(value = "Contains a URI for an endpoint that you can use to retrieve the custom fields.") public String getCustomFieldsUri() { return customFieldsUri; } + /** + * setCustomFieldsUri. + **/ public void setCustomFieldsUri(String customFieldsUri) { this.customFieldsUri = customFieldsUri; } + + /** + * declinedDateTime. + * + * @return Envelope + **/ public Envelope declinedDateTime(String declinedDateTime) { this.declinedDateTime = declinedDateTime; return this; } - /** - * The date and time the recipient declined the document. + /** + * The date and time the recipient declined the document.. * @return declinedDateTime - **/ - @ApiModelProperty(example = "null", value = "The date and time the recipient declined the document.") + **/ + @ApiModelProperty(value = "The date and time the recipient declined the document.") public String getDeclinedDateTime() { return declinedDateTime; } + /** + * setDeclinedDateTime. + **/ public void setDeclinedDateTime(String declinedDateTime) { this.declinedDateTime = declinedDateTime; } + + /** + * deletedDateTime. + * + * @return Envelope + **/ public Envelope deletedDateTime(String deletedDateTime) { this.deletedDateTime = deletedDateTime; return this; } - /** - * Specifies the data and time the item was deleted. + /** + * Specifies the data and time the item was deleted.. * @return deletedDateTime - **/ - @ApiModelProperty(example = "null", value = "Specifies the data and time the item was deleted.") + **/ + @ApiModelProperty(value = "Specifies the data and time the item was deleted.") public String getDeletedDateTime() { return deletedDateTime; } + /** + * setDeletedDateTime. + **/ public void setDeletedDateTime(String deletedDateTime) { this.deletedDateTime = deletedDateTime; } + + /** + * deliveredDateTime. + * + * @return Envelope + **/ public Envelope deliveredDateTime(String deliveredDateTime) { this.deliveredDateTime = deliveredDateTime; return this; } - /** - * Reserved: For DocuSign use only. + /** + * Reserved: For DocuSign use only.. * @return deliveredDateTime - **/ - @ApiModelProperty(example = "null", value = "Reserved: For DocuSign use only.") + **/ + @ApiModelProperty(value = "Reserved: For DocuSign use only.") public String getDeliveredDateTime() { return deliveredDateTime; } + /** + * setDeliveredDateTime. + **/ public void setDeliveredDateTime(String deliveredDateTime) { this.deliveredDateTime = deliveredDateTime; } + + /** + * disableResponsiveDocument. + * + * @return Envelope + **/ + public Envelope disableResponsiveDocument(String disableResponsiveDocument) { + this.disableResponsiveDocument = disableResponsiveDocument; + return this; + } + + /** + * . + * @return disableResponsiveDocument + **/ + @ApiModelProperty(value = "") + public String getDisableResponsiveDocument() { + return disableResponsiveDocument; + } + + /** + * setDisableResponsiveDocument. + **/ + public void setDisableResponsiveDocument(String disableResponsiveDocument) { + this.disableResponsiveDocument = disableResponsiveDocument; + } + + + /** + * documentsCombinedUri. + * + * @return Envelope + **/ public Envelope documentsCombinedUri(String documentsCombinedUri) { this.documentsCombinedUri = documentsCombinedUri; return this; } - /** - * + /** + * . * @return documentsCombinedUri - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getDocumentsCombinedUri() { return documentsCombinedUri; } + /** + * setDocumentsCombinedUri. + **/ public void setDocumentsCombinedUri(String documentsCombinedUri) { this.documentsCombinedUri = documentsCombinedUri; } + + /** + * documentsUri. + * + * @return Envelope + **/ public Envelope documentsUri(String documentsUri) { this.documentsUri = documentsUri; return this; } - /** - * Contains a URI for an endpoint that you can use to retrieve the documents. + /** + * Contains a URI for an endpoint that you can use to retrieve the documents.. * @return documentsUri - **/ - @ApiModelProperty(example = "null", value = "Contains a URI for an endpoint that you can use to retrieve the documents.") + **/ + @ApiModelProperty(value = "Contains a URI for an endpoint that you can use to retrieve the documents.") public String getDocumentsUri() { return documentsUri; } + /** + * setDocumentsUri. + **/ public void setDocumentsUri(String documentsUri) { this.documentsUri = documentsUri; } + + /** + * emailBlurb. + * + * @return Envelope + **/ public Envelope emailBlurb(String emailBlurb) { this.emailBlurb = emailBlurb; return this; } - /** - * This is the same as the email body. If specified it is included in email body for all envelope recipients. + /** + * This is the same as the email body. If specified it is included in email body for all envelope recipients.. * @return emailBlurb - **/ - @ApiModelProperty(example = "null", value = "This is the same as the email body. If specified it is included in email body for all envelope recipients.") + **/ + @ApiModelProperty(value = "This is the same as the email body. If specified it is included in email body for all envelope recipients.") public String getEmailBlurb() { return emailBlurb; } + /** + * setEmailBlurb. + **/ public void setEmailBlurb(String emailBlurb) { this.emailBlurb = emailBlurb; } + + /** + * emailSettings. + * + * @return Envelope + **/ public Envelope emailSettings(EmailSettings emailSettings) { this.emailSettings = emailSettings; return this; } - /** - * Get emailSettings + /** + * Get emailSettings. * @return emailSettings - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public EmailSettings getEmailSettings() { return emailSettings; } + /** + * setEmailSettings. + **/ public void setEmailSettings(EmailSettings emailSettings) { this.emailSettings = emailSettings; } + + /** + * emailSubject. + * + * @return Envelope + **/ public Envelope emailSubject(String emailSubject) { this.emailSubject = emailSubject; return this; } - /** - * Specifies the subject of the email that is sent to all recipients. See [ML:Template Email Subject Merge Fields] for information about adding merge field information to the email subject. + /** + * Specifies the subject of the email that is sent to all recipients. See [ML:Template Email Subject Merge Fields] for information about adding merge field information to the email subject.. * @return emailSubject - **/ - @ApiModelProperty(example = "null", value = "Specifies the subject of the email that is sent to all recipients. See [ML:Template Email Subject Merge Fields] for information about adding merge field information to the email subject.") + **/ + @ApiModelProperty(value = "Specifies the subject of the email that is sent to all recipients. See [ML:Template Email Subject Merge Fields] for information about adding merge field information to the email subject.") public String getEmailSubject() { return emailSubject; } + /** + * setEmailSubject. + **/ public void setEmailSubject(String emailSubject) { this.emailSubject = emailSubject; } + + /** + * enableWetSign. + * + * @return Envelope + **/ public Envelope enableWetSign(String enableWetSign) { this.enableWetSign = enableWetSign; return this; } - /** - * When set to **true**, the signer is allowed to print the document and sign it on paper. + /** + * When set to **true**, the signer is allowed to print the document and sign it on paper.. * @return enableWetSign - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the signer is allowed to print the document and sign it on paper.") + **/ + @ApiModelProperty(value = "When set to **true**, the signer is allowed to print the document and sign it on paper.") public String getEnableWetSign() { return enableWetSign; } + /** + * setEnableWetSign. + **/ public void setEnableWetSign(String enableWetSign) { this.enableWetSign = enableWetSign; } + + /** + * enforceSignerVisibility. + * + * @return Envelope + **/ public Envelope enforceSignerVisibility(String enforceSignerVisibility) { this.enforceSignerVisibility = enforceSignerVisibility; return this; } - /** - * When set to **true**, documents with tabs can only be viewed by signers that have a tab on that document. Recipients that have an administrative role (Agent, Editor, or Intermediaries) or informational role (Certified Deliveries or Carbon Copies) can always see all the documents in an envelope, unless they are specifically excluded using this setting when an envelope is sent. Documents that do not have tabs are always visible to all recipients, unless they are specifically excluded using this setting when an envelope is sent. Your account must have Document Visibility enabled to use this. + /** + * When set to **true**, documents with tabs can only be viewed by signers that have a tab on that document. Recipients that have an administrative role (Agent, Editor, or Intermediaries) or informational role (Certified Deliveries or Carbon Copies) can always see all the documents in an envelope, unless they are specifically excluded using this setting when an envelope is sent. Documents that do not have tabs are always visible to all recipients, unless they are specifically excluded using this setting when an envelope is sent. Your account must have Document Visibility enabled to use this.. * @return enforceSignerVisibility - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, documents with tabs can only be viewed by signers that have a tab on that document. Recipients that have an administrative role (Agent, Editor, or Intermediaries) or informational role (Certified Deliveries or Carbon Copies) can always see all the documents in an envelope, unless they are specifically excluded using this setting when an envelope is sent. Documents that do not have tabs are always visible to all recipients, unless they are specifically excluded using this setting when an envelope is sent. Your account must have Document Visibility enabled to use this.") + **/ + @ApiModelProperty(value = "When set to **true**, documents with tabs can only be viewed by signers that have a tab on that document. Recipients that have an administrative role (Agent, Editor, or Intermediaries) or informational role (Certified Deliveries or Carbon Copies) can always see all the documents in an envelope, unless they are specifically excluded using this setting when an envelope is sent. Documents that do not have tabs are always visible to all recipients, unless they are specifically excluded using this setting when an envelope is sent. Your account must have Document Visibility enabled to use this.") public String getEnforceSignerVisibility() { return enforceSignerVisibility; } + /** + * setEnforceSignerVisibility. + **/ public void setEnforceSignerVisibility(String enforceSignerVisibility) { this.enforceSignerVisibility = enforceSignerVisibility; } + + /** + * envelopeId. + * + * @return Envelope + **/ public Envelope envelopeId(String envelopeId) { this.envelopeId = envelopeId; return this; } - /** - * The envelope ID of the envelope status that failed to post. + /** + * The envelope ID of the envelope status that failed to post.. * @return envelopeId - **/ - @ApiModelProperty(example = "null", value = "The envelope ID of the envelope status that failed to post.") + **/ + @ApiModelProperty(value = "The envelope ID of the envelope status that failed to post.") public String getEnvelopeId() { return envelopeId; } + /** + * setEnvelopeId. + **/ public void setEnvelopeId(String envelopeId) { this.envelopeId = envelopeId; } + + /** + * envelopeIdStamping. + * + * @return Envelope + **/ public Envelope envelopeIdStamping(String envelopeIdStamping) { this.envelopeIdStamping = envelopeIdStamping; return this; } - /** - * When set to **true**, Envelope ID Stamping is enabled. + /** + * When set to **true**, Envelope ID Stamping is enabled.. * @return envelopeIdStamping - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, Envelope ID Stamping is enabled.") + **/ + @ApiModelProperty(value = "When set to **true**, Envelope ID Stamping is enabled.") public String getEnvelopeIdStamping() { return envelopeIdStamping; } + /** + * setEnvelopeIdStamping. + **/ public void setEnvelopeIdStamping(String envelopeIdStamping) { this.envelopeIdStamping = envelopeIdStamping; } + + /** + * envelopeUri. + * + * @return Envelope + **/ public Envelope envelopeUri(String envelopeUri) { this.envelopeUri = envelopeUri; return this; } - /** - * Contains a URI for an endpoint that you can use to retrieve the envelope or envelopes. + /** + * Contains a URI for an endpoint that you can use to retrieve the envelope or envelopes.. * @return envelopeUri - **/ - @ApiModelProperty(example = "null", value = "Contains a URI for an endpoint that you can use to retrieve the envelope or envelopes.") + **/ + @ApiModelProperty(value = "Contains a URI for an endpoint that you can use to retrieve the envelope or envelopes.") public String getEnvelopeUri() { return envelopeUri; } + /** + * setEnvelopeUri. + **/ public void setEnvelopeUri(String envelopeUri) { this.envelopeUri = envelopeUri; } + + /** + * initialSentDateTime. + * + * @return Envelope + **/ public Envelope initialSentDateTime(String initialSentDateTime) { this.initialSentDateTime = initialSentDateTime; return this; } - /** - * + /** + * . * @return initialSentDateTime - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getInitialSentDateTime() { return initialSentDateTime; } + /** + * setInitialSentDateTime. + **/ public void setInitialSentDateTime(String initialSentDateTime) { this.initialSentDateTime = initialSentDateTime; } + + /** + * is21CFRPart11. + * + * @return Envelope + **/ public Envelope is21CFRPart11(String is21CFRPart11) { this.is21CFRPart11 = is21CFRPart11; return this; } - /** - * When set to **true**, indicates that this module is enabled on the account. + /** + * When set to **true**, indicates that this module is enabled on the account.. * @return is21CFRPart11 - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, indicates that this module is enabled on the account.") + **/ + @ApiModelProperty(value = "When set to **true**, indicates that this module is enabled on the account.") public String getIs21CFRPart11() { return is21CFRPart11; } + /** + * setIs21CFRPart11. + **/ public void setIs21CFRPart11(String is21CFRPart11) { this.is21CFRPart11 = is21CFRPart11; } + + /** + * isSignatureProviderEnvelope. + * + * @return Envelope + **/ public Envelope isSignatureProviderEnvelope(String isSignatureProviderEnvelope) { this.isSignatureProviderEnvelope = isSignatureProviderEnvelope; return this; } - /** - * + /** + * . * @return isSignatureProviderEnvelope - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getIsSignatureProviderEnvelope() { return isSignatureProviderEnvelope; } + /** + * setIsSignatureProviderEnvelope. + **/ public void setIsSignatureProviderEnvelope(String isSignatureProviderEnvelope) { this.isSignatureProviderEnvelope = isSignatureProviderEnvelope; } + + /** + * lastModifiedDateTime. + * + * @return Envelope + **/ public Envelope lastModifiedDateTime(String lastModifiedDateTime) { this.lastModifiedDateTime = lastModifiedDateTime; return this; } - /** - * The date and time the item was last modified. + /** + * The date and time the item was last modified.. * @return lastModifiedDateTime - **/ - @ApiModelProperty(example = "null", value = "The date and time the item was last modified.") + **/ + @ApiModelProperty(value = "The date and time the item was last modified.") public String getLastModifiedDateTime() { return lastModifiedDateTime; } + /** + * setLastModifiedDateTime. + **/ public void setLastModifiedDateTime(String lastModifiedDateTime) { this.lastModifiedDateTime = lastModifiedDateTime; } + + /** + * lockInformation. + * + * @return Envelope + **/ public Envelope lockInformation(LockInformation lockInformation) { this.lockInformation = lockInformation; return this; } - /** - * Get lockInformation + /** + * Get lockInformation. * @return lockInformation - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public LockInformation getLockInformation() { return lockInformation; } + /** + * setLockInformation. + **/ public void setLockInformation(LockInformation lockInformation) { this.lockInformation = lockInformation; } + + /** + * messageLock. + * + * @return Envelope + **/ public Envelope messageLock(String messageLock) { this.messageLock = messageLock; return this; } - /** - * When set to **true**, prevents senders from changing the contents of `emailBlurb` and `emailSubject` properties for the envelope. Additionally, this prevents users from making changes to the contents of `emailBlurb` and `emailSubject` properties when correcting envelopes. However, if the `messageLock` node is set to true**** and the `emailSubject` property is empty, senders and correctors are able to add a subject to the envelope. + /** + * When set to **true**, prevents senders from changing the contents of `emailBlurb` and `emailSubject` properties for the envelope. Additionally, this prevents users from making changes to the contents of `emailBlurb` and `emailSubject` properties when correcting envelopes. However, if the `messageLock` node is set to true**** and the `emailSubject` property is empty, senders and correctors are able to add a subject to the envelope.. * @return messageLock - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, prevents senders from changing the contents of `emailBlurb` and `emailSubject` properties for the envelope. Additionally, this prevents users from making changes to the contents of `emailBlurb` and `emailSubject` properties when correcting envelopes. However, if the `messageLock` node is set to true**** and the `emailSubject` property is empty, senders and correctors are able to add a subject to the envelope.") + **/ + @ApiModelProperty(value = "When set to **true**, prevents senders from changing the contents of `emailBlurb` and `emailSubject` properties for the envelope. Additionally, this prevents users from making changes to the contents of `emailBlurb` and `emailSubject` properties when correcting envelopes. However, if the `messageLock` node is set to true**** and the `emailSubject` property is empty, senders and correctors are able to add a subject to the envelope.") public String getMessageLock() { return messageLock; } + /** + * setMessageLock. + **/ public void setMessageLock(String messageLock) { this.messageLock = messageLock; } + + /** + * notification. + * + * @return Envelope + **/ public Envelope notification(Notification notification) { this.notification = notification; return this; } - /** - * Get notification + /** + * Get notification. * @return notification - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public Notification getNotification() { return notification; } + /** + * setNotification. + **/ public void setNotification(Notification notification) { this.notification = notification; } + + /** + * notificationUri. + * + * @return Envelope + **/ public Envelope notificationUri(String notificationUri) { this.notificationUri = notificationUri; return this; } - /** - * Contains a URI for an endpoint that you can use to retrieve the notifications. + /** + * Contains a URI for an endpoint that you can use to retrieve the notifications.. * @return notificationUri - **/ - @ApiModelProperty(example = "null", value = "Contains a URI for an endpoint that you can use to retrieve the notifications.") + **/ + @ApiModelProperty(value = "Contains a URI for an endpoint that you can use to retrieve the notifications.") public String getNotificationUri() { return notificationUri; } + /** + * setNotificationUri. + **/ public void setNotificationUri(String notificationUri) { this.notificationUri = notificationUri; } + + /** + * purgeState. + * + * @return Envelope + **/ public Envelope purgeState(String purgeState) { this.purgeState = purgeState; return this; } - /** - * + /** + * . * @return purgeState - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPurgeState() { return purgeState; } + /** + * setPurgeState. + **/ public void setPurgeState(String purgeState) { this.purgeState = purgeState; } + + /** + * recipients. + * + * @return Envelope + **/ public Envelope recipients(Recipients recipients) { this.recipients = recipients; return this; } - /** - * Get recipients + /** + * Get recipients. * @return recipients - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public Recipients getRecipients() { return recipients; } + /** + * setRecipients. + **/ public void setRecipients(Recipients recipients) { this.recipients = recipients; } + + /** + * recipientsLock. + * + * @return Envelope + **/ public Envelope recipientsLock(String recipientsLock) { this.recipientsLock = recipientsLock; return this; } - /** - * When set to **true**, prevents senders from changing, correcting, or deleting the recipient information for the envelope. + /** + * When set to **true**, prevents senders from changing, correcting, or deleting the recipient information for the envelope.. * @return recipientsLock - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, prevents senders from changing, correcting, or deleting the recipient information for the envelope.") + **/ + @ApiModelProperty(value = "When set to **true**, prevents senders from changing, correcting, or deleting the recipient information for the envelope.") public String getRecipientsLock() { return recipientsLock; } + /** + * setRecipientsLock. + **/ public void setRecipientsLock(String recipientsLock) { this.recipientsLock = recipientsLock; } + + /** + * recipientsUri. + * + * @return Envelope + **/ public Envelope recipientsUri(String recipientsUri) { this.recipientsUri = recipientsUri; return this; } - /** - * Contains a URI for an endpoint that you can use to retrieve the recipients. + /** + * Contains a URI for an endpoint that you can use to retrieve the recipients.. * @return recipientsUri - **/ - @ApiModelProperty(example = "null", value = "Contains a URI for an endpoint that you can use to retrieve the recipients.") + **/ + @ApiModelProperty(value = "Contains a URI for an endpoint that you can use to retrieve the recipients.") public String getRecipientsUri() { return recipientsUri; } + /** + * setRecipientsUri. + **/ public void setRecipientsUri(String recipientsUri) { this.recipientsUri = recipientsUri; } + + /** + * sentDateTime. + * + * @return Envelope + **/ public Envelope sentDateTime(String sentDateTime) { this.sentDateTime = sentDateTime; return this; } - /** - * The date and time the envelope was sent. + /** + * The date and time the envelope was sent.. * @return sentDateTime - **/ - @ApiModelProperty(example = "null", value = "The date and time the envelope was sent.") + **/ + @ApiModelProperty(value = "The date and time the envelope was sent.") public String getSentDateTime() { return sentDateTime; } + /** + * setSentDateTime. + **/ public void setSentDateTime(String sentDateTime) { this.sentDateTime = sentDateTime; } + + /** + * signerCanSignOnMobile. + * + * @return Envelope + **/ public Envelope signerCanSignOnMobile(String signerCanSignOnMobile) { this.signerCanSignOnMobile = signerCanSignOnMobile; return this; } - /** - * + /** + * . * @return signerCanSignOnMobile - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSignerCanSignOnMobile() { return signerCanSignOnMobile; } + /** + * setSignerCanSignOnMobile. + **/ public void setSignerCanSignOnMobile(String signerCanSignOnMobile) { this.signerCanSignOnMobile = signerCanSignOnMobile; } + + /** + * signingLocation. + * + * @return Envelope + **/ public Envelope signingLocation(String signingLocation) { this.signingLocation = signingLocation; return this; } - /** - * Specifies the physical location where the signing takes place. It can have two enumeration values; InPerson and Online. The default value is Online. + /** + * Specifies the physical location where the signing takes place. It can have two enumeration values; InPerson and Online. The default value is Online.. * @return signingLocation - **/ - @ApiModelProperty(example = "null", value = "Specifies the physical location where the signing takes place. It can have two enumeration values; InPerson and Online. The default value is Online.") + **/ + @ApiModelProperty(value = "Specifies the physical location where the signing takes place. It can have two enumeration values; InPerson and Online. The default value is Online.") public String getSigningLocation() { return signingLocation; } + /** + * setSigningLocation. + **/ public void setSigningLocation(String signingLocation) { this.signingLocation = signingLocation; } + + /** + * status. + * + * @return Envelope + **/ public Envelope status(String status) { this.status = status; return this; } - /** - * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. *created - The envelope is saved as a draft and can be modified and sent later. + /** + * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. *created - The envelope is saved as a draft and can be modified and sent later.. * @return status - **/ - @ApiModelProperty(example = "null", value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. *created - The envelope is saved as a draft and can be modified and sent later.") + **/ + @ApiModelProperty(value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. *created - The envelope is saved as a draft and can be modified and sent later.") public String getStatus() { return status; } + /** + * setStatus. + **/ public void setStatus(String status) { this.status = status; } + + /** + * statusChangedDateTime. + * + * @return Envelope + **/ public Envelope statusChangedDateTime(String statusChangedDateTime) { this.statusChangedDateTime = statusChangedDateTime; return this; } - /** - * The data and time the status changed. + /** + * The data and time the status changed.. * @return statusChangedDateTime - **/ - @ApiModelProperty(example = "null", value = "The data and time the status changed.") + **/ + @ApiModelProperty(value = "The data and time the status changed.") public String getStatusChangedDateTime() { return statusChangedDateTime; } + /** + * setStatusChangedDateTime. + **/ public void setStatusChangedDateTime(String statusChangedDateTime) { this.statusChangedDateTime = statusChangedDateTime; } + + /** + * templatesUri. + * + * @return Envelope + **/ public Envelope templatesUri(String templatesUri) { this.templatesUri = templatesUri; return this; } - /** - * Contains a URI for an endpoint which you can use to retrieve the templates. + /** + * Contains a URI for an endpoint which you can use to retrieve the templates.. * @return templatesUri - **/ - @ApiModelProperty(example = "null", value = "Contains a URI for an endpoint which you can use to retrieve the templates.") + **/ + @ApiModelProperty(value = "Contains a URI for an endpoint which you can use to retrieve the templates.") public String getTemplatesUri() { return templatesUri; } + /** + * setTemplatesUri. + **/ public void setTemplatesUri(String templatesUri) { this.templatesUri = templatesUri; } + + /** + * transactionId. + * + * @return Envelope + **/ public Envelope transactionId(String transactionId) { this.transactionId = transactionId; return this; } - /** - * Used to identify an envelope. The id is a sender-generated value and is valid in the DocuSign system for 7 days. It is recommended that a transaction ID is used for offline signing to ensure that an envelope is not sent multiple times. The `transactionId` property can be used determine an envelope's status (i.e. was it created or not) in cases where the internet connection was lost before the envelope status was returned. + /** + * Used to identify an envelope. The id is a sender-generated value and is valid in the DocuSign system for 7 days. It is recommended that a transaction ID is used for offline signing to ensure that an envelope is not sent multiple times. The `transactionId` property can be used determine an envelope's status (i.e. was it created or not) in cases where the internet connection was lost before the envelope status was returned.. * @return transactionId - **/ - @ApiModelProperty(example = "null", value = " Used to identify an envelope. The id is a sender-generated value and is valid in the DocuSign system for 7 days. It is recommended that a transaction ID is used for offline signing to ensure that an envelope is not sent multiple times. The `transactionId` property can be used determine an envelope's status (i.e. was it created or not) in cases where the internet connection was lost before the envelope status was returned.") + **/ + @ApiModelProperty(value = " Used to identify an envelope. The id is a sender-generated value and is valid in the DocuSign system for 7 days. It is recommended that a transaction ID is used for offline signing to ensure that an envelope is not sent multiple times. The `transactionId` property can be used determine an envelope's status (i.e. was it created or not) in cases where the internet connection was lost before the envelope status was returned.") public String getTransactionId() { return transactionId; } + /** + * setTransactionId. + **/ public void setTransactionId(String transactionId) { this.transactionId = transactionId; } + + /** + * useDisclosure. + * + * @return Envelope + **/ public Envelope useDisclosure(String useDisclosure) { this.useDisclosure = useDisclosure; return this; } - /** - * When set to **true**, the disclosure is shown to recipients in accordance with the account's Electronic Record and Signature Disclosure frequency setting. When set to **false**, the Electronic Record and Signature Disclosure is not shown to any envelope recipients. If the `useDisclosure` property is not set, then the account's normal disclosure setting is used and the value of the `useDisclosure` property is not returned in responses when getting envelope information. + /** + * When set to **true**, the disclosure is shown to recipients in accordance with the account's Electronic Record and Signature Disclosure frequency setting. When set to **false**, the Electronic Record and Signature Disclosure is not shown to any envelope recipients. If the `useDisclosure` property is not set, then the account's normal disclosure setting is used and the value of the `useDisclosure` property is not returned in responses when getting envelope information.. * @return useDisclosure - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the disclosure is shown to recipients in accordance with the account's Electronic Record and Signature Disclosure frequency setting. When set to **false**, the Electronic Record and Signature Disclosure is not shown to any envelope recipients. If the `useDisclosure` property is not set, then the account's normal disclosure setting is used and the value of the `useDisclosure` property is not returned in responses when getting envelope information.") + **/ + @ApiModelProperty(value = "When set to **true**, the disclosure is shown to recipients in accordance with the account's Electronic Record and Signature Disclosure frequency setting. When set to **false**, the Electronic Record and Signature Disclosure is not shown to any envelope recipients. If the `useDisclosure` property is not set, then the account's normal disclosure setting is used and the value of the `useDisclosure` property is not returned in responses when getting envelope information.") public String getUseDisclosure() { return useDisclosure; } + /** + * setUseDisclosure. + **/ public void setUseDisclosure(String useDisclosure) { this.useDisclosure = useDisclosure; } + + /** + * voidedDateTime. + * + * @return Envelope + **/ public Envelope voidedDateTime(String voidedDateTime) { this.voidedDateTime = voidedDateTime; return this; } - /** - * The date and time the envelope or template was voided. + /** + * The date and time the envelope or template was voided.. * @return voidedDateTime - **/ - @ApiModelProperty(example = "null", value = "The date and time the envelope or template was voided.") + **/ + @ApiModelProperty(value = "The date and time the envelope or template was voided.") public String getVoidedDateTime() { return voidedDateTime; } + /** + * setVoidedDateTime. + **/ public void setVoidedDateTime(String voidedDateTime) { this.voidedDateTime = voidedDateTime; } + + /** + * voidedReason. + * + * @return Envelope + **/ public Envelope voidedReason(String voidedReason) { this.voidedReason = voidedReason; return this; } - /** - * The reason the envelope or template was voided. + /** + * The reason the envelope or template was voided.. * @return voidedReason - **/ - @ApiModelProperty(example = "null", value = "The reason the envelope or template was voided.") + **/ + @ApiModelProperty(value = "The reason the envelope or template was voided.") public String getVoidedReason() { return voidedReason; } + /** + * setVoidedReason. + **/ public void setVoidedReason(String voidedReason) { this.voidedReason = voidedReason; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -1088,12 +1606,14 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.brandLock, envelope.brandLock) && Objects.equals(this.certificateUri, envelope.certificateUri) && Objects.equals(this.completedDateTime, envelope.completedDateTime) && + Objects.equals(this.copyRecipientData, envelope.copyRecipientData) && Objects.equals(this.createdDateTime, envelope.createdDateTime) && Objects.equals(this.customFields, envelope.customFields) && Objects.equals(this.customFieldsUri, envelope.customFieldsUri) && Objects.equals(this.declinedDateTime, envelope.declinedDateTime) && Objects.equals(this.deletedDateTime, envelope.deletedDateTime) && Objects.equals(this.deliveredDateTime, envelope.deliveredDateTime) && + Objects.equals(this.disableResponsiveDocument, envelope.disableResponsiveDocument) && Objects.equals(this.documentsCombinedUri, envelope.documentsCombinedUri) && Objects.equals(this.documentsUri, envelope.documentsUri) && Objects.equals(this.emailBlurb, envelope.emailBlurb) && @@ -1128,12 +1648,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.voidedReason, envelope.voidedReason); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { - return Objects.hash(allowMarkup, allowReassign, allowViewHistory, asynchronous, attachmentsUri, authoritativeCopy, authoritativeCopyDefault, autoNavigation, brandId, brandLock, certificateUri, completedDateTime, createdDateTime, customFields, customFieldsUri, declinedDateTime, deletedDateTime, deliveredDateTime, documentsCombinedUri, documentsUri, emailBlurb, emailSettings, emailSubject, enableWetSign, enforceSignerVisibility, envelopeId, envelopeIdStamping, envelopeUri, initialSentDateTime, is21CFRPart11, isSignatureProviderEnvelope, lastModifiedDateTime, lockInformation, messageLock, notification, notificationUri, purgeState, recipients, recipientsLock, recipientsUri, sentDateTime, signerCanSignOnMobile, signingLocation, status, statusChangedDateTime, templatesUri, transactionId, useDisclosure, voidedDateTime, voidedReason); + return Objects.hash(allowMarkup, allowReassign, allowViewHistory, asynchronous, attachmentsUri, authoritativeCopy, authoritativeCopyDefault, autoNavigation, brandId, brandLock, certificateUri, completedDateTime, copyRecipientData, createdDateTime, customFields, customFieldsUri, declinedDateTime, deletedDateTime, deliveredDateTime, disableResponsiveDocument, documentsCombinedUri, documentsUri, emailBlurb, emailSettings, emailSubject, enableWetSign, enforceSignerVisibility, envelopeId, envelopeIdStamping, envelopeUri, initialSentDateTime, is21CFRPart11, isSignatureProviderEnvelope, lastModifiedDateTime, lockInformation, messageLock, notification, notificationUri, purgeState, recipients, recipientsLock, recipientsUri, sentDateTime, signerCanSignOnMobile, signingLocation, status, statusChangedDateTime, templatesUri, transactionId, useDisclosure, voidedDateTime, voidedReason); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -1151,12 +1677,14 @@ public String toString() { sb.append(" brandLock: ").append(toIndentedString(brandLock)).append("\n"); sb.append(" certificateUri: ").append(toIndentedString(certificateUri)).append("\n"); sb.append(" completedDateTime: ").append(toIndentedString(completedDateTime)).append("\n"); + sb.append(" copyRecipientData: ").append(toIndentedString(copyRecipientData)).append("\n"); sb.append(" createdDateTime: ").append(toIndentedString(createdDateTime)).append("\n"); sb.append(" customFields: ").append(toIndentedString(customFields)).append("\n"); sb.append(" customFieldsUri: ").append(toIndentedString(customFieldsUri)).append("\n"); sb.append(" declinedDateTime: ").append(toIndentedString(declinedDateTime)).append("\n"); sb.append(" deletedDateTime: ").append(toIndentedString(deletedDateTime)).append("\n"); sb.append(" deliveredDateTime: ").append(toIndentedString(deliveredDateTime)).append("\n"); + sb.append(" disableResponsiveDocument: ").append(toIndentedString(disableResponsiveDocument)).append("\n"); sb.append(" documentsCombinedUri: ").append(toIndentedString(documentsCombinedUri)).append("\n"); sb.append(" documentsUri: ").append(toIndentedString(documentsUri)).append("\n"); sb.append(" emailBlurb: ").append(toIndentedString(emailBlurb)).append("\n"); @@ -1203,6 +1731,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/EnvelopeAttachment.java b/src/main/java/com/docusign/esign/model/EnvelopeAttachment.java index 4612e732..5cc43cdc 100644 --- a/src/main/java/com/docusign/esign/model/EnvelopeAttachment.java +++ b/src/main/java/com/docusign/esign/model/EnvelopeAttachment.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ErrorDetails; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * EnvelopeAttachment + * EnvelopeAttachment. + * */ public class EnvelopeAttachment { @@ -30,115 +33,174 @@ public class EnvelopeAttachment { @JsonProperty("name") private String name = null; + + /** + * accessControl. + * + * @return EnvelopeAttachment + **/ public EnvelopeAttachment accessControl(String accessControl) { this.accessControl = accessControl; return this; } - /** - * + /** + * . * @return accessControl - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAccessControl() { return accessControl; } + /** + * setAccessControl. + **/ public void setAccessControl(String accessControl) { this.accessControl = accessControl; } + + /** + * attachmentId. + * + * @return EnvelopeAttachment + **/ public EnvelopeAttachment attachmentId(String attachmentId) { this.attachmentId = attachmentId; return this; } - /** - * + /** + * . * @return attachmentId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAttachmentId() { return attachmentId; } + /** + * setAttachmentId. + **/ public void setAttachmentId(String attachmentId) { this.attachmentId = attachmentId; } + + /** + * attachmentType. + * + * @return EnvelopeAttachment + **/ public EnvelopeAttachment attachmentType(String attachmentType) { this.attachmentType = attachmentType; return this; } - /** - * + /** + * . * @return attachmentType - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAttachmentType() { return attachmentType; } + /** + * setAttachmentType. + **/ public void setAttachmentType(String attachmentType) { this.attachmentType = attachmentType; } + + /** + * errorDetails. + * + * @return EnvelopeAttachment + **/ public EnvelopeAttachment errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * label. + * + * @return EnvelopeAttachment + **/ public EnvelopeAttachment label(String label) { this.label = label; return this; } - /** - * + /** + * . * @return label - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getLabel() { return label; } + /** + * setLabel. + **/ public void setLabel(String label) { this.label = label; } + + /** + * name. + * + * @return EnvelopeAttachment + **/ public EnvelopeAttachment name(String name) { this.name = name; return this; } - /** - * + /** + * . * @return name - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -156,12 +218,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.name, envelopeAttachment.name); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(accessControl, attachmentId, attachmentType, errorDetails, label, name); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -187,6 +255,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/EnvelopeAttachmentsRequest.java b/src/main/java/com/docusign/esign/model/EnvelopeAttachmentsRequest.java index 954f4769..db2a487c 100644 --- a/src/main/java/com/docusign/esign/model/EnvelopeAttachmentsRequest.java +++ b/src/main/java/com/docusign/esign/model/EnvelopeAttachmentsRequest.java @@ -1,44 +1,69 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.Attachment; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * EnvelopeAttachmentsRequest + * EnvelopeAttachmentsRequest. + * */ public class EnvelopeAttachmentsRequest { @JsonProperty("attachments") - private java.util.List attachments = new java.util.ArrayList(); + private java.util.List attachments = null; + + /** + * attachments. + * + * @return EnvelopeAttachmentsRequest + **/ public EnvelopeAttachmentsRequest attachments(java.util.List attachments) { this.attachments = attachments; return this; } - + + /** + * addAttachmentsItem. + * + * @return EnvelopeAttachmentsRequest + **/ public EnvelopeAttachmentsRequest addAttachmentsItem(Attachment attachmentsItem) { + if (this.attachments == null) { + this.attachments = new java.util.ArrayList(); + } this.attachments.add(attachmentsItem); return this; } - /** - * + /** + * . * @return attachments - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getAttachments() { return attachments; } + /** + * setAttachments. + **/ public void setAttachments(java.util.List attachments) { this.attachments = attachments; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -51,12 +76,18 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.attachments, envelopeAttachmentsRequest.attachments); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(attachments); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -77,6 +108,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/EnvelopeAttachmentsResult.java b/src/main/java/com/docusign/esign/model/EnvelopeAttachmentsResult.java index e3ded4e5..6aa6854f 100644 --- a/src/main/java/com/docusign/esign/model/EnvelopeAttachmentsResult.java +++ b/src/main/java/com/docusign/esign/model/EnvelopeAttachmentsResult.java @@ -1,44 +1,69 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.EnvelopeAttachment; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * EnvelopeAttachmentsResult + * EnvelopeAttachmentsResult. + * */ public class EnvelopeAttachmentsResult { @JsonProperty("attachments") - private java.util.List attachments = new java.util.ArrayList(); + private java.util.List attachments = null; + + /** + * attachments. + * + * @return EnvelopeAttachmentsResult + **/ public EnvelopeAttachmentsResult attachments(java.util.List attachments) { this.attachments = attachments; return this; } - + + /** + * addAttachmentsItem. + * + * @return EnvelopeAttachmentsResult + **/ public EnvelopeAttachmentsResult addAttachmentsItem(EnvelopeAttachment attachmentsItem) { + if (this.attachments == null) { + this.attachments = new java.util.ArrayList(); + } this.attachments.add(attachmentsItem); return this; } - /** - * + /** + * . * @return attachments - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getAttachments() { return attachments; } + /** + * setAttachments. + **/ public void setAttachments(java.util.List attachments) { this.attachments = attachments; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -51,12 +76,18 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.attachments, envelopeAttachmentsResult.attachments); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(attachments); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -77,6 +108,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/EnvelopeAuditEvent.java b/src/main/java/com/docusign/esign/model/EnvelopeAuditEvent.java index 873ee826..bc80e04a 100644 --- a/src/main/java/com/docusign/esign/model/EnvelopeAuditEvent.java +++ b/src/main/java/com/docusign/esign/model/EnvelopeAuditEvent.java @@ -1,44 +1,69 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.NameValue; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * EnvelopeAuditEvent + * EnvelopeAuditEvent. + * */ public class EnvelopeAuditEvent { @JsonProperty("eventFields") - private java.util.List eventFields = new java.util.ArrayList(); + private java.util.List eventFields = null; + + /** + * eventFields. + * + * @return EnvelopeAuditEvent + **/ public EnvelopeAuditEvent eventFields(java.util.List eventFields) { this.eventFields = eventFields; return this; } - + + /** + * addEventFieldsItem. + * + * @return EnvelopeAuditEvent + **/ public EnvelopeAuditEvent addEventFieldsItem(NameValue eventFieldsItem) { + if (this.eventFields == null) { + this.eventFields = new java.util.ArrayList(); + } this.eventFields.add(eventFieldsItem); return this; } - /** - * + /** + * . * @return eventFields - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getEventFields() { return eventFields; } + /** + * setEventFields. + **/ public void setEventFields(java.util.List eventFields) { this.eventFields = eventFields; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -51,12 +76,18 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.eventFields, envelopeAuditEvent.eventFields); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(eventFields); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -77,6 +108,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/EnvelopeAuditEventResponse.java b/src/main/java/com/docusign/esign/model/EnvelopeAuditEventResponse.java index d86cac8d..09da11d5 100644 --- a/src/main/java/com/docusign/esign/model/EnvelopeAuditEventResponse.java +++ b/src/main/java/com/docusign/esign/model/EnvelopeAuditEventResponse.java @@ -1,44 +1,69 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.EnvelopeAuditEvent; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * EnvelopeAuditEventResponse + * EnvelopeAuditEventResponse. + * */ public class EnvelopeAuditEventResponse { @JsonProperty("auditEvents") - private java.util.List auditEvents = new java.util.ArrayList(); + private java.util.List auditEvents = null; + + /** + * auditEvents. + * + * @return EnvelopeAuditEventResponse + **/ public EnvelopeAuditEventResponse auditEvents(java.util.List auditEvents) { this.auditEvents = auditEvents; return this; } - + + /** + * addAuditEventsItem. + * + * @return EnvelopeAuditEventResponse + **/ public EnvelopeAuditEventResponse addAuditEventsItem(EnvelopeAuditEvent auditEventsItem) { + if (this.auditEvents == null) { + this.auditEvents = new java.util.ArrayList(); + } this.auditEvents.add(auditEventsItem); return this; } - /** - * Reserved: TBD + /** + * Reserved: TBD. * @return auditEvents - **/ - @ApiModelProperty(example = "null", value = "Reserved: TBD") + **/ + @ApiModelProperty(value = "Reserved: TBD") public java.util.List getAuditEvents() { return auditEvents; } + /** + * setAuditEvents. + **/ public void setAuditEvents(java.util.List auditEvents) { this.auditEvents = auditEvents; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -51,12 +76,18 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.auditEvents, envelopeAuditEventResponse.auditEvents); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(auditEvents); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -77,6 +108,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/EnvelopeDefinition.java b/src/main/java/com/docusign/esign/model/EnvelopeDefinition.java index 7d931ea4..32ec48a8 100644 --- a/src/main/java/com/docusign/esign/model/EnvelopeDefinition.java +++ b/src/main/java/com/docusign/esign/model/EnvelopeDefinition.java @@ -1,6 +1,7 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.Attachment; import com.docusign.esign.model.CompositeTemplate; import com.docusign.esign.model.CustomFields; @@ -13,11 +14,13 @@ import com.docusign.esign.model.TemplateRole; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * EnvelopeDefinition + * EnvelopeDefinition. + * */ public class EnvelopeDefinition { @@ -40,7 +43,7 @@ public class EnvelopeDefinition { private String asynchronous = null; @JsonProperty("attachments") - private java.util.List attachments = new java.util.ArrayList(); + private java.util.List attachments = null; @JsonProperty("attachmentsUri") private String attachmentsUri = null; @@ -67,7 +70,10 @@ public class EnvelopeDefinition { private String completedDateTime = null; @JsonProperty("compositeTemplates") - private java.util.List compositeTemplates = new java.util.ArrayList(); + private java.util.List compositeTemplates = null; + + @JsonProperty("copyRecipientData") + private String copyRecipientData = null; @JsonProperty("createdDateTime") private String createdDateTime = null; @@ -87,8 +93,11 @@ public class EnvelopeDefinition { @JsonProperty("deliveredDateTime") private String deliveredDateTime = null; + @JsonProperty("disableResponsiveDocument") + private String disableResponsiveDocument = null; + @JsonProperty("documents") - private java.util.List documents = new java.util.ArrayList(); + private java.util.List documents = null; @JsonProperty("documentsCombinedUri") private String documentsCombinedUri = null; @@ -181,7 +190,7 @@ public class EnvelopeDefinition { private String templateId = null; @JsonProperty("templateRoles") - private java.util.List templateRoles = new java.util.ArrayList(); + private java.util.List templateRoles = null; @JsonProperty("templatesUri") private String templatesUri = null; @@ -198,1089 +207,1711 @@ public class EnvelopeDefinition { @JsonProperty("voidedReason") private String voidedReason = null; + + /** + * accessibility. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition accessibility(String accessibility) { this.accessibility = accessibility; return this; } - /** - * Sets the document reading zones for screen reader applications. This element can only be used if Document Accessibility is enabled for the account. ###### Note: This information is currently generated from the DocuSign web console by setting the reading zones when creating a template, exporting the reading zone string information, and adding it here. + /** + * Sets the document reading zones for screen reader applications. This element can only be used if Document Accessibility is enabled for the account. ###### Note: This information is currently generated from the DocuSign web console by setting the reading zones when creating a template, exporting the reading zone string information, and adding it here.. * @return accessibility - **/ - @ApiModelProperty(example = "null", value = "Sets the document reading zones for screen reader applications. This element can only be used if Document Accessibility is enabled for the account. ###### Note: This information is currently generated from the DocuSign web console by setting the reading zones when creating a template, exporting the reading zone string information, and adding it here.") + **/ + @ApiModelProperty(value = "Sets the document reading zones for screen reader applications. This element can only be used if Document Accessibility is enabled for the account. ###### Note: This information is currently generated from the DocuSign web console by setting the reading zones when creating a template, exporting the reading zone string information, and adding it here.") public String getAccessibility() { return accessibility; } + /** + * setAccessibility. + **/ public void setAccessibility(String accessibility) { this.accessibility = accessibility; } + + /** + * allowMarkup. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition allowMarkup(String allowMarkup) { this.allowMarkup = allowMarkup; return this; } - /** - * When set to **true**, Document Markup is enabled for envelope. Account must have Document Markup enabled to use this + /** + * When set to **true**, Document Markup is enabled for envelope. Account must have Document Markup enabled to use this. * @return allowMarkup - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, Document Markup is enabled for envelope. Account must have Document Markup enabled to use this") + **/ + @ApiModelProperty(value = "When set to **true**, Document Markup is enabled for envelope. Account must have Document Markup enabled to use this") public String getAllowMarkup() { return allowMarkup; } + /** + * setAllowMarkup. + **/ public void setAllowMarkup(String allowMarkup) { this.allowMarkup = allowMarkup; } + + /** + * allowReassign. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition allowReassign(String allowReassign) { this.allowReassign = allowReassign; return this; } - /** - * When set to **true**, the recipient can redirect an envelope to a more appropriate recipient. + /** + * When set to **true**, the recipient can redirect an envelope to a more appropriate recipient.. * @return allowReassign - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the recipient can redirect an envelope to a more appropriate recipient.") + **/ + @ApiModelProperty(value = "When set to **true**, the recipient can redirect an envelope to a more appropriate recipient.") public String getAllowReassign() { return allowReassign; } + /** + * setAllowReassign. + **/ public void setAllowReassign(String allowReassign) { this.allowReassign = allowReassign; } + + /** + * allowRecipientRecursion. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition allowRecipientRecursion(String allowRecipientRecursion) { this.allowRecipientRecursion = allowRecipientRecursion; return this; } - /** - * When set to **true**, this enables the Recursive Recipients feature and allows a recipient to appear more than once in the routing order. + /** + * When set to **true**, this enables the Recursive Recipients feature and allows a recipient to appear more than once in the routing order.. * @return allowRecipientRecursion - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, this enables the Recursive Recipients feature and allows a recipient to appear more than once in the routing order.") + **/ + @ApiModelProperty(value = "When set to **true**, this enables the Recursive Recipients feature and allows a recipient to appear more than once in the routing order.") public String getAllowRecipientRecursion() { return allowRecipientRecursion; } + /** + * setAllowRecipientRecursion. + **/ public void setAllowRecipientRecursion(String allowRecipientRecursion) { this.allowRecipientRecursion = allowRecipientRecursion; } + + /** + * allowViewHistory. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition allowViewHistory(String allowViewHistory) { this.allowViewHistory = allowViewHistory; return this; } - /** - * + /** + * . * @return allowViewHistory - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAllowViewHistory() { return allowViewHistory; } + /** + * setAllowViewHistory. + **/ public void setAllowViewHistory(String allowViewHistory) { this.allowViewHistory = allowViewHistory; } + + /** + * asynchronous. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition asynchronous(String asynchronous) { this.asynchronous = asynchronous; return this; } - /** - * When set to **true**, the envelope is queued for processing and the value of the `status` property is set to 'Processing'. Additionally, get status calls return 'Processing' until completed. + /** + * When set to **true**, the envelope is queued for processing and the value of the `status` property is set to 'Processing'. Additionally, get status calls return 'Processing' until completed.. * @return asynchronous - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the envelope is queued for processing and the value of the `status` property is set to 'Processing'. Additionally, get status calls return 'Processing' until completed.") + **/ + @ApiModelProperty(value = "When set to **true**, the envelope is queued for processing and the value of the `status` property is set to 'Processing'. Additionally, get status calls return 'Processing' until completed.") public String getAsynchronous() { return asynchronous; } + /** + * setAsynchronous. + **/ public void setAsynchronous(String asynchronous) { this.asynchronous = asynchronous; } + + /** + * attachments. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition attachments(java.util.List attachments) { this.attachments = attachments; return this; } - + + /** + * addAttachmentsItem. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition addAttachmentsItem(Attachment attachmentsItem) { + if (this.attachments == null) { + this.attachments = new java.util.ArrayList(); + } this.attachments.add(attachmentsItem); return this; } - /** - * + /** + * . * @return attachments - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getAttachments() { return attachments; } + /** + * setAttachments. + **/ public void setAttachments(java.util.List attachments) { this.attachments = attachments; } + + /** + * attachmentsUri. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition attachmentsUri(String attachmentsUri) { this.attachmentsUri = attachmentsUri; return this; } - /** - * + /** + * . * @return attachmentsUri - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAttachmentsUri() { return attachmentsUri; } + /** + * setAttachmentsUri. + **/ public void setAttachmentsUri(String attachmentsUri) { this.attachmentsUri = attachmentsUri; } + + /** + * authoritativeCopy. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition authoritativeCopy(String authoritativeCopy) { this.authoritativeCopy = authoritativeCopy; return this; } - /** - * Specifies the Authoritative copy feature. If set to true the Authoritative copy feature is enabled. + /** + * Specifies the Authoritative copy feature. If set to true the Authoritative copy feature is enabled.. * @return authoritativeCopy - **/ - @ApiModelProperty(example = "null", value = "Specifies the Authoritative copy feature. If set to true the Authoritative copy feature is enabled.") + **/ + @ApiModelProperty(value = "Specifies the Authoritative copy feature. If set to true the Authoritative copy feature is enabled.") public String getAuthoritativeCopy() { return authoritativeCopy; } + /** + * setAuthoritativeCopy. + **/ public void setAuthoritativeCopy(String authoritativeCopy) { this.authoritativeCopy = authoritativeCopy; } + + /** + * authoritativeCopyDefault. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition authoritativeCopyDefault(String authoritativeCopyDefault) { this.authoritativeCopyDefault = authoritativeCopyDefault; return this; } - /** - * + /** + * . * @return authoritativeCopyDefault - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAuthoritativeCopyDefault() { return authoritativeCopyDefault; } + /** + * setAuthoritativeCopyDefault. + **/ public void setAuthoritativeCopyDefault(String authoritativeCopyDefault) { this.authoritativeCopyDefault = authoritativeCopyDefault; } + + /** + * autoNavigation. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition autoNavigation(String autoNavigation) { this.autoNavigation = autoNavigation; return this; } - /** - * + /** + * . * @return autoNavigation - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAutoNavigation() { return autoNavigation; } + /** + * setAutoNavigation. + **/ public void setAutoNavigation(String autoNavigation) { this.autoNavigation = autoNavigation; } + + /** + * brandId. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition brandId(String brandId) { this.brandId = brandId; return this; } - /** - * This sets the brand profile format used for the envelope. The value in the string is the brandId associated with the profile. Account branding must be enabled for the account to use this option. + /** + * This sets the brand profile format used for the envelope. The value in the string is the brandId associated with the profile. Account branding must be enabled for the account to use this option.. * @return brandId - **/ - @ApiModelProperty(example = "null", value = "This sets the brand profile format used for the envelope. The value in the string is the brandId associated with the profile. Account branding must be enabled for the account to use this option.") + **/ + @ApiModelProperty(value = "This sets the brand profile format used for the envelope. The value in the string is the brandId associated with the profile. Account branding must be enabled for the account to use this option.") public String getBrandId() { return brandId; } + /** + * setBrandId. + **/ public void setBrandId(String brandId) { this.brandId = brandId; } + + /** + * brandLock. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition brandLock(String brandLock) { this.brandLock = brandLock; return this; } - /** - * + /** + * . * @return brandLock - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getBrandLock() { return brandLock; } + /** + * setBrandLock. + **/ public void setBrandLock(String brandLock) { this.brandLock = brandLock; } + + /** + * certificateUri. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition certificateUri(String certificateUri) { this.certificateUri = certificateUri; return this; } - /** - * Retrieves a URI for an endpoint that allows you to easily retrieve certificate information. + /** + * Retrieves a URI for an endpoint that allows you to easily retrieve certificate information.. * @return certificateUri - **/ - @ApiModelProperty(example = "null", value = "Retrieves a URI for an endpoint that allows you to easily retrieve certificate information.") + **/ + @ApiModelProperty(value = "Retrieves a URI for an endpoint that allows you to easily retrieve certificate information.") public String getCertificateUri() { return certificateUri; } + /** + * setCertificateUri. + **/ public void setCertificateUri(String certificateUri) { this.certificateUri = certificateUri; } + + /** + * completedDateTime. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition completedDateTime(String completedDateTime) { this.completedDateTime = completedDateTime; return this; } - /** - * Specifies the date and time this item was completed. + /** + * Specifies the date and time this item was completed.. * @return completedDateTime - **/ - @ApiModelProperty(example = "null", value = "Specifies the date and time this item was completed.") + **/ + @ApiModelProperty(value = "Specifies the date and time this item was completed.") public String getCompletedDateTime() { return completedDateTime; } + /** + * setCompletedDateTime. + **/ public void setCompletedDateTime(String completedDateTime) { this.completedDateTime = completedDateTime; } + + /** + * compositeTemplates. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition compositeTemplates(java.util.List compositeTemplates) { this.compositeTemplates = compositeTemplates; return this; } - + + /** + * addCompositeTemplatesItem. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition addCompositeTemplatesItem(CompositeTemplate compositeTemplatesItem) { + if (this.compositeTemplates == null) { + this.compositeTemplates = new java.util.ArrayList(); + } this.compositeTemplates.add(compositeTemplatesItem); return this; } - /** - * A complex type that can be added to create envelopes from a combination of DocuSign templates and PDF forms. The basic envelope remains the same, while the Composite Template adds new document and template overlays into the envelope. There can be any number of Composite Template structures in the envelope. + /** + * A complex type that can be added to create envelopes from a combination of DocuSign templates and PDF forms. The basic envelope remains the same, while the Composite Template adds new document and template overlays into the envelope. There can be any number of Composite Template structures in the envelope.. * @return compositeTemplates - **/ - @ApiModelProperty(example = "null", value = "A complex type that can be added to create envelopes from a combination of DocuSign templates and PDF forms. The basic envelope remains the same, while the Composite Template adds new document and template overlays into the envelope. There can be any number of Composite Template structures in the envelope.") + **/ + @ApiModelProperty(value = "A complex type that can be added to create envelopes from a combination of DocuSign templates and PDF forms. The basic envelope remains the same, while the Composite Template adds new document and template overlays into the envelope. There can be any number of Composite Template structures in the envelope.") public java.util.List getCompositeTemplates() { return compositeTemplates; } + /** + * setCompositeTemplates. + **/ public void setCompositeTemplates(java.util.List compositeTemplates) { this.compositeTemplates = compositeTemplates; } + + /** + * copyRecipientData. + * + * @return EnvelopeDefinition + **/ + public EnvelopeDefinition copyRecipientData(String copyRecipientData) { + this.copyRecipientData = copyRecipientData; + return this; + } + + /** + * . + * @return copyRecipientData + **/ + @ApiModelProperty(value = "") + public String getCopyRecipientData() { + return copyRecipientData; + } + + /** + * setCopyRecipientData. + **/ + public void setCopyRecipientData(String copyRecipientData) { + this.copyRecipientData = copyRecipientData; + } + + + /** + * createdDateTime. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition createdDateTime(String createdDateTime) { this.createdDateTime = createdDateTime; return this; } - /** - * Indicates the date and time the item was created. + /** + * Indicates the date and time the item was created.. * @return createdDateTime - **/ - @ApiModelProperty(example = "null", value = "Indicates the date and time the item was created.") + **/ + @ApiModelProperty(value = "Indicates the date and time the item was created.") public String getCreatedDateTime() { return createdDateTime; } + /** + * setCreatedDateTime. + **/ public void setCreatedDateTime(String createdDateTime) { this.createdDateTime = createdDateTime; } + + /** + * customFields. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition customFields(CustomFields customFields) { this.customFields = customFields; return this; } - /** - * Get customFields + /** + * Get customFields. * @return customFields - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public CustomFields getCustomFields() { return customFields; } + /** + * setCustomFields. + **/ public void setCustomFields(CustomFields customFields) { this.customFields = customFields; } + + /** + * customFieldsUri. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition customFieldsUri(String customFieldsUri) { this.customFieldsUri = customFieldsUri; return this; } - /** - * Contains a URI for an endpoint that you can use to retrieve the custom fields. + /** + * Contains a URI for an endpoint that you can use to retrieve the custom fields.. * @return customFieldsUri - **/ - @ApiModelProperty(example = "null", value = "Contains a URI for an endpoint that you can use to retrieve the custom fields.") + **/ + @ApiModelProperty(value = "Contains a URI for an endpoint that you can use to retrieve the custom fields.") public String getCustomFieldsUri() { return customFieldsUri; } + /** + * setCustomFieldsUri. + **/ public void setCustomFieldsUri(String customFieldsUri) { this.customFieldsUri = customFieldsUri; } + + /** + * declinedDateTime. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition declinedDateTime(String declinedDateTime) { this.declinedDateTime = declinedDateTime; return this; } - /** - * The date and time the recipient declined the document. + /** + * The date and time the recipient declined the document.. * @return declinedDateTime - **/ - @ApiModelProperty(example = "null", value = "The date and time the recipient declined the document.") + **/ + @ApiModelProperty(value = "The date and time the recipient declined the document.") public String getDeclinedDateTime() { return declinedDateTime; } + /** + * setDeclinedDateTime. + **/ public void setDeclinedDateTime(String declinedDateTime) { this.declinedDateTime = declinedDateTime; } + + /** + * deletedDateTime. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition deletedDateTime(String deletedDateTime) { this.deletedDateTime = deletedDateTime; return this; } - /** - * Specifies the data and time the item was deleted. + /** + * Specifies the data and time the item was deleted.. * @return deletedDateTime - **/ - @ApiModelProperty(example = "null", value = "Specifies the data and time the item was deleted.") + **/ + @ApiModelProperty(value = "Specifies the data and time the item was deleted.") public String getDeletedDateTime() { return deletedDateTime; } + /** + * setDeletedDateTime. + **/ public void setDeletedDateTime(String deletedDateTime) { this.deletedDateTime = deletedDateTime; } + + /** + * deliveredDateTime. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition deliveredDateTime(String deliveredDateTime) { this.deliveredDateTime = deliveredDateTime; return this; } - /** - * Reserved: For DocuSign use only. + /** + * Reserved: For DocuSign use only.. * @return deliveredDateTime - **/ - @ApiModelProperty(example = "null", value = "Reserved: For DocuSign use only.") + **/ + @ApiModelProperty(value = "Reserved: For DocuSign use only.") public String getDeliveredDateTime() { return deliveredDateTime; } + /** + * setDeliveredDateTime. + **/ public void setDeliveredDateTime(String deliveredDateTime) { this.deliveredDateTime = deliveredDateTime; } + + /** + * disableResponsiveDocument. + * + * @return EnvelopeDefinition + **/ + public EnvelopeDefinition disableResponsiveDocument(String disableResponsiveDocument) { + this.disableResponsiveDocument = disableResponsiveDocument; + return this; + } + + /** + * . + * @return disableResponsiveDocument + **/ + @ApiModelProperty(value = "") + public String getDisableResponsiveDocument() { + return disableResponsiveDocument; + } + + /** + * setDisableResponsiveDocument. + **/ + public void setDisableResponsiveDocument(String disableResponsiveDocument) { + this.disableResponsiveDocument = disableResponsiveDocument; + } + + + /** + * documents. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition documents(java.util.List documents) { this.documents = documents; return this; } - + + /** + * addDocumentsItem. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition addDocumentsItem(Document documentsItem) { + if (this.documents == null) { + this.documents = new java.util.ArrayList(); + } this.documents.add(documentsItem); return this; } - /** - * Complex element contains the details on the documents in the envelope. + /** + * Complex element contains the details on the documents in the envelope.. * @return documents - **/ - @ApiModelProperty(example = "null", value = "Complex element contains the details on the documents in the envelope.") + **/ + @ApiModelProperty(value = "Complex element contains the details on the documents in the envelope.") public java.util.List getDocuments() { return documents; } + /** + * setDocuments. + **/ public void setDocuments(java.util.List documents) { this.documents = documents; } + + /** + * documentsCombinedUri. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition documentsCombinedUri(String documentsCombinedUri) { this.documentsCombinedUri = documentsCombinedUri; return this; } - /** - * + /** + * . * @return documentsCombinedUri - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getDocumentsCombinedUri() { return documentsCombinedUri; } + /** + * setDocumentsCombinedUri. + **/ public void setDocumentsCombinedUri(String documentsCombinedUri) { this.documentsCombinedUri = documentsCombinedUri; } + + /** + * documentsUri. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition documentsUri(String documentsUri) { this.documentsUri = documentsUri; return this; } - /** - * Contains a URI for an endpoint that you can use to retrieve the documents. + /** + * Contains a URI for an endpoint that you can use to retrieve the documents.. * @return documentsUri - **/ - @ApiModelProperty(example = "null", value = "Contains a URI for an endpoint that you can use to retrieve the documents.") + **/ + @ApiModelProperty(value = "Contains a URI for an endpoint that you can use to retrieve the documents.") public String getDocumentsUri() { return documentsUri; } + /** + * setDocumentsUri. + **/ public void setDocumentsUri(String documentsUri) { this.documentsUri = documentsUri; } + + /** + * emailBlurb. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition emailBlurb(String emailBlurb) { this.emailBlurb = emailBlurb; return this; } - /** - * Optional element. This is the same as the email body. If specified it is included in email body for all envelope recipients. This can be a maximum of 10000 characters + /** + * Optional element. This is the same as the email body. If specified it is included in email body for all envelope recipients. This can be a maximum of 10000 characters. * @return emailBlurb - **/ - @ApiModelProperty(example = "null", value = "Optional element. This is the same as the email body. If specified it is included in email body for all envelope recipients. This can be a maximum of 10000 characters") + **/ + @ApiModelProperty(value = "Optional element. This is the same as the email body. If specified it is included in email body for all envelope recipients. This can be a maximum of 10000 characters") public String getEmailBlurb() { return emailBlurb; } + /** + * setEmailBlurb. + **/ public void setEmailBlurb(String emailBlurb) { this.emailBlurb = emailBlurb; } + + /** + * emailSettings. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition emailSettings(EmailSettings emailSettings) { this.emailSettings = emailSettings; return this; } - /** - * Get emailSettings + /** + * Get emailSettings. * @return emailSettings - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public EmailSettings getEmailSettings() { return emailSettings; } + /** + * setEmailSettings. + **/ public void setEmailSettings(EmailSettings emailSettings) { this.emailSettings = emailSettings; } + + /** + * emailSubject. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition emailSubject(String emailSubject) { this.emailSubject = emailSubject; return this; } - /** - * Specifies the subject of the email that is sent to all recipients. See [ML:Template Email Subject Merge Fields] for information about adding merge field information to the email subject. + /** + * Specifies the subject of the email that is sent to all recipients. See [ML:Template Email Subject Merge Fields] for information about adding merge field information to the email subject.. * @return emailSubject - **/ - @ApiModelProperty(example = "null", value = "Specifies the subject of the email that is sent to all recipients. See [ML:Template Email Subject Merge Fields] for information about adding merge field information to the email subject.") + **/ + @ApiModelProperty(value = "Specifies the subject of the email that is sent to all recipients. See [ML:Template Email Subject Merge Fields] for information about adding merge field information to the email subject.") public String getEmailSubject() { return emailSubject; } + /** + * setEmailSubject. + **/ public void setEmailSubject(String emailSubject) { this.emailSubject = emailSubject; } + + /** + * enableWetSign. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition enableWetSign(String enableWetSign) { this.enableWetSign = enableWetSign; return this; } - /** - * When set to **true**, the signer is allowed to print the document and sign it on paper. + /** + * When set to **true**, the signer is allowed to print the document and sign it on paper.. * @return enableWetSign - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the signer is allowed to print the document and sign it on paper.") + **/ + @ApiModelProperty(value = "When set to **true**, the signer is allowed to print the document and sign it on paper.") public String getEnableWetSign() { return enableWetSign; } + /** + * setEnableWetSign. + **/ public void setEnableWetSign(String enableWetSign) { this.enableWetSign = enableWetSign; } + + /** + * enforceSignerVisibility. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition enforceSignerVisibility(String enforceSignerVisibility) { this.enforceSignerVisibility = enforceSignerVisibility; return this; } - /** - * When set to **true**, documents with tabs can only be viewed by signers that have a tab on that document. Recipients that have an administrative role (Agent, Editor, or Intermediaries) or informational role (Certified Deliveries or Carbon Copies) can always see all the documents in an envelope, unless they are specifically excluded using this setting when an envelope is sent. Documents that do not have tabs are always visible to all recipients, unless they are specifically excluded using this setting when an envelope is sent. Your account must have Document Visibility enabled to use this. + /** + * When set to **true**, documents with tabs can only be viewed by signers that have a tab on that document. Recipients that have an administrative role (Agent, Editor, or Intermediaries) or informational role (Certified Deliveries or Carbon Copies) can always see all the documents in an envelope, unless they are specifically excluded using this setting when an envelope is sent. Documents that do not have tabs are always visible to all recipients, unless they are specifically excluded using this setting when an envelope is sent. Your account must have Document Visibility enabled to use this.. * @return enforceSignerVisibility - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, documents with tabs can only be viewed by signers that have a tab on that document. Recipients that have an administrative role (Agent, Editor, or Intermediaries) or informational role (Certified Deliveries or Carbon Copies) can always see all the documents in an envelope, unless they are specifically excluded using this setting when an envelope is sent. Documents that do not have tabs are always visible to all recipients, unless they are specifically excluded using this setting when an envelope is sent. Your account must have Document Visibility enabled to use this.") + **/ + @ApiModelProperty(value = "When set to **true**, documents with tabs can only be viewed by signers that have a tab on that document. Recipients that have an administrative role (Agent, Editor, or Intermediaries) or informational role (Certified Deliveries or Carbon Copies) can always see all the documents in an envelope, unless they are specifically excluded using this setting when an envelope is sent. Documents that do not have tabs are always visible to all recipients, unless they are specifically excluded using this setting when an envelope is sent. Your account must have Document Visibility enabled to use this.") public String getEnforceSignerVisibility() { return enforceSignerVisibility; } + /** + * setEnforceSignerVisibility. + **/ public void setEnforceSignerVisibility(String enforceSignerVisibility) { this.enforceSignerVisibility = enforceSignerVisibility; } + + /** + * envelopeId. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition envelopeId(String envelopeId) { this.envelopeId = envelopeId; return this; } - /** - * The envelope ID of the envelope status that failed to post. + /** + * The envelope ID of the envelope status that failed to post.. * @return envelopeId - **/ - @ApiModelProperty(example = "null", value = "The envelope ID of the envelope status that failed to post.") + **/ + @ApiModelProperty(value = "The envelope ID of the envelope status that failed to post.") public String getEnvelopeId() { return envelopeId; } + /** + * setEnvelopeId. + **/ public void setEnvelopeId(String envelopeId) { this.envelopeId = envelopeId; } + + /** + * envelopeIdStamping. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition envelopeIdStamping(String envelopeIdStamping) { this.envelopeIdStamping = envelopeIdStamping; return this; } - /** - * When set to **true**, Envelope ID Stamping is enabled. + /** + * When set to **true**, Envelope ID Stamping is enabled.. * @return envelopeIdStamping - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, Envelope ID Stamping is enabled.") + **/ + @ApiModelProperty(value = "When set to **true**, Envelope ID Stamping is enabled.") public String getEnvelopeIdStamping() { return envelopeIdStamping; } + /** + * setEnvelopeIdStamping. + **/ public void setEnvelopeIdStamping(String envelopeIdStamping) { this.envelopeIdStamping = envelopeIdStamping; } + + /** + * envelopeUri. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition envelopeUri(String envelopeUri) { this.envelopeUri = envelopeUri; return this; } - /** - * Contains a URI for an endpoint that you can use to retrieve the envelope or envelopes. + /** + * Contains a URI for an endpoint that you can use to retrieve the envelope or envelopes.. * @return envelopeUri - **/ - @ApiModelProperty(example = "null", value = "Contains a URI for an endpoint that you can use to retrieve the envelope or envelopes.") + **/ + @ApiModelProperty(value = "Contains a URI for an endpoint that you can use to retrieve the envelope or envelopes.") public String getEnvelopeUri() { return envelopeUri; } + /** + * setEnvelopeUri. + **/ public void setEnvelopeUri(String envelopeUri) { this.envelopeUri = envelopeUri; } + + /** + * eventNotification. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition eventNotification(EventNotification eventNotification) { this.eventNotification = eventNotification; return this; } - /** - * Get eventNotification + /** + * Get eventNotification. * @return eventNotification - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public EventNotification getEventNotification() { return eventNotification; } + /** + * setEventNotification. + **/ public void setEventNotification(EventNotification eventNotification) { this.eventNotification = eventNotification; } + + /** + * initialSentDateTime. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition initialSentDateTime(String initialSentDateTime) { this.initialSentDateTime = initialSentDateTime; return this; } - /** - * + /** + * . * @return initialSentDateTime - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getInitialSentDateTime() { return initialSentDateTime; } + /** + * setInitialSentDateTime. + **/ public void setInitialSentDateTime(String initialSentDateTime) { this.initialSentDateTime = initialSentDateTime; } + + /** + * is21CFRPart11. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition is21CFRPart11(String is21CFRPart11) { this.is21CFRPart11 = is21CFRPart11; return this; } - /** - * When set to **true**, indicates that this module is enabled on the account. + /** + * When set to **true**, indicates that this module is enabled on the account.. * @return is21CFRPart11 - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, indicates that this module is enabled on the account.") + **/ + @ApiModelProperty(value = "When set to **true**, indicates that this module is enabled on the account.") public String getIs21CFRPart11() { return is21CFRPart11; } + /** + * setIs21CFRPart11. + **/ public void setIs21CFRPart11(String is21CFRPart11) { this.is21CFRPart11 = is21CFRPart11; } + + /** + * isSignatureProviderEnvelope. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition isSignatureProviderEnvelope(String isSignatureProviderEnvelope) { this.isSignatureProviderEnvelope = isSignatureProviderEnvelope; return this; } - /** - * + /** + * . * @return isSignatureProviderEnvelope - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getIsSignatureProviderEnvelope() { return isSignatureProviderEnvelope; } + /** + * setIsSignatureProviderEnvelope. + **/ public void setIsSignatureProviderEnvelope(String isSignatureProviderEnvelope) { this.isSignatureProviderEnvelope = isSignatureProviderEnvelope; } + + /** + * lastModifiedDateTime. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition lastModifiedDateTime(String lastModifiedDateTime) { this.lastModifiedDateTime = lastModifiedDateTime; return this; } - /** - * The date and time the item was last modified. + /** + * The date and time the item was last modified.. * @return lastModifiedDateTime - **/ - @ApiModelProperty(example = "null", value = "The date and time the item was last modified.") + **/ + @ApiModelProperty(value = "The date and time the item was last modified.") public String getLastModifiedDateTime() { return lastModifiedDateTime; } + /** + * setLastModifiedDateTime. + **/ public void setLastModifiedDateTime(String lastModifiedDateTime) { this.lastModifiedDateTime = lastModifiedDateTime; } + + /** + * lockInformation. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition lockInformation(LockInformation lockInformation) { this.lockInformation = lockInformation; return this; } - /** - * Get lockInformation + /** + * Get lockInformation. * @return lockInformation - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public LockInformation getLockInformation() { return lockInformation; } + /** + * setLockInformation. + **/ public void setLockInformation(LockInformation lockInformation) { this.lockInformation = lockInformation; } + + /** + * messageLock. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition messageLock(String messageLock) { this.messageLock = messageLock; return this; } - /** - * When set to **true**, prevents senders from changing the contents of `emailBlurb` and `emailSubject` properties for the envelope. Additionally, this prevents users from making changes to the contents of `emailBlurb` and `emailSubject` properties when correcting envelopes. However, if the `messageLock` node is set to true**** and the `emailSubject` property is empty, senders and correctors are able to add a subject to the envelope. + /** + * When set to **true**, prevents senders from changing the contents of `emailBlurb` and `emailSubject` properties for the envelope. Additionally, this prevents users from making changes to the contents of `emailBlurb` and `emailSubject` properties when correcting envelopes. However, if the `messageLock` node is set to true**** and the `emailSubject` property is empty, senders and correctors are able to add a subject to the envelope.. * @return messageLock - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, prevents senders from changing the contents of `emailBlurb` and `emailSubject` properties for the envelope. Additionally, this prevents users from making changes to the contents of `emailBlurb` and `emailSubject` properties when correcting envelopes. However, if the `messageLock` node is set to true**** and the `emailSubject` property is empty, senders and correctors are able to add a subject to the envelope.") + **/ + @ApiModelProperty(value = "When set to **true**, prevents senders from changing the contents of `emailBlurb` and `emailSubject` properties for the envelope. Additionally, this prevents users from making changes to the contents of `emailBlurb` and `emailSubject` properties when correcting envelopes. However, if the `messageLock` node is set to true**** and the `emailSubject` property is empty, senders and correctors are able to add a subject to the envelope.") public String getMessageLock() { return messageLock; } + /** + * setMessageLock. + **/ public void setMessageLock(String messageLock) { this.messageLock = messageLock; } + + /** + * notification. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition notification(Notification notification) { this.notification = notification; return this; } - /** - * Get notification + /** + * Get notification. * @return notification - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public Notification getNotification() { return notification; } + /** + * setNotification. + **/ public void setNotification(Notification notification) { this.notification = notification; } + + /** + * notificationUri. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition notificationUri(String notificationUri) { this.notificationUri = notificationUri; return this; } - /** - * Contains a URI for an endpoint that you can use to retrieve the notifications. + /** + * Contains a URI for an endpoint that you can use to retrieve the notifications.. * @return notificationUri - **/ - @ApiModelProperty(example = "null", value = "Contains a URI for an endpoint that you can use to retrieve the notifications.") + **/ + @ApiModelProperty(value = "Contains a URI for an endpoint that you can use to retrieve the notifications.") public String getNotificationUri() { return notificationUri; } + /** + * setNotificationUri. + **/ public void setNotificationUri(String notificationUri) { this.notificationUri = notificationUri; } + + /** + * password. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition password(String password) { this.password = password; return this; } - /** - * + /** + * . * @return password - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPassword() { return password; } + /** + * setPassword. + **/ public void setPassword(String password) { this.password = password; } + + /** + * purgeState. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition purgeState(String purgeState) { this.purgeState = purgeState; return this; } - /** - * Initiates a purge request. Valid values are: * documents_queued: Places envelope documents in the purge queue. * documents_and_metadata_queued: Places envelope documents and metadata in the purge queue. + /** + * Initiates a purge request. Valid values are: * documents_queued: Places envelope documents in the purge queue. * documents_and_metadata_queued: Places envelope documents and metadata in the purge queue. . * @return purgeState - **/ - @ApiModelProperty(example = "null", value = "Initiates a purge request. Valid values are: * documents_queued: Places envelope documents in the purge queue. * documents_and_metadata_queued: Places envelope documents and metadata in the purge queue. ") + **/ + @ApiModelProperty(value = "Initiates a purge request. Valid values are: * documents_queued: Places envelope documents in the purge queue. * documents_and_metadata_queued: Places envelope documents and metadata in the purge queue. ") public String getPurgeState() { return purgeState; } + /** + * setPurgeState. + **/ public void setPurgeState(String purgeState) { this.purgeState = purgeState; } + + /** + * recipients. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition recipients(Recipients recipients) { this.recipients = recipients; return this; } - /** - * Get recipients + /** + * Get recipients. * @return recipients - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public Recipients getRecipients() { return recipients; } + /** + * setRecipients. + **/ public void setRecipients(Recipients recipients) { this.recipients = recipients; } + + /** + * recipientsLock. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition recipientsLock(String recipientsLock) { this.recipientsLock = recipientsLock; return this; } - /** - * When set to **true**, prevents senders from changing, correcting, or deleting the recipient information for the envelope. + /** + * When set to **true**, prevents senders from changing, correcting, or deleting the recipient information for the envelope.. * @return recipientsLock - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, prevents senders from changing, correcting, or deleting the recipient information for the envelope.") + **/ + @ApiModelProperty(value = "When set to **true**, prevents senders from changing, correcting, or deleting the recipient information for the envelope.") public String getRecipientsLock() { return recipientsLock; } + /** + * setRecipientsLock. + **/ public void setRecipientsLock(String recipientsLock) { this.recipientsLock = recipientsLock; } + + /** + * recipientsUri. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition recipientsUri(String recipientsUri) { this.recipientsUri = recipientsUri; return this; } - /** - * Contains a URI for an endpoint that you can use to retrieve the recipients. + /** + * Contains a URI for an endpoint that you can use to retrieve the recipients.. * @return recipientsUri - **/ - @ApiModelProperty(example = "null", value = "Contains a URI for an endpoint that you can use to retrieve the recipients.") + **/ + @ApiModelProperty(value = "Contains a URI for an endpoint that you can use to retrieve the recipients.") public String getRecipientsUri() { return recipientsUri; } + /** + * setRecipientsUri. + **/ public void setRecipientsUri(String recipientsUri) { this.recipientsUri = recipientsUri; } + + /** + * sentDateTime. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition sentDateTime(String sentDateTime) { this.sentDateTime = sentDateTime; return this; } - /** - * The date and time the envelope was sent. + /** + * The date and time the envelope was sent.. * @return sentDateTime - **/ - @ApiModelProperty(example = "null", value = "The date and time the envelope was sent.") + **/ + @ApiModelProperty(value = "The date and time the envelope was sent.") public String getSentDateTime() { return sentDateTime; } + /** + * setSentDateTime. + **/ public void setSentDateTime(String sentDateTime) { this.sentDateTime = sentDateTime; } + + /** + * signerCanSignOnMobile. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition signerCanSignOnMobile(String signerCanSignOnMobile) { this.signerCanSignOnMobile = signerCanSignOnMobile; return this; } - /** - * + /** + * . * @return signerCanSignOnMobile - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSignerCanSignOnMobile() { return signerCanSignOnMobile; } + /** + * setSignerCanSignOnMobile. + **/ public void setSignerCanSignOnMobile(String signerCanSignOnMobile) { this.signerCanSignOnMobile = signerCanSignOnMobile; } + + /** + * signingLocation. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition signingLocation(String signingLocation) { this.signingLocation = signingLocation; return this; } - /** - * Specifies the physical location where the signing takes place. It can have two enumeration values; InPerson and Online. The default value is Online. + /** + * Specifies the physical location where the signing takes place. It can have two enumeration values; InPerson and Online. The default value is Online.. * @return signingLocation - **/ - @ApiModelProperty(example = "null", value = "Specifies the physical location where the signing takes place. It can have two enumeration values; InPerson and Online. The default value is Online.") + **/ + @ApiModelProperty(value = "Specifies the physical location where the signing takes place. It can have two enumeration values; InPerson and Online. The default value is Online.") public String getSigningLocation() { return signingLocation; } + /** + * setSigningLocation. + **/ public void setSigningLocation(String signingLocation) { this.signingLocation = signingLocation; } + + /** + * status. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition status(String status) { this.status = status; return this; } - /** - * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. + /** + * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.. * @return status - **/ - @ApiModelProperty(example = "null", value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") + **/ + @ApiModelProperty(value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") public String getStatus() { return status; } + /** + * setStatus. + **/ public void setStatus(String status) { this.status = status; } + + /** + * statusChangedDateTime. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition statusChangedDateTime(String statusChangedDateTime) { this.statusChangedDateTime = statusChangedDateTime; return this; } - /** - * The data and time the status changed. + /** + * The data and time the status changed.. * @return statusChangedDateTime - **/ - @ApiModelProperty(example = "null", value = "The data and time the status changed.") + **/ + @ApiModelProperty(value = "The data and time the status changed.") public String getStatusChangedDateTime() { return statusChangedDateTime; } + /** + * setStatusChangedDateTime. + **/ public void setStatusChangedDateTime(String statusChangedDateTime) { this.statusChangedDateTime = statusChangedDateTime; } + + /** + * templateId. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition templateId(String templateId) { this.templateId = templateId; return this; } - /** - * The unique identifier of the template. If this is not provided, DocuSign will generate a value. + /** + * The unique identifier of the template. If this is not provided, DocuSign will generate a value. . * @return templateId - **/ - @ApiModelProperty(example = "null", value = "The unique identifier of the template. If this is not provided, DocuSign will generate a value. ") + **/ + @ApiModelProperty(value = "The unique identifier of the template. If this is not provided, DocuSign will generate a value. ") public String getTemplateId() { return templateId; } + /** + * setTemplateId. + **/ public void setTemplateId(String templateId) { this.templateId = templateId; } + + /** + * templateRoles. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition templateRoles(java.util.List templateRoles) { this.templateRoles = templateRoles; return this; } - + + /** + * addTemplateRolesItem. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition addTemplateRolesItem(TemplateRole templateRolesItem) { + if (this.templateRoles == null) { + this.templateRoles = new java.util.ArrayList(); + } this.templateRoles.add(templateRolesItem); return this; } - /** - * Specifies the template recipients. Each roleName in the template must have a recipient assigned to it. This is made up elements: * email - The recipient's email address. * name - The recipient's name. * roleName - The template roleName associated with the recipient. * clientUserId - Optional, this sets if the signer is This specifies if the recipient is embedded or remote. If the clientUserId is not null then the recipient is embedded. Note that if a ClientUserId is used and the account settings SignerMustHaveAccount or SignerMustLoginToSign are true, an error is generated on sending. * defaultRecipient - Optional, When set to **true**, this recipient is the default recipient and any tabs generated by the transformPdfFields option are mapped to this recipient. * routingOrder - This specifies the routing order of the recipient in the envelope. * accessCode - This optional element specifies the access code a recipient has to enter to validate the identity. This can be a maximum of 50 characters. * inPersonSignerName - Optional, if the template role is an in person signer, this is the full legal name of the signer. This can be a maximum of 100 characters. * emailNotification - This is an optional complex element that has a role specific emailSubject, emailBody, and language. It follows the same format as the emailNotification node for Recipients. * tabs - This allows the tab values to be specified for matching to tabs in the template. + /** + * Specifies the template recipients. Each roleName in the template must have a recipient assigned to it. This is made up elements: * email - The recipient's email address. * name - The recipient's name. * roleName - The template roleName associated with the recipient. * clientUserId - Optional, this sets if the signer is This specifies if the recipient is embedded or remote. If the clientUserId is not null then the recipient is embedded. Note that if a ClientUserId is used and the account settings SignerMustHaveAccount or SignerMustLoginToSign are true, an error is generated on sending. * defaultRecipient - Optional, When set to **true**, this recipient is the default recipient and any tabs generated by the transformPdfFields option are mapped to this recipient. * routingOrder - This specifies the routing order of the recipient in the envelope. * accessCode - This optional element specifies the access code a recipient has to enter to validate the identity. This can be a maximum of 50 characters. * inPersonSignerName - Optional, if the template role is an in person signer, this is the full legal name of the signer. This can be a maximum of 100 characters. * emailNotification - This is an optional complex element that has a role specific emailSubject, emailBody, and language. It follows the same format as the emailNotification node for Recipients. * tabs - This allows the tab values to be specified for matching to tabs in the template. . * @return templateRoles - **/ - @ApiModelProperty(example = "null", value = "Specifies the template recipients. Each roleName in the template must have a recipient assigned to it. This is made up elements: * email - The recipient's email address. * name - The recipient's name. * roleName - The template roleName associated with the recipient. * clientUserId - Optional, this sets if the signer is This specifies if the recipient is embedded or remote. If the clientUserId is not null then the recipient is embedded. Note that if a ClientUserId is used and the account settings SignerMustHaveAccount or SignerMustLoginToSign are true, an error is generated on sending. * defaultRecipient - Optional, When set to **true**, this recipient is the default recipient and any tabs generated by the transformPdfFields option are mapped to this recipient. * routingOrder - This specifies the routing order of the recipient in the envelope. * accessCode - This optional element specifies the access code a recipient has to enter to validate the identity. This can be a maximum of 50 characters. * inPersonSignerName - Optional, if the template role is an in person signer, this is the full legal name of the signer. This can be a maximum of 100 characters. * emailNotification - This is an optional complex element that has a role specific emailSubject, emailBody, and language. It follows the same format as the emailNotification node for Recipients. * tabs - This allows the tab values to be specified for matching to tabs in the template. ") + **/ + @ApiModelProperty(value = "Specifies the template recipients. Each roleName in the template must have a recipient assigned to it. This is made up elements: * email - The recipient's email address. * name - The recipient's name. * roleName - The template roleName associated with the recipient. * clientUserId - Optional, this sets if the signer is This specifies if the recipient is embedded or remote. If the clientUserId is not null then the recipient is embedded. Note that if a ClientUserId is used and the account settings SignerMustHaveAccount or SignerMustLoginToSign are true, an error is generated on sending. * defaultRecipient - Optional, When set to **true**, this recipient is the default recipient and any tabs generated by the transformPdfFields option are mapped to this recipient. * routingOrder - This specifies the routing order of the recipient in the envelope. * accessCode - This optional element specifies the access code a recipient has to enter to validate the identity. This can be a maximum of 50 characters. * inPersonSignerName - Optional, if the template role is an in person signer, this is the full legal name of the signer. This can be a maximum of 100 characters. * emailNotification - This is an optional complex element that has a role specific emailSubject, emailBody, and language. It follows the same format as the emailNotification node for Recipients. * tabs - This allows the tab values to be specified for matching to tabs in the template. ") public java.util.List getTemplateRoles() { return templateRoles; } + /** + * setTemplateRoles. + **/ public void setTemplateRoles(java.util.List templateRoles) { this.templateRoles = templateRoles; } + + /** + * templatesUri. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition templatesUri(String templatesUri) { this.templatesUri = templatesUri; return this; } - /** - * Contains a URI for an endpoint which you can use to retrieve the templates. + /** + * Contains a URI for an endpoint which you can use to retrieve the templates.. * @return templatesUri - **/ - @ApiModelProperty(example = "null", value = "Contains a URI for an endpoint which you can use to retrieve the templates.") + **/ + @ApiModelProperty(value = "Contains a URI for an endpoint which you can use to retrieve the templates.") public String getTemplatesUri() { return templatesUri; } + /** + * setTemplatesUri. + **/ public void setTemplatesUri(String templatesUri) { this.templatesUri = templatesUri; } + + /** + * transactionId. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition transactionId(String transactionId) { this.transactionId = transactionId; return this; } - /** - * Used to identify an envelope. The id is a sender-generated value and is valid in the DocuSign system for 7 days. It is recommended that a transaction ID is used for offline signing to ensure that an envelope is not sent multiple times. The `transactionId` property can be used determine an envelope's status (i.e. was it created or not) in cases where the internet connection was lost before the envelope status was returned. + /** + * Used to identify an envelope. The id is a sender-generated value and is valid in the DocuSign system for 7 days. It is recommended that a transaction ID is used for offline signing to ensure that an envelope is not sent multiple times. The `transactionId` property can be used determine an envelope's status (i.e. was it created or not) in cases where the internet connection was lost before the envelope status was returned.. * @return transactionId - **/ - @ApiModelProperty(example = "null", value = " Used to identify an envelope. The id is a sender-generated value and is valid in the DocuSign system for 7 days. It is recommended that a transaction ID is used for offline signing to ensure that an envelope is not sent multiple times. The `transactionId` property can be used determine an envelope's status (i.e. was it created or not) in cases where the internet connection was lost before the envelope status was returned.") + **/ + @ApiModelProperty(value = " Used to identify an envelope. The id is a sender-generated value and is valid in the DocuSign system for 7 days. It is recommended that a transaction ID is used for offline signing to ensure that an envelope is not sent multiple times. The `transactionId` property can be used determine an envelope's status (i.e. was it created or not) in cases where the internet connection was lost before the envelope status was returned.") public String getTransactionId() { return transactionId; } + /** + * setTransactionId. + **/ public void setTransactionId(String transactionId) { this.transactionId = transactionId; } + + /** + * useDisclosure. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition useDisclosure(String useDisclosure) { this.useDisclosure = useDisclosure; return this; } - /** - * When set to **true**, the disclosure is shown to recipients in accordance with the account's Electronic Record and Signature Disclosure frequency setting. When set to **false**, the Electronic Record and Signature Disclosure is not shown to any envelope recipients. If the `useDisclosure` property is not set, then the account's normal disclosure setting is used and the value of the `useDisclosure` property is not returned in responses when getting envelope information. + /** + * When set to **true**, the disclosure is shown to recipients in accordance with the account's Electronic Record and Signature Disclosure frequency setting. When set to **false**, the Electronic Record and Signature Disclosure is not shown to any envelope recipients. If the `useDisclosure` property is not set, then the account's normal disclosure setting is used and the value of the `useDisclosure` property is not returned in responses when getting envelope information.. * @return useDisclosure - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the disclosure is shown to recipients in accordance with the account's Electronic Record and Signature Disclosure frequency setting. When set to **false**, the Electronic Record and Signature Disclosure is not shown to any envelope recipients. If the `useDisclosure` property is not set, then the account's normal disclosure setting is used and the value of the `useDisclosure` property is not returned in responses when getting envelope information.") + **/ + @ApiModelProperty(value = "When set to **true**, the disclosure is shown to recipients in accordance with the account's Electronic Record and Signature Disclosure frequency setting. When set to **false**, the Electronic Record and Signature Disclosure is not shown to any envelope recipients. If the `useDisclosure` property is not set, then the account's normal disclosure setting is used and the value of the `useDisclosure` property is not returned in responses when getting envelope information.") public String getUseDisclosure() { return useDisclosure; } + /** + * setUseDisclosure. + **/ public void setUseDisclosure(String useDisclosure) { this.useDisclosure = useDisclosure; } + + /** + * voidedDateTime. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition voidedDateTime(String voidedDateTime) { this.voidedDateTime = voidedDateTime; return this; } - /** - * The date and time the envelope or template was voided. + /** + * The date and time the envelope or template was voided.. * @return voidedDateTime - **/ - @ApiModelProperty(example = "null", value = "The date and time the envelope or template was voided.") + **/ + @ApiModelProperty(value = "The date and time the envelope or template was voided.") public String getVoidedDateTime() { return voidedDateTime; } + /** + * setVoidedDateTime. + **/ public void setVoidedDateTime(String voidedDateTime) { this.voidedDateTime = voidedDateTime; } + + /** + * voidedReason. + * + * @return EnvelopeDefinition + **/ public EnvelopeDefinition voidedReason(String voidedReason) { this.voidedReason = voidedReason; return this; } - /** - * The reason the envelope or template was voided. + /** + * The reason the envelope or template was voided.. * @return voidedReason - **/ - @ApiModelProperty(example = "null", value = "The reason the envelope or template was voided.") + **/ + @ApiModelProperty(value = "The reason the envelope or template was voided.") public String getVoidedReason() { return voidedReason; } + /** + * setVoidedReason. + **/ public void setVoidedReason(String voidedReason) { this.voidedReason = voidedReason; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -1306,12 +1937,14 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.certificateUri, envelopeDefinition.certificateUri) && Objects.equals(this.completedDateTime, envelopeDefinition.completedDateTime) && Objects.equals(this.compositeTemplates, envelopeDefinition.compositeTemplates) && + Objects.equals(this.copyRecipientData, envelopeDefinition.copyRecipientData) && Objects.equals(this.createdDateTime, envelopeDefinition.createdDateTime) && Objects.equals(this.customFields, envelopeDefinition.customFields) && Objects.equals(this.customFieldsUri, envelopeDefinition.customFieldsUri) && Objects.equals(this.declinedDateTime, envelopeDefinition.declinedDateTime) && Objects.equals(this.deletedDateTime, envelopeDefinition.deletedDateTime) && Objects.equals(this.deliveredDateTime, envelopeDefinition.deliveredDateTime) && + Objects.equals(this.disableResponsiveDocument, envelopeDefinition.disableResponsiveDocument) && Objects.equals(this.documents, envelopeDefinition.documents) && Objects.equals(this.documentsCombinedUri, envelopeDefinition.documentsCombinedUri) && Objects.equals(this.documentsUri, envelopeDefinition.documentsUri) && @@ -1351,12 +1984,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.voidedReason, envelopeDefinition.voidedReason); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { - return Objects.hash(accessibility, allowMarkup, allowReassign, allowRecipientRecursion, allowViewHistory, asynchronous, attachments, attachmentsUri, authoritativeCopy, authoritativeCopyDefault, autoNavigation, brandId, brandLock, certificateUri, completedDateTime, compositeTemplates, createdDateTime, customFields, customFieldsUri, declinedDateTime, deletedDateTime, deliveredDateTime, documents, documentsCombinedUri, documentsUri, emailBlurb, emailSettings, emailSubject, enableWetSign, enforceSignerVisibility, envelopeId, envelopeIdStamping, envelopeUri, eventNotification, initialSentDateTime, is21CFRPart11, isSignatureProviderEnvelope, lastModifiedDateTime, lockInformation, messageLock, notification, notificationUri, password, purgeState, recipients, recipientsLock, recipientsUri, sentDateTime, signerCanSignOnMobile, signingLocation, status, statusChangedDateTime, templateId, templateRoles, templatesUri, transactionId, useDisclosure, voidedDateTime, voidedReason); + return Objects.hash(accessibility, allowMarkup, allowReassign, allowRecipientRecursion, allowViewHistory, asynchronous, attachments, attachmentsUri, authoritativeCopy, authoritativeCopyDefault, autoNavigation, brandId, brandLock, certificateUri, completedDateTime, compositeTemplates, copyRecipientData, createdDateTime, customFields, customFieldsUri, declinedDateTime, deletedDateTime, deliveredDateTime, disableResponsiveDocument, documents, documentsCombinedUri, documentsUri, emailBlurb, emailSettings, emailSubject, enableWetSign, enforceSignerVisibility, envelopeId, envelopeIdStamping, envelopeUri, eventNotification, initialSentDateTime, is21CFRPart11, isSignatureProviderEnvelope, lastModifiedDateTime, lockInformation, messageLock, notification, notificationUri, password, purgeState, recipients, recipientsLock, recipientsUri, sentDateTime, signerCanSignOnMobile, signingLocation, status, statusChangedDateTime, templateId, templateRoles, templatesUri, transactionId, useDisclosure, voidedDateTime, voidedReason); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -1378,12 +2017,14 @@ public String toString() { sb.append(" certificateUri: ").append(toIndentedString(certificateUri)).append("\n"); sb.append(" completedDateTime: ").append(toIndentedString(completedDateTime)).append("\n"); sb.append(" compositeTemplates: ").append(toIndentedString(compositeTemplates)).append("\n"); + sb.append(" copyRecipientData: ").append(toIndentedString(copyRecipientData)).append("\n"); sb.append(" createdDateTime: ").append(toIndentedString(createdDateTime)).append("\n"); sb.append(" customFields: ").append(toIndentedString(customFields)).append("\n"); sb.append(" customFieldsUri: ").append(toIndentedString(customFieldsUri)).append("\n"); sb.append(" declinedDateTime: ").append(toIndentedString(declinedDateTime)).append("\n"); sb.append(" deletedDateTime: ").append(toIndentedString(deletedDateTime)).append("\n"); sb.append(" deliveredDateTime: ").append(toIndentedString(deliveredDateTime)).append("\n"); + sb.append(" disableResponsiveDocument: ").append(toIndentedString(disableResponsiveDocument)).append("\n"); sb.append(" documents: ").append(toIndentedString(documents)).append("\n"); sb.append(" documentsCombinedUri: ").append(toIndentedString(documentsCombinedUri)).append("\n"); sb.append(" documentsUri: ").append(toIndentedString(documentsUri)).append("\n"); @@ -1435,6 +2076,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/EnvelopeDocument.java b/src/main/java/com/docusign/esign/model/EnvelopeDocument.java index 4bf77ced..9bb12e21 100644 --- a/src/main/java/com/docusign/esign/model/EnvelopeDocument.java +++ b/src/main/java/com/docusign/esign/model/EnvelopeDocument.java @@ -1,16 +1,19 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ErrorDetails; import com.docusign.esign.model.NameValue; import com.docusign.esign.model.SignatureType; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * EnvelopeDocument + * EnvelopeDocument. + * */ public class EnvelopeDocument { @@ -21,7 +24,7 @@ public class EnvelopeDocument { private String authoritativeCopy = null; @JsonProperty("availableDocumentTypes") - private java.util.List availableDocumentTypes = new java.util.ArrayList(); + private java.util.List availableDocumentTypes = null; @JsonProperty("containsPdfFormFields") private String containsPdfFormFields = null; @@ -30,10 +33,7 @@ public class EnvelopeDocument { private String display = null; @JsonProperty("documentFields") - private java.util.List documentFields = new java.util.ArrayList(); - - @JsonProperty("documentGroup") - private String documentGroup = null; + private java.util.List documentFields = null; @JsonProperty("documentId") private String documentId = null; @@ -56,311 +56,479 @@ public class EnvelopeDocument { @JsonProperty("signerMustAcknowledge") private String signerMustAcknowledge = null; + @JsonProperty("sizeBytes") + private String sizeBytes = null; + @JsonProperty("type") private String type = null; @JsonProperty("uri") private String uri = null; + + /** + * attachmentTabId. + * + * @return EnvelopeDocument + **/ public EnvelopeDocument attachmentTabId(String attachmentTabId) { this.attachmentTabId = attachmentTabId; return this; } - /** - * + /** + * . * @return attachmentTabId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAttachmentTabId() { return attachmentTabId; } + /** + * setAttachmentTabId. + **/ public void setAttachmentTabId(String attachmentTabId) { this.attachmentTabId = attachmentTabId; } + + /** + * authoritativeCopy. + * + * @return EnvelopeDocument + **/ public EnvelopeDocument authoritativeCopy(String authoritativeCopy) { this.authoritativeCopy = authoritativeCopy; return this; } - /** - * Specifies the Authoritative copy feature. If set to true the Authoritative copy feature is enabled. + /** + * Specifies the Authoritative copy feature. If set to true the Authoritative copy feature is enabled.. * @return authoritativeCopy - **/ - @ApiModelProperty(example = "null", value = "Specifies the Authoritative copy feature. If set to true the Authoritative copy feature is enabled.") + **/ + @ApiModelProperty(value = "Specifies the Authoritative copy feature. If set to true the Authoritative copy feature is enabled.") public String getAuthoritativeCopy() { return authoritativeCopy; } + /** + * setAuthoritativeCopy. + **/ public void setAuthoritativeCopy(String authoritativeCopy) { this.authoritativeCopy = authoritativeCopy; } + + /** + * availableDocumentTypes. + * + * @return EnvelopeDocument + **/ public EnvelopeDocument availableDocumentTypes(java.util.List availableDocumentTypes) { this.availableDocumentTypes = availableDocumentTypes; return this; } - + + /** + * addAvailableDocumentTypesItem. + * + * @return EnvelopeDocument + **/ public EnvelopeDocument addAvailableDocumentTypesItem(SignatureType availableDocumentTypesItem) { + if (this.availableDocumentTypes == null) { + this.availableDocumentTypes = new java.util.ArrayList(); + } this.availableDocumentTypes.add(availableDocumentTypesItem); return this; } - /** - * + /** + * . * @return availableDocumentTypes - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getAvailableDocumentTypes() { return availableDocumentTypes; } + /** + * setAvailableDocumentTypes. + **/ public void setAvailableDocumentTypes(java.util.List availableDocumentTypes) { this.availableDocumentTypes = availableDocumentTypes; } + + /** + * containsPdfFormFields. + * + * @return EnvelopeDocument + **/ public EnvelopeDocument containsPdfFormFields(String containsPdfFormFields) { this.containsPdfFormFields = containsPdfFormFields; return this; } - /** - * + /** + * . * @return containsPdfFormFields - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getContainsPdfFormFields() { return containsPdfFormFields; } + /** + * setContainsPdfFormFields. + **/ public void setContainsPdfFormFields(String containsPdfFormFields) { this.containsPdfFormFields = containsPdfFormFields; } + + /** + * display. + * + * @return EnvelopeDocument + **/ public EnvelopeDocument display(String display) { this.display = display; return this; } - /** - * + /** + * . * @return display - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getDisplay() { return display; } + /** + * setDisplay. + **/ public void setDisplay(String display) { this.display = display; } + + /** + * documentFields. + * + * @return EnvelopeDocument + **/ public EnvelopeDocument documentFields(java.util.List documentFields) { this.documentFields = documentFields; return this; } - + + /** + * addDocumentFieldsItem. + * + * @return EnvelopeDocument + **/ public EnvelopeDocument addDocumentFieldsItem(NameValue documentFieldsItem) { + if (this.documentFields == null) { + this.documentFields = new java.util.ArrayList(); + } this.documentFields.add(documentFieldsItem); return this; } - /** - * + /** + * . * @return documentFields - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getDocumentFields() { return documentFields; } + /** + * setDocumentFields. + **/ public void setDocumentFields(java.util.List documentFields) { this.documentFields = documentFields; } - public EnvelopeDocument documentGroup(String documentGroup) { - this.documentGroup = documentGroup; - return this; - } - - /** - * - * @return documentGroup - **/ - @ApiModelProperty(example = "null", value = "") - public String getDocumentGroup() { - return documentGroup; - } - - public void setDocumentGroup(String documentGroup) { - this.documentGroup = documentGroup; - } + /** + * documentId. + * + * @return EnvelopeDocument + **/ public EnvelopeDocument documentId(String documentId) { this.documentId = documentId; return this; } - /** - * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute. + /** + * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.. * @return documentId - **/ - @ApiModelProperty(example = "null", value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") + **/ + @ApiModelProperty(value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") public String getDocumentId() { return documentId; } + /** + * setDocumentId. + **/ public void setDocumentId(String documentId) { this.documentId = documentId; } + + /** + * errorDetails. + * + * @return EnvelopeDocument + **/ public EnvelopeDocument errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * includeInDownload. + * + * @return EnvelopeDocument + **/ public EnvelopeDocument includeInDownload(String includeInDownload) { this.includeInDownload = includeInDownload; return this; } - /** - * + /** + * . * @return includeInDownload - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getIncludeInDownload() { return includeInDownload; } + /** + * setIncludeInDownload. + **/ public void setIncludeInDownload(String includeInDownload) { this.includeInDownload = includeInDownload; } + + /** + * name. + * + * @return EnvelopeDocument + **/ public EnvelopeDocument name(String name) { this.name = name; return this; } - /** - * + /** + * . * @return name - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * order. + * + * @return EnvelopeDocument + **/ public EnvelopeDocument order(String order) { this.order = order; return this; } - /** - * + /** + * . * @return order - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getOrder() { return order; } + /** + * setOrder. + **/ public void setOrder(String order) { this.order = order; } + + /** + * pages. + * + * @return EnvelopeDocument + **/ public EnvelopeDocument pages(String pages) { this.pages = pages; return this; } - /** - * + /** + * . * @return pages - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPages() { return pages; } + /** + * setPages. + **/ public void setPages(String pages) { this.pages = pages; } + + /** + * signerMustAcknowledge. + * + * @return EnvelopeDocument + **/ public EnvelopeDocument signerMustAcknowledge(String signerMustAcknowledge) { this.signerMustAcknowledge = signerMustAcknowledge; return this; } - /** - * + /** + * . * @return signerMustAcknowledge - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSignerMustAcknowledge() { return signerMustAcknowledge; } + /** + * setSignerMustAcknowledge. + **/ public void setSignerMustAcknowledge(String signerMustAcknowledge) { this.signerMustAcknowledge = signerMustAcknowledge; } + + /** + * sizeBytes. + * + * @return EnvelopeDocument + **/ + public EnvelopeDocument sizeBytes(String sizeBytes) { + this.sizeBytes = sizeBytes; + return this; + } + + /** + * . + * @return sizeBytes + **/ + @ApiModelProperty(value = "") + public String getSizeBytes() { + return sizeBytes; + } + + /** + * setSizeBytes. + **/ + public void setSizeBytes(String sizeBytes) { + this.sizeBytes = sizeBytes; + } + + + /** + * type. + * + * @return EnvelopeDocument + **/ public EnvelopeDocument type(String type) { this.type = type; return this; } - /** - * + /** + * . * @return type - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getType() { return type; } + /** + * setType. + **/ public void setType(String type) { this.type = type; } + + /** + * uri. + * + * @return EnvelopeDocument + **/ public EnvelopeDocument uri(String uri) { this.uri = uri; return this; } - /** - * + /** + * . * @return uri - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getUri() { return uri; } + /** + * setUri. + **/ public void setUri(String uri) { this.uri = uri; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -376,7 +544,6 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.containsPdfFormFields, envelopeDocument.containsPdfFormFields) && Objects.equals(this.display, envelopeDocument.display) && Objects.equals(this.documentFields, envelopeDocument.documentFields) && - Objects.equals(this.documentGroup, envelopeDocument.documentGroup) && Objects.equals(this.documentId, envelopeDocument.documentId) && Objects.equals(this.errorDetails, envelopeDocument.errorDetails) && Objects.equals(this.includeInDownload, envelopeDocument.includeInDownload) && @@ -384,16 +551,23 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.order, envelopeDocument.order) && Objects.equals(this.pages, envelopeDocument.pages) && Objects.equals(this.signerMustAcknowledge, envelopeDocument.signerMustAcknowledge) && + Objects.equals(this.sizeBytes, envelopeDocument.sizeBytes) && Objects.equals(this.type, envelopeDocument.type) && Objects.equals(this.uri, envelopeDocument.uri); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { - return Objects.hash(attachmentTabId, authoritativeCopy, availableDocumentTypes, containsPdfFormFields, display, documentFields, documentGroup, documentId, errorDetails, includeInDownload, name, order, pages, signerMustAcknowledge, type, uri); + return Objects.hash(attachmentTabId, authoritativeCopy, availableDocumentTypes, containsPdfFormFields, display, documentFields, documentId, errorDetails, includeInDownload, name, order, pages, signerMustAcknowledge, sizeBytes, type, uri); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -405,7 +579,6 @@ public String toString() { sb.append(" containsPdfFormFields: ").append(toIndentedString(containsPdfFormFields)).append("\n"); sb.append(" display: ").append(toIndentedString(display)).append("\n"); sb.append(" documentFields: ").append(toIndentedString(documentFields)).append("\n"); - sb.append(" documentGroup: ").append(toIndentedString(documentGroup)).append("\n"); sb.append(" documentId: ").append(toIndentedString(documentId)).append("\n"); sb.append(" errorDetails: ").append(toIndentedString(errorDetails)).append("\n"); sb.append(" includeInDownload: ").append(toIndentedString(includeInDownload)).append("\n"); @@ -413,6 +586,7 @@ public String toString() { sb.append(" order: ").append(toIndentedString(order)).append("\n"); sb.append(" pages: ").append(toIndentedString(pages)).append("\n"); sb.append(" signerMustAcknowledge: ").append(toIndentedString(signerMustAcknowledge)).append("\n"); + sb.append(" sizeBytes: ").append(toIndentedString(sizeBytes)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append(" uri: ").append(toIndentedString(uri)).append("\n"); sb.append("}"); @@ -429,6 +603,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/EnvelopeDocumentsResult.java b/src/main/java/com/docusign/esign/model/EnvelopeDocumentsResult.java index 3b20ab49..0c85f625 100644 --- a/src/main/java/com/docusign/esign/model/EnvelopeDocumentsResult.java +++ b/src/main/java/com/docusign/esign/model/EnvelopeDocumentsResult.java @@ -1,65 +1,99 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.EnvelopeDocument; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * EnvelopeDocumentsResult + * EnvelopeDocumentsResult. + * */ public class EnvelopeDocumentsResult { @JsonProperty("envelopeDocuments") - private java.util.List envelopeDocuments = new java.util.ArrayList(); + private java.util.List envelopeDocuments = null; @JsonProperty("envelopeId") private String envelopeId = null; + + /** + * envelopeDocuments. + * + * @return EnvelopeDocumentsResult + **/ public EnvelopeDocumentsResult envelopeDocuments(java.util.List envelopeDocuments) { this.envelopeDocuments = envelopeDocuments; return this; } - + + /** + * addEnvelopeDocumentsItem. + * + * @return EnvelopeDocumentsResult + **/ public EnvelopeDocumentsResult addEnvelopeDocumentsItem(EnvelopeDocument envelopeDocumentsItem) { + if (this.envelopeDocuments == null) { + this.envelopeDocuments = new java.util.ArrayList(); + } this.envelopeDocuments.add(envelopeDocumentsItem); return this; } - /** - * + /** + * . * @return envelopeDocuments - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getEnvelopeDocuments() { return envelopeDocuments; } + /** + * setEnvelopeDocuments. + **/ public void setEnvelopeDocuments(java.util.List envelopeDocuments) { this.envelopeDocuments = envelopeDocuments; } + + /** + * envelopeId. + * + * @return EnvelopeDocumentsResult + **/ public EnvelopeDocumentsResult envelopeId(String envelopeId) { this.envelopeId = envelopeId; return this; } - /** - * The envelope ID of the envelope status that failed to post. + /** + * The envelope ID of the envelope status that failed to post.. * @return envelopeId - **/ - @ApiModelProperty(example = "null", value = "The envelope ID of the envelope status that failed to post.") + **/ + @ApiModelProperty(value = "The envelope ID of the envelope status that failed to post.") public String getEnvelopeId() { return envelopeId; } + /** + * setEnvelopeId. + **/ public void setEnvelopeId(String envelopeId) { this.envelopeId = envelopeId; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -73,12 +107,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.envelopeId, envelopeDocumentsResult.envelopeId); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(envelopeDocuments, envelopeId); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -100,6 +140,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/EnvelopeEvent.java b/src/main/java/com/docusign/esign/model/EnvelopeEvent.java index de165b23..4e219407 100644 --- a/src/main/java/com/docusign/esign/model/EnvelopeEvent.java +++ b/src/main/java/com/docusign/esign/model/EnvelopeEvent.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * EnvelopeEvent + * EnvelopeEvent. + * */ public class EnvelopeEvent { @@ -17,43 +20,66 @@ public class EnvelopeEvent { @JsonProperty("includeDocuments") private String includeDocuments = null; + + /** + * envelopeEventStatusCode. + * + * @return EnvelopeEvent + **/ public EnvelopeEvent envelopeEventStatusCode(String envelopeEventStatusCode) { this.envelopeEventStatusCode = envelopeEventStatusCode; return this; } - /** - * he envelope status, this can be Sent, Delivered, Completed, Declined, or Voided. + /** + * he envelope status, this can be Sent, Delivered, Completed, Declined, or Voided.. * @return envelopeEventStatusCode - **/ - @ApiModelProperty(example = "null", value = "he envelope status, this can be Sent, Delivered, Completed, Declined, or Voided.") + **/ + @ApiModelProperty(value = "he envelope status, this can be Sent, Delivered, Completed, Declined, or Voided.") public String getEnvelopeEventStatusCode() { return envelopeEventStatusCode; } + /** + * setEnvelopeEventStatusCode. + **/ public void setEnvelopeEventStatusCode(String envelopeEventStatusCode) { this.envelopeEventStatusCode = envelopeEventStatusCode; } + + /** + * includeDocuments. + * + * @return EnvelopeEvent + **/ public EnvelopeEvent includeDocuments(String includeDocuments) { this.includeDocuments = includeDocuments; return this; } - /** - * When set to **true**, the PDF documents are included in the message along with the updated XML. + /** + * When set to **true**, the PDF documents are included in the message along with the updated XML. . * @return includeDocuments - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the PDF documents are included in the message along with the updated XML. ") + **/ + @ApiModelProperty(value = "When set to **true**, the PDF documents are included in the message along with the updated XML. ") public String getIncludeDocuments() { return includeDocuments; } + /** + * setIncludeDocuments. + **/ public void setIncludeDocuments(String includeDocuments) { this.includeDocuments = includeDocuments; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -67,12 +93,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.includeDocuments, envelopeEvent.includeDocuments); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(envelopeEventStatusCode, includeDocuments); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -94,6 +126,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/EnvelopeFormData.java b/src/main/java/com/docusign/esign/model/EnvelopeFormData.java index 0e11f42c..38c01896 100644 --- a/src/main/java/com/docusign/esign/model/EnvelopeFormData.java +++ b/src/main/java/com/docusign/esign/model/EnvelopeFormData.java @@ -1,15 +1,19 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.NameValue; +import com.docusign.esign.model.PrefillFormData; import com.docusign.esign.model.RecipientFormData; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * EnvelopeFormData + * EnvelopeFormData. + * */ public class EnvelopeFormData { @@ -20,10 +24,13 @@ public class EnvelopeFormData { private String envelopeId = null; @JsonProperty("formData") - private java.util.List formData = new java.util.ArrayList(); + private java.util.List formData = null; + + @JsonProperty("prefillFormData") + private PrefillFormData prefillFormData = null; @JsonProperty("recipientFormData") - private java.util.List recipientFormData = new java.util.ArrayList(); + private java.util.List recipientFormData = null; @JsonProperty("sentDateTime") private String sentDateTime = null; @@ -31,125 +38,227 @@ public class EnvelopeFormData { @JsonProperty("status") private String status = null; + + /** + * emailSubject. + * + * @return EnvelopeFormData + **/ public EnvelopeFormData emailSubject(String emailSubject) { this.emailSubject = emailSubject; return this; } - /** - * Specifies the subject of the email that is sent to all recipients. See [ML:Template Email Subject Merge Fields] for information about adding merge field information to the email subject. + /** + * Specifies the subject of the email that is sent to all recipients. See [ML:Template Email Subject Merge Fields] for information about adding merge field information to the email subject.. * @return emailSubject - **/ - @ApiModelProperty(example = "null", value = "Specifies the subject of the email that is sent to all recipients. See [ML:Template Email Subject Merge Fields] for information about adding merge field information to the email subject.") + **/ + @ApiModelProperty(value = "Specifies the subject of the email that is sent to all recipients. See [ML:Template Email Subject Merge Fields] for information about adding merge field information to the email subject.") public String getEmailSubject() { return emailSubject; } + /** + * setEmailSubject. + **/ public void setEmailSubject(String emailSubject) { this.emailSubject = emailSubject; } + + /** + * envelopeId. + * + * @return EnvelopeFormData + **/ public EnvelopeFormData envelopeId(String envelopeId) { this.envelopeId = envelopeId; return this; } - /** - * The envelope ID of the envelope status that failed to post. + /** + * The envelope ID of the envelope status that failed to post.. * @return envelopeId - **/ - @ApiModelProperty(example = "null", value = "The envelope ID of the envelope status that failed to post.") + **/ + @ApiModelProperty(value = "The envelope ID of the envelope status that failed to post.") public String getEnvelopeId() { return envelopeId; } + /** + * setEnvelopeId. + **/ public void setEnvelopeId(String envelopeId) { this.envelopeId = envelopeId; } + + /** + * formData. + * + * @return EnvelopeFormData + **/ public EnvelopeFormData formData(java.util.List formData) { this.formData = formData; return this; } - + + /** + * addFormDataItem. + * + * @return EnvelopeFormData + **/ public EnvelopeFormData addFormDataItem(NameValue formDataItem) { + if (this.formData == null) { + this.formData = new java.util.ArrayList(); + } this.formData.add(formDataItem); return this; } - /** - * + /** + * . * @return formData - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getFormData() { return formData; } + /** + * setFormData. + **/ public void setFormData(java.util.List formData) { this.formData = formData; } + + /** + * prefillFormData. + * + * @return EnvelopeFormData + **/ + public EnvelopeFormData prefillFormData(PrefillFormData prefillFormData) { + this.prefillFormData = prefillFormData; + return this; + } + + /** + * Get prefillFormData. + * @return prefillFormData + **/ + @ApiModelProperty(value = "") + public PrefillFormData getPrefillFormData() { + return prefillFormData; + } + + /** + * setPrefillFormData. + **/ + public void setPrefillFormData(PrefillFormData prefillFormData) { + this.prefillFormData = prefillFormData; + } + + + /** + * recipientFormData. + * + * @return EnvelopeFormData + **/ public EnvelopeFormData recipientFormData(java.util.List recipientFormData) { this.recipientFormData = recipientFormData; return this; } - + + /** + * addRecipientFormDataItem. + * + * @return EnvelopeFormData + **/ public EnvelopeFormData addRecipientFormDataItem(RecipientFormData recipientFormDataItem) { + if (this.recipientFormData == null) { + this.recipientFormData = new java.util.ArrayList(); + } this.recipientFormData.add(recipientFormDataItem); return this; } - /** - * + /** + * . * @return recipientFormData - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getRecipientFormData() { return recipientFormData; } + /** + * setRecipientFormData. + **/ public void setRecipientFormData(java.util.List recipientFormData) { this.recipientFormData = recipientFormData; } + + /** + * sentDateTime. + * + * @return EnvelopeFormData + **/ public EnvelopeFormData sentDateTime(String sentDateTime) { this.sentDateTime = sentDateTime; return this; } - /** - * The date and time the envelope was sent. + /** + * The date and time the envelope was sent.. * @return sentDateTime - **/ - @ApiModelProperty(example = "null", value = "The date and time the envelope was sent.") + **/ + @ApiModelProperty(value = "The date and time the envelope was sent.") public String getSentDateTime() { return sentDateTime; } + /** + * setSentDateTime. + **/ public void setSentDateTime(String sentDateTime) { this.sentDateTime = sentDateTime; } + + /** + * status. + * + * @return EnvelopeFormData + **/ public EnvelopeFormData status(String status) { this.status = status; return this; } - /** - * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. + /** + * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.. * @return status - **/ - @ApiModelProperty(example = "null", value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") + **/ + @ApiModelProperty(value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") public String getStatus() { return status; } + /** + * setStatus. + **/ public void setStatus(String status) { this.status = status; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -162,17 +271,24 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.emailSubject, envelopeFormData.emailSubject) && Objects.equals(this.envelopeId, envelopeFormData.envelopeId) && Objects.equals(this.formData, envelopeFormData.formData) && + Objects.equals(this.prefillFormData, envelopeFormData.prefillFormData) && Objects.equals(this.recipientFormData, envelopeFormData.recipientFormData) && Objects.equals(this.sentDateTime, envelopeFormData.sentDateTime) && Objects.equals(this.status, envelopeFormData.status); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { - return Objects.hash(emailSubject, envelopeId, formData, recipientFormData, sentDateTime, status); + return Objects.hash(emailSubject, envelopeId, formData, prefillFormData, recipientFormData, sentDateTime, status); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -181,6 +297,7 @@ public String toString() { sb.append(" emailSubject: ").append(toIndentedString(emailSubject)).append("\n"); sb.append(" envelopeId: ").append(toIndentedString(envelopeId)).append("\n"); sb.append(" formData: ").append(toIndentedString(formData)).append("\n"); + sb.append(" prefillFormData: ").append(toIndentedString(prefillFormData)).append("\n"); sb.append(" recipientFormData: ").append(toIndentedString(recipientFormData)).append("\n"); sb.append(" sentDateTime: ").append(toIndentedString(sentDateTime)).append("\n"); sb.append(" status: ").append(toIndentedString(status)).append("\n"); @@ -198,6 +315,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/EnvelopeFormDataPrefillFormData.java b/src/main/java/com/docusign/esign/model/EnvelopeFormDataPrefillFormData.java new file mode 100644 index 00000000..fa2ddb1e --- /dev/null +++ b/src/main/java/com/docusign/esign/model/EnvelopeFormDataPrefillFormData.java @@ -0,0 +1,87 @@ +package com.docusign.esign.model; + +import java.util.Objects; +import java.util.Arrays; +import com.docusign.esign.model.NameValue; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +/** + * EnvelopeFormDataPrefillFormData + */ + +public class EnvelopeFormDataPrefillFormData { + @JsonProperty("formData") + private java.util.List formData = null; + + public EnvelopeFormDataPrefillFormData formData(java.util.List formData) { + this.formData = formData; + return this; + } + + public EnvelopeFormDataPrefillFormData addFormDataItem(NameValue formDataItem) { + if (this.formData == null) { + this.formData = new java.util.ArrayList(); + } + this.formData.add(formDataItem); + return this; + } + + /** + * + * @return formData + **/ + @ApiModelProperty(value = "") + public java.util.List getFormData() { + return formData; + } + + public void setFormData(java.util.List formData) { + this.formData = formData; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + EnvelopeFormDataPrefillFormData envelopeFormDataPrefillFormData = (EnvelopeFormDataPrefillFormData) o; + return Objects.equals(this.formData, envelopeFormDataPrefillFormData.formData); + } + + @Override + public int hashCode() { + return Objects.hash(formData); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class EnvelopeFormDataPrefillFormData {\n"); + + sb.append(" formData: ").append(toIndentedString(formData)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/com/docusign/esign/model/EnvelopeId.java b/src/main/java/com/docusign/esign/model/EnvelopeId.java index 35a716a4..fa44ee63 100644 --- a/src/main/java/com/docusign/esign/model/EnvelopeId.java +++ b/src/main/java/com/docusign/esign/model/EnvelopeId.java @@ -1,15 +1,18 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ErrorDetails; import com.docusign.esign.model.MergeField; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * EnvelopeId + * EnvelopeId. + * */ public class EnvelopeId { @@ -83,7 +86,7 @@ public class EnvelopeId { private String status = null; @JsonProperty("tabGroupLabels") - private java.util.List tabGroupLabels = new java.util.ArrayList(); + private java.util.List tabGroupLabels = null; @JsonProperty("tabId") private String tabId = null; @@ -112,606 +115,916 @@ public class EnvelopeId { @JsonProperty("yPosition") private String yPosition = null; + + /** + * anchorCaseSensitive. + * + * @return EnvelopeId + **/ public EnvelopeId anchorCaseSensitive(String anchorCaseSensitive) { this.anchorCaseSensitive = anchorCaseSensitive; return this; } - /** - * When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**. + /** + * When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.. * @return anchorCaseSensitive - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.") + **/ + @ApiModelProperty(value = "When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.") public String getAnchorCaseSensitive() { return anchorCaseSensitive; } + /** + * setAnchorCaseSensitive. + **/ public void setAnchorCaseSensitive(String anchorCaseSensitive) { this.anchorCaseSensitive = anchorCaseSensitive; } + + /** + * anchorHorizontalAlignment. + * + * @return EnvelopeId + **/ public EnvelopeId anchorHorizontalAlignment(String anchorHorizontalAlignment) { this.anchorHorizontalAlignment = anchorHorizontalAlignment; return this; } - /** - * Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**. + /** + * Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.. * @return anchorHorizontalAlignment - **/ - @ApiModelProperty(example = "null", value = "Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.") + **/ + @ApiModelProperty(value = "Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.") public String getAnchorHorizontalAlignment() { return anchorHorizontalAlignment; } + /** + * setAnchorHorizontalAlignment. + **/ public void setAnchorHorizontalAlignment(String anchorHorizontalAlignment) { this.anchorHorizontalAlignment = anchorHorizontalAlignment; } + + /** + * anchorIgnoreIfNotPresent. + * + * @return EnvelopeId + **/ public EnvelopeId anchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { this.anchorIgnoreIfNotPresent = anchorIgnoreIfNotPresent; return this; } - /** - * When set to **true**, this tab is ignored if anchorString is not found in the document. + /** + * When set to **true**, this tab is ignored if anchorString is not found in the document.. * @return anchorIgnoreIfNotPresent - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, this tab is ignored if anchorString is not found in the document.") + **/ + @ApiModelProperty(value = "When set to **true**, this tab is ignored if anchorString is not found in the document.") public String getAnchorIgnoreIfNotPresent() { return anchorIgnoreIfNotPresent; } + /** + * setAnchorIgnoreIfNotPresent. + **/ public void setAnchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { this.anchorIgnoreIfNotPresent = anchorIgnoreIfNotPresent; } + + /** + * anchorMatchWholeWord. + * + * @return EnvelopeId + **/ public EnvelopeId anchorMatchWholeWord(String anchorMatchWholeWord) { this.anchorMatchWholeWord = anchorMatchWholeWord; return this; } - /** - * When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**. + /** + * When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.. * @return anchorMatchWholeWord - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.") + **/ + @ApiModelProperty(value = "When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.") public String getAnchorMatchWholeWord() { return anchorMatchWholeWord; } + /** + * setAnchorMatchWholeWord. + **/ public void setAnchorMatchWholeWord(String anchorMatchWholeWord) { this.anchorMatchWholeWord = anchorMatchWholeWord; } + + /** + * anchorString. + * + * @return EnvelopeId + **/ public EnvelopeId anchorString(String anchorString) { this.anchorString = anchorString; return this; } - /** - * Anchor text information for a radio button. + /** + * Anchor text information for a radio button.. * @return anchorString - **/ - @ApiModelProperty(example = "null", value = "Anchor text information for a radio button.") + **/ + @ApiModelProperty(value = "Anchor text information for a radio button.") public String getAnchorString() { return anchorString; } + /** + * setAnchorString. + **/ public void setAnchorString(String anchorString) { this.anchorString = anchorString; } + + /** + * anchorUnits. + * + * @return EnvelopeId + **/ public EnvelopeId anchorUnits(String anchorUnits) { this.anchorUnits = anchorUnits; return this; } - /** - * Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. + /** + * Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. * @return anchorUnits - **/ - @ApiModelProperty(example = "null", value = "Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.") + **/ + @ApiModelProperty(value = "Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.") public String getAnchorUnits() { return anchorUnits; } + /** + * setAnchorUnits. + **/ public void setAnchorUnits(String anchorUnits) { this.anchorUnits = anchorUnits; } + + /** + * anchorXOffset. + * + * @return EnvelopeId + **/ public EnvelopeId anchorXOffset(String anchorXOffset) { this.anchorXOffset = anchorXOffset; return this; } - /** - * Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString. + /** + * Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. * @return anchorXOffset - **/ - @ApiModelProperty(example = "null", value = "Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.") + **/ + @ApiModelProperty(value = "Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.") public String getAnchorXOffset() { return anchorXOffset; } + /** + * setAnchorXOffset. + **/ public void setAnchorXOffset(String anchorXOffset) { this.anchorXOffset = anchorXOffset; } + + /** + * anchorYOffset. + * + * @return EnvelopeId + **/ public EnvelopeId anchorYOffset(String anchorYOffset) { this.anchorYOffset = anchorYOffset; return this; } - /** - * Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString. + /** + * Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.. * @return anchorYOffset - **/ - @ApiModelProperty(example = "null", value = "Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.") + **/ + @ApiModelProperty(value = "Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.") public String getAnchorYOffset() { return anchorYOffset; } + /** + * setAnchorYOffset. + **/ public void setAnchorYOffset(String anchorYOffset) { this.anchorYOffset = anchorYOffset; } + + /** + * bold. + * + * @return EnvelopeId + **/ public EnvelopeId bold(String bold) { this.bold = bold; return this; } - /** - * When set to **true**, the information in the tab is bold. + /** + * When set to **true**, the information in the tab is bold.. * @return bold - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is bold.") + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is bold.") public String getBold() { return bold; } + /** + * setBold. + **/ public void setBold(String bold) { this.bold = bold; } + + /** + * conditionalParentLabel. + * + * @return EnvelopeId + **/ public EnvelopeId conditionalParentLabel(String conditionalParentLabel) { this.conditionalParentLabel = conditionalParentLabel; return this; } - /** - * For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility. + /** + * For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.. * @return conditionalParentLabel - **/ - @ApiModelProperty(example = "null", value = "For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.") + **/ + @ApiModelProperty(value = "For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.") public String getConditionalParentLabel() { return conditionalParentLabel; } + /** + * setConditionalParentLabel. + **/ public void setConditionalParentLabel(String conditionalParentLabel) { this.conditionalParentLabel = conditionalParentLabel; } + + /** + * conditionalParentValue. + * + * @return EnvelopeId + **/ public EnvelopeId conditionalParentValue(String conditionalParentValue) { this.conditionalParentValue = conditionalParentValue; return this; } - /** - * For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. + /** + * For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. . * @return conditionalParentValue - **/ - @ApiModelProperty(example = "null", value = "For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. ") + **/ + @ApiModelProperty(value = "For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. ") public String getConditionalParentValue() { return conditionalParentValue; } + /** + * setConditionalParentValue. + **/ public void setConditionalParentValue(String conditionalParentValue) { this.conditionalParentValue = conditionalParentValue; } + + /** + * customTabId. + * + * @return EnvelopeId + **/ public EnvelopeId customTabId(String customTabId) { this.customTabId = customTabId; return this; } - /** - * The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties. + /** + * The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.. * @return customTabId - **/ - @ApiModelProperty(example = "null", value = "The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.") + **/ + @ApiModelProperty(value = "The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.") public String getCustomTabId() { return customTabId; } + /** + * setCustomTabId. + **/ public void setCustomTabId(String customTabId) { this.customTabId = customTabId; } + + /** + * documentId. + * + * @return EnvelopeId + **/ public EnvelopeId documentId(String documentId) { this.documentId = documentId; return this; } - /** - * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute. + /** + * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.. * @return documentId - **/ - @ApiModelProperty(example = "null", value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") + **/ + @ApiModelProperty(value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") public String getDocumentId() { return documentId; } + /** + * setDocumentId. + **/ public void setDocumentId(String documentId) { this.documentId = documentId; } + + /** + * errorDetails. + * + * @return EnvelopeId + **/ public EnvelopeId errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * font. + * + * @return EnvelopeId + **/ public EnvelopeId font(String font) { this.font = font; return this; } - /** - * The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default. + /** + * The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.. * @return font - **/ - @ApiModelProperty(example = "null", value = "The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.") + **/ + @ApiModelProperty(value = "The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.") public String getFont() { return font; } + /** + * setFont. + **/ public void setFont(String font) { this.font = font; } + + /** + * fontColor. + * + * @return EnvelopeId + **/ public EnvelopeId fontColor(String fontColor) { this.fontColor = fontColor; return this; } - /** - * The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White. + /** + * The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.. * @return fontColor - **/ - @ApiModelProperty(example = "null", value = "The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.") + **/ + @ApiModelProperty(value = "The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.") public String getFontColor() { return fontColor; } + /** + * setFontColor. + **/ public void setFontColor(String fontColor) { this.fontColor = fontColor; } + + /** + * fontSize. + * + * @return EnvelopeId + **/ public EnvelopeId fontSize(String fontSize) { this.fontSize = fontSize; return this; } - /** - * The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72. + /** + * The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.. * @return fontSize - **/ - @ApiModelProperty(example = "null", value = "The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.") + **/ + @ApiModelProperty(value = "The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.") public String getFontSize() { return fontSize; } + /** + * setFontSize. + **/ public void setFontSize(String fontSize) { this.fontSize = fontSize; } + + /** + * italic. + * + * @return EnvelopeId + **/ public EnvelopeId italic(String italic) { this.italic = italic; return this; } - /** - * When set to **true**, the information in the tab is italic. + /** + * When set to **true**, the information in the tab is italic.. * @return italic - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is italic.") + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is italic.") public String getItalic() { return italic; } + /** + * setItalic. + **/ public void setItalic(String italic) { this.italic = italic; } + + /** + * mergeField. + * + * @return EnvelopeId + **/ public EnvelopeId mergeField(MergeField mergeField) { this.mergeField = mergeField; return this; } - /** - * Get mergeField + /** + * Get mergeField. * @return mergeField - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public MergeField getMergeField() { return mergeField; } + /** + * setMergeField. + **/ public void setMergeField(MergeField mergeField) { this.mergeField = mergeField; } + + /** + * name. + * + * @return EnvelopeId + **/ public EnvelopeId name(String name) { this.name = name; return this; } - /** - * + /** + * . * @return name - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * pageNumber. + * + * @return EnvelopeId + **/ public EnvelopeId pageNumber(String pageNumber) { this.pageNumber = pageNumber; return this; } - /** - * Specifies the page number on which the tab is located. + /** + * Specifies the page number on which the tab is located.. * @return pageNumber - **/ - @ApiModelProperty(example = "null", value = "Specifies the page number on which the tab is located.") + **/ + @ApiModelProperty(value = "Specifies the page number on which the tab is located.") public String getPageNumber() { return pageNumber; } + /** + * setPageNumber. + **/ public void setPageNumber(String pageNumber) { this.pageNumber = pageNumber; } + + /** + * recipientId. + * + * @return EnvelopeId + **/ public EnvelopeId recipientId(String recipientId) { this.recipientId = recipientId; return this; } - /** - * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document. + /** + * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.. * @return recipientId - **/ - @ApiModelProperty(example = "null", value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") + **/ + @ApiModelProperty(value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") public String getRecipientId() { return recipientId; } + /** + * setRecipientId. + **/ public void setRecipientId(String recipientId) { this.recipientId = recipientId; } + + /** + * status. + * + * @return EnvelopeId + **/ public EnvelopeId status(String status) { this.status = status; return this; } - /** - * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. + /** + * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.. * @return status - **/ - @ApiModelProperty(example = "null", value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") + **/ + @ApiModelProperty(value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") public String getStatus() { return status; } + /** + * setStatus. + **/ public void setStatus(String status) { this.status = status; } + + /** + * tabGroupLabels. + * + * @return EnvelopeId + **/ public EnvelopeId tabGroupLabels(java.util.List tabGroupLabels) { this.tabGroupLabels = tabGroupLabels; return this; } - + + /** + * addTabGroupLabelsItem. + * + * @return EnvelopeId + **/ public EnvelopeId addTabGroupLabelsItem(String tabGroupLabelsItem) { + if (this.tabGroupLabels == null) { + this.tabGroupLabels = new java.util.ArrayList(); + } this.tabGroupLabels.add(tabGroupLabelsItem); return this; } - /** - * + /** + * . * @return tabGroupLabels - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getTabGroupLabels() { return tabGroupLabels; } + /** + * setTabGroupLabels. + **/ public void setTabGroupLabels(java.util.List tabGroupLabels) { this.tabGroupLabels = tabGroupLabels; } + + /** + * tabId. + * + * @return EnvelopeId + **/ public EnvelopeId tabId(String tabId) { this.tabId = tabId; return this; } - /** - * The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. + /** + * The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. . * @return tabId - **/ - @ApiModelProperty(example = "null", value = "The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. ") + **/ + @ApiModelProperty(value = "The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. ") public String getTabId() { return tabId; } + /** + * setTabId. + **/ public void setTabId(String tabId) { this.tabId = tabId; } + + /** + * tabLabel. + * + * @return EnvelopeId + **/ public EnvelopeId tabLabel(String tabLabel) { this.tabLabel = tabLabel; return this; } - /** - * The label string associated with the tab. + /** + * The label string associated with the tab.. * @return tabLabel - **/ - @ApiModelProperty(example = "null", value = "The label string associated with the tab.") + **/ + @ApiModelProperty(value = "The label string associated with the tab.") public String getTabLabel() { return tabLabel; } + /** + * setTabLabel. + **/ public void setTabLabel(String tabLabel) { this.tabLabel = tabLabel; } + + /** + * tabOrder. + * + * @return EnvelopeId + **/ public EnvelopeId tabOrder(String tabOrder) { this.tabOrder = tabOrder; return this; } - /** - * + /** + * . * @return tabOrder - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTabOrder() { return tabOrder; } + /** + * setTabOrder. + **/ public void setTabOrder(String tabOrder) { this.tabOrder = tabOrder; } + + /** + * templateLocked. + * + * @return EnvelopeId + **/ public EnvelopeId templateLocked(String templateLocked) { this.templateLocked = templateLocked; return this; } - /** - * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. . * @return templateLocked - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") + **/ + @ApiModelProperty(value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") public String getTemplateLocked() { return templateLocked; } + /** + * setTemplateLocked. + **/ public void setTemplateLocked(String templateLocked) { this.templateLocked = templateLocked; } + + /** + * templateRequired. + * + * @return EnvelopeId + **/ public EnvelopeId templateRequired(String templateRequired) { this.templateRequired = templateRequired; return this; } - /** - * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.. * @return templateRequired - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") + **/ + @ApiModelProperty(value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") public String getTemplateRequired() { return templateRequired; } + /** + * setTemplateRequired. + **/ public void setTemplateRequired(String templateRequired) { this.templateRequired = templateRequired; } + + /** + * tooltip. + * + * @return EnvelopeId + **/ public EnvelopeId tooltip(String tooltip) { this.tooltip = tooltip; return this; } - /** - * + /** + * . * @return tooltip - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTooltip() { return tooltip; } + /** + * setTooltip. + **/ public void setTooltip(String tooltip) { this.tooltip = tooltip; } + + /** + * underline. + * + * @return EnvelopeId + **/ public EnvelopeId underline(String underline) { this.underline = underline; return this; } - /** - * When set to **true**, the information in the tab is underlined. + /** + * When set to **true**, the information in the tab is underlined.. * @return underline - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is underlined.") + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is underlined.") public String getUnderline() { return underline; } + /** + * setUnderline. + **/ public void setUnderline(String underline) { this.underline = underline; } + + /** + * xPosition. + * + * @return EnvelopeId + **/ public EnvelopeId xPosition(String xPosition) { this.xPosition = xPosition; return this; } - /** - * This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position. + /** + * This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.. * @return xPosition - **/ - @ApiModelProperty(example = "null", value = "This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.") + **/ + @ApiModelProperty(value = "This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.") public String getXPosition() { return xPosition; } + /** + * setXPosition. + **/ public void setXPosition(String xPosition) { this.xPosition = xPosition; } + + /** + * yPosition. + * + * @return EnvelopeId + **/ public EnvelopeId yPosition(String yPosition) { this.yPosition = yPosition; return this; } - /** - * This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position. + /** + * This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. * @return yPosition - **/ - @ApiModelProperty(example = "null", value = "This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.") + **/ + @ApiModelProperty(value = "This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.") public String getYPosition() { return yPosition; } + /** + * setYPosition. + **/ public void setYPosition(String yPosition) { this.yPosition = yPosition; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -756,12 +1069,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.yPosition, envelopeId.yPosition); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(anchorCaseSensitive, anchorHorizontalAlignment, anchorIgnoreIfNotPresent, anchorMatchWholeWord, anchorString, anchorUnits, anchorXOffset, anchorYOffset, bold, conditionalParentLabel, conditionalParentValue, customTabId, documentId, errorDetails, font, fontColor, fontSize, italic, mergeField, name, pageNumber, recipientId, status, tabGroupLabels, tabId, tabLabel, tabOrder, templateLocked, templateRequired, tooltip, underline, xPosition, yPosition); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -814,6 +1133,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/EnvelopeIdsRequest.java b/src/main/java/com/docusign/esign/model/EnvelopeIdsRequest.java index 36e44baf..87909488 100644 --- a/src/main/java/com/docusign/esign/model/EnvelopeIdsRequest.java +++ b/src/main/java/com/docusign/esign/model/EnvelopeIdsRequest.java @@ -1,69 +1,111 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * EnvelopeIdsRequest + * EnvelopeIdsRequest. + * */ public class EnvelopeIdsRequest { @JsonProperty("envelopeIds") - private java.util.List envelopeIds = new java.util.ArrayList(); + private java.util.List envelopeIds = null; @JsonProperty("transactionIds") - private java.util.List transactionIds = new java.util.ArrayList(); + private java.util.List transactionIds = null; + + /** + * envelopeIds. + * + * @return EnvelopeIdsRequest + **/ public EnvelopeIdsRequest envelopeIds(java.util.List envelopeIds) { this.envelopeIds = envelopeIds; return this; } - + + /** + * addEnvelopeIdsItem. + * + * @return EnvelopeIdsRequest + **/ public EnvelopeIdsRequest addEnvelopeIdsItem(String envelopeIdsItem) { + if (this.envelopeIds == null) { + this.envelopeIds = new java.util.ArrayList(); + } this.envelopeIds.add(envelopeIdsItem); return this; } - /** - * + /** + * . * @return envelopeIds - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getEnvelopeIds() { return envelopeIds; } + /** + * setEnvelopeIds. + **/ public void setEnvelopeIds(java.util.List envelopeIds) { this.envelopeIds = envelopeIds; } + + /** + * transactionIds. + * + * @return EnvelopeIdsRequest + **/ public EnvelopeIdsRequest transactionIds(java.util.List transactionIds) { this.transactionIds = transactionIds; return this; } - + + /** + * addTransactionIdsItem. + * + * @return EnvelopeIdsRequest + **/ public EnvelopeIdsRequest addTransactionIdsItem(String transactionIdsItem) { + if (this.transactionIds == null) { + this.transactionIds = new java.util.ArrayList(); + } this.transactionIds.add(transactionIdsItem); return this; } - /** - * A list of transaction Id's used to determining the status of envelopes sent asynchronously. See **transactionId** property on envelopes. + /** + * A list of transaction Id's used to determining the status of envelopes sent asynchronously. See **transactionId** property on envelopes.. * @return transactionIds - **/ - @ApiModelProperty(example = "null", value = " A list of transaction Id's used to determining the status of envelopes sent asynchronously. See **transactionId** property on envelopes.") + **/ + @ApiModelProperty(value = " A list of transaction Id's used to determining the status of envelopes sent asynchronously. See **transactionId** property on envelopes.") public java.util.List getTransactionIds() { return transactionIds; } + /** + * setTransactionIds. + **/ public void setTransactionIds(java.util.List transactionIds) { this.transactionIds = transactionIds; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -77,12 +119,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.transactionIds, envelopeIdsRequest.transactionIds); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(envelopeIds, transactionIds); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -104,6 +152,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/EnvelopeMetadata.java b/src/main/java/com/docusign/esign/model/EnvelopeMetadata.java new file mode 100644 index 00000000..f13d283d --- /dev/null +++ b/src/main/java/com/docusign/esign/model/EnvelopeMetadata.java @@ -0,0 +1,122 @@ +package com.docusign.esign.model; + +import java.util.Objects; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +/** + * EnvelopeMetadata + */ + +public class EnvelopeMetadata { + @JsonProperty("allowAdvancedCorrect") + private String allowAdvancedCorrect = null; + + @JsonProperty("allowCorrect") + private String allowCorrect = null; + + @JsonProperty("enableSignWithNotary") + private String enableSignWithNotary = null; + + public EnvelopeMetadata allowAdvancedCorrect(String allowAdvancedCorrect) { + this.allowAdvancedCorrect = allowAdvancedCorrect; + return this; + } + + /** + * + * @return allowAdvancedCorrect + **/ + @ApiModelProperty(example = "null", value = "") + public String getAllowAdvancedCorrect() { + return allowAdvancedCorrect; + } + + public void setAllowAdvancedCorrect(String allowAdvancedCorrect) { + this.allowAdvancedCorrect = allowAdvancedCorrect; + } + + public EnvelopeMetadata allowCorrect(String allowCorrect) { + this.allowCorrect = allowCorrect; + return this; + } + + /** + * + * @return allowCorrect + **/ + @ApiModelProperty(example = "null", value = "") + public String getAllowCorrect() { + return allowCorrect; + } + + public void setAllowCorrect(String allowCorrect) { + this.allowCorrect = allowCorrect; + } + + public EnvelopeMetadata enableSignWithNotary(String enableSignWithNotary) { + this.enableSignWithNotary = enableSignWithNotary; + return this; + } + + /** + * + * @return enableSignWithNotary + **/ + @ApiModelProperty(example = "null", value = "") + public String getEnableSignWithNotary() { + return enableSignWithNotary; + } + + public void setEnableSignWithNotary(String enableSignWithNotary) { + this.enableSignWithNotary = enableSignWithNotary; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + EnvelopeMetadata envelopeMetadata = (EnvelopeMetadata) o; + return Objects.equals(this.allowAdvancedCorrect, envelopeMetadata.allowAdvancedCorrect) && + Objects.equals(this.allowCorrect, envelopeMetadata.allowCorrect) && + Objects.equals(this.enableSignWithNotary, envelopeMetadata.enableSignWithNotary); + } + + @Override + public int hashCode() { + return Objects.hash(allowAdvancedCorrect, allowCorrect, enableSignWithNotary); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class EnvelopeMetadata {\n"); + + sb.append(" allowAdvancedCorrect: ").append(toIndentedString(allowAdvancedCorrect)).append("\n"); + sb.append(" allowCorrect: ").append(toIndentedString(allowCorrect)).append("\n"); + sb.append(" enableSignWithNotary: ").append(toIndentedString(enableSignWithNotary)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/com/docusign/esign/model/EnvelopeNotificationRequest.java b/src/main/java/com/docusign/esign/model/EnvelopeNotificationRequest.java index 80f1f43e..8e21c158 100644 --- a/src/main/java/com/docusign/esign/model/EnvelopeNotificationRequest.java +++ b/src/main/java/com/docusign/esign/model/EnvelopeNotificationRequest.java @@ -1,15 +1,18 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.Expirations; import com.docusign.esign.model.Reminders; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * EnvelopeNotificationRequest + * EnvelopeNotificationRequest. + * */ public class EnvelopeNotificationRequest { @@ -22,61 +25,93 @@ public class EnvelopeNotificationRequest { @JsonProperty("useAccountDefaults") private String useAccountDefaults = null; + + /** + * expirations. + * + * @return EnvelopeNotificationRequest + **/ public EnvelopeNotificationRequest expirations(Expirations expirations) { this.expirations = expirations; return this; } - /** - * Get expirations + /** + * Get expirations. * @return expirations - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public Expirations getExpirations() { return expirations; } + /** + * setExpirations. + **/ public void setExpirations(Expirations expirations) { this.expirations = expirations; } + + /** + * reminders. + * + * @return EnvelopeNotificationRequest + **/ public EnvelopeNotificationRequest reminders(Reminders reminders) { this.reminders = reminders; return this; } - /** - * Get reminders + /** + * Get reminders. * @return reminders - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public Reminders getReminders() { return reminders; } + /** + * setReminders. + **/ public void setReminders(Reminders reminders) { this.reminders = reminders; } + + /** + * useAccountDefaults. + * + * @return EnvelopeNotificationRequest + **/ public EnvelopeNotificationRequest useAccountDefaults(String useAccountDefaults) { this.useAccountDefaults = useAccountDefaults; return this; } - /** - * + /** + * . * @return useAccountDefaults - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getUseAccountDefaults() { return useAccountDefaults; } + /** + * setUseAccountDefaults. + **/ public void setUseAccountDefaults(String useAccountDefaults) { this.useAccountDefaults = useAccountDefaults; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -91,12 +126,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.useAccountDefaults, envelopeNotificationRequest.useAccountDefaults); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(expirations, reminders, useAccountDefaults); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -119,6 +160,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/EnvelopePurgeConfiguration.java b/src/main/java/com/docusign/esign/model/EnvelopePurgeConfiguration.java new file mode 100644 index 00000000..11ad8e7c --- /dev/null +++ b/src/main/java/com/docusign/esign/model/EnvelopePurgeConfiguration.java @@ -0,0 +1,145 @@ +package com.docusign.esign.model; + +import java.util.Objects; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +/** + * EnvelopePurgeConfiguration + */ + +public class EnvelopePurgeConfiguration { + @JsonProperty("purgeEnvelopes") + private String purgeEnvelopes = null; + + @JsonProperty("redactPII") + private String redactPII = null; + + @JsonProperty("removeTabsAndEnvelopeAttachments") + private String removeTabsAndEnvelopeAttachments = null; + + @JsonProperty("retentionDays") + private String retentionDays = null; + + public EnvelopePurgeConfiguration purgeEnvelopes(String purgeEnvelopes) { + this.purgeEnvelopes = purgeEnvelopes; + return this; + } + + /** + * + * @return purgeEnvelopes + **/ + @ApiModelProperty(example = "null", value = "") + public String getPurgeEnvelopes() { + return purgeEnvelopes; + } + + public void setPurgeEnvelopes(String purgeEnvelopes) { + this.purgeEnvelopes = purgeEnvelopes; + } + + public EnvelopePurgeConfiguration redactPII(String redactPII) { + this.redactPII = redactPII; + return this; + } + + /** + * + * @return redactPII + **/ + @ApiModelProperty(example = "null", value = "") + public String getRedactPII() { + return redactPII; + } + + public void setRedactPII(String redactPII) { + this.redactPII = redactPII; + } + + public EnvelopePurgeConfiguration removeTabsAndEnvelopeAttachments(String removeTabsAndEnvelopeAttachments) { + this.removeTabsAndEnvelopeAttachments = removeTabsAndEnvelopeAttachments; + return this; + } + + /** + * + * @return removeTabsAndEnvelopeAttachments + **/ + @ApiModelProperty(example = "null", value = "") + public String getRemoveTabsAndEnvelopeAttachments() { + return removeTabsAndEnvelopeAttachments; + } + + public void setRemoveTabsAndEnvelopeAttachments(String removeTabsAndEnvelopeAttachments) { + this.removeTabsAndEnvelopeAttachments = removeTabsAndEnvelopeAttachments; + } + + public EnvelopePurgeConfiguration retentionDays(String retentionDays) { + this.retentionDays = retentionDays; + return this; + } + + /** + * + * @return retentionDays + **/ + @ApiModelProperty(example = "null", value = "") + public String getRetentionDays() { + return retentionDays; + } + + public void setRetentionDays(String retentionDays) { + this.retentionDays = retentionDays; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + EnvelopePurgeConfiguration envelopePurgeConfiguration = (EnvelopePurgeConfiguration) o; + return Objects.equals(this.purgeEnvelopes, envelopePurgeConfiguration.purgeEnvelopes) && + Objects.equals(this.redactPII, envelopePurgeConfiguration.redactPII) && + Objects.equals(this.removeTabsAndEnvelopeAttachments, envelopePurgeConfiguration.removeTabsAndEnvelopeAttachments) && + Objects.equals(this.retentionDays, envelopePurgeConfiguration.retentionDays); + } + + @Override + public int hashCode() { + return Objects.hash(purgeEnvelopes, redactPII, removeTabsAndEnvelopeAttachments, retentionDays); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class EnvelopePurgeConfiguration {\n"); + + sb.append(" purgeEnvelopes: ").append(toIndentedString(purgeEnvelopes)).append("\n"); + sb.append(" redactPII: ").append(toIndentedString(redactPII)).append("\n"); + sb.append(" removeTabsAndEnvelopeAttachments: ").append(toIndentedString(removeTabsAndEnvelopeAttachments)).append("\n"); + sb.append(" retentionDays: ").append(toIndentedString(retentionDays)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/com/docusign/esign/model/EnvelopeSummary.java b/src/main/java/com/docusign/esign/model/EnvelopeSummary.java index bf866384..4227ac31 100644 --- a/src/main/java/com/docusign/esign/model/EnvelopeSummary.java +++ b/src/main/java/com/docusign/esign/model/EnvelopeSummary.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * EnvelopeSummary + * EnvelopeSummary. + * */ public class EnvelopeSummary { @@ -23,79 +26,120 @@ public class EnvelopeSummary { @JsonProperty("uri") private String uri = null; + + /** + * envelopeId. + * + * @return EnvelopeSummary + **/ public EnvelopeSummary envelopeId(String envelopeId) { this.envelopeId = envelopeId; return this; } - /** - * The envelope ID of the envelope status that failed to post. + /** + * The envelope ID of the envelope status that failed to post.. * @return envelopeId - **/ - @ApiModelProperty(example = "null", value = "The envelope ID of the envelope status that failed to post.") + **/ + @ApiModelProperty(value = "The envelope ID of the envelope status that failed to post.") public String getEnvelopeId() { return envelopeId; } + /** + * setEnvelopeId. + **/ public void setEnvelopeId(String envelopeId) { this.envelopeId = envelopeId; } + + /** + * status. + * + * @return EnvelopeSummary + **/ public EnvelopeSummary status(String status) { this.status = status; return this; } - /** - * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. + /** + * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.. * @return status - **/ - @ApiModelProperty(example = "null", value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") + **/ + @ApiModelProperty(value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") public String getStatus() { return status; } + /** + * setStatus. + **/ public void setStatus(String status) { this.status = status; } + + /** + * statusDateTime. + * + * @return EnvelopeSummary + **/ public EnvelopeSummary statusDateTime(String statusDateTime) { this.statusDateTime = statusDateTime; return this; } - /** - * The DateTime that the envelope changed status (i.e. was created or sent.) + /** + * The DateTime that the envelope changed status (i.e. was created or sent.). * @return statusDateTime - **/ - @ApiModelProperty(example = "null", value = "The DateTime that the envelope changed status (i.e. was created or sent.)") + **/ + @ApiModelProperty(value = "The DateTime that the envelope changed status (i.e. was created or sent.)") public String getStatusDateTime() { return statusDateTime; } + /** + * setStatusDateTime. + **/ public void setStatusDateTime(String statusDateTime) { this.statusDateTime = statusDateTime; } + + /** + * uri. + * + * @return EnvelopeSummary + **/ public EnvelopeSummary uri(String uri) { this.uri = uri; return this; } - /** - * + /** + * . * @return uri - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getUri() { return uri; } + /** + * setUri. + **/ public void setUri(String uri) { this.uri = uri; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -111,12 +155,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.uri, envelopeSummary.uri); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(envelopeId, status, statusDateTime, uri); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -140,6 +190,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/EnvelopeTemplate.java b/src/main/java/com/docusign/esign/model/EnvelopeTemplate.java index 40e266df..a04707af 100644 --- a/src/main/java/com/docusign/esign/model/EnvelopeTemplate.java +++ b/src/main/java/com/docusign/esign/model/EnvelopeTemplate.java @@ -1,6 +1,7 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.CustomFields; import com.docusign.esign.model.Document; import com.docusign.esign.model.EmailSettings; @@ -10,11 +11,13 @@ import com.docusign.esign.model.Recipients; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * EnvelopeTemplate + * EnvelopeTemplate. + * */ public class EnvelopeTemplate { @@ -54,6 +57,9 @@ public class EnvelopeTemplate { @JsonProperty("completedDateTime") private String completedDateTime = null; + @JsonProperty("copyRecipientData") + private String copyRecipientData = null; + @JsonProperty("createdDateTime") private String createdDateTime = null; @@ -72,8 +78,11 @@ public class EnvelopeTemplate { @JsonProperty("deliveredDateTime") private String deliveredDateTime = null; + @JsonProperty("disableResponsiveDocument") + private String disableResponsiveDocument = null; + @JsonProperty("documents") - private java.util.List documents = new java.util.ArrayList(); + private java.util.List documents = null; @JsonProperty("documentsCombinedUri") private String documentsCombinedUri = null; @@ -174,948 +183,1483 @@ public class EnvelopeTemplate { @JsonProperty("voidedReason") private String voidedReason = null; + + /** + * allowMarkup. + * + * @return EnvelopeTemplate + **/ public EnvelopeTemplate allowMarkup(String allowMarkup) { this.allowMarkup = allowMarkup; return this; } - /** - * When set to **true**, Document Markup is enabled for envelope. Account must have Document Markup enabled to use this + /** + * When set to **true**, Document Markup is enabled for envelope. Account must have Document Markup enabled to use this. * @return allowMarkup - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, Document Markup is enabled for envelope. Account must have Document Markup enabled to use this") + **/ + @ApiModelProperty(value = "When set to **true**, Document Markup is enabled for envelope. Account must have Document Markup enabled to use this") public String getAllowMarkup() { return allowMarkup; } + /** + * setAllowMarkup. + **/ public void setAllowMarkup(String allowMarkup) { this.allowMarkup = allowMarkup; } + + /** + * allowReassign. + * + * @return EnvelopeTemplate + **/ public EnvelopeTemplate allowReassign(String allowReassign) { this.allowReassign = allowReassign; return this; } - /** - * When set to **true**, the recipient can redirect an envelope to a more appropriate recipient. + /** + * When set to **true**, the recipient can redirect an envelope to a more appropriate recipient.. * @return allowReassign - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the recipient can redirect an envelope to a more appropriate recipient.") + **/ + @ApiModelProperty(value = "When set to **true**, the recipient can redirect an envelope to a more appropriate recipient.") public String getAllowReassign() { return allowReassign; } + /** + * setAllowReassign. + **/ public void setAllowReassign(String allowReassign) { this.allowReassign = allowReassign; } + + /** + * allowViewHistory. + * + * @return EnvelopeTemplate + **/ public EnvelopeTemplate allowViewHistory(String allowViewHistory) { this.allowViewHistory = allowViewHistory; return this; } - /** - * + /** + * . * @return allowViewHistory - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAllowViewHistory() { return allowViewHistory; } + /** + * setAllowViewHistory. + **/ public void setAllowViewHistory(String allowViewHistory) { this.allowViewHistory = allowViewHistory; } + + /** + * asynchronous. + * + * @return EnvelopeTemplate + **/ public EnvelopeTemplate asynchronous(String asynchronous) { this.asynchronous = asynchronous; return this; } - /** - * When set to **true**, the envelope is queued for processing and the value of the `status` property is set to 'Processing'. Additionally, get status calls return 'Processing' until completed. + /** + * When set to **true**, the envelope is queued for processing and the value of the `status` property is set to 'Processing'. Additionally, get status calls return 'Processing' until completed.. * @return asynchronous - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the envelope is queued for processing and the value of the `status` property is set to 'Processing'. Additionally, get status calls return 'Processing' until completed.") + **/ + @ApiModelProperty(value = "When set to **true**, the envelope is queued for processing and the value of the `status` property is set to 'Processing'. Additionally, get status calls return 'Processing' until completed.") public String getAsynchronous() { return asynchronous; } + /** + * setAsynchronous. + **/ public void setAsynchronous(String asynchronous) { this.asynchronous = asynchronous; } + + /** + * attachmentsUri. + * + * @return EnvelopeTemplate + **/ public EnvelopeTemplate attachmentsUri(String attachmentsUri) { this.attachmentsUri = attachmentsUri; return this; } - /** - * + /** + * . * @return attachmentsUri - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAttachmentsUri() { return attachmentsUri; } + /** + * setAttachmentsUri. + **/ public void setAttachmentsUri(String attachmentsUri) { this.attachmentsUri = attachmentsUri; } + + /** + * authoritativeCopy. + * + * @return EnvelopeTemplate + **/ public EnvelopeTemplate authoritativeCopy(String authoritativeCopy) { this.authoritativeCopy = authoritativeCopy; return this; } - /** - * Specifies the Authoritative copy feature. If set to true the Authoritative copy feature is enabled. + /** + * Specifies the Authoritative copy feature. If set to true the Authoritative copy feature is enabled.. * @return authoritativeCopy - **/ - @ApiModelProperty(example = "null", value = "Specifies the Authoritative copy feature. If set to true the Authoritative copy feature is enabled.") + **/ + @ApiModelProperty(value = "Specifies the Authoritative copy feature. If set to true the Authoritative copy feature is enabled.") public String getAuthoritativeCopy() { return authoritativeCopy; } + /** + * setAuthoritativeCopy. + **/ public void setAuthoritativeCopy(String authoritativeCopy) { this.authoritativeCopy = authoritativeCopy; } + + /** + * authoritativeCopyDefault. + * + * @return EnvelopeTemplate + **/ public EnvelopeTemplate authoritativeCopyDefault(String authoritativeCopyDefault) { this.authoritativeCopyDefault = authoritativeCopyDefault; return this; } - /** - * + /** + * . * @return authoritativeCopyDefault - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAuthoritativeCopyDefault() { return authoritativeCopyDefault; } + /** + * setAuthoritativeCopyDefault. + **/ public void setAuthoritativeCopyDefault(String authoritativeCopyDefault) { this.authoritativeCopyDefault = authoritativeCopyDefault; } + + /** + * autoNavigation. + * + * @return EnvelopeTemplate + **/ public EnvelopeTemplate autoNavigation(String autoNavigation) { this.autoNavigation = autoNavigation; return this; } - /** - * + /** + * . * @return autoNavigation - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAutoNavigation() { return autoNavigation; } + /** + * setAutoNavigation. + **/ public void setAutoNavigation(String autoNavigation) { this.autoNavigation = autoNavigation; } + + /** + * brandId. + * + * @return EnvelopeTemplate + **/ public EnvelopeTemplate brandId(String brandId) { this.brandId = brandId; return this; } - /** - * + /** + * . * @return brandId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getBrandId() { return brandId; } + /** + * setBrandId. + **/ public void setBrandId(String brandId) { this.brandId = brandId; } + + /** + * brandLock. + * + * @return EnvelopeTemplate + **/ public EnvelopeTemplate brandLock(String brandLock) { this.brandLock = brandLock; return this; } - /** - * + /** + * . * @return brandLock - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getBrandLock() { return brandLock; } + /** + * setBrandLock. + **/ public void setBrandLock(String brandLock) { this.brandLock = brandLock; } + + /** + * certificateUri. + * + * @return EnvelopeTemplate + **/ public EnvelopeTemplate certificateUri(String certificateUri) { this.certificateUri = certificateUri; return this; } - /** - * Retrieves a URI for an endpoint that allows you to easily retrieve certificate information. + /** + * Retrieves a URI for an endpoint that allows you to easily retrieve certificate information.. * @return certificateUri - **/ - @ApiModelProperty(example = "null", value = "Retrieves a URI for an endpoint that allows you to easily retrieve certificate information.") + **/ + @ApiModelProperty(value = "Retrieves a URI for an endpoint that allows you to easily retrieve certificate information.") public String getCertificateUri() { return certificateUri; } + /** + * setCertificateUri. + **/ public void setCertificateUri(String certificateUri) { this.certificateUri = certificateUri; } + + /** + * completedDateTime. + * + * @return EnvelopeTemplate + **/ public EnvelopeTemplate completedDateTime(String completedDateTime) { this.completedDateTime = completedDateTime; return this; } - /** - * Specifies the date and time this item was completed. + /** + * Specifies the date and time this item was completed.. * @return completedDateTime - **/ - @ApiModelProperty(example = "null", value = "Specifies the date and time this item was completed.") + **/ + @ApiModelProperty(value = "Specifies the date and time this item was completed.") public String getCompletedDateTime() { return completedDateTime; } + /** + * setCompletedDateTime. + **/ public void setCompletedDateTime(String completedDateTime) { this.completedDateTime = completedDateTime; } + + /** + * copyRecipientData. + * + * @return EnvelopeTemplate + **/ + public EnvelopeTemplate copyRecipientData(String copyRecipientData) { + this.copyRecipientData = copyRecipientData; + return this; + } + + /** + * . + * @return copyRecipientData + **/ + @ApiModelProperty(value = "") + public String getCopyRecipientData() { + return copyRecipientData; + } + + /** + * setCopyRecipientData. + **/ + public void setCopyRecipientData(String copyRecipientData) { + this.copyRecipientData = copyRecipientData; + } + + + /** + * createdDateTime. + * + * @return EnvelopeTemplate + **/ public EnvelopeTemplate createdDateTime(String createdDateTime) { this.createdDateTime = createdDateTime; return this; } - /** - * Indicates the date and time the item was created. + /** + * Indicates the date and time the item was created.. * @return createdDateTime - **/ - @ApiModelProperty(example = "null", value = "Indicates the date and time the item was created.") + **/ + @ApiModelProperty(value = "Indicates the date and time the item was created.") public String getCreatedDateTime() { return createdDateTime; } + /** + * setCreatedDateTime. + **/ public void setCreatedDateTime(String createdDateTime) { this.createdDateTime = createdDateTime; } + + /** + * customFields. + * + * @return EnvelopeTemplate + **/ public EnvelopeTemplate customFields(CustomFields customFields) { this.customFields = customFields; return this; } - /** - * Get customFields + /** + * Get customFields. * @return customFields - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public CustomFields getCustomFields() { return customFields; } + /** + * setCustomFields. + **/ public void setCustomFields(CustomFields customFields) { this.customFields = customFields; } + + /** + * customFieldsUri. + * + * @return EnvelopeTemplate + **/ public EnvelopeTemplate customFieldsUri(String customFieldsUri) { this.customFieldsUri = customFieldsUri; return this; } - /** - * Contains a URI for an endpoint that you can use to retrieve the custom fields. + /** + * Contains a URI for an endpoint that you can use to retrieve the custom fields.. * @return customFieldsUri - **/ - @ApiModelProperty(example = "null", value = "Contains a URI for an endpoint that you can use to retrieve the custom fields.") + **/ + @ApiModelProperty(value = "Contains a URI for an endpoint that you can use to retrieve the custom fields.") public String getCustomFieldsUri() { return customFieldsUri; } + /** + * setCustomFieldsUri. + **/ public void setCustomFieldsUri(String customFieldsUri) { this.customFieldsUri = customFieldsUri; } + + /** + * declinedDateTime. + * + * @return EnvelopeTemplate + **/ public EnvelopeTemplate declinedDateTime(String declinedDateTime) { this.declinedDateTime = declinedDateTime; return this; } - /** - * The date and time the recipient declined the document. + /** + * The date and time the recipient declined the document.. * @return declinedDateTime - **/ - @ApiModelProperty(example = "null", value = "The date and time the recipient declined the document.") + **/ + @ApiModelProperty(value = "The date and time the recipient declined the document.") public String getDeclinedDateTime() { return declinedDateTime; } + /** + * setDeclinedDateTime. + **/ public void setDeclinedDateTime(String declinedDateTime) { this.declinedDateTime = declinedDateTime; } + + /** + * deletedDateTime. + * + * @return EnvelopeTemplate + **/ public EnvelopeTemplate deletedDateTime(String deletedDateTime) { this.deletedDateTime = deletedDateTime; return this; } - /** - * Specifies the data and time the item was deleted. + /** + * Specifies the data and time the item was deleted.. * @return deletedDateTime - **/ - @ApiModelProperty(example = "null", value = "Specifies the data and time the item was deleted.") + **/ + @ApiModelProperty(value = "Specifies the data and time the item was deleted.") public String getDeletedDateTime() { return deletedDateTime; } + /** + * setDeletedDateTime. + **/ public void setDeletedDateTime(String deletedDateTime) { this.deletedDateTime = deletedDateTime; } + + /** + * deliveredDateTime. + * + * @return EnvelopeTemplate + **/ public EnvelopeTemplate deliveredDateTime(String deliveredDateTime) { this.deliveredDateTime = deliveredDateTime; return this; } - /** - * Reserved: For DocuSign use only. + /** + * Reserved: For DocuSign use only.. * @return deliveredDateTime - **/ - @ApiModelProperty(example = "null", value = "Reserved: For DocuSign use only.") + **/ + @ApiModelProperty(value = "Reserved: For DocuSign use only.") public String getDeliveredDateTime() { return deliveredDateTime; } + /** + * setDeliveredDateTime. + **/ public void setDeliveredDateTime(String deliveredDateTime) { this.deliveredDateTime = deliveredDateTime; } + + /** + * disableResponsiveDocument. + * + * @return EnvelopeTemplate + **/ + public EnvelopeTemplate disableResponsiveDocument(String disableResponsiveDocument) { + this.disableResponsiveDocument = disableResponsiveDocument; + return this; + } + + /** + * . + * @return disableResponsiveDocument + **/ + @ApiModelProperty(value = "") + public String getDisableResponsiveDocument() { + return disableResponsiveDocument; + } + + /** + * setDisableResponsiveDocument. + **/ + public void setDisableResponsiveDocument(String disableResponsiveDocument) { + this.disableResponsiveDocument = disableResponsiveDocument; + } + + + /** + * documents. + * + * @return EnvelopeTemplate + **/ public EnvelopeTemplate documents(java.util.List documents) { this.documents = documents; return this; } - + + /** + * addDocumentsItem. + * + * @return EnvelopeTemplate + **/ public EnvelopeTemplate addDocumentsItem(Document documentsItem) { + if (this.documents == null) { + this.documents = new java.util.ArrayList(); + } this.documents.add(documentsItem); return this; } - /** - * Complex element contains the details on the documents in the envelope. + /** + * Complex element contains the details on the documents in the envelope.. * @return documents - **/ - @ApiModelProperty(example = "null", value = "Complex element contains the details on the documents in the envelope.") + **/ + @ApiModelProperty(value = "Complex element contains the details on the documents in the envelope.") public java.util.List getDocuments() { return documents; } + /** + * setDocuments. + **/ public void setDocuments(java.util.List documents) { this.documents = documents; } + + /** + * documentsCombinedUri. + * + * @return EnvelopeTemplate + **/ public EnvelopeTemplate documentsCombinedUri(String documentsCombinedUri) { this.documentsCombinedUri = documentsCombinedUri; return this; } - /** - * + /** + * . * @return documentsCombinedUri - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getDocumentsCombinedUri() { return documentsCombinedUri; } + /** + * setDocumentsCombinedUri. + **/ public void setDocumentsCombinedUri(String documentsCombinedUri) { this.documentsCombinedUri = documentsCombinedUri; } + + /** + * documentsUri. + * + * @return EnvelopeTemplate + **/ public EnvelopeTemplate documentsUri(String documentsUri) { this.documentsUri = documentsUri; return this; } - /** - * Contains a URI for an endpoint that you can use to retrieve the documents. + /** + * Contains a URI for an endpoint that you can use to retrieve the documents.. * @return documentsUri - **/ - @ApiModelProperty(example = "null", value = "Contains a URI for an endpoint that you can use to retrieve the documents.") + **/ + @ApiModelProperty(value = "Contains a URI for an endpoint that you can use to retrieve the documents.") public String getDocumentsUri() { return documentsUri; } + /** + * setDocumentsUri. + **/ public void setDocumentsUri(String documentsUri) { this.documentsUri = documentsUri; } + + /** + * emailBlurb. + * + * @return EnvelopeTemplate + **/ public EnvelopeTemplate emailBlurb(String emailBlurb) { this.emailBlurb = emailBlurb; return this; } - /** - * + /** + * . * @return emailBlurb - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getEmailBlurb() { return emailBlurb; } + /** + * setEmailBlurb. + **/ public void setEmailBlurb(String emailBlurb) { this.emailBlurb = emailBlurb; } + + /** + * emailSettings. + * + * @return EnvelopeTemplate + **/ public EnvelopeTemplate emailSettings(EmailSettings emailSettings) { this.emailSettings = emailSettings; return this; } - /** - * Get emailSettings + /** + * Get emailSettings. * @return emailSettings - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public EmailSettings getEmailSettings() { return emailSettings; } + /** + * setEmailSettings. + **/ public void setEmailSettings(EmailSettings emailSettings) { this.emailSettings = emailSettings; } + + /** + * emailSubject. + * + * @return EnvelopeTemplate + **/ public EnvelopeTemplate emailSubject(String emailSubject) { this.emailSubject = emailSubject; return this; } - /** - * Specifies the subject of the email that is sent to all recipients. See [ML:Template Email Subject Merge Fields] for information about adding merge field information to the email subject. + /** + * Specifies the subject of the email that is sent to all recipients. See [ML:Template Email Subject Merge Fields] for information about adding merge field information to the email subject.. * @return emailSubject - **/ - @ApiModelProperty(example = "null", value = "Specifies the subject of the email that is sent to all recipients. See [ML:Template Email Subject Merge Fields] for information about adding merge field information to the email subject.") + **/ + @ApiModelProperty(value = "Specifies the subject of the email that is sent to all recipients. See [ML:Template Email Subject Merge Fields] for information about adding merge field information to the email subject.") public String getEmailSubject() { return emailSubject; } + /** + * setEmailSubject. + **/ public void setEmailSubject(String emailSubject) { this.emailSubject = emailSubject; } + + /** + * enableWetSign. + * + * @return EnvelopeTemplate + **/ public EnvelopeTemplate enableWetSign(String enableWetSign) { this.enableWetSign = enableWetSign; return this; } - /** - * When set to **true**, the signer is allowed to print the document and sign it on paper. + /** + * When set to **true**, the signer is allowed to print the document and sign it on paper.. * @return enableWetSign - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the signer is allowed to print the document and sign it on paper.") + **/ + @ApiModelProperty(value = "When set to **true**, the signer is allowed to print the document and sign it on paper.") public String getEnableWetSign() { return enableWetSign; } + /** + * setEnableWetSign. + **/ public void setEnableWetSign(String enableWetSign) { this.enableWetSign = enableWetSign; } + + /** + * enforceSignerVisibility. + * + * @return EnvelopeTemplate + **/ public EnvelopeTemplate enforceSignerVisibility(String enforceSignerVisibility) { this.enforceSignerVisibility = enforceSignerVisibility; return this; } - /** - * When set to **true**, documents with tabs can only be viewed by signers that have a tab on that document. Recipients that have an administrative role (Agent, Editor, or Intermediaries) or informational role (Certified Deliveries or Carbon Copies) can always see all the documents in an envelope, unless they are specifically excluded using this setting when an envelope is sent. Documents that do not have tabs are always visible to all recipients, unless they are specifically excluded using this setting when an envelope is sent. Your account must have Document Visibility enabled to use this. + /** + * When set to **true**, documents with tabs can only be viewed by signers that have a tab on that document. Recipients that have an administrative role (Agent, Editor, or Intermediaries) or informational role (Certified Deliveries or Carbon Copies) can always see all the documents in an envelope, unless they are specifically excluded using this setting when an envelope is sent. Documents that do not have tabs are always visible to all recipients, unless they are specifically excluded using this setting when an envelope is sent. Your account must have Document Visibility enabled to use this.. * @return enforceSignerVisibility - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, documents with tabs can only be viewed by signers that have a tab on that document. Recipients that have an administrative role (Agent, Editor, or Intermediaries) or informational role (Certified Deliveries or Carbon Copies) can always see all the documents in an envelope, unless they are specifically excluded using this setting when an envelope is sent. Documents that do not have tabs are always visible to all recipients, unless they are specifically excluded using this setting when an envelope is sent. Your account must have Document Visibility enabled to use this.") + **/ + @ApiModelProperty(value = "When set to **true**, documents with tabs can only be viewed by signers that have a tab on that document. Recipients that have an administrative role (Agent, Editor, or Intermediaries) or informational role (Certified Deliveries or Carbon Copies) can always see all the documents in an envelope, unless they are specifically excluded using this setting when an envelope is sent. Documents that do not have tabs are always visible to all recipients, unless they are specifically excluded using this setting when an envelope is sent. Your account must have Document Visibility enabled to use this.") public String getEnforceSignerVisibility() { return enforceSignerVisibility; } + /** + * setEnforceSignerVisibility. + **/ public void setEnforceSignerVisibility(String enforceSignerVisibility) { this.enforceSignerVisibility = enforceSignerVisibility; } + + /** + * envelopeId. + * + * @return EnvelopeTemplate + **/ public EnvelopeTemplate envelopeId(String envelopeId) { this.envelopeId = envelopeId; return this; } - /** - * The envelope ID of the envelope status that failed to post. + /** + * The envelope ID of the envelope status that failed to post.. * @return envelopeId - **/ - @ApiModelProperty(example = "null", value = "The envelope ID of the envelope status that failed to post.") + **/ + @ApiModelProperty(value = "The envelope ID of the envelope status that failed to post.") public String getEnvelopeId() { return envelopeId; } + /** + * setEnvelopeId. + **/ public void setEnvelopeId(String envelopeId) { this.envelopeId = envelopeId; } + + /** + * envelopeIdStamping. + * + * @return EnvelopeTemplate + **/ public EnvelopeTemplate envelopeIdStamping(String envelopeIdStamping) { this.envelopeIdStamping = envelopeIdStamping; return this; } - /** - * When set to **true**, Envelope ID Stamping is enabled. + /** + * When set to **true**, Envelope ID Stamping is enabled.. * @return envelopeIdStamping - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, Envelope ID Stamping is enabled.") + **/ + @ApiModelProperty(value = "When set to **true**, Envelope ID Stamping is enabled.") public String getEnvelopeIdStamping() { return envelopeIdStamping; } + /** + * setEnvelopeIdStamping. + **/ public void setEnvelopeIdStamping(String envelopeIdStamping) { this.envelopeIdStamping = envelopeIdStamping; } + + /** + * envelopeTemplateDefinition. + * + * @return EnvelopeTemplate + **/ public EnvelopeTemplate envelopeTemplateDefinition(EnvelopeTemplateDefinition envelopeTemplateDefinition) { this.envelopeTemplateDefinition = envelopeTemplateDefinition; return this; } - /** - * Get envelopeTemplateDefinition + /** + * Get envelopeTemplateDefinition. * @return envelopeTemplateDefinition - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public EnvelopeTemplateDefinition getEnvelopeTemplateDefinition() { return envelopeTemplateDefinition; } + /** + * setEnvelopeTemplateDefinition. + **/ public void setEnvelopeTemplateDefinition(EnvelopeTemplateDefinition envelopeTemplateDefinition) { this.envelopeTemplateDefinition = envelopeTemplateDefinition; } + + /** + * envelopeUri. + * + * @return EnvelopeTemplate + **/ public EnvelopeTemplate envelopeUri(String envelopeUri) { this.envelopeUri = envelopeUri; return this; } - /** - * Contains a URI for an endpoint that you can use to retrieve the envelope or envelopes. + /** + * Contains a URI for an endpoint that you can use to retrieve the envelope or envelopes.. * @return envelopeUri - **/ - @ApiModelProperty(example = "null", value = "Contains a URI for an endpoint that you can use to retrieve the envelope or envelopes.") + **/ + @ApiModelProperty(value = "Contains a URI for an endpoint that you can use to retrieve the envelope or envelopes.") public String getEnvelopeUri() { return envelopeUri; } + /** + * setEnvelopeUri. + **/ public void setEnvelopeUri(String envelopeUri) { this.envelopeUri = envelopeUri; } + + /** + * initialSentDateTime. + * + * @return EnvelopeTemplate + **/ public EnvelopeTemplate initialSentDateTime(String initialSentDateTime) { this.initialSentDateTime = initialSentDateTime; return this; } - /** - * + /** + * . * @return initialSentDateTime - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getInitialSentDateTime() { return initialSentDateTime; } + /** + * setInitialSentDateTime. + **/ public void setInitialSentDateTime(String initialSentDateTime) { this.initialSentDateTime = initialSentDateTime; } + + /** + * is21CFRPart11. + * + * @return EnvelopeTemplate + **/ public EnvelopeTemplate is21CFRPart11(String is21CFRPart11) { this.is21CFRPart11 = is21CFRPart11; return this; } - /** - * When set to **true**, indicates that this module is enabled on the account. + /** + * When set to **true**, indicates that this module is enabled on the account.. * @return is21CFRPart11 - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, indicates that this module is enabled on the account.") + **/ + @ApiModelProperty(value = "When set to **true**, indicates that this module is enabled on the account.") public String getIs21CFRPart11() { return is21CFRPart11; } + /** + * setIs21CFRPart11. + **/ public void setIs21CFRPart11(String is21CFRPart11) { this.is21CFRPart11 = is21CFRPart11; } + + /** + * isSignatureProviderEnvelope. + * + * @return EnvelopeTemplate + **/ public EnvelopeTemplate isSignatureProviderEnvelope(String isSignatureProviderEnvelope) { this.isSignatureProviderEnvelope = isSignatureProviderEnvelope; return this; } - /** - * + /** + * . * @return isSignatureProviderEnvelope - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getIsSignatureProviderEnvelope() { return isSignatureProviderEnvelope; } + /** + * setIsSignatureProviderEnvelope. + **/ public void setIsSignatureProviderEnvelope(String isSignatureProviderEnvelope) { this.isSignatureProviderEnvelope = isSignatureProviderEnvelope; } + + /** + * lastModifiedDateTime. + * + * @return EnvelopeTemplate + **/ public EnvelopeTemplate lastModifiedDateTime(String lastModifiedDateTime) { this.lastModifiedDateTime = lastModifiedDateTime; return this; } - /** - * The date and time the item was last modified. + /** + * The date and time the item was last modified.. * @return lastModifiedDateTime - **/ - @ApiModelProperty(example = "null", value = "The date and time the item was last modified.") + **/ + @ApiModelProperty(value = "The date and time the item was last modified.") public String getLastModifiedDateTime() { return lastModifiedDateTime; } + /** + * setLastModifiedDateTime. + **/ public void setLastModifiedDateTime(String lastModifiedDateTime) { this.lastModifiedDateTime = lastModifiedDateTime; } + + /** + * lockInformation. + * + * @return EnvelopeTemplate + **/ public EnvelopeTemplate lockInformation(LockInformation lockInformation) { this.lockInformation = lockInformation; return this; } - /** - * Get lockInformation + /** + * Get lockInformation. * @return lockInformation - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public LockInformation getLockInformation() { return lockInformation; } + /** + * setLockInformation. + **/ public void setLockInformation(LockInformation lockInformation) { this.lockInformation = lockInformation; } + + /** + * messageLock. + * + * @return EnvelopeTemplate + **/ public EnvelopeTemplate messageLock(String messageLock) { this.messageLock = messageLock; return this; } - /** - * When set to **true**, prevents senders from changing the contents of `emailBlurb` and `emailSubject` properties for the envelope. Additionally, this prevents users from making changes to the contents of `emailBlurb` and `emailSubject` properties when correcting envelopes. However, if the `messageLock` node is set to true**** and the `emailSubject` property is empty, senders and correctors are able to add a subject to the envelope. + /** + * When set to **true**, prevents senders from changing the contents of `emailBlurb` and `emailSubject` properties for the envelope. Additionally, this prevents users from making changes to the contents of `emailBlurb` and `emailSubject` properties when correcting envelopes. However, if the `messageLock` node is set to true**** and the `emailSubject` property is empty, senders and correctors are able to add a subject to the envelope.. * @return messageLock - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, prevents senders from changing the contents of `emailBlurb` and `emailSubject` properties for the envelope. Additionally, this prevents users from making changes to the contents of `emailBlurb` and `emailSubject` properties when correcting envelopes. However, if the `messageLock` node is set to true**** and the `emailSubject` property is empty, senders and correctors are able to add a subject to the envelope.") + **/ + @ApiModelProperty(value = "When set to **true**, prevents senders from changing the contents of `emailBlurb` and `emailSubject` properties for the envelope. Additionally, this prevents users from making changes to the contents of `emailBlurb` and `emailSubject` properties when correcting envelopes. However, if the `messageLock` node is set to true**** and the `emailSubject` property is empty, senders and correctors are able to add a subject to the envelope.") public String getMessageLock() { return messageLock; } + /** + * setMessageLock. + **/ public void setMessageLock(String messageLock) { this.messageLock = messageLock; } + + /** + * notification. + * + * @return EnvelopeTemplate + **/ public EnvelopeTemplate notification(Notification notification) { this.notification = notification; return this; } - /** - * Get notification + /** + * Get notification. * @return notification - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public Notification getNotification() { return notification; } + /** + * setNotification. + **/ public void setNotification(Notification notification) { this.notification = notification; } + + /** + * notificationUri. + * + * @return EnvelopeTemplate + **/ public EnvelopeTemplate notificationUri(String notificationUri) { this.notificationUri = notificationUri; return this; } - /** - * Contains a URI for an endpoint that you can use to retrieve the notifications. + /** + * Contains a URI for an endpoint that you can use to retrieve the notifications.. * @return notificationUri - **/ - @ApiModelProperty(example = "null", value = "Contains a URI for an endpoint that you can use to retrieve the notifications.") + **/ + @ApiModelProperty(value = "Contains a URI for an endpoint that you can use to retrieve the notifications.") public String getNotificationUri() { return notificationUri; } + /** + * setNotificationUri. + **/ public void setNotificationUri(String notificationUri) { this.notificationUri = notificationUri; } + + /** + * purgeState. + * + * @return EnvelopeTemplate + **/ public EnvelopeTemplate purgeState(String purgeState) { this.purgeState = purgeState; return this; } - /** - * + /** + * . * @return purgeState - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPurgeState() { return purgeState; } + /** + * setPurgeState. + **/ public void setPurgeState(String purgeState) { this.purgeState = purgeState; } + + /** + * recipients. + * + * @return EnvelopeTemplate + **/ public EnvelopeTemplate recipients(Recipients recipients) { this.recipients = recipients; return this; } - /** - * Get recipients + /** + * Get recipients. * @return recipients - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public Recipients getRecipients() { return recipients; } + /** + * setRecipients. + **/ public void setRecipients(Recipients recipients) { this.recipients = recipients; } + + /** + * recipientsLock. + * + * @return EnvelopeTemplate + **/ public EnvelopeTemplate recipientsLock(String recipientsLock) { this.recipientsLock = recipientsLock; return this; } - /** - * When set to **true**, prevents senders from changing, correcting, or deleting the recipient information for the envelope. + /** + * When set to **true**, prevents senders from changing, correcting, or deleting the recipient information for the envelope.. * @return recipientsLock - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, prevents senders from changing, correcting, or deleting the recipient information for the envelope.") + **/ + @ApiModelProperty(value = "When set to **true**, prevents senders from changing, correcting, or deleting the recipient information for the envelope.") public String getRecipientsLock() { return recipientsLock; } + /** + * setRecipientsLock. + **/ public void setRecipientsLock(String recipientsLock) { this.recipientsLock = recipientsLock; } + + /** + * recipientsUri. + * + * @return EnvelopeTemplate + **/ public EnvelopeTemplate recipientsUri(String recipientsUri) { this.recipientsUri = recipientsUri; return this; } - /** - * Contains a URI for an endpoint that you can use to retrieve the recipients. + /** + * Contains a URI for an endpoint that you can use to retrieve the recipients.. * @return recipientsUri - **/ - @ApiModelProperty(example = "null", value = "Contains a URI for an endpoint that you can use to retrieve the recipients.") + **/ + @ApiModelProperty(value = "Contains a URI for an endpoint that you can use to retrieve the recipients.") public String getRecipientsUri() { return recipientsUri; } + /** + * setRecipientsUri. + **/ public void setRecipientsUri(String recipientsUri) { this.recipientsUri = recipientsUri; } + + /** + * sentDateTime. + * + * @return EnvelopeTemplate + **/ public EnvelopeTemplate sentDateTime(String sentDateTime) { this.sentDateTime = sentDateTime; return this; } - /** - * The date and time the envelope was sent. + /** + * The date and time the envelope was sent.. * @return sentDateTime - **/ - @ApiModelProperty(example = "null", value = "The date and time the envelope was sent.") + **/ + @ApiModelProperty(value = "The date and time the envelope was sent.") public String getSentDateTime() { return sentDateTime; } + /** + * setSentDateTime. + **/ public void setSentDateTime(String sentDateTime) { this.sentDateTime = sentDateTime; } + + /** + * signerCanSignOnMobile. + * + * @return EnvelopeTemplate + **/ public EnvelopeTemplate signerCanSignOnMobile(String signerCanSignOnMobile) { this.signerCanSignOnMobile = signerCanSignOnMobile; return this; } - /** - * + /** + * . * @return signerCanSignOnMobile - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSignerCanSignOnMobile() { return signerCanSignOnMobile; } + /** + * setSignerCanSignOnMobile. + **/ public void setSignerCanSignOnMobile(String signerCanSignOnMobile) { this.signerCanSignOnMobile = signerCanSignOnMobile; } + + /** + * signingLocation. + * + * @return EnvelopeTemplate + **/ public EnvelopeTemplate signingLocation(String signingLocation) { this.signingLocation = signingLocation; return this; } - /** - * Specifies the physical location where the signing takes place. It can have two enumeration values; InPerson and Online. The default value is Online. + /** + * Specifies the physical location where the signing takes place. It can have two enumeration values; InPerson and Online. The default value is Online.. * @return signingLocation - **/ - @ApiModelProperty(example = "null", value = "Specifies the physical location where the signing takes place. It can have two enumeration values; InPerson and Online. The default value is Online.") + **/ + @ApiModelProperty(value = "Specifies the physical location where the signing takes place. It can have two enumeration values; InPerson and Online. The default value is Online.") public String getSigningLocation() { return signingLocation; } + /** + * setSigningLocation. + **/ public void setSigningLocation(String signingLocation) { this.signingLocation = signingLocation; } + + /** + * status. + * + * @return EnvelopeTemplate + **/ public EnvelopeTemplate status(String status) { this.status = status; return this; } - /** - * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. + /** + * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.. * @return status - **/ - @ApiModelProperty(example = "null", value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") + **/ + @ApiModelProperty(value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") public String getStatus() { return status; } + /** + * setStatus. + **/ public void setStatus(String status) { this.status = status; } + + /** + * statusChangedDateTime. + * + * @return EnvelopeTemplate + **/ public EnvelopeTemplate statusChangedDateTime(String statusChangedDateTime) { this.statusChangedDateTime = statusChangedDateTime; return this; } - /** - * The data and time the status changed. + /** + * The data and time the status changed.. * @return statusChangedDateTime - **/ - @ApiModelProperty(example = "null", value = "The data and time the status changed.") + **/ + @ApiModelProperty(value = "The data and time the status changed.") public String getStatusChangedDateTime() { return statusChangedDateTime; } + /** + * setStatusChangedDateTime. + **/ public void setStatusChangedDateTime(String statusChangedDateTime) { this.statusChangedDateTime = statusChangedDateTime; } + + /** + * templatesUri. + * + * @return EnvelopeTemplate + **/ public EnvelopeTemplate templatesUri(String templatesUri) { this.templatesUri = templatesUri; return this; } - /** - * Contains a URI for an endpoint which you can use to retrieve the templates. + /** + * Contains a URI for an endpoint which you can use to retrieve the templates.. * @return templatesUri - **/ - @ApiModelProperty(example = "null", value = "Contains a URI for an endpoint which you can use to retrieve the templates.") + **/ + @ApiModelProperty(value = "Contains a URI for an endpoint which you can use to retrieve the templates.") public String getTemplatesUri() { return templatesUri; } + /** + * setTemplatesUri. + **/ public void setTemplatesUri(String templatesUri) { this.templatesUri = templatesUri; } + + /** + * transactionId. + * + * @return EnvelopeTemplate + **/ public EnvelopeTemplate transactionId(String transactionId) { this.transactionId = transactionId; return this; } - /** - * Used to identify an envelope. The id is a sender-generated value and is valid in the DocuSign system for 7 days. It is recommended that a transaction ID is used for offline signing to ensure that an envelope is not sent multiple times. The `transactionId` property can be used determine an envelope's status (i.e. was it created or not) in cases where the internet connection was lost before the envelope status was returned. + /** + * Used to identify an envelope. The id is a sender-generated value and is valid in the DocuSign system for 7 days. It is recommended that a transaction ID is used for offline signing to ensure that an envelope is not sent multiple times. The `transactionId` property can be used determine an envelope's status (i.e. was it created or not) in cases where the internet connection was lost before the envelope status was returned.. * @return transactionId - **/ - @ApiModelProperty(example = "null", value = " Used to identify an envelope. The id is a sender-generated value and is valid in the DocuSign system for 7 days. It is recommended that a transaction ID is used for offline signing to ensure that an envelope is not sent multiple times. The `transactionId` property can be used determine an envelope's status (i.e. was it created or not) in cases where the internet connection was lost before the envelope status was returned.") + **/ + @ApiModelProperty(value = " Used to identify an envelope. The id is a sender-generated value and is valid in the DocuSign system for 7 days. It is recommended that a transaction ID is used for offline signing to ensure that an envelope is not sent multiple times. The `transactionId` property can be used determine an envelope's status (i.e. was it created or not) in cases where the internet connection was lost before the envelope status was returned.") public String getTransactionId() { return transactionId; } + /** + * setTransactionId. + **/ public void setTransactionId(String transactionId) { this.transactionId = transactionId; } + + /** + * useDisclosure. + * + * @return EnvelopeTemplate + **/ public EnvelopeTemplate useDisclosure(String useDisclosure) { this.useDisclosure = useDisclosure; return this; } - /** - * When set to **true**, the disclosure is shown to recipients in accordance with the account's Electronic Record and Signature Disclosure frequency setting. When set to **false**, the Electronic Record and Signature Disclosure is not shown to any envelope recipients. If the `useDisclosure` property is not set, then the account's normal disclosure setting is used and the value of the `useDisclosure` property is not returned in responses when getting envelope information. + /** + * When set to **true**, the disclosure is shown to recipients in accordance with the account's Electronic Record and Signature Disclosure frequency setting. When set to **false**, the Electronic Record and Signature Disclosure is not shown to any envelope recipients. If the `useDisclosure` property is not set, then the account's normal disclosure setting is used and the value of the `useDisclosure` property is not returned in responses when getting envelope information.. * @return useDisclosure - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the disclosure is shown to recipients in accordance with the account's Electronic Record and Signature Disclosure frequency setting. When set to **false**, the Electronic Record and Signature Disclosure is not shown to any envelope recipients. If the `useDisclosure` property is not set, then the account's normal disclosure setting is used and the value of the `useDisclosure` property is not returned in responses when getting envelope information.") + **/ + @ApiModelProperty(value = "When set to **true**, the disclosure is shown to recipients in accordance with the account's Electronic Record and Signature Disclosure frequency setting. When set to **false**, the Electronic Record and Signature Disclosure is not shown to any envelope recipients. If the `useDisclosure` property is not set, then the account's normal disclosure setting is used and the value of the `useDisclosure` property is not returned in responses when getting envelope information.") public String getUseDisclosure() { return useDisclosure; } + /** + * setUseDisclosure. + **/ public void setUseDisclosure(String useDisclosure) { this.useDisclosure = useDisclosure; } + + /** + * voidedDateTime. + * + * @return EnvelopeTemplate + **/ public EnvelopeTemplate voidedDateTime(String voidedDateTime) { this.voidedDateTime = voidedDateTime; return this; } - /** - * The date and time the envelope or template was voided. + /** + * The date and time the envelope or template was voided.. * @return voidedDateTime - **/ - @ApiModelProperty(example = "null", value = "The date and time the envelope or template was voided.") + **/ + @ApiModelProperty(value = "The date and time the envelope or template was voided.") public String getVoidedDateTime() { return voidedDateTime; } + /** + * setVoidedDateTime. + **/ public void setVoidedDateTime(String voidedDateTime) { this.voidedDateTime = voidedDateTime; } + + /** + * voidedReason. + * + * @return EnvelopeTemplate + **/ public EnvelopeTemplate voidedReason(String voidedReason) { this.voidedReason = voidedReason; return this; } - /** - * The reason the envelope or template was voided. + /** + * The reason the envelope or template was voided.. * @return voidedReason - **/ - @ApiModelProperty(example = "null", value = "The reason the envelope or template was voided.") + **/ + @ApiModelProperty(value = "The reason the envelope or template was voided.") public String getVoidedReason() { return voidedReason; } + /** + * setVoidedReason. + **/ public void setVoidedReason(String voidedReason) { this.voidedReason = voidedReason; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -1137,12 +1681,14 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.brandLock, envelopeTemplate.brandLock) && Objects.equals(this.certificateUri, envelopeTemplate.certificateUri) && Objects.equals(this.completedDateTime, envelopeTemplate.completedDateTime) && + Objects.equals(this.copyRecipientData, envelopeTemplate.copyRecipientData) && Objects.equals(this.createdDateTime, envelopeTemplate.createdDateTime) && Objects.equals(this.customFields, envelopeTemplate.customFields) && Objects.equals(this.customFieldsUri, envelopeTemplate.customFieldsUri) && Objects.equals(this.declinedDateTime, envelopeTemplate.declinedDateTime) && Objects.equals(this.deletedDateTime, envelopeTemplate.deletedDateTime) && Objects.equals(this.deliveredDateTime, envelopeTemplate.deliveredDateTime) && + Objects.equals(this.disableResponsiveDocument, envelopeTemplate.disableResponsiveDocument) && Objects.equals(this.documents, envelopeTemplate.documents) && Objects.equals(this.documentsCombinedUri, envelopeTemplate.documentsCombinedUri) && Objects.equals(this.documentsUri, envelopeTemplate.documentsUri) && @@ -1179,12 +1725,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.voidedReason, envelopeTemplate.voidedReason); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { - return Objects.hash(allowMarkup, allowReassign, allowViewHistory, asynchronous, attachmentsUri, authoritativeCopy, authoritativeCopyDefault, autoNavigation, brandId, brandLock, certificateUri, completedDateTime, createdDateTime, customFields, customFieldsUri, declinedDateTime, deletedDateTime, deliveredDateTime, documents, documentsCombinedUri, documentsUri, emailBlurb, emailSettings, emailSubject, enableWetSign, enforceSignerVisibility, envelopeId, envelopeIdStamping, envelopeTemplateDefinition, envelopeUri, initialSentDateTime, is21CFRPart11, isSignatureProviderEnvelope, lastModifiedDateTime, lockInformation, messageLock, notification, notificationUri, purgeState, recipients, recipientsLock, recipientsUri, sentDateTime, signerCanSignOnMobile, signingLocation, status, statusChangedDateTime, templatesUri, transactionId, useDisclosure, voidedDateTime, voidedReason); + return Objects.hash(allowMarkup, allowReassign, allowViewHistory, asynchronous, attachmentsUri, authoritativeCopy, authoritativeCopyDefault, autoNavigation, brandId, brandLock, certificateUri, completedDateTime, copyRecipientData, createdDateTime, customFields, customFieldsUri, declinedDateTime, deletedDateTime, deliveredDateTime, disableResponsiveDocument, documents, documentsCombinedUri, documentsUri, emailBlurb, emailSettings, emailSubject, enableWetSign, enforceSignerVisibility, envelopeId, envelopeIdStamping, envelopeTemplateDefinition, envelopeUri, initialSentDateTime, is21CFRPart11, isSignatureProviderEnvelope, lastModifiedDateTime, lockInformation, messageLock, notification, notificationUri, purgeState, recipients, recipientsLock, recipientsUri, sentDateTime, signerCanSignOnMobile, signingLocation, status, statusChangedDateTime, templatesUri, transactionId, useDisclosure, voidedDateTime, voidedReason); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -1202,12 +1754,14 @@ public String toString() { sb.append(" brandLock: ").append(toIndentedString(brandLock)).append("\n"); sb.append(" certificateUri: ").append(toIndentedString(certificateUri)).append("\n"); sb.append(" completedDateTime: ").append(toIndentedString(completedDateTime)).append("\n"); + sb.append(" copyRecipientData: ").append(toIndentedString(copyRecipientData)).append("\n"); sb.append(" createdDateTime: ").append(toIndentedString(createdDateTime)).append("\n"); sb.append(" customFields: ").append(toIndentedString(customFields)).append("\n"); sb.append(" customFieldsUri: ").append(toIndentedString(customFieldsUri)).append("\n"); sb.append(" declinedDateTime: ").append(toIndentedString(declinedDateTime)).append("\n"); sb.append(" deletedDateTime: ").append(toIndentedString(deletedDateTime)).append("\n"); sb.append(" deliveredDateTime: ").append(toIndentedString(deliveredDateTime)).append("\n"); + sb.append(" disableResponsiveDocument: ").append(toIndentedString(disableResponsiveDocument)).append("\n"); sb.append(" documents: ").append(toIndentedString(documents)).append("\n"); sb.append(" documentsCombinedUri: ").append(toIndentedString(documentsCombinedUri)).append("\n"); sb.append(" documentsUri: ").append(toIndentedString(documentsUri)).append("\n"); @@ -1256,6 +1810,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/EnvelopeTemplateDefinition.java b/src/main/java/com/docusign/esign/model/EnvelopeTemplateDefinition.java index ab61c87f..1326e6a0 100644 --- a/src/main/java/com/docusign/esign/model/EnvelopeTemplateDefinition.java +++ b/src/main/java/com/docusign/esign/model/EnvelopeTemplateDefinition.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.UserInfo; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * A complex element containing the following information: templateId: Unique identifier of the template. If this is not provided, DocuSign will generate a value. name: Name of the template. Maximum length: 100 characters. shared: When set to **true**, the template is shared with the Everyone group in the account. If false, the template is only shared with the Administrator group. password: Password, if the template is locked. description: Description of the template. Maximum Length: 500 characters. pageCount: Number of document pages in the template. folderName: The name of the folder the template is located in. folderId: The ID for the folder. owner: The userName, email, userId, userType, and userStatus for the template owner. + * A complex element containing the following information: templateId: Unique identifier of the template. If this is not provided, DocuSign will generate a value. name: Name of the template. Maximum length: 100 characters. shared: When set to **true**, the template is shared with the Everyone group in the account. If false, the template is only shared with the Administrator group. password: Password, if the template is locked. description: Description of the template. Maximum Length: 500 characters. pageCount: Number of document pages in the template. folderName: The name of the folder the template is located in. folderId: The ID for the folder. owner: The userName, email, userId, userType, and userStatus for the template owner.. + * */ @ApiModel(description = "A complex element containing the following information: templateId: Unique identifier of the template. If this is not provided, DocuSign will generate a value. name: Name of the template. Maximum length: 100 characters. shared: When set to **true**, the template is shared with the Everyone group in the account. If false, the template is only shared with the Administrator group. password: Password, if the template is locked. description: Description of the template. Maximum Length: 500 characters. pageCount: Number of document pages in the template. folderName: The name of the folder the template is located in. folderId: The ID for the folder. owner: The userName, email, userId, userType, and userStatus for the template owner.") @@ -61,295 +64,444 @@ public class EnvelopeTemplateDefinition { @JsonProperty("uri") private String uri = null; + + /** + * created. + * + * @return EnvelopeTemplateDefinition + **/ public EnvelopeTemplateDefinition created(String created) { this.created = created; return this; } - /** - * + /** + * . * @return created - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getCreated() { return created; } + /** + * setCreated. + **/ public void setCreated(String created) { this.created = created; } + + /** + * description. + * + * @return EnvelopeTemplateDefinition + **/ public EnvelopeTemplateDefinition description(String description) { this.description = description; return this; } - /** - * + /** + * . * @return description - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getDescription() { return description; } + /** + * setDescription. + **/ public void setDescription(String description) { this.description = description; } + + /** + * folderId. + * + * @return EnvelopeTemplateDefinition + **/ public EnvelopeTemplateDefinition folderId(String folderId) { this.folderId = folderId; return this; } - /** - * The ID for the folder. + /** + * The ID for the folder.. * @return folderId - **/ - @ApiModelProperty(example = "null", value = "The ID for the folder.") + **/ + @ApiModelProperty(value = "The ID for the folder.") public String getFolderId() { return folderId; } + /** + * setFolderId. + **/ public void setFolderId(String folderId) { this.folderId = folderId; } + + /** + * folderName. + * + * @return EnvelopeTemplateDefinition + **/ public EnvelopeTemplateDefinition folderName(String folderName) { this.folderName = folderName; return this; } - /** - * The name of the folder in which the template is located. + /** + * The name of the folder in which the template is located.. * @return folderName - **/ - @ApiModelProperty(example = "null", value = " The name of the folder in which the template is located.") + **/ + @ApiModelProperty(value = " The name of the folder in which the template is located.") public String getFolderName() { return folderName; } + /** + * setFolderName. + **/ public void setFolderName(String folderName) { this.folderName = folderName; } + + /** + * folderUri. + * + * @return EnvelopeTemplateDefinition + **/ public EnvelopeTemplateDefinition folderUri(String folderUri) { this.folderUri = folderUri; return this; } - /** - * The URI of the folder. + /** + * The URI of the folder.. * @return folderUri - **/ - @ApiModelProperty(example = "null", value = "The URI of the folder.") + **/ + @ApiModelProperty(value = "The URI of the folder.") public String getFolderUri() { return folderUri; } + /** + * setFolderUri. + **/ public void setFolderUri(String folderUri) { this.folderUri = folderUri; } + + /** + * lastModified. + * + * @return EnvelopeTemplateDefinition + **/ public EnvelopeTemplateDefinition lastModified(String lastModified) { this.lastModified = lastModified; return this; } - /** - * + /** + * . * @return lastModified - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getLastModified() { return lastModified; } + /** + * setLastModified. + **/ public void setLastModified(String lastModified) { this.lastModified = lastModified; } + + /** + * lastModifiedBy. + * + * @return EnvelopeTemplateDefinition + **/ public EnvelopeTemplateDefinition lastModifiedBy(UserInfo lastModifiedBy) { this.lastModifiedBy = lastModifiedBy; return this; } - /** - * Get lastModifiedBy + /** + * Get lastModifiedBy. * @return lastModifiedBy - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public UserInfo getLastModifiedBy() { return lastModifiedBy; } + /** + * setLastModifiedBy. + **/ public void setLastModifiedBy(UserInfo lastModifiedBy) { this.lastModifiedBy = lastModifiedBy; } + + /** + * name. + * + * @return EnvelopeTemplateDefinition + **/ public EnvelopeTemplateDefinition name(String name) { this.name = name; return this; } - /** - * + /** + * . * @return name - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * newPassword. + * + * @return EnvelopeTemplateDefinition + **/ public EnvelopeTemplateDefinition newPassword(String newPassword) { this.newPassword = newPassword; return this; } - /** - * + /** + * . * @return newPassword - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getNewPassword() { return newPassword; } + /** + * setNewPassword. + **/ public void setNewPassword(String newPassword) { this.newPassword = newPassword; } + + /** + * owner. + * + * @return EnvelopeTemplateDefinition + **/ public EnvelopeTemplateDefinition owner(UserInfo owner) { this.owner = owner; return this; } - /** - * Get owner + /** + * Get owner. * @return owner - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public UserInfo getOwner() { return owner; } + /** + * setOwner. + **/ public void setOwner(UserInfo owner) { this.owner = owner; } + + /** + * pageCount. + * + * @return EnvelopeTemplateDefinition + **/ public EnvelopeTemplateDefinition pageCount(Integer pageCount) { this.pageCount = pageCount; return this; } - /** - * An integer value specifying the number of document pages in the template. Omit this property if not submitting a page count. + /** + * An integer value specifying the number of document pages in the template. Omit this property if not submitting a page count.. * @return pageCount - **/ - @ApiModelProperty(example = "null", value = "An integer value specifying the number of document pages in the template. Omit this property if not submitting a page count.") + **/ + @ApiModelProperty(value = "An integer value specifying the number of document pages in the template. Omit this property if not submitting a page count.") public Integer getPageCount() { return pageCount; } + /** + * setPageCount. + **/ public void setPageCount(Integer pageCount) { this.pageCount = pageCount; } + + /** + * parentFolderUri. + * + * @return EnvelopeTemplateDefinition + **/ public EnvelopeTemplateDefinition parentFolderUri(String parentFolderUri) { this.parentFolderUri = parentFolderUri; return this; } - /** - * + /** + * . * @return parentFolderUri - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getParentFolderUri() { return parentFolderUri; } + /** + * setParentFolderUri. + **/ public void setParentFolderUri(String parentFolderUri) { this.parentFolderUri = parentFolderUri; } + + /** + * password. + * + * @return EnvelopeTemplateDefinition + **/ public EnvelopeTemplateDefinition password(String password) { this.password = password; return this; } - /** - * + /** + * . * @return password - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPassword() { return password; } + /** + * setPassword. + **/ public void setPassword(String password) { this.password = password; } + + /** + * shared. + * + * @return EnvelopeTemplateDefinition + **/ public EnvelopeTemplateDefinition shared(String shared) { this.shared = shared; return this; } - /** - * When set to **true**, this custom tab is shared. + /** + * When set to **true**, this custom tab is shared.. * @return shared - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, this custom tab is shared.") + **/ + @ApiModelProperty(value = "When set to **true**, this custom tab is shared.") public String getShared() { return shared; } + /** + * setShared. + **/ public void setShared(String shared) { this.shared = shared; } + + /** + * templateId. + * + * @return EnvelopeTemplateDefinition + **/ public EnvelopeTemplateDefinition templateId(String templateId) { this.templateId = templateId; return this; } - /** - * The unique identifier of the template. If this is not provided, DocuSign will generate a value. + /** + * The unique identifier of the template. If this is not provided, DocuSign will generate a value. . * @return templateId - **/ - @ApiModelProperty(example = "null", value = "The unique identifier of the template. If this is not provided, DocuSign will generate a value. ") + **/ + @ApiModelProperty(value = "The unique identifier of the template. If this is not provided, DocuSign will generate a value. ") public String getTemplateId() { return templateId; } + /** + * setTemplateId. + **/ public void setTemplateId(String templateId) { this.templateId = templateId; } + + /** + * uri. + * + * @return EnvelopeTemplateDefinition + **/ public EnvelopeTemplateDefinition uri(String uri) { this.uri = uri; return this; } - /** - * + /** + * . * @return uri - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getUri() { return uri; } + /** + * setUri. + **/ public void setUri(String uri) { this.uri = uri; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -377,12 +529,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.uri, envelopeTemplateDefinition.uri); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(created, description, folderId, folderName, folderUri, lastModified, lastModifiedBy, name, newPassword, owner, pageCount, parentFolderUri, password, shared, templateId, uri); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -418,6 +576,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/EnvelopeTemplateResult.java b/src/main/java/com/docusign/esign/model/EnvelopeTemplateResult.java index 5e561d30..003990aa 100644 --- a/src/main/java/com/docusign/esign/model/EnvelopeTemplateResult.java +++ b/src/main/java/com/docusign/esign/model/EnvelopeTemplateResult.java @@ -1,6 +1,7 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.CustomFields; import com.docusign.esign.model.Document; import com.docusign.esign.model.EmailSettings; @@ -10,11 +11,13 @@ import com.docusign.esign.model.UserInfo; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * EnvelopeTemplateResult + * EnvelopeTemplateResult. + * */ public class EnvelopeTemplateResult { @@ -54,6 +57,9 @@ public class EnvelopeTemplateResult { @JsonProperty("completedDateTime") private String completedDateTime = null; + @JsonProperty("copyRecipientData") + private String copyRecipientData = null; + @JsonProperty("created") private String created = null; @@ -78,8 +84,11 @@ public class EnvelopeTemplateResult { @JsonProperty("description") private String description = null; + @JsonProperty("disableResponsiveDocument") + private String disableResponsiveDocument = null; + @JsonProperty("documents") - private java.util.List documents = new java.util.ArrayList(); + private java.util.List documents = null; @JsonProperty("documentsCombinedUri") private String documentsCombinedUri = null; @@ -213,1182 +222,1834 @@ public class EnvelopeTemplateResult { @JsonProperty("voidedReason") private String voidedReason = null; + + /** + * allowMarkup. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult allowMarkup(String allowMarkup) { this.allowMarkup = allowMarkup; return this; } - /** - * When set to **true**, Document Markup is enabled for envelope. Account must have Document Markup enabled to use this + /** + * When set to **true**, Document Markup is enabled for envelope. Account must have Document Markup enabled to use this. * @return allowMarkup - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, Document Markup is enabled for envelope. Account must have Document Markup enabled to use this") + **/ + @ApiModelProperty(value = "When set to **true**, Document Markup is enabled for envelope. Account must have Document Markup enabled to use this") public String getAllowMarkup() { return allowMarkup; } + /** + * setAllowMarkup. + **/ public void setAllowMarkup(String allowMarkup) { this.allowMarkup = allowMarkup; } + + /** + * allowReassign. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult allowReassign(String allowReassign) { this.allowReassign = allowReassign; return this; } - /** - * When set to **true**, the recipient can redirect an envelope to a more appropriate recipient. + /** + * When set to **true**, the recipient can redirect an envelope to a more appropriate recipient.. * @return allowReassign - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the recipient can redirect an envelope to a more appropriate recipient.") + **/ + @ApiModelProperty(value = "When set to **true**, the recipient can redirect an envelope to a more appropriate recipient.") public String getAllowReassign() { return allowReassign; } + /** + * setAllowReassign. + **/ public void setAllowReassign(String allowReassign) { this.allowReassign = allowReassign; } + + /** + * allowViewHistory. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult allowViewHistory(String allowViewHistory) { this.allowViewHistory = allowViewHistory; return this; } - /** - * + /** + * . * @return allowViewHistory - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAllowViewHistory() { return allowViewHistory; } + /** + * setAllowViewHistory. + **/ public void setAllowViewHistory(String allowViewHistory) { this.allowViewHistory = allowViewHistory; } + + /** + * asynchronous. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult asynchronous(String asynchronous) { this.asynchronous = asynchronous; return this; } - /** - * When set to **true**, the envelope is queued for processing and the value of the `status` property is set to 'Processing'. Additionally, get status calls return 'Processing' until completed. + /** + * When set to **true**, the envelope is queued for processing and the value of the `status` property is set to 'Processing'. Additionally, get status calls return 'Processing' until completed.. * @return asynchronous - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the envelope is queued for processing and the value of the `status` property is set to 'Processing'. Additionally, get status calls return 'Processing' until completed.") + **/ + @ApiModelProperty(value = "When set to **true**, the envelope is queued for processing and the value of the `status` property is set to 'Processing'. Additionally, get status calls return 'Processing' until completed.") public String getAsynchronous() { return asynchronous; } + /** + * setAsynchronous. + **/ public void setAsynchronous(String asynchronous) { this.asynchronous = asynchronous; } + + /** + * attachmentsUri. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult attachmentsUri(String attachmentsUri) { this.attachmentsUri = attachmentsUri; return this; } - /** - * + /** + * . * @return attachmentsUri - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAttachmentsUri() { return attachmentsUri; } + /** + * setAttachmentsUri. + **/ public void setAttachmentsUri(String attachmentsUri) { this.attachmentsUri = attachmentsUri; } + + /** + * authoritativeCopy. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult authoritativeCopy(String authoritativeCopy) { this.authoritativeCopy = authoritativeCopy; return this; } - /** - * Specifies the Authoritative copy feature. If set to true the Authoritative copy feature is enabled. + /** + * Specifies the Authoritative copy feature. If set to true the Authoritative copy feature is enabled.. * @return authoritativeCopy - **/ - @ApiModelProperty(example = "null", value = "Specifies the Authoritative copy feature. If set to true the Authoritative copy feature is enabled.") + **/ + @ApiModelProperty(value = "Specifies the Authoritative copy feature. If set to true the Authoritative copy feature is enabled.") public String getAuthoritativeCopy() { return authoritativeCopy; } + /** + * setAuthoritativeCopy. + **/ public void setAuthoritativeCopy(String authoritativeCopy) { this.authoritativeCopy = authoritativeCopy; } + + /** + * authoritativeCopyDefault. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult authoritativeCopyDefault(String authoritativeCopyDefault) { this.authoritativeCopyDefault = authoritativeCopyDefault; return this; } - /** - * + /** + * . * @return authoritativeCopyDefault - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAuthoritativeCopyDefault() { return authoritativeCopyDefault; } + /** + * setAuthoritativeCopyDefault. + **/ public void setAuthoritativeCopyDefault(String authoritativeCopyDefault) { this.authoritativeCopyDefault = authoritativeCopyDefault; } + + /** + * autoNavigation. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult autoNavigation(String autoNavigation) { this.autoNavigation = autoNavigation; return this; } - /** - * + /** + * . * @return autoNavigation - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAutoNavigation() { return autoNavigation; } + /** + * setAutoNavigation. + **/ public void setAutoNavigation(String autoNavigation) { this.autoNavigation = autoNavigation; } + + /** + * brandId. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult brandId(String brandId) { this.brandId = brandId; return this; } - /** - * + /** + * . * @return brandId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getBrandId() { return brandId; } + /** + * setBrandId. + **/ public void setBrandId(String brandId) { this.brandId = brandId; } + + /** + * brandLock. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult brandLock(String brandLock) { this.brandLock = brandLock; return this; } - /** - * + /** + * . * @return brandLock - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getBrandLock() { return brandLock; } + /** + * setBrandLock. + **/ public void setBrandLock(String brandLock) { this.brandLock = brandLock; } + + /** + * certificateUri. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult certificateUri(String certificateUri) { this.certificateUri = certificateUri; return this; } - /** - * Retrieves a URI for an endpoint that allows you to easily retrieve certificate information. + /** + * Retrieves a URI for an endpoint that allows you to easily retrieve certificate information.. * @return certificateUri - **/ - @ApiModelProperty(example = "null", value = "Retrieves a URI for an endpoint that allows you to easily retrieve certificate information.") + **/ + @ApiModelProperty(value = "Retrieves a URI for an endpoint that allows you to easily retrieve certificate information.") public String getCertificateUri() { return certificateUri; } + /** + * setCertificateUri. + **/ public void setCertificateUri(String certificateUri) { this.certificateUri = certificateUri; } + + /** + * completedDateTime. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult completedDateTime(String completedDateTime) { this.completedDateTime = completedDateTime; return this; } - /** - * Specifies the date and time this item was completed. + /** + * Specifies the date and time this item was completed.. * @return completedDateTime - **/ - @ApiModelProperty(example = "null", value = "Specifies the date and time this item was completed.") + **/ + @ApiModelProperty(value = "Specifies the date and time this item was completed.") public String getCompletedDateTime() { return completedDateTime; } + /** + * setCompletedDateTime. + **/ public void setCompletedDateTime(String completedDateTime) { this.completedDateTime = completedDateTime; } + + /** + * copyRecipientData. + * + * @return EnvelopeTemplateResult + **/ + public EnvelopeTemplateResult copyRecipientData(String copyRecipientData) { + this.copyRecipientData = copyRecipientData; + return this; + } + + /** + * . + * @return copyRecipientData + **/ + @ApiModelProperty(value = "") + public String getCopyRecipientData() { + return copyRecipientData; + } + + /** + * setCopyRecipientData. + **/ + public void setCopyRecipientData(String copyRecipientData) { + this.copyRecipientData = copyRecipientData; + } + + + /** + * created. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult created(String created) { this.created = created; return this; } - /** - * + /** + * . * @return created - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getCreated() { return created; } + /** + * setCreated. + **/ public void setCreated(String created) { this.created = created; } + + /** + * createdDateTime. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult createdDateTime(String createdDateTime) { this.createdDateTime = createdDateTime; return this; } - /** - * Indicates the date and time the item was created. + /** + * Indicates the date and time the item was created.. * @return createdDateTime - **/ - @ApiModelProperty(example = "null", value = "Indicates the date and time the item was created.") + **/ + @ApiModelProperty(value = "Indicates the date and time the item was created.") public String getCreatedDateTime() { return createdDateTime; } + /** + * setCreatedDateTime. + **/ public void setCreatedDateTime(String createdDateTime) { this.createdDateTime = createdDateTime; } + + /** + * customFields. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult customFields(CustomFields customFields) { this.customFields = customFields; return this; } - /** - * Get customFields + /** + * Get customFields. * @return customFields - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public CustomFields getCustomFields() { return customFields; } + /** + * setCustomFields. + **/ public void setCustomFields(CustomFields customFields) { this.customFields = customFields; } + + /** + * customFieldsUri. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult customFieldsUri(String customFieldsUri) { this.customFieldsUri = customFieldsUri; return this; } - /** - * Contains a URI for an endpoint that you can use to retrieve the custom fields. + /** + * Contains a URI for an endpoint that you can use to retrieve the custom fields.. * @return customFieldsUri - **/ - @ApiModelProperty(example = "null", value = "Contains a URI for an endpoint that you can use to retrieve the custom fields.") + **/ + @ApiModelProperty(value = "Contains a URI for an endpoint that you can use to retrieve the custom fields.") public String getCustomFieldsUri() { return customFieldsUri; } + /** + * setCustomFieldsUri. + **/ public void setCustomFieldsUri(String customFieldsUri) { this.customFieldsUri = customFieldsUri; } + + /** + * declinedDateTime. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult declinedDateTime(String declinedDateTime) { this.declinedDateTime = declinedDateTime; return this; } - /** - * The date and time the recipient declined the document. + /** + * The date and time the recipient declined the document.. * @return declinedDateTime - **/ - @ApiModelProperty(example = "null", value = "The date and time the recipient declined the document.") + **/ + @ApiModelProperty(value = "The date and time the recipient declined the document.") public String getDeclinedDateTime() { return declinedDateTime; } + /** + * setDeclinedDateTime. + **/ public void setDeclinedDateTime(String declinedDateTime) { this.declinedDateTime = declinedDateTime; } + + /** + * deletedDateTime. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult deletedDateTime(String deletedDateTime) { this.deletedDateTime = deletedDateTime; return this; } - /** - * Specifies the data and time the item was deleted. + /** + * Specifies the data and time the item was deleted.. * @return deletedDateTime - **/ - @ApiModelProperty(example = "null", value = "Specifies the data and time the item was deleted.") + **/ + @ApiModelProperty(value = "Specifies the data and time the item was deleted.") public String getDeletedDateTime() { return deletedDateTime; } + /** + * setDeletedDateTime. + **/ public void setDeletedDateTime(String deletedDateTime) { this.deletedDateTime = deletedDateTime; } + + /** + * deliveredDateTime. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult deliveredDateTime(String deliveredDateTime) { this.deliveredDateTime = deliveredDateTime; return this; } - /** - * Reserved: For DocuSign use only. + /** + * Reserved: For DocuSign use only.. * @return deliveredDateTime - **/ - @ApiModelProperty(example = "null", value = "Reserved: For DocuSign use only.") + **/ + @ApiModelProperty(value = "Reserved: For DocuSign use only.") public String getDeliveredDateTime() { return deliveredDateTime; } + /** + * setDeliveredDateTime. + **/ public void setDeliveredDateTime(String deliveredDateTime) { this.deliveredDateTime = deliveredDateTime; } + + /** + * description. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult description(String description) { this.description = description; return this; } - /** - * + /** + * . * @return description - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getDescription() { return description; } + /** + * setDescription. + **/ public void setDescription(String description) { this.description = description; } + + /** + * disableResponsiveDocument. + * + * @return EnvelopeTemplateResult + **/ + public EnvelopeTemplateResult disableResponsiveDocument(String disableResponsiveDocument) { + this.disableResponsiveDocument = disableResponsiveDocument; + return this; + } + + /** + * . + * @return disableResponsiveDocument + **/ + @ApiModelProperty(value = "") + public String getDisableResponsiveDocument() { + return disableResponsiveDocument; + } + + /** + * setDisableResponsiveDocument. + **/ + public void setDisableResponsiveDocument(String disableResponsiveDocument) { + this.disableResponsiveDocument = disableResponsiveDocument; + } + + + /** + * documents. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult documents(java.util.List documents) { this.documents = documents; return this; } - + + /** + * addDocumentsItem. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult addDocumentsItem(Document documentsItem) { + if (this.documents == null) { + this.documents = new java.util.ArrayList(); + } this.documents.add(documentsItem); return this; } - /** - * Complex element contains the details on the documents in the envelope. + /** + * Complex element contains the details on the documents in the envelope.. * @return documents - **/ - @ApiModelProperty(example = "null", value = "Complex element contains the details on the documents in the envelope.") + **/ + @ApiModelProperty(value = "Complex element contains the details on the documents in the envelope.") public java.util.List getDocuments() { return documents; } + /** + * setDocuments. + **/ public void setDocuments(java.util.List documents) { this.documents = documents; } + + /** + * documentsCombinedUri. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult documentsCombinedUri(String documentsCombinedUri) { this.documentsCombinedUri = documentsCombinedUri; return this; } - /** - * + /** + * . * @return documentsCombinedUri - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getDocumentsCombinedUri() { return documentsCombinedUri; } + /** + * setDocumentsCombinedUri. + **/ public void setDocumentsCombinedUri(String documentsCombinedUri) { this.documentsCombinedUri = documentsCombinedUri; } + + /** + * documentsUri. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult documentsUri(String documentsUri) { this.documentsUri = documentsUri; return this; } - /** - * Contains a URI for an endpoint that you can use to retrieve the documents. + /** + * Contains a URI for an endpoint that you can use to retrieve the documents.. * @return documentsUri - **/ - @ApiModelProperty(example = "null", value = "Contains a URI for an endpoint that you can use to retrieve the documents.") + **/ + @ApiModelProperty(value = "Contains a URI for an endpoint that you can use to retrieve the documents.") public String getDocumentsUri() { return documentsUri; } + /** + * setDocumentsUri. + **/ public void setDocumentsUri(String documentsUri) { this.documentsUri = documentsUri; } + + /** + * emailBlurb. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult emailBlurb(String emailBlurb) { this.emailBlurb = emailBlurb; return this; } - /** - * + /** + * . * @return emailBlurb - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getEmailBlurb() { return emailBlurb; } + /** + * setEmailBlurb. + **/ public void setEmailBlurb(String emailBlurb) { this.emailBlurb = emailBlurb; } + + /** + * emailSettings. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult emailSettings(EmailSettings emailSettings) { this.emailSettings = emailSettings; return this; } - /** - * Get emailSettings + /** + * Get emailSettings. * @return emailSettings - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public EmailSettings getEmailSettings() { return emailSettings; } + /** + * setEmailSettings. + **/ public void setEmailSettings(EmailSettings emailSettings) { this.emailSettings = emailSettings; } + + /** + * emailSubject. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult emailSubject(String emailSubject) { this.emailSubject = emailSubject; return this; } - /** - * Specifies the subject of the email that is sent to all recipients. See [ML:Template Email Subject Merge Fields] for information about adding merge field information to the email subject. + /** + * Specifies the subject of the email that is sent to all recipients. See [ML:Template Email Subject Merge Fields] for information about adding merge field information to the email subject.. * @return emailSubject - **/ - @ApiModelProperty(example = "null", value = "Specifies the subject of the email that is sent to all recipients. See [ML:Template Email Subject Merge Fields] for information about adding merge field information to the email subject.") + **/ + @ApiModelProperty(value = "Specifies the subject of the email that is sent to all recipients. See [ML:Template Email Subject Merge Fields] for information about adding merge field information to the email subject.") public String getEmailSubject() { return emailSubject; } + /** + * setEmailSubject. + **/ public void setEmailSubject(String emailSubject) { this.emailSubject = emailSubject; } + + /** + * enableWetSign. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult enableWetSign(String enableWetSign) { this.enableWetSign = enableWetSign; return this; } - /** - * When set to **true**, the signer is allowed to print the document and sign it on paper. + /** + * When set to **true**, the signer is allowed to print the document and sign it on paper.. * @return enableWetSign - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the signer is allowed to print the document and sign it on paper.") + **/ + @ApiModelProperty(value = "When set to **true**, the signer is allowed to print the document and sign it on paper.") public String getEnableWetSign() { return enableWetSign; } + /** + * setEnableWetSign. + **/ public void setEnableWetSign(String enableWetSign) { this.enableWetSign = enableWetSign; } + + /** + * enforceSignerVisibility. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult enforceSignerVisibility(String enforceSignerVisibility) { this.enforceSignerVisibility = enforceSignerVisibility; return this; } - /** - * When set to **true**, documents with tabs can only be viewed by signers that have a tab on that document. Recipients that have an administrative role (Agent, Editor, or Intermediaries) or informational role (Certified Deliveries or Carbon Copies) can always see all the documents in an envelope, unless they are specifically excluded using this setting when an envelope is sent. Documents that do not have tabs are always visible to all recipients, unless they are specifically excluded using this setting when an envelope is sent. Your account must have Document Visibility enabled to use this. + /** + * When set to **true**, documents with tabs can only be viewed by signers that have a tab on that document. Recipients that have an administrative role (Agent, Editor, or Intermediaries) or informational role (Certified Deliveries or Carbon Copies) can always see all the documents in an envelope, unless they are specifically excluded using this setting when an envelope is sent. Documents that do not have tabs are always visible to all recipients, unless they are specifically excluded using this setting when an envelope is sent. Your account must have Document Visibility enabled to use this.. * @return enforceSignerVisibility - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, documents with tabs can only be viewed by signers that have a tab on that document. Recipients that have an administrative role (Agent, Editor, or Intermediaries) or informational role (Certified Deliveries or Carbon Copies) can always see all the documents in an envelope, unless they are specifically excluded using this setting when an envelope is sent. Documents that do not have tabs are always visible to all recipients, unless they are specifically excluded using this setting when an envelope is sent. Your account must have Document Visibility enabled to use this.") + **/ + @ApiModelProperty(value = "When set to **true**, documents with tabs can only be viewed by signers that have a tab on that document. Recipients that have an administrative role (Agent, Editor, or Intermediaries) or informational role (Certified Deliveries or Carbon Copies) can always see all the documents in an envelope, unless they are specifically excluded using this setting when an envelope is sent. Documents that do not have tabs are always visible to all recipients, unless they are specifically excluded using this setting when an envelope is sent. Your account must have Document Visibility enabled to use this.") public String getEnforceSignerVisibility() { return enforceSignerVisibility; } + /** + * setEnforceSignerVisibility. + **/ public void setEnforceSignerVisibility(String enforceSignerVisibility) { this.enforceSignerVisibility = enforceSignerVisibility; } + + /** + * envelopeId. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult envelopeId(String envelopeId) { this.envelopeId = envelopeId; return this; } - /** - * The envelope ID of the envelope status that failed to post. + /** + * The envelope ID of the envelope status that failed to post.. * @return envelopeId - **/ - @ApiModelProperty(example = "null", value = "The envelope ID of the envelope status that failed to post.") + **/ + @ApiModelProperty(value = "The envelope ID of the envelope status that failed to post.") public String getEnvelopeId() { return envelopeId; } + /** + * setEnvelopeId. + **/ public void setEnvelopeId(String envelopeId) { this.envelopeId = envelopeId; } + + /** + * envelopeIdStamping. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult envelopeIdStamping(String envelopeIdStamping) { this.envelopeIdStamping = envelopeIdStamping; return this; } - /** - * When set to **true**, Envelope ID Stamping is enabled. + /** + * When set to **true**, Envelope ID Stamping is enabled.. * @return envelopeIdStamping - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, Envelope ID Stamping is enabled.") + **/ + @ApiModelProperty(value = "When set to **true**, Envelope ID Stamping is enabled.") public String getEnvelopeIdStamping() { return envelopeIdStamping; } + /** + * setEnvelopeIdStamping. + **/ public void setEnvelopeIdStamping(String envelopeIdStamping) { this.envelopeIdStamping = envelopeIdStamping; } + + /** + * envelopeUri. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult envelopeUri(String envelopeUri) { this.envelopeUri = envelopeUri; return this; } - /** - * Contains a URI for an endpoint that you can use to retrieve the envelope or envelopes. + /** + * Contains a URI for an endpoint that you can use to retrieve the envelope or envelopes.. * @return envelopeUri - **/ - @ApiModelProperty(example = "null", value = "Contains a URI for an endpoint that you can use to retrieve the envelope or envelopes.") + **/ + @ApiModelProperty(value = "Contains a URI for an endpoint that you can use to retrieve the envelope or envelopes.") public String getEnvelopeUri() { return envelopeUri; } + /** + * setEnvelopeUri. + **/ public void setEnvelopeUri(String envelopeUri) { this.envelopeUri = envelopeUri; } + + /** + * folderId. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult folderId(String folderId) { this.folderId = folderId; return this; } - /** - * + /** + * . * @return folderId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getFolderId() { return folderId; } + /** + * setFolderId. + **/ public void setFolderId(String folderId) { this.folderId = folderId; } + + /** + * folderName. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult folderName(String folderName) { this.folderName = folderName; return this; } - /** - * + /** + * . * @return folderName - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getFolderName() { return folderName; } + /** + * setFolderName. + **/ public void setFolderName(String folderName) { this.folderName = folderName; } + + /** + * folderUri. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult folderUri(String folderUri) { this.folderUri = folderUri; return this; } - /** - * + /** + * . * @return folderUri - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getFolderUri() { return folderUri; } + /** + * setFolderUri. + **/ public void setFolderUri(String folderUri) { this.folderUri = folderUri; } + + /** + * initialSentDateTime. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult initialSentDateTime(String initialSentDateTime) { this.initialSentDateTime = initialSentDateTime; return this; } - /** - * + /** + * . * @return initialSentDateTime - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getInitialSentDateTime() { return initialSentDateTime; } + /** + * setInitialSentDateTime. + **/ public void setInitialSentDateTime(String initialSentDateTime) { this.initialSentDateTime = initialSentDateTime; } + + /** + * is21CFRPart11. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult is21CFRPart11(String is21CFRPart11) { this.is21CFRPart11 = is21CFRPart11; return this; } - /** - * When set to **true**, indicates that this module is enabled on the account. + /** + * When set to **true**, indicates that this module is enabled on the account.. * @return is21CFRPart11 - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, indicates that this module is enabled on the account.") + **/ + @ApiModelProperty(value = "When set to **true**, indicates that this module is enabled on the account.") public String getIs21CFRPart11() { return is21CFRPart11; } + /** + * setIs21CFRPart11. + **/ public void setIs21CFRPart11(String is21CFRPart11) { this.is21CFRPart11 = is21CFRPart11; } + + /** + * isSignatureProviderEnvelope. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult isSignatureProviderEnvelope(String isSignatureProviderEnvelope) { this.isSignatureProviderEnvelope = isSignatureProviderEnvelope; return this; } - /** - * + /** + * . * @return isSignatureProviderEnvelope - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getIsSignatureProviderEnvelope() { return isSignatureProviderEnvelope; } + /** + * setIsSignatureProviderEnvelope. + **/ public void setIsSignatureProviderEnvelope(String isSignatureProviderEnvelope) { this.isSignatureProviderEnvelope = isSignatureProviderEnvelope; } + + /** + * lastModified. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult lastModified(String lastModified) { this.lastModified = lastModified; return this; } - /** - * + /** + * . * @return lastModified - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getLastModified() { return lastModified; } + /** + * setLastModified. + **/ public void setLastModified(String lastModified) { this.lastModified = lastModified; } + + /** + * lastModifiedDateTime. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult lastModifiedDateTime(String lastModifiedDateTime) { this.lastModifiedDateTime = lastModifiedDateTime; return this; } - /** - * The date and time the item was last modified. + /** + * The date and time the item was last modified.. * @return lastModifiedDateTime - **/ - @ApiModelProperty(example = "null", value = "The date and time the item was last modified.") + **/ + @ApiModelProperty(value = "The date and time the item was last modified.") public String getLastModifiedDateTime() { return lastModifiedDateTime; } + /** + * setLastModifiedDateTime. + **/ public void setLastModifiedDateTime(String lastModifiedDateTime) { this.lastModifiedDateTime = lastModifiedDateTime; } + + /** + * lockInformation. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult lockInformation(LockInformation lockInformation) { this.lockInformation = lockInformation; return this; } - /** - * Get lockInformation + /** + * Get lockInformation. * @return lockInformation - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public LockInformation getLockInformation() { return lockInformation; } + /** + * setLockInformation. + **/ public void setLockInformation(LockInformation lockInformation) { this.lockInformation = lockInformation; } + + /** + * messageLock. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult messageLock(String messageLock) { this.messageLock = messageLock; return this; } - /** - * When set to **true**, prevents senders from changing the contents of `emailBlurb` and `emailSubject` properties for the envelope. Additionally, this prevents users from making changes to the contents of `emailBlurb` and `emailSubject` properties when correcting envelopes. However, if the `messageLock` node is set to true**** and the `emailSubject` property is empty, senders and correctors are able to add a subject to the envelope. + /** + * When set to **true**, prevents senders from changing the contents of `emailBlurb` and `emailSubject` properties for the envelope. Additionally, this prevents users from making changes to the contents of `emailBlurb` and `emailSubject` properties when correcting envelopes. However, if the `messageLock` node is set to true**** and the `emailSubject` property is empty, senders and correctors are able to add a subject to the envelope.. * @return messageLock - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, prevents senders from changing the contents of `emailBlurb` and `emailSubject` properties for the envelope. Additionally, this prevents users from making changes to the contents of `emailBlurb` and `emailSubject` properties when correcting envelopes. However, if the `messageLock` node is set to true**** and the `emailSubject` property is empty, senders and correctors are able to add a subject to the envelope.") + **/ + @ApiModelProperty(value = "When set to **true**, prevents senders from changing the contents of `emailBlurb` and `emailSubject` properties for the envelope. Additionally, this prevents users from making changes to the contents of `emailBlurb` and `emailSubject` properties when correcting envelopes. However, if the `messageLock` node is set to true**** and the `emailSubject` property is empty, senders and correctors are able to add a subject to the envelope.") public String getMessageLock() { return messageLock; } + /** + * setMessageLock. + **/ public void setMessageLock(String messageLock) { this.messageLock = messageLock; } + + /** + * name. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult name(String name) { this.name = name; return this; } - /** - * + /** + * . * @return name - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * notification. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult notification(Notification notification) { this.notification = notification; return this; } - /** - * Get notification + /** + * Get notification. * @return notification - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public Notification getNotification() { return notification; } + /** + * setNotification. + **/ public void setNotification(Notification notification) { this.notification = notification; } + + /** + * notificationUri. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult notificationUri(String notificationUri) { this.notificationUri = notificationUri; return this; } - /** - * Contains a URI for an endpoint that you can use to retrieve the notifications. + /** + * Contains a URI for an endpoint that you can use to retrieve the notifications.. * @return notificationUri - **/ - @ApiModelProperty(example = "null", value = "Contains a URI for an endpoint that you can use to retrieve the notifications.") + **/ + @ApiModelProperty(value = "Contains a URI for an endpoint that you can use to retrieve the notifications.") public String getNotificationUri() { return notificationUri; } + /** + * setNotificationUri. + **/ public void setNotificationUri(String notificationUri) { this.notificationUri = notificationUri; } + + /** + * owner. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult owner(UserInfo owner) { this.owner = owner; return this; } - /** - * Get owner + /** + * Get owner. * @return owner - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public UserInfo getOwner() { return owner; } + /** + * setOwner. + **/ public void setOwner(UserInfo owner) { this.owner = owner; } + + /** + * pageCount. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult pageCount(Integer pageCount) { this.pageCount = pageCount; return this; } - /** - * + /** + * . * @return pageCount - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public Integer getPageCount() { return pageCount; } + /** + * setPageCount. + **/ public void setPageCount(Integer pageCount) { this.pageCount = pageCount; } + + /** + * parentFolderUri. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult parentFolderUri(String parentFolderUri) { this.parentFolderUri = parentFolderUri; return this; } - /** - * + /** + * . * @return parentFolderUri - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getParentFolderUri() { return parentFolderUri; } + /** + * setParentFolderUri. + **/ public void setParentFolderUri(String parentFolderUri) { this.parentFolderUri = parentFolderUri; } + + /** + * password. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult password(String password) { this.password = password; return this; } - /** - * + /** + * . * @return password - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPassword() { return password; } + /** + * setPassword. + **/ public void setPassword(String password) { this.password = password; } + + /** + * purgeState. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult purgeState(String purgeState) { this.purgeState = purgeState; return this; } - /** - * + /** + * . * @return purgeState - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPurgeState() { return purgeState; } + /** + * setPurgeState. + **/ public void setPurgeState(String purgeState) { this.purgeState = purgeState; } + + /** + * recipients. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult recipients(Recipients recipients) { this.recipients = recipients; return this; } - /** - * Get recipients + /** + * Get recipients. * @return recipients - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public Recipients getRecipients() { return recipients; } + /** + * setRecipients. + **/ public void setRecipients(Recipients recipients) { this.recipients = recipients; } + + /** + * recipientsLock. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult recipientsLock(String recipientsLock) { this.recipientsLock = recipientsLock; return this; } - /** - * When set to **true**, prevents senders from changing, correcting, or deleting the recipient information for the envelope. + /** + * When set to **true**, prevents senders from changing, correcting, or deleting the recipient information for the envelope.. * @return recipientsLock - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, prevents senders from changing, correcting, or deleting the recipient information for the envelope.") + **/ + @ApiModelProperty(value = "When set to **true**, prevents senders from changing, correcting, or deleting the recipient information for the envelope.") public String getRecipientsLock() { return recipientsLock; } + /** + * setRecipientsLock. + **/ public void setRecipientsLock(String recipientsLock) { this.recipientsLock = recipientsLock; } + + /** + * recipientsUri. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult recipientsUri(String recipientsUri) { this.recipientsUri = recipientsUri; return this; } - /** - * Contains a URI for an endpoint that you can use to retrieve the recipients. + /** + * Contains a URI for an endpoint that you can use to retrieve the recipients.. * @return recipientsUri - **/ - @ApiModelProperty(example = "null", value = "Contains a URI for an endpoint that you can use to retrieve the recipients.") + **/ + @ApiModelProperty(value = "Contains a URI for an endpoint that you can use to retrieve the recipients.") public String getRecipientsUri() { return recipientsUri; } + /** + * setRecipientsUri. + **/ public void setRecipientsUri(String recipientsUri) { this.recipientsUri = recipientsUri; } + + /** + * sentDateTime. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult sentDateTime(String sentDateTime) { this.sentDateTime = sentDateTime; return this; } - /** - * The date and time the envelope was sent. + /** + * The date and time the envelope was sent.. * @return sentDateTime - **/ - @ApiModelProperty(example = "null", value = "The date and time the envelope was sent.") + **/ + @ApiModelProperty(value = "The date and time the envelope was sent.") public String getSentDateTime() { return sentDateTime; } + /** + * setSentDateTime. + **/ public void setSentDateTime(String sentDateTime) { this.sentDateTime = sentDateTime; } + + /** + * shared. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult shared(String shared) { this.shared = shared; return this; } - /** - * When set to **true**, this custom tab is shared. + /** + * When set to **true**, this custom tab is shared.. * @return shared - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, this custom tab is shared.") + **/ + @ApiModelProperty(value = "When set to **true**, this custom tab is shared.") public String getShared() { return shared; } + /** + * setShared. + **/ public void setShared(String shared) { this.shared = shared; } + + /** + * signerCanSignOnMobile. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult signerCanSignOnMobile(String signerCanSignOnMobile) { this.signerCanSignOnMobile = signerCanSignOnMobile; return this; } - /** - * + /** + * . * @return signerCanSignOnMobile - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSignerCanSignOnMobile() { return signerCanSignOnMobile; } + /** + * setSignerCanSignOnMobile. + **/ public void setSignerCanSignOnMobile(String signerCanSignOnMobile) { this.signerCanSignOnMobile = signerCanSignOnMobile; } + + /** + * signingLocation. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult signingLocation(String signingLocation) { this.signingLocation = signingLocation; return this; } - /** - * Specifies the physical location where the signing takes place. It can have two enumeration values; InPerson and Online. The default value is Online. + /** + * Specifies the physical location where the signing takes place. It can have two enumeration values; InPerson and Online. The default value is Online.. * @return signingLocation - **/ - @ApiModelProperty(example = "null", value = "Specifies the physical location where the signing takes place. It can have two enumeration values; InPerson and Online. The default value is Online.") + **/ + @ApiModelProperty(value = "Specifies the physical location where the signing takes place. It can have two enumeration values; InPerson and Online. The default value is Online.") public String getSigningLocation() { return signingLocation; } + /** + * setSigningLocation. + **/ public void setSigningLocation(String signingLocation) { this.signingLocation = signingLocation; } + + /** + * status. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult status(String status) { this.status = status; return this; } - /** - * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. + /** + * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.. * @return status - **/ - @ApiModelProperty(example = "null", value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") + **/ + @ApiModelProperty(value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") public String getStatus() { return status; } + /** + * setStatus. + **/ public void setStatus(String status) { this.status = status; } + + /** + * statusChangedDateTime. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult statusChangedDateTime(String statusChangedDateTime) { this.statusChangedDateTime = statusChangedDateTime; return this; } - /** - * The data and time the status changed. + /** + * The data and time the status changed.. * @return statusChangedDateTime - **/ - @ApiModelProperty(example = "null", value = "The data and time the status changed.") + **/ + @ApiModelProperty(value = "The data and time the status changed.") public String getStatusChangedDateTime() { return statusChangedDateTime; } + /** + * setStatusChangedDateTime. + **/ public void setStatusChangedDateTime(String statusChangedDateTime) { this.statusChangedDateTime = statusChangedDateTime; } + + /** + * templateId. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult templateId(String templateId) { this.templateId = templateId; return this; } - /** - * The unique identifier of the template. If this is not provided, DocuSign will generate a value. + /** + * The unique identifier of the template. If this is not provided, DocuSign will generate a value. . * @return templateId - **/ - @ApiModelProperty(example = "null", value = "The unique identifier of the template. If this is not provided, DocuSign will generate a value. ") + **/ + @ApiModelProperty(value = "The unique identifier of the template. If this is not provided, DocuSign will generate a value. ") public String getTemplateId() { return templateId; } + /** + * setTemplateId. + **/ public void setTemplateId(String templateId) { this.templateId = templateId; } + + /** + * templatesUri. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult templatesUri(String templatesUri) { this.templatesUri = templatesUri; return this; } - /** - * Contains a URI for an endpoint which you can use to retrieve the templates. + /** + * Contains a URI for an endpoint which you can use to retrieve the templates.. * @return templatesUri - **/ - @ApiModelProperty(example = "null", value = "Contains a URI for an endpoint which you can use to retrieve the templates.") + **/ + @ApiModelProperty(value = "Contains a URI for an endpoint which you can use to retrieve the templates.") public String getTemplatesUri() { return templatesUri; } + /** + * setTemplatesUri. + **/ public void setTemplatesUri(String templatesUri) { this.templatesUri = templatesUri; } + + /** + * transactionId. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult transactionId(String transactionId) { this.transactionId = transactionId; return this; } - /** - * Used to identify an envelope. The id is a sender-generated value and is valid in the DocuSign system for 7 days. It is recommended that a transaction ID is used for offline signing to ensure that an envelope is not sent multiple times. The `transactionId` property can be used determine an envelope's status (i.e. was it created or not) in cases where the internet connection was lost before the envelope status was returned. + /** + * Used to identify an envelope. The id is a sender-generated value and is valid in the DocuSign system for 7 days. It is recommended that a transaction ID is used for offline signing to ensure that an envelope is not sent multiple times. The `transactionId` property can be used determine an envelope's status (i.e. was it created or not) in cases where the internet connection was lost before the envelope status was returned.. * @return transactionId - **/ - @ApiModelProperty(example = "null", value = " Used to identify an envelope. The id is a sender-generated value and is valid in the DocuSign system for 7 days. It is recommended that a transaction ID is used for offline signing to ensure that an envelope is not sent multiple times. The `transactionId` property can be used determine an envelope's status (i.e. was it created or not) in cases where the internet connection was lost before the envelope status was returned.") + **/ + @ApiModelProperty(value = " Used to identify an envelope. The id is a sender-generated value and is valid in the DocuSign system for 7 days. It is recommended that a transaction ID is used for offline signing to ensure that an envelope is not sent multiple times. The `transactionId` property can be used determine an envelope's status (i.e. was it created or not) in cases where the internet connection was lost before the envelope status was returned.") public String getTransactionId() { return transactionId; } + /** + * setTransactionId. + **/ public void setTransactionId(String transactionId) { this.transactionId = transactionId; } + + /** + * uri. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult uri(String uri) { this.uri = uri; return this; } - /** - * + /** + * . * @return uri - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getUri() { return uri; } + /** + * setUri. + **/ public void setUri(String uri) { this.uri = uri; } + + /** + * useDisclosure. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult useDisclosure(String useDisclosure) { this.useDisclosure = useDisclosure; return this; } - /** - * When set to **true**, the disclosure is shown to recipients in accordance with the account's Electronic Record and Signature Disclosure frequency setting. When set to **false**, the Electronic Record and Signature Disclosure is not shown to any envelope recipients. If the `useDisclosure` property is not set, then the account's normal disclosure setting is used and the value of the `useDisclosure` property is not returned in responses when getting envelope information. + /** + * When set to **true**, the disclosure is shown to recipients in accordance with the account's Electronic Record and Signature Disclosure frequency setting. When set to **false**, the Electronic Record and Signature Disclosure is not shown to any envelope recipients. If the `useDisclosure` property is not set, then the account's normal disclosure setting is used and the value of the `useDisclosure` property is not returned in responses when getting envelope information.. * @return useDisclosure - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the disclosure is shown to recipients in accordance with the account's Electronic Record and Signature Disclosure frequency setting. When set to **false**, the Electronic Record and Signature Disclosure is not shown to any envelope recipients. If the `useDisclosure` property is not set, then the account's normal disclosure setting is used and the value of the `useDisclosure` property is not returned in responses when getting envelope information.") + **/ + @ApiModelProperty(value = "When set to **true**, the disclosure is shown to recipients in accordance with the account's Electronic Record and Signature Disclosure frequency setting. When set to **false**, the Electronic Record and Signature Disclosure is not shown to any envelope recipients. If the `useDisclosure` property is not set, then the account's normal disclosure setting is used and the value of the `useDisclosure` property is not returned in responses when getting envelope information.") public String getUseDisclosure() { return useDisclosure; } + /** + * setUseDisclosure. + **/ public void setUseDisclosure(String useDisclosure) { this.useDisclosure = useDisclosure; } + + /** + * voidedDateTime. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult voidedDateTime(String voidedDateTime) { this.voidedDateTime = voidedDateTime; return this; } - /** - * The date and time the envelope or template was voided. + /** + * The date and time the envelope or template was voided.. * @return voidedDateTime - **/ - @ApiModelProperty(example = "null", value = "The date and time the envelope or template was voided.") + **/ + @ApiModelProperty(value = "The date and time the envelope or template was voided.") public String getVoidedDateTime() { return voidedDateTime; } + /** + * setVoidedDateTime. + **/ public void setVoidedDateTime(String voidedDateTime) { this.voidedDateTime = voidedDateTime; } + + /** + * voidedReason. + * + * @return EnvelopeTemplateResult + **/ public EnvelopeTemplateResult voidedReason(String voidedReason) { this.voidedReason = voidedReason; return this; } - /** - * The reason the envelope or template was voided. + /** + * The reason the envelope or template was voided.. * @return voidedReason - **/ - @ApiModelProperty(example = "null", value = "The reason the envelope or template was voided.") + **/ + @ApiModelProperty(value = "The reason the envelope or template was voided.") public String getVoidedReason() { return voidedReason; } + /** + * setVoidedReason. + **/ public void setVoidedReason(String voidedReason) { this.voidedReason = voidedReason; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -1410,6 +2071,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.brandLock, envelopeTemplateResult.brandLock) && Objects.equals(this.certificateUri, envelopeTemplateResult.certificateUri) && Objects.equals(this.completedDateTime, envelopeTemplateResult.completedDateTime) && + Objects.equals(this.copyRecipientData, envelopeTemplateResult.copyRecipientData) && Objects.equals(this.created, envelopeTemplateResult.created) && Objects.equals(this.createdDateTime, envelopeTemplateResult.createdDateTime) && Objects.equals(this.customFields, envelopeTemplateResult.customFields) && @@ -1418,6 +2080,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.deletedDateTime, envelopeTemplateResult.deletedDateTime) && Objects.equals(this.deliveredDateTime, envelopeTemplateResult.deliveredDateTime) && Objects.equals(this.description, envelopeTemplateResult.description) && + Objects.equals(this.disableResponsiveDocument, envelopeTemplateResult.disableResponsiveDocument) && Objects.equals(this.documents, envelopeTemplateResult.documents) && Objects.equals(this.documentsCombinedUri, envelopeTemplateResult.documentsCombinedUri) && Objects.equals(this.documentsUri, envelopeTemplateResult.documentsUri) && @@ -1465,12 +2128,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.voidedReason, envelopeTemplateResult.voidedReason); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { - return Objects.hash(allowMarkup, allowReassign, allowViewHistory, asynchronous, attachmentsUri, authoritativeCopy, authoritativeCopyDefault, autoNavigation, brandId, brandLock, certificateUri, completedDateTime, created, createdDateTime, customFields, customFieldsUri, declinedDateTime, deletedDateTime, deliveredDateTime, description, documents, documentsCombinedUri, documentsUri, emailBlurb, emailSettings, emailSubject, enableWetSign, enforceSignerVisibility, envelopeId, envelopeIdStamping, envelopeUri, folderId, folderName, folderUri, initialSentDateTime, is21CFRPart11, isSignatureProviderEnvelope, lastModified, lastModifiedDateTime, lockInformation, messageLock, name, notification, notificationUri, owner, pageCount, parentFolderUri, password, purgeState, recipients, recipientsLock, recipientsUri, sentDateTime, shared, signerCanSignOnMobile, signingLocation, status, statusChangedDateTime, templateId, templatesUri, transactionId, uri, useDisclosure, voidedDateTime, voidedReason); + return Objects.hash(allowMarkup, allowReassign, allowViewHistory, asynchronous, attachmentsUri, authoritativeCopy, authoritativeCopyDefault, autoNavigation, brandId, brandLock, certificateUri, completedDateTime, copyRecipientData, created, createdDateTime, customFields, customFieldsUri, declinedDateTime, deletedDateTime, deliveredDateTime, description, disableResponsiveDocument, documents, documentsCombinedUri, documentsUri, emailBlurb, emailSettings, emailSubject, enableWetSign, enforceSignerVisibility, envelopeId, envelopeIdStamping, envelopeUri, folderId, folderName, folderUri, initialSentDateTime, is21CFRPart11, isSignatureProviderEnvelope, lastModified, lastModifiedDateTime, lockInformation, messageLock, name, notification, notificationUri, owner, pageCount, parentFolderUri, password, purgeState, recipients, recipientsLock, recipientsUri, sentDateTime, shared, signerCanSignOnMobile, signingLocation, status, statusChangedDateTime, templateId, templatesUri, transactionId, uri, useDisclosure, voidedDateTime, voidedReason); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -1488,6 +2157,7 @@ public String toString() { sb.append(" brandLock: ").append(toIndentedString(brandLock)).append("\n"); sb.append(" certificateUri: ").append(toIndentedString(certificateUri)).append("\n"); sb.append(" completedDateTime: ").append(toIndentedString(completedDateTime)).append("\n"); + sb.append(" copyRecipientData: ").append(toIndentedString(copyRecipientData)).append("\n"); sb.append(" created: ").append(toIndentedString(created)).append("\n"); sb.append(" createdDateTime: ").append(toIndentedString(createdDateTime)).append("\n"); sb.append(" customFields: ").append(toIndentedString(customFields)).append("\n"); @@ -1496,6 +2166,7 @@ public String toString() { sb.append(" deletedDateTime: ").append(toIndentedString(deletedDateTime)).append("\n"); sb.append(" deliveredDateTime: ").append(toIndentedString(deliveredDateTime)).append("\n"); sb.append(" description: ").append(toIndentedString(description)).append("\n"); + sb.append(" disableResponsiveDocument: ").append(toIndentedString(disableResponsiveDocument)).append("\n"); sb.append(" documents: ").append(toIndentedString(documents)).append("\n"); sb.append(" documentsCombinedUri: ").append(toIndentedString(documentsCombinedUri)).append("\n"); sb.append(" documentsUri: ").append(toIndentedString(documentsUri)).append("\n"); @@ -1555,6 +2226,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/EnvelopeTemplateResults.java b/src/main/java/com/docusign/esign/model/EnvelopeTemplateResults.java index cb9b6dc2..c29cf24d 100644 --- a/src/main/java/com/docusign/esign/model/EnvelopeTemplateResults.java +++ b/src/main/java/com/docusign/esign/model/EnvelopeTemplateResults.java @@ -1,15 +1,18 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.EnvelopeTemplateResult; import com.docusign.esign.model.Folder; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * EnvelopeTemplateResults + * EnvelopeTemplateResults. + * */ public class EnvelopeTemplateResults { @@ -17,10 +20,10 @@ public class EnvelopeTemplateResults { private String endPosition = null; @JsonProperty("envelopeTemplates") - private java.util.List envelopeTemplates = new java.util.ArrayList(); + private java.util.List envelopeTemplates = null; @JsonProperty("folders") - private java.util.List folders = new java.util.ArrayList(); + private java.util.List folders = null; @JsonProperty("nextUri") private String nextUri = null; @@ -37,161 +40,254 @@ public class EnvelopeTemplateResults { @JsonProperty("totalSetSize") private String totalSetSize = null; + + /** + * endPosition. + * + * @return EnvelopeTemplateResults + **/ public EnvelopeTemplateResults endPosition(String endPosition) { this.endPosition = endPosition; return this; } - /** - * The last position in the result set. + /** + * The last position in the result set. . * @return endPosition - **/ - @ApiModelProperty(example = "null", value = "The last position in the result set. ") + **/ + @ApiModelProperty(value = "The last position in the result set. ") public String getEndPosition() { return endPosition; } + /** + * setEndPosition. + **/ public void setEndPosition(String endPosition) { this.endPosition = endPosition; } + + /** + * envelopeTemplates. + * + * @return EnvelopeTemplateResults + **/ public EnvelopeTemplateResults envelopeTemplates(java.util.List envelopeTemplates) { this.envelopeTemplates = envelopeTemplates; return this; } - + + /** + * addEnvelopeTemplatesItem. + * + * @return EnvelopeTemplateResults + **/ public EnvelopeTemplateResults addEnvelopeTemplatesItem(EnvelopeTemplateResult envelopeTemplatesItem) { + if (this.envelopeTemplates == null) { + this.envelopeTemplates = new java.util.ArrayList(); + } this.envelopeTemplates.add(envelopeTemplatesItem); return this; } - /** - * The list of requested templates. + /** + * The list of requested templates.. * @return envelopeTemplates - **/ - @ApiModelProperty(example = "null", value = "The list of requested templates.") + **/ + @ApiModelProperty(value = "The list of requested templates.") public java.util.List getEnvelopeTemplates() { return envelopeTemplates; } + /** + * setEnvelopeTemplates. + **/ public void setEnvelopeTemplates(java.util.List envelopeTemplates) { this.envelopeTemplates = envelopeTemplates; } + + /** + * folders. + * + * @return EnvelopeTemplateResults + **/ public EnvelopeTemplateResults folders(java.util.List folders) { this.folders = folders; return this; } - + + /** + * addFoldersItem. + * + * @return EnvelopeTemplateResults + **/ public EnvelopeTemplateResults addFoldersItem(Folder foldersItem) { + if (this.folders == null) { + this.folders = new java.util.ArrayList(); + } this.folders.add(foldersItem); return this; } - /** - * + /** + * . * @return folders - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getFolders() { return folders; } + /** + * setFolders. + **/ public void setFolders(java.util.List folders) { this.folders = folders; } + + /** + * nextUri. + * + * @return EnvelopeTemplateResults + **/ public EnvelopeTemplateResults nextUri(String nextUri) { this.nextUri = nextUri; return this; } - /** - * The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. + /** + * The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. . * @return nextUri - **/ - @ApiModelProperty(example = "null", value = "The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. ") + **/ + @ApiModelProperty(value = "The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. ") public String getNextUri() { return nextUri; } + /** + * setNextUri. + **/ public void setNextUri(String nextUri) { this.nextUri = nextUri; } + + /** + * previousUri. + * + * @return EnvelopeTemplateResults + **/ public EnvelopeTemplateResults previousUri(String previousUri) { this.previousUri = previousUri; return this; } - /** - * The postal code for the billing address. + /** + * The postal code for the billing address.. * @return previousUri - **/ - @ApiModelProperty(example = "null", value = "The postal code for the billing address.") + **/ + @ApiModelProperty(value = "The postal code for the billing address.") public String getPreviousUri() { return previousUri; } + /** + * setPreviousUri. + **/ public void setPreviousUri(String previousUri) { this.previousUri = previousUri; } + + /** + * resultSetSize. + * + * @return EnvelopeTemplateResults + **/ public EnvelopeTemplateResults resultSetSize(String resultSetSize) { this.resultSetSize = resultSetSize; return this; } - /** - * The number of results returned in this response. + /** + * The number of results returned in this response. . * @return resultSetSize - **/ - @ApiModelProperty(example = "null", value = "The number of results returned in this response. ") + **/ + @ApiModelProperty(value = "The number of results returned in this response. ") public String getResultSetSize() { return resultSetSize; } + /** + * setResultSetSize. + **/ public void setResultSetSize(String resultSetSize) { this.resultSetSize = resultSetSize; } + + /** + * startPosition. + * + * @return EnvelopeTemplateResults + **/ public EnvelopeTemplateResults startPosition(String startPosition) { this.startPosition = startPosition; return this; } - /** - * Starting position of the current result set. + /** + * Starting position of the current result set.. * @return startPosition - **/ - @ApiModelProperty(example = "null", value = "Starting position of the current result set.") + **/ + @ApiModelProperty(value = "Starting position of the current result set.") public String getStartPosition() { return startPosition; } + /** + * setStartPosition. + **/ public void setStartPosition(String startPosition) { this.startPosition = startPosition; } + + /** + * totalSetSize. + * + * @return EnvelopeTemplateResults + **/ public EnvelopeTemplateResults totalSetSize(String totalSetSize) { this.totalSetSize = totalSetSize; return this; } - /** - * The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response. + /** + * The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.. * @return totalSetSize - **/ - @ApiModelProperty(example = "null", value = "The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.") + **/ + @ApiModelProperty(value = "The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.") public String getTotalSetSize() { return totalSetSize; } + /** + * setTotalSetSize. + **/ public void setTotalSetSize(String totalSetSize) { this.totalSetSize = totalSetSize; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -211,12 +307,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.totalSetSize, envelopeTemplateResults.totalSetSize); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(endPosition, envelopeTemplates, folders, nextUri, previousUri, resultSetSize, startPosition, totalSetSize); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -244,6 +346,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/EnvelopeTransactionStatus.java b/src/main/java/com/docusign/esign/model/EnvelopeTransactionStatus.java index d3ba421d..fbf171ee 100644 --- a/src/main/java/com/docusign/esign/model/EnvelopeTransactionStatus.java +++ b/src/main/java/com/docusign/esign/model/EnvelopeTransactionStatus.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ErrorDetails; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * EnvelopeTransactionStatus + * EnvelopeTransactionStatus. + * */ public class EnvelopeTransactionStatus { @@ -24,79 +27,120 @@ public class EnvelopeTransactionStatus { @JsonProperty("transactionId") private String transactionId = null; + + /** + * envelopeId. + * + * @return EnvelopeTransactionStatus + **/ public EnvelopeTransactionStatus envelopeId(String envelopeId) { this.envelopeId = envelopeId; return this; } - /** - * The envelope ID of the envelope status that failed to post. + /** + * The envelope ID of the envelope status that failed to post.. * @return envelopeId - **/ - @ApiModelProperty(example = "null", value = "The envelope ID of the envelope status that failed to post.") + **/ + @ApiModelProperty(value = "The envelope ID of the envelope status that failed to post.") public String getEnvelopeId() { return envelopeId; } + /** + * setEnvelopeId. + **/ public void setEnvelopeId(String envelopeId) { this.envelopeId = envelopeId; } + + /** + * errorDetails. + * + * @return EnvelopeTransactionStatus + **/ public EnvelopeTransactionStatus errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * status. + * + * @return EnvelopeTransactionStatus + **/ public EnvelopeTransactionStatus status(String status) { this.status = status; return this; } - /** - * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. + /** + * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.. * @return status - **/ - @ApiModelProperty(example = "null", value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") + **/ + @ApiModelProperty(value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") public String getStatus() { return status; } + /** + * setStatus. + **/ public void setStatus(String status) { this.status = status; } + + /** + * transactionId. + * + * @return EnvelopeTransactionStatus + **/ public EnvelopeTransactionStatus transactionId(String transactionId) { this.transactionId = transactionId; return this; } - /** - * Used to identify an envelope. The id is a sender-generated value and is valid in the DocuSign system for 7 days. It is recommended that a transaction ID is used for offline signing to ensure that an envelope is not sent multiple times. The `transactionId` property can be used determine an envelope's status (i.e. was it created or not) in cases where the internet connection was lost before the envelope status was returned. + /** + * Used to identify an envelope. The id is a sender-generated value and is valid in the DocuSign system for 7 days. It is recommended that a transaction ID is used for offline signing to ensure that an envelope is not sent multiple times. The `transactionId` property can be used determine an envelope's status (i.e. was it created or not) in cases where the internet connection was lost before the envelope status was returned.. * @return transactionId - **/ - @ApiModelProperty(example = "null", value = " Used to identify an envelope. The id is a sender-generated value and is valid in the DocuSign system for 7 days. It is recommended that a transaction ID is used for offline signing to ensure that an envelope is not sent multiple times. The `transactionId` property can be used determine an envelope's status (i.e. was it created or not) in cases where the internet connection was lost before the envelope status was returned.") + **/ + @ApiModelProperty(value = " Used to identify an envelope. The id is a sender-generated value and is valid in the DocuSign system for 7 days. It is recommended that a transaction ID is used for offline signing to ensure that an envelope is not sent multiple times. The `transactionId` property can be used determine an envelope's status (i.e. was it created or not) in cases where the internet connection was lost before the envelope status was returned.") public String getTransactionId() { return transactionId; } + /** + * setTransactionId. + **/ public void setTransactionId(String transactionId) { this.transactionId = transactionId; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -112,12 +156,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.transactionId, envelopeTransactionStatus.transactionId); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(envelopeId, errorDetails, status, transactionId); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -141,6 +191,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/EnvelopeTransferRule.java b/src/main/java/com/docusign/esign/model/EnvelopeTransferRule.java new file mode 100644 index 00000000..e3631df5 --- /dev/null +++ b/src/main/java/com/docusign/esign/model/EnvelopeTransferRule.java @@ -0,0 +1,286 @@ +package com.docusign.esign.model; + +import java.util.Objects; +import com.docusign.esign.model.Folder; +import com.docusign.esign.model.Group; +import com.docusign.esign.model.UserInformation; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +/** + * EnvelopeTransferRule + */ + +public class EnvelopeTransferRule { + @JsonProperty("carbonCopyOriginalOwner") + private String carbonCopyOriginalOwner = null; + + @JsonProperty("enabled") + private String enabled = null; + + @JsonProperty("envelopeTransferRuleId") + private String envelopeTransferRuleId = null; + + @JsonProperty("eventType") + private String eventType = null; + + @JsonProperty("fromGroup") + private Group fromGroup = null; + + @JsonProperty("fromUser") + private UserInformation fromUser = null; + + @JsonProperty("modifiedDate") + private String modifiedDate = null; + + @JsonProperty("modifiedUser") + private UserInformation modifiedUser = null; + + @JsonProperty("toFolder") + private Folder toFolder = null; + + @JsonProperty("toUser") + private UserInformation toUser = null; + + public EnvelopeTransferRule carbonCopyOriginalOwner(String carbonCopyOriginalOwner) { + this.carbonCopyOriginalOwner = carbonCopyOriginalOwner; + return this; + } + + /** + * + * @return carbonCopyOriginalOwner + **/ + @ApiModelProperty(example = "null", value = "") + public String getCarbonCopyOriginalOwner() { + return carbonCopyOriginalOwner; + } + + public void setCarbonCopyOriginalOwner(String carbonCopyOriginalOwner) { + this.carbonCopyOriginalOwner = carbonCopyOriginalOwner; + } + + public EnvelopeTransferRule enabled(String enabled) { + this.enabled = enabled; + return this; + } + + /** + * + * @return enabled + **/ + @ApiModelProperty(example = "null", value = "") + public String getEnabled() { + return enabled; + } + + public void setEnabled(String enabled) { + this.enabled = enabled; + } + + public EnvelopeTransferRule envelopeTransferRuleId(String envelopeTransferRuleId) { + this.envelopeTransferRuleId = envelopeTransferRuleId; + return this; + } + + /** + * + * @return envelopeTransferRuleId + **/ + @ApiModelProperty(example = "null", value = "") + public String getEnvelopeTransferRuleId() { + return envelopeTransferRuleId; + } + + public void setEnvelopeTransferRuleId(String envelopeTransferRuleId) { + this.envelopeTransferRuleId = envelopeTransferRuleId; + } + + public EnvelopeTransferRule eventType(String eventType) { + this.eventType = eventType; + return this; + } + + /** + * + * @return eventType + **/ + @ApiModelProperty(example = "null", value = "") + public String getEventType() { + return eventType; + } + + public void setEventType(String eventType) { + this.eventType = eventType; + } + + public EnvelopeTransferRule fromGroup(Group fromGroup) { + this.fromGroup = fromGroup; + return this; + } + + /** + * Get fromGroup + * @return fromGroup + **/ + @ApiModelProperty(example = "null", value = "") + public Group getFromGroup() { + return fromGroup; + } + + public void setFromGroup(Group fromGroup) { + this.fromGroup = fromGroup; + } + + public EnvelopeTransferRule fromUser(UserInformation fromUser) { + this.fromUser = fromUser; + return this; + } + + /** + * Get fromUser + * @return fromUser + **/ + @ApiModelProperty(example = "null", value = "") + public UserInformation getFromUser() { + return fromUser; + } + + public void setFromUser(UserInformation fromUser) { + this.fromUser = fromUser; + } + + public EnvelopeTransferRule modifiedDate(String modifiedDate) { + this.modifiedDate = modifiedDate; + return this; + } + + /** + * + * @return modifiedDate + **/ + @ApiModelProperty(example = "null", value = "") + public String getModifiedDate() { + return modifiedDate; + } + + public void setModifiedDate(String modifiedDate) { + this.modifiedDate = modifiedDate; + } + + public EnvelopeTransferRule modifiedUser(UserInformation modifiedUser) { + this.modifiedUser = modifiedUser; + return this; + } + + /** + * Get modifiedUser + * @return modifiedUser + **/ + @ApiModelProperty(example = "null", value = "") + public UserInformation getModifiedUser() { + return modifiedUser; + } + + public void setModifiedUser(UserInformation modifiedUser) { + this.modifiedUser = modifiedUser; + } + + public EnvelopeTransferRule toFolder(Folder toFolder) { + this.toFolder = toFolder; + return this; + } + + /** + * Get toFolder + * @return toFolder + **/ + @ApiModelProperty(example = "null", value = "") + public Folder getToFolder() { + return toFolder; + } + + public void setToFolder(Folder toFolder) { + this.toFolder = toFolder; + } + + public EnvelopeTransferRule toUser(UserInformation toUser) { + this.toUser = toUser; + return this; + } + + /** + * Get toUser + * @return toUser + **/ + @ApiModelProperty(example = "null", value = "") + public UserInformation getToUser() { + return toUser; + } + + public void setToUser(UserInformation toUser) { + this.toUser = toUser; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + EnvelopeTransferRule envelopeTransferRule = (EnvelopeTransferRule) o; + return Objects.equals(this.carbonCopyOriginalOwner, envelopeTransferRule.carbonCopyOriginalOwner) && + Objects.equals(this.enabled, envelopeTransferRule.enabled) && + Objects.equals(this.envelopeTransferRuleId, envelopeTransferRule.envelopeTransferRuleId) && + Objects.equals(this.eventType, envelopeTransferRule.eventType) && + Objects.equals(this.fromGroup, envelopeTransferRule.fromGroup) && + Objects.equals(this.fromUser, envelopeTransferRule.fromUser) && + Objects.equals(this.modifiedDate, envelopeTransferRule.modifiedDate) && + Objects.equals(this.modifiedUser, envelopeTransferRule.modifiedUser) && + Objects.equals(this.toFolder, envelopeTransferRule.toFolder) && + Objects.equals(this.toUser, envelopeTransferRule.toUser); + } + + @Override + public int hashCode() { + return Objects.hash(carbonCopyOriginalOwner, enabled, envelopeTransferRuleId, eventType, fromGroup, fromUser, modifiedDate, modifiedUser, toFolder, toUser); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class EnvelopeTransferRule {\n"); + + sb.append(" carbonCopyOriginalOwner: ").append(toIndentedString(carbonCopyOriginalOwner)).append("\n"); + sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); + sb.append(" envelopeTransferRuleId: ").append(toIndentedString(envelopeTransferRuleId)).append("\n"); + sb.append(" eventType: ").append(toIndentedString(eventType)).append("\n"); + sb.append(" fromGroup: ").append(toIndentedString(fromGroup)).append("\n"); + sb.append(" fromUser: ").append(toIndentedString(fromUser)).append("\n"); + sb.append(" modifiedDate: ").append(toIndentedString(modifiedDate)).append("\n"); + sb.append(" modifiedUser: ").append(toIndentedString(modifiedUser)).append("\n"); + sb.append(" toFolder: ").append(toIndentedString(toFolder)).append("\n"); + sb.append(" toUser: ").append(toIndentedString(toUser)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/com/docusign/esign/model/EnvelopeTransferRuleInformation.java b/src/main/java/com/docusign/esign/model/EnvelopeTransferRuleInformation.java new file mode 100644 index 00000000..b91507e9 --- /dev/null +++ b/src/main/java/com/docusign/esign/model/EnvelopeTransferRuleInformation.java @@ -0,0 +1,220 @@ +package com.docusign.esign.model; + +import java.util.Objects; +import com.docusign.esign.model.EnvelopeTransferRule; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +/** + * EnvelopeTransferRuleInformation + */ + +public class EnvelopeTransferRuleInformation { + @JsonProperty("endPosition") + private String endPosition = null; + + @JsonProperty("envelopeTransferRules") + private java.util.List envelopeTransferRules = new java.util.ArrayList(); + + @JsonProperty("nextUri") + private String nextUri = null; + + @JsonProperty("previousUri") + private String previousUri = null; + + @JsonProperty("resultSetSize") + private String resultSetSize = null; + + @JsonProperty("startPosition") + private String startPosition = null; + + @JsonProperty("totalSetSize") + private String totalSetSize = null; + + public EnvelopeTransferRuleInformation endPosition(String endPosition) { + this.endPosition = endPosition; + return this; + } + + /** + * The last position in the result set. + * @return endPosition + **/ + @ApiModelProperty(example = "null", value = "The last position in the result set. ") + public String getEndPosition() { + return endPosition; + } + + public void setEndPosition(String endPosition) { + this.endPosition = endPosition; + } + + public EnvelopeTransferRuleInformation envelopeTransferRules(java.util.List envelopeTransferRules) { + this.envelopeTransferRules = envelopeTransferRules; + return this; + } + + public EnvelopeTransferRuleInformation addEnvelopeTransferRulesItem(EnvelopeTransferRule envelopeTransferRulesItem) { + this.envelopeTransferRules.add(envelopeTransferRulesItem); + return this; + } + + /** + * + * @return envelopeTransferRules + **/ + @ApiModelProperty(example = "null", value = "") + public java.util.List getEnvelopeTransferRules() { + return envelopeTransferRules; + } + + public void setEnvelopeTransferRules(java.util.List envelopeTransferRules) { + this.envelopeTransferRules = envelopeTransferRules; + } + + public EnvelopeTransferRuleInformation nextUri(String nextUri) { + this.nextUri = nextUri; + return this; + } + + /** + * The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. + * @return nextUri + **/ + @ApiModelProperty(example = "null", value = "The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. ") + public String getNextUri() { + return nextUri; + } + + public void setNextUri(String nextUri) { + this.nextUri = nextUri; + } + + public EnvelopeTransferRuleInformation previousUri(String previousUri) { + this.previousUri = previousUri; + return this; + } + + /** + * The postal code for the billing address. + * @return previousUri + **/ + @ApiModelProperty(example = "null", value = "The postal code for the billing address.") + public String getPreviousUri() { + return previousUri; + } + + public void setPreviousUri(String previousUri) { + this.previousUri = previousUri; + } + + public EnvelopeTransferRuleInformation resultSetSize(String resultSetSize) { + this.resultSetSize = resultSetSize; + return this; + } + + /** + * The number of results returned in this response. + * @return resultSetSize + **/ + @ApiModelProperty(example = "null", value = "The number of results returned in this response. ") + public String getResultSetSize() { + return resultSetSize; + } + + public void setResultSetSize(String resultSetSize) { + this.resultSetSize = resultSetSize; + } + + public EnvelopeTransferRuleInformation startPosition(String startPosition) { + this.startPosition = startPosition; + return this; + } + + /** + * Starting position of the current result set. + * @return startPosition + **/ + @ApiModelProperty(example = "null", value = "Starting position of the current result set.") + public String getStartPosition() { + return startPosition; + } + + public void setStartPosition(String startPosition) { + this.startPosition = startPosition; + } + + public EnvelopeTransferRuleInformation totalSetSize(String totalSetSize) { + this.totalSetSize = totalSetSize; + return this; + } + + /** + * The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response. + * @return totalSetSize + **/ + @ApiModelProperty(example = "null", value = "The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.") + public String getTotalSetSize() { + return totalSetSize; + } + + public void setTotalSetSize(String totalSetSize) { + this.totalSetSize = totalSetSize; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + EnvelopeTransferRuleInformation envelopeTransferRuleInformation = (EnvelopeTransferRuleInformation) o; + return Objects.equals(this.endPosition, envelopeTransferRuleInformation.endPosition) && + Objects.equals(this.envelopeTransferRules, envelopeTransferRuleInformation.envelopeTransferRules) && + Objects.equals(this.nextUri, envelopeTransferRuleInformation.nextUri) && + Objects.equals(this.previousUri, envelopeTransferRuleInformation.previousUri) && + Objects.equals(this.resultSetSize, envelopeTransferRuleInformation.resultSetSize) && + Objects.equals(this.startPosition, envelopeTransferRuleInformation.startPosition) && + Objects.equals(this.totalSetSize, envelopeTransferRuleInformation.totalSetSize); + } + + @Override + public int hashCode() { + return Objects.hash(endPosition, envelopeTransferRules, nextUri, previousUri, resultSetSize, startPosition, totalSetSize); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class EnvelopeTransferRuleInformation {\n"); + + sb.append(" endPosition: ").append(toIndentedString(endPosition)).append("\n"); + sb.append(" envelopeTransferRules: ").append(toIndentedString(envelopeTransferRules)).append("\n"); + sb.append(" nextUri: ").append(toIndentedString(nextUri)).append("\n"); + sb.append(" previousUri: ").append(toIndentedString(previousUri)).append("\n"); + sb.append(" resultSetSize: ").append(toIndentedString(resultSetSize)).append("\n"); + sb.append(" startPosition: ").append(toIndentedString(startPosition)).append("\n"); + sb.append(" totalSetSize: ").append(toIndentedString(totalSetSize)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/com/docusign/esign/model/EnvelopeTransferRuleRequest.java b/src/main/java/com/docusign/esign/model/EnvelopeTransferRuleRequest.java new file mode 100644 index 00000000..d6c96a18 --- /dev/null +++ b/src/main/java/com/docusign/esign/model/EnvelopeTransferRuleRequest.java @@ -0,0 +1,296 @@ +package com.docusign.esign.model; + +import java.util.Objects; +import com.docusign.esign.model.Folder; +import com.docusign.esign.model.Group; +import com.docusign.esign.model.UserInformation; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +/** + * EnvelopeTransferRuleRequest + */ + +public class EnvelopeTransferRuleRequest { + @JsonProperty("carbonCopyOriginalOwner") + private String carbonCopyOriginalOwner = null; + + @JsonProperty("enabled") + private String enabled = null; + + @JsonProperty("envelopeTransferRuleId") + private String envelopeTransferRuleId = null; + + @JsonProperty("eventType") + private String eventType = null; + + @JsonProperty("fromGroups") + private java.util.List fromGroups = new java.util.ArrayList(); + + @JsonProperty("fromUsers") + private java.util.List fromUsers = new java.util.ArrayList(); + + @JsonProperty("modifiedDate") + private String modifiedDate = null; + + @JsonProperty("modifiedUser") + private UserInformation modifiedUser = null; + + @JsonProperty("toFolder") + private Folder toFolder = null; + + @JsonProperty("toUser") + private UserInformation toUser = null; + + public EnvelopeTransferRuleRequest carbonCopyOriginalOwner(String carbonCopyOriginalOwner) { + this.carbonCopyOriginalOwner = carbonCopyOriginalOwner; + return this; + } + + /** + * + * @return carbonCopyOriginalOwner + **/ + @ApiModelProperty(example = "null", value = "") + public String getCarbonCopyOriginalOwner() { + return carbonCopyOriginalOwner; + } + + public void setCarbonCopyOriginalOwner(String carbonCopyOriginalOwner) { + this.carbonCopyOriginalOwner = carbonCopyOriginalOwner; + } + + public EnvelopeTransferRuleRequest enabled(String enabled) { + this.enabled = enabled; + return this; + } + + /** + * + * @return enabled + **/ + @ApiModelProperty(example = "null", value = "") + public String getEnabled() { + return enabled; + } + + public void setEnabled(String enabled) { + this.enabled = enabled; + } + + public EnvelopeTransferRuleRequest envelopeTransferRuleId(String envelopeTransferRuleId) { + this.envelopeTransferRuleId = envelopeTransferRuleId; + return this; + } + + /** + * + * @return envelopeTransferRuleId + **/ + @ApiModelProperty(example = "null", value = "") + public String getEnvelopeTransferRuleId() { + return envelopeTransferRuleId; + } + + public void setEnvelopeTransferRuleId(String envelopeTransferRuleId) { + this.envelopeTransferRuleId = envelopeTransferRuleId; + } + + public EnvelopeTransferRuleRequest eventType(String eventType) { + this.eventType = eventType; + return this; + } + + /** + * + * @return eventType + **/ + @ApiModelProperty(example = "null", value = "") + public String getEventType() { + return eventType; + } + + public void setEventType(String eventType) { + this.eventType = eventType; + } + + public EnvelopeTransferRuleRequest fromGroups(java.util.List fromGroups) { + this.fromGroups = fromGroups; + return this; + } + + public EnvelopeTransferRuleRequest addFromGroupsItem(Group fromGroupsItem) { + this.fromGroups.add(fromGroupsItem); + return this; + } + + /** + * + * @return fromGroups + **/ + @ApiModelProperty(example = "null", value = "") + public java.util.List getFromGroups() { + return fromGroups; + } + + public void setFromGroups(java.util.List fromGroups) { + this.fromGroups = fromGroups; + } + + public EnvelopeTransferRuleRequest fromUsers(java.util.List fromUsers) { + this.fromUsers = fromUsers; + return this; + } + + public EnvelopeTransferRuleRequest addFromUsersItem(UserInformation fromUsersItem) { + this.fromUsers.add(fromUsersItem); + return this; + } + + /** + * + * @return fromUsers + **/ + @ApiModelProperty(example = "null", value = "") + public java.util.List getFromUsers() { + return fromUsers; + } + + public void setFromUsers(java.util.List fromUsers) { + this.fromUsers = fromUsers; + } + + public EnvelopeTransferRuleRequest modifiedDate(String modifiedDate) { + this.modifiedDate = modifiedDate; + return this; + } + + /** + * + * @return modifiedDate + **/ + @ApiModelProperty(example = "null", value = "") + public String getModifiedDate() { + return modifiedDate; + } + + public void setModifiedDate(String modifiedDate) { + this.modifiedDate = modifiedDate; + } + + public EnvelopeTransferRuleRequest modifiedUser(UserInformation modifiedUser) { + this.modifiedUser = modifiedUser; + return this; + } + + /** + * Get modifiedUser + * @return modifiedUser + **/ + @ApiModelProperty(example = "null", value = "") + public UserInformation getModifiedUser() { + return modifiedUser; + } + + public void setModifiedUser(UserInformation modifiedUser) { + this.modifiedUser = modifiedUser; + } + + public EnvelopeTransferRuleRequest toFolder(Folder toFolder) { + this.toFolder = toFolder; + return this; + } + + /** + * Get toFolder + * @return toFolder + **/ + @ApiModelProperty(example = "null", value = "") + public Folder getToFolder() { + return toFolder; + } + + public void setToFolder(Folder toFolder) { + this.toFolder = toFolder; + } + + public EnvelopeTransferRuleRequest toUser(UserInformation toUser) { + this.toUser = toUser; + return this; + } + + /** + * Get toUser + * @return toUser + **/ + @ApiModelProperty(example = "null", value = "") + public UserInformation getToUser() { + return toUser; + } + + public void setToUser(UserInformation toUser) { + this.toUser = toUser; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + EnvelopeTransferRuleRequest envelopeTransferRuleRequest = (EnvelopeTransferRuleRequest) o; + return Objects.equals(this.carbonCopyOriginalOwner, envelopeTransferRuleRequest.carbonCopyOriginalOwner) && + Objects.equals(this.enabled, envelopeTransferRuleRequest.enabled) && + Objects.equals(this.envelopeTransferRuleId, envelopeTransferRuleRequest.envelopeTransferRuleId) && + Objects.equals(this.eventType, envelopeTransferRuleRequest.eventType) && + Objects.equals(this.fromGroups, envelopeTransferRuleRequest.fromGroups) && + Objects.equals(this.fromUsers, envelopeTransferRuleRequest.fromUsers) && + Objects.equals(this.modifiedDate, envelopeTransferRuleRequest.modifiedDate) && + Objects.equals(this.modifiedUser, envelopeTransferRuleRequest.modifiedUser) && + Objects.equals(this.toFolder, envelopeTransferRuleRequest.toFolder) && + Objects.equals(this.toUser, envelopeTransferRuleRequest.toUser); + } + + @Override + public int hashCode() { + return Objects.hash(carbonCopyOriginalOwner, enabled, envelopeTransferRuleId, eventType, fromGroups, fromUsers, modifiedDate, modifiedUser, toFolder, toUser); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class EnvelopeTransferRuleRequest {\n"); + + sb.append(" carbonCopyOriginalOwner: ").append(toIndentedString(carbonCopyOriginalOwner)).append("\n"); + sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); + sb.append(" envelopeTransferRuleId: ").append(toIndentedString(envelopeTransferRuleId)).append("\n"); + sb.append(" eventType: ").append(toIndentedString(eventType)).append("\n"); + sb.append(" fromGroups: ").append(toIndentedString(fromGroups)).append("\n"); + sb.append(" fromUsers: ").append(toIndentedString(fromUsers)).append("\n"); + sb.append(" modifiedDate: ").append(toIndentedString(modifiedDate)).append("\n"); + sb.append(" modifiedUser: ").append(toIndentedString(modifiedUser)).append("\n"); + sb.append(" toFolder: ").append(toIndentedString(toFolder)).append("\n"); + sb.append(" toUser: ").append(toIndentedString(toUser)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/com/docusign/esign/model/EnvelopeUpdateSummary.java b/src/main/java/com/docusign/esign/model/EnvelopeUpdateSummary.java index 6de9f0e0..c39446fe 100644 --- a/src/main/java/com/docusign/esign/model/EnvelopeUpdateSummary.java +++ b/src/main/java/com/docusign/esign/model/EnvelopeUpdateSummary.java @@ -1,6 +1,7 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.BulkEnvelopeStatus; import com.docusign.esign.model.ErrorDetails; import com.docusign.esign.model.ListCustomField; @@ -10,11 +11,13 @@ import com.docusign.esign.model.TextCustomField; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * EnvelopeUpdateSummary + * EnvelopeUpdateSummary. + * */ public class EnvelopeUpdateSummary { @@ -28,180 +31,281 @@ public class EnvelopeUpdateSummary { private ErrorDetails errorDetails = null; @JsonProperty("listCustomFieldUpdateResults") - private java.util.List listCustomFieldUpdateResults = new java.util.ArrayList(); + private java.util.List listCustomFieldUpdateResults = null; @JsonProperty("lockInformation") private LockInformation lockInformation = null; @JsonProperty("recipientUpdateResults") - private java.util.List recipientUpdateResults = new java.util.ArrayList(); + private java.util.List recipientUpdateResults = null; @JsonProperty("tabUpdateResults") private Tabs tabUpdateResults = null; @JsonProperty("textCustomFieldUpdateResults") - private java.util.List textCustomFieldUpdateResults = new java.util.ArrayList(); + private java.util.List textCustomFieldUpdateResults = null; + + /** + * bulkEnvelopeStatus. + * + * @return EnvelopeUpdateSummary + **/ public EnvelopeUpdateSummary bulkEnvelopeStatus(BulkEnvelopeStatus bulkEnvelopeStatus) { this.bulkEnvelopeStatus = bulkEnvelopeStatus; return this; } - /** - * Get bulkEnvelopeStatus + /** + * Get bulkEnvelopeStatus. * @return bulkEnvelopeStatus - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public BulkEnvelopeStatus getBulkEnvelopeStatus() { return bulkEnvelopeStatus; } + /** + * setBulkEnvelopeStatus. + **/ public void setBulkEnvelopeStatus(BulkEnvelopeStatus bulkEnvelopeStatus) { this.bulkEnvelopeStatus = bulkEnvelopeStatus; } + + /** + * envelopeId. + * + * @return EnvelopeUpdateSummary + **/ public EnvelopeUpdateSummary envelopeId(String envelopeId) { this.envelopeId = envelopeId; return this; } - /** - * The envelope ID of the envelope status that failed to post. + /** + * The envelope ID of the envelope status that failed to post.. * @return envelopeId - **/ - @ApiModelProperty(example = "null", value = "The envelope ID of the envelope status that failed to post.") + **/ + @ApiModelProperty(value = "The envelope ID of the envelope status that failed to post.") public String getEnvelopeId() { return envelopeId; } + /** + * setEnvelopeId. + **/ public void setEnvelopeId(String envelopeId) { this.envelopeId = envelopeId; } + + /** + * errorDetails. + * + * @return EnvelopeUpdateSummary + **/ public EnvelopeUpdateSummary errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * listCustomFieldUpdateResults. + * + * @return EnvelopeUpdateSummary + **/ public EnvelopeUpdateSummary listCustomFieldUpdateResults(java.util.List listCustomFieldUpdateResults) { this.listCustomFieldUpdateResults = listCustomFieldUpdateResults; return this; } - + + /** + * addListCustomFieldUpdateResultsItem. + * + * @return EnvelopeUpdateSummary + **/ public EnvelopeUpdateSummary addListCustomFieldUpdateResultsItem(ListCustomField listCustomFieldUpdateResultsItem) { + if (this.listCustomFieldUpdateResults == null) { + this.listCustomFieldUpdateResults = new java.util.ArrayList(); + } this.listCustomFieldUpdateResults.add(listCustomFieldUpdateResultsItem); return this; } - /** - * + /** + * . * @return listCustomFieldUpdateResults - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getListCustomFieldUpdateResults() { return listCustomFieldUpdateResults; } + /** + * setListCustomFieldUpdateResults. + **/ public void setListCustomFieldUpdateResults(java.util.List listCustomFieldUpdateResults) { this.listCustomFieldUpdateResults = listCustomFieldUpdateResults; } + + /** + * lockInformation. + * + * @return EnvelopeUpdateSummary + **/ public EnvelopeUpdateSummary lockInformation(LockInformation lockInformation) { this.lockInformation = lockInformation; return this; } - /** - * Get lockInformation + /** + * Get lockInformation. * @return lockInformation - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public LockInformation getLockInformation() { return lockInformation; } + /** + * setLockInformation. + **/ public void setLockInformation(LockInformation lockInformation) { this.lockInformation = lockInformation; } + + /** + * recipientUpdateResults. + * + * @return EnvelopeUpdateSummary + **/ public EnvelopeUpdateSummary recipientUpdateResults(java.util.List recipientUpdateResults) { this.recipientUpdateResults = recipientUpdateResults; return this; } - + + /** + * addRecipientUpdateResultsItem. + * + * @return EnvelopeUpdateSummary + **/ public EnvelopeUpdateSummary addRecipientUpdateResultsItem(RecipientUpdateResponse recipientUpdateResultsItem) { + if (this.recipientUpdateResults == null) { + this.recipientUpdateResults = new java.util.ArrayList(); + } this.recipientUpdateResults.add(recipientUpdateResultsItem); return this; } - /** - * + /** + * . * @return recipientUpdateResults - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getRecipientUpdateResults() { return recipientUpdateResults; } + /** + * setRecipientUpdateResults. + **/ public void setRecipientUpdateResults(java.util.List recipientUpdateResults) { this.recipientUpdateResults = recipientUpdateResults; } + + /** + * tabUpdateResults. + * + * @return EnvelopeUpdateSummary + **/ public EnvelopeUpdateSummary tabUpdateResults(Tabs tabUpdateResults) { this.tabUpdateResults = tabUpdateResults; return this; } - /** - * Get tabUpdateResults + /** + * Get tabUpdateResults. * @return tabUpdateResults - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public Tabs getTabUpdateResults() { return tabUpdateResults; } + /** + * setTabUpdateResults. + **/ public void setTabUpdateResults(Tabs tabUpdateResults) { this.tabUpdateResults = tabUpdateResults; } + + /** + * textCustomFieldUpdateResults. + * + * @return EnvelopeUpdateSummary + **/ public EnvelopeUpdateSummary textCustomFieldUpdateResults(java.util.List textCustomFieldUpdateResults) { this.textCustomFieldUpdateResults = textCustomFieldUpdateResults; return this; } - + + /** + * addTextCustomFieldUpdateResultsItem. + * + * @return EnvelopeUpdateSummary + **/ public EnvelopeUpdateSummary addTextCustomFieldUpdateResultsItem(TextCustomField textCustomFieldUpdateResultsItem) { + if (this.textCustomFieldUpdateResults == null) { + this.textCustomFieldUpdateResults = new java.util.ArrayList(); + } this.textCustomFieldUpdateResults.add(textCustomFieldUpdateResultsItem); return this; } - /** - * + /** + * . * @return textCustomFieldUpdateResults - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getTextCustomFieldUpdateResults() { return textCustomFieldUpdateResults; } + /** + * setTextCustomFieldUpdateResults. + **/ public void setTextCustomFieldUpdateResults(java.util.List textCustomFieldUpdateResults) { this.textCustomFieldUpdateResults = textCustomFieldUpdateResults; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -221,12 +325,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.textCustomFieldUpdateResults, envelopeUpdateSummary.textCustomFieldUpdateResults); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(bulkEnvelopeStatus, envelopeId, errorDetails, listCustomFieldUpdateResults, lockInformation, recipientUpdateResults, tabUpdateResults, textCustomFieldUpdateResults); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -254,6 +364,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/EnvelopesInformation.java b/src/main/java/com/docusign/esign/model/EnvelopesInformation.java index 0907b810..96833039 100644 --- a/src/main/java/com/docusign/esign/model/EnvelopesInformation.java +++ b/src/main/java/com/docusign/esign/model/EnvelopesInformation.java @@ -1,15 +1,18 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.Envelope; import com.docusign.esign.model.EnvelopeTransactionStatus; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * EnvelopesInformation + * EnvelopesInformation. + * */ public class EnvelopesInformation { @@ -20,10 +23,10 @@ public class EnvelopesInformation { private String endPosition = null; @JsonProperty("envelopes") - private java.util.List envelopes = new java.util.ArrayList(); + private java.util.List envelopes = null; @JsonProperty("envelopeTransactionStatuses") - private java.util.List envelopeTransactionStatuses = new java.util.ArrayList(); + private java.util.List envelopeTransactionStatuses = null; @JsonProperty("lastQueriedDateTime") private String lastQueriedDateTime = null; @@ -43,197 +46,308 @@ public class EnvelopesInformation { @JsonProperty("totalSetSize") private String totalSetSize = null; + + /** + * continuationToken. + * + * @return EnvelopesInformation + **/ public EnvelopesInformation continuationToken(String continuationToken) { this.continuationToken = continuationToken; return this; } - /** - * + /** + * . * @return continuationToken - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getContinuationToken() { return continuationToken; } + /** + * setContinuationToken. + **/ public void setContinuationToken(String continuationToken) { this.continuationToken = continuationToken; } + + /** + * endPosition. + * + * @return EnvelopesInformation + **/ public EnvelopesInformation endPosition(String endPosition) { this.endPosition = endPosition; return this; } - /** - * The last position in the result set. + /** + * The last position in the result set. . * @return endPosition - **/ - @ApiModelProperty(example = "null", value = "The last position in the result set. ") + **/ + @ApiModelProperty(value = "The last position in the result set. ") public String getEndPosition() { return endPosition; } + /** + * setEndPosition. + **/ public void setEndPosition(String endPosition) { this.endPosition = endPosition; } + + /** + * envelopes. + * + * @return EnvelopesInformation + **/ public EnvelopesInformation envelopes(java.util.List envelopes) { this.envelopes = envelopes; return this; } - + + /** + * addEnvelopesItem. + * + * @return EnvelopesInformation + **/ public EnvelopesInformation addEnvelopesItem(Envelope envelopesItem) { + if (this.envelopes == null) { + this.envelopes = new java.util.ArrayList(); + } this.envelopes.add(envelopesItem); return this; } - /** - * + /** + * . * @return envelopes - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getEnvelopes() { return envelopes; } + /** + * setEnvelopes. + **/ public void setEnvelopes(java.util.List envelopes) { this.envelopes = envelopes; } + + /** + * envelopeTransactionStatuses. + * + * @return EnvelopesInformation + **/ public EnvelopesInformation envelopeTransactionStatuses(java.util.List envelopeTransactionStatuses) { this.envelopeTransactionStatuses = envelopeTransactionStatuses; return this; } - + + /** + * addEnvelopeTransactionStatusesItem. + * + * @return EnvelopesInformation + **/ public EnvelopesInformation addEnvelopeTransactionStatusesItem(EnvelopeTransactionStatus envelopeTransactionStatusesItem) { + if (this.envelopeTransactionStatuses == null) { + this.envelopeTransactionStatuses = new java.util.ArrayList(); + } this.envelopeTransactionStatuses.add(envelopeTransactionStatusesItem); return this; } - /** - * + /** + * . * @return envelopeTransactionStatuses - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getEnvelopeTransactionStatuses() { return envelopeTransactionStatuses; } + /** + * setEnvelopeTransactionStatuses. + **/ public void setEnvelopeTransactionStatuses(java.util.List envelopeTransactionStatuses) { this.envelopeTransactionStatuses = envelopeTransactionStatuses; } + + /** + * lastQueriedDateTime. + * + * @return EnvelopesInformation + **/ public EnvelopesInformation lastQueriedDateTime(String lastQueriedDateTime) { this.lastQueriedDateTime = lastQueriedDateTime; return this; } - /** - * + /** + * . * @return lastQueriedDateTime - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getLastQueriedDateTime() { return lastQueriedDateTime; } + /** + * setLastQueriedDateTime. + **/ public void setLastQueriedDateTime(String lastQueriedDateTime) { this.lastQueriedDateTime = lastQueriedDateTime; } + + /** + * nextUri. + * + * @return EnvelopesInformation + **/ public EnvelopesInformation nextUri(String nextUri) { this.nextUri = nextUri; return this; } - /** - * The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. + /** + * The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. . * @return nextUri - **/ - @ApiModelProperty(example = "null", value = "The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. ") + **/ + @ApiModelProperty(value = "The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. ") public String getNextUri() { return nextUri; } + /** + * setNextUri. + **/ public void setNextUri(String nextUri) { this.nextUri = nextUri; } + + /** + * previousUri. + * + * @return EnvelopesInformation + **/ public EnvelopesInformation previousUri(String previousUri) { this.previousUri = previousUri; return this; } - /** - * The postal code for the billing address. + /** + * The postal code for the billing address.. * @return previousUri - **/ - @ApiModelProperty(example = "null", value = "The postal code for the billing address.") + **/ + @ApiModelProperty(value = "The postal code for the billing address.") public String getPreviousUri() { return previousUri; } + /** + * setPreviousUri. + **/ public void setPreviousUri(String previousUri) { this.previousUri = previousUri; } + + /** + * resultSetSize. + * + * @return EnvelopesInformation + **/ public EnvelopesInformation resultSetSize(String resultSetSize) { this.resultSetSize = resultSetSize; return this; } - /** - * The number of results returned in this response. + /** + * The number of results returned in this response. . * @return resultSetSize - **/ - @ApiModelProperty(example = "null", value = "The number of results returned in this response. ") + **/ + @ApiModelProperty(value = "The number of results returned in this response. ") public String getResultSetSize() { return resultSetSize; } + /** + * setResultSetSize. + **/ public void setResultSetSize(String resultSetSize) { this.resultSetSize = resultSetSize; } + + /** + * startPosition. + * + * @return EnvelopesInformation + **/ public EnvelopesInformation startPosition(String startPosition) { this.startPosition = startPosition; return this; } - /** - * Starting position of the current result set. + /** + * Starting position of the current result set.. * @return startPosition - **/ - @ApiModelProperty(example = "null", value = "Starting position of the current result set.") + **/ + @ApiModelProperty(value = "Starting position of the current result set.") public String getStartPosition() { return startPosition; } + /** + * setStartPosition. + **/ public void setStartPosition(String startPosition) { this.startPosition = startPosition; } + + /** + * totalSetSize. + * + * @return EnvelopesInformation + **/ public EnvelopesInformation totalSetSize(String totalSetSize) { this.totalSetSize = totalSetSize; return this; } - /** - * The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response. + /** + * The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.. * @return totalSetSize - **/ - @ApiModelProperty(example = "null", value = "The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.") + **/ + @ApiModelProperty(value = "The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.") public String getTotalSetSize() { return totalSetSize; } + /** + * setTotalSetSize. + **/ public void setTotalSetSize(String totalSetSize) { this.totalSetSize = totalSetSize; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -255,12 +369,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.totalSetSize, envelopesInformation.totalSetSize); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(continuationToken, endPosition, envelopes, envelopeTransactionStatuses, lastQueriedDateTime, nextUri, previousUri, resultSetSize, startPosition, totalSetSize); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -290,6 +410,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/ErrorDetails.java b/src/main/java/com/docusign/esign/model/ErrorDetails.java index b5a27756..6e20c124 100644 --- a/src/main/java/com/docusign/esign/model/ErrorDetails.java +++ b/src/main/java/com/docusign/esign/model/ErrorDetails.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * This object describes errors that occur. It is only valid for responses, and ignored in requests. + * This object describes errors that occur. It is only valid for responses, and ignored in requests.. + * */ @ApiModel(description = "This object describes errors that occur. It is only valid for responses, and ignored in requests.") @@ -18,43 +21,66 @@ public class ErrorDetails { @JsonProperty("message") private String message = null; + + /** + * errorCode. + * + * @return ErrorDetails + **/ public ErrorDetails errorCode(String errorCode) { this.errorCode = errorCode; return this; } - /** - * An error code associated with the error. + /** + * An error code associated with the error.. * @return errorCode - **/ - @ApiModelProperty(example = "null", value = "An error code associated with the error.") + **/ + @ApiModelProperty(value = "An error code associated with the error.") public String getErrorCode() { return errorCode; } + /** + * setErrorCode. + **/ public void setErrorCode(String errorCode) { this.errorCode = errorCode; } + + /** + * message. + * + * @return ErrorDetails + **/ public ErrorDetails message(String message) { this.message = message; return this; } - /** - * A short error message. + /** + * A short error message.. * @return message - **/ - @ApiModelProperty(example = "null", value = "A short error message.") + **/ + @ApiModelProperty(value = "A short error message.") public String getMessage() { return message; } + /** + * setMessage. + **/ public void setMessage(String message) { this.message = message; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -68,12 +94,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.message, errorDetails.message); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(errorCode, message); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -95,6 +127,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/EventNotification.java b/src/main/java/com/docusign/esign/model/EventNotification.java index f820772f..0c037e6e 100644 --- a/src/main/java/com/docusign/esign/model/EventNotification.java +++ b/src/main/java/com/docusign/esign/model/EventNotification.java @@ -1,21 +1,24 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.EnvelopeEvent; import com.docusign.esign.model.RecipientEvent; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * This optional complex element allows a message to be sent a specified URL when the envelope or recipient changes status. It is similar to DocuSign Connect. For example, if an envelope changes from \"Sent\" to \"Delivered\", a message containing the updated envelope status and optionally the documents is sent to the URL. When an eventNotification is attached to an envelope using the API, it only applies to the envelope (treating the envelope as the sender). This is different from envelopes created through the console user interface, where the user is treated as the sender. + * This optional complex element allows a message to be sent a specified URL when the envelope or recipient changes status. It is similar to DocuSign Connect. For example, if an envelope changes from \"Sent\" to \"Delivered\", a message containing the updated envelope status and optionally the documents is sent to the URL. When an eventNotification is attached to an envelope using the API, it only applies to the envelope (treating the envelope as the sender). This is different from envelopes created through the console user interface, where the user is treated as the sender.. + * */ @ApiModel(description = "This optional complex element allows a message to be sent a specified URL when the envelope or recipient changes status. It is similar to DocuSign Connect. For example, if an envelope changes from \"Sent\" to \"Delivered\", a message containing the updated envelope status and optionally the documents is sent to the URL. When an eventNotification is attached to an envelope using the API, it only applies to the envelope (treating the envelope as the sender). This is different from envelopes created through the console user interface, where the user is treated as the sender.") public class EventNotification { @JsonProperty("envelopeEvents") - private java.util.List envelopeEvents = new java.util.ArrayList(); + private java.util.List envelopeEvents = null; @JsonProperty("includeCertificateOfCompletion") private String includeCertificateOfCompletion = null; @@ -32,6 +35,9 @@ public class EventNotification { @JsonProperty("includeEnvelopeVoidReason") private String includeEnvelopeVoidReason = null; + @JsonProperty("includeHMAC") + private String includeHMAC = null; + @JsonProperty("includeSenderAccountAsCustomField") private String includeSenderAccountAsCustomField = null; @@ -42,7 +48,7 @@ public class EventNotification { private String loggingEnabled = null; @JsonProperty("recipientEvents") - private java.util.List recipientEvents = new java.util.ArrayList(); + private java.util.List recipientEvents = null; @JsonProperty("requireAcknowledgment") private String requireAcknowledgment = null; @@ -59,287 +65,470 @@ public class EventNotification { @JsonProperty("useSoapInterface") private String useSoapInterface = null; + + /** + * envelopeEvents. + * + * @return EventNotification + **/ public EventNotification envelopeEvents(java.util.List envelopeEvents) { this.envelopeEvents = envelopeEvents; return this; } - + + /** + * addEnvelopeEventsItem. + * + * @return EventNotification + **/ public EventNotification addEnvelopeEventsItem(EnvelopeEvent envelopeEventsItem) { + if (this.envelopeEvents == null) { + this.envelopeEvents = new java.util.ArrayList(); + } this.envelopeEvents.add(envelopeEventsItem); return this; } - /** - * A list of envelope-level event statuses that will trigger Connect to send updates to the endpoint specified in the `url` property. To receive notifications, you must include either an `envelopeEvents` node or a `recipientEvents` node. You do not need to specify both. + /** + * A list of envelope-level event statuses that will trigger Connect to send updates to the endpoint specified in the `url` property. To receive notifications, you must include either an `envelopeEvents` node or a `recipientEvents` node. You do not need to specify both.. * @return envelopeEvents - **/ - @ApiModelProperty(example = "null", value = "A list of envelope-level event statuses that will trigger Connect to send updates to the endpoint specified in the `url` property. To receive notifications, you must include either an `envelopeEvents` node or a `recipientEvents` node. You do not need to specify both.") + **/ + @ApiModelProperty(value = "A list of envelope-level event statuses that will trigger Connect to send updates to the endpoint specified in the `url` property. To receive notifications, you must include either an `envelopeEvents` node or a `recipientEvents` node. You do not need to specify both.") public java.util.List getEnvelopeEvents() { return envelopeEvents; } + /** + * setEnvelopeEvents. + **/ public void setEnvelopeEvents(java.util.List envelopeEvents) { this.envelopeEvents = envelopeEvents; } + + /** + * includeCertificateOfCompletion. + * + * @return EventNotification + **/ public EventNotification includeCertificateOfCompletion(String includeCertificateOfCompletion) { this.includeCertificateOfCompletion = includeCertificateOfCompletion; return this; } - /** - * When set to **true**, the Connect Service includes the Certificate of Completion with completed envelopes. + /** + * When set to **true**, the Connect Service includes the Certificate of Completion with completed envelopes. . * @return includeCertificateOfCompletion - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the Connect Service includes the Certificate of Completion with completed envelopes. ") + **/ + @ApiModelProperty(value = "When set to **true**, the Connect Service includes the Certificate of Completion with completed envelopes. ") public String getIncludeCertificateOfCompletion() { return includeCertificateOfCompletion; } + /** + * setIncludeCertificateOfCompletion. + **/ public void setIncludeCertificateOfCompletion(String includeCertificateOfCompletion) { this.includeCertificateOfCompletion = includeCertificateOfCompletion; } + + /** + * includeCertificateWithSoap. + * + * @return EventNotification + **/ public EventNotification includeCertificateWithSoap(String includeCertificateWithSoap) { this.includeCertificateWithSoap = includeCertificateWithSoap; return this; } - /** - * When set to **true**, this tells the Connect service to send the DocuSign signedby certificate as part of the outgoing SOAP xml. This appears in the XML as wsse:BinarySecurityToken. + /** + * When set to **true**, this tells the Connect service to send the DocuSign signedby certificate as part of the outgoing SOAP xml. This appears in the XML as wsse:BinarySecurityToken.. * @return includeCertificateWithSoap - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, this tells the Connect service to send the DocuSign signedby certificate as part of the outgoing SOAP xml. This appears in the XML as wsse:BinarySecurityToken.") + **/ + @ApiModelProperty(value = "When set to **true**, this tells the Connect service to send the DocuSign signedby certificate as part of the outgoing SOAP xml. This appears in the XML as wsse:BinarySecurityToken.") public String getIncludeCertificateWithSoap() { return includeCertificateWithSoap; } + /** + * setIncludeCertificateWithSoap. + **/ public void setIncludeCertificateWithSoap(String includeCertificateWithSoap) { this.includeCertificateWithSoap = includeCertificateWithSoap; } + + /** + * includeDocumentFields. + * + * @return EventNotification + **/ public EventNotification includeDocumentFields(String includeDocumentFields) { this.includeDocumentFields = includeDocumentFields; return this; } - /** - * When set to **true**, the Document Fields associated with envelope documents are included in the data. Document Fields are optional custom name-value pairs added to documents using the API. + /** + * When set to **true**, the Document Fields associated with envelope documents are included in the data. Document Fields are optional custom name-value pairs added to documents using the API. . * @return includeDocumentFields - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the Document Fields associated with envelope documents are included in the data. Document Fields are optional custom name-value pairs added to documents using the API. ") + **/ + @ApiModelProperty(value = "When set to **true**, the Document Fields associated with envelope documents are included in the data. Document Fields are optional custom name-value pairs added to documents using the API. ") public String getIncludeDocumentFields() { return includeDocumentFields; } + /** + * setIncludeDocumentFields. + **/ public void setIncludeDocumentFields(String includeDocumentFields) { this.includeDocumentFields = includeDocumentFields; } + + /** + * includeDocuments. + * + * @return EventNotification + **/ public EventNotification includeDocuments(String includeDocuments) { this.includeDocuments = includeDocuments; return this; } - /** - * When set to **true**, the PDF documents are included in the message along with the updated XML. + /** + * When set to **true**, the PDF documents are included in the message along with the updated XML. . * @return includeDocuments - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the PDF documents are included in the message along with the updated XML. ") + **/ + @ApiModelProperty(value = "When set to **true**, the PDF documents are included in the message along with the updated XML. ") public String getIncludeDocuments() { return includeDocuments; } + /** + * setIncludeDocuments. + **/ public void setIncludeDocuments(String includeDocuments) { this.includeDocuments = includeDocuments; } + + /** + * includeEnvelopeVoidReason. + * + * @return EventNotification + **/ public EventNotification includeEnvelopeVoidReason(String includeEnvelopeVoidReason) { this.includeEnvelopeVoidReason = includeEnvelopeVoidReason; return this; } - /** - * When set to **true**, this tells the Connect Service to include the void reason, as entered by the person that voided the envelope, in the message. + /** + * When set to **true**, this tells the Connect Service to include the void reason, as entered by the person that voided the envelope, in the message. . * @return includeEnvelopeVoidReason - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, this tells the Connect Service to include the void reason, as entered by the person that voided the envelope, in the message. ") + **/ + @ApiModelProperty(value = "When set to **true**, this tells the Connect Service to include the void reason, as entered by the person that voided the envelope, in the message. ") public String getIncludeEnvelopeVoidReason() { return includeEnvelopeVoidReason; } + /** + * setIncludeEnvelopeVoidReason. + **/ public void setIncludeEnvelopeVoidReason(String includeEnvelopeVoidReason) { this.includeEnvelopeVoidReason = includeEnvelopeVoidReason; } + + /** + * includeHMAC. + * + * @return EventNotification + **/ + public EventNotification includeHMAC(String includeHMAC) { + this.includeHMAC = includeHMAC; + return this; + } + + /** + * . + * @return includeHMAC + **/ + @ApiModelProperty(value = "") + public String getIncludeHMAC() { + return includeHMAC; + } + + /** + * setIncludeHMAC. + **/ + public void setIncludeHMAC(String includeHMAC) { + this.includeHMAC = includeHMAC; + } + + + /** + * includeSenderAccountAsCustomField. + * + * @return EventNotification + **/ public EventNotification includeSenderAccountAsCustomField(String includeSenderAccountAsCustomField) { this.includeSenderAccountAsCustomField = includeSenderAccountAsCustomField; return this; } - /** - * When set to **true**, the sender account ID is included as a envelope custom field in the data. + /** + * When set to **true**, the sender account ID is included as a envelope custom field in the data. . * @return includeSenderAccountAsCustomField - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender account ID is included as a envelope custom field in the data. ") + **/ + @ApiModelProperty(value = "When set to **true**, the sender account ID is included as a envelope custom field in the data. ") public String getIncludeSenderAccountAsCustomField() { return includeSenderAccountAsCustomField; } + /** + * setIncludeSenderAccountAsCustomField. + **/ public void setIncludeSenderAccountAsCustomField(String includeSenderAccountAsCustomField) { this.includeSenderAccountAsCustomField = includeSenderAccountAsCustomField; } + + /** + * includeTimeZone. + * + * @return EventNotification + **/ public EventNotification includeTimeZone(String includeTimeZone) { this.includeTimeZone = includeTimeZone; return this; } - /** - * When set to **true**, the envelope time zone information is included in the message. + /** + * When set to **true**, the envelope time zone information is included in the message. . * @return includeTimeZone - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the envelope time zone information is included in the message. ") + **/ + @ApiModelProperty(value = "When set to **true**, the envelope time zone information is included in the message. ") public String getIncludeTimeZone() { return includeTimeZone; } + /** + * setIncludeTimeZone. + **/ public void setIncludeTimeZone(String includeTimeZone) { this.includeTimeZone = includeTimeZone; } + + /** + * loggingEnabled. + * + * @return EventNotification + **/ public EventNotification loggingEnabled(String loggingEnabled) { this.loggingEnabled = loggingEnabled; return this; } - /** - * When set to **true**, logging is turned on for envelope events on the Web Console Connect page. + /** + * When set to **true**, logging is turned on for envelope events on the Web Console Connect page. . * @return loggingEnabled - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, logging is turned on for envelope events on the Web Console Connect page. ") + **/ + @ApiModelProperty(value = "When set to **true**, logging is turned on for envelope events on the Web Console Connect page. ") public String getLoggingEnabled() { return loggingEnabled; } + /** + * setLoggingEnabled. + **/ public void setLoggingEnabled(String loggingEnabled) { this.loggingEnabled = loggingEnabled; } + + /** + * recipientEvents. + * + * @return EventNotification + **/ public EventNotification recipientEvents(java.util.List recipientEvents) { this.recipientEvents = recipientEvents; return this; } - + + /** + * addRecipientEventsItem. + * + * @return EventNotification + **/ public EventNotification addRecipientEventsItem(RecipientEvent recipientEventsItem) { + if (this.recipientEvents == null) { + this.recipientEvents = new java.util.ArrayList(); + } this.recipientEvents.add(recipientEventsItem); return this; } - /** - * A list of recipient event statuses that will trigger Connect to send updates to the endpoint specified in the url property. To receive notifications, you must include either an `envelopeEvents` node or a `recipientEvents` node. You do not need to specify both. + /** + * A list of recipient event statuses that will trigger Connect to send updates to the endpoint specified in the url property. To receive notifications, you must include either an `envelopeEvents` node or a `recipientEvents` node. You do not need to specify both.. * @return recipientEvents - **/ - @ApiModelProperty(example = "null", value = "A list of recipient event statuses that will trigger Connect to send updates to the endpoint specified in the url property. To receive notifications, you must include either an `envelopeEvents` node or a `recipientEvents` node. You do not need to specify both.") + **/ + @ApiModelProperty(value = "A list of recipient event statuses that will trigger Connect to send updates to the endpoint specified in the url property. To receive notifications, you must include either an `envelopeEvents` node or a `recipientEvents` node. You do not need to specify both.") public java.util.List getRecipientEvents() { return recipientEvents; } + /** + * setRecipientEvents. + **/ public void setRecipientEvents(java.util.List recipientEvents) { this.recipientEvents = recipientEvents; } + + /** + * requireAcknowledgment. + * + * @return EventNotification + **/ public EventNotification requireAcknowledgment(String requireAcknowledgment) { this.requireAcknowledgment = requireAcknowledgment; return this; } - /** - * When set to **true**, the DocuSign Connect service checks that the message was received and retries on failures. + /** + * When set to **true**, the DocuSign Connect service checks that the message was received and retries on failures. . * @return requireAcknowledgment - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the DocuSign Connect service checks that the message was received and retries on failures. ") + **/ + @ApiModelProperty(value = "When set to **true**, the DocuSign Connect service checks that the message was received and retries on failures. ") public String getRequireAcknowledgment() { return requireAcknowledgment; } + /** + * setRequireAcknowledgment. + **/ public void setRequireAcknowledgment(String requireAcknowledgment) { this.requireAcknowledgment = requireAcknowledgment; } + + /** + * signMessageWithX509Cert. + * + * @return EventNotification + **/ public EventNotification signMessageWithX509Cert(String signMessageWithX509Cert) { this.signMessageWithX509Cert = signMessageWithX509Cert; return this; } - /** - * When set to **true**, messages are signed with an X509 certificate. This provides support for 2-way SSL in the envelope. + /** + * When set to **true**, messages are signed with an X509 certificate. This provides support for 2-way SSL in the envelope. . * @return signMessageWithX509Cert - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, messages are signed with an X509 certificate. This provides support for 2-way SSL in the envelope. ") + **/ + @ApiModelProperty(value = "When set to **true**, messages are signed with an X509 certificate. This provides support for 2-way SSL in the envelope. ") public String getSignMessageWithX509Cert() { return signMessageWithX509Cert; } + /** + * setSignMessageWithX509Cert. + **/ public void setSignMessageWithX509Cert(String signMessageWithX509Cert) { this.signMessageWithX509Cert = signMessageWithX509Cert; } + + /** + * soapNameSpace. + * + * @return EventNotification + **/ public EventNotification soapNameSpace(String soapNameSpace) { this.soapNameSpace = soapNameSpace; return this; } - /** - * This lists the namespace in the SOAP listener provided. + /** + * This lists the namespace in the SOAP listener provided.. * @return soapNameSpace - **/ - @ApiModelProperty(example = "null", value = "This lists the namespace in the SOAP listener provided.") + **/ + @ApiModelProperty(value = "This lists the namespace in the SOAP listener provided.") public String getSoapNameSpace() { return soapNameSpace; } + /** + * setSoapNameSpace. + **/ public void setSoapNameSpace(String soapNameSpace) { this.soapNameSpace = soapNameSpace; } + + /** + * url. + * + * @return EventNotification + **/ public EventNotification url(String url) { this.url = url; return this; } - /** - * Specifies the endpoint to which envelope updates are sent. Udpates are sent as XML unless `useSoapInterface` property is set to **true**. + /** + * Specifies the endpoint to which envelope updates are sent. Udpates are sent as XML unless `useSoapInterface` property is set to **true**.. * @return url - **/ - @ApiModelProperty(example = "null", value = "Specifies the endpoint to which envelope updates are sent. Udpates are sent as XML unless `useSoapInterface` property is set to **true**.") + **/ + @ApiModelProperty(value = "Specifies the endpoint to which envelope updates are sent. Udpates are sent as XML unless `useSoapInterface` property is set to **true**.") public String getUrl() { return url; } + /** + * setUrl. + **/ public void setUrl(String url) { this.url = url; } + + /** + * useSoapInterface. + * + * @return EventNotification + **/ public EventNotification useSoapInterface(String useSoapInterface) { this.useSoapInterface = useSoapInterface; return this; } - /** - * When set to **true**, this tells the Connect service that the user's endpoint has implemented a SOAP interface. + /** + * When set to **true**, this tells the Connect service that the user's endpoint has implemented a SOAP interface. . * @return useSoapInterface - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, this tells the Connect service that the user's endpoint has implemented a SOAP interface. ") + **/ + @ApiModelProperty(value = "When set to **true**, this tells the Connect service that the user's endpoint has implemented a SOAP interface. ") public String getUseSoapInterface() { return useSoapInterface; } + /** + * setUseSoapInterface. + **/ public void setUseSoapInterface(String useSoapInterface) { this.useSoapInterface = useSoapInterface; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -355,6 +544,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.includeDocumentFields, eventNotification.includeDocumentFields) && Objects.equals(this.includeDocuments, eventNotification.includeDocuments) && Objects.equals(this.includeEnvelopeVoidReason, eventNotification.includeEnvelopeVoidReason) && + Objects.equals(this.includeHMAC, eventNotification.includeHMAC) && Objects.equals(this.includeSenderAccountAsCustomField, eventNotification.includeSenderAccountAsCustomField) && Objects.equals(this.includeTimeZone, eventNotification.includeTimeZone) && Objects.equals(this.loggingEnabled, eventNotification.loggingEnabled) && @@ -366,12 +556,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.useSoapInterface, eventNotification.useSoapInterface); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { - return Objects.hash(envelopeEvents, includeCertificateOfCompletion, includeCertificateWithSoap, includeDocumentFields, includeDocuments, includeEnvelopeVoidReason, includeSenderAccountAsCustomField, includeTimeZone, loggingEnabled, recipientEvents, requireAcknowledgment, signMessageWithX509Cert, soapNameSpace, url, useSoapInterface); + return Objects.hash(envelopeEvents, includeCertificateOfCompletion, includeCertificateWithSoap, includeDocumentFields, includeDocuments, includeEnvelopeVoidReason, includeHMAC, includeSenderAccountAsCustomField, includeTimeZone, loggingEnabled, recipientEvents, requireAcknowledgment, signMessageWithX509Cert, soapNameSpace, url, useSoapInterface); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -383,6 +579,7 @@ public String toString() { sb.append(" includeDocumentFields: ").append(toIndentedString(includeDocumentFields)).append("\n"); sb.append(" includeDocuments: ").append(toIndentedString(includeDocuments)).append("\n"); sb.append(" includeEnvelopeVoidReason: ").append(toIndentedString(includeEnvelopeVoidReason)).append("\n"); + sb.append(" includeHMAC: ").append(toIndentedString(includeHMAC)).append("\n"); sb.append(" includeSenderAccountAsCustomField: ").append(toIndentedString(includeSenderAccountAsCustomField)).append("\n"); sb.append(" includeTimeZone: ").append(toIndentedString(includeTimeZone)).append("\n"); sb.append(" loggingEnabled: ").append(toIndentedString(loggingEnabled)).append("\n"); @@ -406,6 +603,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/EventResult.java b/src/main/java/com/docusign/esign/model/EventResult.java index 8d082a77..e2c43cbf 100644 --- a/src/main/java/com/docusign/esign/model/EventResult.java +++ b/src/main/java/com/docusign/esign/model/EventResult.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * EventResult + * EventResult. + * */ public class EventResult { @@ -23,79 +26,120 @@ public class EventResult { @JsonProperty("vendorFailureStatusCode") private String vendorFailureStatusCode = null; + + /** + * eventTimestamp. + * + * @return EventResult + **/ public EventResult eventTimestamp(String eventTimestamp) { this.eventTimestamp = eventTimestamp; return this; } - /** - * + /** + * . * @return eventTimestamp - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getEventTimestamp() { return eventTimestamp; } + /** + * setEventTimestamp. + **/ public void setEventTimestamp(String eventTimestamp) { this.eventTimestamp = eventTimestamp; } + + /** + * failureDescription. + * + * @return EventResult + **/ public EventResult failureDescription(String failureDescription) { this.failureDescription = failureDescription; return this; } - /** - * + /** + * . * @return failureDescription - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getFailureDescription() { return failureDescription; } + /** + * setFailureDescription. + **/ public void setFailureDescription(String failureDescription) { this.failureDescription = failureDescription; } + + /** + * status. + * + * @return EventResult + **/ public EventResult status(String status) { this.status = status; return this; } - /** - * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. + /** + * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.. * @return status - **/ - @ApiModelProperty(example = "null", value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") + **/ + @ApiModelProperty(value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") public String getStatus() { return status; } + /** + * setStatus. + **/ public void setStatus(String status) { this.status = status; } + + /** + * vendorFailureStatusCode. + * + * @return EventResult + **/ public EventResult vendorFailureStatusCode(String vendorFailureStatusCode) { this.vendorFailureStatusCode = vendorFailureStatusCode; return this; } - /** - * + /** + * . * @return vendorFailureStatusCode - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getVendorFailureStatusCode() { return vendorFailureStatusCode; } + /** + * setVendorFailureStatusCode. + **/ public void setVendorFailureStatusCode(String vendorFailureStatusCode) { this.vendorFailureStatusCode = vendorFailureStatusCode; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -111,12 +155,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.vendorFailureStatusCode, eventResult.vendorFailureStatusCode); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(eventTimestamp, failureDescription, status, vendorFailureStatusCode); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -140,6 +190,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/Expirations.java b/src/main/java/com/docusign/esign/model/Expirations.java index 43f0db88..84522ebd 100644 --- a/src/main/java/com/docusign/esign/model/Expirations.java +++ b/src/main/java/com/docusign/esign/model/Expirations.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * A complex element that specifies the expiration settings for the envelope. + * A complex element that specifies the expiration settings for the envelope.. + * */ @ApiModel(description = "A complex element that specifies the expiration settings for the envelope.") @@ -21,61 +24,93 @@ public class Expirations { @JsonProperty("expireWarn") private String expireWarn = null; + + /** + * expireAfter. + * + * @return Expirations + **/ public Expirations expireAfter(String expireAfter) { this.expireAfter = expireAfter; return this; } - /** - * An integer that sets the number of days the envelope is active. + /** + * An integer that sets the number of days the envelope is active.. * @return expireAfter - **/ - @ApiModelProperty(example = "null", value = "An integer that sets the number of days the envelope is active.") + **/ + @ApiModelProperty(value = "An integer that sets the number of days the envelope is active.") public String getExpireAfter() { return expireAfter; } + /** + * setExpireAfter. + **/ public void setExpireAfter(String expireAfter) { this.expireAfter = expireAfter; } + + /** + * expireEnabled. + * + * @return Expirations + **/ public Expirations expireEnabled(String expireEnabled) { this.expireEnabled = expireEnabled; return this; } - /** - * When set to **true**, the envelope expires (is no longer available for signing) in the set number of days. If false, the account default setting is used. If the account does not have an expiration setting, the DocuSign default value of 120 days is used. + /** + * When set to **true**, the envelope expires (is no longer available for signing) in the set number of days. If false, the account default setting is used. If the account does not have an expiration setting, the DocuSign default value of 120 days is used.. * @return expireEnabled - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the envelope expires (is no longer available for signing) in the set number of days. If false, the account default setting is used. If the account does not have an expiration setting, the DocuSign default value of 120 days is used.") + **/ + @ApiModelProperty(value = "When set to **true**, the envelope expires (is no longer available for signing) in the set number of days. If false, the account default setting is used. If the account does not have an expiration setting, the DocuSign default value of 120 days is used.") public String getExpireEnabled() { return expireEnabled; } + /** + * setExpireEnabled. + **/ public void setExpireEnabled(String expireEnabled) { this.expireEnabled = expireEnabled; } + + /** + * expireWarn. + * + * @return Expirations + **/ public Expirations expireWarn(String expireWarn) { this.expireWarn = expireWarn; return this; } - /** - * An integer that sets the number of days before envelope expiration that an expiration warning email is sent to the recipient. If set to 0 (zero), no warning email is sent. + /** + * An integer that sets the number of days before envelope expiration that an expiration warning email is sent to the recipient. If set to 0 (zero), no warning email is sent.. * @return expireWarn - **/ - @ApiModelProperty(example = "null", value = "An integer that sets the number of days before envelope expiration that an expiration warning email is sent to the recipient. If set to 0 (zero), no warning email is sent.") + **/ + @ApiModelProperty(value = "An integer that sets the number of days before envelope expiration that an expiration warning email is sent to the recipient. If set to 0 (zero), no warning email is sent.") public String getExpireWarn() { return expireWarn; } + /** + * setExpireWarn. + **/ public void setExpireWarn(String expireWarn) { this.expireWarn = expireWarn; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -90,12 +125,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.expireWarn, expirations.expireWarn); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(expireAfter, expireEnabled, expireWarn); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -118,6 +159,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/ExternalClaim.java b/src/main/java/com/docusign/esign/model/ExternalClaim.java new file mode 100644 index 00000000..b5afe2e3 --- /dev/null +++ b/src/main/java/com/docusign/esign/model/ExternalClaim.java @@ -0,0 +1,145 @@ +package com.docusign.esign.model; + +import java.util.Objects; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +/** + * ExternalClaim + */ + +public class ExternalClaim { + @JsonProperty("acquiredTime") + private String acquiredTime = null; + + @JsonProperty("claimName") + private String claimName = null; + + @JsonProperty("provider") + private String provider = null; + + @JsonProperty("value") + private String value = null; + + public ExternalClaim acquiredTime(String acquiredTime) { + this.acquiredTime = acquiredTime; + return this; + } + + /** + * + * @return acquiredTime + **/ + @ApiModelProperty(example = "null", value = "") + public String getAcquiredTime() { + return acquiredTime; + } + + public void setAcquiredTime(String acquiredTime) { + this.acquiredTime = acquiredTime; + } + + public ExternalClaim claimName(String claimName) { + this.claimName = claimName; + return this; + } + + /** + * + * @return claimName + **/ + @ApiModelProperty(example = "null", value = "") + public String getClaimName() { + return claimName; + } + + public void setClaimName(String claimName) { + this.claimName = claimName; + } + + public ExternalClaim provider(String provider) { + this.provider = provider; + return this; + } + + /** + * + * @return provider + **/ + @ApiModelProperty(example = "null", value = "") + public String getProvider() { + return provider; + } + + public void setProvider(String provider) { + this.provider = provider; + } + + public ExternalClaim value(String value) { + this.value = value; + return this; + } + + /** + * Specifies the value of the tab. + * @return value + **/ + @ApiModelProperty(example = "null", value = "Specifies the value of the tab. ") + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ExternalClaim externalClaim = (ExternalClaim) o; + return Objects.equals(this.acquiredTime, externalClaim.acquiredTime) && + Objects.equals(this.claimName, externalClaim.claimName) && + Objects.equals(this.provider, externalClaim.provider) && + Objects.equals(this.value, externalClaim.value); + } + + @Override + public int hashCode() { + return Objects.hash(acquiredTime, claimName, provider, value); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ExternalClaim {\n"); + + sb.append(" acquiredTime: ").append(toIndentedString(acquiredTime)).append("\n"); + sb.append(" claimName: ").append(toIndentedString(claimName)).append("\n"); + sb.append(" provider: ").append(toIndentedString(provider)).append("\n"); + sb.append(" value: ").append(toIndentedString(value)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/com/docusign/esign/model/ExternalDocServiceErrorDetails.java b/src/main/java/com/docusign/esign/model/ExternalDocServiceErrorDetails.java index f8d22fc9..8afecd0f 100644 --- a/src/main/java/com/docusign/esign/model/ExternalDocServiceErrorDetails.java +++ b/src/main/java/com/docusign/esign/model/ExternalDocServiceErrorDetails.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * ExternalDocServiceErrorDetails + * ExternalDocServiceErrorDetails. + * */ public class ExternalDocServiceErrorDetails { @@ -20,61 +23,93 @@ public class ExternalDocServiceErrorDetails { @JsonProperty("message") private String message = null; + + /** + * authenticationUrl. + * + * @return ExternalDocServiceErrorDetails + **/ public ExternalDocServiceErrorDetails authenticationUrl(String authenticationUrl) { this.authenticationUrl = authenticationUrl; return this; } - /** - * Reserved: TBD + /** + * Reserved: TBD. * @return authenticationUrl - **/ - @ApiModelProperty(example = "null", value = "Reserved: TBD") + **/ + @ApiModelProperty(value = "Reserved: TBD") public String getAuthenticationUrl() { return authenticationUrl; } + /** + * setAuthenticationUrl. + **/ public void setAuthenticationUrl(String authenticationUrl) { this.authenticationUrl = authenticationUrl; } + + /** + * errorCode. + * + * @return ExternalDocServiceErrorDetails + **/ public ExternalDocServiceErrorDetails errorCode(String errorCode) { this.errorCode = errorCode; return this; } - /** - * + /** + * . * @return errorCode - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getErrorCode() { return errorCode; } + /** + * setErrorCode. + **/ public void setErrorCode(String errorCode) { this.errorCode = errorCode; } + + /** + * message. + * + * @return ExternalDocServiceErrorDetails + **/ public ExternalDocServiceErrorDetails message(String message) { this.message = message; return this; } - /** - * + /** + * . * @return message - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getMessage() { return message; } + /** + * setMessage. + **/ public void setMessage(String message) { this.message = message; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -89,12 +124,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.message, externalDocServiceErrorDetails.message); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(authenticationUrl, errorCode, message); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -117,6 +158,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/ExternalDocumentSources.java b/src/main/java/com/docusign/esign/model/ExternalDocumentSources.java new file mode 100644 index 00000000..97efee4a --- /dev/null +++ b/src/main/java/com/docusign/esign/model/ExternalDocumentSources.java @@ -0,0 +1,284 @@ +package com.docusign.esign.model; + +import java.util.Objects; +import com.docusign.esign.model.SettingsMetadata; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +/** + * ExternalDocumentSources + */ + +public class ExternalDocumentSources { + @JsonProperty("boxnetEnabled") + private String boxnetEnabled = null; + + @JsonProperty("boxnetMetadata") + private SettingsMetadata boxnetMetadata = null; + + @JsonProperty("dropboxEnabled") + private String dropboxEnabled = null; + + @JsonProperty("dropboxMetadata") + private SettingsMetadata dropboxMetadata = null; + + @JsonProperty("googleDriveEnabled") + private String googleDriveEnabled = null; + + @JsonProperty("googleDriveMetadata") + private SettingsMetadata googleDriveMetadata = null; + + @JsonProperty("oneDriveEnabled") + private String oneDriveEnabled = null; + + @JsonProperty("oneDriveMetadata") + private SettingsMetadata oneDriveMetadata = null; + + @JsonProperty("salesforceEnabled") + private String salesforceEnabled = null; + + @JsonProperty("salesforceMetadata") + private SettingsMetadata salesforceMetadata = null; + + public ExternalDocumentSources boxnetEnabled(String boxnetEnabled) { + this.boxnetEnabled = boxnetEnabled; + return this; + } + + /** + * + * @return boxnetEnabled + **/ + @ApiModelProperty(example = "null", value = "") + public String getBoxnetEnabled() { + return boxnetEnabled; + } + + public void setBoxnetEnabled(String boxnetEnabled) { + this.boxnetEnabled = boxnetEnabled; + } + + public ExternalDocumentSources boxnetMetadata(SettingsMetadata boxnetMetadata) { + this.boxnetMetadata = boxnetMetadata; + return this; + } + + /** + * Get boxnetMetadata + * @return boxnetMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public SettingsMetadata getBoxnetMetadata() { + return boxnetMetadata; + } + + public void setBoxnetMetadata(SettingsMetadata boxnetMetadata) { + this.boxnetMetadata = boxnetMetadata; + } + + public ExternalDocumentSources dropboxEnabled(String dropboxEnabled) { + this.dropboxEnabled = dropboxEnabled; + return this; + } + + /** + * + * @return dropboxEnabled + **/ + @ApiModelProperty(example = "null", value = "") + public String getDropboxEnabled() { + return dropboxEnabled; + } + + public void setDropboxEnabled(String dropboxEnabled) { + this.dropboxEnabled = dropboxEnabled; + } + + public ExternalDocumentSources dropboxMetadata(SettingsMetadata dropboxMetadata) { + this.dropboxMetadata = dropboxMetadata; + return this; + } + + /** + * Get dropboxMetadata + * @return dropboxMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public SettingsMetadata getDropboxMetadata() { + return dropboxMetadata; + } + + public void setDropboxMetadata(SettingsMetadata dropboxMetadata) { + this.dropboxMetadata = dropboxMetadata; + } + + public ExternalDocumentSources googleDriveEnabled(String googleDriveEnabled) { + this.googleDriveEnabled = googleDriveEnabled; + return this; + } + + /** + * + * @return googleDriveEnabled + **/ + @ApiModelProperty(example = "null", value = "") + public String getGoogleDriveEnabled() { + return googleDriveEnabled; + } + + public void setGoogleDriveEnabled(String googleDriveEnabled) { + this.googleDriveEnabled = googleDriveEnabled; + } + + public ExternalDocumentSources googleDriveMetadata(SettingsMetadata googleDriveMetadata) { + this.googleDriveMetadata = googleDriveMetadata; + return this; + } + + /** + * Get googleDriveMetadata + * @return googleDriveMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public SettingsMetadata getGoogleDriveMetadata() { + return googleDriveMetadata; + } + + public void setGoogleDriveMetadata(SettingsMetadata googleDriveMetadata) { + this.googleDriveMetadata = googleDriveMetadata; + } + + public ExternalDocumentSources oneDriveEnabled(String oneDriveEnabled) { + this.oneDriveEnabled = oneDriveEnabled; + return this; + } + + /** + * + * @return oneDriveEnabled + **/ + @ApiModelProperty(example = "null", value = "") + public String getOneDriveEnabled() { + return oneDriveEnabled; + } + + public void setOneDriveEnabled(String oneDriveEnabled) { + this.oneDriveEnabled = oneDriveEnabled; + } + + public ExternalDocumentSources oneDriveMetadata(SettingsMetadata oneDriveMetadata) { + this.oneDriveMetadata = oneDriveMetadata; + return this; + } + + /** + * Get oneDriveMetadata + * @return oneDriveMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public SettingsMetadata getOneDriveMetadata() { + return oneDriveMetadata; + } + + public void setOneDriveMetadata(SettingsMetadata oneDriveMetadata) { + this.oneDriveMetadata = oneDriveMetadata; + } + + public ExternalDocumentSources salesforceEnabled(String salesforceEnabled) { + this.salesforceEnabled = salesforceEnabled; + return this; + } + + /** + * + * @return salesforceEnabled + **/ + @ApiModelProperty(example = "null", value = "") + public String getSalesforceEnabled() { + return salesforceEnabled; + } + + public void setSalesforceEnabled(String salesforceEnabled) { + this.salesforceEnabled = salesforceEnabled; + } + + public ExternalDocumentSources salesforceMetadata(SettingsMetadata salesforceMetadata) { + this.salesforceMetadata = salesforceMetadata; + return this; + } + + /** + * Get salesforceMetadata + * @return salesforceMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public SettingsMetadata getSalesforceMetadata() { + return salesforceMetadata; + } + + public void setSalesforceMetadata(SettingsMetadata salesforceMetadata) { + this.salesforceMetadata = salesforceMetadata; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ExternalDocumentSources externalDocumentSources = (ExternalDocumentSources) o; + return Objects.equals(this.boxnetEnabled, externalDocumentSources.boxnetEnabled) && + Objects.equals(this.boxnetMetadata, externalDocumentSources.boxnetMetadata) && + Objects.equals(this.dropboxEnabled, externalDocumentSources.dropboxEnabled) && + Objects.equals(this.dropboxMetadata, externalDocumentSources.dropboxMetadata) && + Objects.equals(this.googleDriveEnabled, externalDocumentSources.googleDriveEnabled) && + Objects.equals(this.googleDriveMetadata, externalDocumentSources.googleDriveMetadata) && + Objects.equals(this.oneDriveEnabled, externalDocumentSources.oneDriveEnabled) && + Objects.equals(this.oneDriveMetadata, externalDocumentSources.oneDriveMetadata) && + Objects.equals(this.salesforceEnabled, externalDocumentSources.salesforceEnabled) && + Objects.equals(this.salesforceMetadata, externalDocumentSources.salesforceMetadata); + } + + @Override + public int hashCode() { + return Objects.hash(boxnetEnabled, boxnetMetadata, dropboxEnabled, dropboxMetadata, googleDriveEnabled, googleDriveMetadata, oneDriveEnabled, oneDriveMetadata, salesforceEnabled, salesforceMetadata); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ExternalDocumentSources {\n"); + + sb.append(" boxnetEnabled: ").append(toIndentedString(boxnetEnabled)).append("\n"); + sb.append(" boxnetMetadata: ").append(toIndentedString(boxnetMetadata)).append("\n"); + sb.append(" dropboxEnabled: ").append(toIndentedString(dropboxEnabled)).append("\n"); + sb.append(" dropboxMetadata: ").append(toIndentedString(dropboxMetadata)).append("\n"); + sb.append(" googleDriveEnabled: ").append(toIndentedString(googleDriveEnabled)).append("\n"); + sb.append(" googleDriveMetadata: ").append(toIndentedString(googleDriveMetadata)).append("\n"); + sb.append(" oneDriveEnabled: ").append(toIndentedString(oneDriveEnabled)).append("\n"); + sb.append(" oneDriveMetadata: ").append(toIndentedString(oneDriveMetadata)).append("\n"); + sb.append(" salesforceEnabled: ").append(toIndentedString(salesforceEnabled)).append("\n"); + sb.append(" salesforceMetadata: ").append(toIndentedString(salesforceMetadata)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/com/docusign/esign/model/ExternalFile.java b/src/main/java/com/docusign/esign/model/ExternalFile.java index 825951a6..653d3f17 100644 --- a/src/main/java/com/docusign/esign/model/ExternalFile.java +++ b/src/main/java/com/docusign/esign/model/ExternalFile.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * ExternalFile + * ExternalFile. + * */ public class ExternalFile { @@ -35,151 +38,228 @@ public class ExternalFile { @JsonProperty("uri") private String uri = null; + + /** + * date. + * + * @return ExternalFile + **/ public ExternalFile date(String date) { this.date = date; return this; } - /** - * + /** + * . * @return date - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getDate() { return date; } + /** + * setDate. + **/ public void setDate(String date) { this.date = date; } + + /** + * id. + * + * @return ExternalFile + **/ public ExternalFile id(String id) { this.id = id; return this; } - /** - * + /** + * . * @return id - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getId() { return id; } + /** + * setId. + **/ public void setId(String id) { this.id = id; } + + /** + * img. + * + * @return ExternalFile + **/ public ExternalFile img(String img) { this.img = img; return this; } - /** - * + /** + * . * @return img - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getImg() { return img; } + /** + * setImg. + **/ public void setImg(String img) { this.img = img; } + + /** + * name. + * + * @return ExternalFile + **/ public ExternalFile name(String name) { this.name = name; return this; } - /** - * + /** + * . * @return name - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * size. + * + * @return ExternalFile + **/ public ExternalFile size(String size) { this.size = size; return this; } - /** - * Reserved: TBD + /** + * Reserved: TBD. * @return size - **/ - @ApiModelProperty(example = "null", value = "Reserved: TBD") + **/ + @ApiModelProperty(value = "Reserved: TBD") public String getSize() { return size; } + /** + * setSize. + **/ public void setSize(String size) { this.size = size; } + + /** + * supported. + * + * @return ExternalFile + **/ public ExternalFile supported(String supported) { this.supported = supported; return this; } - /** - * + /** + * . * @return supported - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSupported() { return supported; } + /** + * setSupported. + **/ public void setSupported(String supported) { this.supported = supported; } + + /** + * type. + * + * @return ExternalFile + **/ public ExternalFile type(String type) { this.type = type; return this; } - /** - * + /** + * . * @return type - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getType() { return type; } + /** + * setType. + **/ public void setType(String type) { this.type = type; } + + /** + * uri. + * + * @return ExternalFile + **/ public ExternalFile uri(String uri) { this.uri = uri; return this; } - /** - * + /** + * . * @return uri - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getUri() { return uri; } + /** + * setUri. + **/ public void setUri(String uri) { this.uri = uri; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -199,12 +279,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.uri, externalFile.uri); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(date, id, img, name, size, supported, type, uri); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -232,6 +318,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/ExternalFolder.java b/src/main/java/com/docusign/esign/model/ExternalFolder.java index aa9a9992..66b84e4c 100644 --- a/src/main/java/com/docusign/esign/model/ExternalFolder.java +++ b/src/main/java/com/docusign/esign/model/ExternalFolder.java @@ -1,15 +1,18 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ExternalDocServiceErrorDetails; import com.docusign.esign.model.ExternalFile; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * ExternalFolder + * ExternalFolder. + * */ public class ExternalFolder { @@ -23,7 +26,7 @@ public class ExternalFolder { private String id = null; @JsonProperty("items") - private java.util.List items = new java.util.ArrayList(); + private java.util.List items = null; @JsonProperty("name") private String name = null; @@ -43,192 +46,295 @@ public class ExternalFolder { @JsonProperty("totalSetSize") private String totalSetSize = null; + + /** + * endPosition. + * + * @return ExternalFolder + **/ public ExternalFolder endPosition(String endPosition) { this.endPosition = endPosition; return this; } - /** - * The last position in the result set. + /** + * The last position in the result set. . * @return endPosition - **/ - @ApiModelProperty(example = "null", value = "The last position in the result set. ") + **/ + @ApiModelProperty(value = "The last position in the result set. ") public String getEndPosition() { return endPosition; } + /** + * setEndPosition. + **/ public void setEndPosition(String endPosition) { this.endPosition = endPosition; } + + /** + * errorDetails. + * + * @return ExternalFolder + **/ public ExternalFolder errorDetails(ExternalDocServiceErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ExternalDocServiceErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ExternalDocServiceErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * id. + * + * @return ExternalFolder + **/ public ExternalFolder id(String id) { this.id = id; return this; } - /** - * + /** + * . * @return id - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getId() { return id; } + /** + * setId. + **/ public void setId(String id) { this.id = id; } + + /** + * items. + * + * @return ExternalFolder + **/ public ExternalFolder items(java.util.List items) { this.items = items; return this; } - + + /** + * addItemsItem. + * + * @return ExternalFolder + **/ public ExternalFolder addItemsItem(ExternalFile itemsItem) { + if (this.items == null) { + this.items = new java.util.ArrayList(); + } this.items.add(itemsItem); return this; } - /** - * + /** + * . * @return items - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getItems() { return items; } + /** + * setItems. + **/ public void setItems(java.util.List items) { this.items = items; } + + /** + * name. + * + * @return ExternalFolder + **/ public ExternalFolder name(String name) { this.name = name; return this; } - /** - * + /** + * . * @return name - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * nextUri. + * + * @return ExternalFolder + **/ public ExternalFolder nextUri(String nextUri) { this.nextUri = nextUri; return this; } - /** - * The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. + /** + * The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. . * @return nextUri - **/ - @ApiModelProperty(example = "null", value = "The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. ") + **/ + @ApiModelProperty(value = "The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. ") public String getNextUri() { return nextUri; } + /** + * setNextUri. + **/ public void setNextUri(String nextUri) { this.nextUri = nextUri; } + + /** + * previousUri. + * + * @return ExternalFolder + **/ public ExternalFolder previousUri(String previousUri) { this.previousUri = previousUri; return this; } - /** - * The postal code for the billing address. + /** + * The postal code for the billing address.. * @return previousUri - **/ - @ApiModelProperty(example = "null", value = "The postal code for the billing address.") + **/ + @ApiModelProperty(value = "The postal code for the billing address.") public String getPreviousUri() { return previousUri; } + /** + * setPreviousUri. + **/ public void setPreviousUri(String previousUri) { this.previousUri = previousUri; } + + /** + * resultSetSize. + * + * @return ExternalFolder + **/ public ExternalFolder resultSetSize(String resultSetSize) { this.resultSetSize = resultSetSize; return this; } - /** - * The number of results returned in this response. + /** + * The number of results returned in this response. . * @return resultSetSize - **/ - @ApiModelProperty(example = "null", value = "The number of results returned in this response. ") + **/ + @ApiModelProperty(value = "The number of results returned in this response. ") public String getResultSetSize() { return resultSetSize; } + /** + * setResultSetSize. + **/ public void setResultSetSize(String resultSetSize) { this.resultSetSize = resultSetSize; } + + /** + * startPosition. + * + * @return ExternalFolder + **/ public ExternalFolder startPosition(String startPosition) { this.startPosition = startPosition; return this; } - /** - * Starting position of the current result set. + /** + * Starting position of the current result set.. * @return startPosition - **/ - @ApiModelProperty(example = "null", value = "Starting position of the current result set.") + **/ + @ApiModelProperty(value = "Starting position of the current result set.") public String getStartPosition() { return startPosition; } + /** + * setStartPosition. + **/ public void setStartPosition(String startPosition) { this.startPosition = startPosition; } + + /** + * totalSetSize. + * + * @return ExternalFolder + **/ public ExternalFolder totalSetSize(String totalSetSize) { this.totalSetSize = totalSetSize; return this; } - /** - * The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response. + /** + * The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.. * @return totalSetSize - **/ - @ApiModelProperty(example = "null", value = "The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.") + **/ + @ApiModelProperty(value = "The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.") public String getTotalSetSize() { return totalSetSize; } + /** + * setTotalSetSize. + **/ public void setTotalSetSize(String totalSetSize) { this.totalSetSize = totalSetSize; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -250,12 +356,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.totalSetSize, externalFolder.totalSetSize); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(endPosition, errorDetails, id, items, name, nextUri, previousUri, resultSetSize, startPosition, totalSetSize); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -285,6 +397,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/FeatureAvailableMetadata.java b/src/main/java/com/docusign/esign/model/FeatureAvailableMetadata.java new file mode 100644 index 00000000..984014ed --- /dev/null +++ b/src/main/java/com/docusign/esign/model/FeatureAvailableMetadata.java @@ -0,0 +1,99 @@ +package com.docusign.esign.model; + +import java.util.Objects; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +/** + * FeatureAvailableMetadata + */ + +public class FeatureAvailableMetadata { + @JsonProperty("availabilty") + private String availabilty = null; + + @JsonProperty("featureName") + private String featureName = null; + + public FeatureAvailableMetadata availabilty(String availabilty) { + this.availabilty = availabilty; + return this; + } + + /** + * + * @return availabilty + **/ + @ApiModelProperty(example = "null", value = "") + public String getAvailabilty() { + return availabilty; + } + + public void setAvailabilty(String availabilty) { + this.availabilty = availabilty; + } + + public FeatureAvailableMetadata featureName(String featureName) { + this.featureName = featureName; + return this; + } + + /** + * + * @return featureName + **/ + @ApiModelProperty(example = "null", value = "") + public String getFeatureName() { + return featureName; + } + + public void setFeatureName(String featureName) { + this.featureName = featureName; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + FeatureAvailableMetadata featureAvailableMetadata = (FeatureAvailableMetadata) o; + return Objects.equals(this.availabilty, featureAvailableMetadata.availabilty) && + Objects.equals(this.featureName, featureAvailableMetadata.featureName); + } + + @Override + public int hashCode() { + return Objects.hash(availabilty, featureName); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class FeatureAvailableMetadata {\n"); + + sb.append(" availabilty: ").append(toIndentedString(availabilty)).append("\n"); + sb.append(" featureName: ").append(toIndentedString(featureName)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/com/docusign/esign/model/FeatureSet.java b/src/main/java/com/docusign/esign/model/FeatureSet.java index 1ebca179..b87a11e3 100644 --- a/src/main/java/com/docusign/esign/model/FeatureSet.java +++ b/src/main/java/com/docusign/esign/model/FeatureSet.java @@ -1,19 +1,22 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.CurrencyFeatureSetPrice; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * FeatureSet + * FeatureSet. + * */ public class FeatureSet { @JsonProperty("currencyFeatureSetPrices") - private java.util.List currencyFeatureSetPrices = new java.util.ArrayList(); + private java.util.List currencyFeatureSetPrices = null; @JsonProperty("envelopeFee") private String envelopeFee = null; @@ -39,174 +42,268 @@ public class FeatureSet { @JsonProperty("seatFee") private String seatFee = null; + + /** + * currencyFeatureSetPrices. + * + * @return FeatureSet + **/ public FeatureSet currencyFeatureSetPrices(java.util.List currencyFeatureSetPrices) { this.currencyFeatureSetPrices = currencyFeatureSetPrices; return this; } - + + /** + * addCurrencyFeatureSetPricesItem. + * + * @return FeatureSet + **/ public FeatureSet addCurrencyFeatureSetPricesItem(CurrencyFeatureSetPrice currencyFeatureSetPricesItem) { + if (this.currencyFeatureSetPrices == null) { + this.currencyFeatureSetPrices = new java.util.ArrayList(); + } this.currencyFeatureSetPrices.add(currencyFeatureSetPricesItem); return this; } - /** - * A complex type that contains alternate currency values that are configured for this plan feature set. + /** + * A complex type that contains alternate currency values that are configured for this plan feature set.. * @return currencyFeatureSetPrices - **/ - @ApiModelProperty(example = "null", value = "A complex type that contains alternate currency values that are configured for this plan feature set.") + **/ + @ApiModelProperty(value = "A complex type that contains alternate currency values that are configured for this plan feature set.") public java.util.List getCurrencyFeatureSetPrices() { return currencyFeatureSetPrices; } + /** + * setCurrencyFeatureSetPrices. + **/ public void setCurrencyFeatureSetPrices(java.util.List currencyFeatureSetPrices) { this.currencyFeatureSetPrices = currencyFeatureSetPrices; } + + /** + * envelopeFee. + * + * @return FeatureSet + **/ public FeatureSet envelopeFee(String envelopeFee) { this.envelopeFee = envelopeFee; return this; } - /** - * + /** + * . * @return envelopeFee - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getEnvelopeFee() { return envelopeFee; } + /** + * setEnvelopeFee. + **/ public void setEnvelopeFee(String envelopeFee) { this.envelopeFee = envelopeFee; } + + /** + * featureSetId. + * + * @return FeatureSet + **/ public FeatureSet featureSetId(String featureSetId) { this.featureSetId = featureSetId; return this; } - /** - * A unique ID for the feature set. + /** + * A unique ID for the feature set.. * @return featureSetId - **/ - @ApiModelProperty(example = "null", value = "A unique ID for the feature set.") + **/ + @ApiModelProperty(value = "A unique ID for the feature set.") public String getFeatureSetId() { return featureSetId; } + /** + * setFeatureSetId. + **/ public void setFeatureSetId(String featureSetId) { this.featureSetId = featureSetId; } + + /** + * fixedFee. + * + * @return FeatureSet + **/ public FeatureSet fixedFee(String fixedFee) { this.fixedFee = fixedFee; return this; } - /** - * + /** + * . * @return fixedFee - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getFixedFee() { return fixedFee; } + /** + * setFixedFee. + **/ public void setFixedFee(String fixedFee) { this.fixedFee = fixedFee; } + + /** + * is21CFRPart11. + * + * @return FeatureSet + **/ public FeatureSet is21CFRPart11(String is21CFRPart11) { this.is21CFRPart11 = is21CFRPart11; return this; } - /** - * When set to **true**, indicates that this module is enabled on the account. + /** + * When set to **true**, indicates that this module is enabled on the account.. * @return is21CFRPart11 - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, indicates that this module is enabled on the account.") + **/ + @ApiModelProperty(value = "When set to **true**, indicates that this module is enabled on the account.") public String getIs21CFRPart11() { return is21CFRPart11; } + /** + * setIs21CFRPart11. + **/ public void setIs21CFRPart11(String is21CFRPart11) { this.is21CFRPart11 = is21CFRPart11; } + + /** + * isActive. + * + * @return FeatureSet + **/ public FeatureSet isActive(String isActive) { this.isActive = isActive; return this; } - /** - * + /** + * . * @return isActive - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getIsActive() { return isActive; } + /** + * setIsActive. + **/ public void setIsActive(String isActive) { this.isActive = isActive; } + + /** + * isEnabled. + * + * @return FeatureSet + **/ public FeatureSet isEnabled(String isEnabled) { this.isEnabled = isEnabled; return this; } - /** - * Specifies whether the feature set is actively enabled as part of the plan. + /** + * Specifies whether the feature set is actively enabled as part of the plan.. * @return isEnabled - **/ - @ApiModelProperty(example = "null", value = "Specifies whether the feature set is actively enabled as part of the plan.") + **/ + @ApiModelProperty(value = "Specifies whether the feature set is actively enabled as part of the plan.") public String getIsEnabled() { return isEnabled; } + /** + * setIsEnabled. + **/ public void setIsEnabled(String isEnabled) { this.isEnabled = isEnabled; } + + /** + * name. + * + * @return FeatureSet + **/ public FeatureSet name(String name) { this.name = name; return this; } - /** - * + /** + * . * @return name - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * seatFee. + * + * @return FeatureSet + **/ public FeatureSet seatFee(String seatFee) { this.seatFee = seatFee; return this; } - /** - * An incremental seat cost for seat-based plans. Only valid when isEnabled for the feature set is set to true. + /** + * An incremental seat cost for seat-based plans. Only valid when isEnabled for the feature set is set to true.. * @return seatFee - **/ - @ApiModelProperty(example = "null", value = "An incremental seat cost for seat-based plans. Only valid when isEnabled for the feature set is set to true.") + **/ + @ApiModelProperty(value = "An incremental seat cost for seat-based plans. Only valid when isEnabled for the feature set is set to true.") public String getSeatFee() { return seatFee; } + /** + * setSeatFee. + **/ public void setSeatFee(String seatFee) { this.seatFee = seatFee; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -227,12 +324,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.seatFee, featureSet.seatFee); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(currencyFeatureSetPrices, envelopeFee, featureSetId, fixedFee, is21CFRPart11, isActive, isEnabled, name, seatFee); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -261,6 +364,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/FileType.java b/src/main/java/com/docusign/esign/model/FileType.java index fd595928..323a2e5c 100644 --- a/src/main/java/com/docusign/esign/model/FileType.java +++ b/src/main/java/com/docusign/esign/model/FileType.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * FileType + * FileType. + * */ public class FileType { @@ -17,43 +20,66 @@ public class FileType { @JsonProperty("mimeType") private String mimeType = null; + + /** + * fileExtension. + * + * @return FileType + **/ public FileType fileExtension(String fileExtension) { this.fileExtension = fileExtension; return this; } - /** - * + /** + * . * @return fileExtension - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getFileExtension() { return fileExtension; } + /** + * setFileExtension. + **/ public void setFileExtension(String fileExtension) { this.fileExtension = fileExtension; } + + /** + * mimeType. + * + * @return FileType + **/ public FileType mimeType(String mimeType) { this.mimeType = mimeType; return this; } - /** - * The mime-type of a file type listed in a fileTypes collection. + /** + * The mime-type of a file type listed in a fileTypes collection.. * @return mimeType - **/ - @ApiModelProperty(example = "null", value = "The mime-type of a file type listed in a fileTypes collection.") + **/ + @ApiModelProperty(value = "The mime-type of a file type listed in a fileTypes collection.") public String getMimeType() { return mimeType; } + /** + * setMimeType. + **/ public void setMimeType(String mimeType) { this.mimeType = mimeType; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -67,12 +93,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.mimeType, fileType.mimeType); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(fileExtension, mimeType); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -94,6 +126,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/FileTypeList.java b/src/main/java/com/docusign/esign/model/FileTypeList.java index b6292cc4..9f3f7eca 100644 --- a/src/main/java/com/docusign/esign/model/FileTypeList.java +++ b/src/main/java/com/docusign/esign/model/FileTypeList.java @@ -1,44 +1,69 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.FileType; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * FileTypeList + * FileTypeList. + * */ public class FileTypeList { @JsonProperty("fileTypes") - private java.util.List fileTypes = new java.util.ArrayList(); + private java.util.List fileTypes = null; + + /** + * fileTypes. + * + * @return FileTypeList + **/ public FileTypeList fileTypes(java.util.List fileTypes) { this.fileTypes = fileTypes; return this; } - + + /** + * addFileTypesItem. + * + * @return FileTypeList + **/ public FileTypeList addFileTypesItem(FileType fileTypesItem) { + if (this.fileTypes == null) { + this.fileTypes = new java.util.ArrayList(); + } this.fileTypes.add(fileTypesItem); return this; } - /** - * A collection of file types. + /** + * A collection of file types.. * @return fileTypes - **/ - @ApiModelProperty(example = "null", value = "A collection of file types.") + **/ + @ApiModelProperty(value = "A collection of file types.") public java.util.List getFileTypes() { return fileTypes; } + /** + * setFileTypes. + **/ public void setFileTypes(java.util.List fileTypes) { this.fileTypes = fileTypes; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -51,12 +76,18 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.fileTypes, fileTypeList.fileTypes); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(fileTypes); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -77,6 +108,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/Filter.java b/src/main/java/com/docusign/esign/model/Filter.java index ff0f5747..04e2f364 100644 --- a/src/main/java/com/docusign/esign/model/Filter.java +++ b/src/main/java/com/docusign/esign/model/Filter.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Filter + * Filter. + * */ public class Filter { @@ -44,205 +47,309 @@ public class Filter { @JsonProperty("toDateTime") private String toDateTime = null; + + /** + * actionRequired. + * + * @return Filter + **/ public Filter actionRequired(String actionRequired) { this.actionRequired = actionRequired; return this; } - /** - * Access token information. + /** + * Access token information.. * @return actionRequired - **/ - @ApiModelProperty(example = "null", value = "Access token information.") + **/ + @ApiModelProperty(value = "Access token information.") public String getActionRequired() { return actionRequired; } + /** + * setActionRequired. + **/ public void setActionRequired(String actionRequired) { this.actionRequired = actionRequired; } + + /** + * expires. + * + * @return Filter + **/ public Filter expires(String expires) { this.expires = expires; return this; } - /** - * + /** + * . * @return expires - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getExpires() { return expires; } + /** + * setExpires. + **/ public void setExpires(String expires) { this.expires = expires; } + + /** + * folderIds. + * + * @return Filter + **/ public Filter folderIds(String folderIds) { this.folderIds = folderIds; return this; } - /** - * + /** + * . * @return folderIds - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getFolderIds() { return folderIds; } + /** + * setFolderIds. + **/ public void setFolderIds(String folderIds) { this.folderIds = folderIds; } + + /** + * fromDateTime. + * + * @return Filter + **/ public Filter fromDateTime(String fromDateTime) { this.fromDateTime = fromDateTime; return this; } - /** - * + /** + * . * @return fromDateTime - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getFromDateTime() { return fromDateTime; } + /** + * setFromDateTime. + **/ public void setFromDateTime(String fromDateTime) { this.fromDateTime = fromDateTime; } + + /** + * isTemplate. + * + * @return Filter + **/ public Filter isTemplate(String isTemplate) { this.isTemplate = isTemplate; return this; } - /** - * + /** + * . * @return isTemplate - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getIsTemplate() { return isTemplate; } + /** + * setIsTemplate. + **/ public void setIsTemplate(String isTemplate) { this.isTemplate = isTemplate; } + + /** + * order. + * + * @return Filter + **/ public Filter order(String order) { this.order = order; return this; } - /** - * + /** + * . * @return order - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getOrder() { return order; } + /** + * setOrder. + **/ public void setOrder(String order) { this.order = order; } + + /** + * orderBy. + * + * @return Filter + **/ public Filter orderBy(String orderBy) { this.orderBy = orderBy; return this; } - /** - * + /** + * . * @return orderBy - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getOrderBy() { return orderBy; } + /** + * setOrderBy. + **/ public void setOrderBy(String orderBy) { this.orderBy = orderBy; } + + /** + * searchTarget. + * + * @return Filter + **/ public Filter searchTarget(String searchTarget) { this.searchTarget = searchTarget; return this; } - /** - * + /** + * . * @return searchTarget - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSearchTarget() { return searchTarget; } + /** + * setSearchTarget. + **/ public void setSearchTarget(String searchTarget) { this.searchTarget = searchTarget; } + + /** + * searchText. + * + * @return Filter + **/ public Filter searchText(String searchText) { this.searchText = searchText; return this; } - /** - * + /** + * . * @return searchText - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSearchText() { return searchText; } + /** + * setSearchText. + **/ public void setSearchText(String searchText) { this.searchText = searchText; } + + /** + * status. + * + * @return Filter + **/ public Filter status(String status) { this.status = status; return this; } - /** - * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. + /** + * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.. * @return status - **/ - @ApiModelProperty(example = "null", value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") + **/ + @ApiModelProperty(value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") public String getStatus() { return status; } + /** + * setStatus. + **/ public void setStatus(String status) { this.status = status; } + + /** + * toDateTime. + * + * @return Filter + **/ public Filter toDateTime(String toDateTime) { this.toDateTime = toDateTime; return this; } - /** - * Must be set to \"bearer\". + /** + * Must be set to \"bearer\".. * @return toDateTime - **/ - @ApiModelProperty(example = "null", value = "Must be set to \"bearer\".") + **/ + @ApiModelProperty(value = "Must be set to \"bearer\".") public String getToDateTime() { return toDateTime; } + /** + * setToDateTime. + **/ public void setToDateTime(String toDateTime) { this.toDateTime = toDateTime; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -265,12 +372,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.toDateTime, filter.toDateTime); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(actionRequired, expires, folderIds, fromDateTime, isTemplate, order, orderBy, searchTarget, searchText, status, toDateTime); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -301,6 +414,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/FirstName.java b/src/main/java/com/docusign/esign/model/FirstName.java index 7d243e6b..c7d9602a 100644 --- a/src/main/java/com/docusign/esign/model/FirstName.java +++ b/src/main/java/com/docusign/esign/model/FirstName.java @@ -1,15 +1,18 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ErrorDetails; import com.docusign.esign.model.MergeField; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * FirstName + * FirstName. + * */ public class FirstName { @@ -83,7 +86,7 @@ public class FirstName { private String status = null; @JsonProperty("tabGroupLabels") - private java.util.List tabGroupLabels = new java.util.ArrayList(); + private java.util.List tabGroupLabels = null; @JsonProperty("tabId") private String tabId = null; @@ -115,624 +118,943 @@ public class FirstName { @JsonProperty("yPosition") private String yPosition = null; + + /** + * anchorCaseSensitive. + * + * @return FirstName + **/ public FirstName anchorCaseSensitive(String anchorCaseSensitive) { this.anchorCaseSensitive = anchorCaseSensitive; return this; } - /** - * When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**. + /** + * When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.. * @return anchorCaseSensitive - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.") + **/ + @ApiModelProperty(value = "When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.") public String getAnchorCaseSensitive() { return anchorCaseSensitive; } + /** + * setAnchorCaseSensitive. + **/ public void setAnchorCaseSensitive(String anchorCaseSensitive) { this.anchorCaseSensitive = anchorCaseSensitive; } + + /** + * anchorHorizontalAlignment. + * + * @return FirstName + **/ public FirstName anchorHorizontalAlignment(String anchorHorizontalAlignment) { this.anchorHorizontalAlignment = anchorHorizontalAlignment; return this; } - /** - * Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**. + /** + * Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.. * @return anchorHorizontalAlignment - **/ - @ApiModelProperty(example = "null", value = "Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.") + **/ + @ApiModelProperty(value = "Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.") public String getAnchorHorizontalAlignment() { return anchorHorizontalAlignment; } + /** + * setAnchorHorizontalAlignment. + **/ public void setAnchorHorizontalAlignment(String anchorHorizontalAlignment) { this.anchorHorizontalAlignment = anchorHorizontalAlignment; } + + /** + * anchorIgnoreIfNotPresent. + * + * @return FirstName + **/ public FirstName anchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { this.anchorIgnoreIfNotPresent = anchorIgnoreIfNotPresent; return this; } - /** - * When set to **true**, this tab is ignored if anchorString is not found in the document. + /** + * When set to **true**, this tab is ignored if anchorString is not found in the document.. * @return anchorIgnoreIfNotPresent - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, this tab is ignored if anchorString is not found in the document.") + **/ + @ApiModelProperty(value = "When set to **true**, this tab is ignored if anchorString is not found in the document.") public String getAnchorIgnoreIfNotPresent() { return anchorIgnoreIfNotPresent; } + /** + * setAnchorIgnoreIfNotPresent. + **/ public void setAnchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { this.anchorIgnoreIfNotPresent = anchorIgnoreIfNotPresent; } + + /** + * anchorMatchWholeWord. + * + * @return FirstName + **/ public FirstName anchorMatchWholeWord(String anchorMatchWholeWord) { this.anchorMatchWholeWord = anchorMatchWholeWord; return this; } - /** - * When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**. + /** + * When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.. * @return anchorMatchWholeWord - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.") + **/ + @ApiModelProperty(value = "When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.") public String getAnchorMatchWholeWord() { return anchorMatchWholeWord; } + /** + * setAnchorMatchWholeWord. + **/ public void setAnchorMatchWholeWord(String anchorMatchWholeWord) { this.anchorMatchWholeWord = anchorMatchWholeWord; } + + /** + * anchorString. + * + * @return FirstName + **/ public FirstName anchorString(String anchorString) { this.anchorString = anchorString; return this; } - /** - * Anchor text information for a radio button. + /** + * Anchor text information for a radio button.. * @return anchorString - **/ - @ApiModelProperty(example = "null", value = "Anchor text information for a radio button.") + **/ + @ApiModelProperty(value = "Anchor text information for a radio button.") public String getAnchorString() { return anchorString; } + /** + * setAnchorString. + **/ public void setAnchorString(String anchorString) { this.anchorString = anchorString; } + + /** + * anchorUnits. + * + * @return FirstName + **/ public FirstName anchorUnits(String anchorUnits) { this.anchorUnits = anchorUnits; return this; } - /** - * Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. + /** + * Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. * @return anchorUnits - **/ - @ApiModelProperty(example = "null", value = "Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.") + **/ + @ApiModelProperty(value = "Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.") public String getAnchorUnits() { return anchorUnits; } + /** + * setAnchorUnits. + **/ public void setAnchorUnits(String anchorUnits) { this.anchorUnits = anchorUnits; } + + /** + * anchorXOffset. + * + * @return FirstName + **/ public FirstName anchorXOffset(String anchorXOffset) { this.anchorXOffset = anchorXOffset; return this; } - /** - * Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString. + /** + * Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. * @return anchorXOffset - **/ - @ApiModelProperty(example = "null", value = "Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.") + **/ + @ApiModelProperty(value = "Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.") public String getAnchorXOffset() { return anchorXOffset; } + /** + * setAnchorXOffset. + **/ public void setAnchorXOffset(String anchorXOffset) { this.anchorXOffset = anchorXOffset; } + + /** + * anchorYOffset. + * + * @return FirstName + **/ public FirstName anchorYOffset(String anchorYOffset) { this.anchorYOffset = anchorYOffset; return this; } - /** - * Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString. + /** + * Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.. * @return anchorYOffset - **/ - @ApiModelProperty(example = "null", value = "Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.") + **/ + @ApiModelProperty(value = "Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.") public String getAnchorYOffset() { return anchorYOffset; } + /** + * setAnchorYOffset. + **/ public void setAnchorYOffset(String anchorYOffset) { this.anchorYOffset = anchorYOffset; } + + /** + * bold. + * + * @return FirstName + **/ public FirstName bold(String bold) { this.bold = bold; return this; } - /** - * When set to **true**, the information in the tab is bold. + /** + * When set to **true**, the information in the tab is bold.. * @return bold - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is bold.") + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is bold.") public String getBold() { return bold; } + /** + * setBold. + **/ public void setBold(String bold) { this.bold = bold; } + + /** + * conditionalParentLabel. + * + * @return FirstName + **/ public FirstName conditionalParentLabel(String conditionalParentLabel) { this.conditionalParentLabel = conditionalParentLabel; return this; } - /** - * For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility. + /** + * For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.. * @return conditionalParentLabel - **/ - @ApiModelProperty(example = "null", value = "For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.") + **/ + @ApiModelProperty(value = "For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.") public String getConditionalParentLabel() { return conditionalParentLabel; } + /** + * setConditionalParentLabel. + **/ public void setConditionalParentLabel(String conditionalParentLabel) { this.conditionalParentLabel = conditionalParentLabel; } + + /** + * conditionalParentValue. + * + * @return FirstName + **/ public FirstName conditionalParentValue(String conditionalParentValue) { this.conditionalParentValue = conditionalParentValue; return this; } - /** - * For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. + /** + * For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. . * @return conditionalParentValue - **/ - @ApiModelProperty(example = "null", value = "For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. ") + **/ + @ApiModelProperty(value = "For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. ") public String getConditionalParentValue() { return conditionalParentValue; } + /** + * setConditionalParentValue. + **/ public void setConditionalParentValue(String conditionalParentValue) { this.conditionalParentValue = conditionalParentValue; } + + /** + * customTabId. + * + * @return FirstName + **/ public FirstName customTabId(String customTabId) { this.customTabId = customTabId; return this; } - /** - * The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties. + /** + * The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.. * @return customTabId - **/ - @ApiModelProperty(example = "null", value = "The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.") + **/ + @ApiModelProperty(value = "The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.") public String getCustomTabId() { return customTabId; } + /** + * setCustomTabId. + **/ public void setCustomTabId(String customTabId) { this.customTabId = customTabId; } + + /** + * documentId. + * + * @return FirstName + **/ public FirstName documentId(String documentId) { this.documentId = documentId; return this; } - /** - * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute. + /** + * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.. * @return documentId - **/ - @ApiModelProperty(example = "null", value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") + **/ + @ApiModelProperty(value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") public String getDocumentId() { return documentId; } + /** + * setDocumentId. + **/ public void setDocumentId(String documentId) { this.documentId = documentId; } + + /** + * errorDetails. + * + * @return FirstName + **/ public FirstName errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * font. + * + * @return FirstName + **/ public FirstName font(String font) { this.font = font; return this; } - /** - * The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default. + /** + * The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.. * @return font - **/ - @ApiModelProperty(example = "null", value = "The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.") + **/ + @ApiModelProperty(value = "The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.") public String getFont() { return font; } + /** + * setFont. + **/ public void setFont(String font) { this.font = font; } + + /** + * fontColor. + * + * @return FirstName + **/ public FirstName fontColor(String fontColor) { this.fontColor = fontColor; return this; } - /** - * The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White. + /** + * The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.. * @return fontColor - **/ - @ApiModelProperty(example = "null", value = "The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.") + **/ + @ApiModelProperty(value = "The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.") public String getFontColor() { return fontColor; } + /** + * setFontColor. + **/ public void setFontColor(String fontColor) { this.fontColor = fontColor; } + + /** + * fontSize. + * + * @return FirstName + **/ public FirstName fontSize(String fontSize) { this.fontSize = fontSize; return this; } - /** - * The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72. + /** + * The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.. * @return fontSize - **/ - @ApiModelProperty(example = "null", value = "The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.") + **/ + @ApiModelProperty(value = "The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.") public String getFontSize() { return fontSize; } + /** + * setFontSize. + **/ public void setFontSize(String fontSize) { this.fontSize = fontSize; } + + /** + * italic. + * + * @return FirstName + **/ public FirstName italic(String italic) { this.italic = italic; return this; } - /** - * When set to **true**, the information in the tab is italic. + /** + * When set to **true**, the information in the tab is italic.. * @return italic - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is italic.") + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is italic.") public String getItalic() { return italic; } + /** + * setItalic. + **/ public void setItalic(String italic) { this.italic = italic; } + + /** + * mergeField. + * + * @return FirstName + **/ public FirstName mergeField(MergeField mergeField) { this.mergeField = mergeField; return this; } - /** - * Get mergeField + /** + * Get mergeField. * @return mergeField - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public MergeField getMergeField() { return mergeField; } + /** + * setMergeField. + **/ public void setMergeField(MergeField mergeField) { this.mergeField = mergeField; } + + /** + * name. + * + * @return FirstName + **/ public FirstName name(String name) { this.name = name; return this; } - /** - * + /** + * . * @return name - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * pageNumber. + * + * @return FirstName + **/ public FirstName pageNumber(String pageNumber) { this.pageNumber = pageNumber; return this; } - /** - * Specifies the page number on which the tab is located. + /** + * Specifies the page number on which the tab is located.. * @return pageNumber - **/ - @ApiModelProperty(example = "null", value = "Specifies the page number on which the tab is located.") + **/ + @ApiModelProperty(value = "Specifies the page number on which the tab is located.") public String getPageNumber() { return pageNumber; } + /** + * setPageNumber. + **/ public void setPageNumber(String pageNumber) { this.pageNumber = pageNumber; } + + /** + * recipientId. + * + * @return FirstName + **/ public FirstName recipientId(String recipientId) { this.recipientId = recipientId; return this; } - /** - * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document. + /** + * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.. * @return recipientId - **/ - @ApiModelProperty(example = "null", value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") + **/ + @ApiModelProperty(value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") public String getRecipientId() { return recipientId; } + /** + * setRecipientId. + **/ public void setRecipientId(String recipientId) { this.recipientId = recipientId; } + + /** + * status. + * + * @return FirstName + **/ public FirstName status(String status) { this.status = status; return this; } - /** - * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. + /** + * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.. * @return status - **/ - @ApiModelProperty(example = "null", value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") + **/ + @ApiModelProperty(value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") public String getStatus() { return status; } + /** + * setStatus. + **/ public void setStatus(String status) { this.status = status; } + + /** + * tabGroupLabels. + * + * @return FirstName + **/ public FirstName tabGroupLabels(java.util.List tabGroupLabels) { this.tabGroupLabels = tabGroupLabels; return this; } - + + /** + * addTabGroupLabelsItem. + * + * @return FirstName + **/ public FirstName addTabGroupLabelsItem(String tabGroupLabelsItem) { + if (this.tabGroupLabels == null) { + this.tabGroupLabels = new java.util.ArrayList(); + } this.tabGroupLabels.add(tabGroupLabelsItem); return this; } - /** - * + /** + * . * @return tabGroupLabels - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getTabGroupLabels() { return tabGroupLabels; } + /** + * setTabGroupLabels. + **/ public void setTabGroupLabels(java.util.List tabGroupLabels) { this.tabGroupLabels = tabGroupLabels; } + + /** + * tabId. + * + * @return FirstName + **/ public FirstName tabId(String tabId) { this.tabId = tabId; return this; } - /** - * The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. + /** + * The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. . * @return tabId - **/ - @ApiModelProperty(example = "null", value = "The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. ") + **/ + @ApiModelProperty(value = "The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. ") public String getTabId() { return tabId; } + /** + * setTabId. + **/ public void setTabId(String tabId) { this.tabId = tabId; } + + /** + * tabLabel. + * + * @return FirstName + **/ public FirstName tabLabel(String tabLabel) { this.tabLabel = tabLabel; return this; } - /** - * The label string associated with the tab. + /** + * The label string associated with the tab.. * @return tabLabel - **/ - @ApiModelProperty(example = "null", value = "The label string associated with the tab.") + **/ + @ApiModelProperty(value = "The label string associated with the tab.") public String getTabLabel() { return tabLabel; } + /** + * setTabLabel. + **/ public void setTabLabel(String tabLabel) { this.tabLabel = tabLabel; } + + /** + * tabOrder. + * + * @return FirstName + **/ public FirstName tabOrder(String tabOrder) { this.tabOrder = tabOrder; return this; } - /** - * + /** + * . * @return tabOrder - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTabOrder() { return tabOrder; } + /** + * setTabOrder. + **/ public void setTabOrder(String tabOrder) { this.tabOrder = tabOrder; } + + /** + * templateLocked. + * + * @return FirstName + **/ public FirstName templateLocked(String templateLocked) { this.templateLocked = templateLocked; return this; } - /** - * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. . * @return templateLocked - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") + **/ + @ApiModelProperty(value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") public String getTemplateLocked() { return templateLocked; } + /** + * setTemplateLocked. + **/ public void setTemplateLocked(String templateLocked) { this.templateLocked = templateLocked; } + + /** + * templateRequired. + * + * @return FirstName + **/ public FirstName templateRequired(String templateRequired) { this.templateRequired = templateRequired; return this; } - /** - * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.. * @return templateRequired - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") + **/ + @ApiModelProperty(value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") public String getTemplateRequired() { return templateRequired; } + /** + * setTemplateRequired. + **/ public void setTemplateRequired(String templateRequired) { this.templateRequired = templateRequired; } + + /** + * tooltip. + * + * @return FirstName + **/ public FirstName tooltip(String tooltip) { this.tooltip = tooltip; return this; } - /** - * + /** + * . * @return tooltip - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTooltip() { return tooltip; } + /** + * setTooltip. + **/ public void setTooltip(String tooltip) { this.tooltip = tooltip; } + + /** + * underline. + * + * @return FirstName + **/ public FirstName underline(String underline) { this.underline = underline; return this; } - /** - * When set to **true**, the information in the tab is underlined. + /** + * When set to **true**, the information in the tab is underlined.. * @return underline - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is underlined.") + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is underlined.") public String getUnderline() { return underline; } + /** + * setUnderline. + **/ public void setUnderline(String underline) { this.underline = underline; } + + /** + * value. + * + * @return FirstName + **/ public FirstName value(String value) { this.value = value; return this; } - /** - * Specifies the value of the tab. + /** + * Specifies the value of the tab. . * @return value - **/ - @ApiModelProperty(example = "null", value = "Specifies the value of the tab. ") + **/ + @ApiModelProperty(value = "Specifies the value of the tab. ") public String getValue() { return value; } + /** + * setValue. + **/ public void setValue(String value) { this.value = value; } + + /** + * xPosition. + * + * @return FirstName + **/ public FirstName xPosition(String xPosition) { this.xPosition = xPosition; return this; } - /** - * This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position. + /** + * This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.. * @return xPosition - **/ - @ApiModelProperty(example = "null", value = "This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.") + **/ + @ApiModelProperty(value = "This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.") public String getXPosition() { return xPosition; } + /** + * setXPosition. + **/ public void setXPosition(String xPosition) { this.xPosition = xPosition; } + + /** + * yPosition. + * + * @return FirstName + **/ public FirstName yPosition(String yPosition) { this.yPosition = yPosition; return this; } - /** - * This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position. + /** + * This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. * @return yPosition - **/ - @ApiModelProperty(example = "null", value = "This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.") + **/ + @ApiModelProperty(value = "This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.") public String getYPosition() { return yPosition; } + /** + * setYPosition. + **/ public void setYPosition(String yPosition) { this.yPosition = yPosition; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -778,12 +1100,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.yPosition, firstName.yPosition); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(anchorCaseSensitive, anchorHorizontalAlignment, anchorIgnoreIfNotPresent, anchorMatchWholeWord, anchorString, anchorUnits, anchorXOffset, anchorYOffset, bold, conditionalParentLabel, conditionalParentValue, customTabId, documentId, errorDetails, font, fontColor, fontSize, italic, mergeField, name, pageNumber, recipientId, status, tabGroupLabels, tabId, tabLabel, tabOrder, templateLocked, templateRequired, tooltip, underline, value, xPosition, yPosition); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -837,6 +1165,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/Folder.java b/src/main/java/com/docusign/esign/model/Folder.java index cfe1c404..87afb933 100644 --- a/src/main/java/com/docusign/esign/model/Folder.java +++ b/src/main/java/com/docusign/esign/model/Folder.java @@ -1,16 +1,19 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ErrorDetails; import com.docusign.esign.model.Filter; import com.docusign.esign.model.Folder; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Folder + * Folder. + * */ public class Folder { @@ -24,7 +27,7 @@ public class Folder { private String folderId = null; @JsonProperty("folders") - private java.util.List folders = new java.util.ArrayList(); + private java.util.List folders = null; @JsonProperty("name") private String name = null; @@ -50,228 +53,349 @@ public class Folder { @JsonProperty("uri") private String uri = null; + + /** + * errorDetails. + * + * @return Folder + **/ public Folder errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * filter. + * + * @return Folder + **/ public Folder filter(Filter filter) { this.filter = filter; return this; } - /** - * Get filter + /** + * Get filter. * @return filter - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public Filter getFilter() { return filter; } + /** + * setFilter. + **/ public void setFilter(Filter filter) { this.filter = filter; } + + /** + * folderId. + * + * @return Folder + **/ public Folder folderId(String folderId) { this.folderId = folderId; return this; } - /** - * + /** + * . * @return folderId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getFolderId() { return folderId; } + /** + * setFolderId. + **/ public void setFolderId(String folderId) { this.folderId = folderId; } + + /** + * folders. + * + * @return Folder + **/ public Folder folders(java.util.List folders) { this.folders = folders; return this; } - + + /** + * addFoldersItem. + * + * @return Folder + **/ public Folder addFoldersItem(Folder foldersItem) { + if (this.folders == null) { + this.folders = new java.util.ArrayList(); + } this.folders.add(foldersItem); return this; } - /** - * A collection of folder objects returned in a response. + /** + * A collection of folder objects returned in a response.. * @return folders - **/ - @ApiModelProperty(example = "null", value = "A collection of folder objects returned in a response.") + **/ + @ApiModelProperty(value = "A collection of folder objects returned in a response.") public java.util.List getFolders() { return folders; } + /** + * setFolders. + **/ public void setFolders(java.util.List folders) { this.folders = folders; } + + /** + * name. + * + * @return Folder + **/ public Folder name(String name) { this.name = name; return this; } - /** - * + /** + * . * @return name - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * ownerEmail. + * + * @return Folder + **/ public Folder ownerEmail(String ownerEmail) { this.ownerEmail = ownerEmail; return this; } - /** - * + /** + * . * @return ownerEmail - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getOwnerEmail() { return ownerEmail; } + /** + * setOwnerEmail. + **/ public void setOwnerEmail(String ownerEmail) { this.ownerEmail = ownerEmail; } + + /** + * ownerUserId. + * + * @return Folder + **/ public Folder ownerUserId(String ownerUserId) { this.ownerUserId = ownerUserId; return this; } - /** - * + /** + * . * @return ownerUserId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getOwnerUserId() { return ownerUserId; } + /** + * setOwnerUserId. + **/ public void setOwnerUserId(String ownerUserId) { this.ownerUserId = ownerUserId; } + + /** + * ownerUserName. + * + * @return Folder + **/ public Folder ownerUserName(String ownerUserName) { this.ownerUserName = ownerUserName; return this; } - /** - * + /** + * . * @return ownerUserName - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getOwnerUserName() { return ownerUserName; } + /** + * setOwnerUserName. + **/ public void setOwnerUserName(String ownerUserName) { this.ownerUserName = ownerUserName; } + + /** + * parentFolderId. + * + * @return Folder + **/ public Folder parentFolderId(String parentFolderId) { this.parentFolderId = parentFolderId; return this; } - /** - * + /** + * . * @return parentFolderId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getParentFolderId() { return parentFolderId; } + /** + * setParentFolderId. + **/ public void setParentFolderId(String parentFolderId) { this.parentFolderId = parentFolderId; } + + /** + * parentFolderUri. + * + * @return Folder + **/ public Folder parentFolderUri(String parentFolderUri) { this.parentFolderUri = parentFolderUri; return this; } - /** - * + /** + * . * @return parentFolderUri - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getParentFolderUri() { return parentFolderUri; } + /** + * setParentFolderUri. + **/ public void setParentFolderUri(String parentFolderUri) { this.parentFolderUri = parentFolderUri; } + + /** + * type. + * + * @return Folder + **/ public Folder type(String type) { this.type = type; return this; } - /** - * + /** + * . * @return type - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getType() { return type; } + /** + * setType. + **/ public void setType(String type) { this.type = type; } + + /** + * uri. + * + * @return Folder + **/ public Folder uri(String uri) { this.uri = uri; return this; } - /** - * + /** + * . * @return uri - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getUri() { return uri; } + /** + * setUri. + **/ public void setUri(String uri) { this.uri = uri; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -295,12 +419,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.uri, folder.uri); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(errorDetails, filter, folderId, folders, name, ownerEmail, ownerUserId, ownerUserName, parentFolderId, parentFolderUri, type, uri); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -332,6 +462,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/FolderItem.java b/src/main/java/com/docusign/esign/model/FolderItem.java index 48edf64e..d28b9d4a 100644 --- a/src/main/java/com/docusign/esign/model/FolderItem.java +++ b/src/main/java/com/docusign/esign/model/FolderItem.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.CustomFieldV2; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * FolderItem + * FolderItem. + * */ public class FolderItem { @@ -19,7 +22,7 @@ public class FolderItem { private String createdDateTime = null; @JsonProperty("customFields") - private java.util.List customFields = new java.util.ArrayList(); + private java.util.List customFields = null; @JsonProperty("description") private String description = null; @@ -75,390 +78,592 @@ public class FolderItem { @JsonProperty("uri") private String uri = null; + + /** + * completedDateTime. + * + * @return FolderItem + **/ public FolderItem completedDateTime(String completedDateTime) { this.completedDateTime = completedDateTime; return this; } - /** - * Specifies the date and time this item was completed. + /** + * Specifies the date and time this item was completed.. * @return completedDateTime - **/ - @ApiModelProperty(example = "null", value = "Specifies the date and time this item was completed.") + **/ + @ApiModelProperty(value = "Specifies the date and time this item was completed.") public String getCompletedDateTime() { return completedDateTime; } + /** + * setCompletedDateTime. + **/ public void setCompletedDateTime(String completedDateTime) { this.completedDateTime = completedDateTime; } + + /** + * createdDateTime. + * + * @return FolderItem + **/ public FolderItem createdDateTime(String createdDateTime) { this.createdDateTime = createdDateTime; return this; } - /** - * Indicates the date and time the item was created. + /** + * Indicates the date and time the item was created.. * @return createdDateTime - **/ - @ApiModelProperty(example = "null", value = "Indicates the date and time the item was created.") + **/ + @ApiModelProperty(value = "Indicates the date and time the item was created.") public String getCreatedDateTime() { return createdDateTime; } + /** + * setCreatedDateTime. + **/ public void setCreatedDateTime(String createdDateTime) { this.createdDateTime = createdDateTime; } + + /** + * customFields. + * + * @return FolderItem + **/ public FolderItem customFields(java.util.List customFields) { this.customFields = customFields; return this; } - + + /** + * addCustomFieldsItem. + * + * @return FolderItem + **/ public FolderItem addCustomFieldsItem(CustomFieldV2 customFieldsItem) { + if (this.customFields == null) { + this.customFields = new java.util.ArrayList(); + } this.customFields.add(customFieldsItem); return this; } - /** - * An optional array of strings that allows the sender to provide custom data about the recipient. This information is returned in the envelope status but otherwise not used by DocuSign. Each customField string can be a maximum of 100 characters. + /** + * An optional array of strings that allows the sender to provide custom data about the recipient. This information is returned in the envelope status but otherwise not used by DocuSign. Each customField string can be a maximum of 100 characters.. * @return customFields - **/ - @ApiModelProperty(example = "null", value = "An optional array of strings that allows the sender to provide custom data about the recipient. This information is returned in the envelope status but otherwise not used by DocuSign. Each customField string can be a maximum of 100 characters.") + **/ + @ApiModelProperty(value = "An optional array of strings that allows the sender to provide custom data about the recipient. This information is returned in the envelope status but otherwise not used by DocuSign. Each customField string can be a maximum of 100 characters.") public java.util.List getCustomFields() { return customFields; } + /** + * setCustomFields. + **/ public void setCustomFields(java.util.List customFields) { this.customFields = customFields; } + + /** + * description. + * + * @return FolderItem + **/ public FolderItem description(String description) { this.description = description; return this; } - /** - * + /** + * . * @return description - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getDescription() { return description; } + /** + * setDescription. + **/ public void setDescription(String description) { this.description = description; } + + /** + * envelopeId. + * + * @return FolderItem + **/ public FolderItem envelopeId(String envelopeId) { this.envelopeId = envelopeId; return this; } - /** - * The envelope ID of the envelope status that failed to post. + /** + * The envelope ID of the envelope status that failed to post.. * @return envelopeId - **/ - @ApiModelProperty(example = "null", value = "The envelope ID of the envelope status that failed to post.") + **/ + @ApiModelProperty(value = "The envelope ID of the envelope status that failed to post.") public String getEnvelopeId() { return envelopeId; } + /** + * setEnvelopeId. + **/ public void setEnvelopeId(String envelopeId) { this.envelopeId = envelopeId; } + + /** + * envelopeUri. + * + * @return FolderItem + **/ public FolderItem envelopeUri(String envelopeUri) { this.envelopeUri = envelopeUri; return this; } - /** - * Contains a URI for an endpoint that you can use to retrieve the envelope or envelopes. + /** + * Contains a URI for an endpoint that you can use to retrieve the envelope or envelopes.. * @return envelopeUri - **/ - @ApiModelProperty(example = "null", value = "Contains a URI for an endpoint that you can use to retrieve the envelope or envelopes.") + **/ + @ApiModelProperty(value = "Contains a URI for an endpoint that you can use to retrieve the envelope or envelopes.") public String getEnvelopeUri() { return envelopeUri; } + /** + * setEnvelopeUri. + **/ public void setEnvelopeUri(String envelopeUri) { this.envelopeUri = envelopeUri; } + + /** + * is21CFRPart11. + * + * @return FolderItem + **/ public FolderItem is21CFRPart11(String is21CFRPart11) { this.is21CFRPart11 = is21CFRPart11; return this; } - /** - * When set to **true**, indicates that this module is enabled on the account. + /** + * When set to **true**, indicates that this module is enabled on the account.. * @return is21CFRPart11 - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, indicates that this module is enabled on the account.") + **/ + @ApiModelProperty(value = "When set to **true**, indicates that this module is enabled on the account.") public String getIs21CFRPart11() { return is21CFRPart11; } + /** + * setIs21CFRPart11. + **/ public void setIs21CFRPart11(String is21CFRPart11) { this.is21CFRPart11 = is21CFRPart11; } + + /** + * isSignatureProviderEnvelope. + * + * @return FolderItem + **/ public FolderItem isSignatureProviderEnvelope(String isSignatureProviderEnvelope) { this.isSignatureProviderEnvelope = isSignatureProviderEnvelope; return this; } - /** - * + /** + * . * @return isSignatureProviderEnvelope - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getIsSignatureProviderEnvelope() { return isSignatureProviderEnvelope; } + /** + * setIsSignatureProviderEnvelope. + **/ public void setIsSignatureProviderEnvelope(String isSignatureProviderEnvelope) { this.isSignatureProviderEnvelope = isSignatureProviderEnvelope; } + + /** + * lastModified. + * + * @return FolderItem + **/ public FolderItem lastModified(String lastModified) { this.lastModified = lastModified; return this; } - /** - * + /** + * . * @return lastModified - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getLastModified() { return lastModified; } + /** + * setLastModified. + **/ public void setLastModified(String lastModified) { this.lastModified = lastModified; } + + /** + * name. + * + * @return FolderItem + **/ public FolderItem name(String name) { this.name = name; return this; } - /** - * + /** + * . * @return name - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * ownerName. + * + * @return FolderItem + **/ public FolderItem ownerName(String ownerName) { this.ownerName = ownerName; return this; } - /** - * Name of the envelope owner. + /** + * Name of the envelope owner.. * @return ownerName - **/ - @ApiModelProperty(example = "null", value = "Name of the envelope owner.") + **/ + @ApiModelProperty(value = "Name of the envelope owner.") public String getOwnerName() { return ownerName; } + /** + * setOwnerName. + **/ public void setOwnerName(String ownerName) { this.ownerName = ownerName; } + + /** + * pageCount. + * + * @return FolderItem + **/ public FolderItem pageCount(Integer pageCount) { this.pageCount = pageCount; return this; } - /** - * + /** + * . * @return pageCount - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public Integer getPageCount() { return pageCount; } + /** + * setPageCount. + **/ public void setPageCount(Integer pageCount) { this.pageCount = pageCount; } + + /** + * password. + * + * @return FolderItem + **/ public FolderItem password(String password) { this.password = password; return this; } - /** - * + /** + * . * @return password - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPassword() { return password; } + /** + * setPassword. + **/ public void setPassword(String password) { this.password = password; } + + /** + * senderEmail. + * + * @return FolderItem + **/ public FolderItem senderEmail(String senderEmail) { this.senderEmail = senderEmail; return this; } - /** - * + /** + * . * @return senderEmail - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSenderEmail() { return senderEmail; } + /** + * setSenderEmail. + **/ public void setSenderEmail(String senderEmail) { this.senderEmail = senderEmail; } + + /** + * senderName. + * + * @return FolderItem + **/ public FolderItem senderName(String senderName) { this.senderName = senderName; return this; } - /** - * Name of the envelope sender. + /** + * Name of the envelope sender.. * @return senderName - **/ - @ApiModelProperty(example = "null", value = "Name of the envelope sender.") + **/ + @ApiModelProperty(value = "Name of the envelope sender.") public String getSenderName() { return senderName; } + /** + * setSenderName. + **/ public void setSenderName(String senderName) { this.senderName = senderName; } + + /** + * sentDateTime. + * + * @return FolderItem + **/ public FolderItem sentDateTime(String sentDateTime) { this.sentDateTime = sentDateTime; return this; } - /** - * The date and time the envelope was sent. + /** + * The date and time the envelope was sent.. * @return sentDateTime - **/ - @ApiModelProperty(example = "null", value = "The date and time the envelope was sent.") + **/ + @ApiModelProperty(value = "The date and time the envelope was sent.") public String getSentDateTime() { return sentDateTime; } + /** + * setSentDateTime. + **/ public void setSentDateTime(String sentDateTime) { this.sentDateTime = sentDateTime; } + + /** + * shared. + * + * @return FolderItem + **/ public FolderItem shared(String shared) { this.shared = shared; return this; } - /** - * When set to **true**, this custom tab is shared. + /** + * When set to **true**, this custom tab is shared.. * @return shared - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, this custom tab is shared.") + **/ + @ApiModelProperty(value = "When set to **true**, this custom tab is shared.") public String getShared() { return shared; } + /** + * setShared. + **/ public void setShared(String shared) { this.shared = shared; } + + /** + * status. + * + * @return FolderItem + **/ public FolderItem status(String status) { this.status = status; return this; } - /** - * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. + /** + * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.. * @return status - **/ - @ApiModelProperty(example = "null", value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") + **/ + @ApiModelProperty(value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") public String getStatus() { return status; } + /** + * setStatus. + **/ public void setStatus(String status) { this.status = status; } + + /** + * subject. + * + * @return FolderItem + **/ public FolderItem subject(String subject) { this.subject = subject; return this; } - /** - * + /** + * . * @return subject - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSubject() { return subject; } + /** + * setSubject. + **/ public void setSubject(String subject) { this.subject = subject; } + + /** + * templateId. + * + * @return FolderItem + **/ public FolderItem templateId(String templateId) { this.templateId = templateId; return this; } - /** - * The unique identifier of the template. If this is not provided, DocuSign will generate a value. + /** + * The unique identifier of the template. If this is not provided, DocuSign will generate a value. . * @return templateId - **/ - @ApiModelProperty(example = "null", value = "The unique identifier of the template. If this is not provided, DocuSign will generate a value. ") + **/ + @ApiModelProperty(value = "The unique identifier of the template. If this is not provided, DocuSign will generate a value. ") public String getTemplateId() { return templateId; } + /** + * setTemplateId. + **/ public void setTemplateId(String templateId) { this.templateId = templateId; } + + /** + * uri. + * + * @return FolderItem + **/ public FolderItem uri(String uri) { this.uri = uri; return this; } - /** - * + /** + * . * @return uri - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getUri() { return uri; } + /** + * setUri. + **/ public void setUri(String uri) { this.uri = uri; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -491,12 +696,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.uri, folderItem.uri); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(completedDateTime, createdDateTime, customFields, description, envelopeId, envelopeUri, is21CFRPart11, isSignatureProviderEnvelope, lastModified, name, ownerName, pageCount, password, senderEmail, senderName, sentDateTime, shared, status, subject, templateId, uri); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -537,6 +748,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/FolderItemResponse.java b/src/main/java/com/docusign/esign/model/FolderItemResponse.java index 34d4e414..1ccb8aff 100644 --- a/src/main/java/com/docusign/esign/model/FolderItemResponse.java +++ b/src/main/java/com/docusign/esign/model/FolderItemResponse.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.FolderItemV2; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * FolderItemResponse + * FolderItemResponse. + * */ public class FolderItemResponse { @@ -16,7 +19,7 @@ public class FolderItemResponse { private String endPosition = null; @JsonProperty("folderItems") - private java.util.List folderItems = new java.util.ArrayList(); + private java.util.List folderItems = null; @JsonProperty("nextUri") private String nextUri = null; @@ -33,138 +36,214 @@ public class FolderItemResponse { @JsonProperty("totalRows") private String totalRows = null; + + /** + * endPosition. + * + * @return FolderItemResponse + **/ public FolderItemResponse endPosition(String endPosition) { this.endPosition = endPosition; return this; } - /** - * The last position in the result set. + /** + * The last position in the result set. . * @return endPosition - **/ - @ApiModelProperty(example = "null", value = "The last position in the result set. ") + **/ + @ApiModelProperty(value = "The last position in the result set. ") public String getEndPosition() { return endPosition; } + /** + * setEndPosition. + **/ public void setEndPosition(String endPosition) { this.endPosition = endPosition; } + + /** + * folderItems. + * + * @return FolderItemResponse + **/ public FolderItemResponse folderItems(java.util.List folderItems) { this.folderItems = folderItems; return this; } - + + /** + * addFolderItemsItem. + * + * @return FolderItemResponse + **/ public FolderItemResponse addFolderItemsItem(FolderItemV2 folderItemsItem) { + if (this.folderItems == null) { + this.folderItems = new java.util.ArrayList(); + } this.folderItems.add(folderItemsItem); return this; } - /** - * A list of the envelopes in the specified folder or folders. + /** + * A list of the envelopes in the specified folder or folders. . * @return folderItems - **/ - @ApiModelProperty(example = "null", value = "A list of the envelopes in the specified folder or folders. ") + **/ + @ApiModelProperty(value = "A list of the envelopes in the specified folder or folders. ") public java.util.List getFolderItems() { return folderItems; } + /** + * setFolderItems. + **/ public void setFolderItems(java.util.List folderItems) { this.folderItems = folderItems; } + + /** + * nextUri. + * + * @return FolderItemResponse + **/ public FolderItemResponse nextUri(String nextUri) { this.nextUri = nextUri; return this; } - /** - * The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. + /** + * The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. . * @return nextUri - **/ - @ApiModelProperty(example = "null", value = "The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. ") + **/ + @ApiModelProperty(value = "The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. ") public String getNextUri() { return nextUri; } + /** + * setNextUri. + **/ public void setNextUri(String nextUri) { this.nextUri = nextUri; } + + /** + * previousUri. + * + * @return FolderItemResponse + **/ public FolderItemResponse previousUri(String previousUri) { this.previousUri = previousUri; return this; } - /** - * The postal code for the billing address. + /** + * The postal code for the billing address.. * @return previousUri - **/ - @ApiModelProperty(example = "null", value = "The postal code for the billing address.") + **/ + @ApiModelProperty(value = "The postal code for the billing address.") public String getPreviousUri() { return previousUri; } + /** + * setPreviousUri. + **/ public void setPreviousUri(String previousUri) { this.previousUri = previousUri; } + + /** + * resultSetSize. + * + * @return FolderItemResponse + **/ public FolderItemResponse resultSetSize(String resultSetSize) { this.resultSetSize = resultSetSize; return this; } - /** - * The number of results returned in this response. + /** + * The number of results returned in this response. . * @return resultSetSize - **/ - @ApiModelProperty(example = "null", value = "The number of results returned in this response. ") + **/ + @ApiModelProperty(value = "The number of results returned in this response. ") public String getResultSetSize() { return resultSetSize; } + /** + * setResultSetSize. + **/ public void setResultSetSize(String resultSetSize) { this.resultSetSize = resultSetSize; } + + /** + * startPosition. + * + * @return FolderItemResponse + **/ public FolderItemResponse startPosition(String startPosition) { this.startPosition = startPosition; return this; } - /** - * Starting position of the current result set. + /** + * Starting position of the current result set.. * @return startPosition - **/ - @ApiModelProperty(example = "null", value = "Starting position of the current result set.") + **/ + @ApiModelProperty(value = "Starting position of the current result set.") public String getStartPosition() { return startPosition; } + /** + * setStartPosition. + **/ public void setStartPosition(String startPosition) { this.startPosition = startPosition; } + + /** + * totalRows. + * + * @return FolderItemResponse + **/ public FolderItemResponse totalRows(String totalRows) { this.totalRows = totalRows; return this; } - /** - * + /** + * . * @return totalRows - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTotalRows() { return totalRows; } + /** + * setTotalRows. + **/ public void setTotalRows(String totalRows) { this.totalRows = totalRows; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -183,12 +262,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.totalRows, folderItemResponse.totalRows); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(endPosition, folderItems, nextUri, previousUri, resultSetSize, startPosition, totalRows); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -215,6 +300,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/FolderItemV2.java b/src/main/java/com/docusign/esign/model/FolderItemV2.java index d1977e49..0926cabd 100644 --- a/src/main/java/com/docusign/esign/model/FolderItemV2.java +++ b/src/main/java/com/docusign/esign/model/FolderItemV2.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.Recipients; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * FolderItemV2 + * FolderItemV2. + * */ public class FolderItemV2 { @@ -72,367 +75,552 @@ public class FolderItemV2 { @JsonProperty("subject") private String subject = null; + + /** + * completedDateTime. + * + * @return FolderItemV2 + **/ public FolderItemV2 completedDateTime(String completedDateTime) { this.completedDateTime = completedDateTime; return this; } - /** - * Specifies the date and time this item was completed. + /** + * Specifies the date and time this item was completed.. * @return completedDateTime - **/ - @ApiModelProperty(example = "null", value = "Specifies the date and time this item was completed.") + **/ + @ApiModelProperty(value = "Specifies the date and time this item was completed.") public String getCompletedDateTime() { return completedDateTime; } + /** + * setCompletedDateTime. + **/ public void setCompletedDateTime(String completedDateTime) { this.completedDateTime = completedDateTime; } + + /** + * createdDateTime. + * + * @return FolderItemV2 + **/ public FolderItemV2 createdDateTime(String createdDateTime) { this.createdDateTime = createdDateTime; return this; } - /** - * Indicates the date and time the item was created. + /** + * Indicates the date and time the item was created.. * @return createdDateTime - **/ - @ApiModelProperty(example = "null", value = "Indicates the date and time the item was created.") + **/ + @ApiModelProperty(value = "Indicates the date and time the item was created.") public String getCreatedDateTime() { return createdDateTime; } + /** + * setCreatedDateTime. + **/ public void setCreatedDateTime(String createdDateTime) { this.createdDateTime = createdDateTime; } + + /** + * envelopeId. + * + * @return FolderItemV2 + **/ public FolderItemV2 envelopeId(String envelopeId) { this.envelopeId = envelopeId; return this; } - /** - * The envelope ID of the envelope status that failed to post. + /** + * The envelope ID of the envelope status that failed to post.. * @return envelopeId - **/ - @ApiModelProperty(example = "null", value = "The envelope ID of the envelope status that failed to post.") + **/ + @ApiModelProperty(value = "The envelope ID of the envelope status that failed to post.") public String getEnvelopeId() { return envelopeId; } + /** + * setEnvelopeId. + **/ public void setEnvelopeId(String envelopeId) { this.envelopeId = envelopeId; } + + /** + * envelopeUri. + * + * @return FolderItemV2 + **/ public FolderItemV2 envelopeUri(String envelopeUri) { this.envelopeUri = envelopeUri; return this; } - /** - * Contains a URI for an endpoint that you can use to retrieve the envelope or envelopes. + /** + * Contains a URI for an endpoint that you can use to retrieve the envelope or envelopes.. * @return envelopeUri - **/ - @ApiModelProperty(example = "null", value = "Contains a URI for an endpoint that you can use to retrieve the envelope or envelopes.") + **/ + @ApiModelProperty(value = "Contains a URI for an endpoint that you can use to retrieve the envelope or envelopes.") public String getEnvelopeUri() { return envelopeUri; } + /** + * setEnvelopeUri. + **/ public void setEnvelopeUri(String envelopeUri) { this.envelopeUri = envelopeUri; } + + /** + * expireDateTime. + * + * @return FolderItemV2 + **/ public FolderItemV2 expireDateTime(String expireDateTime) { this.expireDateTime = expireDateTime; return this; } - /** - * The date and time the envelope is set to expire. + /** + * The date and time the envelope is set to expire.. * @return expireDateTime - **/ - @ApiModelProperty(example = "null", value = "The date and time the envelope is set to expire.") + **/ + @ApiModelProperty(value = "The date and time the envelope is set to expire.") public String getExpireDateTime() { return expireDateTime; } + /** + * setExpireDateTime. + **/ public void setExpireDateTime(String expireDateTime) { this.expireDateTime = expireDateTime; } + + /** + * folderId. + * + * @return FolderItemV2 + **/ public FolderItemV2 folderId(String folderId) { this.folderId = folderId; return this; } - /** - * + /** + * . * @return folderId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getFolderId() { return folderId; } + /** + * setFolderId. + **/ public void setFolderId(String folderId) { this.folderId = folderId; } + + /** + * folderUri. + * + * @return FolderItemV2 + **/ public FolderItemV2 folderUri(String folderUri) { this.folderUri = folderUri; return this; } - /** - * + /** + * . * @return folderUri - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getFolderUri() { return folderUri; } + /** + * setFolderUri. + **/ public void setFolderUri(String folderUri) { this.folderUri = folderUri; } + + /** + * is21CFRPart11. + * + * @return FolderItemV2 + **/ public FolderItemV2 is21CFRPart11(String is21CFRPart11) { this.is21CFRPart11 = is21CFRPart11; return this; } - /** - * When set to **true**, indicates that this module is enabled on the account. + /** + * When set to **true**, indicates that this module is enabled on the account.. * @return is21CFRPart11 - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, indicates that this module is enabled on the account.") + **/ + @ApiModelProperty(value = "When set to **true**, indicates that this module is enabled on the account.") public String getIs21CFRPart11() { return is21CFRPart11; } + /** + * setIs21CFRPart11. + **/ public void setIs21CFRPart11(String is21CFRPart11) { this.is21CFRPart11 = is21CFRPart11; } + + /** + * isSignatureProviderEnvelope. + * + * @return FolderItemV2 + **/ public FolderItemV2 isSignatureProviderEnvelope(String isSignatureProviderEnvelope) { this.isSignatureProviderEnvelope = isSignatureProviderEnvelope; return this; } - /** - * + /** + * . * @return isSignatureProviderEnvelope - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getIsSignatureProviderEnvelope() { return isSignatureProviderEnvelope; } + /** + * setIsSignatureProviderEnvelope. + **/ public void setIsSignatureProviderEnvelope(String isSignatureProviderEnvelope) { this.isSignatureProviderEnvelope = isSignatureProviderEnvelope; } + + /** + * lastModifiedDateTime. + * + * @return FolderItemV2 + **/ public FolderItemV2 lastModifiedDateTime(String lastModifiedDateTime) { this.lastModifiedDateTime = lastModifiedDateTime; return this; } - /** - * The date and time the item was last modified. + /** + * The date and time the item was last modified.. * @return lastModifiedDateTime - **/ - @ApiModelProperty(example = "null", value = "The date and time the item was last modified.") + **/ + @ApiModelProperty(value = "The date and time the item was last modified.") public String getLastModifiedDateTime() { return lastModifiedDateTime; } + /** + * setLastModifiedDateTime. + **/ public void setLastModifiedDateTime(String lastModifiedDateTime) { this.lastModifiedDateTime = lastModifiedDateTime; } + + /** + * ownerName. + * + * @return FolderItemV2 + **/ public FolderItemV2 ownerName(String ownerName) { this.ownerName = ownerName; return this; } - /** - * + /** + * . * @return ownerName - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getOwnerName() { return ownerName; } + /** + * setOwnerName. + **/ public void setOwnerName(String ownerName) { this.ownerName = ownerName; } + + /** + * recipients. + * + * @return FolderItemV2 + **/ public FolderItemV2 recipients(Recipients recipients) { this.recipients = recipients; return this; } - /** - * Get recipients + /** + * Get recipients. * @return recipients - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public Recipients getRecipients() { return recipients; } + /** + * setRecipients. + **/ public void setRecipients(Recipients recipients) { this.recipients = recipients; } + + /** + * recipientsUri. + * + * @return FolderItemV2 + **/ public FolderItemV2 recipientsUri(String recipientsUri) { this.recipientsUri = recipientsUri; return this; } - /** - * Contains a URI for an endpoint that you can use to retrieve the recipients. + /** + * Contains a URI for an endpoint that you can use to retrieve the recipients.. * @return recipientsUri - **/ - @ApiModelProperty(example = "null", value = "Contains a URI for an endpoint that you can use to retrieve the recipients.") + **/ + @ApiModelProperty(value = "Contains a URI for an endpoint that you can use to retrieve the recipients.") public String getRecipientsUri() { return recipientsUri; } + /** + * setRecipientsUri. + **/ public void setRecipientsUri(String recipientsUri) { this.recipientsUri = recipientsUri; } + + /** + * senderCompany. + * + * @return FolderItemV2 + **/ public FolderItemV2 senderCompany(String senderCompany) { this.senderCompany = senderCompany; return this; } - /** - * + /** + * . * @return senderCompany - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSenderCompany() { return senderCompany; } + /** + * setSenderCompany. + **/ public void setSenderCompany(String senderCompany) { this.senderCompany = senderCompany; } + + /** + * senderEmail. + * + * @return FolderItemV2 + **/ public FolderItemV2 senderEmail(String senderEmail) { this.senderEmail = senderEmail; return this; } - /** - * + /** + * . * @return senderEmail - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSenderEmail() { return senderEmail; } + /** + * setSenderEmail. + **/ public void setSenderEmail(String senderEmail) { this.senderEmail = senderEmail; } + + /** + * senderName. + * + * @return FolderItemV2 + **/ public FolderItemV2 senderName(String senderName) { this.senderName = senderName; return this; } - /** - * + /** + * . * @return senderName - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSenderName() { return senderName; } + /** + * setSenderName. + **/ public void setSenderName(String senderName) { this.senderName = senderName; } + + /** + * senderUserId. + * + * @return FolderItemV2 + **/ public FolderItemV2 senderUserId(String senderUserId) { this.senderUserId = senderUserId; return this; } - /** - * + /** + * . * @return senderUserId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSenderUserId() { return senderUserId; } + /** + * setSenderUserId. + **/ public void setSenderUserId(String senderUserId) { this.senderUserId = senderUserId; } + + /** + * sentDateTime. + * + * @return FolderItemV2 + **/ public FolderItemV2 sentDateTime(String sentDateTime) { this.sentDateTime = sentDateTime; return this; } - /** - * The date and time the envelope was sent. + /** + * The date and time the envelope was sent.. * @return sentDateTime - **/ - @ApiModelProperty(example = "null", value = "The date and time the envelope was sent.") + **/ + @ApiModelProperty(value = "The date and time the envelope was sent.") public String getSentDateTime() { return sentDateTime; } + /** + * setSentDateTime. + **/ public void setSentDateTime(String sentDateTime) { this.sentDateTime = sentDateTime; } + + /** + * status. + * + * @return FolderItemV2 + **/ public FolderItemV2 status(String status) { this.status = status; return this; } - /** - * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. + /** + * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.. * @return status - **/ - @ApiModelProperty(example = "null", value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") + **/ + @ApiModelProperty(value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") public String getStatus() { return status; } + /** + * setStatus. + **/ public void setStatus(String status) { this.status = status; } + + /** + * subject. + * + * @return FolderItemV2 + **/ public FolderItemV2 subject(String subject) { this.subject = subject; return this; } - /** - * + /** + * . * @return subject - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSubject() { return subject; } + /** + * setSubject. + **/ public void setSubject(String subject) { this.subject = subject; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -464,12 +652,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.subject, folderItemV2.subject); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(completedDateTime, createdDateTime, envelopeId, envelopeUri, expireDateTime, folderId, folderUri, is21CFRPart11, isSignatureProviderEnvelope, lastModifiedDateTime, ownerName, recipients, recipientsUri, senderCompany, senderEmail, senderName, senderUserId, sentDateTime, status, subject); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -509,6 +703,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/FolderItemsResponse.java b/src/main/java/com/docusign/esign/model/FolderItemsResponse.java index 00fb51ef..48b0cae1 100644 --- a/src/main/java/com/docusign/esign/model/FolderItemsResponse.java +++ b/src/main/java/com/docusign/esign/model/FolderItemsResponse.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.FolderItem; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * FolderItemsResponse + * FolderItemsResponse. + * */ public class FolderItemsResponse { @@ -16,7 +19,7 @@ public class FolderItemsResponse { private String endPosition = null; @JsonProperty("folderItems") - private java.util.List folderItems = new java.util.ArrayList(); + private java.util.List folderItems = null; @JsonProperty("nextUri") private String nextUri = null; @@ -33,138 +36,214 @@ public class FolderItemsResponse { @JsonProperty("totalSetSize") private String totalSetSize = null; + + /** + * endPosition. + * + * @return FolderItemsResponse + **/ public FolderItemsResponse endPosition(String endPosition) { this.endPosition = endPosition; return this; } - /** - * The last position in the result set. + /** + * The last position in the result set. . * @return endPosition - **/ - @ApiModelProperty(example = "null", value = "The last position in the result set. ") + **/ + @ApiModelProperty(value = "The last position in the result set. ") public String getEndPosition() { return endPosition; } + /** + * setEndPosition. + **/ public void setEndPosition(String endPosition) { this.endPosition = endPosition; } + + /** + * folderItems. + * + * @return FolderItemsResponse + **/ public FolderItemsResponse folderItems(java.util.List folderItems) { this.folderItems = folderItems; return this; } - + + /** + * addFolderItemsItem. + * + * @return FolderItemsResponse + **/ public FolderItemsResponse addFolderItemsItem(FolderItem folderItemsItem) { + if (this.folderItems == null) { + this.folderItems = new java.util.ArrayList(); + } this.folderItems.add(folderItemsItem); return this; } - /** - * A list of the envelopes in the specified folder or folders. + /** + * A list of the envelopes in the specified folder or folders. . * @return folderItems - **/ - @ApiModelProperty(example = "null", value = "A list of the envelopes in the specified folder or folders. ") + **/ + @ApiModelProperty(value = "A list of the envelopes in the specified folder or folders. ") public java.util.List getFolderItems() { return folderItems; } + /** + * setFolderItems. + **/ public void setFolderItems(java.util.List folderItems) { this.folderItems = folderItems; } + + /** + * nextUri. + * + * @return FolderItemsResponse + **/ public FolderItemsResponse nextUri(String nextUri) { this.nextUri = nextUri; return this; } - /** - * The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. + /** + * The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. . * @return nextUri - **/ - @ApiModelProperty(example = "null", value = "The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. ") + **/ + @ApiModelProperty(value = "The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. ") public String getNextUri() { return nextUri; } + /** + * setNextUri. + **/ public void setNextUri(String nextUri) { this.nextUri = nextUri; } + + /** + * previousUri. + * + * @return FolderItemsResponse + **/ public FolderItemsResponse previousUri(String previousUri) { this.previousUri = previousUri; return this; } - /** - * The postal code for the billing address. + /** + * The postal code for the billing address.. * @return previousUri - **/ - @ApiModelProperty(example = "null", value = "The postal code for the billing address.") + **/ + @ApiModelProperty(value = "The postal code for the billing address.") public String getPreviousUri() { return previousUri; } + /** + * setPreviousUri. + **/ public void setPreviousUri(String previousUri) { this.previousUri = previousUri; } + + /** + * resultSetSize. + * + * @return FolderItemsResponse + **/ public FolderItemsResponse resultSetSize(String resultSetSize) { this.resultSetSize = resultSetSize; return this; } - /** - * The number of results returned in this response. + /** + * The number of results returned in this response. . * @return resultSetSize - **/ - @ApiModelProperty(example = "null", value = "The number of results returned in this response. ") + **/ + @ApiModelProperty(value = "The number of results returned in this response. ") public String getResultSetSize() { return resultSetSize; } + /** + * setResultSetSize. + **/ public void setResultSetSize(String resultSetSize) { this.resultSetSize = resultSetSize; } + + /** + * startPosition. + * + * @return FolderItemsResponse + **/ public FolderItemsResponse startPosition(String startPosition) { this.startPosition = startPosition; return this; } - /** - * Starting position of the current result set. + /** + * Starting position of the current result set.. * @return startPosition - **/ - @ApiModelProperty(example = "null", value = "Starting position of the current result set.") + **/ + @ApiModelProperty(value = "Starting position of the current result set.") public String getStartPosition() { return startPosition; } + /** + * setStartPosition. + **/ public void setStartPosition(String startPosition) { this.startPosition = startPosition; } + + /** + * totalSetSize. + * + * @return FolderItemsResponse + **/ public FolderItemsResponse totalSetSize(String totalSetSize) { this.totalSetSize = totalSetSize; return this; } - /** - * The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response. + /** + * The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.. * @return totalSetSize - **/ - @ApiModelProperty(example = "null", value = "The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.") + **/ + @ApiModelProperty(value = "The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.") public String getTotalSetSize() { return totalSetSize; } + /** + * setTotalSetSize. + **/ public void setTotalSetSize(String totalSetSize) { this.totalSetSize = totalSetSize; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -183,12 +262,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.totalSetSize, folderItemsResponse.totalSetSize); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(endPosition, folderItems, nextUri, previousUri, resultSetSize, startPosition, totalSetSize); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -215,6 +300,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/FolderSharedItem.java b/src/main/java/com/docusign/esign/model/FolderSharedItem.java new file mode 100644 index 00000000..57917823 --- /dev/null +++ b/src/main/java/com/docusign/esign/model/FolderSharedItem.java @@ -0,0 +1,320 @@ +package com.docusign.esign.model; + +import java.util.Objects; +import com.docusign.esign.model.ErrorDetails; +import com.docusign.esign.model.MemberGroupSharedItem; +import com.docusign.esign.model.UserInfo; +import com.docusign.esign.model.UserSharedItem; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +/** + * FolderSharedItem + */ + +public class FolderSharedItem { + @JsonProperty("errorDetails") + private ErrorDetails errorDetails = null; + + @JsonProperty("folderId") + private String folderId = null; + + @JsonProperty("name") + private String name = null; + + @JsonProperty("owner") + private UserInfo owner = null; + + @JsonProperty("parentFolderId") + private String parentFolderId = null; + + @JsonProperty("parentFolderUri") + private String parentFolderUri = null; + + @JsonProperty("shared") + private String shared = null; + + @JsonProperty("sharedGroups") + private java.util.List sharedGroups = new java.util.ArrayList(); + + @JsonProperty("sharedUsers") + private java.util.List sharedUsers = new java.util.ArrayList(); + + @JsonProperty("uri") + private String uri = null; + + @JsonProperty("user") + private UserInfo user = null; + + public FolderSharedItem errorDetails(ErrorDetails errorDetails) { + this.errorDetails = errorDetails; + return this; + } + + /** + * Get errorDetails + * @return errorDetails + **/ + @ApiModelProperty(example = "null", value = "") + public ErrorDetails getErrorDetails() { + return errorDetails; + } + + public void setErrorDetails(ErrorDetails errorDetails) { + this.errorDetails = errorDetails; + } + + public FolderSharedItem folderId(String folderId) { + this.folderId = folderId; + return this; + } + + /** + * + * @return folderId + **/ + @ApiModelProperty(example = "null", value = "") + public String getFolderId() { + return folderId; + } + + public void setFolderId(String folderId) { + this.folderId = folderId; + } + + public FolderSharedItem name(String name) { + this.name = name; + return this; + } + + /** + * + * @return name + **/ + @ApiModelProperty(example = "null", value = "") + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public FolderSharedItem owner(UserInfo owner) { + this.owner = owner; + return this; + } + + /** + * Get owner + * @return owner + **/ + @ApiModelProperty(example = "null", value = "") + public UserInfo getOwner() { + return owner; + } + + public void setOwner(UserInfo owner) { + this.owner = owner; + } + + public FolderSharedItem parentFolderId(String parentFolderId) { + this.parentFolderId = parentFolderId; + return this; + } + + /** + * + * @return parentFolderId + **/ + @ApiModelProperty(example = "null", value = "") + public String getParentFolderId() { + return parentFolderId; + } + + public void setParentFolderId(String parentFolderId) { + this.parentFolderId = parentFolderId; + } + + public FolderSharedItem parentFolderUri(String parentFolderUri) { + this.parentFolderUri = parentFolderUri; + return this; + } + + /** + * + * @return parentFolderUri + **/ + @ApiModelProperty(example = "null", value = "") + public String getParentFolderUri() { + return parentFolderUri; + } + + public void setParentFolderUri(String parentFolderUri) { + this.parentFolderUri = parentFolderUri; + } + + public FolderSharedItem shared(String shared) { + this.shared = shared; + return this; + } + + /** + * When set to **true**, this custom tab is shared. + * @return shared + **/ + @ApiModelProperty(example = "null", value = "When set to **true**, this custom tab is shared.") + public String getShared() { + return shared; + } + + public void setShared(String shared) { + this.shared = shared; + } + + public FolderSharedItem sharedGroups(java.util.List sharedGroups) { + this.sharedGroups = sharedGroups; + return this; + } + + public FolderSharedItem addSharedGroupsItem(MemberGroupSharedItem sharedGroupsItem) { + this.sharedGroups.add(sharedGroupsItem); + return this; + } + + /** + * + * @return sharedGroups + **/ + @ApiModelProperty(example = "null", value = "") + public java.util.List getSharedGroups() { + return sharedGroups; + } + + public void setSharedGroups(java.util.List sharedGroups) { + this.sharedGroups = sharedGroups; + } + + public FolderSharedItem sharedUsers(java.util.List sharedUsers) { + this.sharedUsers = sharedUsers; + return this; + } + + public FolderSharedItem addSharedUsersItem(UserSharedItem sharedUsersItem) { + this.sharedUsers.add(sharedUsersItem); + return this; + } + + /** + * + * @return sharedUsers + **/ + @ApiModelProperty(example = "null", value = "") + public java.util.List getSharedUsers() { + return sharedUsers; + } + + public void setSharedUsers(java.util.List sharedUsers) { + this.sharedUsers = sharedUsers; + } + + public FolderSharedItem uri(String uri) { + this.uri = uri; + return this; + } + + /** + * + * @return uri + **/ + @ApiModelProperty(example = "null", value = "") + public String getUri() { + return uri; + } + + public void setUri(String uri) { + this.uri = uri; + } + + public FolderSharedItem user(UserInfo user) { + this.user = user; + return this; + } + + /** + * Get user + * @return user + **/ + @ApiModelProperty(example = "null", value = "") + public UserInfo getUser() { + return user; + } + + public void setUser(UserInfo user) { + this.user = user; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + FolderSharedItem folderSharedItem = (FolderSharedItem) o; + return Objects.equals(this.errorDetails, folderSharedItem.errorDetails) && + Objects.equals(this.folderId, folderSharedItem.folderId) && + Objects.equals(this.name, folderSharedItem.name) && + Objects.equals(this.owner, folderSharedItem.owner) && + Objects.equals(this.parentFolderId, folderSharedItem.parentFolderId) && + Objects.equals(this.parentFolderUri, folderSharedItem.parentFolderUri) && + Objects.equals(this.shared, folderSharedItem.shared) && + Objects.equals(this.sharedGroups, folderSharedItem.sharedGroups) && + Objects.equals(this.sharedUsers, folderSharedItem.sharedUsers) && + Objects.equals(this.uri, folderSharedItem.uri) && + Objects.equals(this.user, folderSharedItem.user); + } + + @Override + public int hashCode() { + return Objects.hash(errorDetails, folderId, name, owner, parentFolderId, parentFolderUri, shared, sharedGroups, sharedUsers, uri, user); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class FolderSharedItem {\n"); + + sb.append(" errorDetails: ").append(toIndentedString(errorDetails)).append("\n"); + sb.append(" folderId: ").append(toIndentedString(folderId)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" owner: ").append(toIndentedString(owner)).append("\n"); + sb.append(" parentFolderId: ").append(toIndentedString(parentFolderId)).append("\n"); + sb.append(" parentFolderUri: ").append(toIndentedString(parentFolderUri)).append("\n"); + sb.append(" shared: ").append(toIndentedString(shared)).append("\n"); + sb.append(" sharedGroups: ").append(toIndentedString(sharedGroups)).append("\n"); + sb.append(" sharedUsers: ").append(toIndentedString(sharedUsers)).append("\n"); + sb.append(" uri: ").append(toIndentedString(uri)).append("\n"); + sb.append(" user: ").append(toIndentedString(user)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/com/docusign/esign/model/FoldersRequest.java b/src/main/java/com/docusign/esign/model/FoldersRequest.java index 8b99f4cb..d8f324e2 100644 --- a/src/main/java/com/docusign/esign/model/FoldersRequest.java +++ b/src/main/java/com/docusign/esign/model/FoldersRequest.java @@ -1,64 +1,98 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * FoldersRequest + * FoldersRequest. + * */ public class FoldersRequest { @JsonProperty("envelopeIds") - private java.util.List envelopeIds = new java.util.ArrayList(); + private java.util.List envelopeIds = null; @JsonProperty("fromFolderId") private String fromFolderId = null; + + /** + * envelopeIds. + * + * @return FoldersRequest + **/ public FoldersRequest envelopeIds(java.util.List envelopeIds) { this.envelopeIds = envelopeIds; return this; } - + + /** + * addEnvelopeIdsItem. + * + * @return FoldersRequest + **/ public FoldersRequest addEnvelopeIdsItem(String envelopeIdsItem) { + if (this.envelopeIds == null) { + this.envelopeIds = new java.util.ArrayList(); + } this.envelopeIds.add(envelopeIdsItem); return this; } - /** - * + /** + * . * @return envelopeIds - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getEnvelopeIds() { return envelopeIds; } + /** + * setEnvelopeIds. + **/ public void setEnvelopeIds(java.util.List envelopeIds) { this.envelopeIds = envelopeIds; } + + /** + * fromFolderId. + * + * @return FoldersRequest + **/ public FoldersRequest fromFolderId(String fromFolderId) { this.fromFolderId = fromFolderId; return this; } - /** - * The folder ID the envelope is being moved from. + /** + * The folder ID the envelope is being moved from.. * @return fromFolderId - **/ - @ApiModelProperty(example = "null", value = " The folder ID the envelope is being moved from.") + **/ + @ApiModelProperty(value = " The folder ID the envelope is being moved from.") public String getFromFolderId() { return fromFolderId; } + /** + * setFromFolderId. + **/ public void setFromFolderId(String fromFolderId) { this.fromFolderId = fromFolderId; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -72,12 +106,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.fromFolderId, foldersRequest.fromFolderId); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(envelopeIds, fromFolderId); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -99,6 +139,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/FoldersResponse.java b/src/main/java/com/docusign/esign/model/FoldersResponse.java index 3b6c4224..e423d758 100644 --- a/src/main/java/com/docusign/esign/model/FoldersResponse.java +++ b/src/main/java/com/docusign/esign/model/FoldersResponse.java @@ -1,44 +1,69 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.Folder; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * FoldersResponse + * FoldersResponse. + * */ public class FoldersResponse { @JsonProperty("folders") - private java.util.List folders = new java.util.ArrayList(); + private java.util.List folders = null; + + /** + * folders. + * + * @return FoldersResponse + **/ public FoldersResponse folders(java.util.List folders) { this.folders = folders; return this; } - + + /** + * addFoldersItem. + * + * @return FoldersResponse + **/ public FoldersResponse addFoldersItem(Folder foldersItem) { + if (this.folders == null) { + this.folders = new java.util.ArrayList(); + } this.folders.add(foldersItem); return this; } - /** - * + /** + * . * @return folders - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getFolders() { return folders; } + /** + * setFolders. + **/ public void setFolders(java.util.List folders) { this.folders = folders; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -51,12 +76,18 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.folders, foldersResponse.folders); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(folders); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -77,6 +108,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/ForgottenPasswordInformation.java b/src/main/java/com/docusign/esign/model/ForgottenPasswordInformation.java index 00db56e9..e0736d21 100644 --- a/src/main/java/com/docusign/esign/model/ForgottenPasswordInformation.java +++ b/src/main/java/com/docusign/esign/model/ForgottenPasswordInformation.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * A complex element that has up to four Question/Answer pairs for forgotten password information. + * A complex element that has up to four Question/Answer pairs for forgotten password information.. + * */ @ApiModel(description = "A complex element that has up to four Question/Answer pairs for forgotten password information.") @@ -36,151 +39,228 @@ public class ForgottenPasswordInformation { @JsonProperty("forgottenPasswordQuestion4") private String forgottenPasswordQuestion4 = null; + + /** + * forgottenPasswordAnswer1. + * + * @return ForgottenPasswordInformation + **/ public ForgottenPasswordInformation forgottenPasswordAnswer1(String forgottenPasswordAnswer1) { this.forgottenPasswordAnswer1 = forgottenPasswordAnswer1; return this; } - /** - * The answer to the first forgotten password challenge question. + /** + * The answer to the first forgotten password challenge question.. * @return forgottenPasswordAnswer1 - **/ - @ApiModelProperty(example = "null", value = "The answer to the first forgotten password challenge question.") + **/ + @ApiModelProperty(value = "The answer to the first forgotten password challenge question.") public String getForgottenPasswordAnswer1() { return forgottenPasswordAnswer1; } + /** + * setForgottenPasswordAnswer1. + **/ public void setForgottenPasswordAnswer1(String forgottenPasswordAnswer1) { this.forgottenPasswordAnswer1 = forgottenPasswordAnswer1; } + + /** + * forgottenPasswordAnswer2. + * + * @return ForgottenPasswordInformation + **/ public ForgottenPasswordInformation forgottenPasswordAnswer2(String forgottenPasswordAnswer2) { this.forgottenPasswordAnswer2 = forgottenPasswordAnswer2; return this; } - /** - * The answer to the second forgotten password challenge question. + /** + * The answer to the second forgotten password challenge question.. * @return forgottenPasswordAnswer2 - **/ - @ApiModelProperty(example = "null", value = "The answer to the second forgotten password challenge question.") + **/ + @ApiModelProperty(value = "The answer to the second forgotten password challenge question.") public String getForgottenPasswordAnswer2() { return forgottenPasswordAnswer2; } + /** + * setForgottenPasswordAnswer2. + **/ public void setForgottenPasswordAnswer2(String forgottenPasswordAnswer2) { this.forgottenPasswordAnswer2 = forgottenPasswordAnswer2; } + + /** + * forgottenPasswordAnswer3. + * + * @return ForgottenPasswordInformation + **/ public ForgottenPasswordInformation forgottenPasswordAnswer3(String forgottenPasswordAnswer3) { this.forgottenPasswordAnswer3 = forgottenPasswordAnswer3; return this; } - /** - * The answer to the third forgotten password challenge question. + /** + * The answer to the third forgotten password challenge question.. * @return forgottenPasswordAnswer3 - **/ - @ApiModelProperty(example = "null", value = "The answer to the third forgotten password challenge question.") + **/ + @ApiModelProperty(value = "The answer to the third forgotten password challenge question.") public String getForgottenPasswordAnswer3() { return forgottenPasswordAnswer3; } + /** + * setForgottenPasswordAnswer3. + **/ public void setForgottenPasswordAnswer3(String forgottenPasswordAnswer3) { this.forgottenPasswordAnswer3 = forgottenPasswordAnswer3; } + + /** + * forgottenPasswordAnswer4. + * + * @return ForgottenPasswordInformation + **/ public ForgottenPasswordInformation forgottenPasswordAnswer4(String forgottenPasswordAnswer4) { this.forgottenPasswordAnswer4 = forgottenPasswordAnswer4; return this; } - /** - * The answer to the fourth forgotten password challenge question. + /** + * The answer to the fourth forgotten password challenge question.. * @return forgottenPasswordAnswer4 - **/ - @ApiModelProperty(example = "null", value = "The answer to the fourth forgotten password challenge question.") + **/ + @ApiModelProperty(value = "The answer to the fourth forgotten password challenge question.") public String getForgottenPasswordAnswer4() { return forgottenPasswordAnswer4; } + /** + * setForgottenPasswordAnswer4. + **/ public void setForgottenPasswordAnswer4(String forgottenPasswordAnswer4) { this.forgottenPasswordAnswer4 = forgottenPasswordAnswer4; } + + /** + * forgottenPasswordQuestion1. + * + * @return ForgottenPasswordInformation + **/ public ForgottenPasswordInformation forgottenPasswordQuestion1(String forgottenPasswordQuestion1) { this.forgottenPasswordQuestion1 = forgottenPasswordQuestion1; return this; } - /** - * The first challenge question presented to a user who has forgotten their password. + /** + * The first challenge question presented to a user who has forgotten their password.. * @return forgottenPasswordQuestion1 - **/ - @ApiModelProperty(example = "null", value = "The first challenge question presented to a user who has forgotten their password.") + **/ + @ApiModelProperty(value = "The first challenge question presented to a user who has forgotten their password.") public String getForgottenPasswordQuestion1() { return forgottenPasswordQuestion1; } + /** + * setForgottenPasswordQuestion1. + **/ public void setForgottenPasswordQuestion1(String forgottenPasswordQuestion1) { this.forgottenPasswordQuestion1 = forgottenPasswordQuestion1; } + + /** + * forgottenPasswordQuestion2. + * + * @return ForgottenPasswordInformation + **/ public ForgottenPasswordInformation forgottenPasswordQuestion2(String forgottenPasswordQuestion2) { this.forgottenPasswordQuestion2 = forgottenPasswordQuestion2; return this; } - /** - * The second challenge question presented to a user who has forgotten their password. + /** + * The second challenge question presented to a user who has forgotten their password.. * @return forgottenPasswordQuestion2 - **/ - @ApiModelProperty(example = "null", value = "The second challenge question presented to a user who has forgotten their password.") + **/ + @ApiModelProperty(value = "The second challenge question presented to a user who has forgotten their password.") public String getForgottenPasswordQuestion2() { return forgottenPasswordQuestion2; } + /** + * setForgottenPasswordQuestion2. + **/ public void setForgottenPasswordQuestion2(String forgottenPasswordQuestion2) { this.forgottenPasswordQuestion2 = forgottenPasswordQuestion2; } + + /** + * forgottenPasswordQuestion3. + * + * @return ForgottenPasswordInformation + **/ public ForgottenPasswordInformation forgottenPasswordQuestion3(String forgottenPasswordQuestion3) { this.forgottenPasswordQuestion3 = forgottenPasswordQuestion3; return this; } - /** - * The third challenge question presented to a user who has forgotten their password. + /** + * The third challenge question presented to a user who has forgotten their password.. * @return forgottenPasswordQuestion3 - **/ - @ApiModelProperty(example = "null", value = "The third challenge question presented to a user who has forgotten their password.") + **/ + @ApiModelProperty(value = "The third challenge question presented to a user who has forgotten their password.") public String getForgottenPasswordQuestion3() { return forgottenPasswordQuestion3; } + /** + * setForgottenPasswordQuestion3. + **/ public void setForgottenPasswordQuestion3(String forgottenPasswordQuestion3) { this.forgottenPasswordQuestion3 = forgottenPasswordQuestion3; } + + /** + * forgottenPasswordQuestion4. + * + * @return ForgottenPasswordInformation + **/ public ForgottenPasswordInformation forgottenPasswordQuestion4(String forgottenPasswordQuestion4) { this.forgottenPasswordQuestion4 = forgottenPasswordQuestion4; return this; } - /** - * The fourth challenge question presented to a user who has forgotten their password. + /** + * The fourth challenge question presented to a user who has forgotten their password.. * @return forgottenPasswordQuestion4 - **/ - @ApiModelProperty(example = "null", value = "The fourth challenge question presented to a user who has forgotten their password.") + **/ + @ApiModelProperty(value = "The fourth challenge question presented to a user who has forgotten their password.") public String getForgottenPasswordQuestion4() { return forgottenPasswordQuestion4; } + /** + * setForgottenPasswordQuestion4. + **/ public void setForgottenPasswordQuestion4(String forgottenPasswordQuestion4) { this.forgottenPasswordQuestion4 = forgottenPasswordQuestion4; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -200,12 +280,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.forgottenPasswordQuestion4, forgottenPasswordInformation.forgottenPasswordQuestion4); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(forgottenPasswordAnswer1, forgottenPasswordAnswer2, forgottenPasswordAnswer3, forgottenPasswordAnswer4, forgottenPasswordQuestion1, forgottenPasswordQuestion2, forgottenPasswordQuestion3, forgottenPasswordQuestion4); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -233,6 +319,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/FormDataItem.java b/src/main/java/com/docusign/esign/model/FormDataItem.java new file mode 100644 index 00000000..039cf377 --- /dev/null +++ b/src/main/java/com/docusign/esign/model/FormDataItem.java @@ -0,0 +1,169 @@ +package com.docusign.esign.model; + +import java.util.Objects; +import com.docusign.esign.model.ErrorDetails; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +/** + * FormDataItem + */ + +public class FormDataItem { + @JsonProperty("errorDetails") + private ErrorDetails errorDetails = null; + + @JsonProperty("listSelectedValue") + private String listSelectedValue = null; + + @JsonProperty("name") + private String name = null; + + @JsonProperty("originalValue") + private String originalValue = null; + + @JsonProperty("value") + private String value = null; + + public FormDataItem errorDetails(ErrorDetails errorDetails) { + this.errorDetails = errorDetails; + return this; + } + + /** + * Get errorDetails + * @return errorDetails + **/ + @ApiModelProperty(example = "null", value = "") + public ErrorDetails getErrorDetails() { + return errorDetails; + } + + public void setErrorDetails(ErrorDetails errorDetails) { + this.errorDetails = errorDetails; + } + + public FormDataItem listSelectedValue(String listSelectedValue) { + this.listSelectedValue = listSelectedValue; + return this; + } + + /** + * + * @return listSelectedValue + **/ + @ApiModelProperty(example = "null", value = "") + public String getListSelectedValue() { + return listSelectedValue; + } + + public void setListSelectedValue(String listSelectedValue) { + this.listSelectedValue = listSelectedValue; + } + + public FormDataItem name(String name) { + this.name = name; + return this; + } + + /** + * + * @return name + **/ + @ApiModelProperty(example = "null", value = "") + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public FormDataItem originalValue(String originalValue) { + this.originalValue = originalValue; + return this; + } + + /** + * The initial value of the tab when it was sent to the recipient. + * @return originalValue + **/ + @ApiModelProperty(example = "null", value = "The initial value of the tab when it was sent to the recipient. ") + public String getOriginalValue() { + return originalValue; + } + + public void setOriginalValue(String originalValue) { + this.originalValue = originalValue; + } + + public FormDataItem value(String value) { + this.value = value; + return this; + } + + /** + * Specifies the value of the tab. + * @return value + **/ + @ApiModelProperty(example = "null", value = "Specifies the value of the tab. ") + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + FormDataItem formDataItem = (FormDataItem) o; + return Objects.equals(this.errorDetails, formDataItem.errorDetails) && + Objects.equals(this.listSelectedValue, formDataItem.listSelectedValue) && + Objects.equals(this.name, formDataItem.name) && + Objects.equals(this.originalValue, formDataItem.originalValue) && + Objects.equals(this.value, formDataItem.value); + } + + @Override + public int hashCode() { + return Objects.hash(errorDetails, listSelectedValue, name, originalValue, value); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class FormDataItem {\n"); + + sb.append(" errorDetails: ").append(toIndentedString(errorDetails)).append("\n"); + sb.append(" listSelectedValue: ").append(toIndentedString(listSelectedValue)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" originalValue: ").append(toIndentedString(originalValue)).append("\n"); + sb.append(" value: ").append(toIndentedString(value)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/com/docusign/esign/model/FormulaTab.java b/src/main/java/com/docusign/esign/model/FormulaTab.java index dc94d80b..4ec3ca3c 100644 --- a/src/main/java/com/docusign/esign/model/FormulaTab.java +++ b/src/main/java/com/docusign/esign/model/FormulaTab.java @@ -1,16 +1,19 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ErrorDetails; import com.docusign.esign.model.MergeField; import com.docusign.esign.model.PaymentDetails; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * FormulaTab + * FormulaTab. + * */ public class FormulaTab { @@ -129,7 +132,7 @@ public class FormulaTab { private String status = null; @JsonProperty("tabGroupLabels") - private java.util.List tabGroupLabels = new java.util.ArrayList(); + private java.util.List tabGroupLabels = null; @JsonProperty("tabId") private String tabId = null; @@ -170,948 +173,1429 @@ public class FormulaTab { @JsonProperty("yPosition") private String yPosition = null; + + /** + * anchorCaseSensitive. + * + * @return FormulaTab + **/ public FormulaTab anchorCaseSensitive(String anchorCaseSensitive) { this.anchorCaseSensitive = anchorCaseSensitive; return this; } - /** - * When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**. + /** + * When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.. * @return anchorCaseSensitive - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.") + **/ + @ApiModelProperty(value = "When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.") public String getAnchorCaseSensitive() { return anchorCaseSensitive; } + /** + * setAnchorCaseSensitive. + **/ public void setAnchorCaseSensitive(String anchorCaseSensitive) { this.anchorCaseSensitive = anchorCaseSensitive; } + + /** + * anchorHorizontalAlignment. + * + * @return FormulaTab + **/ public FormulaTab anchorHorizontalAlignment(String anchorHorizontalAlignment) { this.anchorHorizontalAlignment = anchorHorizontalAlignment; return this; } - /** - * Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**. + /** + * Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.. * @return anchorHorizontalAlignment - **/ - @ApiModelProperty(example = "null", value = "Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.") + **/ + @ApiModelProperty(value = "Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.") public String getAnchorHorizontalAlignment() { return anchorHorizontalAlignment; } + /** + * setAnchorHorizontalAlignment. + **/ public void setAnchorHorizontalAlignment(String anchorHorizontalAlignment) { this.anchorHorizontalAlignment = anchorHorizontalAlignment; } + + /** + * anchorIgnoreIfNotPresent. + * + * @return FormulaTab + **/ public FormulaTab anchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { this.anchorIgnoreIfNotPresent = anchorIgnoreIfNotPresent; return this; } - /** - * When set to **true**, this tab is ignored if anchorString is not found in the document. + /** + * When set to **true**, this tab is ignored if anchorString is not found in the document.. * @return anchorIgnoreIfNotPresent - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, this tab is ignored if anchorString is not found in the document.") + **/ + @ApiModelProperty(value = "When set to **true**, this tab is ignored if anchorString is not found in the document.") public String getAnchorIgnoreIfNotPresent() { return anchorIgnoreIfNotPresent; } + /** + * setAnchorIgnoreIfNotPresent. + **/ public void setAnchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { this.anchorIgnoreIfNotPresent = anchorIgnoreIfNotPresent; } + + /** + * anchorMatchWholeWord. + * + * @return FormulaTab + **/ public FormulaTab anchorMatchWholeWord(String anchorMatchWholeWord) { this.anchorMatchWholeWord = anchorMatchWholeWord; return this; } - /** - * When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**. + /** + * When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.. * @return anchorMatchWholeWord - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.") + **/ + @ApiModelProperty(value = "When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.") public String getAnchorMatchWholeWord() { return anchorMatchWholeWord; } + /** + * setAnchorMatchWholeWord. + **/ public void setAnchorMatchWholeWord(String anchorMatchWholeWord) { this.anchorMatchWholeWord = anchorMatchWholeWord; } + + /** + * anchorString. + * + * @return FormulaTab + **/ public FormulaTab anchorString(String anchorString) { this.anchorString = anchorString; return this; } - /** - * Anchor text information for a radio button. + /** + * Anchor text information for a radio button.. * @return anchorString - **/ - @ApiModelProperty(example = "null", value = "Anchor text information for a radio button.") + **/ + @ApiModelProperty(value = "Anchor text information for a radio button.") public String getAnchorString() { return anchorString; } + /** + * setAnchorString. + **/ public void setAnchorString(String anchorString) { this.anchorString = anchorString; } + + /** + * anchorUnits. + * + * @return FormulaTab + **/ public FormulaTab anchorUnits(String anchorUnits) { this.anchorUnits = anchorUnits; return this; } - /** - * Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. + /** + * Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. * @return anchorUnits - **/ - @ApiModelProperty(example = "null", value = "Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.") + **/ + @ApiModelProperty(value = "Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.") public String getAnchorUnits() { return anchorUnits; } + /** + * setAnchorUnits. + **/ public void setAnchorUnits(String anchorUnits) { this.anchorUnits = anchorUnits; } + + /** + * anchorXOffset. + * + * @return FormulaTab + **/ public FormulaTab anchorXOffset(String anchorXOffset) { this.anchorXOffset = anchorXOffset; return this; } - /** - * Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString. + /** + * Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. * @return anchorXOffset - **/ - @ApiModelProperty(example = "null", value = "Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.") + **/ + @ApiModelProperty(value = "Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.") public String getAnchorXOffset() { return anchorXOffset; } + /** + * setAnchorXOffset. + **/ public void setAnchorXOffset(String anchorXOffset) { this.anchorXOffset = anchorXOffset; } + + /** + * anchorYOffset. + * + * @return FormulaTab + **/ public FormulaTab anchorYOffset(String anchorYOffset) { this.anchorYOffset = anchorYOffset; return this; } - /** - * Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString. + /** + * Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.. * @return anchorYOffset - **/ - @ApiModelProperty(example = "null", value = "Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.") + **/ + @ApiModelProperty(value = "Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.") public String getAnchorYOffset() { return anchorYOffset; } + /** + * setAnchorYOffset. + **/ public void setAnchorYOffset(String anchorYOffset) { this.anchorYOffset = anchorYOffset; } + + /** + * bold. + * + * @return FormulaTab + **/ public FormulaTab bold(String bold) { this.bold = bold; return this; } - /** - * When set to **true**, the information in the tab is bold. + /** + * When set to **true**, the information in the tab is bold.. * @return bold - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is bold.") + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is bold.") public String getBold() { return bold; } + /** + * setBold. + **/ public void setBold(String bold) { this.bold = bold; } + + /** + * concealValueOnDocument. + * + * @return FormulaTab + **/ public FormulaTab concealValueOnDocument(String concealValueOnDocument) { this.concealValueOnDocument = concealValueOnDocument; return this; } - /** - * When set to **true**, the field appears normally while the recipient is adding or modifying the information in the field, but the data is not visible (the characters are hidden by asterisks) to any other signer or the sender. When an envelope is completed the information is available to the sender through the Form Data link in the DocuSign Console. This setting applies only to text boxes and does not affect list boxes, radio buttons, or check boxes. + /** + * When set to **true**, the field appears normally while the recipient is adding or modifying the information in the field, but the data is not visible (the characters are hidden by asterisks) to any other signer or the sender. When an envelope is completed the information is available to the sender through the Form Data link in the DocuSign Console. This setting applies only to text boxes and does not affect list boxes, radio buttons, or check boxes.. * @return concealValueOnDocument - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the field appears normally while the recipient is adding or modifying the information in the field, but the data is not visible (the characters are hidden by asterisks) to any other signer or the sender. When an envelope is completed the information is available to the sender through the Form Data link in the DocuSign Console. This setting applies only to text boxes and does not affect list boxes, radio buttons, or check boxes.") + **/ + @ApiModelProperty(value = "When set to **true**, the field appears normally while the recipient is adding or modifying the information in the field, but the data is not visible (the characters are hidden by asterisks) to any other signer or the sender. When an envelope is completed the information is available to the sender through the Form Data link in the DocuSign Console. This setting applies only to text boxes and does not affect list boxes, radio buttons, or check boxes.") public String getConcealValueOnDocument() { return concealValueOnDocument; } + /** + * setConcealValueOnDocument. + **/ public void setConcealValueOnDocument(String concealValueOnDocument) { this.concealValueOnDocument = concealValueOnDocument; } + + /** + * conditionalParentLabel. + * + * @return FormulaTab + **/ public FormulaTab conditionalParentLabel(String conditionalParentLabel) { this.conditionalParentLabel = conditionalParentLabel; return this; } - /** - * For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility. + /** + * For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.. * @return conditionalParentLabel - **/ - @ApiModelProperty(example = "null", value = "For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.") + **/ + @ApiModelProperty(value = "For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.") public String getConditionalParentLabel() { return conditionalParentLabel; } + /** + * setConditionalParentLabel. + **/ public void setConditionalParentLabel(String conditionalParentLabel) { this.conditionalParentLabel = conditionalParentLabel; } + + /** + * conditionalParentValue. + * + * @return FormulaTab + **/ public FormulaTab conditionalParentValue(String conditionalParentValue) { this.conditionalParentValue = conditionalParentValue; return this; } - /** - * For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. + /** + * For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. . * @return conditionalParentValue - **/ - @ApiModelProperty(example = "null", value = "For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. ") + **/ + @ApiModelProperty(value = "For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. ") public String getConditionalParentValue() { return conditionalParentValue; } + /** + * setConditionalParentValue. + **/ public void setConditionalParentValue(String conditionalParentValue) { this.conditionalParentValue = conditionalParentValue; } + + /** + * customTabId. + * + * @return FormulaTab + **/ public FormulaTab customTabId(String customTabId) { this.customTabId = customTabId; return this; } - /** - * The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties. + /** + * The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.. * @return customTabId - **/ - @ApiModelProperty(example = "null", value = "The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.") + **/ + @ApiModelProperty(value = "The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.") public String getCustomTabId() { return customTabId; } + /** + * setCustomTabId. + **/ public void setCustomTabId(String customTabId) { this.customTabId = customTabId; } + + /** + * disableAutoSize. + * + * @return FormulaTab + **/ public FormulaTab disableAutoSize(String disableAutoSize) { this.disableAutoSize = disableAutoSize; return this; } - /** - * When set to **true**, disables the auto sizing of single line text boxes in the signing screen when the signer enters data. If disabled users will only be able enter as much data as the text box can hold. By default this is false. This property only affects single line text boxes. + /** + * When set to **true**, disables the auto sizing of single line text boxes in the signing screen when the signer enters data. If disabled users will only be able enter as much data as the text box can hold. By default this is false. This property only affects single line text boxes.. * @return disableAutoSize - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, disables the auto sizing of single line text boxes in the signing screen when the signer enters data. If disabled users will only be able enter as much data as the text box can hold. By default this is false. This property only affects single line text boxes.") + **/ + @ApiModelProperty(value = "When set to **true**, disables the auto sizing of single line text boxes in the signing screen when the signer enters data. If disabled users will only be able enter as much data as the text box can hold. By default this is false. This property only affects single line text boxes.") public String getDisableAutoSize() { return disableAutoSize; } + /** + * setDisableAutoSize. + **/ public void setDisableAutoSize(String disableAutoSize) { this.disableAutoSize = disableAutoSize; } + + /** + * documentId. + * + * @return FormulaTab + **/ public FormulaTab documentId(String documentId) { this.documentId = documentId; return this; } - /** - * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute. + /** + * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.. * @return documentId - **/ - @ApiModelProperty(example = "null", value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") + **/ + @ApiModelProperty(value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") public String getDocumentId() { return documentId; } + /** + * setDocumentId. + **/ public void setDocumentId(String documentId) { this.documentId = documentId; } + + /** + * errorDetails. + * + * @return FormulaTab + **/ public FormulaTab errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * font. + * + * @return FormulaTab + **/ public FormulaTab font(String font) { this.font = font; return this; } - /** - * The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default. + /** + * The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.. * @return font - **/ - @ApiModelProperty(example = "null", value = "The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.") + **/ + @ApiModelProperty(value = "The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.") public String getFont() { return font; } + /** + * setFont. + **/ public void setFont(String font) { this.font = font; } + + /** + * fontColor. + * + * @return FormulaTab + **/ public FormulaTab fontColor(String fontColor) { this.fontColor = fontColor; return this; } - /** - * The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White. + /** + * The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.. * @return fontColor - **/ - @ApiModelProperty(example = "null", value = "The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.") + **/ + @ApiModelProperty(value = "The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.") public String getFontColor() { return fontColor; } + /** + * setFontColor. + **/ public void setFontColor(String fontColor) { this.fontColor = fontColor; } + + /** + * fontSize. + * + * @return FormulaTab + **/ public FormulaTab fontSize(String fontSize) { this.fontSize = fontSize; return this; } - /** - * The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72. + /** + * The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.. * @return fontSize - **/ - @ApiModelProperty(example = "null", value = "The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.") + **/ + @ApiModelProperty(value = "The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.") public String getFontSize() { return fontSize; } + /** + * setFontSize. + **/ public void setFontSize(String fontSize) { this.fontSize = fontSize; } + + /** + * formula. + * + * @return FormulaTab + **/ public FormulaTab formula(String formula) { this.formula = formula; return this; } - /** - * The Formula string contains the TabLabel for the reference tabs used in the formula and calculation operators. Each TabLabel must be contained in brackets. Maximum Length: 2000 characters. *Example*: Three tabs (TabLabels: Line1, Line2, and Tax) need to be added together. The formula string would be: [Line1]+[Line2]+[Tax] + /** + * The Formula string contains the TabLabel for the reference tabs used in the formula and calculation operators. Each TabLabel must be contained in brackets. Maximum Length: 2000 characters. *Example*: Three tabs (TabLabels: Line1, Line2, and Tax) need to be added together. The formula string would be: [Line1]+[Line2]+[Tax]. * @return formula - **/ - @ApiModelProperty(example = "null", value = "The Formula string contains the TabLabel for the reference tabs used in the formula and calculation operators. Each TabLabel must be contained in brackets. Maximum Length: 2000 characters. *Example*: Three tabs (TabLabels: Line1, Line2, and Tax) need to be added together. The formula string would be: [Line1]+[Line2]+[Tax]") + **/ + @ApiModelProperty(value = "The Formula string contains the TabLabel for the reference tabs used in the formula and calculation operators. Each TabLabel must be contained in brackets. Maximum Length: 2000 characters. *Example*: Three tabs (TabLabels: Line1, Line2, and Tax) need to be added together. The formula string would be: [Line1]+[Line2]+[Tax]") public String getFormula() { return formula; } + /** + * setFormula. + **/ public void setFormula(String formula) { this.formula = formula; } + + /** + * hidden. + * + * @return FormulaTab + **/ public FormulaTab hidden(String hidden) { this.hidden = hidden; return this; } - /** - * + /** + * . * @return hidden - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getHidden() { return hidden; } + /** + * setHidden. + **/ public void setHidden(String hidden) { this.hidden = hidden; } + + /** + * isPaymentAmount. + * + * @return FormulaTab + **/ public FormulaTab isPaymentAmount(String isPaymentAmount) { this.isPaymentAmount = isPaymentAmount; return this; } - /** - * When set to **true**, sets this as a payment tab. Can only be used with Text, Number, Formula, or List tabs. The value of the tab must be a number. + /** + * When set to **true**, sets this as a payment tab. Can only be used with Text, Number, Formula, or List tabs. The value of the tab must be a number. . * @return isPaymentAmount - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, sets this as a payment tab. Can only be used with Text, Number, Formula, or List tabs. The value of the tab must be a number. ") + **/ + @ApiModelProperty(value = "When set to **true**, sets this as a payment tab. Can only be used with Text, Number, Formula, or List tabs. The value of the tab must be a number. ") public String getIsPaymentAmount() { return isPaymentAmount; } + /** + * setIsPaymentAmount. + **/ public void setIsPaymentAmount(String isPaymentAmount) { this.isPaymentAmount = isPaymentAmount; } + + /** + * italic. + * + * @return FormulaTab + **/ public FormulaTab italic(String italic) { this.italic = italic; return this; } - /** - * When set to **true**, the information in the tab is italic. + /** + * When set to **true**, the information in the tab is italic.. * @return italic - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is italic.") + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is italic.") public String getItalic() { return italic; } + /** + * setItalic. + **/ public void setItalic(String italic) { this.italic = italic; } + + /** + * locked. + * + * @return FormulaTab + **/ public FormulaTab locked(String locked) { this.locked = locked; return this; } - /** - * When set to **true**, the signer cannot change the data of the custom tab. + /** + * When set to **true**, the signer cannot change the data of the custom tab.. * @return locked - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the signer cannot change the data of the custom tab.") + **/ + @ApiModelProperty(value = "When set to **true**, the signer cannot change the data of the custom tab.") public String getLocked() { return locked; } + /** + * setLocked. + **/ public void setLocked(String locked) { this.locked = locked; } + + /** + * maxLength. + * + * @return FormulaTab + **/ public FormulaTab maxLength(Integer maxLength) { this.maxLength = maxLength; return this; } - /** - * An optional value that describes the maximum length of the property when the property is a string. + /** + * An optional value that describes the maximum length of the property when the property is a string.. * @return maxLength - **/ - @ApiModelProperty(example = "null", value = "An optional value that describes the maximum length of the property when the property is a string.") + **/ + @ApiModelProperty(value = "An optional value that describes the maximum length of the property when the property is a string.") public Integer getMaxLength() { return maxLength; } + /** + * setMaxLength. + **/ public void setMaxLength(Integer maxLength) { this.maxLength = maxLength; } + + /** + * mergeField. + * + * @return FormulaTab + **/ public FormulaTab mergeField(MergeField mergeField) { this.mergeField = mergeField; return this; } - /** - * Get mergeField + /** + * Get mergeField. * @return mergeField - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public MergeField getMergeField() { return mergeField; } + /** + * setMergeField. + **/ public void setMergeField(MergeField mergeField) { this.mergeField = mergeField; } + + /** + * name. + * + * @return FormulaTab + **/ public FormulaTab name(String name) { this.name = name; return this; } - /** - * + /** + * . * @return name - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * originalValue. + * + * @return FormulaTab + **/ public FormulaTab originalValue(String originalValue) { this.originalValue = originalValue; return this; } - /** - * The initial value of the tab when it was sent to the recipient. + /** + * The initial value of the tab when it was sent to the recipient. . * @return originalValue - **/ - @ApiModelProperty(example = "null", value = "The initial value of the tab when it was sent to the recipient. ") + **/ + @ApiModelProperty(value = "The initial value of the tab when it was sent to the recipient. ") public String getOriginalValue() { return originalValue; } + /** + * setOriginalValue. + **/ public void setOriginalValue(String originalValue) { this.originalValue = originalValue; } + + /** + * pageNumber. + * + * @return FormulaTab + **/ public FormulaTab pageNumber(String pageNumber) { this.pageNumber = pageNumber; return this; } - /** - * Specifies the page number on which the tab is located. + /** + * Specifies the page number on which the tab is located.. * @return pageNumber - **/ - @ApiModelProperty(example = "null", value = "Specifies the page number on which the tab is located.") + **/ + @ApiModelProperty(value = "Specifies the page number on which the tab is located.") public String getPageNumber() { return pageNumber; } + /** + * setPageNumber. + **/ public void setPageNumber(String pageNumber) { this.pageNumber = pageNumber; } + + /** + * paymentDetails. + * + * @return FormulaTab + **/ public FormulaTab paymentDetails(PaymentDetails paymentDetails) { this.paymentDetails = paymentDetails; return this; } - /** - * Get paymentDetails + /** + * Get paymentDetails. * @return paymentDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public PaymentDetails getPaymentDetails() { return paymentDetails; } + /** + * setPaymentDetails. + **/ public void setPaymentDetails(PaymentDetails paymentDetails) { this.paymentDetails = paymentDetails; } + + /** + * recipientId. + * + * @return FormulaTab + **/ public FormulaTab recipientId(String recipientId) { this.recipientId = recipientId; return this; } - /** - * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document. + /** + * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.. * @return recipientId - **/ - @ApiModelProperty(example = "null", value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") + **/ + @ApiModelProperty(value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") public String getRecipientId() { return recipientId; } + /** + * setRecipientId. + **/ public void setRecipientId(String recipientId) { this.recipientId = recipientId; } + + /** + * requireAll. + * + * @return FormulaTab + **/ public FormulaTab requireAll(String requireAll) { this.requireAll = requireAll; return this; } - /** - * When set to **true** and shared is true, information must be entered in this field to complete the envelope. + /** + * When set to **true** and shared is true, information must be entered in this field to complete the envelope. . * @return requireAll - **/ - @ApiModelProperty(example = "null", value = "When set to **true** and shared is true, information must be entered in this field to complete the envelope. ") + **/ + @ApiModelProperty(value = "When set to **true** and shared is true, information must be entered in this field to complete the envelope. ") public String getRequireAll() { return requireAll; } + /** + * setRequireAll. + **/ public void setRequireAll(String requireAll) { this.requireAll = requireAll; } + + /** + * required. + * + * @return FormulaTab + **/ public FormulaTab required(String required) { this.required = required; return this; } - /** - * When set to **true**, the signer is required to fill out this tab + /** + * When set to **true**, the signer is required to fill out this tab. * @return required - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the signer is required to fill out this tab") + **/ + @ApiModelProperty(value = "When set to **true**, the signer is required to fill out this tab") public String getRequired() { return required; } + /** + * setRequired. + **/ public void setRequired(String required) { this.required = required; } + + /** + * requireInitialOnSharedChange. + * + * @return FormulaTab + **/ public FormulaTab requireInitialOnSharedChange(String requireInitialOnSharedChange) { this.requireInitialOnSharedChange = requireInitialOnSharedChange; return this; } - /** - * Optional element for field markup. When set to **true**, the signer is required to initial when they modify a shared field. + /** + * Optional element for field markup. When set to **true**, the signer is required to initial when they modify a shared field.. * @return requireInitialOnSharedChange - **/ - @ApiModelProperty(example = "null", value = "Optional element for field markup. When set to **true**, the signer is required to initial when they modify a shared field.") + **/ + @ApiModelProperty(value = "Optional element for field markup. When set to **true**, the signer is required to initial when they modify a shared field.") public String getRequireInitialOnSharedChange() { return requireInitialOnSharedChange; } + /** + * setRequireInitialOnSharedChange. + **/ public void setRequireInitialOnSharedChange(String requireInitialOnSharedChange) { this.requireInitialOnSharedChange = requireInitialOnSharedChange; } + + /** + * roundDecimalPlaces. + * + * @return FormulaTab + **/ public FormulaTab roundDecimalPlaces(String roundDecimalPlaces) { this.roundDecimalPlaces = roundDecimalPlaces; return this; } - /** - * + /** + * . * @return roundDecimalPlaces - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getRoundDecimalPlaces() { return roundDecimalPlaces; } + /** + * setRoundDecimalPlaces. + **/ public void setRoundDecimalPlaces(String roundDecimalPlaces) { this.roundDecimalPlaces = roundDecimalPlaces; } + + /** + * senderRequired. + * + * @return FormulaTab + **/ public FormulaTab senderRequired(String senderRequired) { this.senderRequired = senderRequired; return this; } - /** - * When set to **true**, the sender must populate the tab before an envelope can be sent using the template. This value tab can only be changed by modifying (PUT) the template. Tabs with a `senderRequired` value of true cannot be deleted from an envelope. + /** + * When set to **true**, the sender must populate the tab before an envelope can be sent using the template. This value tab can only be changed by modifying (PUT) the template. Tabs with a `senderRequired` value of true cannot be deleted from an envelope.. * @return senderRequired - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender must populate the tab before an envelope can be sent using the template. This value tab can only be changed by modifying (PUT) the template. Tabs with a `senderRequired` value of true cannot be deleted from an envelope.") + **/ + @ApiModelProperty(value = "When set to **true**, the sender must populate the tab before an envelope can be sent using the template. This value tab can only be changed by modifying (PUT) the template. Tabs with a `senderRequired` value of true cannot be deleted from an envelope.") public String getSenderRequired() { return senderRequired; } + /** + * setSenderRequired. + **/ public void setSenderRequired(String senderRequired) { this.senderRequired = senderRequired; } + + /** + * shared. + * + * @return FormulaTab + **/ public FormulaTab shared(String shared) { this.shared = shared; return this; } - /** - * When set to **true**, this custom tab is shared. + /** + * When set to **true**, this custom tab is shared.. * @return shared - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, this custom tab is shared.") + **/ + @ApiModelProperty(value = "When set to **true**, this custom tab is shared.") public String getShared() { return shared; } + /** + * setShared. + **/ public void setShared(String shared) { this.shared = shared; } + + /** + * status. + * + * @return FormulaTab + **/ public FormulaTab status(String status) { this.status = status; return this; } - /** - * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. + /** + * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.. * @return status - **/ - @ApiModelProperty(example = "null", value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") + **/ + @ApiModelProperty(value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") public String getStatus() { return status; } + /** + * setStatus. + **/ public void setStatus(String status) { this.status = status; } + + /** + * tabGroupLabels. + * + * @return FormulaTab + **/ public FormulaTab tabGroupLabels(java.util.List tabGroupLabels) { this.tabGroupLabels = tabGroupLabels; return this; } - + + /** + * addTabGroupLabelsItem. + * + * @return FormulaTab + **/ public FormulaTab addTabGroupLabelsItem(String tabGroupLabelsItem) { + if (this.tabGroupLabels == null) { + this.tabGroupLabels = new java.util.ArrayList(); + } this.tabGroupLabels.add(tabGroupLabelsItem); return this; } - /** - * + /** + * . * @return tabGroupLabels - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getTabGroupLabels() { return tabGroupLabels; } + /** + * setTabGroupLabels. + **/ public void setTabGroupLabels(java.util.List tabGroupLabels) { this.tabGroupLabels = tabGroupLabels; } + + /** + * tabId. + * + * @return FormulaTab + **/ public FormulaTab tabId(String tabId) { this.tabId = tabId; return this; } - /** - * The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. + /** + * The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. . * @return tabId - **/ - @ApiModelProperty(example = "null", value = "The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. ") + **/ + @ApiModelProperty(value = "The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. ") public String getTabId() { return tabId; } + /** + * setTabId. + **/ public void setTabId(String tabId) { this.tabId = tabId; } + + /** + * tabLabel. + * + * @return FormulaTab + **/ public FormulaTab tabLabel(String tabLabel) { this.tabLabel = tabLabel; return this; } - /** - * The label string associated with the tab. + /** + * The label string associated with the tab.. * @return tabLabel - **/ - @ApiModelProperty(example = "null", value = "The label string associated with the tab.") + **/ + @ApiModelProperty(value = "The label string associated with the tab.") public String getTabLabel() { return tabLabel; } + /** + * setTabLabel. + **/ public void setTabLabel(String tabLabel) { this.tabLabel = tabLabel; } + + /** + * tabOrder. + * + * @return FormulaTab + **/ public FormulaTab tabOrder(String tabOrder) { this.tabOrder = tabOrder; return this; } - /** - * + /** + * . * @return tabOrder - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTabOrder() { return tabOrder; } + /** + * setTabOrder. + **/ public void setTabOrder(String tabOrder) { this.tabOrder = tabOrder; } + + /** + * templateLocked. + * + * @return FormulaTab + **/ public FormulaTab templateLocked(String templateLocked) { this.templateLocked = templateLocked; return this; } - /** - * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. . * @return templateLocked - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") + **/ + @ApiModelProperty(value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") public String getTemplateLocked() { return templateLocked; } + /** + * setTemplateLocked. + **/ public void setTemplateLocked(String templateLocked) { this.templateLocked = templateLocked; } + + /** + * templateRequired. + * + * @return FormulaTab + **/ public FormulaTab templateRequired(String templateRequired) { this.templateRequired = templateRequired; return this; } - /** - * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.. * @return templateRequired - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") + **/ + @ApiModelProperty(value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") public String getTemplateRequired() { return templateRequired; } + /** + * setTemplateRequired. + **/ public void setTemplateRequired(String templateRequired) { this.templateRequired = templateRequired; } + + /** + * tooltip. + * + * @return FormulaTab + **/ public FormulaTab tooltip(String tooltip) { this.tooltip = tooltip; return this; } - /** - * + /** + * . * @return tooltip - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTooltip() { return tooltip; } + /** + * setTooltip. + **/ public void setTooltip(String tooltip) { this.tooltip = tooltip; } + + /** + * underline. + * + * @return FormulaTab + **/ public FormulaTab underline(String underline) { this.underline = underline; return this; } - /** - * When set to **true**, the information in the tab is underlined. + /** + * When set to **true**, the information in the tab is underlined.. * @return underline - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is underlined.") + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is underlined.") public String getUnderline() { return underline; } + /** + * setUnderline. + **/ public void setUnderline(String underline) { this.underline = underline; } + + /** + * validationMessage. + * + * @return FormulaTab + **/ public FormulaTab validationMessage(String validationMessage) { this.validationMessage = validationMessage; return this; } - /** - * The message displayed if the custom tab fails input validation (either custom of embedded). + /** + * The message displayed if the custom tab fails input validation (either custom of embedded).. * @return validationMessage - **/ - @ApiModelProperty(example = "null", value = "The message displayed if the custom tab fails input validation (either custom of embedded).") + **/ + @ApiModelProperty(value = "The message displayed if the custom tab fails input validation (either custom of embedded).") public String getValidationMessage() { return validationMessage; } + /** + * setValidationMessage. + **/ public void setValidationMessage(String validationMessage) { this.validationMessage = validationMessage; } + + /** + * validationPattern. + * + * @return FormulaTab + **/ public FormulaTab validationPattern(String validationPattern) { this.validationPattern = validationPattern; return this; } - /** - * A regular expression used to validate input for the tab. + /** + * A regular expression used to validate input for the tab.. * @return validationPattern - **/ - @ApiModelProperty(example = "null", value = "A regular expression used to validate input for the tab.") + **/ + @ApiModelProperty(value = "A regular expression used to validate input for the tab.") public String getValidationPattern() { return validationPattern; } + /** + * setValidationPattern. + **/ public void setValidationPattern(String validationPattern) { this.validationPattern = validationPattern; } + + /** + * value. + * + * @return FormulaTab + **/ public FormulaTab value(String value) { this.value = value; return this; } - /** - * Specifies the value of the tab. + /** + * Specifies the value of the tab. . * @return value - **/ - @ApiModelProperty(example = "null", value = "Specifies the value of the tab. ") + **/ + @ApiModelProperty(value = "Specifies the value of the tab. ") public String getValue() { return value; } + /** + * setValue. + **/ public void setValue(String value) { this.value = value; } + + /** + * width. + * + * @return FormulaTab + **/ public FormulaTab width(Integer width) { this.width = width; return this; } - /** - * Width of the tab in pixels. + /** + * Width of the tab in pixels.. * @return width - **/ - @ApiModelProperty(example = "null", value = "Width of the tab in pixels.") + **/ + @ApiModelProperty(value = "Width of the tab in pixels.") public Integer getWidth() { return width; } + /** + * setWidth. + **/ public void setWidth(Integer width) { this.width = width; } + + /** + * xPosition. + * + * @return FormulaTab + **/ public FormulaTab xPosition(String xPosition) { this.xPosition = xPosition; return this; } - /** - * This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position. + /** + * This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.. * @return xPosition - **/ - @ApiModelProperty(example = "null", value = "This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.") + **/ + @ApiModelProperty(value = "This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.") public String getXPosition() { return xPosition; } + /** + * setXPosition. + **/ public void setXPosition(String xPosition) { this.xPosition = xPosition; } + + /** + * yPosition. + * + * @return FormulaTab + **/ public FormulaTab yPosition(String yPosition) { this.yPosition = yPosition; return this; } - /** - * This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position. + /** + * This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. * @return yPosition - **/ - @ApiModelProperty(example = "null", value = "This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.") + **/ + @ApiModelProperty(value = "This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.") public String getYPosition() { return yPosition; } + /** + * setYPosition. + **/ public void setYPosition(String yPosition) { this.yPosition = yPosition; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -1175,12 +1659,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.yPosition, formulaTab.yPosition); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(anchorCaseSensitive, anchorHorizontalAlignment, anchorIgnoreIfNotPresent, anchorMatchWholeWord, anchorString, anchorUnits, anchorXOffset, anchorYOffset, bold, concealValueOnDocument, conditionalParentLabel, conditionalParentValue, customTabId, disableAutoSize, documentId, errorDetails, font, fontColor, fontSize, formula, hidden, isPaymentAmount, italic, locked, maxLength, mergeField, name, originalValue, pageNumber, paymentDetails, recipientId, requireAll, required, requireInitialOnSharedChange, roundDecimalPlaces, senderRequired, shared, status, tabGroupLabels, tabId, tabLabel, tabOrder, templateLocked, templateRequired, tooltip, underline, validationMessage, validationPattern, value, width, xPosition, yPosition); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -1252,6 +1742,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/FullName.java b/src/main/java/com/docusign/esign/model/FullName.java index 09838849..72a403b3 100644 --- a/src/main/java/com/docusign/esign/model/FullName.java +++ b/src/main/java/com/docusign/esign/model/FullName.java @@ -1,15 +1,18 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ErrorDetails; import com.docusign.esign.model.MergeField; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * FullName + * FullName. + * */ public class FullName { @@ -83,7 +86,7 @@ public class FullName { private String status = null; @JsonProperty("tabGroupLabels") - private java.util.List tabGroupLabels = new java.util.ArrayList(); + private java.util.List tabGroupLabels = null; @JsonProperty("tabId") private String tabId = null; @@ -115,624 +118,943 @@ public class FullName { @JsonProperty("yPosition") private String yPosition = null; + + /** + * anchorCaseSensitive. + * + * @return FullName + **/ public FullName anchorCaseSensitive(String anchorCaseSensitive) { this.anchorCaseSensitive = anchorCaseSensitive; return this; } - /** - * When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**. + /** + * When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.. * @return anchorCaseSensitive - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.") + **/ + @ApiModelProperty(value = "When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.") public String getAnchorCaseSensitive() { return anchorCaseSensitive; } + /** + * setAnchorCaseSensitive. + **/ public void setAnchorCaseSensitive(String anchorCaseSensitive) { this.anchorCaseSensitive = anchorCaseSensitive; } + + /** + * anchorHorizontalAlignment. + * + * @return FullName + **/ public FullName anchorHorizontalAlignment(String anchorHorizontalAlignment) { this.anchorHorizontalAlignment = anchorHorizontalAlignment; return this; } - /** - * Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**. + /** + * Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.. * @return anchorHorizontalAlignment - **/ - @ApiModelProperty(example = "null", value = "Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.") + **/ + @ApiModelProperty(value = "Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.") public String getAnchorHorizontalAlignment() { return anchorHorizontalAlignment; } + /** + * setAnchorHorizontalAlignment. + **/ public void setAnchorHorizontalAlignment(String anchorHorizontalAlignment) { this.anchorHorizontalAlignment = anchorHorizontalAlignment; } + + /** + * anchorIgnoreIfNotPresent. + * + * @return FullName + **/ public FullName anchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { this.anchorIgnoreIfNotPresent = anchorIgnoreIfNotPresent; return this; } - /** - * When set to **true**, this tab is ignored if anchorString is not found in the document. + /** + * When set to **true**, this tab is ignored if anchorString is not found in the document.. * @return anchorIgnoreIfNotPresent - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, this tab is ignored if anchorString is not found in the document.") + **/ + @ApiModelProperty(value = "When set to **true**, this tab is ignored if anchorString is not found in the document.") public String getAnchorIgnoreIfNotPresent() { return anchorIgnoreIfNotPresent; } + /** + * setAnchorIgnoreIfNotPresent. + **/ public void setAnchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { this.anchorIgnoreIfNotPresent = anchorIgnoreIfNotPresent; } + + /** + * anchorMatchWholeWord. + * + * @return FullName + **/ public FullName anchorMatchWholeWord(String anchorMatchWholeWord) { this.anchorMatchWholeWord = anchorMatchWholeWord; return this; } - /** - * When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**. + /** + * When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.. * @return anchorMatchWholeWord - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.") + **/ + @ApiModelProperty(value = "When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.") public String getAnchorMatchWholeWord() { return anchorMatchWholeWord; } + /** + * setAnchorMatchWholeWord. + **/ public void setAnchorMatchWholeWord(String anchorMatchWholeWord) { this.anchorMatchWholeWord = anchorMatchWholeWord; } + + /** + * anchorString. + * + * @return FullName + **/ public FullName anchorString(String anchorString) { this.anchorString = anchorString; return this; } - /** - * Anchor text information for a radio button. + /** + * Anchor text information for a radio button.. * @return anchorString - **/ - @ApiModelProperty(example = "null", value = "Anchor text information for a radio button.") + **/ + @ApiModelProperty(value = "Anchor text information for a radio button.") public String getAnchorString() { return anchorString; } + /** + * setAnchorString. + **/ public void setAnchorString(String anchorString) { this.anchorString = anchorString; } + + /** + * anchorUnits. + * + * @return FullName + **/ public FullName anchorUnits(String anchorUnits) { this.anchorUnits = anchorUnits; return this; } - /** - * Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. + /** + * Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. * @return anchorUnits - **/ - @ApiModelProperty(example = "null", value = "Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.") + **/ + @ApiModelProperty(value = "Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.") public String getAnchorUnits() { return anchorUnits; } + /** + * setAnchorUnits. + **/ public void setAnchorUnits(String anchorUnits) { this.anchorUnits = anchorUnits; } + + /** + * anchorXOffset. + * + * @return FullName + **/ public FullName anchorXOffset(String anchorXOffset) { this.anchorXOffset = anchorXOffset; return this; } - /** - * Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString. + /** + * Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. * @return anchorXOffset - **/ - @ApiModelProperty(example = "null", value = "Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.") + **/ + @ApiModelProperty(value = "Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.") public String getAnchorXOffset() { return anchorXOffset; } + /** + * setAnchorXOffset. + **/ public void setAnchorXOffset(String anchorXOffset) { this.anchorXOffset = anchorXOffset; } + + /** + * anchorYOffset. + * + * @return FullName + **/ public FullName anchorYOffset(String anchorYOffset) { this.anchorYOffset = anchorYOffset; return this; } - /** - * Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString. + /** + * Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.. * @return anchorYOffset - **/ - @ApiModelProperty(example = "null", value = "Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.") + **/ + @ApiModelProperty(value = "Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.") public String getAnchorYOffset() { return anchorYOffset; } + /** + * setAnchorYOffset. + **/ public void setAnchorYOffset(String anchorYOffset) { this.anchorYOffset = anchorYOffset; } + + /** + * bold. + * + * @return FullName + **/ public FullName bold(String bold) { this.bold = bold; return this; } - /** - * When set to **true**, the information in the tab is bold. + /** + * When set to **true**, the information in the tab is bold.. * @return bold - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is bold.") + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is bold.") public String getBold() { return bold; } + /** + * setBold. + **/ public void setBold(String bold) { this.bold = bold; } + + /** + * conditionalParentLabel. + * + * @return FullName + **/ public FullName conditionalParentLabel(String conditionalParentLabel) { this.conditionalParentLabel = conditionalParentLabel; return this; } - /** - * For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility. + /** + * For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.. * @return conditionalParentLabel - **/ - @ApiModelProperty(example = "null", value = "For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.") + **/ + @ApiModelProperty(value = "For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.") public String getConditionalParentLabel() { return conditionalParentLabel; } + /** + * setConditionalParentLabel. + **/ public void setConditionalParentLabel(String conditionalParentLabel) { this.conditionalParentLabel = conditionalParentLabel; } + + /** + * conditionalParentValue. + * + * @return FullName + **/ public FullName conditionalParentValue(String conditionalParentValue) { this.conditionalParentValue = conditionalParentValue; return this; } - /** - * For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. + /** + * For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. . * @return conditionalParentValue - **/ - @ApiModelProperty(example = "null", value = "For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. ") + **/ + @ApiModelProperty(value = "For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. ") public String getConditionalParentValue() { return conditionalParentValue; } + /** + * setConditionalParentValue. + **/ public void setConditionalParentValue(String conditionalParentValue) { this.conditionalParentValue = conditionalParentValue; } + + /** + * customTabId. + * + * @return FullName + **/ public FullName customTabId(String customTabId) { this.customTabId = customTabId; return this; } - /** - * The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties. + /** + * The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.. * @return customTabId - **/ - @ApiModelProperty(example = "null", value = "The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.") + **/ + @ApiModelProperty(value = "The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.") public String getCustomTabId() { return customTabId; } + /** + * setCustomTabId. + **/ public void setCustomTabId(String customTabId) { this.customTabId = customTabId; } + + /** + * documentId. + * + * @return FullName + **/ public FullName documentId(String documentId) { this.documentId = documentId; return this; } - /** - * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute. + /** + * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.. * @return documentId - **/ - @ApiModelProperty(example = "null", value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") + **/ + @ApiModelProperty(value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") public String getDocumentId() { return documentId; } + /** + * setDocumentId. + **/ public void setDocumentId(String documentId) { this.documentId = documentId; } + + /** + * errorDetails. + * + * @return FullName + **/ public FullName errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * font. + * + * @return FullName + **/ public FullName font(String font) { this.font = font; return this; } - /** - * The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default. + /** + * The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.. * @return font - **/ - @ApiModelProperty(example = "null", value = "The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.") + **/ + @ApiModelProperty(value = "The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.") public String getFont() { return font; } + /** + * setFont. + **/ public void setFont(String font) { this.font = font; } + + /** + * fontColor. + * + * @return FullName + **/ public FullName fontColor(String fontColor) { this.fontColor = fontColor; return this; } - /** - * The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White. + /** + * The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.. * @return fontColor - **/ - @ApiModelProperty(example = "null", value = "The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.") + **/ + @ApiModelProperty(value = "The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.") public String getFontColor() { return fontColor; } + /** + * setFontColor. + **/ public void setFontColor(String fontColor) { this.fontColor = fontColor; } + + /** + * fontSize. + * + * @return FullName + **/ public FullName fontSize(String fontSize) { this.fontSize = fontSize; return this; } - /** - * The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72. + /** + * The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.. * @return fontSize - **/ - @ApiModelProperty(example = "null", value = "The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.") + **/ + @ApiModelProperty(value = "The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.") public String getFontSize() { return fontSize; } + /** + * setFontSize. + **/ public void setFontSize(String fontSize) { this.fontSize = fontSize; } + + /** + * italic. + * + * @return FullName + **/ public FullName italic(String italic) { this.italic = italic; return this; } - /** - * When set to **true**, the information in the tab is italic. + /** + * When set to **true**, the information in the tab is italic.. * @return italic - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is italic.") + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is italic.") public String getItalic() { return italic; } + /** + * setItalic. + **/ public void setItalic(String italic) { this.italic = italic; } + + /** + * mergeField. + * + * @return FullName + **/ public FullName mergeField(MergeField mergeField) { this.mergeField = mergeField; return this; } - /** - * Get mergeField + /** + * Get mergeField. * @return mergeField - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public MergeField getMergeField() { return mergeField; } + /** + * setMergeField. + **/ public void setMergeField(MergeField mergeField) { this.mergeField = mergeField; } + + /** + * name. + * + * @return FullName + **/ public FullName name(String name) { this.name = name; return this; } - /** - * + /** + * . * @return name - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * pageNumber. + * + * @return FullName + **/ public FullName pageNumber(String pageNumber) { this.pageNumber = pageNumber; return this; } - /** - * Specifies the page number on which the tab is located. + /** + * Specifies the page number on which the tab is located.. * @return pageNumber - **/ - @ApiModelProperty(example = "null", value = "Specifies the page number on which the tab is located.") + **/ + @ApiModelProperty(value = "Specifies the page number on which the tab is located.") public String getPageNumber() { return pageNumber; } + /** + * setPageNumber. + **/ public void setPageNumber(String pageNumber) { this.pageNumber = pageNumber; } + + /** + * recipientId. + * + * @return FullName + **/ public FullName recipientId(String recipientId) { this.recipientId = recipientId; return this; } - /** - * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document. + /** + * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.. * @return recipientId - **/ - @ApiModelProperty(example = "null", value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") + **/ + @ApiModelProperty(value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") public String getRecipientId() { return recipientId; } + /** + * setRecipientId. + **/ public void setRecipientId(String recipientId) { this.recipientId = recipientId; } + + /** + * status. + * + * @return FullName + **/ public FullName status(String status) { this.status = status; return this; } - /** - * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. + /** + * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.. * @return status - **/ - @ApiModelProperty(example = "null", value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") + **/ + @ApiModelProperty(value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") public String getStatus() { return status; } + /** + * setStatus. + **/ public void setStatus(String status) { this.status = status; } + + /** + * tabGroupLabels. + * + * @return FullName + **/ public FullName tabGroupLabels(java.util.List tabGroupLabels) { this.tabGroupLabels = tabGroupLabels; return this; } - + + /** + * addTabGroupLabelsItem. + * + * @return FullName + **/ public FullName addTabGroupLabelsItem(String tabGroupLabelsItem) { + if (this.tabGroupLabels == null) { + this.tabGroupLabels = new java.util.ArrayList(); + } this.tabGroupLabels.add(tabGroupLabelsItem); return this; } - /** - * + /** + * . * @return tabGroupLabels - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getTabGroupLabels() { return tabGroupLabels; } + /** + * setTabGroupLabels. + **/ public void setTabGroupLabels(java.util.List tabGroupLabels) { this.tabGroupLabels = tabGroupLabels; } + + /** + * tabId. + * + * @return FullName + **/ public FullName tabId(String tabId) { this.tabId = tabId; return this; } - /** - * The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. + /** + * The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. . * @return tabId - **/ - @ApiModelProperty(example = "null", value = "The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. ") + **/ + @ApiModelProperty(value = "The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. ") public String getTabId() { return tabId; } + /** + * setTabId. + **/ public void setTabId(String tabId) { this.tabId = tabId; } + + /** + * tabLabel. + * + * @return FullName + **/ public FullName tabLabel(String tabLabel) { this.tabLabel = tabLabel; return this; } - /** - * The label string associated with the tab. + /** + * The label string associated with the tab.. * @return tabLabel - **/ - @ApiModelProperty(example = "null", value = "The label string associated with the tab.") + **/ + @ApiModelProperty(value = "The label string associated with the tab.") public String getTabLabel() { return tabLabel; } + /** + * setTabLabel. + **/ public void setTabLabel(String tabLabel) { this.tabLabel = tabLabel; } + + /** + * tabOrder. + * + * @return FullName + **/ public FullName tabOrder(String tabOrder) { this.tabOrder = tabOrder; return this; } - /** - * + /** + * . * @return tabOrder - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTabOrder() { return tabOrder; } + /** + * setTabOrder. + **/ public void setTabOrder(String tabOrder) { this.tabOrder = tabOrder; } + + /** + * templateLocked. + * + * @return FullName + **/ public FullName templateLocked(String templateLocked) { this.templateLocked = templateLocked; return this; } - /** - * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. . * @return templateLocked - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") + **/ + @ApiModelProperty(value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") public String getTemplateLocked() { return templateLocked; } + /** + * setTemplateLocked. + **/ public void setTemplateLocked(String templateLocked) { this.templateLocked = templateLocked; } + + /** + * templateRequired. + * + * @return FullName + **/ public FullName templateRequired(String templateRequired) { this.templateRequired = templateRequired; return this; } - /** - * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.. * @return templateRequired - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") + **/ + @ApiModelProperty(value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") public String getTemplateRequired() { return templateRequired; } + /** + * setTemplateRequired. + **/ public void setTemplateRequired(String templateRequired) { this.templateRequired = templateRequired; } + + /** + * tooltip. + * + * @return FullName + **/ public FullName tooltip(String tooltip) { this.tooltip = tooltip; return this; } - /** - * + /** + * . * @return tooltip - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTooltip() { return tooltip; } + /** + * setTooltip. + **/ public void setTooltip(String tooltip) { this.tooltip = tooltip; } + + /** + * underline. + * + * @return FullName + **/ public FullName underline(String underline) { this.underline = underline; return this; } - /** - * When set to **true**, the information in the tab is underlined. + /** + * When set to **true**, the information in the tab is underlined.. * @return underline - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is underlined.") + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is underlined.") public String getUnderline() { return underline; } + /** + * setUnderline. + **/ public void setUnderline(String underline) { this.underline = underline; } + + /** + * value. + * + * @return FullName + **/ public FullName value(String value) { this.value = value; return this; } - /** - * Specifies the value of the tab. + /** + * Specifies the value of the tab. . * @return value - **/ - @ApiModelProperty(example = "null", value = "Specifies the value of the tab. ") + **/ + @ApiModelProperty(value = "Specifies the value of the tab. ") public String getValue() { return value; } + /** + * setValue. + **/ public void setValue(String value) { this.value = value; } + + /** + * xPosition. + * + * @return FullName + **/ public FullName xPosition(String xPosition) { this.xPosition = xPosition; return this; } - /** - * This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position. + /** + * This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.. * @return xPosition - **/ - @ApiModelProperty(example = "null", value = "This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.") + **/ + @ApiModelProperty(value = "This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.") public String getXPosition() { return xPosition; } + /** + * setXPosition. + **/ public void setXPosition(String xPosition) { this.xPosition = xPosition; } + + /** + * yPosition. + * + * @return FullName + **/ public FullName yPosition(String yPosition) { this.yPosition = yPosition; return this; } - /** - * This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position. + /** + * This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. * @return yPosition - **/ - @ApiModelProperty(example = "null", value = "This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.") + **/ + @ApiModelProperty(value = "This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.") public String getYPosition() { return yPosition; } + /** + * setYPosition. + **/ public void setYPosition(String yPosition) { this.yPosition = yPosition; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -778,12 +1100,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.yPosition, fullName.yPosition); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(anchorCaseSensitive, anchorHorizontalAlignment, anchorIgnoreIfNotPresent, anchorMatchWholeWord, anchorString, anchorUnits, anchorXOffset, anchorYOffset, bold, conditionalParentLabel, conditionalParentValue, customTabId, documentId, errorDetails, font, fontColor, fontSize, italic, mergeField, name, pageNumber, recipientId, status, tabGroupLabels, tabId, tabLabel, tabOrder, templateLocked, templateRequired, tooltip, underline, value, xPosition, yPosition); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -837,6 +1165,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/GraphicsContext.java b/src/main/java/com/docusign/esign/model/GraphicsContext.java new file mode 100644 index 00000000..09f9ab13 --- /dev/null +++ b/src/main/java/com/docusign/esign/model/GraphicsContext.java @@ -0,0 +1,122 @@ +package com.docusign.esign.model; + +import java.util.Objects; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +/** + * GraphicsContext + */ + +public class GraphicsContext { + @JsonProperty("fillColor") + private String fillColor = null; + + @JsonProperty("lineColor") + private String lineColor = null; + + @JsonProperty("lineWeight") + private String lineWeight = null; + + public GraphicsContext fillColor(String fillColor) { + this.fillColor = fillColor; + return this; + } + + /** + * + * @return fillColor + **/ + @ApiModelProperty(example = "null", value = "") + public String getFillColor() { + return fillColor; + } + + public void setFillColor(String fillColor) { + this.fillColor = fillColor; + } + + public GraphicsContext lineColor(String lineColor) { + this.lineColor = lineColor; + return this; + } + + /** + * + * @return lineColor + **/ + @ApiModelProperty(example = "null", value = "") + public String getLineColor() { + return lineColor; + } + + public void setLineColor(String lineColor) { + this.lineColor = lineColor; + } + + public GraphicsContext lineWeight(String lineWeight) { + this.lineWeight = lineWeight; + return this; + } + + /** + * + * @return lineWeight + **/ + @ApiModelProperty(example = "null", value = "") + public String getLineWeight() { + return lineWeight; + } + + public void setLineWeight(String lineWeight) { + this.lineWeight = lineWeight; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GraphicsContext graphicsContext = (GraphicsContext) o; + return Objects.equals(this.fillColor, graphicsContext.fillColor) && + Objects.equals(this.lineColor, graphicsContext.lineColor) && + Objects.equals(this.lineWeight, graphicsContext.lineWeight); + } + + @Override + public int hashCode() { + return Objects.hash(fillColor, lineColor, lineWeight); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class GraphicsContext {\n"); + + sb.append(" fillColor: ").append(toIndentedString(fillColor)).append("\n"); + sb.append(" lineColor: ").append(toIndentedString(lineColor)).append("\n"); + sb.append(" lineWeight: ").append(toIndentedString(lineWeight)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/com/docusign/esign/model/Group.java b/src/main/java/com/docusign/esign/model/Group.java index 3ed366b2..7bc092d3 100644 --- a/src/main/java/com/docusign/esign/model/Group.java +++ b/src/main/java/com/docusign/esign/model/Group.java @@ -1,15 +1,18 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ErrorDetails; import com.docusign.esign.model.UserInfo; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Group + * Group. + * */ public class Group { @@ -29,122 +32,189 @@ public class Group { private String permissionProfileId = null; @JsonProperty("users") - private java.util.List users = new java.util.ArrayList(); + private java.util.List users = null; + + /** + * errorDetails. + * + * @return Group + **/ public Group errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * groupId. + * + * @return Group + **/ public Group groupId(String groupId) { this.groupId = groupId; return this; } - /** - * The DocuSign group ID for the group. + /** + * The DocuSign group ID for the group.. * @return groupId - **/ - @ApiModelProperty(example = "null", value = "The DocuSign group ID for the group.") + **/ + @ApiModelProperty(value = "The DocuSign group ID for the group.") public String getGroupId() { return groupId; } + /** + * setGroupId. + **/ public void setGroupId(String groupId) { this.groupId = groupId; } + + /** + * groupName. + * + * @return Group + **/ public Group groupName(String groupName) { this.groupName = groupName; return this; } - /** - * The name of the group. + /** + * The name of the group.. * @return groupName - **/ - @ApiModelProperty(example = "null", value = "The name of the group.") + **/ + @ApiModelProperty(value = "The name of the group.") public String getGroupName() { return groupName; } + /** + * setGroupName. + **/ public void setGroupName(String groupName) { this.groupName = groupName; } + + /** + * groupType. + * + * @return Group + **/ public Group groupType(String groupType) { this.groupType = groupType; return this; } - /** - * The group type. + /** + * The group type.. * @return groupType - **/ - @ApiModelProperty(example = "null", value = "The group type.") + **/ + @ApiModelProperty(value = "The group type.") public String getGroupType() { return groupType; } + /** + * setGroupType. + **/ public void setGroupType(String groupType) { this.groupType = groupType; } + + /** + * permissionProfileId. + * + * @return Group + **/ public Group permissionProfileId(String permissionProfileId) { this.permissionProfileId = permissionProfileId; return this; } - /** - * The ID of the permission profile associated with the group. + /** + * The ID of the permission profile associated with the group.. * @return permissionProfileId - **/ - @ApiModelProperty(example = "null", value = "The ID of the permission profile associated with the group.") + **/ + @ApiModelProperty(value = "The ID of the permission profile associated with the group.") public String getPermissionProfileId() { return permissionProfileId; } + /** + * setPermissionProfileId. + **/ public void setPermissionProfileId(String permissionProfileId) { this.permissionProfileId = permissionProfileId; } + + /** + * users. + * + * @return Group + **/ public Group users(java.util.List users) { this.users = users; return this; } - + + /** + * addUsersItem. + * + * @return Group + **/ public Group addUsersItem(UserInfo usersItem) { + if (this.users == null) { + this.users = new java.util.ArrayList(); + } this.users.add(usersItem); return this; } - /** - * + /** + * . * @return users - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getUsers() { return users; } + /** + * setUsers. + **/ public void setUsers(java.util.List users) { this.users = users; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -162,12 +232,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.users, group.users); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(errorDetails, groupId, groupName, groupType, permissionProfileId, users); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -193,6 +269,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/GroupBrands.java b/src/main/java/com/docusign/esign/model/GroupBrands.java new file mode 100644 index 00000000..7cc67efe --- /dev/null +++ b/src/main/java/com/docusign/esign/model/GroupBrands.java @@ -0,0 +1,178 @@ +package com.docusign.esign.model; + +import java.util.Objects; +import java.util.Arrays; +import com.docusign.esign.model.Brand; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +/** + * . + * + */ +@ApiModel(description = "") + +public class GroupBrands { + @JsonProperty("recipientBrandIdDefault") + private String recipientBrandIdDefault = null; + + @JsonProperty("senderBrandIdDefault") + private String senderBrandIdDefault = null; + + @JsonProperty("brandOptions") + private java.util.List brandOptions = null; + + + /** + * recipientBrandIdDefault. + * + * @return GroupBrands + **/ + public GroupBrands recipientBrandIdDefault(String recipientBrandIdDefault) { + this.recipientBrandIdDefault = recipientBrandIdDefault; + return this; + } + + /** + * The brand seen by envelope recipients when a brand is not explicitly set.. + * @return recipientBrandIdDefault + **/ + @ApiModelProperty(value = "The brand seen by envelope recipients when a brand is not explicitly set.") + public String getRecipientBrandIdDefault() { + return recipientBrandIdDefault; + } + + /** + * setRecipientBrandIdDefault. + **/ + public void setRecipientBrandIdDefault(String recipientBrandIdDefault) { + this.recipientBrandIdDefault = recipientBrandIdDefault; + } + + + /** + * senderBrandIdDefault. + * + * @return GroupBrands + **/ + public GroupBrands senderBrandIdDefault(String senderBrandIdDefault) { + this.senderBrandIdDefault = senderBrandIdDefault; + return this; + } + + /** + * The brand seen by envelope senders when a brand is not explicitly set.. + * @return senderBrandIdDefault + **/ + @ApiModelProperty(value = "The brand seen by envelope senders when a brand is not explicitly set.") + public String getSenderBrandIdDefault() { + return senderBrandIdDefault; + } + + /** + * setSenderBrandIdDefault. + **/ + public void setSenderBrandIdDefault(String senderBrandIdDefault) { + this.senderBrandIdDefault = senderBrandIdDefault; + } + + + /** + * brandOptions. + * + * @return GroupBrands + **/ + public GroupBrands brandOptions(java.util.List brandOptions) { + this.brandOptions = brandOptions; + return this; + } + + /** + * addBrandOptionsItem. + * + * @return GroupBrands + **/ + public GroupBrands addBrandOptionsItem(Brand brandOptionsItem) { + if (this.brandOptions == null) { + this.brandOptions = new java.util.ArrayList(); + } + this.brandOptions.add(brandOptionsItem); + return this; + } + + /** + * The list of brands.. + * @return brandOptions + **/ + @ApiModelProperty(value = "The list of brands.") + public java.util.List getBrandOptions() { + return brandOptions; + } + + /** + * setBrandOptions. + **/ + public void setBrandOptions(java.util.List brandOptions) { + this.brandOptions = brandOptions; + } + + + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GroupBrands groupBrands = (GroupBrands) o; + return Objects.equals(this.recipientBrandIdDefault, groupBrands.recipientBrandIdDefault) && + Objects.equals(this.senderBrandIdDefault, groupBrands.senderBrandIdDefault) && + Objects.equals(this.brandOptions, groupBrands.brandOptions); + } + + /** + * Returns the HashCode. + */ + @Override + public int hashCode() { + return Objects.hash(recipientBrandIdDefault, senderBrandIdDefault, brandOptions); + } + + + /** + * Converts the given object to string. + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class GroupBrands {\n"); + + sb.append(" recipientBrandIdDefault: ").append(toIndentedString(recipientBrandIdDefault)).append("\n"); + sb.append(" senderBrandIdDefault: ").append(toIndentedString(senderBrandIdDefault)).append("\n"); + sb.append(" brandOptions: ").append(toIndentedString(brandOptions)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/com/docusign/esign/model/GroupInformation.java b/src/main/java/com/docusign/esign/model/GroupInformation.java index b22ef4c3..77ec2e1e 100644 --- a/src/main/java/com/docusign/esign/model/GroupInformation.java +++ b/src/main/java/com/docusign/esign/model/GroupInformation.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.Group; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * GroupInformation + * GroupInformation. + * */ public class GroupInformation { @@ -16,7 +19,7 @@ public class GroupInformation { private String endPosition = null; @JsonProperty("groups") - private java.util.List groups = new java.util.ArrayList(); + private java.util.List groups = null; @JsonProperty("nextUri") private String nextUri = null; @@ -33,138 +36,214 @@ public class GroupInformation { @JsonProperty("totalSetSize") private String totalSetSize = null; + + /** + * endPosition. + * + * @return GroupInformation + **/ public GroupInformation endPosition(String endPosition) { this.endPosition = endPosition; return this; } - /** - * The last position in the result set. + /** + * The last position in the result set. . * @return endPosition - **/ - @ApiModelProperty(example = "null", value = "The last position in the result set. ") + **/ + @ApiModelProperty(value = "The last position in the result set. ") public String getEndPosition() { return endPosition; } + /** + * setEndPosition. + **/ public void setEndPosition(String endPosition) { this.endPosition = endPosition; } + + /** + * groups. + * + * @return GroupInformation + **/ public GroupInformation groups(java.util.List groups) { this.groups = groups; return this; } - + + /** + * addGroupsItem. + * + * @return GroupInformation + **/ public GroupInformation addGroupsItem(Group groupsItem) { + if (this.groups == null) { + this.groups = new java.util.ArrayList(); + } this.groups.add(groupsItem); return this; } - /** - * A collection group objects containing information about the groups returned. + /** + * A collection group objects containing information about the groups returned.. * @return groups - **/ - @ApiModelProperty(example = "null", value = "A collection group objects containing information about the groups returned.") + **/ + @ApiModelProperty(value = "A collection group objects containing information about the groups returned.") public java.util.List getGroups() { return groups; } + /** + * setGroups. + **/ public void setGroups(java.util.List groups) { this.groups = groups; } + + /** + * nextUri. + * + * @return GroupInformation + **/ public GroupInformation nextUri(String nextUri) { this.nextUri = nextUri; return this; } - /** - * The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. + /** + * The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. . * @return nextUri - **/ - @ApiModelProperty(example = "null", value = "The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. ") + **/ + @ApiModelProperty(value = "The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. ") public String getNextUri() { return nextUri; } + /** + * setNextUri. + **/ public void setNextUri(String nextUri) { this.nextUri = nextUri; } + + /** + * previousUri. + * + * @return GroupInformation + **/ public GroupInformation previousUri(String previousUri) { this.previousUri = previousUri; return this; } - /** - * The postal code for the billing address. + /** + * The postal code for the billing address.. * @return previousUri - **/ - @ApiModelProperty(example = "null", value = "The postal code for the billing address.") + **/ + @ApiModelProperty(value = "The postal code for the billing address.") public String getPreviousUri() { return previousUri; } + /** + * setPreviousUri. + **/ public void setPreviousUri(String previousUri) { this.previousUri = previousUri; } + + /** + * resultSetSize. + * + * @return GroupInformation + **/ public GroupInformation resultSetSize(String resultSetSize) { this.resultSetSize = resultSetSize; return this; } - /** - * The number of results returned in this response. + /** + * The number of results returned in this response. . * @return resultSetSize - **/ - @ApiModelProperty(example = "null", value = "The number of results returned in this response. ") + **/ + @ApiModelProperty(value = "The number of results returned in this response. ") public String getResultSetSize() { return resultSetSize; } + /** + * setResultSetSize. + **/ public void setResultSetSize(String resultSetSize) { this.resultSetSize = resultSetSize; } + + /** + * startPosition. + * + * @return GroupInformation + **/ public GroupInformation startPosition(String startPosition) { this.startPosition = startPosition; return this; } - /** - * Starting position of the current result set. + /** + * Starting position of the current result set.. * @return startPosition - **/ - @ApiModelProperty(example = "null", value = "Starting position of the current result set.") + **/ + @ApiModelProperty(value = "Starting position of the current result set.") public String getStartPosition() { return startPosition; } + /** + * setStartPosition. + **/ public void setStartPosition(String startPosition) { this.startPosition = startPosition; } + + /** + * totalSetSize. + * + * @return GroupInformation + **/ public GroupInformation totalSetSize(String totalSetSize) { this.totalSetSize = totalSetSize; return this; } - /** - * The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response. + /** + * The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.. * @return totalSetSize - **/ - @ApiModelProperty(example = "null", value = "The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.") + **/ + @ApiModelProperty(value = "The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.") public String getTotalSetSize() { return totalSetSize; } + /** + * setTotalSetSize. + **/ public void setTotalSetSize(String totalSetSize) { this.totalSetSize = totalSetSize; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -183,12 +262,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.totalSetSize, groupInformation.totalSetSize); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(endPosition, groups, nextUri, previousUri, resultSetSize, startPosition, totalSetSize); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -215,6 +300,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/IdCheckConfiguration.java b/src/main/java/com/docusign/esign/model/IdCheckConfiguration.java new file mode 100644 index 00000000..4da338ee --- /dev/null +++ b/src/main/java/com/docusign/esign/model/IdCheckConfiguration.java @@ -0,0 +1,128 @@ +package com.docusign.esign.model; + +import java.util.Objects; +import com.docusign.esign.model.IdCheckSecurityStep; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +/** + * IdCheckConfiguration + */ + +public class IdCheckConfiguration { + @JsonProperty("authSteps") + private java.util.List authSteps = new java.util.ArrayList(); + + @JsonProperty("isDefault") + private String isDefault = null; + + @JsonProperty("name") + private String name = null; + + public IdCheckConfiguration authSteps(java.util.List authSteps) { + this.authSteps = authSteps; + return this; + } + + public IdCheckConfiguration addAuthStepsItem(IdCheckSecurityStep authStepsItem) { + this.authSteps.add(authStepsItem); + return this; + } + + /** + * + * @return authSteps + **/ + @ApiModelProperty(example = "null", value = "") + public java.util.List getAuthSteps() { + return authSteps; + } + + public void setAuthSteps(java.util.List authSteps) { + this.authSteps = authSteps; + } + + public IdCheckConfiguration isDefault(String isDefault) { + this.isDefault = isDefault; + return this; + } + + /** + * + * @return isDefault + **/ + @ApiModelProperty(example = "null", value = "") + public String getIsDefault() { + return isDefault; + } + + public void setIsDefault(String isDefault) { + this.isDefault = isDefault; + } + + public IdCheckConfiguration name(String name) { + this.name = name; + return this; + } + + /** + * + * @return name + **/ + @ApiModelProperty(example = "null", value = "") + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + IdCheckConfiguration idCheckConfiguration = (IdCheckConfiguration) o; + return Objects.equals(this.authSteps, idCheckConfiguration.authSteps) && + Objects.equals(this.isDefault, idCheckConfiguration.isDefault) && + Objects.equals(this.name, idCheckConfiguration.name); + } + + @Override + public int hashCode() { + return Objects.hash(authSteps, isDefault, name); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class IdCheckConfiguration {\n"); + + sb.append(" authSteps: ").append(toIndentedString(authSteps)).append("\n"); + sb.append(" isDefault: ").append(toIndentedString(isDefault)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/com/docusign/esign/model/IdCheckInformationInput.java b/src/main/java/com/docusign/esign/model/IdCheckInformationInput.java index 33c90f87..c125e245 100644 --- a/src/main/java/com/docusign/esign/model/IdCheckInformationInput.java +++ b/src/main/java/com/docusign/esign/model/IdCheckInformationInput.java @@ -1,17 +1,20 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.AddressInformationInput; import com.docusign.esign.model.DobInformationInput; import com.docusign.esign.model.Ssn4InformationInput; import com.docusign.esign.model.Ssn9InformationInput; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * A complex element that contains input information related to a recipient ID check. It can include the following information. addressInformationInput: Used to set recipient address information and consists of: * addressInformation: consists of six elements, with stree2 and zipPlus4 being optional. The elements are: street1, street2, city, state, zip, zipPlus4. The maximum length of each element is: street1/street2 = 150 characters, city = 50 characters, state = 2 characters, and zip/zipPlus4 = 20 characters. * displayLevelCode: Specifies the display level for the recipient. Values are: ReadOnly, Editable, or DoNotDisplay. * receiveInResponse: A Boolean element that specifies if the information needs to be returned in the response. dobInformationInput: Used to set recipient date of birth information and consists of: * dateOfBirth: Specifies the recipient's date, month and year of birth. * displayLevelCode: Specifies the display level for the recipient. Values are: ReadOnly, Editable, or DoNotDisplay. * receiveInResponse: A Boolean element that specifies if the information needs to be returned in the response. ssn4InformationInput: Used to set the last four digits of the recipient's SSN information and consists of: * ssn4: Specifies the last four digits of the recipient's SSN. * displayLevelCode: Specifies the display level for the recipient. Values are: ReadOnly, Editable, or DoNotDisplay. * receiveInResponse: A Boolean element that specifies if the information needs to be returned in the response. ssn9InformationInput: Used to set the recipient's SSN information. Note that the ssn9 information can never be returned in the response. The ssn9 input consists of: * ssn9: Specifies the recipient's SSN. * displayLevelCode: Specifies the display level for the recipient. Values are: ReadOnly, Editable, or DoNotDisplay. + * A complex element that contains input information related to a recipient ID check. It can include the following information. addressInformationInput: Used to set recipient address information and consists of: * addressInformation: consists of six elements, with stree2 and zipPlus4 being optional. The elements are: street1, street2, city, state, zip, zipPlus4. The maximum length of each element is: street1/street2 = 150 characters, city = 50 characters, state = 2 characters, and zip/zipPlus4 = 20 characters. * displayLevelCode: Specifies the display level for the recipient. Values are: ReadOnly, Editable, or DoNotDisplay. * receiveInResponse: A Boolean element that specifies if the information needs to be returned in the response. dobInformationInput: Used to set recipient date of birth information and consists of: * dateOfBirth: Specifies the recipient's date, month and year of birth. * displayLevelCode: Specifies the display level for the recipient. Values are: ReadOnly, Editable, or DoNotDisplay. * receiveInResponse: A Boolean element that specifies if the information needs to be returned in the response. ssn4InformationInput: Used to set the last four digits of the recipient's SSN information and consists of: * ssn4: Specifies the last four digits of the recipient's SSN. * displayLevelCode: Specifies the display level for the recipient. Values are: ReadOnly, Editable, or DoNotDisplay. * receiveInResponse: A Boolean element that specifies if the information needs to be returned in the response. ssn9InformationInput: Used to set the recipient's SSN information. Note that the ssn9 information can never be returned in the response. The ssn9 input consists of: * ssn9: Specifies the recipient's SSN. * displayLevelCode: Specifies the display level for the recipient. Values are: ReadOnly, Editable, or DoNotDisplay.. + * */ @ApiModel(description = "A complex element that contains input information related to a recipient ID check. It can include the following information. addressInformationInput: Used to set recipient address information and consists of: * addressInformation: consists of six elements, with stree2 and zipPlus4 being optional. The elements are: street1, street2, city, state, zip, zipPlus4. The maximum length of each element is: street1/street2 = 150 characters, city = 50 characters, state = 2 characters, and zip/zipPlus4 = 20 characters. * displayLevelCode: Specifies the display level for the recipient. Values are: ReadOnly, Editable, or DoNotDisplay. * receiveInResponse: A Boolean element that specifies if the information needs to be returned in the response. dobInformationInput: Used to set recipient date of birth information and consists of: * dateOfBirth: Specifies the recipient's date, month and year of birth. * displayLevelCode: Specifies the display level for the recipient. Values are: ReadOnly, Editable, or DoNotDisplay. * receiveInResponse: A Boolean element that specifies if the information needs to be returned in the response. ssn4InformationInput: Used to set the last four digits of the recipient's SSN information and consists of: * ssn4: Specifies the last four digits of the recipient's SSN. * displayLevelCode: Specifies the display level for the recipient. Values are: ReadOnly, Editable, or DoNotDisplay. * receiveInResponse: A Boolean element that specifies if the information needs to be returned in the response. ssn9InformationInput: Used to set the recipient's SSN information. Note that the ssn9 information can never be returned in the response. The ssn9 input consists of: * ssn9: Specifies the recipient's SSN. * displayLevelCode: Specifies the display level for the recipient. Values are: ReadOnly, Editable, or DoNotDisplay.") @@ -28,79 +31,120 @@ public class IdCheckInformationInput { @JsonProperty("ssn9InformationInput") private Ssn9InformationInput ssn9InformationInput = null; + + /** + * addressInformationInput. + * + * @return IdCheckInformationInput + **/ public IdCheckInformationInput addressInformationInput(AddressInformationInput addressInformationInput) { this.addressInformationInput = addressInformationInput; return this; } - /** - * Get addressInformationInput + /** + * Get addressInformationInput. * @return addressInformationInput - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public AddressInformationInput getAddressInformationInput() { return addressInformationInput; } + /** + * setAddressInformationInput. + **/ public void setAddressInformationInput(AddressInformationInput addressInformationInput) { this.addressInformationInput = addressInformationInput; } + + /** + * dobInformationInput. + * + * @return IdCheckInformationInput + **/ public IdCheckInformationInput dobInformationInput(DobInformationInput dobInformationInput) { this.dobInformationInput = dobInformationInput; return this; } - /** - * Get dobInformationInput + /** + * Get dobInformationInput. * @return dobInformationInput - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public DobInformationInput getDobInformationInput() { return dobInformationInput; } + /** + * setDobInformationInput. + **/ public void setDobInformationInput(DobInformationInput dobInformationInput) { this.dobInformationInput = dobInformationInput; } + + /** + * ssn4InformationInput. + * + * @return IdCheckInformationInput + **/ public IdCheckInformationInput ssn4InformationInput(Ssn4InformationInput ssn4InformationInput) { this.ssn4InformationInput = ssn4InformationInput; return this; } - /** - * Get ssn4InformationInput + /** + * Get ssn4InformationInput. * @return ssn4InformationInput - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public Ssn4InformationInput getSsn4InformationInput() { return ssn4InformationInput; } + /** + * setSsn4InformationInput. + **/ public void setSsn4InformationInput(Ssn4InformationInput ssn4InformationInput) { this.ssn4InformationInput = ssn4InformationInput; } + + /** + * ssn9InformationInput. + * + * @return IdCheckInformationInput + **/ public IdCheckInformationInput ssn9InformationInput(Ssn9InformationInput ssn9InformationInput) { this.ssn9InformationInput = ssn9InformationInput; return this; } - /** - * Get ssn9InformationInput + /** + * Get ssn9InformationInput. * @return ssn9InformationInput - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public Ssn9InformationInput getSsn9InformationInput() { return ssn9InformationInput; } + /** + * setSsn9InformationInput. + **/ public void setSsn9InformationInput(Ssn9InformationInput ssn9InformationInput) { this.ssn9InformationInput = ssn9InformationInput; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -116,12 +160,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.ssn9InformationInput, idCheckInformationInput.ssn9InformationInput); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(addressInformationInput, dobInformationInput, ssn4InformationInput, ssn9InformationInput); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -145,6 +195,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/IdCheckSecurityStep.java b/src/main/java/com/docusign/esign/model/IdCheckSecurityStep.java new file mode 100644 index 00000000..52464b24 --- /dev/null +++ b/src/main/java/com/docusign/esign/model/IdCheckSecurityStep.java @@ -0,0 +1,76 @@ +package com.docusign.esign.model; + +import java.util.Objects; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +/** + * IdCheckSecurityStep + */ + +public class IdCheckSecurityStep { + @JsonProperty("authType") + private String authType = null; + + public IdCheckSecurityStep authType(String authType) { + this.authType = authType; + return this; + } + + /** + * + * @return authType + **/ + @ApiModelProperty(example = "null", value = "") + public String getAuthType() { + return authType; + } + + public void setAuthType(String authType) { + this.authType = authType; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + IdCheckSecurityStep idCheckSecurityStep = (IdCheckSecurityStep) o; + return Objects.equals(this.authType, idCheckSecurityStep.authType); + } + + @Override + public int hashCode() { + return Objects.hash(authType); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class IdCheckSecurityStep {\n"); + + sb.append(" authType: ").append(toIndentedString(authType)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/com/docusign/esign/model/InPersonSigner.java b/src/main/java/com/docusign/esign/model/InPersonSigner.java index b9fbbfe1..b7032912 100644 --- a/src/main/java/com/docusign/esign/model/InPersonSigner.java +++ b/src/main/java/com/docusign/esign/model/InPersonSigner.java @@ -1,6 +1,7 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.AuthenticationStatus; import com.docusign.esign.model.DocumentVisibility; import com.docusign.esign.model.ErrorDetails; @@ -9,6 +10,7 @@ import com.docusign.esign.model.OfflineAttributes; import com.docusign.esign.model.RecipientAttachment; import com.docusign.esign.model.RecipientEmailNotification; +import com.docusign.esign.model.RecipientIdentityVerification; import com.docusign.esign.model.RecipientPhoneAuthentication; import com.docusign.esign.model.RecipientSAMLAuthentication; import com.docusign.esign.model.RecipientSMSAuthentication; @@ -19,11 +21,13 @@ import com.docusign.esign.model.UserInfo; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * InPersonSigner + * InPersonSigner. + * */ public class InPersonSigner { @@ -46,7 +50,7 @@ public class InPersonSigner { private String creationReason = null; @JsonProperty("customFields") - private java.util.List customFields = new java.util.ArrayList(); + private java.util.List customFields = null; @JsonProperty("declinedDateTime") private String declinedDateTime = null; @@ -64,7 +68,7 @@ public class InPersonSigner { private String deliveryMethod = null; @JsonProperty("documentVisibility") - private java.util.List documentVisibility = new java.util.ArrayList(); + private java.util.List documentVisibility = null; @JsonProperty("email") private String email = null; @@ -79,7 +83,7 @@ public class InPersonSigner { private ErrorDetails errorDetails = null; @JsonProperty("excludedDocuments") - private java.util.List excludedDocuments = new java.util.ArrayList(); + private java.util.List excludedDocuments = null; @JsonProperty("faxNumber") private String faxNumber = null; @@ -96,6 +100,9 @@ public class InPersonSigner { @JsonProperty("idCheckInformationInput") private IdCheckInformationInput idCheckInformationInput = null; + @JsonProperty("identityVerification") + private RecipientIdentityVerification identityVerification = null; + @JsonProperty("inheritEmailNotificationConfiguration") private String inheritEmailNotificationConfiguration = null; @@ -118,7 +125,7 @@ public class InPersonSigner { private RecipientPhoneAuthentication phoneAuthentication = null; @JsonProperty("recipientAttachments") - private java.util.List recipientAttachments = new java.util.ArrayList(); + private java.util.List recipientAttachments = null; @JsonProperty("recipientAuthenticationStatus") private AuthenticationStatus recipientAuthenticationStatus = null; @@ -130,7 +137,7 @@ public class InPersonSigner { private String recipientIdGuid = null; @JsonProperty("recipientSignatureProviders") - private java.util.List recipientSignatureProviders = new java.util.ArrayList(); + private java.util.List recipientSignatureProviders = null; @JsonProperty("recipientSuppliesTabs") private String recipientSuppliesTabs = null; @@ -178,13 +185,13 @@ public class InPersonSigner { private String signingGroupName = null; @JsonProperty("signingGroupUsers") - private java.util.List signingGroupUsers = new java.util.ArrayList(); + private java.util.List signingGroupUsers = null; @JsonProperty("smsAuthentication") private RecipientSMSAuthentication smsAuthentication = null; @JsonProperty("socialAuthentications") - private java.util.List socialAuthentications = new java.util.ArrayList(); + private java.util.List socialAuthentications = null; @JsonProperty("status") private String status = null; @@ -204,1104 +211,1723 @@ public class InPersonSigner { @JsonProperty("userId") private String userId = null; + + /** + * accessCode. + * + * @return InPersonSigner + **/ public InPersonSigner accessCode(String accessCode) { this.accessCode = accessCode; return this; } - /** - * If a value is provided, the recipient must enter the value as the access code to view and sign the envelope. Maximum Length: 50 characters and it must conform to the account's access code format setting. If blank, but the signer `accessCode` property is set in the envelope, then that value is used. If blank and the signer `accessCode` property is not set, then the access code is not required. + /** + * If a value is provided, the recipient must enter the value as the access code to view and sign the envelope. Maximum Length: 50 characters and it must conform to the account's access code format setting. If blank, but the signer `accessCode` property is set in the envelope, then that value is used. If blank and the signer `accessCode` property is not set, then the access code is not required.. * @return accessCode - **/ - @ApiModelProperty(example = "null", value = "If a value is provided, the recipient must enter the value as the access code to view and sign the envelope. Maximum Length: 50 characters and it must conform to the account's access code format setting. If blank, but the signer `accessCode` property is set in the envelope, then that value is used. If blank and the signer `accessCode` property is not set, then the access code is not required.") + **/ + @ApiModelProperty(value = "If a value is provided, the recipient must enter the value as the access code to view and sign the envelope. Maximum Length: 50 characters and it must conform to the account's access code format setting. If blank, but the signer `accessCode` property is set in the envelope, then that value is used. If blank and the signer `accessCode` property is not set, then the access code is not required.") public String getAccessCode() { return accessCode; } + /** + * setAccessCode. + **/ public void setAccessCode(String accessCode) { this.accessCode = accessCode; } + + /** + * addAccessCodeToEmail. + * + * @return InPersonSigner + **/ public InPersonSigner addAccessCodeToEmail(String addAccessCodeToEmail) { this.addAccessCodeToEmail = addAccessCodeToEmail; return this; } - /** - * This Optional attribute indicates that the access code will be added to the email sent to the recipient; this nullifies the Security measure of Access Code on the recipient. + /** + * This Optional attribute indicates that the access code will be added to the email sent to the recipient; this nullifies the Security measure of Access Code on the recipient.. * @return addAccessCodeToEmail - **/ - @ApiModelProperty(example = "null", value = "This Optional attribute indicates that the access code will be added to the email sent to the recipient; this nullifies the Security measure of Access Code on the recipient.") + **/ + @ApiModelProperty(value = "This Optional attribute indicates that the access code will be added to the email sent to the recipient; this nullifies the Security measure of Access Code on the recipient.") public String getAddAccessCodeToEmail() { return addAccessCodeToEmail; } + /** + * setAddAccessCodeToEmail. + **/ public void setAddAccessCodeToEmail(String addAccessCodeToEmail) { this.addAccessCodeToEmail = addAccessCodeToEmail; } + + /** + * autoNavigation. + * + * @return InPersonSigner + **/ public InPersonSigner autoNavigation(String autoNavigation) { this.autoNavigation = autoNavigation; return this; } - /** - * + /** + * . * @return autoNavigation - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAutoNavigation() { return autoNavigation; } + /** + * setAutoNavigation. + **/ public void setAutoNavigation(String autoNavigation) { this.autoNavigation = autoNavigation; } + + /** + * canSignOffline. + * + * @return InPersonSigner + **/ public InPersonSigner canSignOffline(String canSignOffline) { this.canSignOffline = canSignOffline; return this; } - /** - * When set to **true**, specifies that the signer can perform the signing ceremony offline. + /** + * When set to **true**, specifies that the signer can perform the signing ceremony offline.. * @return canSignOffline - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, specifies that the signer can perform the signing ceremony offline.") + **/ + @ApiModelProperty(value = "When set to **true**, specifies that the signer can perform the signing ceremony offline.") public String getCanSignOffline() { return canSignOffline; } + /** + * setCanSignOffline. + **/ public void setCanSignOffline(String canSignOffline) { this.canSignOffline = canSignOffline; } + + /** + * clientUserId. + * + * @return InPersonSigner + **/ public InPersonSigner clientUserId(String clientUserId) { this.clientUserId = clientUserId; return this; } - /** - * Specifies whether the recipient is embedded or remote. If the `clientUserId` property is not null then the recipient is embedded. Note that if the `ClientUserId` property is set and either `SignerMustHaveAccount` or `SignerMustLoginToSign` property of the account settings is set to **true**, an error is generated on sending.ng. Maximum length: 100 characters. + /** + * Specifies whether the recipient is embedded or remote. If the `clientUserId` property is not null then the recipient is embedded. Note that if the `ClientUserId` property is set and either `SignerMustHaveAccount` or `SignerMustLoginToSign` property of the account settings is set to **true**, an error is generated on sending.ng. Maximum length: 100 characters. . * @return clientUserId - **/ - @ApiModelProperty(example = "null", value = "Specifies whether the recipient is embedded or remote. If the `clientUserId` property is not null then the recipient is embedded. Note that if the `ClientUserId` property is set and either `SignerMustHaveAccount` or `SignerMustLoginToSign` property of the account settings is set to **true**, an error is generated on sending.ng. Maximum length: 100 characters. ") + **/ + @ApiModelProperty(value = "Specifies whether the recipient is embedded or remote. If the `clientUserId` property is not null then the recipient is embedded. Note that if the `ClientUserId` property is set and either `SignerMustHaveAccount` or `SignerMustLoginToSign` property of the account settings is set to **true**, an error is generated on sending.ng. Maximum length: 100 characters. ") public String getClientUserId() { return clientUserId; } + /** + * setClientUserId. + **/ public void setClientUserId(String clientUserId) { this.clientUserId = clientUserId; } + + /** + * creationReason. + * + * @return InPersonSigner + **/ public InPersonSigner creationReason(String creationReason) { this.creationReason = creationReason; return this; } - /** - * + /** + * . * @return creationReason - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getCreationReason() { return creationReason; } + /** + * setCreationReason. + **/ public void setCreationReason(String creationReason) { this.creationReason = creationReason; } + + /** + * customFields. + * + * @return InPersonSigner + **/ public InPersonSigner customFields(java.util.List customFields) { this.customFields = customFields; return this; } - + + /** + * addCustomFieldsItem. + * + * @return InPersonSigner + **/ public InPersonSigner addCustomFieldsItem(String customFieldsItem) { + if (this.customFields == null) { + this.customFields = new java.util.ArrayList(); + } this.customFields.add(customFieldsItem); return this; } - /** - * An optional array of strings that allows the sender to provide custom data about the recipient. This information is returned in the envelope status but otherwise not used by DocuSign. Each customField string can be a maximum of 100 characters. + /** + * An optional array of strings that allows the sender to provide custom data about the recipient. This information is returned in the envelope status but otherwise not used by DocuSign. Each customField string can be a maximum of 100 characters.. * @return customFields - **/ - @ApiModelProperty(example = "null", value = "An optional array of strings that allows the sender to provide custom data about the recipient. This information is returned in the envelope status but otherwise not used by DocuSign. Each customField string can be a maximum of 100 characters.") + **/ + @ApiModelProperty(value = "An optional array of strings that allows the sender to provide custom data about the recipient. This information is returned in the envelope status but otherwise not used by DocuSign. Each customField string can be a maximum of 100 characters.") public java.util.List getCustomFields() { return customFields; } + /** + * setCustomFields. + **/ public void setCustomFields(java.util.List customFields) { this.customFields = customFields; } + + /** + * declinedDateTime. + * + * @return InPersonSigner + **/ public InPersonSigner declinedDateTime(String declinedDateTime) { this.declinedDateTime = declinedDateTime; return this; } - /** - * The date and time the recipient declined the document. + /** + * The date and time the recipient declined the document.. * @return declinedDateTime - **/ - @ApiModelProperty(example = "null", value = "The date and time the recipient declined the document.") + **/ + @ApiModelProperty(value = "The date and time the recipient declined the document.") public String getDeclinedDateTime() { return declinedDateTime; } + /** + * setDeclinedDateTime. + **/ public void setDeclinedDateTime(String declinedDateTime) { this.declinedDateTime = declinedDateTime; } + + /** + * declinedReason. + * + * @return InPersonSigner + **/ public InPersonSigner declinedReason(String declinedReason) { this.declinedReason = declinedReason; return this; } - /** - * The reason the recipient declined the document. + /** + * The reason the recipient declined the document.. * @return declinedReason - **/ - @ApiModelProperty(example = "null", value = "The reason the recipient declined the document.") + **/ + @ApiModelProperty(value = "The reason the recipient declined the document.") public String getDeclinedReason() { return declinedReason; } + /** + * setDeclinedReason. + **/ public void setDeclinedReason(String declinedReason) { this.declinedReason = declinedReason; } + + /** + * defaultRecipient. + * + * @return InPersonSigner + **/ public InPersonSigner defaultRecipient(String defaultRecipient) { this.defaultRecipient = defaultRecipient; return this; } - /** - * + /** + * . * @return defaultRecipient - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getDefaultRecipient() { return defaultRecipient; } + /** + * setDefaultRecipient. + **/ public void setDefaultRecipient(String defaultRecipient) { this.defaultRecipient = defaultRecipient; } + + /** + * deliveredDateTime. + * + * @return InPersonSigner + **/ public InPersonSigner deliveredDateTime(String deliveredDateTime) { this.deliveredDateTime = deliveredDateTime; return this; } - /** - * Reserved: For DocuSign use only. + /** + * Reserved: For DocuSign use only.. * @return deliveredDateTime - **/ - @ApiModelProperty(example = "null", value = "Reserved: For DocuSign use only.") + **/ + @ApiModelProperty(value = "Reserved: For DocuSign use only.") public String getDeliveredDateTime() { return deliveredDateTime; } + /** + * setDeliveredDateTime. + **/ public void setDeliveredDateTime(String deliveredDateTime) { this.deliveredDateTime = deliveredDateTime; } + + /** + * deliveryMethod. + * + * @return InPersonSigner + **/ public InPersonSigner deliveryMethod(String deliveryMethod) { this.deliveryMethod = deliveryMethod; return this; } - /** - * Reserved: For DocuSign use only. + /** + * Reserved: For DocuSign use only.. * @return deliveryMethod - **/ - @ApiModelProperty(example = "null", value = "Reserved: For DocuSign use only.") + **/ + @ApiModelProperty(value = "Reserved: For DocuSign use only.") public String getDeliveryMethod() { return deliveryMethod; } + /** + * setDeliveryMethod. + **/ public void setDeliveryMethod(String deliveryMethod) { this.deliveryMethod = deliveryMethod; } + + /** + * documentVisibility. + * + * @return InPersonSigner + **/ public InPersonSigner documentVisibility(java.util.List documentVisibility) { this.documentVisibility = documentVisibility; return this; } - + + /** + * addDocumentVisibilityItem. + * + * @return InPersonSigner + **/ public InPersonSigner addDocumentVisibilityItem(DocumentVisibility documentVisibilityItem) { + if (this.documentVisibility == null) { + this.documentVisibility = new java.util.ArrayList(); + } this.documentVisibility.add(documentVisibilityItem); return this; } - /** - * + /** + * . * @return documentVisibility - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getDocumentVisibility() { return documentVisibility; } + /** + * setDocumentVisibility. + **/ public void setDocumentVisibility(java.util.List documentVisibility) { this.documentVisibility = documentVisibility; } + + /** + * email. + * + * @return InPersonSigner + **/ public InPersonSigner email(String email) { this.email = email; return this; } - /** - * + /** + * . * @return email - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getEmail() { return email; } + /** + * setEmail. + **/ public void setEmail(String email) { this.email = email; } + + /** + * emailNotification. + * + * @return InPersonSigner + **/ public InPersonSigner emailNotification(RecipientEmailNotification emailNotification) { this.emailNotification = emailNotification; return this; } - /** - * Get emailNotification + /** + * Get emailNotification. * @return emailNotification - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public RecipientEmailNotification getEmailNotification() { return emailNotification; } + /** + * setEmailNotification. + **/ public void setEmailNotification(RecipientEmailNotification emailNotification) { this.emailNotification = emailNotification; } + + /** + * embeddedRecipientStartURL. + * + * @return InPersonSigner + **/ public InPersonSigner embeddedRecipientStartURL(String embeddedRecipientStartURL) { this.embeddedRecipientStartURL = embeddedRecipientStartURL; return this; } - /** - * Specifies a sender provided valid URL string for redirecting an embedded recipient. When using this option, the embedded recipient still receives an email from DocuSign, just as a remote recipient would. When the document link in the email is clicked the recipient is redirected, through DocuSign, to the supplied URL to complete their actions. When routing to the URL, the sender's system (the server responding to the URL) must request a recipient token to launch a signing session. If set to `SIGN_AT_DOCUSIGN`, the recipient is directed to an embedded signing or viewing process directly at DocuSign. The signing or viewing action is initiated by the DocuSign system and the transaction activity and Certificate of Completion records will reflect this. In all other ways the process is identical to an embedded signing or viewing operation that is launched by any partner. It is important to remember that in a typical embedded workflow the authentication of an embedded recipient is the responsibility of the sending application, DocuSign expects that senders will follow their own process for establishing the recipient's identity. In this workflow the recipient goes through the sending application before the embedded signing or viewing process in initiated. However, when the sending application sets `EmbeddedRecipientStartURL=SIGN_AT_DOCUSIGN`, the recipient goes directly to the embedded signing or viewing process bypassing the sending application and any authentication steps the sending application would use. In this case, DocuSign recommends that you use one of the normal DocuSign authentication features (Access Code, Phone Authentication, SMS Authentication, etc.) to verify the identity of the recipient. If the `clientUserId` property is NOT set, and the `embeddedRecipientStartURL` is set, DocuSign will ignore the redirect URL and launch the standard signing process for the email recipient. Information can be appended to the embedded recipient start URL using merge fields. The available merge fields items are: envelopeId, recipientId, recipientName, recipientEmail, and customFields. The `customFields` property must be set fort the recipient or envelope. The merge fields are enclosed in double brackets. *Example*: `http://senderHost/[[mergeField1]]/ beginSigningSession? [[mergeField2]]&[[mergeField3]]` + /** + * Specifies a sender provided valid URL string for redirecting an embedded recipient. When using this option, the embedded recipient still receives an email from DocuSign, just as a remote recipient would. When the document link in the email is clicked the recipient is redirected, through DocuSign, to the supplied URL to complete their actions. When routing to the URL, the sender's system (the server responding to the URL) must request a recipient token to launch a signing session. If set to `SIGN_AT_DOCUSIGN`, the recipient is directed to an embedded signing or viewing process directly at DocuSign. The signing or viewing action is initiated by the DocuSign system and the transaction activity and Certificate of Completion records will reflect this. In all other ways the process is identical to an embedded signing or viewing operation that is launched by any partner. It is important to remember that in a typical embedded workflow the authentication of an embedded recipient is the responsibility of the sending application, DocuSign expects that senders will follow their own process for establishing the recipient's identity. In this workflow the recipient goes through the sending application before the embedded signing or viewing process in initiated. However, when the sending application sets `EmbeddedRecipientStartURL=SIGN_AT_DOCUSIGN`, the recipient goes directly to the embedded signing or viewing process bypassing the sending application and any authentication steps the sending application would use. In this case, DocuSign recommends that you use one of the normal DocuSign authentication features (Access Code, Phone Authentication, SMS Authentication, etc.) to verify the identity of the recipient. If the `clientUserId` property is NOT set, and the `embeddedRecipientStartURL` is set, DocuSign will ignore the redirect URL and launch the standard signing process for the email recipient. Information can be appended to the embedded recipient start URL using merge fields. The available merge fields items are: envelopeId, recipientId, recipientName, recipientEmail, and customFields. The `customFields` property must be set fort the recipient or envelope. The merge fields are enclosed in double brackets. *Example*: `http://senderHost/[[mergeField1]]/ beginSigningSession? [[mergeField2]]&[[mergeField3]]` . * @return embeddedRecipientStartURL - **/ - @ApiModelProperty(example = "null", value = "Specifies a sender provided valid URL string for redirecting an embedded recipient. When using this option, the embedded recipient still receives an email from DocuSign, just as a remote recipient would. When the document link in the email is clicked the recipient is redirected, through DocuSign, to the supplied URL to complete their actions. When routing to the URL, the sender's system (the server responding to the URL) must request a recipient token to launch a signing session. If set to `SIGN_AT_DOCUSIGN`, the recipient is directed to an embedded signing or viewing process directly at DocuSign. The signing or viewing action is initiated by the DocuSign system and the transaction activity and Certificate of Completion records will reflect this. In all other ways the process is identical to an embedded signing or viewing operation that is launched by any partner. It is important to remember that in a typical embedded workflow the authentication of an embedded recipient is the responsibility of the sending application, DocuSign expects that senders will follow their own process for establishing the recipient's identity. In this workflow the recipient goes through the sending application before the embedded signing or viewing process in initiated. However, when the sending application sets `EmbeddedRecipientStartURL=SIGN_AT_DOCUSIGN`, the recipient goes directly to the embedded signing or viewing process bypassing the sending application and any authentication steps the sending application would use. In this case, DocuSign recommends that you use one of the normal DocuSign authentication features (Access Code, Phone Authentication, SMS Authentication, etc.) to verify the identity of the recipient. If the `clientUserId` property is NOT set, and the `embeddedRecipientStartURL` is set, DocuSign will ignore the redirect URL and launch the standard signing process for the email recipient. Information can be appended to the embedded recipient start URL using merge fields. The available merge fields items are: envelopeId, recipientId, recipientName, recipientEmail, and customFields. The `customFields` property must be set fort the recipient or envelope. The merge fields are enclosed in double brackets. *Example*: `http://senderHost/[[mergeField1]]/ beginSigningSession? [[mergeField2]]&[[mergeField3]]` ") + **/ + @ApiModelProperty(value = "Specifies a sender provided valid URL string for redirecting an embedded recipient. When using this option, the embedded recipient still receives an email from DocuSign, just as a remote recipient would. When the document link in the email is clicked the recipient is redirected, through DocuSign, to the supplied URL to complete their actions. When routing to the URL, the sender's system (the server responding to the URL) must request a recipient token to launch a signing session. If set to `SIGN_AT_DOCUSIGN`, the recipient is directed to an embedded signing or viewing process directly at DocuSign. The signing or viewing action is initiated by the DocuSign system and the transaction activity and Certificate of Completion records will reflect this. In all other ways the process is identical to an embedded signing or viewing operation that is launched by any partner. It is important to remember that in a typical embedded workflow the authentication of an embedded recipient is the responsibility of the sending application, DocuSign expects that senders will follow their own process for establishing the recipient's identity. In this workflow the recipient goes through the sending application before the embedded signing or viewing process in initiated. However, when the sending application sets `EmbeddedRecipientStartURL=SIGN_AT_DOCUSIGN`, the recipient goes directly to the embedded signing or viewing process bypassing the sending application and any authentication steps the sending application would use. In this case, DocuSign recommends that you use one of the normal DocuSign authentication features (Access Code, Phone Authentication, SMS Authentication, etc.) to verify the identity of the recipient. If the `clientUserId` property is NOT set, and the `embeddedRecipientStartURL` is set, DocuSign will ignore the redirect URL and launch the standard signing process for the email recipient. Information can be appended to the embedded recipient start URL using merge fields. The available merge fields items are: envelopeId, recipientId, recipientName, recipientEmail, and customFields. The `customFields` property must be set fort the recipient or envelope. The merge fields are enclosed in double brackets. *Example*: `http://senderHost/[[mergeField1]]/ beginSigningSession? [[mergeField2]]&[[mergeField3]]` ") public String getEmbeddedRecipientStartURL() { return embeddedRecipientStartURL; } + /** + * setEmbeddedRecipientStartURL. + **/ public void setEmbeddedRecipientStartURL(String embeddedRecipientStartURL) { this.embeddedRecipientStartURL = embeddedRecipientStartURL; } + + /** + * errorDetails. + * + * @return InPersonSigner + **/ public InPersonSigner errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * excludedDocuments. + * + * @return InPersonSigner + **/ public InPersonSigner excludedDocuments(java.util.List excludedDocuments) { this.excludedDocuments = excludedDocuments; return this; } - + + /** + * addExcludedDocumentsItem. + * + * @return InPersonSigner + **/ public InPersonSigner addExcludedDocumentsItem(String excludedDocumentsItem) { + if (this.excludedDocuments == null) { + this.excludedDocuments = new java.util.ArrayList(); + } this.excludedDocuments.add(excludedDocumentsItem); return this; } - /** - * Specifies the documents that are not visible to this recipient. Document Visibility must be enabled for the account and the `enforceSignerVisibility` property must be set to **true** for the envelope to use this. When enforce signer visibility is enabled, documents with tabs can only be viewed by signers that have a tab on that document. Recipients that have an administrative role (Agent, Editor, or Intermediaries) or informational role (Certified Deliveries or Carbon Copies) can always see all the documents in an envelope, unless they are specifically excluded using this setting when an envelope is sent. Documents that do not have tabs are always visible to all recipients, unless they are specifically excluded using this setting when an envelope is sent. + /** + * Specifies the documents that are not visible to this recipient. Document Visibility must be enabled for the account and the `enforceSignerVisibility` property must be set to **true** for the envelope to use this. When enforce signer visibility is enabled, documents with tabs can only be viewed by signers that have a tab on that document. Recipients that have an administrative role (Agent, Editor, or Intermediaries) or informational role (Certified Deliveries or Carbon Copies) can always see all the documents in an envelope, unless they are specifically excluded using this setting when an envelope is sent. Documents that do not have tabs are always visible to all recipients, unless they are specifically excluded using this setting when an envelope is sent.. * @return excludedDocuments - **/ - @ApiModelProperty(example = "null", value = "Specifies the documents that are not visible to this recipient. Document Visibility must be enabled for the account and the `enforceSignerVisibility` property must be set to **true** for the envelope to use this. When enforce signer visibility is enabled, documents with tabs can only be viewed by signers that have a tab on that document. Recipients that have an administrative role (Agent, Editor, or Intermediaries) or informational role (Certified Deliveries or Carbon Copies) can always see all the documents in an envelope, unless they are specifically excluded using this setting when an envelope is sent. Documents that do not have tabs are always visible to all recipients, unless they are specifically excluded using this setting when an envelope is sent.") + **/ + @ApiModelProperty(value = "Specifies the documents that are not visible to this recipient. Document Visibility must be enabled for the account and the `enforceSignerVisibility` property must be set to **true** for the envelope to use this. When enforce signer visibility is enabled, documents with tabs can only be viewed by signers that have a tab on that document. Recipients that have an administrative role (Agent, Editor, or Intermediaries) or informational role (Certified Deliveries or Carbon Copies) can always see all the documents in an envelope, unless they are specifically excluded using this setting when an envelope is sent. Documents that do not have tabs are always visible to all recipients, unless they are specifically excluded using this setting when an envelope is sent.") public java.util.List getExcludedDocuments() { return excludedDocuments; } + /** + * setExcludedDocuments. + **/ public void setExcludedDocuments(java.util.List excludedDocuments) { this.excludedDocuments = excludedDocuments; } + + /** + * faxNumber. + * + * @return InPersonSigner + **/ public InPersonSigner faxNumber(String faxNumber) { this.faxNumber = faxNumber; return this; } - /** - * Reserved: + /** + * Reserved:. * @return faxNumber - **/ - @ApiModelProperty(example = "null", value = "Reserved:") + **/ + @ApiModelProperty(value = "Reserved:") public String getFaxNumber() { return faxNumber; } + /** + * setFaxNumber. + **/ public void setFaxNumber(String faxNumber) { this.faxNumber = faxNumber; } + + /** + * hostEmail. + * + * @return InPersonSigner + **/ public InPersonSigner hostEmail(String hostEmail) { this.hostEmail = hostEmail; return this; } - /** - * + /** + * . * @return hostEmail - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getHostEmail() { return hostEmail; } + /** + * setHostEmail. + **/ public void setHostEmail(String hostEmail) { this.hostEmail = hostEmail; } + + /** + * hostName. + * + * @return InPersonSigner + **/ public InPersonSigner hostName(String hostName) { this.hostName = hostName; return this; } - /** - * Specifies the name of the signing host. It is a required element for In Person Signers recipient Type. Maximum Length: 100 characters. + /** + * Specifies the name of the signing host. It is a required element for In Person Signers recipient Type. Maximum Length: 100 characters.. * @return hostName - **/ - @ApiModelProperty(example = "null", value = "Specifies the name of the signing host. It is a required element for In Person Signers recipient Type. Maximum Length: 100 characters.") + **/ + @ApiModelProperty(value = "Specifies the name of the signing host. It is a required element for In Person Signers recipient Type. Maximum Length: 100 characters.") public String getHostName() { return hostName; } + /** + * setHostName. + **/ public void setHostName(String hostName) { this.hostName = hostName; } + + /** + * idCheckConfigurationName. + * + * @return InPersonSigner + **/ public InPersonSigner idCheckConfigurationName(String idCheckConfigurationName) { this.idCheckConfigurationName = idCheckConfigurationName; return this; } - /** - * Specifies authentication check by name. The names used here must be the same as the authentication type names used by the account (these name can also be found in the web console sending interface in the Identify list for a recipient,) This overrides any default authentication setting. *Example*: Your account has ID Check and SMS Authentication available and in the web console Identify list these appear as 'ID Check $' and 'SMS Auth $'. To use ID check in an envelope, the idCheckConfigurationName should be 'ID Check '. If you wanted to use SMS, it would be 'SMS Auth $' and you would need to add you would need to add phone number information to the `smsAuthentication` node. + /** + * Specifies authentication check by name. The names used here must be the same as the authentication type names used by the account (these name can also be found in the web console sending interface in the Identify list for a recipient,) This overrides any default authentication setting. *Example*: Your account has ID Check and SMS Authentication available and in the web console Identify list these appear as 'ID Check $' and 'SMS Auth $'. To use ID check in an envelope, the idCheckConfigurationName should be 'ID Check '. If you wanted to use SMS, it would be 'SMS Auth $' and you would need to add you would need to add phone number information to the `smsAuthentication` node.. * @return idCheckConfigurationName - **/ - @ApiModelProperty(example = "null", value = "Specifies authentication check by name. The names used here must be the same as the authentication type names used by the account (these name can also be found in the web console sending interface in the Identify list for a recipient,) This overrides any default authentication setting. *Example*: Your account has ID Check and SMS Authentication available and in the web console Identify list these appear as 'ID Check $' and 'SMS Auth $'. To use ID check in an envelope, the idCheckConfigurationName should be 'ID Check '. If you wanted to use SMS, it would be 'SMS Auth $' and you would need to add you would need to add phone number information to the `smsAuthentication` node.") + **/ + @ApiModelProperty(value = "Specifies authentication check by name. The names used here must be the same as the authentication type names used by the account (these name can also be found in the web console sending interface in the Identify list for a recipient,) This overrides any default authentication setting. *Example*: Your account has ID Check and SMS Authentication available and in the web console Identify list these appear as 'ID Check $' and 'SMS Auth $'. To use ID check in an envelope, the idCheckConfigurationName should be 'ID Check '. If you wanted to use SMS, it would be 'SMS Auth $' and you would need to add you would need to add phone number information to the `smsAuthentication` node.") public String getIdCheckConfigurationName() { return idCheckConfigurationName; } + /** + * setIdCheckConfigurationName. + **/ public void setIdCheckConfigurationName(String idCheckConfigurationName) { this.idCheckConfigurationName = idCheckConfigurationName; } + + /** + * idCheckInformationInput. + * + * @return InPersonSigner + **/ public InPersonSigner idCheckInformationInput(IdCheckInformationInput idCheckInformationInput) { this.idCheckInformationInput = idCheckInformationInput; return this; } - /** - * Get idCheckInformationInput + /** + * Get idCheckInformationInput. * @return idCheckInformationInput - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public IdCheckInformationInput getIdCheckInformationInput() { return idCheckInformationInput; } + /** + * setIdCheckInformationInput. + **/ public void setIdCheckInformationInput(IdCheckInformationInput idCheckInformationInput) { this.idCheckInformationInput = idCheckInformationInput; } + + /** + * identityVerification. + * + * @return InPersonSigner + **/ + public InPersonSigner identityVerification(RecipientIdentityVerification identityVerification) { + this.identityVerification = identityVerification; + return this; + } + + /** + * Get identityVerification. + * @return identityVerification + **/ + @ApiModelProperty(value = "") + public RecipientIdentityVerification getIdentityVerification() { + return identityVerification; + } + + /** + * setIdentityVerification. + **/ + public void setIdentityVerification(RecipientIdentityVerification identityVerification) { + this.identityVerification = identityVerification; + } + + + /** + * inheritEmailNotificationConfiguration. + * + * @return InPersonSigner + **/ public InPersonSigner inheritEmailNotificationConfiguration(String inheritEmailNotificationConfiguration) { this.inheritEmailNotificationConfiguration = inheritEmailNotificationConfiguration; return this; } - /** - * When set to **true** and the envelope recipient creates a DocuSign account after signing, the Manage Account Email Notification settings are used as the default settings for the recipient's account. + /** + * When set to **true** and the envelope recipient creates a DocuSign account after signing, the Manage Account Email Notification settings are used as the default settings for the recipient's account. . * @return inheritEmailNotificationConfiguration - **/ - @ApiModelProperty(example = "null", value = "When set to **true** and the envelope recipient creates a DocuSign account after signing, the Manage Account Email Notification settings are used as the default settings for the recipient's account. ") + **/ + @ApiModelProperty(value = "When set to **true** and the envelope recipient creates a DocuSign account after signing, the Manage Account Email Notification settings are used as the default settings for the recipient's account. ") public String getInheritEmailNotificationConfiguration() { return inheritEmailNotificationConfiguration; } + /** + * setInheritEmailNotificationConfiguration. + **/ public void setInheritEmailNotificationConfiguration(String inheritEmailNotificationConfiguration) { this.inheritEmailNotificationConfiguration = inheritEmailNotificationConfiguration; } + + /** + * inPersonSigningType. + * + * @return InPersonSigner + **/ public InPersonSigner inPersonSigningType(String inPersonSigningType) { this.inPersonSigningType = inPersonSigningType; return this; } - /** - * + /** + * . * @return inPersonSigningType - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getInPersonSigningType() { return inPersonSigningType; } + /** + * setInPersonSigningType. + **/ public void setInPersonSigningType(String inPersonSigningType) { this.inPersonSigningType = inPersonSigningType; } + + /** + * name. + * + * @return InPersonSigner + **/ public InPersonSigner name(String name) { this.name = name; return this; } - /** - * + /** + * . * @return name - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * notaryHost. + * + * @return InPersonSigner + **/ public InPersonSigner notaryHost(NotaryHost notaryHost) { this.notaryHost = notaryHost; return this; } - /** - * Get notaryHost + /** + * Get notaryHost. * @return notaryHost - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public NotaryHost getNotaryHost() { return notaryHost; } + /** + * setNotaryHost. + **/ public void setNotaryHost(NotaryHost notaryHost) { this.notaryHost = notaryHost; } + + /** + * note. + * + * @return InPersonSigner + **/ public InPersonSigner note(String note) { this.note = note; return this; } - /** - * Specifies a note that is unique to this recipient. This note is sent to the recipient via the signing email. The note displays in the signing UI near the upper left corner of the document on the signing screen. Maximum Length: 1000 characters. + /** + * Specifies a note that is unique to this recipient. This note is sent to the recipient via the signing email. The note displays in the signing UI near the upper left corner of the document on the signing screen. Maximum Length: 1000 characters.. * @return note - **/ - @ApiModelProperty(example = "null", value = "Specifies a note that is unique to this recipient. This note is sent to the recipient via the signing email. The note displays in the signing UI near the upper left corner of the document on the signing screen. Maximum Length: 1000 characters.") + **/ + @ApiModelProperty(value = "Specifies a note that is unique to this recipient. This note is sent to the recipient via the signing email. The note displays in the signing UI near the upper left corner of the document on the signing screen. Maximum Length: 1000 characters.") public String getNote() { return note; } + /** + * setNote. + **/ public void setNote(String note) { this.note = note; } + + /** + * offlineAttributes. + * + * @return InPersonSigner + **/ public InPersonSigner offlineAttributes(OfflineAttributes offlineAttributes) { this.offlineAttributes = offlineAttributes; return this; } - /** - * Get offlineAttributes + /** + * Get offlineAttributes. * @return offlineAttributes - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public OfflineAttributes getOfflineAttributes() { return offlineAttributes; } + /** + * setOfflineAttributes. + **/ public void setOfflineAttributes(OfflineAttributes offlineAttributes) { this.offlineAttributes = offlineAttributes; } + + /** + * phoneAuthentication. + * + * @return InPersonSigner + **/ public InPersonSigner phoneAuthentication(RecipientPhoneAuthentication phoneAuthentication) { this.phoneAuthentication = phoneAuthentication; return this; } - /** - * Get phoneAuthentication + /** + * Get phoneAuthentication. * @return phoneAuthentication - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public RecipientPhoneAuthentication getPhoneAuthentication() { return phoneAuthentication; } + /** + * setPhoneAuthentication. + **/ public void setPhoneAuthentication(RecipientPhoneAuthentication phoneAuthentication) { this.phoneAuthentication = phoneAuthentication; } + + /** + * recipientAttachments. + * + * @return InPersonSigner + **/ public InPersonSigner recipientAttachments(java.util.List recipientAttachments) { this.recipientAttachments = recipientAttachments; return this; } - + + /** + * addRecipientAttachmentsItem. + * + * @return InPersonSigner + **/ public InPersonSigner addRecipientAttachmentsItem(RecipientAttachment recipientAttachmentsItem) { + if (this.recipientAttachments == null) { + this.recipientAttachments = new java.util.ArrayList(); + } this.recipientAttachments.add(recipientAttachmentsItem); return this; } - /** - * Reserved: + /** + * Reserved:. * @return recipientAttachments - **/ - @ApiModelProperty(example = "null", value = "Reserved:") + **/ + @ApiModelProperty(value = "Reserved:") public java.util.List getRecipientAttachments() { return recipientAttachments; } + /** + * setRecipientAttachments. + **/ public void setRecipientAttachments(java.util.List recipientAttachments) { this.recipientAttachments = recipientAttachments; } + + /** + * recipientAuthenticationStatus. + * + * @return InPersonSigner + **/ public InPersonSigner recipientAuthenticationStatus(AuthenticationStatus recipientAuthenticationStatus) { this.recipientAuthenticationStatus = recipientAuthenticationStatus; return this; } - /** - * Get recipientAuthenticationStatus + /** + * Get recipientAuthenticationStatus. * @return recipientAuthenticationStatus - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public AuthenticationStatus getRecipientAuthenticationStatus() { return recipientAuthenticationStatus; } + /** + * setRecipientAuthenticationStatus. + **/ public void setRecipientAuthenticationStatus(AuthenticationStatus recipientAuthenticationStatus) { this.recipientAuthenticationStatus = recipientAuthenticationStatus; } + + /** + * recipientId. + * + * @return InPersonSigner + **/ public InPersonSigner recipientId(String recipientId) { this.recipientId = recipientId; return this; } - /** - * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document. + /** + * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.. * @return recipientId - **/ - @ApiModelProperty(example = "null", value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") + **/ + @ApiModelProperty(value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") public String getRecipientId() { return recipientId; } + /** + * setRecipientId. + **/ public void setRecipientId(String recipientId) { this.recipientId = recipientId; } + + /** + * recipientIdGuid. + * + * @return InPersonSigner + **/ public InPersonSigner recipientIdGuid(String recipientIdGuid) { this.recipientIdGuid = recipientIdGuid; return this; } - /** - * + /** + * . * @return recipientIdGuid - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getRecipientIdGuid() { return recipientIdGuid; } + /** + * setRecipientIdGuid. + **/ public void setRecipientIdGuid(String recipientIdGuid) { this.recipientIdGuid = recipientIdGuid; } + + /** + * recipientSignatureProviders. + * + * @return InPersonSigner + **/ public InPersonSigner recipientSignatureProviders(java.util.List recipientSignatureProviders) { this.recipientSignatureProviders = recipientSignatureProviders; return this; } - + + /** + * addRecipientSignatureProvidersItem. + * + * @return InPersonSigner + **/ public InPersonSigner addRecipientSignatureProvidersItem(RecipientSignatureProvider recipientSignatureProvidersItem) { + if (this.recipientSignatureProviders == null) { + this.recipientSignatureProviders = new java.util.ArrayList(); + } this.recipientSignatureProviders.add(recipientSignatureProvidersItem); return this; } - /** - * + /** + * . * @return recipientSignatureProviders - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getRecipientSignatureProviders() { return recipientSignatureProviders; } + /** + * setRecipientSignatureProviders. + **/ public void setRecipientSignatureProviders(java.util.List recipientSignatureProviders) { this.recipientSignatureProviders = recipientSignatureProviders; } + + /** + * recipientSuppliesTabs. + * + * @return InPersonSigner + **/ public InPersonSigner recipientSuppliesTabs(String recipientSuppliesTabs) { this.recipientSuppliesTabs = recipientSuppliesTabs; return this; } - /** - * + /** + * . * @return recipientSuppliesTabs - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getRecipientSuppliesTabs() { return recipientSuppliesTabs; } + /** + * setRecipientSuppliesTabs. + **/ public void setRecipientSuppliesTabs(String recipientSuppliesTabs) { this.recipientSuppliesTabs = recipientSuppliesTabs; } + + /** + * requireIdLookup. + * + * @return InPersonSigner + **/ public InPersonSigner requireIdLookup(String requireIdLookup) { this.requireIdLookup = requireIdLookup; return this; } - /** - * When set to **true**, the recipient is required to use the specified ID check method (including Phone and SMS authentication) to validate their identity. + /** + * When set to **true**, the recipient is required to use the specified ID check method (including Phone and SMS authentication) to validate their identity. . * @return requireIdLookup - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the recipient is required to use the specified ID check method (including Phone and SMS authentication) to validate their identity. ") + **/ + @ApiModelProperty(value = "When set to **true**, the recipient is required to use the specified ID check method (including Phone and SMS authentication) to validate their identity. ") public String getRequireIdLookup() { return requireIdLookup; } + /** + * setRequireIdLookup. + **/ public void setRequireIdLookup(String requireIdLookup) { this.requireIdLookup = requireIdLookup; } + + /** + * requireSignerCertificate. + * + * @return InPersonSigner + **/ public InPersonSigner requireSignerCertificate(String requireSignerCertificate) { this.requireSignerCertificate = requireSignerCertificate; return this; } - /** - * + /** + * . * @return requireSignerCertificate - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getRequireSignerCertificate() { return requireSignerCertificate; } + /** + * setRequireSignerCertificate. + **/ public void setRequireSignerCertificate(String requireSignerCertificate) { this.requireSignerCertificate = requireSignerCertificate; } + + /** + * requireSignOnPaper. + * + * @return InPersonSigner + **/ public InPersonSigner requireSignOnPaper(String requireSignOnPaper) { this.requireSignOnPaper = requireSignOnPaper; return this; } - /** - * + /** + * . * @return requireSignOnPaper - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getRequireSignOnPaper() { return requireSignOnPaper; } + /** + * setRequireSignOnPaper. + **/ public void setRequireSignOnPaper(String requireSignOnPaper) { this.requireSignOnPaper = requireSignOnPaper; } + + /** + * roleName. + * + * @return InPersonSigner + **/ public InPersonSigner roleName(String roleName) { this.roleName = roleName; return this; } - /** - * Optional element. Specifies the role name associated with the recipient.

This is required when working with template recipients. + /** + * Optional element. Specifies the role name associated with the recipient.

This is required when working with template recipients.. * @return roleName - **/ - @ApiModelProperty(example = "null", value = "Optional element. Specifies the role name associated with the recipient.

This is required when working with template recipients.") + **/ + @ApiModelProperty(value = "Optional element. Specifies the role name associated with the recipient.

This is required when working with template recipients.") public String getRoleName() { return roleName; } + /** + * setRoleName. + **/ public void setRoleName(String roleName) { this.roleName = roleName; } + + /** + * routingOrder. + * + * @return InPersonSigner + **/ public InPersonSigner routingOrder(String routingOrder) { this.routingOrder = routingOrder; return this; } - /** - * Specifies the routing order of the recipient in the envelope. + /** + * Specifies the routing order of the recipient in the envelope. . * @return routingOrder - **/ - @ApiModelProperty(example = "null", value = "Specifies the routing order of the recipient in the envelope. ") + **/ + @ApiModelProperty(value = "Specifies the routing order of the recipient in the envelope. ") public String getRoutingOrder() { return routingOrder; } + /** + * setRoutingOrder. + **/ public void setRoutingOrder(String routingOrder) { this.routingOrder = routingOrder; } + + /** + * samlAuthentication. + * + * @return InPersonSigner + **/ public InPersonSigner samlAuthentication(RecipientSAMLAuthentication samlAuthentication) { this.samlAuthentication = samlAuthentication; return this; } - /** - * Get samlAuthentication + /** + * Get samlAuthentication. * @return samlAuthentication - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public RecipientSAMLAuthentication getSamlAuthentication() { return samlAuthentication; } + /** + * setSamlAuthentication. + **/ public void setSamlAuthentication(RecipientSAMLAuthentication samlAuthentication) { this.samlAuthentication = samlAuthentication; } + + /** + * sentDateTime. + * + * @return InPersonSigner + **/ public InPersonSigner sentDateTime(String sentDateTime) { this.sentDateTime = sentDateTime; return this; } - /** - * The date and time the envelope was sent. + /** + * The date and time the envelope was sent.. * @return sentDateTime - **/ - @ApiModelProperty(example = "null", value = "The date and time the envelope was sent.") + **/ + @ApiModelProperty(value = "The date and time the envelope was sent.") public String getSentDateTime() { return sentDateTime; } + /** + * setSentDateTime. + **/ public void setSentDateTime(String sentDateTime) { this.sentDateTime = sentDateTime; } + + /** + * signatureInfo. + * + * @return InPersonSigner + **/ public InPersonSigner signatureInfo(RecipientSignatureInformation signatureInfo) { this.signatureInfo = signatureInfo; return this; } - /** - * Get signatureInfo + /** + * Get signatureInfo. * @return signatureInfo - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public RecipientSignatureInformation getSignatureInfo() { return signatureInfo; } + /** + * setSignatureInfo. + **/ public void setSignatureInfo(RecipientSignatureInformation signatureInfo) { this.signatureInfo = signatureInfo; } + + /** + * signedDateTime. + * + * @return InPersonSigner + **/ public InPersonSigner signedDateTime(String signedDateTime) { this.signedDateTime = signedDateTime; return this; } - /** - * Reserved: For DocuSign use only. + /** + * Reserved: For DocuSign use only. . * @return signedDateTime - **/ - @ApiModelProperty(example = "null", value = "Reserved: For DocuSign use only. ") + **/ + @ApiModelProperty(value = "Reserved: For DocuSign use only. ") public String getSignedDateTime() { return signedDateTime; } + /** + * setSignedDateTime. + **/ public void setSignedDateTime(String signedDateTime) { this.signedDateTime = signedDateTime; } + + /** + * signerEmail. + * + * @return InPersonSigner + **/ public InPersonSigner signerEmail(String signerEmail) { this.signerEmail = signerEmail; return this; } - /** - * The email address for an InPersonSigner recipient Type. Maximum Length: 100 characters. + /** + * The email address for an InPersonSigner recipient Type. Maximum Length: 100 characters. . * @return signerEmail - **/ - @ApiModelProperty(example = "null", value = "The email address for an InPersonSigner recipient Type. Maximum Length: 100 characters. ") + **/ + @ApiModelProperty(value = "The email address for an InPersonSigner recipient Type. Maximum Length: 100 characters. ") public String getSignerEmail() { return signerEmail; } + /** + * setSignerEmail. + **/ public void setSignerEmail(String signerEmail) { this.signerEmail = signerEmail; } + + /** + * signerName. + * + * @return InPersonSigner + **/ public InPersonSigner signerName(String signerName) { this.signerName = signerName; return this; } - /** - * Required. The full legal name of a signer for the envelope. Maximum Length: 100 characters. + /** + * Required. The full legal name of a signer for the envelope. Maximum Length: 100 characters. . * @return signerName - **/ - @ApiModelProperty(example = "null", value = "Required. The full legal name of a signer for the envelope. Maximum Length: 100 characters. ") + **/ + @ApiModelProperty(value = "Required. The full legal name of a signer for the envelope. Maximum Length: 100 characters. ") public String getSignerName() { return signerName; } + /** + * setSignerName. + **/ public void setSignerName(String signerName) { this.signerName = signerName; } + + /** + * signInEachLocation. + * + * @return InPersonSigner + **/ public InPersonSigner signInEachLocation(String signInEachLocation) { this.signInEachLocation = signInEachLocation; return this; } - /** - * When set to **true**, specifies that the signer must sign in all locations. + /** + * When set to **true**, specifies that the signer must sign in all locations.. * @return signInEachLocation - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, specifies that the signer must sign in all locations.") + **/ + @ApiModelProperty(value = "When set to **true**, specifies that the signer must sign in all locations.") public String getSignInEachLocation() { return signInEachLocation; } + /** + * setSignInEachLocation. + **/ public void setSignInEachLocation(String signInEachLocation) { this.signInEachLocation = signInEachLocation; } + + /** + * signingGroupId. + * + * @return InPersonSigner + **/ public InPersonSigner signingGroupId(String signingGroupId) { this.signingGroupId = signingGroupId; return this; } - /** - * When set to **true** and the feature is enabled in the sender's account, the signing recipient is required to draw signatures and initials at each signature/initial tab ( instead of adopting a signature/initial style or only drawing a signature/initial once). + /** + * When set to **true** and the feature is enabled in the sender's account, the signing recipient is required to draw signatures and initials at each signature/initial tab ( instead of adopting a signature/initial style or only drawing a signature/initial once).. * @return signingGroupId - **/ - @ApiModelProperty(example = "null", value = "When set to **true** and the feature is enabled in the sender's account, the signing recipient is required to draw signatures and initials at each signature/initial tab ( instead of adopting a signature/initial style or only drawing a signature/initial once).") + **/ + @ApiModelProperty(value = "When set to **true** and the feature is enabled in the sender's account, the signing recipient is required to draw signatures and initials at each signature/initial tab ( instead of adopting a signature/initial style or only drawing a signature/initial once).") public String getSigningGroupId() { return signingGroupId; } + /** + * setSigningGroupId. + **/ public void setSigningGroupId(String signingGroupId) { this.signingGroupId = signingGroupId; } + + /** + * signingGroupName. + * + * @return InPersonSigner + **/ public InPersonSigner signingGroupName(String signingGroupName) { this.signingGroupName = signingGroupName; return this; } - /** - * The display name for the signing group. Maximum Length: 100 characters. + /** + * The display name for the signing group. Maximum Length: 100 characters. . * @return signingGroupName - **/ - @ApiModelProperty(example = "null", value = "The display name for the signing group. Maximum Length: 100 characters. ") + **/ + @ApiModelProperty(value = "The display name for the signing group. Maximum Length: 100 characters. ") public String getSigningGroupName() { return signingGroupName; } + /** + * setSigningGroupName. + **/ public void setSigningGroupName(String signingGroupName) { this.signingGroupName = signingGroupName; } + + /** + * signingGroupUsers. + * + * @return InPersonSigner + **/ public InPersonSigner signingGroupUsers(java.util.List signingGroupUsers) { this.signingGroupUsers = signingGroupUsers; return this; } - + + /** + * addSigningGroupUsersItem. + * + * @return InPersonSigner + **/ public InPersonSigner addSigningGroupUsersItem(UserInfo signingGroupUsersItem) { + if (this.signingGroupUsers == null) { + this.signingGroupUsers = new java.util.ArrayList(); + } this.signingGroupUsers.add(signingGroupUsersItem); return this; } - /** - * A complex type that contains information about users in the signing group. + /** + * A complex type that contains information about users in the signing group.. * @return signingGroupUsers - **/ - @ApiModelProperty(example = "null", value = "A complex type that contains information about users in the signing group.") + **/ + @ApiModelProperty(value = "A complex type that contains information about users in the signing group.") public java.util.List getSigningGroupUsers() { return signingGroupUsers; } + /** + * setSigningGroupUsers. + **/ public void setSigningGroupUsers(java.util.List signingGroupUsers) { this.signingGroupUsers = signingGroupUsers; } + + /** + * smsAuthentication. + * + * @return InPersonSigner + **/ public InPersonSigner smsAuthentication(RecipientSMSAuthentication smsAuthentication) { this.smsAuthentication = smsAuthentication; return this; } - /** - * Get smsAuthentication + /** + * Get smsAuthentication. * @return smsAuthentication - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public RecipientSMSAuthentication getSmsAuthentication() { return smsAuthentication; } + /** + * setSmsAuthentication. + **/ public void setSmsAuthentication(RecipientSMSAuthentication smsAuthentication) { this.smsAuthentication = smsAuthentication; } + + /** + * socialAuthentications. + * + * @return InPersonSigner + **/ public InPersonSigner socialAuthentications(java.util.List socialAuthentications) { this.socialAuthentications = socialAuthentications; return this; } - + + /** + * addSocialAuthenticationsItem. + * + * @return InPersonSigner + **/ public InPersonSigner addSocialAuthenticationsItem(SocialAuthentication socialAuthenticationsItem) { + if (this.socialAuthentications == null) { + this.socialAuthentications = new java.util.ArrayList(); + } this.socialAuthentications.add(socialAuthenticationsItem); return this; } - /** - * Lists the social ID type that can be used for recipient authentication. + /** + * Lists the social ID type that can be used for recipient authentication.. * @return socialAuthentications - **/ - @ApiModelProperty(example = "null", value = " Lists the social ID type that can be used for recipient authentication.") + **/ + @ApiModelProperty(value = " Lists the social ID type that can be used for recipient authentication.") public java.util.List getSocialAuthentications() { return socialAuthentications; } + /** + * setSocialAuthentications. + **/ public void setSocialAuthentications(java.util.List socialAuthentications) { this.socialAuthentications = socialAuthentications; } + + /** + * status. + * + * @return InPersonSigner + **/ public InPersonSigner status(String status) { this.status = status; return this; } - /** - * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. + /** + * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.. * @return status - **/ - @ApiModelProperty(example = "null", value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") + **/ + @ApiModelProperty(value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") public String getStatus() { return status; } + /** + * setStatus. + **/ public void setStatus(String status) { this.status = status; } + + /** + * tabs. + * + * @return InPersonSigner + **/ public InPersonSigner tabs(Tabs tabs) { this.tabs = tabs; return this; } - /** - * Get tabs + /** + * Get tabs. * @return tabs - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public Tabs getTabs() { return tabs; } + /** + * setTabs. + **/ public void setTabs(Tabs tabs) { this.tabs = tabs; } + + /** + * templateLocked. + * + * @return InPersonSigner + **/ public InPersonSigner templateLocked(String templateLocked) { this.templateLocked = templateLocked; return this; } - /** - * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. . * @return templateLocked - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") + **/ + @ApiModelProperty(value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") public String getTemplateLocked() { return templateLocked; } + /** + * setTemplateLocked. + **/ public void setTemplateLocked(String templateLocked) { this.templateLocked = templateLocked; } + + /** + * templateRequired. + * + * @return InPersonSigner + **/ public InPersonSigner templateRequired(String templateRequired) { this.templateRequired = templateRequired; return this; } - /** - * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.. * @return templateRequired - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") + **/ + @ApiModelProperty(value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") public String getTemplateRequired() { return templateRequired; } + /** + * setTemplateRequired. + **/ public void setTemplateRequired(String templateRequired) { this.templateRequired = templateRequired; } + + /** + * totalTabCount. + * + * @return InPersonSigner + **/ public InPersonSigner totalTabCount(String totalTabCount) { this.totalTabCount = totalTabCount; return this; } - /** - * + /** + * . * @return totalTabCount - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTotalTabCount() { return totalTabCount; } + /** + * setTotalTabCount. + **/ public void setTotalTabCount(String totalTabCount) { this.totalTabCount = totalTabCount; } + + /** + * userId. + * + * @return InPersonSigner + **/ public InPersonSigner userId(String userId) { this.userId = userId; return this; } - /** - * + /** + * . * @return userId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getUserId() { return userId; } + /** + * setUserId. + **/ public void setUserId(String userId) { this.userId = userId; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -1334,6 +1960,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.hostName, inPersonSigner.hostName) && Objects.equals(this.idCheckConfigurationName, inPersonSigner.idCheckConfigurationName) && Objects.equals(this.idCheckInformationInput, inPersonSigner.idCheckInformationInput) && + Objects.equals(this.identityVerification, inPersonSigner.identityVerification) && Objects.equals(this.inheritEmailNotificationConfiguration, inPersonSigner.inheritEmailNotificationConfiguration) && Objects.equals(this.inPersonSigningType, inPersonSigner.inPersonSigningType) && Objects.equals(this.name, inPersonSigner.name) && @@ -1372,12 +1999,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.userId, inPersonSigner.userId); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { - return Objects.hash(accessCode, addAccessCodeToEmail, autoNavigation, canSignOffline, clientUserId, creationReason, customFields, declinedDateTime, declinedReason, defaultRecipient, deliveredDateTime, deliveryMethod, documentVisibility, email, emailNotification, embeddedRecipientStartURL, errorDetails, excludedDocuments, faxNumber, hostEmail, hostName, idCheckConfigurationName, idCheckInformationInput, inheritEmailNotificationConfiguration, inPersonSigningType, name, notaryHost, note, offlineAttributes, phoneAuthentication, recipientAttachments, recipientAuthenticationStatus, recipientId, recipientIdGuid, recipientSignatureProviders, recipientSuppliesTabs, requireIdLookup, requireSignerCertificate, requireSignOnPaper, roleName, routingOrder, samlAuthentication, sentDateTime, signatureInfo, signedDateTime, signerEmail, signerName, signInEachLocation, signingGroupId, signingGroupName, signingGroupUsers, smsAuthentication, socialAuthentications, status, tabs, templateLocked, templateRequired, totalTabCount, userId); + return Objects.hash(accessCode, addAccessCodeToEmail, autoNavigation, canSignOffline, clientUserId, creationReason, customFields, declinedDateTime, declinedReason, defaultRecipient, deliveredDateTime, deliveryMethod, documentVisibility, email, emailNotification, embeddedRecipientStartURL, errorDetails, excludedDocuments, faxNumber, hostEmail, hostName, idCheckConfigurationName, idCheckInformationInput, identityVerification, inheritEmailNotificationConfiguration, inPersonSigningType, name, notaryHost, note, offlineAttributes, phoneAuthentication, recipientAttachments, recipientAuthenticationStatus, recipientId, recipientIdGuid, recipientSignatureProviders, recipientSuppliesTabs, requireIdLookup, requireSignerCertificate, requireSignOnPaper, roleName, routingOrder, samlAuthentication, sentDateTime, signatureInfo, signedDateTime, signerEmail, signerName, signInEachLocation, signingGroupId, signingGroupName, signingGroupUsers, smsAuthentication, socialAuthentications, status, tabs, templateLocked, templateRequired, totalTabCount, userId); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -1406,6 +2039,7 @@ public String toString() { sb.append(" hostName: ").append(toIndentedString(hostName)).append("\n"); sb.append(" idCheckConfigurationName: ").append(toIndentedString(idCheckConfigurationName)).append("\n"); sb.append(" idCheckInformationInput: ").append(toIndentedString(idCheckInformationInput)).append("\n"); + sb.append(" identityVerification: ").append(toIndentedString(identityVerification)).append("\n"); sb.append(" inheritEmailNotificationConfiguration: ").append(toIndentedString(inheritEmailNotificationConfiguration)).append("\n"); sb.append(" inPersonSigningType: ").append(toIndentedString(inPersonSigningType)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); @@ -1456,6 +2090,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/InitialHere.java b/src/main/java/com/docusign/esign/model/InitialHere.java index 06393b95..850549e2 100644 --- a/src/main/java/com/docusign/esign/model/InitialHere.java +++ b/src/main/java/com/docusign/esign/model/InitialHere.java @@ -1,15 +1,18 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ErrorDetails; import com.docusign.esign.model.MergeField; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * InitialHere + * InitialHere. + * */ public class InitialHere { @@ -74,7 +77,7 @@ public class InitialHere { private String status = null; @JsonProperty("tabGroupLabels") - private java.util.List tabGroupLabels = new java.util.ArrayList(); + private java.util.List tabGroupLabels = null; @JsonProperty("tabId") private String tabId = null; @@ -100,534 +103,808 @@ public class InitialHere { @JsonProperty("yPosition") private String yPosition = null; + + /** + * anchorCaseSensitive. + * + * @return InitialHere + **/ public InitialHere anchorCaseSensitive(String anchorCaseSensitive) { this.anchorCaseSensitive = anchorCaseSensitive; return this; } - /** - * When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**. + /** + * When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.. * @return anchorCaseSensitive - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.") + **/ + @ApiModelProperty(value = "When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.") public String getAnchorCaseSensitive() { return anchorCaseSensitive; } + /** + * setAnchorCaseSensitive. + **/ public void setAnchorCaseSensitive(String anchorCaseSensitive) { this.anchorCaseSensitive = anchorCaseSensitive; } + + /** + * anchorHorizontalAlignment. + * + * @return InitialHere + **/ public InitialHere anchorHorizontalAlignment(String anchorHorizontalAlignment) { this.anchorHorizontalAlignment = anchorHorizontalAlignment; return this; } - /** - * Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**. + /** + * Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.. * @return anchorHorizontalAlignment - **/ - @ApiModelProperty(example = "null", value = "Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.") + **/ + @ApiModelProperty(value = "Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.") public String getAnchorHorizontalAlignment() { return anchorHorizontalAlignment; } + /** + * setAnchorHorizontalAlignment. + **/ public void setAnchorHorizontalAlignment(String anchorHorizontalAlignment) { this.anchorHorizontalAlignment = anchorHorizontalAlignment; } + + /** + * anchorIgnoreIfNotPresent. + * + * @return InitialHere + **/ public InitialHere anchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { this.anchorIgnoreIfNotPresent = anchorIgnoreIfNotPresent; return this; } - /** - * When set to **true**, this tab is ignored if anchorString is not found in the document. + /** + * When set to **true**, this tab is ignored if anchorString is not found in the document.. * @return anchorIgnoreIfNotPresent - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, this tab is ignored if anchorString is not found in the document.") + **/ + @ApiModelProperty(value = "When set to **true**, this tab is ignored if anchorString is not found in the document.") public String getAnchorIgnoreIfNotPresent() { return anchorIgnoreIfNotPresent; } + /** + * setAnchorIgnoreIfNotPresent. + **/ public void setAnchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { this.anchorIgnoreIfNotPresent = anchorIgnoreIfNotPresent; } + + /** + * anchorMatchWholeWord. + * + * @return InitialHere + **/ public InitialHere anchorMatchWholeWord(String anchorMatchWholeWord) { this.anchorMatchWholeWord = anchorMatchWholeWord; return this; } - /** - * When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**. + /** + * When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.. * @return anchorMatchWholeWord - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.") + **/ + @ApiModelProperty(value = "When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.") public String getAnchorMatchWholeWord() { return anchorMatchWholeWord; } + /** + * setAnchorMatchWholeWord. + **/ public void setAnchorMatchWholeWord(String anchorMatchWholeWord) { this.anchorMatchWholeWord = anchorMatchWholeWord; } + + /** + * anchorString. + * + * @return InitialHere + **/ public InitialHere anchorString(String anchorString) { this.anchorString = anchorString; return this; } - /** - * Anchor text information for a radio button. + /** + * Anchor text information for a radio button.. * @return anchorString - **/ - @ApiModelProperty(example = "null", value = "Anchor text information for a radio button.") + **/ + @ApiModelProperty(value = "Anchor text information for a radio button.") public String getAnchorString() { return anchorString; } + /** + * setAnchorString. + **/ public void setAnchorString(String anchorString) { this.anchorString = anchorString; } + + /** + * anchorUnits. + * + * @return InitialHere + **/ public InitialHere anchorUnits(String anchorUnits) { this.anchorUnits = anchorUnits; return this; } - /** - * Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. + /** + * Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. * @return anchorUnits - **/ - @ApiModelProperty(example = "null", value = "Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.") + **/ + @ApiModelProperty(value = "Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.") public String getAnchorUnits() { return anchorUnits; } + /** + * setAnchorUnits. + **/ public void setAnchorUnits(String anchorUnits) { this.anchorUnits = anchorUnits; } + + /** + * anchorXOffset. + * + * @return InitialHere + **/ public InitialHere anchorXOffset(String anchorXOffset) { this.anchorXOffset = anchorXOffset; return this; } - /** - * Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString. + /** + * Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. * @return anchorXOffset - **/ - @ApiModelProperty(example = "null", value = "Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.") + **/ + @ApiModelProperty(value = "Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.") public String getAnchorXOffset() { return anchorXOffset; } + /** + * setAnchorXOffset. + **/ public void setAnchorXOffset(String anchorXOffset) { this.anchorXOffset = anchorXOffset; } + + /** + * anchorYOffset. + * + * @return InitialHere + **/ public InitialHere anchorYOffset(String anchorYOffset) { this.anchorYOffset = anchorYOffset; return this; } - /** - * Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString. + /** + * Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.. * @return anchorYOffset - **/ - @ApiModelProperty(example = "null", value = "Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.") + **/ + @ApiModelProperty(value = "Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.") public String getAnchorYOffset() { return anchorYOffset; } + /** + * setAnchorYOffset. + **/ public void setAnchorYOffset(String anchorYOffset) { this.anchorYOffset = anchorYOffset; } + + /** + * conditionalParentLabel. + * + * @return InitialHere + **/ public InitialHere conditionalParentLabel(String conditionalParentLabel) { this.conditionalParentLabel = conditionalParentLabel; return this; } - /** - * For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility. + /** + * For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.. * @return conditionalParentLabel - **/ - @ApiModelProperty(example = "null", value = "For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.") + **/ + @ApiModelProperty(value = "For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.") public String getConditionalParentLabel() { return conditionalParentLabel; } + /** + * setConditionalParentLabel. + **/ public void setConditionalParentLabel(String conditionalParentLabel) { this.conditionalParentLabel = conditionalParentLabel; } + + /** + * conditionalParentValue. + * + * @return InitialHere + **/ public InitialHere conditionalParentValue(String conditionalParentValue) { this.conditionalParentValue = conditionalParentValue; return this; } - /** - * For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. + /** + * For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. . * @return conditionalParentValue - **/ - @ApiModelProperty(example = "null", value = "For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. ") + **/ + @ApiModelProperty(value = "For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. ") public String getConditionalParentValue() { return conditionalParentValue; } + /** + * setConditionalParentValue. + **/ public void setConditionalParentValue(String conditionalParentValue) { this.conditionalParentValue = conditionalParentValue; } + + /** + * customTabId. + * + * @return InitialHere + **/ public InitialHere customTabId(String customTabId) { this.customTabId = customTabId; return this; } - /** - * The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties. + /** + * The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.. * @return customTabId - **/ - @ApiModelProperty(example = "null", value = "The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.") + **/ + @ApiModelProperty(value = "The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.") public String getCustomTabId() { return customTabId; } + /** + * setCustomTabId. + **/ public void setCustomTabId(String customTabId) { this.customTabId = customTabId; } + + /** + * documentId. + * + * @return InitialHere + **/ public InitialHere documentId(String documentId) { this.documentId = documentId; return this; } - /** - * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute. + /** + * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.. * @return documentId - **/ - @ApiModelProperty(example = "null", value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") + **/ + @ApiModelProperty(value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") public String getDocumentId() { return documentId; } + /** + * setDocumentId. + **/ public void setDocumentId(String documentId) { this.documentId = documentId; } + + /** + * errorDetails. + * + * @return InitialHere + **/ public InitialHere errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * mergeField. + * + * @return InitialHere + **/ public InitialHere mergeField(MergeField mergeField) { this.mergeField = mergeField; return this; } - /** - * Get mergeField + /** + * Get mergeField. * @return mergeField - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public MergeField getMergeField() { return mergeField; } + /** + * setMergeField. + **/ public void setMergeField(MergeField mergeField) { this.mergeField = mergeField; } + + /** + * name. + * + * @return InitialHere + **/ public InitialHere name(String name) { this.name = name; return this; } - /** - * Specifies the tool tip text for the tab. + /** + * Specifies the tool tip text for the tab.. * @return name - **/ - @ApiModelProperty(example = "null", value = "Specifies the tool tip text for the tab.") + **/ + @ApiModelProperty(value = "Specifies the tool tip text for the tab.") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * optional. + * + * @return InitialHere + **/ public InitialHere optional(String optional) { this.optional = optional; return this; } - /** - * + /** + * . * @return optional - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getOptional() { return optional; } + /** + * setOptional. + **/ public void setOptional(String optional) { this.optional = optional; } + + /** + * pageNumber. + * + * @return InitialHere + **/ public InitialHere pageNumber(String pageNumber) { this.pageNumber = pageNumber; return this; } - /** - * Specifies the page number on which the tab is located. + /** + * Specifies the page number on which the tab is located.. * @return pageNumber - **/ - @ApiModelProperty(example = "null", value = "Specifies the page number on which the tab is located.") + **/ + @ApiModelProperty(value = "Specifies the page number on which the tab is located.") public String getPageNumber() { return pageNumber; } + /** + * setPageNumber. + **/ public void setPageNumber(String pageNumber) { this.pageNumber = pageNumber; } + + /** + * recipientId. + * + * @return InitialHere + **/ public InitialHere recipientId(String recipientId) { this.recipientId = recipientId; return this; } - /** - * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document. + /** + * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.. * @return recipientId - **/ - @ApiModelProperty(example = "null", value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") + **/ + @ApiModelProperty(value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") public String getRecipientId() { return recipientId; } + /** + * setRecipientId. + **/ public void setRecipientId(String recipientId) { this.recipientId = recipientId; } + + /** + * scaleValue. + * + * @return InitialHere + **/ public InitialHere scaleValue(String scaleValue) { this.scaleValue = scaleValue; return this; } - /** - * Sets the size for the InitialHere tab. It can be value from 0.5 to 1.0, where 1.0 represents full size and 0.5 is 50% size. + /** + * Sets the size for the InitialHere tab. It can be value from 0.5 to 1.0, where 1.0 represents full size and 0.5 is 50% size.. * @return scaleValue - **/ - @ApiModelProperty(example = "null", value = " Sets the size for the InitialHere tab. It can be value from 0.5 to 1.0, where 1.0 represents full size and 0.5 is 50% size.") + **/ + @ApiModelProperty(value = " Sets the size for the InitialHere tab. It can be value from 0.5 to 1.0, where 1.0 represents full size and 0.5 is 50% size.") public String getScaleValue() { return scaleValue; } + /** + * setScaleValue. + **/ public void setScaleValue(String scaleValue) { this.scaleValue = scaleValue; } + + /** + * status. + * + * @return InitialHere + **/ public InitialHere status(String status) { this.status = status; return this; } - /** - * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. + /** + * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.. * @return status - **/ - @ApiModelProperty(example = "null", value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") + **/ + @ApiModelProperty(value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") public String getStatus() { return status; } + /** + * setStatus. + **/ public void setStatus(String status) { this.status = status; } + + /** + * tabGroupLabels. + * + * @return InitialHere + **/ public InitialHere tabGroupLabels(java.util.List tabGroupLabels) { this.tabGroupLabels = tabGroupLabels; return this; } - + + /** + * addTabGroupLabelsItem. + * + * @return InitialHere + **/ public InitialHere addTabGroupLabelsItem(String tabGroupLabelsItem) { + if (this.tabGroupLabels == null) { + this.tabGroupLabels = new java.util.ArrayList(); + } this.tabGroupLabels.add(tabGroupLabelsItem); return this; } - /** - * + /** + * . * @return tabGroupLabels - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getTabGroupLabels() { return tabGroupLabels; } + /** + * setTabGroupLabels. + **/ public void setTabGroupLabels(java.util.List tabGroupLabels) { this.tabGroupLabels = tabGroupLabels; } + + /** + * tabId. + * + * @return InitialHere + **/ public InitialHere tabId(String tabId) { this.tabId = tabId; return this; } - /** - * The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. + /** + * The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. . * @return tabId - **/ - @ApiModelProperty(example = "null", value = "The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. ") + **/ + @ApiModelProperty(value = "The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. ") public String getTabId() { return tabId; } + /** + * setTabId. + **/ public void setTabId(String tabId) { this.tabId = tabId; } + + /** + * tabLabel. + * + * @return InitialHere + **/ public InitialHere tabLabel(String tabLabel) { this.tabLabel = tabLabel; return this; } - /** - * The label string associated with the tab. + /** + * The label string associated with the tab.. * @return tabLabel - **/ - @ApiModelProperty(example = "null", value = "The label string associated with the tab.") + **/ + @ApiModelProperty(value = "The label string associated with the tab.") public String getTabLabel() { return tabLabel; } + /** + * setTabLabel. + **/ public void setTabLabel(String tabLabel) { this.tabLabel = tabLabel; } + + /** + * tabOrder. + * + * @return InitialHere + **/ public InitialHere tabOrder(String tabOrder) { this.tabOrder = tabOrder; return this; } - /** - * + /** + * . * @return tabOrder - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTabOrder() { return tabOrder; } + /** + * setTabOrder. + **/ public void setTabOrder(String tabOrder) { this.tabOrder = tabOrder; } + + /** + * templateLocked. + * + * @return InitialHere + **/ public InitialHere templateLocked(String templateLocked) { this.templateLocked = templateLocked; return this; } - /** - * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. . * @return templateLocked - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") + **/ + @ApiModelProperty(value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") public String getTemplateLocked() { return templateLocked; } + /** + * setTemplateLocked. + **/ public void setTemplateLocked(String templateLocked) { this.templateLocked = templateLocked; } + + /** + * templateRequired. + * + * @return InitialHere + **/ public InitialHere templateRequired(String templateRequired) { this.templateRequired = templateRequired; return this; } - /** - * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.. * @return templateRequired - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") + **/ + @ApiModelProperty(value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") public String getTemplateRequired() { return templateRequired; } + /** + * setTemplateRequired. + **/ public void setTemplateRequired(String templateRequired) { this.templateRequired = templateRequired; } + + /** + * tooltip. + * + * @return InitialHere + **/ public InitialHere tooltip(String tooltip) { this.tooltip = tooltip; return this; } - /** - * + /** + * . * @return tooltip - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTooltip() { return tooltip; } + /** + * setTooltip. + **/ public void setTooltip(String tooltip) { this.tooltip = tooltip; } + + /** + * xPosition. + * + * @return InitialHere + **/ public InitialHere xPosition(String xPosition) { this.xPosition = xPosition; return this; } - /** - * This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position. + /** + * This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.. * @return xPosition - **/ - @ApiModelProperty(example = "null", value = "This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.") + **/ + @ApiModelProperty(value = "This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.") public String getXPosition() { return xPosition; } + /** + * setXPosition. + **/ public void setXPosition(String xPosition) { this.xPosition = xPosition; } + + /** + * yPosition. + * + * @return InitialHere + **/ public InitialHere yPosition(String yPosition) { this.yPosition = yPosition; return this; } - /** - * This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position. + /** + * This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. * @return yPosition - **/ - @ApiModelProperty(example = "null", value = "This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.") + **/ + @ApiModelProperty(value = "This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.") public String getYPosition() { return yPosition; } + /** + * setYPosition. + **/ public void setYPosition(String yPosition) { this.yPosition = yPosition; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -668,12 +945,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.yPosition, initialHere.yPosition); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(anchorCaseSensitive, anchorHorizontalAlignment, anchorIgnoreIfNotPresent, anchorMatchWholeWord, anchorString, anchorUnits, anchorXOffset, anchorYOffset, conditionalParentLabel, conditionalParentValue, customTabId, documentId, errorDetails, mergeField, name, optional, pageNumber, recipientId, scaleValue, status, tabGroupLabels, tabId, tabLabel, tabOrder, templateLocked, templateRequired, tooltip, xPosition, yPosition); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -722,6 +1005,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/InlineTemplate.java b/src/main/java/com/docusign/esign/model/InlineTemplate.java index d4840d2d..e7e7bfa3 100644 --- a/src/main/java/com/docusign/esign/model/InlineTemplate.java +++ b/src/main/java/com/docusign/esign/model/InlineTemplate.java @@ -1,17 +1,20 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.CustomFields; import com.docusign.esign.model.Document; import com.docusign.esign.model.Envelope; import com.docusign.esign.model.Recipients; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * InlineTemplate + * InlineTemplate. + * */ public class InlineTemplate { @@ -19,7 +22,7 @@ public class InlineTemplate { private CustomFields customFields = null; @JsonProperty("documents") - private java.util.List documents = new java.util.ArrayList(); + private java.util.List documents = null; @JsonProperty("envelope") private Envelope envelope = null; @@ -30,102 +33,160 @@ public class InlineTemplate { @JsonProperty("sequence") private String sequence = null; + + /** + * customFields. + * + * @return InlineTemplate + **/ public InlineTemplate customFields(CustomFields customFields) { this.customFields = customFields; return this; } - /** - * Get customFields + /** + * Get customFields. * @return customFields - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public CustomFields getCustomFields() { return customFields; } + /** + * setCustomFields. + **/ public void setCustomFields(CustomFields customFields) { this.customFields = customFields; } + + /** + * documents. + * + * @return InlineTemplate + **/ public InlineTemplate documents(java.util.List documents) { this.documents = documents; return this; } - + + /** + * addDocumentsItem. + * + * @return InlineTemplate + **/ public InlineTemplate addDocumentsItem(Document documentsItem) { + if (this.documents == null) { + this.documents = new java.util.ArrayList(); + } this.documents.add(documentsItem); return this; } - /** - * Complex element contains the details on the documents in the envelope. + /** + * Complex element contains the details on the documents in the envelope.. * @return documents - **/ - @ApiModelProperty(example = "null", value = "Complex element contains the details on the documents in the envelope.") + **/ + @ApiModelProperty(value = "Complex element contains the details on the documents in the envelope.") public java.util.List getDocuments() { return documents; } + /** + * setDocuments. + **/ public void setDocuments(java.util.List documents) { this.documents = documents; } + + /** + * envelope. + * + * @return InlineTemplate + **/ public InlineTemplate envelope(Envelope envelope) { this.envelope = envelope; return this; } - /** - * Get envelope + /** + * Get envelope. * @return envelope - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public Envelope getEnvelope() { return envelope; } + /** + * setEnvelope. + **/ public void setEnvelope(Envelope envelope) { this.envelope = envelope; } + + /** + * recipients. + * + * @return InlineTemplate + **/ public InlineTemplate recipients(Recipients recipients) { this.recipients = recipients; return this; } - /** - * Get recipients + /** + * Get recipients. * @return recipients - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public Recipients getRecipients() { return recipients; } + /** + * setRecipients. + **/ public void setRecipients(Recipients recipients) { this.recipients = recipients; } + + /** + * sequence. + * + * @return InlineTemplate + **/ public InlineTemplate sequence(String sequence) { this.sequence = sequence; return this; } - /** - * Specifies the order in which templates are overlaid. + /** + * Specifies the order in which templates are overlaid.. * @return sequence - **/ - @ApiModelProperty(example = "null", value = "Specifies the order in which templates are overlaid.") + **/ + @ApiModelProperty(value = "Specifies the order in which templates are overlaid.") public String getSequence() { return sequence; } + /** + * setSequence. + **/ public void setSequence(String sequence) { this.sequence = sequence; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -142,12 +203,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.sequence, inlineTemplate.sequence); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(customFields, documents, envelope, recipients, sequence); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -172,6 +239,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/IntegratedUserInfoList.java b/src/main/java/com/docusign/esign/model/IntegratedUserInfoList.java index a98ae605..b1ebc747 100644 --- a/src/main/java/com/docusign/esign/model/IntegratedUserInfoList.java +++ b/src/main/java/com/docusign/esign/model/IntegratedUserInfoList.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.UserInfo; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * IntegratedUserInfoList + * IntegratedUserInfoList. + * */ public class IntegratedUserInfoList { @@ -34,158 +37,243 @@ public class IntegratedUserInfoList { private String totalSetSize = null; @JsonProperty("users") - private java.util.List users = new java.util.ArrayList(); + private java.util.List users = null; + + /** + * allUsersSelected. + * + * @return IntegratedUserInfoList + **/ public IntegratedUserInfoList allUsersSelected(String allUsersSelected) { this.allUsersSelected = allUsersSelected; return this; } - /** - * + /** + * . * @return allUsersSelected - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAllUsersSelected() { return allUsersSelected; } + /** + * setAllUsersSelected. + **/ public void setAllUsersSelected(String allUsersSelected) { this.allUsersSelected = allUsersSelected; } + + /** + * endPosition. + * + * @return IntegratedUserInfoList + **/ public IntegratedUserInfoList endPosition(String endPosition) { this.endPosition = endPosition; return this; } - /** - * The last position in the result set. + /** + * The last position in the result set. . * @return endPosition - **/ - @ApiModelProperty(example = "null", value = "The last position in the result set. ") + **/ + @ApiModelProperty(value = "The last position in the result set. ") public String getEndPosition() { return endPosition; } + /** + * setEndPosition. + **/ public void setEndPosition(String endPosition) { this.endPosition = endPosition; } + + /** + * nextUri. + * + * @return IntegratedUserInfoList + **/ public IntegratedUserInfoList nextUri(String nextUri) { this.nextUri = nextUri; return this; } - /** - * The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. + /** + * The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. . * @return nextUri - **/ - @ApiModelProperty(example = "null", value = "The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. ") + **/ + @ApiModelProperty(value = "The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. ") public String getNextUri() { return nextUri; } + /** + * setNextUri. + **/ public void setNextUri(String nextUri) { this.nextUri = nextUri; } + + /** + * previousUri. + * + * @return IntegratedUserInfoList + **/ public IntegratedUserInfoList previousUri(String previousUri) { this.previousUri = previousUri; return this; } - /** - * The postal code for the billing address. + /** + * The postal code for the billing address.. * @return previousUri - **/ - @ApiModelProperty(example = "null", value = "The postal code for the billing address.") + **/ + @ApiModelProperty(value = "The postal code for the billing address.") public String getPreviousUri() { return previousUri; } + /** + * setPreviousUri. + **/ public void setPreviousUri(String previousUri) { this.previousUri = previousUri; } + + /** + * resultSetSize. + * + * @return IntegratedUserInfoList + **/ public IntegratedUserInfoList resultSetSize(String resultSetSize) { this.resultSetSize = resultSetSize; return this; } - /** - * The number of results returned in this response. + /** + * The number of results returned in this response. . * @return resultSetSize - **/ - @ApiModelProperty(example = "null", value = "The number of results returned in this response. ") + **/ + @ApiModelProperty(value = "The number of results returned in this response. ") public String getResultSetSize() { return resultSetSize; } + /** + * setResultSetSize. + **/ public void setResultSetSize(String resultSetSize) { this.resultSetSize = resultSetSize; } + + /** + * startPosition. + * + * @return IntegratedUserInfoList + **/ public IntegratedUserInfoList startPosition(String startPosition) { this.startPosition = startPosition; return this; } - /** - * Starting position of the current result set. + /** + * Starting position of the current result set.. * @return startPosition - **/ - @ApiModelProperty(example = "null", value = "Starting position of the current result set.") + **/ + @ApiModelProperty(value = "Starting position of the current result set.") public String getStartPosition() { return startPosition; } + /** + * setStartPosition. + **/ public void setStartPosition(String startPosition) { this.startPosition = startPosition; } + + /** + * totalSetSize. + * + * @return IntegratedUserInfoList + **/ public IntegratedUserInfoList totalSetSize(String totalSetSize) { this.totalSetSize = totalSetSize; return this; } - /** - * The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response. + /** + * The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.. * @return totalSetSize - **/ - @ApiModelProperty(example = "null", value = "The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.") + **/ + @ApiModelProperty(value = "The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.") public String getTotalSetSize() { return totalSetSize; } + /** + * setTotalSetSize. + **/ public void setTotalSetSize(String totalSetSize) { this.totalSetSize = totalSetSize; } + + /** + * users. + * + * @return IntegratedUserInfoList + **/ public IntegratedUserInfoList users(java.util.List users) { this.users = users; return this; } - + + /** + * addUsersItem. + * + * @return IntegratedUserInfoList + **/ public IntegratedUserInfoList addUsersItem(UserInfo usersItem) { + if (this.users == null) { + this.users = new java.util.ArrayList(); + } this.users.add(usersItem); return this; } - /** - * + /** + * . * @return users - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getUsers() { return users; } + /** + * setUsers. + **/ public void setUsers(java.util.List users) { this.users = users; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -205,12 +293,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.users, integratedUserInfoList.users); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(allUsersSelected, endPosition, nextUri, previousUri, resultSetSize, startPosition, totalSetSize, users); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -238,6 +332,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/Intermediary.java b/src/main/java/com/docusign/esign/model/Intermediary.java index 30961bd2..d28fc422 100644 --- a/src/main/java/com/docusign/esign/model/Intermediary.java +++ b/src/main/java/com/docusign/esign/model/Intermediary.java @@ -1,12 +1,14 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.AuthenticationStatus; import com.docusign.esign.model.DocumentVisibility; import com.docusign.esign.model.ErrorDetails; import com.docusign.esign.model.IdCheckInformationInput; import com.docusign.esign.model.RecipientAttachment; import com.docusign.esign.model.RecipientEmailNotification; +import com.docusign.esign.model.RecipientIdentityVerification; import com.docusign.esign.model.RecipientPhoneAuthentication; import com.docusign.esign.model.RecipientSAMLAuthentication; import com.docusign.esign.model.RecipientSMSAuthentication; @@ -14,11 +16,13 @@ import com.docusign.esign.model.UserInfo; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Intermediary + * Intermediary. + * */ public class Intermediary { @@ -32,7 +36,7 @@ public class Intermediary { private String clientUserId = null; @JsonProperty("customFields") - private java.util.List customFields = new java.util.ArrayList(); + private java.util.List customFields = null; @JsonProperty("declinedDateTime") private String declinedDateTime = null; @@ -47,7 +51,7 @@ public class Intermediary { private String deliveryMethod = null; @JsonProperty("documentVisibility") - private java.util.List documentVisibility = new java.util.ArrayList(); + private java.util.List documentVisibility = null; @JsonProperty("email") private String email = null; @@ -65,7 +69,7 @@ public class Intermediary { private ErrorDetails errorDetails = null; @JsonProperty("excludedDocuments") - private java.util.List excludedDocuments = new java.util.ArrayList(); + private java.util.List excludedDocuments = null; @JsonProperty("faxNumber") private String faxNumber = null; @@ -82,6 +86,9 @@ public class Intermediary { @JsonProperty("idCheckInformationInput") private IdCheckInformationInput idCheckInformationInput = null; + @JsonProperty("identityVerification") + private RecipientIdentityVerification identityVerification = null; + @JsonProperty("inheritEmailNotificationConfiguration") private String inheritEmailNotificationConfiguration = null; @@ -98,7 +105,7 @@ public class Intermediary { private RecipientPhoneAuthentication phoneAuthentication = null; @JsonProperty("recipientAttachments") - private java.util.List recipientAttachments = new java.util.ArrayList(); + private java.util.List recipientAttachments = null; @JsonProperty("recipientAuthenticationStatus") private AuthenticationStatus recipientAuthenticationStatus = null; @@ -134,13 +141,13 @@ public class Intermediary { private String signingGroupName = null; @JsonProperty("signingGroupUsers") - private java.util.List signingGroupUsers = new java.util.ArrayList(); + private java.util.List signingGroupUsers = null; @JsonProperty("smsAuthentication") private RecipientSMSAuthentication smsAuthentication = null; @JsonProperty("socialAuthentications") - private java.util.List socialAuthentications = new java.util.ArrayList(); + private java.util.List socialAuthentications = null; @JsonProperty("status") private String status = null; @@ -157,847 +164,1332 @@ public class Intermediary { @JsonProperty("userId") private String userId = null; + + /** + * accessCode. + * + * @return Intermediary + **/ public Intermediary accessCode(String accessCode) { this.accessCode = accessCode; return this; } - /** - * If a value is provided, the recipient must enter the value as the access code to view and sign the envelope. Maximum Length: 50 characters and it must conform to the account's access code format setting. If blank, but the signer `accessCode` property is set in the envelope, then that value is used. If blank and the signer `accessCode` property is not set, then the access code is not required. + /** + * If a value is provided, the recipient must enter the value as the access code to view and sign the envelope. Maximum Length: 50 characters and it must conform to the account's access code format setting. If blank, but the signer `accessCode` property is set in the envelope, then that value is used. If blank and the signer `accessCode` property is not set, then the access code is not required.. * @return accessCode - **/ - @ApiModelProperty(example = "null", value = "If a value is provided, the recipient must enter the value as the access code to view and sign the envelope. Maximum Length: 50 characters and it must conform to the account's access code format setting. If blank, but the signer `accessCode` property is set in the envelope, then that value is used. If blank and the signer `accessCode` property is not set, then the access code is not required.") + **/ + @ApiModelProperty(value = "If a value is provided, the recipient must enter the value as the access code to view and sign the envelope. Maximum Length: 50 characters and it must conform to the account's access code format setting. If blank, but the signer `accessCode` property is set in the envelope, then that value is used. If blank and the signer `accessCode` property is not set, then the access code is not required.") public String getAccessCode() { return accessCode; } + /** + * setAccessCode. + **/ public void setAccessCode(String accessCode) { this.accessCode = accessCode; } + + /** + * addAccessCodeToEmail. + * + * @return Intermediary + **/ public Intermediary addAccessCodeToEmail(String addAccessCodeToEmail) { this.addAccessCodeToEmail = addAccessCodeToEmail; return this; } - /** - * This Optional attribute indicates that the access code will be added to the email sent to the recipient; this nullifies the Security measure of Access Code on the recipient. + /** + * This Optional attribute indicates that the access code will be added to the email sent to the recipient; this nullifies the Security measure of Access Code on the recipient.. * @return addAccessCodeToEmail - **/ - @ApiModelProperty(example = "null", value = "This Optional attribute indicates that the access code will be added to the email sent to the recipient; this nullifies the Security measure of Access Code on the recipient.") + **/ + @ApiModelProperty(value = "This Optional attribute indicates that the access code will be added to the email sent to the recipient; this nullifies the Security measure of Access Code on the recipient.") public String getAddAccessCodeToEmail() { return addAccessCodeToEmail; } + /** + * setAddAccessCodeToEmail. + **/ public void setAddAccessCodeToEmail(String addAccessCodeToEmail) { this.addAccessCodeToEmail = addAccessCodeToEmail; } + + /** + * clientUserId. + * + * @return Intermediary + **/ public Intermediary clientUserId(String clientUserId) { this.clientUserId = clientUserId; return this; } - /** - * Specifies whether the recipient is embedded or remote. If the `clientUserId` property is not null then the recipient is embedded. Note that if the `ClientUserId` property is set and either `SignerMustHaveAccount` or `SignerMustLoginToSign` property of the account settings is set to **true**, an error is generated on sending.ng. Maximum length: 100 characters. + /** + * Specifies whether the recipient is embedded or remote. If the `clientUserId` property is not null then the recipient is embedded. Note that if the `ClientUserId` property is set and either `SignerMustHaveAccount` or `SignerMustLoginToSign` property of the account settings is set to **true**, an error is generated on sending.ng. Maximum length: 100 characters. . * @return clientUserId - **/ - @ApiModelProperty(example = "null", value = "Specifies whether the recipient is embedded or remote. If the `clientUserId` property is not null then the recipient is embedded. Note that if the `ClientUserId` property is set and either `SignerMustHaveAccount` or `SignerMustLoginToSign` property of the account settings is set to **true**, an error is generated on sending.ng. Maximum length: 100 characters. ") + **/ + @ApiModelProperty(value = "Specifies whether the recipient is embedded or remote. If the `clientUserId` property is not null then the recipient is embedded. Note that if the `ClientUserId` property is set and either `SignerMustHaveAccount` or `SignerMustLoginToSign` property of the account settings is set to **true**, an error is generated on sending.ng. Maximum length: 100 characters. ") public String getClientUserId() { return clientUserId; } + /** + * setClientUserId. + **/ public void setClientUserId(String clientUserId) { this.clientUserId = clientUserId; } + + /** + * customFields. + * + * @return Intermediary + **/ public Intermediary customFields(java.util.List customFields) { this.customFields = customFields; return this; } - + + /** + * addCustomFieldsItem. + * + * @return Intermediary + **/ public Intermediary addCustomFieldsItem(String customFieldsItem) { + if (this.customFields == null) { + this.customFields = new java.util.ArrayList(); + } this.customFields.add(customFieldsItem); return this; } - /** - * An optional array of strings that allows the sender to provide custom data about the recipient. This information is returned in the envelope status but otherwise not used by DocuSign. Each customField string can be a maximum of 100 characters. + /** + * An optional array of strings that allows the sender to provide custom data about the recipient. This information is returned in the envelope status but otherwise not used by DocuSign. Each customField string can be a maximum of 100 characters.. * @return customFields - **/ - @ApiModelProperty(example = "null", value = "An optional array of strings that allows the sender to provide custom data about the recipient. This information is returned in the envelope status but otherwise not used by DocuSign. Each customField string can be a maximum of 100 characters.") + **/ + @ApiModelProperty(value = "An optional array of strings that allows the sender to provide custom data about the recipient. This information is returned in the envelope status but otherwise not used by DocuSign. Each customField string can be a maximum of 100 characters.") public java.util.List getCustomFields() { return customFields; } + /** + * setCustomFields. + **/ public void setCustomFields(java.util.List customFields) { this.customFields = customFields; } + + /** + * declinedDateTime. + * + * @return Intermediary + **/ public Intermediary declinedDateTime(String declinedDateTime) { this.declinedDateTime = declinedDateTime; return this; } - /** - * The date and time the recipient declined the document. + /** + * The date and time the recipient declined the document.. * @return declinedDateTime - **/ - @ApiModelProperty(example = "null", value = "The date and time the recipient declined the document.") + **/ + @ApiModelProperty(value = "The date and time the recipient declined the document.") public String getDeclinedDateTime() { return declinedDateTime; } + /** + * setDeclinedDateTime. + **/ public void setDeclinedDateTime(String declinedDateTime) { this.declinedDateTime = declinedDateTime; } + + /** + * declinedReason. + * + * @return Intermediary + **/ public Intermediary declinedReason(String declinedReason) { this.declinedReason = declinedReason; return this; } - /** - * The reason the recipient declined the document. + /** + * The reason the recipient declined the document.. * @return declinedReason - **/ - @ApiModelProperty(example = "null", value = "The reason the recipient declined the document.") + **/ + @ApiModelProperty(value = "The reason the recipient declined the document.") public String getDeclinedReason() { return declinedReason; } + /** + * setDeclinedReason. + **/ public void setDeclinedReason(String declinedReason) { this.declinedReason = declinedReason; } + + /** + * deliveredDateTime. + * + * @return Intermediary + **/ public Intermediary deliveredDateTime(String deliveredDateTime) { this.deliveredDateTime = deliveredDateTime; return this; } - /** - * Reserved: For DocuSign use only. + /** + * Reserved: For DocuSign use only.. * @return deliveredDateTime - **/ - @ApiModelProperty(example = "null", value = "Reserved: For DocuSign use only.") + **/ + @ApiModelProperty(value = "Reserved: For DocuSign use only.") public String getDeliveredDateTime() { return deliveredDateTime; } + /** + * setDeliveredDateTime. + **/ public void setDeliveredDateTime(String deliveredDateTime) { this.deliveredDateTime = deliveredDateTime; } + + /** + * deliveryMethod. + * + * @return Intermediary + **/ public Intermediary deliveryMethod(String deliveryMethod) { this.deliveryMethod = deliveryMethod; return this; } - /** - * Reserved: For DocuSign use only. + /** + * Reserved: For DocuSign use only.. * @return deliveryMethod - **/ - @ApiModelProperty(example = "null", value = "Reserved: For DocuSign use only.") + **/ + @ApiModelProperty(value = "Reserved: For DocuSign use only.") public String getDeliveryMethod() { return deliveryMethod; } + /** + * setDeliveryMethod. + **/ public void setDeliveryMethod(String deliveryMethod) { this.deliveryMethod = deliveryMethod; } + + /** + * documentVisibility. + * + * @return Intermediary + **/ public Intermediary documentVisibility(java.util.List documentVisibility) { this.documentVisibility = documentVisibility; return this; } - + + /** + * addDocumentVisibilityItem. + * + * @return Intermediary + **/ public Intermediary addDocumentVisibilityItem(DocumentVisibility documentVisibilityItem) { + if (this.documentVisibility == null) { + this.documentVisibility = new java.util.ArrayList(); + } this.documentVisibility.add(documentVisibilityItem); return this; } - /** - * + /** + * . * @return documentVisibility - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getDocumentVisibility() { return documentVisibility; } + /** + * setDocumentVisibility. + **/ public void setDocumentVisibility(java.util.List documentVisibility) { this.documentVisibility = documentVisibility; } + + /** + * email. + * + * @return Intermediary + **/ public Intermediary email(String email) { this.email = email; return this; } - /** - * Email id of the recipient. Notification of the document to sign is sent to this email id. Maximum length: 100 characters. + /** + * Email id of the recipient. Notification of the document to sign is sent to this email id. Maximum length: 100 characters. . * @return email - **/ - @ApiModelProperty(example = "null", value = "Email id of the recipient. Notification of the document to sign is sent to this email id. Maximum length: 100 characters. ") + **/ + @ApiModelProperty(value = "Email id of the recipient. Notification of the document to sign is sent to this email id. Maximum length: 100 characters. ") public String getEmail() { return email; } + /** + * setEmail. + **/ public void setEmail(String email) { this.email = email; } + + /** + * emailNotification. + * + * @return Intermediary + **/ public Intermediary emailNotification(RecipientEmailNotification emailNotification) { this.emailNotification = emailNotification; return this; } - /** - * Get emailNotification + /** + * Get emailNotification. * @return emailNotification - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public RecipientEmailNotification getEmailNotification() { return emailNotification; } + /** + * setEmailNotification. + **/ public void setEmailNotification(RecipientEmailNotification emailNotification) { this.emailNotification = emailNotification; } + + /** + * emailRecipientPostSigningURL. + * + * @return Intermediary + **/ public Intermediary emailRecipientPostSigningURL(String emailRecipientPostSigningURL) { this.emailRecipientPostSigningURL = emailRecipientPostSigningURL; return this; } - /** - * + /** + * . * @return emailRecipientPostSigningURL - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getEmailRecipientPostSigningURL() { return emailRecipientPostSigningURL; } + /** + * setEmailRecipientPostSigningURL. + **/ public void setEmailRecipientPostSigningURL(String emailRecipientPostSigningURL) { this.emailRecipientPostSigningURL = emailRecipientPostSigningURL; } + + /** + * embeddedRecipientStartURL. + * + * @return Intermediary + **/ public Intermediary embeddedRecipientStartURL(String embeddedRecipientStartURL) { this.embeddedRecipientStartURL = embeddedRecipientStartURL; return this; } - /** - * Specifies a sender provided valid URL string for redirecting an embedded recipient. When using this option, the embedded recipient still receives an email from DocuSign, just as a remote recipient would. When the document link in the email is clicked the recipient is redirected, through DocuSign, to the supplied URL to complete their actions. When routing to the URL, the sender's system (the server responding to the URL) must request a recipient token to launch a signing session. If set to `SIGN_AT_DOCUSIGN`, the recipient is directed to an embedded signing or viewing process directly at DocuSign. The signing or viewing action is initiated by the DocuSign system and the transaction activity and Certificate of Completion records will reflect this. In all other ways the process is identical to an embedded signing or viewing operation that is launched by any partner. It is important to remember that in a typical embedded workflow the authentication of an embedded recipient is the responsibility of the sending application, DocuSign expects that senders will follow their own process for establishing the recipient's identity. In this workflow the recipient goes through the sending application before the embedded signing or viewing process in initiated. However, when the sending application sets `EmbeddedRecipientStartURL=SIGN_AT_DOCUSIGN`, the recipient goes directly to the embedded signing or viewing process bypassing the sending application and any authentication steps the sending application would use. In this case, DocuSign recommends that you use one of the normal DocuSign authentication features (Access Code, Phone Authentication, SMS Authentication, etc.) to verify the identity of the recipient. If the `clientUserId` property is NOT set, and the `embeddedRecipientStartURL` is set, DocuSign will ignore the redirect URL and launch the standard signing process for the email recipient. Information can be appended to the embedded recipient start URL using merge fields. The available merge fields items are: envelopeId, recipientId, recipientName, recipientEmail, and customFields. The `customFields` property must be set fort the recipient or envelope. The merge fields are enclosed in double brackets. *Example*: `http://senderHost/[[mergeField1]]/ beginSigningSession? [[mergeField2]]&[[mergeField3]]` + /** + * Specifies a sender provided valid URL string for redirecting an embedded recipient. When using this option, the embedded recipient still receives an email from DocuSign, just as a remote recipient would. When the document link in the email is clicked the recipient is redirected, through DocuSign, to the supplied URL to complete their actions. When routing to the URL, the sender's system (the server responding to the URL) must request a recipient token to launch a signing session. If set to `SIGN_AT_DOCUSIGN`, the recipient is directed to an embedded signing or viewing process directly at DocuSign. The signing or viewing action is initiated by the DocuSign system and the transaction activity and Certificate of Completion records will reflect this. In all other ways the process is identical to an embedded signing or viewing operation that is launched by any partner. It is important to remember that in a typical embedded workflow the authentication of an embedded recipient is the responsibility of the sending application, DocuSign expects that senders will follow their own process for establishing the recipient's identity. In this workflow the recipient goes through the sending application before the embedded signing or viewing process in initiated. However, when the sending application sets `EmbeddedRecipientStartURL=SIGN_AT_DOCUSIGN`, the recipient goes directly to the embedded signing or viewing process bypassing the sending application and any authentication steps the sending application would use. In this case, DocuSign recommends that you use one of the normal DocuSign authentication features (Access Code, Phone Authentication, SMS Authentication, etc.) to verify the identity of the recipient. If the `clientUserId` property is NOT set, and the `embeddedRecipientStartURL` is set, DocuSign will ignore the redirect URL and launch the standard signing process for the email recipient. Information can be appended to the embedded recipient start URL using merge fields. The available merge fields items are: envelopeId, recipientId, recipientName, recipientEmail, and customFields. The `customFields` property must be set fort the recipient or envelope. The merge fields are enclosed in double brackets. *Example*: `http://senderHost/[[mergeField1]]/ beginSigningSession? [[mergeField2]]&[[mergeField3]]` . * @return embeddedRecipientStartURL - **/ - @ApiModelProperty(example = "null", value = "Specifies a sender provided valid URL string for redirecting an embedded recipient. When using this option, the embedded recipient still receives an email from DocuSign, just as a remote recipient would. When the document link in the email is clicked the recipient is redirected, through DocuSign, to the supplied URL to complete their actions. When routing to the URL, the sender's system (the server responding to the URL) must request a recipient token to launch a signing session. If set to `SIGN_AT_DOCUSIGN`, the recipient is directed to an embedded signing or viewing process directly at DocuSign. The signing or viewing action is initiated by the DocuSign system and the transaction activity and Certificate of Completion records will reflect this. In all other ways the process is identical to an embedded signing or viewing operation that is launched by any partner. It is important to remember that in a typical embedded workflow the authentication of an embedded recipient is the responsibility of the sending application, DocuSign expects that senders will follow their own process for establishing the recipient's identity. In this workflow the recipient goes through the sending application before the embedded signing or viewing process in initiated. However, when the sending application sets `EmbeddedRecipientStartURL=SIGN_AT_DOCUSIGN`, the recipient goes directly to the embedded signing or viewing process bypassing the sending application and any authentication steps the sending application would use. In this case, DocuSign recommends that you use one of the normal DocuSign authentication features (Access Code, Phone Authentication, SMS Authentication, etc.) to verify the identity of the recipient. If the `clientUserId` property is NOT set, and the `embeddedRecipientStartURL` is set, DocuSign will ignore the redirect URL and launch the standard signing process for the email recipient. Information can be appended to the embedded recipient start URL using merge fields. The available merge fields items are: envelopeId, recipientId, recipientName, recipientEmail, and customFields. The `customFields` property must be set fort the recipient or envelope. The merge fields are enclosed in double brackets. *Example*: `http://senderHost/[[mergeField1]]/ beginSigningSession? [[mergeField2]]&[[mergeField3]]` ") + **/ + @ApiModelProperty(value = "Specifies a sender provided valid URL string for redirecting an embedded recipient. When using this option, the embedded recipient still receives an email from DocuSign, just as a remote recipient would. When the document link in the email is clicked the recipient is redirected, through DocuSign, to the supplied URL to complete their actions. When routing to the URL, the sender's system (the server responding to the URL) must request a recipient token to launch a signing session. If set to `SIGN_AT_DOCUSIGN`, the recipient is directed to an embedded signing or viewing process directly at DocuSign. The signing or viewing action is initiated by the DocuSign system and the transaction activity and Certificate of Completion records will reflect this. In all other ways the process is identical to an embedded signing or viewing operation that is launched by any partner. It is important to remember that in a typical embedded workflow the authentication of an embedded recipient is the responsibility of the sending application, DocuSign expects that senders will follow their own process for establishing the recipient's identity. In this workflow the recipient goes through the sending application before the embedded signing or viewing process in initiated. However, when the sending application sets `EmbeddedRecipientStartURL=SIGN_AT_DOCUSIGN`, the recipient goes directly to the embedded signing or viewing process bypassing the sending application and any authentication steps the sending application would use. In this case, DocuSign recommends that you use one of the normal DocuSign authentication features (Access Code, Phone Authentication, SMS Authentication, etc.) to verify the identity of the recipient. If the `clientUserId` property is NOT set, and the `embeddedRecipientStartURL` is set, DocuSign will ignore the redirect URL and launch the standard signing process for the email recipient. Information can be appended to the embedded recipient start URL using merge fields. The available merge fields items are: envelopeId, recipientId, recipientName, recipientEmail, and customFields. The `customFields` property must be set fort the recipient or envelope. The merge fields are enclosed in double brackets. *Example*: `http://senderHost/[[mergeField1]]/ beginSigningSession? [[mergeField2]]&[[mergeField3]]` ") public String getEmbeddedRecipientStartURL() { return embeddedRecipientStartURL; } + /** + * setEmbeddedRecipientStartURL. + **/ public void setEmbeddedRecipientStartURL(String embeddedRecipientStartURL) { this.embeddedRecipientStartURL = embeddedRecipientStartURL; } + + /** + * errorDetails. + * + * @return Intermediary + **/ public Intermediary errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * excludedDocuments. + * + * @return Intermediary + **/ public Intermediary excludedDocuments(java.util.List excludedDocuments) { this.excludedDocuments = excludedDocuments; return this; } - + + /** + * addExcludedDocumentsItem. + * + * @return Intermediary + **/ public Intermediary addExcludedDocumentsItem(String excludedDocumentsItem) { + if (this.excludedDocuments == null) { + this.excludedDocuments = new java.util.ArrayList(); + } this.excludedDocuments.add(excludedDocumentsItem); return this; } - /** - * Specifies the documents that are not visible to this recipient. Document Visibility must be enabled for the account and the `enforceSignerVisibility` property must be set to **true** for the envelope to use this. When enforce signer visibility is enabled, documents with tabs can only be viewed by signers that have a tab on that document. Recipients that have an administrative role (Agent, Editor, or Intermediaries) or informational role (Certified Deliveries or Carbon Copies) can always see all the documents in an envelope, unless they are specifically excluded using this setting when an envelope is sent. Documents that do not have tabs are always visible to all recipients, unless they are specifically excluded using this setting when an envelope is sent. + /** + * Specifies the documents that are not visible to this recipient. Document Visibility must be enabled for the account and the `enforceSignerVisibility` property must be set to **true** for the envelope to use this. When enforce signer visibility is enabled, documents with tabs can only be viewed by signers that have a tab on that document. Recipients that have an administrative role (Agent, Editor, or Intermediaries) or informational role (Certified Deliveries or Carbon Copies) can always see all the documents in an envelope, unless they are specifically excluded using this setting when an envelope is sent. Documents that do not have tabs are always visible to all recipients, unless they are specifically excluded using this setting when an envelope is sent.. * @return excludedDocuments - **/ - @ApiModelProperty(example = "null", value = "Specifies the documents that are not visible to this recipient. Document Visibility must be enabled for the account and the `enforceSignerVisibility` property must be set to **true** for the envelope to use this. When enforce signer visibility is enabled, documents with tabs can only be viewed by signers that have a tab on that document. Recipients that have an administrative role (Agent, Editor, or Intermediaries) or informational role (Certified Deliveries or Carbon Copies) can always see all the documents in an envelope, unless they are specifically excluded using this setting when an envelope is sent. Documents that do not have tabs are always visible to all recipients, unless they are specifically excluded using this setting when an envelope is sent.") + **/ + @ApiModelProperty(value = "Specifies the documents that are not visible to this recipient. Document Visibility must be enabled for the account and the `enforceSignerVisibility` property must be set to **true** for the envelope to use this. When enforce signer visibility is enabled, documents with tabs can only be viewed by signers that have a tab on that document. Recipients that have an administrative role (Agent, Editor, or Intermediaries) or informational role (Certified Deliveries or Carbon Copies) can always see all the documents in an envelope, unless they are specifically excluded using this setting when an envelope is sent. Documents that do not have tabs are always visible to all recipients, unless they are specifically excluded using this setting when an envelope is sent.") public java.util.List getExcludedDocuments() { return excludedDocuments; } + /** + * setExcludedDocuments. + **/ public void setExcludedDocuments(java.util.List excludedDocuments) { this.excludedDocuments = excludedDocuments; } + + /** + * faxNumber. + * + * @return Intermediary + **/ public Intermediary faxNumber(String faxNumber) { this.faxNumber = faxNumber; return this; } - /** - * Reserved: + /** + * Reserved:. * @return faxNumber - **/ - @ApiModelProperty(example = "null", value = "Reserved:") + **/ + @ApiModelProperty(value = "Reserved:") public String getFaxNumber() { return faxNumber; } + /** + * setFaxNumber. + **/ public void setFaxNumber(String faxNumber) { this.faxNumber = faxNumber; } + + /** + * firstName. + * + * @return Intermediary + **/ public Intermediary firstName(String firstName) { this.firstName = firstName; return this; } - /** - * The user's first name. Maximum Length: 50 characters. + /** + * The user's first name. Maximum Length: 50 characters.. * @return firstName - **/ - @ApiModelProperty(example = "null", value = "The user's first name. Maximum Length: 50 characters.") + **/ + @ApiModelProperty(value = "The user's first name. Maximum Length: 50 characters.") public String getFirstName() { return firstName; } + /** + * setFirstName. + **/ public void setFirstName(String firstName) { this.firstName = firstName; } + + /** + * fullName. + * + * @return Intermediary + **/ public Intermediary fullName(String fullName) { this.fullName = fullName; return this; } - /** - * + /** + * . * @return fullName - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getFullName() { return fullName; } + /** + * setFullName. + **/ public void setFullName(String fullName) { this.fullName = fullName; } + + /** + * idCheckConfigurationName. + * + * @return Intermediary + **/ public Intermediary idCheckConfigurationName(String idCheckConfigurationName) { this.idCheckConfigurationName = idCheckConfigurationName; return this; } - /** - * Specifies authentication check by name. The names used here must be the same as the authentication type names used by the account (these name can also be found in the web console sending interface in the Identify list for a recipient,) This overrides any default authentication setting. *Example*: Your account has ID Check and SMS Authentication available and in the web console Identify list these appear as 'ID Check $' and 'SMS Auth $'. To use ID check in an envelope, the idCheckConfigurationName should be 'ID Check '. If you wanted to use SMS, it would be 'SMS Auth $' and you would need to add you would need to add phone number information to the `smsAuthentication` node. + /** + * Specifies authentication check by name. The names used here must be the same as the authentication type names used by the account (these name can also be found in the web console sending interface in the Identify list for a recipient,) This overrides any default authentication setting. *Example*: Your account has ID Check and SMS Authentication available and in the web console Identify list these appear as 'ID Check $' and 'SMS Auth $'. To use ID check in an envelope, the idCheckConfigurationName should be 'ID Check '. If you wanted to use SMS, it would be 'SMS Auth $' and you would need to add you would need to add phone number information to the `smsAuthentication` node.. * @return idCheckConfigurationName - **/ - @ApiModelProperty(example = "null", value = "Specifies authentication check by name. The names used here must be the same as the authentication type names used by the account (these name can also be found in the web console sending interface in the Identify list for a recipient,) This overrides any default authentication setting. *Example*: Your account has ID Check and SMS Authentication available and in the web console Identify list these appear as 'ID Check $' and 'SMS Auth $'. To use ID check in an envelope, the idCheckConfigurationName should be 'ID Check '. If you wanted to use SMS, it would be 'SMS Auth $' and you would need to add you would need to add phone number information to the `smsAuthentication` node.") + **/ + @ApiModelProperty(value = "Specifies authentication check by name. The names used here must be the same as the authentication type names used by the account (these name can also be found in the web console sending interface in the Identify list for a recipient,) This overrides any default authentication setting. *Example*: Your account has ID Check and SMS Authentication available and in the web console Identify list these appear as 'ID Check $' and 'SMS Auth $'. To use ID check in an envelope, the idCheckConfigurationName should be 'ID Check '. If you wanted to use SMS, it would be 'SMS Auth $' and you would need to add you would need to add phone number information to the `smsAuthentication` node.") public String getIdCheckConfigurationName() { return idCheckConfigurationName; } + /** + * setIdCheckConfigurationName. + **/ public void setIdCheckConfigurationName(String idCheckConfigurationName) { this.idCheckConfigurationName = idCheckConfigurationName; } + + /** + * idCheckInformationInput. + * + * @return Intermediary + **/ public Intermediary idCheckInformationInput(IdCheckInformationInput idCheckInformationInput) { this.idCheckInformationInput = idCheckInformationInput; return this; } - /** - * Get idCheckInformationInput + /** + * Get idCheckInformationInput. * @return idCheckInformationInput - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public IdCheckInformationInput getIdCheckInformationInput() { return idCheckInformationInput; } + /** + * setIdCheckInformationInput. + **/ public void setIdCheckInformationInput(IdCheckInformationInput idCheckInformationInput) { this.idCheckInformationInput = idCheckInformationInput; } + + /** + * identityVerification. + * + * @return Intermediary + **/ + public Intermediary identityVerification(RecipientIdentityVerification identityVerification) { + this.identityVerification = identityVerification; + return this; + } + + /** + * Get identityVerification. + * @return identityVerification + **/ + @ApiModelProperty(value = "") + public RecipientIdentityVerification getIdentityVerification() { + return identityVerification; + } + + /** + * setIdentityVerification. + **/ + public void setIdentityVerification(RecipientIdentityVerification identityVerification) { + this.identityVerification = identityVerification; + } + + + /** + * inheritEmailNotificationConfiguration. + * + * @return Intermediary + **/ public Intermediary inheritEmailNotificationConfiguration(String inheritEmailNotificationConfiguration) { this.inheritEmailNotificationConfiguration = inheritEmailNotificationConfiguration; return this; } - /** - * When set to **true** and the envelope recipient creates a DocuSign account after signing, the Manage Account Email Notification settings are used as the default settings for the recipient's account. + /** + * When set to **true** and the envelope recipient creates a DocuSign account after signing, the Manage Account Email Notification settings are used as the default settings for the recipient's account. . * @return inheritEmailNotificationConfiguration - **/ - @ApiModelProperty(example = "null", value = "When set to **true** and the envelope recipient creates a DocuSign account after signing, the Manage Account Email Notification settings are used as the default settings for the recipient's account. ") + **/ + @ApiModelProperty(value = "When set to **true** and the envelope recipient creates a DocuSign account after signing, the Manage Account Email Notification settings are used as the default settings for the recipient's account. ") public String getInheritEmailNotificationConfiguration() { return inheritEmailNotificationConfiguration; } + /** + * setInheritEmailNotificationConfiguration. + **/ public void setInheritEmailNotificationConfiguration(String inheritEmailNotificationConfiguration) { this.inheritEmailNotificationConfiguration = inheritEmailNotificationConfiguration; } + + /** + * lastName. + * + * @return Intermediary + **/ public Intermediary lastName(String lastName) { this.lastName = lastName; return this; } - /** - * + /** + * . * @return lastName - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getLastName() { return lastName; } + /** + * setLastName. + **/ public void setLastName(String lastName) { this.lastName = lastName; } + + /** + * name. + * + * @return Intermediary + **/ public Intermediary name(String name) { this.name = name; return this; } - /** - * + /** + * . * @return name - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * note. + * + * @return Intermediary + **/ public Intermediary note(String note) { this.note = note; return this; } - /** - * Specifies a note that is unique to this recipient. This note is sent to the recipient via the signing email. The note displays in the signing UI near the upper left corner of the document on the signing screen. Maximum Length: 1000 characters. + /** + * Specifies a note that is unique to this recipient. This note is sent to the recipient via the signing email. The note displays in the signing UI near the upper left corner of the document on the signing screen. Maximum Length: 1000 characters.. * @return note - **/ - @ApiModelProperty(example = "null", value = "Specifies a note that is unique to this recipient. This note is sent to the recipient via the signing email. The note displays in the signing UI near the upper left corner of the document on the signing screen. Maximum Length: 1000 characters.") + **/ + @ApiModelProperty(value = "Specifies a note that is unique to this recipient. This note is sent to the recipient via the signing email. The note displays in the signing UI near the upper left corner of the document on the signing screen. Maximum Length: 1000 characters.") public String getNote() { return note; } + /** + * setNote. + **/ public void setNote(String note) { this.note = note; } + + /** + * phoneAuthentication. + * + * @return Intermediary + **/ public Intermediary phoneAuthentication(RecipientPhoneAuthentication phoneAuthentication) { this.phoneAuthentication = phoneAuthentication; return this; } - /** - * Get phoneAuthentication + /** + * Get phoneAuthentication. * @return phoneAuthentication - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public RecipientPhoneAuthentication getPhoneAuthentication() { return phoneAuthentication; } + /** + * setPhoneAuthentication. + **/ public void setPhoneAuthentication(RecipientPhoneAuthentication phoneAuthentication) { this.phoneAuthentication = phoneAuthentication; } + + /** + * recipientAttachments. + * + * @return Intermediary + **/ public Intermediary recipientAttachments(java.util.List recipientAttachments) { this.recipientAttachments = recipientAttachments; return this; } - + + /** + * addRecipientAttachmentsItem. + * + * @return Intermediary + **/ public Intermediary addRecipientAttachmentsItem(RecipientAttachment recipientAttachmentsItem) { + if (this.recipientAttachments == null) { + this.recipientAttachments = new java.util.ArrayList(); + } this.recipientAttachments.add(recipientAttachmentsItem); return this; } - /** - * Reserved: + /** + * Reserved:. * @return recipientAttachments - **/ - @ApiModelProperty(example = "null", value = "Reserved:") + **/ + @ApiModelProperty(value = "Reserved:") public java.util.List getRecipientAttachments() { return recipientAttachments; } + /** + * setRecipientAttachments. + **/ public void setRecipientAttachments(java.util.List recipientAttachments) { this.recipientAttachments = recipientAttachments; } + + /** + * recipientAuthenticationStatus. + * + * @return Intermediary + **/ public Intermediary recipientAuthenticationStatus(AuthenticationStatus recipientAuthenticationStatus) { this.recipientAuthenticationStatus = recipientAuthenticationStatus; return this; } - /** - * Get recipientAuthenticationStatus + /** + * Get recipientAuthenticationStatus. * @return recipientAuthenticationStatus - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public AuthenticationStatus getRecipientAuthenticationStatus() { return recipientAuthenticationStatus; } + /** + * setRecipientAuthenticationStatus. + **/ public void setRecipientAuthenticationStatus(AuthenticationStatus recipientAuthenticationStatus) { this.recipientAuthenticationStatus = recipientAuthenticationStatus; } + + /** + * recipientId. + * + * @return Intermediary + **/ public Intermediary recipientId(String recipientId) { this.recipientId = recipientId; return this; } - /** - * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document. + /** + * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.. * @return recipientId - **/ - @ApiModelProperty(example = "null", value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") + **/ + @ApiModelProperty(value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") public String getRecipientId() { return recipientId; } + /** + * setRecipientId. + **/ public void setRecipientId(String recipientId) { this.recipientId = recipientId; } + + /** + * recipientIdGuid. + * + * @return Intermediary + **/ public Intermediary recipientIdGuid(String recipientIdGuid) { this.recipientIdGuid = recipientIdGuid; return this; } - /** - * + /** + * . * @return recipientIdGuid - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getRecipientIdGuid() { return recipientIdGuid; } + /** + * setRecipientIdGuid. + **/ public void setRecipientIdGuid(String recipientIdGuid) { this.recipientIdGuid = recipientIdGuid; } + + /** + * requireIdLookup. + * + * @return Intermediary + **/ public Intermediary requireIdLookup(String requireIdLookup) { this.requireIdLookup = requireIdLookup; return this; } - /** - * When set to **true**, the recipient is required to use the specified ID check method (including Phone and SMS authentication) to validate their identity. + /** + * When set to **true**, the recipient is required to use the specified ID check method (including Phone and SMS authentication) to validate their identity. . * @return requireIdLookup - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the recipient is required to use the specified ID check method (including Phone and SMS authentication) to validate their identity. ") + **/ + @ApiModelProperty(value = "When set to **true**, the recipient is required to use the specified ID check method (including Phone and SMS authentication) to validate their identity. ") public String getRequireIdLookup() { return requireIdLookup; } + /** + * setRequireIdLookup. + **/ public void setRequireIdLookup(String requireIdLookup) { this.requireIdLookup = requireIdLookup; } + + /** + * roleName. + * + * @return Intermediary + **/ public Intermediary roleName(String roleName) { this.roleName = roleName; return this; } - /** - * Optional element. Specifies the role name associated with the recipient.

This is required when working with template recipients. + /** + * Optional element. Specifies the role name associated with the recipient.

This is required when working with template recipients.. * @return roleName - **/ - @ApiModelProperty(example = "null", value = "Optional element. Specifies the role name associated with the recipient.

This is required when working with template recipients.") + **/ + @ApiModelProperty(value = "Optional element. Specifies the role name associated with the recipient.

This is required when working with template recipients.") public String getRoleName() { return roleName; } + /** + * setRoleName. + **/ public void setRoleName(String roleName) { this.roleName = roleName; } + + /** + * routingOrder. + * + * @return Intermediary + **/ public Intermediary routingOrder(String routingOrder) { this.routingOrder = routingOrder; return this; } - /** - * Specifies the routing order of the recipient in the envelope. + /** + * Specifies the routing order of the recipient in the envelope. . * @return routingOrder - **/ - @ApiModelProperty(example = "null", value = "Specifies the routing order of the recipient in the envelope. ") + **/ + @ApiModelProperty(value = "Specifies the routing order of the recipient in the envelope. ") public String getRoutingOrder() { return routingOrder; } + /** + * setRoutingOrder. + **/ public void setRoutingOrder(String routingOrder) { this.routingOrder = routingOrder; } + + /** + * samlAuthentication. + * + * @return Intermediary + **/ public Intermediary samlAuthentication(RecipientSAMLAuthentication samlAuthentication) { this.samlAuthentication = samlAuthentication; return this; } - /** - * Get samlAuthentication + /** + * Get samlAuthentication. * @return samlAuthentication - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public RecipientSAMLAuthentication getSamlAuthentication() { return samlAuthentication; } + /** + * setSamlAuthentication. + **/ public void setSamlAuthentication(RecipientSAMLAuthentication samlAuthentication) { this.samlAuthentication = samlAuthentication; } + + /** + * sentDateTime. + * + * @return Intermediary + **/ public Intermediary sentDateTime(String sentDateTime) { this.sentDateTime = sentDateTime; return this; } - /** - * The date and time the envelope was sent. + /** + * The date and time the envelope was sent.. * @return sentDateTime - **/ - @ApiModelProperty(example = "null", value = "The date and time the envelope was sent.") + **/ + @ApiModelProperty(value = "The date and time the envelope was sent.") public String getSentDateTime() { return sentDateTime; } + /** + * setSentDateTime. + **/ public void setSentDateTime(String sentDateTime) { this.sentDateTime = sentDateTime; } + + /** + * signedDateTime. + * + * @return Intermediary + **/ public Intermediary signedDateTime(String signedDateTime) { this.signedDateTime = signedDateTime; return this; } - /** - * Reserved: For DocuSign use only. + /** + * Reserved: For DocuSign use only. . * @return signedDateTime - **/ - @ApiModelProperty(example = "null", value = "Reserved: For DocuSign use only. ") + **/ + @ApiModelProperty(value = "Reserved: For DocuSign use only. ") public String getSignedDateTime() { return signedDateTime; } + /** + * setSignedDateTime. + **/ public void setSignedDateTime(String signedDateTime) { this.signedDateTime = signedDateTime; } + + /** + * signingGroupId. + * + * @return Intermediary + **/ public Intermediary signingGroupId(String signingGroupId) { this.signingGroupId = signingGroupId; return this; } - /** - * When set to **true** and the feature is enabled in the sender's account, the signing recipient is required to draw signatures and initials at each signature/initial tab ( instead of adopting a signature/initial style or only drawing a signature/initial once). + /** + * When set to **true** and the feature is enabled in the sender's account, the signing recipient is required to draw signatures and initials at each signature/initial tab ( instead of adopting a signature/initial style or only drawing a signature/initial once).. * @return signingGroupId - **/ - @ApiModelProperty(example = "null", value = "When set to **true** and the feature is enabled in the sender's account, the signing recipient is required to draw signatures and initials at each signature/initial tab ( instead of adopting a signature/initial style or only drawing a signature/initial once).") + **/ + @ApiModelProperty(value = "When set to **true** and the feature is enabled in the sender's account, the signing recipient is required to draw signatures and initials at each signature/initial tab ( instead of adopting a signature/initial style or only drawing a signature/initial once).") public String getSigningGroupId() { return signingGroupId; } + /** + * setSigningGroupId. + **/ public void setSigningGroupId(String signingGroupId) { this.signingGroupId = signingGroupId; } + + /** + * signingGroupName. + * + * @return Intermediary + **/ public Intermediary signingGroupName(String signingGroupName) { this.signingGroupName = signingGroupName; return this; } - /** - * The display name for the signing group. Maximum Length: 100 characters. + /** + * The display name for the signing group. Maximum Length: 100 characters. . * @return signingGroupName - **/ - @ApiModelProperty(example = "null", value = "The display name for the signing group. Maximum Length: 100 characters. ") + **/ + @ApiModelProperty(value = "The display name for the signing group. Maximum Length: 100 characters. ") public String getSigningGroupName() { return signingGroupName; } + /** + * setSigningGroupName. + **/ public void setSigningGroupName(String signingGroupName) { this.signingGroupName = signingGroupName; } + + /** + * signingGroupUsers. + * + * @return Intermediary + **/ public Intermediary signingGroupUsers(java.util.List signingGroupUsers) { this.signingGroupUsers = signingGroupUsers; return this; } - + + /** + * addSigningGroupUsersItem. + * + * @return Intermediary + **/ public Intermediary addSigningGroupUsersItem(UserInfo signingGroupUsersItem) { + if (this.signingGroupUsers == null) { + this.signingGroupUsers = new java.util.ArrayList(); + } this.signingGroupUsers.add(signingGroupUsersItem); return this; } - /** - * A complex type that contains information about users in the signing group. + /** + * A complex type that contains information about users in the signing group.. * @return signingGroupUsers - **/ - @ApiModelProperty(example = "null", value = "A complex type that contains information about users in the signing group.") + **/ + @ApiModelProperty(value = "A complex type that contains information about users in the signing group.") public java.util.List getSigningGroupUsers() { return signingGroupUsers; } + /** + * setSigningGroupUsers. + **/ public void setSigningGroupUsers(java.util.List signingGroupUsers) { this.signingGroupUsers = signingGroupUsers; } + + /** + * smsAuthentication. + * + * @return Intermediary + **/ public Intermediary smsAuthentication(RecipientSMSAuthentication smsAuthentication) { this.smsAuthentication = smsAuthentication; return this; } - /** - * Get smsAuthentication + /** + * Get smsAuthentication. * @return smsAuthentication - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public RecipientSMSAuthentication getSmsAuthentication() { return smsAuthentication; } + /** + * setSmsAuthentication. + **/ public void setSmsAuthentication(RecipientSMSAuthentication smsAuthentication) { this.smsAuthentication = smsAuthentication; } + + /** + * socialAuthentications. + * + * @return Intermediary + **/ public Intermediary socialAuthentications(java.util.List socialAuthentications) { this.socialAuthentications = socialAuthentications; return this; } - + + /** + * addSocialAuthenticationsItem. + * + * @return Intermediary + **/ public Intermediary addSocialAuthenticationsItem(SocialAuthentication socialAuthenticationsItem) { + if (this.socialAuthentications == null) { + this.socialAuthentications = new java.util.ArrayList(); + } this.socialAuthentications.add(socialAuthenticationsItem); return this; } - /** - * Lists the social ID type that can be used for recipient authentication. + /** + * Lists the social ID type that can be used for recipient authentication.. * @return socialAuthentications - **/ - @ApiModelProperty(example = "null", value = " Lists the social ID type that can be used for recipient authentication.") + **/ + @ApiModelProperty(value = " Lists the social ID type that can be used for recipient authentication.") public java.util.List getSocialAuthentications() { return socialAuthentications; } + /** + * setSocialAuthentications. + **/ public void setSocialAuthentications(java.util.List socialAuthentications) { this.socialAuthentications = socialAuthentications; } + + /** + * status. + * + * @return Intermediary + **/ public Intermediary status(String status) { this.status = status; return this; } - /** - * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. + /** + * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.. * @return status - **/ - @ApiModelProperty(example = "null", value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") + **/ + @ApiModelProperty(value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") public String getStatus() { return status; } + /** + * setStatus. + **/ public void setStatus(String status) { this.status = status; } + + /** + * templateLocked. + * + * @return Intermediary + **/ public Intermediary templateLocked(String templateLocked) { this.templateLocked = templateLocked; return this; } - /** - * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. . * @return templateLocked - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") + **/ + @ApiModelProperty(value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") public String getTemplateLocked() { return templateLocked; } + /** + * setTemplateLocked. + **/ public void setTemplateLocked(String templateLocked) { this.templateLocked = templateLocked; } + + /** + * templateRequired. + * + * @return Intermediary + **/ public Intermediary templateRequired(String templateRequired) { this.templateRequired = templateRequired; return this; } - /** - * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.. * @return templateRequired - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") + **/ + @ApiModelProperty(value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") public String getTemplateRequired() { return templateRequired; } + /** + * setTemplateRequired. + **/ public void setTemplateRequired(String templateRequired) { this.templateRequired = templateRequired; } + + /** + * totalTabCount. + * + * @return Intermediary + **/ public Intermediary totalTabCount(String totalTabCount) { this.totalTabCount = totalTabCount; return this; } - /** - * + /** + * . * @return totalTabCount - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTotalTabCount() { return totalTabCount; } + /** + * setTotalTabCount. + **/ public void setTotalTabCount(String totalTabCount) { this.totalTabCount = totalTabCount; } + + /** + * userId. + * + * @return Intermediary + **/ public Intermediary userId(String userId) { this.userId = userId; return this; } - /** - * + /** + * . * @return userId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getUserId() { return userId; } + /** + * setUserId. + **/ public void setUserId(String userId) { this.userId = userId; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -1027,6 +1519,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.fullName, intermediary.fullName) && Objects.equals(this.idCheckConfigurationName, intermediary.idCheckConfigurationName) && Objects.equals(this.idCheckInformationInput, intermediary.idCheckInformationInput) && + Objects.equals(this.identityVerification, intermediary.identityVerification) && Objects.equals(this.inheritEmailNotificationConfiguration, intermediary.inheritEmailNotificationConfiguration) && Objects.equals(this.lastName, intermediary.lastName) && Objects.equals(this.name, intermediary.name) && @@ -1054,12 +1547,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.userId, intermediary.userId); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { - return Objects.hash(accessCode, addAccessCodeToEmail, clientUserId, customFields, declinedDateTime, declinedReason, deliveredDateTime, deliveryMethod, documentVisibility, email, emailNotification, emailRecipientPostSigningURL, embeddedRecipientStartURL, errorDetails, excludedDocuments, faxNumber, firstName, fullName, idCheckConfigurationName, idCheckInformationInput, inheritEmailNotificationConfiguration, lastName, name, note, phoneAuthentication, recipientAttachments, recipientAuthenticationStatus, recipientId, recipientIdGuid, requireIdLookup, roleName, routingOrder, samlAuthentication, sentDateTime, signedDateTime, signingGroupId, signingGroupName, signingGroupUsers, smsAuthentication, socialAuthentications, status, templateLocked, templateRequired, totalTabCount, userId); + return Objects.hash(accessCode, addAccessCodeToEmail, clientUserId, customFields, declinedDateTime, declinedReason, deliveredDateTime, deliveryMethod, documentVisibility, email, emailNotification, emailRecipientPostSigningURL, embeddedRecipientStartURL, errorDetails, excludedDocuments, faxNumber, firstName, fullName, idCheckConfigurationName, idCheckInformationInput, identityVerification, inheritEmailNotificationConfiguration, lastName, name, note, phoneAuthentication, recipientAttachments, recipientAuthenticationStatus, recipientId, recipientIdGuid, requireIdLookup, roleName, routingOrder, samlAuthentication, sentDateTime, signedDateTime, signingGroupId, signingGroupName, signingGroupUsers, smsAuthentication, socialAuthentications, status, templateLocked, templateRequired, totalTabCount, userId); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -1085,6 +1584,7 @@ public String toString() { sb.append(" fullName: ").append(toIndentedString(fullName)).append("\n"); sb.append(" idCheckConfigurationName: ").append(toIndentedString(idCheckConfigurationName)).append("\n"); sb.append(" idCheckInformationInput: ").append(toIndentedString(idCheckInformationInput)).append("\n"); + sb.append(" identityVerification: ").append(toIndentedString(identityVerification)).append("\n"); sb.append(" inheritEmailNotificationConfiguration: ").append(toIndentedString(inheritEmailNotificationConfiguration)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); @@ -1124,6 +1624,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/Jurisdiction.java b/src/main/java/com/docusign/esign/model/Jurisdiction.java index 6a8edf1a..8bc69cf4 100644 --- a/src/main/java/com/docusign/esign/model/Jurisdiction.java +++ b/src/main/java/com/docusign/esign/model/Jurisdiction.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Jurisdiction + * Jurisdiction. + * */ public class Jurisdiction { @@ -41,187 +44,282 @@ public class Jurisdiction { @JsonProperty("stateNameInSeal") private String stateNameInSeal = null; + + /** + * allowSystemCreatedSeal. + * + * @return Jurisdiction + **/ public Jurisdiction allowSystemCreatedSeal(String allowSystemCreatedSeal) { this.allowSystemCreatedSeal = allowSystemCreatedSeal; return this; } - /** - * + /** + * . * @return allowSystemCreatedSeal - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAllowSystemCreatedSeal() { return allowSystemCreatedSeal; } + /** + * setAllowSystemCreatedSeal. + **/ public void setAllowSystemCreatedSeal(String allowSystemCreatedSeal) { this.allowSystemCreatedSeal = allowSystemCreatedSeal; } + + /** + * allowUserUploadedSeal. + * + * @return Jurisdiction + **/ public Jurisdiction allowUserUploadedSeal(String allowUserUploadedSeal) { this.allowUserUploadedSeal = allowUserUploadedSeal; return this; } - /** - * + /** + * . * @return allowUserUploadedSeal - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAllowUserUploadedSeal() { return allowUserUploadedSeal; } + /** + * setAllowUserUploadedSeal. + **/ public void setAllowUserUploadedSeal(String allowUserUploadedSeal) { this.allowUserUploadedSeal = allowUserUploadedSeal; } + + /** + * commissionIdInSeal. + * + * @return Jurisdiction + **/ public Jurisdiction commissionIdInSeal(String commissionIdInSeal) { this.commissionIdInSeal = commissionIdInSeal; return this; } - /** - * + /** + * . * @return commissionIdInSeal - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getCommissionIdInSeal() { return commissionIdInSeal; } + /** + * setCommissionIdInSeal. + **/ public void setCommissionIdInSeal(String commissionIdInSeal) { this.commissionIdInSeal = commissionIdInSeal; } + + /** + * county. + * + * @return Jurisdiction + **/ public Jurisdiction county(String county) { this.county = county; return this; } - /** - * + /** + * . * @return county - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getCounty() { return county; } + /** + * setCounty. + **/ public void setCounty(String county) { this.county = county; } + + /** + * countyInSeal. + * + * @return Jurisdiction + **/ public Jurisdiction countyInSeal(String countyInSeal) { this.countyInSeal = countyInSeal; return this; } - /** - * + /** + * . * @return countyInSeal - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getCountyInSeal() { return countyInSeal; } + /** + * setCountyInSeal. + **/ public void setCountyInSeal(String countyInSeal) { this.countyInSeal = countyInSeal; } + + /** + * enabled. + * + * @return Jurisdiction + **/ public Jurisdiction enabled(String enabled) { this.enabled = enabled; return this; } - /** - * + /** + * . * @return enabled - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getEnabled() { return enabled; } + /** + * setEnabled. + **/ public void setEnabled(String enabled) { this.enabled = enabled; } + + /** + * jurisdictionId. + * + * @return Jurisdiction + **/ public Jurisdiction jurisdictionId(String jurisdictionId) { this.jurisdictionId = jurisdictionId; return this; } - /** - * + /** + * . * @return jurisdictionId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getJurisdictionId() { return jurisdictionId; } + /** + * setJurisdictionId. + **/ public void setJurisdictionId(String jurisdictionId) { this.jurisdictionId = jurisdictionId; } + + /** + * name. + * + * @return Jurisdiction + **/ public Jurisdiction name(String name) { this.name = name; return this; } - /** - * + /** + * . * @return name - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * notaryPublicInSeal. + * + * @return Jurisdiction + **/ public Jurisdiction notaryPublicInSeal(String notaryPublicInSeal) { this.notaryPublicInSeal = notaryPublicInSeal; return this; } - /** - * + /** + * . * @return notaryPublicInSeal - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getNotaryPublicInSeal() { return notaryPublicInSeal; } + /** + * setNotaryPublicInSeal. + **/ public void setNotaryPublicInSeal(String notaryPublicInSeal) { this.notaryPublicInSeal = notaryPublicInSeal; } + + /** + * stateNameInSeal. + * + * @return Jurisdiction + **/ public Jurisdiction stateNameInSeal(String stateNameInSeal) { this.stateNameInSeal = stateNameInSeal; return this; } - /** - * + /** + * . * @return stateNameInSeal - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getStateNameInSeal() { return stateNameInSeal; } + /** + * setStateNameInSeal. + **/ public void setStateNameInSeal(String stateNameInSeal) { this.stateNameInSeal = stateNameInSeal; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -243,12 +341,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.stateNameInSeal, jurisdiction.stateNameInSeal); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(allowSystemCreatedSeal, allowUserUploadedSeal, commissionIdInSeal, county, countyInSeal, enabled, jurisdictionId, name, notaryPublicInSeal, stateNameInSeal); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -278,6 +382,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/LastName.java b/src/main/java/com/docusign/esign/model/LastName.java index 6c44cdd5..0d647c11 100644 --- a/src/main/java/com/docusign/esign/model/LastName.java +++ b/src/main/java/com/docusign/esign/model/LastName.java @@ -1,15 +1,18 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ErrorDetails; import com.docusign.esign.model.MergeField; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * LastName + * LastName. + * */ public class LastName { @@ -83,7 +86,7 @@ public class LastName { private String status = null; @JsonProperty("tabGroupLabels") - private java.util.List tabGroupLabels = new java.util.ArrayList(); + private java.util.List tabGroupLabels = null; @JsonProperty("tabId") private String tabId = null; @@ -115,624 +118,943 @@ public class LastName { @JsonProperty("yPosition") private String yPosition = null; + + /** + * anchorCaseSensitive. + * + * @return LastName + **/ public LastName anchorCaseSensitive(String anchorCaseSensitive) { this.anchorCaseSensitive = anchorCaseSensitive; return this; } - /** - * When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**. + /** + * When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.. * @return anchorCaseSensitive - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.") + **/ + @ApiModelProperty(value = "When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.") public String getAnchorCaseSensitive() { return anchorCaseSensitive; } + /** + * setAnchorCaseSensitive. + **/ public void setAnchorCaseSensitive(String anchorCaseSensitive) { this.anchorCaseSensitive = anchorCaseSensitive; } + + /** + * anchorHorizontalAlignment. + * + * @return LastName + **/ public LastName anchorHorizontalAlignment(String anchorHorizontalAlignment) { this.anchorHorizontalAlignment = anchorHorizontalAlignment; return this; } - /** - * Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**. + /** + * Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.. * @return anchorHorizontalAlignment - **/ - @ApiModelProperty(example = "null", value = "Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.") + **/ + @ApiModelProperty(value = "Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.") public String getAnchorHorizontalAlignment() { return anchorHorizontalAlignment; } + /** + * setAnchorHorizontalAlignment. + **/ public void setAnchorHorizontalAlignment(String anchorHorizontalAlignment) { this.anchorHorizontalAlignment = anchorHorizontalAlignment; } + + /** + * anchorIgnoreIfNotPresent. + * + * @return LastName + **/ public LastName anchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { this.anchorIgnoreIfNotPresent = anchorIgnoreIfNotPresent; return this; } - /** - * When set to **true**, this tab is ignored if anchorString is not found in the document. + /** + * When set to **true**, this tab is ignored if anchorString is not found in the document.. * @return anchorIgnoreIfNotPresent - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, this tab is ignored if anchorString is not found in the document.") + **/ + @ApiModelProperty(value = "When set to **true**, this tab is ignored if anchorString is not found in the document.") public String getAnchorIgnoreIfNotPresent() { return anchorIgnoreIfNotPresent; } + /** + * setAnchorIgnoreIfNotPresent. + **/ public void setAnchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { this.anchorIgnoreIfNotPresent = anchorIgnoreIfNotPresent; } + + /** + * anchorMatchWholeWord. + * + * @return LastName + **/ public LastName anchorMatchWholeWord(String anchorMatchWholeWord) { this.anchorMatchWholeWord = anchorMatchWholeWord; return this; } - /** - * When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**. + /** + * When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.. * @return anchorMatchWholeWord - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.") + **/ + @ApiModelProperty(value = "When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.") public String getAnchorMatchWholeWord() { return anchorMatchWholeWord; } + /** + * setAnchorMatchWholeWord. + **/ public void setAnchorMatchWholeWord(String anchorMatchWholeWord) { this.anchorMatchWholeWord = anchorMatchWholeWord; } + + /** + * anchorString. + * + * @return LastName + **/ public LastName anchorString(String anchorString) { this.anchorString = anchorString; return this; } - /** - * Anchor text information for a radio button. + /** + * Anchor text information for a radio button.. * @return anchorString - **/ - @ApiModelProperty(example = "null", value = "Anchor text information for a radio button.") + **/ + @ApiModelProperty(value = "Anchor text information for a radio button.") public String getAnchorString() { return anchorString; } + /** + * setAnchorString. + **/ public void setAnchorString(String anchorString) { this.anchorString = anchorString; } + + /** + * anchorUnits. + * + * @return LastName + **/ public LastName anchorUnits(String anchorUnits) { this.anchorUnits = anchorUnits; return this; } - /** - * Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. + /** + * Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. * @return anchorUnits - **/ - @ApiModelProperty(example = "null", value = "Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.") + **/ + @ApiModelProperty(value = "Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.") public String getAnchorUnits() { return anchorUnits; } + /** + * setAnchorUnits. + **/ public void setAnchorUnits(String anchorUnits) { this.anchorUnits = anchorUnits; } + + /** + * anchorXOffset. + * + * @return LastName + **/ public LastName anchorXOffset(String anchorXOffset) { this.anchorXOffset = anchorXOffset; return this; } - /** - * Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString. + /** + * Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. * @return anchorXOffset - **/ - @ApiModelProperty(example = "null", value = "Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.") + **/ + @ApiModelProperty(value = "Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.") public String getAnchorXOffset() { return anchorXOffset; } + /** + * setAnchorXOffset. + **/ public void setAnchorXOffset(String anchorXOffset) { this.anchorXOffset = anchorXOffset; } + + /** + * anchorYOffset. + * + * @return LastName + **/ public LastName anchorYOffset(String anchorYOffset) { this.anchorYOffset = anchorYOffset; return this; } - /** - * Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString. + /** + * Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.. * @return anchorYOffset - **/ - @ApiModelProperty(example = "null", value = "Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.") + **/ + @ApiModelProperty(value = "Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.") public String getAnchorYOffset() { return anchorYOffset; } + /** + * setAnchorYOffset. + **/ public void setAnchorYOffset(String anchorYOffset) { this.anchorYOffset = anchorYOffset; } + + /** + * bold. + * + * @return LastName + **/ public LastName bold(String bold) { this.bold = bold; return this; } - /** - * When set to **true**, the information in the tab is bold. + /** + * When set to **true**, the information in the tab is bold.. * @return bold - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is bold.") + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is bold.") public String getBold() { return bold; } + /** + * setBold. + **/ public void setBold(String bold) { this.bold = bold; } + + /** + * conditionalParentLabel. + * + * @return LastName + **/ public LastName conditionalParentLabel(String conditionalParentLabel) { this.conditionalParentLabel = conditionalParentLabel; return this; } - /** - * For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility. + /** + * For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.. * @return conditionalParentLabel - **/ - @ApiModelProperty(example = "null", value = "For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.") + **/ + @ApiModelProperty(value = "For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.") public String getConditionalParentLabel() { return conditionalParentLabel; } + /** + * setConditionalParentLabel. + **/ public void setConditionalParentLabel(String conditionalParentLabel) { this.conditionalParentLabel = conditionalParentLabel; } + + /** + * conditionalParentValue. + * + * @return LastName + **/ public LastName conditionalParentValue(String conditionalParentValue) { this.conditionalParentValue = conditionalParentValue; return this; } - /** - * For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. + /** + * For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. . * @return conditionalParentValue - **/ - @ApiModelProperty(example = "null", value = "For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. ") + **/ + @ApiModelProperty(value = "For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. ") public String getConditionalParentValue() { return conditionalParentValue; } + /** + * setConditionalParentValue. + **/ public void setConditionalParentValue(String conditionalParentValue) { this.conditionalParentValue = conditionalParentValue; } + + /** + * customTabId. + * + * @return LastName + **/ public LastName customTabId(String customTabId) { this.customTabId = customTabId; return this; } - /** - * The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties. + /** + * The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.. * @return customTabId - **/ - @ApiModelProperty(example = "null", value = "The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.") + **/ + @ApiModelProperty(value = "The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.") public String getCustomTabId() { return customTabId; } + /** + * setCustomTabId. + **/ public void setCustomTabId(String customTabId) { this.customTabId = customTabId; } + + /** + * documentId. + * + * @return LastName + **/ public LastName documentId(String documentId) { this.documentId = documentId; return this; } - /** - * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute. + /** + * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.. * @return documentId - **/ - @ApiModelProperty(example = "null", value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") + **/ + @ApiModelProperty(value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") public String getDocumentId() { return documentId; } + /** + * setDocumentId. + **/ public void setDocumentId(String documentId) { this.documentId = documentId; } + + /** + * errorDetails. + * + * @return LastName + **/ public LastName errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * font. + * + * @return LastName + **/ public LastName font(String font) { this.font = font; return this; } - /** - * The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default. + /** + * The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.. * @return font - **/ - @ApiModelProperty(example = "null", value = "The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.") + **/ + @ApiModelProperty(value = "The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.") public String getFont() { return font; } + /** + * setFont. + **/ public void setFont(String font) { this.font = font; } + + /** + * fontColor. + * + * @return LastName + **/ public LastName fontColor(String fontColor) { this.fontColor = fontColor; return this; } - /** - * The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White. + /** + * The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.. * @return fontColor - **/ - @ApiModelProperty(example = "null", value = "The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.") + **/ + @ApiModelProperty(value = "The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.") public String getFontColor() { return fontColor; } + /** + * setFontColor. + **/ public void setFontColor(String fontColor) { this.fontColor = fontColor; } + + /** + * fontSize. + * + * @return LastName + **/ public LastName fontSize(String fontSize) { this.fontSize = fontSize; return this; } - /** - * The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72. + /** + * The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.. * @return fontSize - **/ - @ApiModelProperty(example = "null", value = "The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.") + **/ + @ApiModelProperty(value = "The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.") public String getFontSize() { return fontSize; } + /** + * setFontSize. + **/ public void setFontSize(String fontSize) { this.fontSize = fontSize; } + + /** + * italic. + * + * @return LastName + **/ public LastName italic(String italic) { this.italic = italic; return this; } - /** - * When set to **true**, the information in the tab is italic. + /** + * When set to **true**, the information in the tab is italic.. * @return italic - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is italic.") + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is italic.") public String getItalic() { return italic; } + /** + * setItalic. + **/ public void setItalic(String italic) { this.italic = italic; } + + /** + * mergeField. + * + * @return LastName + **/ public LastName mergeField(MergeField mergeField) { this.mergeField = mergeField; return this; } - /** - * Get mergeField + /** + * Get mergeField. * @return mergeField - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public MergeField getMergeField() { return mergeField; } + /** + * setMergeField. + **/ public void setMergeField(MergeField mergeField) { this.mergeField = mergeField; } + + /** + * name. + * + * @return LastName + **/ public LastName name(String name) { this.name = name; return this; } - /** - * + /** + * . * @return name - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * pageNumber. + * + * @return LastName + **/ public LastName pageNumber(String pageNumber) { this.pageNumber = pageNumber; return this; } - /** - * Specifies the page number on which the tab is located. + /** + * Specifies the page number on which the tab is located.. * @return pageNumber - **/ - @ApiModelProperty(example = "null", value = "Specifies the page number on which the tab is located.") + **/ + @ApiModelProperty(value = "Specifies the page number on which the tab is located.") public String getPageNumber() { return pageNumber; } + /** + * setPageNumber. + **/ public void setPageNumber(String pageNumber) { this.pageNumber = pageNumber; } + + /** + * recipientId. + * + * @return LastName + **/ public LastName recipientId(String recipientId) { this.recipientId = recipientId; return this; } - /** - * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document. + /** + * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.. * @return recipientId - **/ - @ApiModelProperty(example = "null", value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") + **/ + @ApiModelProperty(value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") public String getRecipientId() { return recipientId; } + /** + * setRecipientId. + **/ public void setRecipientId(String recipientId) { this.recipientId = recipientId; } + + /** + * status. + * + * @return LastName + **/ public LastName status(String status) { this.status = status; return this; } - /** - * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. + /** + * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.. * @return status - **/ - @ApiModelProperty(example = "null", value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") + **/ + @ApiModelProperty(value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") public String getStatus() { return status; } + /** + * setStatus. + **/ public void setStatus(String status) { this.status = status; } + + /** + * tabGroupLabels. + * + * @return LastName + **/ public LastName tabGroupLabels(java.util.List tabGroupLabels) { this.tabGroupLabels = tabGroupLabels; return this; } - + + /** + * addTabGroupLabelsItem. + * + * @return LastName + **/ public LastName addTabGroupLabelsItem(String tabGroupLabelsItem) { + if (this.tabGroupLabels == null) { + this.tabGroupLabels = new java.util.ArrayList(); + } this.tabGroupLabels.add(tabGroupLabelsItem); return this; } - /** - * + /** + * . * @return tabGroupLabels - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getTabGroupLabels() { return tabGroupLabels; } + /** + * setTabGroupLabels. + **/ public void setTabGroupLabels(java.util.List tabGroupLabels) { this.tabGroupLabels = tabGroupLabels; } + + /** + * tabId. + * + * @return LastName + **/ public LastName tabId(String tabId) { this.tabId = tabId; return this; } - /** - * The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. + /** + * The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. . * @return tabId - **/ - @ApiModelProperty(example = "null", value = "The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. ") + **/ + @ApiModelProperty(value = "The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. ") public String getTabId() { return tabId; } + /** + * setTabId. + **/ public void setTabId(String tabId) { this.tabId = tabId; } + + /** + * tabLabel. + * + * @return LastName + **/ public LastName tabLabel(String tabLabel) { this.tabLabel = tabLabel; return this; } - /** - * The label string associated with the tab. + /** + * The label string associated with the tab.. * @return tabLabel - **/ - @ApiModelProperty(example = "null", value = "The label string associated with the tab.") + **/ + @ApiModelProperty(value = "The label string associated with the tab.") public String getTabLabel() { return tabLabel; } + /** + * setTabLabel. + **/ public void setTabLabel(String tabLabel) { this.tabLabel = tabLabel; } + + /** + * tabOrder. + * + * @return LastName + **/ public LastName tabOrder(String tabOrder) { this.tabOrder = tabOrder; return this; } - /** - * + /** + * . * @return tabOrder - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTabOrder() { return tabOrder; } + /** + * setTabOrder. + **/ public void setTabOrder(String tabOrder) { this.tabOrder = tabOrder; } + + /** + * templateLocked. + * + * @return LastName + **/ public LastName templateLocked(String templateLocked) { this.templateLocked = templateLocked; return this; } - /** - * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. . * @return templateLocked - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") + **/ + @ApiModelProperty(value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") public String getTemplateLocked() { return templateLocked; } + /** + * setTemplateLocked. + **/ public void setTemplateLocked(String templateLocked) { this.templateLocked = templateLocked; } + + /** + * templateRequired. + * + * @return LastName + **/ public LastName templateRequired(String templateRequired) { this.templateRequired = templateRequired; return this; } - /** - * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.. * @return templateRequired - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") + **/ + @ApiModelProperty(value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") public String getTemplateRequired() { return templateRequired; } + /** + * setTemplateRequired. + **/ public void setTemplateRequired(String templateRequired) { this.templateRequired = templateRequired; } + + /** + * tooltip. + * + * @return LastName + **/ public LastName tooltip(String tooltip) { this.tooltip = tooltip; return this; } - /** - * + /** + * . * @return tooltip - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTooltip() { return tooltip; } + /** + * setTooltip. + **/ public void setTooltip(String tooltip) { this.tooltip = tooltip; } + + /** + * underline. + * + * @return LastName + **/ public LastName underline(String underline) { this.underline = underline; return this; } - /** - * When set to **true**, the information in the tab is underlined. + /** + * When set to **true**, the information in the tab is underlined.. * @return underline - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is underlined.") + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is underlined.") public String getUnderline() { return underline; } + /** + * setUnderline. + **/ public void setUnderline(String underline) { this.underline = underline; } + + /** + * value. + * + * @return LastName + **/ public LastName value(String value) { this.value = value; return this; } - /** - * Specifies the value of the tab. + /** + * Specifies the value of the tab. . * @return value - **/ - @ApiModelProperty(example = "null", value = "Specifies the value of the tab. ") + **/ + @ApiModelProperty(value = "Specifies the value of the tab. ") public String getValue() { return value; } + /** + * setValue. + **/ public void setValue(String value) { this.value = value; } + + /** + * xPosition. + * + * @return LastName + **/ public LastName xPosition(String xPosition) { this.xPosition = xPosition; return this; } - /** - * This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position. + /** + * This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.. * @return xPosition - **/ - @ApiModelProperty(example = "null", value = "This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.") + **/ + @ApiModelProperty(value = "This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.") public String getXPosition() { return xPosition; } + /** + * setXPosition. + **/ public void setXPosition(String xPosition) { this.xPosition = xPosition; } + + /** + * yPosition. + * + * @return LastName + **/ public LastName yPosition(String yPosition) { this.yPosition = yPosition; return this; } - /** - * This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position. + /** + * This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. * @return yPosition - **/ - @ApiModelProperty(example = "null", value = "This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.") + **/ + @ApiModelProperty(value = "This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.") public String getYPosition() { return yPosition; } + /** + * setYPosition. + **/ public void setYPosition(String yPosition) { this.yPosition = yPosition; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -778,12 +1100,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.yPosition, lastName.yPosition); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(anchorCaseSensitive, anchorHorizontalAlignment, anchorIgnoreIfNotPresent, anchorMatchWholeWord, anchorString, anchorUnits, anchorXOffset, anchorYOffset, bold, conditionalParentLabel, conditionalParentValue, customTabId, documentId, errorDetails, font, fontColor, fontSize, italic, mergeField, name, pageNumber, recipientId, status, tabGroupLabels, tabId, tabLabel, tabOrder, templateLocked, templateRequired, tooltip, underline, value, xPosition, yPosition); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -837,6 +1165,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/List.java b/src/main/java/com/docusign/esign/model/List.java index 65aa327b..20c4eddf 100644 --- a/src/main/java/com/docusign/esign/model/List.java +++ b/src/main/java/com/docusign/esign/model/List.java @@ -1,11 +1,13 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ErrorDetails; import com.docusign.esign.model.ListItem; import com.docusign.esign.model.MergeField; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; @@ -69,7 +71,7 @@ public class List { private String italic = null; @JsonProperty("listItems") - private java.util.List listItems = new java.util.ArrayList(); + private java.util.List listItems = null; @JsonProperty("locked") private String locked = null; @@ -102,7 +104,7 @@ public class List { private String status = null; @JsonProperty("tabGroupLabels") - private java.util.List tabGroupLabels = new java.util.ArrayList(); + private java.util.List tabGroupLabels = null; @JsonProperty("tabId") private String tabId = null; @@ -146,7 +148,7 @@ public List anchorCaseSensitive(String anchorCaseSensitive) { * When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**. * @return anchorCaseSensitive **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.") + @ApiModelProperty(value = "When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.") public String getAnchorCaseSensitive() { return anchorCaseSensitive; } @@ -164,7 +166,7 @@ public List anchorHorizontalAlignment(String anchorHorizontalAlignment) { * Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**. * @return anchorHorizontalAlignment **/ - @ApiModelProperty(example = "null", value = "Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.") + @ApiModelProperty(value = "Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.") public String getAnchorHorizontalAlignment() { return anchorHorizontalAlignment; } @@ -182,7 +184,7 @@ public List anchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { * When set to **true**, this tab is ignored if anchorString is not found in the document. * @return anchorIgnoreIfNotPresent **/ - @ApiModelProperty(example = "null", value = "When set to **true**, this tab is ignored if anchorString is not found in the document.") + @ApiModelProperty(value = "When set to **true**, this tab is ignored if anchorString is not found in the document.") public String getAnchorIgnoreIfNotPresent() { return anchorIgnoreIfNotPresent; } @@ -200,7 +202,7 @@ public List anchorMatchWholeWord(String anchorMatchWholeWord) { * When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**. * @return anchorMatchWholeWord **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.") + @ApiModelProperty(value = "When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.") public String getAnchorMatchWholeWord() { return anchorMatchWholeWord; } @@ -218,7 +220,7 @@ public List anchorString(String anchorString) { * Anchor text information for a radio button. * @return anchorString **/ - @ApiModelProperty(example = "null", value = "Anchor text information for a radio button.") + @ApiModelProperty(value = "Anchor text information for a radio button.") public String getAnchorString() { return anchorString; } @@ -236,7 +238,7 @@ public List anchorUnits(String anchorUnits) { * Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. * @return anchorUnits **/ - @ApiModelProperty(example = "null", value = "Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.") + @ApiModelProperty(value = "Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.") public String getAnchorUnits() { return anchorUnits; } @@ -254,7 +256,7 @@ public List anchorXOffset(String anchorXOffset) { * Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString. * @return anchorXOffset **/ - @ApiModelProperty(example = "null", value = "Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.") + @ApiModelProperty(value = "Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.") public String getAnchorXOffset() { return anchorXOffset; } @@ -272,7 +274,7 @@ public List anchorYOffset(String anchorYOffset) { * Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString. * @return anchorYOffset **/ - @ApiModelProperty(example = "null", value = "Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.") + @ApiModelProperty(value = "Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.") public String getAnchorYOffset() { return anchorYOffset; } @@ -290,7 +292,7 @@ public List bold(String bold) { * When set to **true**, the information in the tab is bold. * @return bold **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is bold.") + @ApiModelProperty(value = "When set to **true**, the information in the tab is bold.") public String getBold() { return bold; } @@ -308,7 +310,7 @@ public List conditionalParentLabel(String conditionalParentLabel) { * For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility. * @return conditionalParentLabel **/ - @ApiModelProperty(example = "null", value = "For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.") + @ApiModelProperty(value = "For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.") public String getConditionalParentLabel() { return conditionalParentLabel; } @@ -326,7 +328,7 @@ public List conditionalParentValue(String conditionalParentValue) { * For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. * @return conditionalParentValue **/ - @ApiModelProperty(example = "null", value = "For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. ") + @ApiModelProperty(value = "For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. ") public String getConditionalParentValue() { return conditionalParentValue; } @@ -344,7 +346,7 @@ public List customTabId(String customTabId) { * The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties. * @return customTabId **/ - @ApiModelProperty(example = "null", value = "The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.") + @ApiModelProperty(value = "The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.") public String getCustomTabId() { return customTabId; } @@ -362,7 +364,7 @@ public List documentId(String documentId) { * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute. * @return documentId **/ - @ApiModelProperty(example = "null", value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") + @ApiModelProperty(value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") public String getDocumentId() { return documentId; } @@ -380,7 +382,7 @@ public List errorDetails(ErrorDetails errorDetails) { * Get errorDetails * @return errorDetails **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } @@ -398,7 +400,7 @@ public List font(String font) { * The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default. * @return font **/ - @ApiModelProperty(example = "null", value = "The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.") + @ApiModelProperty(value = "The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.") public String getFont() { return font; } @@ -416,7 +418,7 @@ public List fontColor(String fontColor) { * The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White. * @return fontColor **/ - @ApiModelProperty(example = "null", value = "The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.") + @ApiModelProperty(value = "The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.") public String getFontColor() { return fontColor; } @@ -434,7 +436,7 @@ public List fontSize(String fontSize) { * The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72. * @return fontSize **/ - @ApiModelProperty(example = "null", value = "The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.") + @ApiModelProperty(value = "The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.") public String getFontSize() { return fontSize; } @@ -452,7 +454,7 @@ public List italic(String italic) { * When set to **true**, the information in the tab is italic. * @return italic **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is italic.") + @ApiModelProperty(value = "When set to **true**, the information in the tab is italic.") public String getItalic() { return italic; } @@ -467,6 +469,9 @@ public List listItems(java.util.List listItems) { } public List addListItemsItem(ListItem listItemsItem) { + if (this.listItems == null) { + this.listItems = new java.util.ArrayList(); + } this.listItems.add(listItemsItem); return this; } @@ -475,7 +480,7 @@ public List addListItemsItem(ListItem listItemsItem) { * The list of values that can be selected by senders. The list values are separated by semi-colons. Example: [one;two;three;four] Maximum Length of listItems: 2048 characters. Maximum Length of items in the list: 100 characters. * @return listItems **/ - @ApiModelProperty(example = "null", value = "The list of values that can be selected by senders. The list values are separated by semi-colons. Example: [one;two;three;four] Maximum Length of listItems: 2048 characters. Maximum Length of items in the list: 100 characters. ") + @ApiModelProperty(value = "The list of values that can be selected by senders. The list values are separated by semi-colons. Example: [one;two;three;four] Maximum Length of listItems: 2048 characters. Maximum Length of items in the list: 100 characters. ") public java.util.List getListItems() { return listItems; } @@ -493,7 +498,7 @@ public List locked(String locked) { * When set to **true**, the signer cannot change the data of the custom tab. * @return locked **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the signer cannot change the data of the custom tab.") + @ApiModelProperty(value = "When set to **true**, the signer cannot change the data of the custom tab.") public String getLocked() { return locked; } @@ -511,7 +516,7 @@ public List mergeField(MergeField mergeField) { * Get mergeField * @return mergeField **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public MergeField getMergeField() { return mergeField; } @@ -529,7 +534,7 @@ public List pageNumber(String pageNumber) { * Specifies the page number on which the tab is located. * @return pageNumber **/ - @ApiModelProperty(example = "null", value = "Specifies the page number on which the tab is located.") + @ApiModelProperty(value = "Specifies the page number on which the tab is located.") public String getPageNumber() { return pageNumber; } @@ -547,7 +552,7 @@ public List recipientId(String recipientId) { * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document. * @return recipientId **/ - @ApiModelProperty(example = "null", value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") + @ApiModelProperty(value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") public String getRecipientId() { return recipientId; } @@ -565,7 +570,7 @@ public List requireAll(String requireAll) { * When set to **true** and shared is true, information must be entered in this field to complete the envelope. * @return requireAll **/ - @ApiModelProperty(example = "null", value = "When set to **true** and shared is true, information must be entered in this field to complete the envelope. ") + @ApiModelProperty(value = "When set to **true** and shared is true, information must be entered in this field to complete the envelope. ") public String getRequireAll() { return requireAll; } @@ -583,7 +588,7 @@ public List required(String required) { * When set to **true**, the signer is required to fill out this tab * @return required **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the signer is required to fill out this tab") + @ApiModelProperty(value = "When set to **true**, the signer is required to fill out this tab") public String getRequired() { return required; } @@ -601,7 +606,7 @@ public List requireInitialOnSharedChange(String requireInitialOnSharedChange) { * Optional element for field markup. When set to **true**, the signer is required to initial when they modify a shared field. * @return requireInitialOnSharedChange **/ - @ApiModelProperty(example = "null", value = "Optional element for field markup. When set to **true**, the signer is required to initial when they modify a shared field.") + @ApiModelProperty(value = "Optional element for field markup. When set to **true**, the signer is required to initial when they modify a shared field.") public String getRequireInitialOnSharedChange() { return requireInitialOnSharedChange; } @@ -619,7 +624,7 @@ public List senderRequired(String senderRequired) { * When set to **true**, the sender must populate the tab before an envelope can be sent using the template. This value tab can only be changed by modifying (PUT) the template. Tabs with a `senderRequired` value of true cannot be deleted from an envelope. * @return senderRequired **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender must populate the tab before an envelope can be sent using the template. This value tab can only be changed by modifying (PUT) the template. Tabs with a `senderRequired` value of true cannot be deleted from an envelope.") + @ApiModelProperty(value = "When set to **true**, the sender must populate the tab before an envelope can be sent using the template. This value tab can only be changed by modifying (PUT) the template. Tabs with a `senderRequired` value of true cannot be deleted from an envelope.") public String getSenderRequired() { return senderRequired; } @@ -637,7 +642,7 @@ public List shared(String shared) { * When set to **true**, this custom tab is shared. * @return shared **/ - @ApiModelProperty(example = "null", value = "When set to **true**, this custom tab is shared.") + @ApiModelProperty(value = "When set to **true**, this custom tab is shared.") public String getShared() { return shared; } @@ -655,7 +660,7 @@ public List status(String status) { * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. * @return status **/ - @ApiModelProperty(example = "null", value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") + @ApiModelProperty(value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") public String getStatus() { return status; } @@ -670,6 +675,9 @@ public List tabGroupLabels(java.util.List tabGroupLabels) { } public List addTabGroupLabelsItem(String tabGroupLabelsItem) { + if (this.tabGroupLabels == null) { + this.tabGroupLabels = new java.util.ArrayList(); + } this.tabGroupLabels.add(tabGroupLabelsItem); return this; } @@ -678,7 +686,7 @@ public List addTabGroupLabelsItem(String tabGroupLabelsItem) { * * @return tabGroupLabels **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public java.util.List getTabGroupLabels() { return tabGroupLabels; } @@ -696,7 +704,7 @@ public List tabId(String tabId) { * The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. * @return tabId **/ - @ApiModelProperty(example = "null", value = "The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. ") + @ApiModelProperty(value = "The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. ") public String getTabId() { return tabId; } @@ -714,7 +722,7 @@ public List tabLabel(String tabLabel) { * The label string associated with the tab. * @return tabLabel **/ - @ApiModelProperty(example = "null", value = "The label string associated with the tab.") + @ApiModelProperty(value = "The label string associated with the tab.") public String getTabLabel() { return tabLabel; } @@ -732,7 +740,7 @@ public List tabOrder(String tabOrder) { * * @return tabOrder **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public String getTabOrder() { return tabOrder; } @@ -750,7 +758,7 @@ public List templateLocked(String templateLocked) { * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. * @return templateLocked **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") + @ApiModelProperty(value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") public String getTemplateLocked() { return templateLocked; } @@ -768,7 +776,7 @@ public List templateRequired(String templateRequired) { * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients. * @return templateRequired **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") + @ApiModelProperty(value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") public String getTemplateRequired() { return templateRequired; } @@ -786,7 +794,7 @@ public List tooltip(String tooltip) { * * @return tooltip **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public String getTooltip() { return tooltip; } @@ -804,7 +812,7 @@ public List underline(String underline) { * When set to **true**, the information in the tab is underlined. * @return underline **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is underlined.") + @ApiModelProperty(value = "When set to **true**, the information in the tab is underlined.") public String getUnderline() { return underline; } @@ -822,7 +830,7 @@ public List value(String value) { * The value to use when the item is selected. * @return value **/ - @ApiModelProperty(example = "null", value = "The value to use when the item is selected.") + @ApiModelProperty(value = "The value to use when the item is selected.") public String getValue() { return value; } @@ -840,7 +848,7 @@ public List width(Integer width) { * Width of the tab in pixels. * @return width **/ - @ApiModelProperty(example = "null", value = "Width of the tab in pixels.") + @ApiModelProperty(value = "Width of the tab in pixels.") public Integer getWidth() { return width; } @@ -858,7 +866,7 @@ public List xPosition(String xPosition) { * This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position. * @return xPosition **/ - @ApiModelProperty(example = "null", value = "This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.") + @ApiModelProperty(value = "This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.") public String getXPosition() { return xPosition; } @@ -876,7 +884,7 @@ public List yPosition(String yPosition) { * This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position. * @return yPosition **/ - @ApiModelProperty(example = "null", value = "This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.") + @ApiModelProperty(value = "This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.") public String getYPosition() { return yPosition; } @@ -1004,6 +1012,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/ListCustomField.java b/src/main/java/com/docusign/esign/model/ListCustomField.java index f265f5e8..bb4ae836 100644 --- a/src/main/java/com/docusign/esign/model/ListCustomField.java +++ b/src/main/java/com/docusign/esign/model/ListCustomField.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ErrorDetails; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * ListCustomField + * ListCustomField. + * */ public class ListCustomField { @@ -22,7 +25,7 @@ public class ListCustomField { private String fieldId = null; @JsonProperty("listItems") - private java.util.List listItems = new java.util.ArrayList(); + private java.util.List listItems = null; @JsonProperty("name") private String name = null; @@ -36,156 +39,241 @@ public class ListCustomField { @JsonProperty("value") private String value = null; + + /** + * configurationType. + * + * @return ListCustomField + **/ public ListCustomField configurationType(String configurationType) { this.configurationType = configurationType; return this; } - /** - * If merge field's are being used, specifies the type of the merge field. The only supported value is **salesforce**. + /** + * If merge field's are being used, specifies the type of the merge field. The only supported value is **salesforce**.. * @return configurationType - **/ - @ApiModelProperty(example = "null", value = "If merge field's are being used, specifies the type of the merge field. The only supported value is **salesforce**.") + **/ + @ApiModelProperty(value = "If merge field's are being used, specifies the type of the merge field. The only supported value is **salesforce**.") public String getConfigurationType() { return configurationType; } + /** + * setConfigurationType. + **/ public void setConfigurationType(String configurationType) { this.configurationType = configurationType; } + + /** + * errorDetails. + * + * @return ListCustomField + **/ public ListCustomField errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * fieldId. + * + * @return ListCustomField + **/ public ListCustomField fieldId(String fieldId) { this.fieldId = fieldId; return this; } - /** - * An ID used to specify a custom field. + /** + * An ID used to specify a custom field.. * @return fieldId - **/ - @ApiModelProperty(example = "null", value = "An ID used to specify a custom field.") + **/ + @ApiModelProperty(value = "An ID used to specify a custom field.") public String getFieldId() { return fieldId; } + /** + * setFieldId. + **/ public void setFieldId(String fieldId) { this.fieldId = fieldId; } + + /** + * listItems. + * + * @return ListCustomField + **/ public ListCustomField listItems(java.util.List listItems) { this.listItems = listItems; return this; } - + + /** + * addListItemsItem. + * + * @return ListCustomField + **/ public ListCustomField addListItemsItem(String listItemsItem) { + if (this.listItems == null) { + this.listItems = new java.util.ArrayList(); + } this.listItems.add(listItemsItem); return this; } - /** - * + /** + * . * @return listItems - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getListItems() { return listItems; } + /** + * setListItems. + **/ public void setListItems(java.util.List listItems) { this.listItems = listItems; } + + /** + * name. + * + * @return ListCustomField + **/ public ListCustomField name(String name) { this.name = name; return this; } - /** - * The name of the custom field. + /** + * The name of the custom field.. * @return name - **/ - @ApiModelProperty(example = "null", value = "The name of the custom field.") + **/ + @ApiModelProperty(value = "The name of the custom field.") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * required. + * + * @return ListCustomField + **/ public ListCustomField required(String required) { this.required = required; return this; } - /** - * When set to **true**, the signer is required to fill out this tab + /** + * When set to **true**, the signer is required to fill out this tab. * @return required - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the signer is required to fill out this tab") + **/ + @ApiModelProperty(value = "When set to **true**, the signer is required to fill out this tab") public String getRequired() { return required; } + /** + * setRequired. + **/ public void setRequired(String required) { this.required = required; } + + /** + * show. + * + * @return ListCustomField + **/ public ListCustomField show(String show) { this.show = show; return this; } - /** - * A boolean indicating if the value should be displayed. + /** + * A boolean indicating if the value should be displayed.. * @return show - **/ - @ApiModelProperty(example = "null", value = "A boolean indicating if the value should be displayed.") + **/ + @ApiModelProperty(value = "A boolean indicating if the value should be displayed.") public String getShow() { return show; } + /** + * setShow. + **/ public void setShow(String show) { this.show = show; } + + /** + * value. + * + * @return ListCustomField + **/ public ListCustomField value(String value) { this.value = value; return this; } - /** - * The value of the custom field. Maximum Length: 100 characters. + /** + * The value of the custom field. Maximum Length: 100 characters.. * @return value - **/ - @ApiModelProperty(example = "null", value = "The value of the custom field. Maximum Length: 100 characters.") + **/ + @ApiModelProperty(value = "The value of the custom field. Maximum Length: 100 characters.") public String getValue() { return value; } + /** + * setValue. + **/ public void setValue(String value) { this.value = value; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -205,12 +293,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.value, listCustomField.value); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(configurationType, errorDetails, fieldId, listItems, name, required, show, value); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -238,6 +332,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/ListItem.java b/src/main/java/com/docusign/esign/model/ListItem.java index 453dadb9..36fbeca1 100644 --- a/src/main/java/com/docusign/esign/model/ListItem.java +++ b/src/main/java/com/docusign/esign/model/ListItem.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * ListItem + * ListItem. + * */ public class ListItem { @@ -20,61 +23,93 @@ public class ListItem { @JsonProperty("value") private String value = null; + + /** + * selected. + * + * @return ListItem + **/ public ListItem selected(String selected) { this.selected = selected; return this; } - /** - * When set to **true**, indicates that this item is the default selection shown to a signer. Only one selection can be set as the default. + /** + * When set to **true**, indicates that this item is the default selection shown to a signer. Only one selection can be set as the default.. * @return selected - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, indicates that this item is the default selection shown to a signer. Only one selection can be set as the default.") + **/ + @ApiModelProperty(value = "When set to **true**, indicates that this item is the default selection shown to a signer. Only one selection can be set as the default.") public String getSelected() { return selected; } + /** + * setSelected. + **/ public void setSelected(String selected) { this.selected = selected; } + + /** + * text. + * + * @return ListItem + **/ public ListItem text(String text) { this.text = text; return this; } - /** - * Specifies the text that is shown in the dropdown list. + /** + * Specifies the text that is shown in the dropdown list. . * @return text - **/ - @ApiModelProperty(example = "null", value = "Specifies the text that is shown in the dropdown list. ") + **/ + @ApiModelProperty(value = "Specifies the text that is shown in the dropdown list. ") public String getText() { return text; } + /** + * setText. + **/ public void setText(String text) { this.text = text; } + + /** + * value. + * + * @return ListItem + **/ public ListItem value(String value) { this.value = value; return this; } - /** - * Specifies the value that is used when the list item is selected. + /** + * Specifies the value that is used when the list item is selected.. * @return value - **/ - @ApiModelProperty(example = "null", value = "Specifies the value that is used when the list item is selected.") + **/ + @ApiModelProperty(value = "Specifies the value that is used when the list item is selected.") public String getValue() { return value; } + /** + * setValue. + **/ public void setValue(String value) { this.value = value; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -89,12 +124,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.value, listItem.value); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(selected, text, value); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -117,6 +158,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/LocalePolicy.java b/src/main/java/com/docusign/esign/model/LocalePolicy.java new file mode 100644 index 00000000..9877e716 --- /dev/null +++ b/src/main/java/com/docusign/esign/model/LocalePolicy.java @@ -0,0 +1,1043 @@ +package com.docusign.esign.model; + +import java.util.Objects; +import com.docusign.esign.model.SettingsMetadata; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +/** + * LocalePolicy + */ + +public class LocalePolicy { + @JsonProperty("addressFormat") + private String addressFormat = null; + + @JsonProperty("addressFormatMetadata") + private SettingsMetadata addressFormatMetadata = null; + + @JsonProperty("allowRegion") + private String allowRegion = null; + + @JsonProperty("calendarType") + private String calendarType = null; + + @JsonProperty("calendarTypeMetadata") + private SettingsMetadata calendarTypeMetadata = null; + + @JsonProperty("cultureName") + private String cultureName = null; + + @JsonProperty("cultureNameMetadata") + private SettingsMetadata cultureNameMetadata = null; + + @JsonProperty("currencyCode") + private String currencyCode = null; + + @JsonProperty("currencyCodeMetadata") + private SettingsMetadata currencyCodeMetadata = null; + + @JsonProperty("currencyNegativeFormat") + private String currencyNegativeFormat = null; + + @JsonProperty("currencyNegativeFormatMetadata") + private SettingsMetadata currencyNegativeFormatMetadata = null; + + @JsonProperty("currencyPositiveFormat") + private String currencyPositiveFormat = null; + + @JsonProperty("currencyPositiveFormatMetadata") + private SettingsMetadata currencyPositiveFormatMetadata = null; + + @JsonProperty("customDateFormat") + private String customDateFormat = null; + + @JsonProperty("customSignDateFormat") + private String customSignDateFormat = null; + + @JsonProperty("customSignTimeFormat") + private String customSignTimeFormat = null; + + @JsonProperty("customTimeFormat") + private String customTimeFormat = null; + + @JsonProperty("dateFormat") + private String dateFormat = null; + + @JsonProperty("dateFormatMetadata") + private SettingsMetadata dateFormatMetadata = null; + + @JsonProperty("effectiveAddressFormat") + private String effectiveAddressFormat = null; + + @JsonProperty("effectiveCalendarType") + private String effectiveCalendarType = null; + + @JsonProperty("effectiveCurrencyCode") + private String effectiveCurrencyCode = null; + + @JsonProperty("effectiveCurrencyNegativeFormat") + private String effectiveCurrencyNegativeFormat = null; + + @JsonProperty("effectiveCurrencyPositiveFormat") + private String effectiveCurrencyPositiveFormat = null; + + @JsonProperty("effectiveCustomDateFormat") + private String effectiveCustomDateFormat = null; + + @JsonProperty("effectiveCustomTimeFormat") + private String effectiveCustomTimeFormat = null; + + @JsonProperty("effectiveDateFormat") + private String effectiveDateFormat = null; + + @JsonProperty("effectiveInitialFormat") + private String effectiveInitialFormat = null; + + @JsonProperty("effectiveNameFormat") + private String effectiveNameFormat = null; + + @JsonProperty("effectiveTimeFormat") + private String effectiveTimeFormat = null; + + @JsonProperty("effectiveTimeZone") + private String effectiveTimeZone = null; + + @JsonProperty("initialFormat") + private String initialFormat = null; + + @JsonProperty("initialFormatMetadata") + private SettingsMetadata initialFormatMetadata = null; + + @JsonProperty("nameFormat") + private String nameFormat = null; + + @JsonProperty("nameFormatMetadata") + private SettingsMetadata nameFormatMetadata = null; + + @JsonProperty("signDateFormat") + private String signDateFormat = null; + + @JsonProperty("signDateFormatMetadata") + private SettingsMetadata signDateFormatMetadata = null; + + @JsonProperty("signTimeFormat") + private String signTimeFormat = null; + + @JsonProperty("signTimeFormatMetadata") + private SettingsMetadata signTimeFormatMetadata = null; + + @JsonProperty("timeFormat") + private String timeFormat = null; + + @JsonProperty("timeFormatMetadata") + private SettingsMetadata timeFormatMetadata = null; + + @JsonProperty("timeZone") + private String timeZone = null; + + @JsonProperty("timeZoneMetadata") + private SettingsMetadata timeZoneMetadata = null; + + public LocalePolicy addressFormat(String addressFormat) { + this.addressFormat = addressFormat; + return this; + } + + /** + * + * @return addressFormat + **/ + @ApiModelProperty(example = "null", value = "") + public String getAddressFormat() { + return addressFormat; + } + + public void setAddressFormat(String addressFormat) { + this.addressFormat = addressFormat; + } + + public LocalePolicy addressFormatMetadata(SettingsMetadata addressFormatMetadata) { + this.addressFormatMetadata = addressFormatMetadata; + return this; + } + + /** + * Get addressFormatMetadata + * @return addressFormatMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public SettingsMetadata getAddressFormatMetadata() { + return addressFormatMetadata; + } + + public void setAddressFormatMetadata(SettingsMetadata addressFormatMetadata) { + this.addressFormatMetadata = addressFormatMetadata; + } + + public LocalePolicy allowRegion(String allowRegion) { + this.allowRegion = allowRegion; + return this; + } + + /** + * + * @return allowRegion + **/ + @ApiModelProperty(example = "null", value = "") + public String getAllowRegion() { + return allowRegion; + } + + public void setAllowRegion(String allowRegion) { + this.allowRegion = allowRegion; + } + + public LocalePolicy calendarType(String calendarType) { + this.calendarType = calendarType; + return this; + } + + /** + * + * @return calendarType + **/ + @ApiModelProperty(example = "null", value = "") + public String getCalendarType() { + return calendarType; + } + + public void setCalendarType(String calendarType) { + this.calendarType = calendarType; + } + + public LocalePolicy calendarTypeMetadata(SettingsMetadata calendarTypeMetadata) { + this.calendarTypeMetadata = calendarTypeMetadata; + return this; + } + + /** + * Get calendarTypeMetadata + * @return calendarTypeMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public SettingsMetadata getCalendarTypeMetadata() { + return calendarTypeMetadata; + } + + public void setCalendarTypeMetadata(SettingsMetadata calendarTypeMetadata) { + this.calendarTypeMetadata = calendarTypeMetadata; + } + + public LocalePolicy cultureName(String cultureName) { + this.cultureName = cultureName; + return this; + } + + /** + * + * @return cultureName + **/ + @ApiModelProperty(example = "null", value = "") + public String getCultureName() { + return cultureName; + } + + public void setCultureName(String cultureName) { + this.cultureName = cultureName; + } + + public LocalePolicy cultureNameMetadata(SettingsMetadata cultureNameMetadata) { + this.cultureNameMetadata = cultureNameMetadata; + return this; + } + + /** + * Get cultureNameMetadata + * @return cultureNameMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public SettingsMetadata getCultureNameMetadata() { + return cultureNameMetadata; + } + + public void setCultureNameMetadata(SettingsMetadata cultureNameMetadata) { + this.cultureNameMetadata = cultureNameMetadata; + } + + public LocalePolicy currencyCode(String currencyCode) { + this.currencyCode = currencyCode; + return this; + } + + /** + * + * @return currencyCode + **/ + @ApiModelProperty(example = "null", value = "") + public String getCurrencyCode() { + return currencyCode; + } + + public void setCurrencyCode(String currencyCode) { + this.currencyCode = currencyCode; + } + + public LocalePolicy currencyCodeMetadata(SettingsMetadata currencyCodeMetadata) { + this.currencyCodeMetadata = currencyCodeMetadata; + return this; + } + + /** + * Get currencyCodeMetadata + * @return currencyCodeMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public SettingsMetadata getCurrencyCodeMetadata() { + return currencyCodeMetadata; + } + + public void setCurrencyCodeMetadata(SettingsMetadata currencyCodeMetadata) { + this.currencyCodeMetadata = currencyCodeMetadata; + } + + public LocalePolicy currencyNegativeFormat(String currencyNegativeFormat) { + this.currencyNegativeFormat = currencyNegativeFormat; + return this; + } + + /** + * + * @return currencyNegativeFormat + **/ + @ApiModelProperty(example = "null", value = "") + public String getCurrencyNegativeFormat() { + return currencyNegativeFormat; + } + + public void setCurrencyNegativeFormat(String currencyNegativeFormat) { + this.currencyNegativeFormat = currencyNegativeFormat; + } + + public LocalePolicy currencyNegativeFormatMetadata(SettingsMetadata currencyNegativeFormatMetadata) { + this.currencyNegativeFormatMetadata = currencyNegativeFormatMetadata; + return this; + } + + /** + * Get currencyNegativeFormatMetadata + * @return currencyNegativeFormatMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public SettingsMetadata getCurrencyNegativeFormatMetadata() { + return currencyNegativeFormatMetadata; + } + + public void setCurrencyNegativeFormatMetadata(SettingsMetadata currencyNegativeFormatMetadata) { + this.currencyNegativeFormatMetadata = currencyNegativeFormatMetadata; + } + + public LocalePolicy currencyPositiveFormat(String currencyPositiveFormat) { + this.currencyPositiveFormat = currencyPositiveFormat; + return this; + } + + /** + * + * @return currencyPositiveFormat + **/ + @ApiModelProperty(example = "null", value = "") + public String getCurrencyPositiveFormat() { + return currencyPositiveFormat; + } + + public void setCurrencyPositiveFormat(String currencyPositiveFormat) { + this.currencyPositiveFormat = currencyPositiveFormat; + } + + public LocalePolicy currencyPositiveFormatMetadata(SettingsMetadata currencyPositiveFormatMetadata) { + this.currencyPositiveFormatMetadata = currencyPositiveFormatMetadata; + return this; + } + + /** + * Get currencyPositiveFormatMetadata + * @return currencyPositiveFormatMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public SettingsMetadata getCurrencyPositiveFormatMetadata() { + return currencyPositiveFormatMetadata; + } + + public void setCurrencyPositiveFormatMetadata(SettingsMetadata currencyPositiveFormatMetadata) { + this.currencyPositiveFormatMetadata = currencyPositiveFormatMetadata; + } + + public LocalePolicy customDateFormat(String customDateFormat) { + this.customDateFormat = customDateFormat; + return this; + } + + /** + * + * @return customDateFormat + **/ + @ApiModelProperty(example = "null", value = "") + public String getCustomDateFormat() { + return customDateFormat; + } + + public void setCustomDateFormat(String customDateFormat) { + this.customDateFormat = customDateFormat; + } + + public LocalePolicy customSignDateFormat(String customSignDateFormat) { + this.customSignDateFormat = customSignDateFormat; + return this; + } + + /** + * + * @return customSignDateFormat + **/ + @ApiModelProperty(example = "null", value = "") + public String getCustomSignDateFormat() { + return customSignDateFormat; + } + + public void setCustomSignDateFormat(String customSignDateFormat) { + this.customSignDateFormat = customSignDateFormat; + } + + public LocalePolicy customSignTimeFormat(String customSignTimeFormat) { + this.customSignTimeFormat = customSignTimeFormat; + return this; + } + + /** + * + * @return customSignTimeFormat + **/ + @ApiModelProperty(example = "null", value = "") + public String getCustomSignTimeFormat() { + return customSignTimeFormat; + } + + public void setCustomSignTimeFormat(String customSignTimeFormat) { + this.customSignTimeFormat = customSignTimeFormat; + } + + public LocalePolicy customTimeFormat(String customTimeFormat) { + this.customTimeFormat = customTimeFormat; + return this; + } + + /** + * + * @return customTimeFormat + **/ + @ApiModelProperty(example = "null", value = "") + public String getCustomTimeFormat() { + return customTimeFormat; + } + + public void setCustomTimeFormat(String customTimeFormat) { + this.customTimeFormat = customTimeFormat; + } + + public LocalePolicy dateFormat(String dateFormat) { + this.dateFormat = dateFormat; + return this; + } + + /** + * + * @return dateFormat + **/ + @ApiModelProperty(example = "null", value = "") + public String getDateFormat() { + return dateFormat; + } + + public void setDateFormat(String dateFormat) { + this.dateFormat = dateFormat; + } + + public LocalePolicy dateFormatMetadata(SettingsMetadata dateFormatMetadata) { + this.dateFormatMetadata = dateFormatMetadata; + return this; + } + + /** + * Get dateFormatMetadata + * @return dateFormatMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public SettingsMetadata getDateFormatMetadata() { + return dateFormatMetadata; + } + + public void setDateFormatMetadata(SettingsMetadata dateFormatMetadata) { + this.dateFormatMetadata = dateFormatMetadata; + } + + public LocalePolicy effectiveAddressFormat(String effectiveAddressFormat) { + this.effectiveAddressFormat = effectiveAddressFormat; + return this; + } + + /** + * + * @return effectiveAddressFormat + **/ + @ApiModelProperty(example = "null", value = "") + public String getEffectiveAddressFormat() { + return effectiveAddressFormat; + } + + public void setEffectiveAddressFormat(String effectiveAddressFormat) { + this.effectiveAddressFormat = effectiveAddressFormat; + } + + public LocalePolicy effectiveCalendarType(String effectiveCalendarType) { + this.effectiveCalendarType = effectiveCalendarType; + return this; + } + + /** + * + * @return effectiveCalendarType + **/ + @ApiModelProperty(example = "null", value = "") + public String getEffectiveCalendarType() { + return effectiveCalendarType; + } + + public void setEffectiveCalendarType(String effectiveCalendarType) { + this.effectiveCalendarType = effectiveCalendarType; + } + + public LocalePolicy effectiveCurrencyCode(String effectiveCurrencyCode) { + this.effectiveCurrencyCode = effectiveCurrencyCode; + return this; + } + + /** + * + * @return effectiveCurrencyCode + **/ + @ApiModelProperty(example = "null", value = "") + public String getEffectiveCurrencyCode() { + return effectiveCurrencyCode; + } + + public void setEffectiveCurrencyCode(String effectiveCurrencyCode) { + this.effectiveCurrencyCode = effectiveCurrencyCode; + } + + public LocalePolicy effectiveCurrencyNegativeFormat(String effectiveCurrencyNegativeFormat) { + this.effectiveCurrencyNegativeFormat = effectiveCurrencyNegativeFormat; + return this; + } + + /** + * + * @return effectiveCurrencyNegativeFormat + **/ + @ApiModelProperty(example = "null", value = "") + public String getEffectiveCurrencyNegativeFormat() { + return effectiveCurrencyNegativeFormat; + } + + public void setEffectiveCurrencyNegativeFormat(String effectiveCurrencyNegativeFormat) { + this.effectiveCurrencyNegativeFormat = effectiveCurrencyNegativeFormat; + } + + public LocalePolicy effectiveCurrencyPositiveFormat(String effectiveCurrencyPositiveFormat) { + this.effectiveCurrencyPositiveFormat = effectiveCurrencyPositiveFormat; + return this; + } + + /** + * + * @return effectiveCurrencyPositiveFormat + **/ + @ApiModelProperty(example = "null", value = "") + public String getEffectiveCurrencyPositiveFormat() { + return effectiveCurrencyPositiveFormat; + } + + public void setEffectiveCurrencyPositiveFormat(String effectiveCurrencyPositiveFormat) { + this.effectiveCurrencyPositiveFormat = effectiveCurrencyPositiveFormat; + } + + public LocalePolicy effectiveCustomDateFormat(String effectiveCustomDateFormat) { + this.effectiveCustomDateFormat = effectiveCustomDateFormat; + return this; + } + + /** + * + * @return effectiveCustomDateFormat + **/ + @ApiModelProperty(example = "null", value = "") + public String getEffectiveCustomDateFormat() { + return effectiveCustomDateFormat; + } + + public void setEffectiveCustomDateFormat(String effectiveCustomDateFormat) { + this.effectiveCustomDateFormat = effectiveCustomDateFormat; + } + + public LocalePolicy effectiveCustomTimeFormat(String effectiveCustomTimeFormat) { + this.effectiveCustomTimeFormat = effectiveCustomTimeFormat; + return this; + } + + /** + * + * @return effectiveCustomTimeFormat + **/ + @ApiModelProperty(example = "null", value = "") + public String getEffectiveCustomTimeFormat() { + return effectiveCustomTimeFormat; + } + + public void setEffectiveCustomTimeFormat(String effectiveCustomTimeFormat) { + this.effectiveCustomTimeFormat = effectiveCustomTimeFormat; + } + + public LocalePolicy effectiveDateFormat(String effectiveDateFormat) { + this.effectiveDateFormat = effectiveDateFormat; + return this; + } + + /** + * + * @return effectiveDateFormat + **/ + @ApiModelProperty(example = "null", value = "") + public String getEffectiveDateFormat() { + return effectiveDateFormat; + } + + public void setEffectiveDateFormat(String effectiveDateFormat) { + this.effectiveDateFormat = effectiveDateFormat; + } + + public LocalePolicy effectiveInitialFormat(String effectiveInitialFormat) { + this.effectiveInitialFormat = effectiveInitialFormat; + return this; + } + + /** + * + * @return effectiveInitialFormat + **/ + @ApiModelProperty(example = "null", value = "") + public String getEffectiveInitialFormat() { + return effectiveInitialFormat; + } + + public void setEffectiveInitialFormat(String effectiveInitialFormat) { + this.effectiveInitialFormat = effectiveInitialFormat; + } + + public LocalePolicy effectiveNameFormat(String effectiveNameFormat) { + this.effectiveNameFormat = effectiveNameFormat; + return this; + } + + /** + * + * @return effectiveNameFormat + **/ + @ApiModelProperty(example = "null", value = "") + public String getEffectiveNameFormat() { + return effectiveNameFormat; + } + + public void setEffectiveNameFormat(String effectiveNameFormat) { + this.effectiveNameFormat = effectiveNameFormat; + } + + public LocalePolicy effectiveTimeFormat(String effectiveTimeFormat) { + this.effectiveTimeFormat = effectiveTimeFormat; + return this; + } + + /** + * + * @return effectiveTimeFormat + **/ + @ApiModelProperty(example = "null", value = "") + public String getEffectiveTimeFormat() { + return effectiveTimeFormat; + } + + public void setEffectiveTimeFormat(String effectiveTimeFormat) { + this.effectiveTimeFormat = effectiveTimeFormat; + } + + public LocalePolicy effectiveTimeZone(String effectiveTimeZone) { + this.effectiveTimeZone = effectiveTimeZone; + return this; + } + + /** + * + * @return effectiveTimeZone + **/ + @ApiModelProperty(example = "null", value = "") + public String getEffectiveTimeZone() { + return effectiveTimeZone; + } + + public void setEffectiveTimeZone(String effectiveTimeZone) { + this.effectiveTimeZone = effectiveTimeZone; + } + + public LocalePolicy initialFormat(String initialFormat) { + this.initialFormat = initialFormat; + return this; + } + + /** + * + * @return initialFormat + **/ + @ApiModelProperty(example = "null", value = "") + public String getInitialFormat() { + return initialFormat; + } + + public void setInitialFormat(String initialFormat) { + this.initialFormat = initialFormat; + } + + public LocalePolicy initialFormatMetadata(SettingsMetadata initialFormatMetadata) { + this.initialFormatMetadata = initialFormatMetadata; + return this; + } + + /** + * Get initialFormatMetadata + * @return initialFormatMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public SettingsMetadata getInitialFormatMetadata() { + return initialFormatMetadata; + } + + public void setInitialFormatMetadata(SettingsMetadata initialFormatMetadata) { + this.initialFormatMetadata = initialFormatMetadata; + } + + public LocalePolicy nameFormat(String nameFormat) { + this.nameFormat = nameFormat; + return this; + } + + /** + * + * @return nameFormat + **/ + @ApiModelProperty(example = "null", value = "") + public String getNameFormat() { + return nameFormat; + } + + public void setNameFormat(String nameFormat) { + this.nameFormat = nameFormat; + } + + public LocalePolicy nameFormatMetadata(SettingsMetadata nameFormatMetadata) { + this.nameFormatMetadata = nameFormatMetadata; + return this; + } + + /** + * Get nameFormatMetadata + * @return nameFormatMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public SettingsMetadata getNameFormatMetadata() { + return nameFormatMetadata; + } + + public void setNameFormatMetadata(SettingsMetadata nameFormatMetadata) { + this.nameFormatMetadata = nameFormatMetadata; + } + + public LocalePolicy signDateFormat(String signDateFormat) { + this.signDateFormat = signDateFormat; + return this; + } + + /** + * + * @return signDateFormat + **/ + @ApiModelProperty(example = "null", value = "") + public String getSignDateFormat() { + return signDateFormat; + } + + public void setSignDateFormat(String signDateFormat) { + this.signDateFormat = signDateFormat; + } + + public LocalePolicy signDateFormatMetadata(SettingsMetadata signDateFormatMetadata) { + this.signDateFormatMetadata = signDateFormatMetadata; + return this; + } + + /** + * Get signDateFormatMetadata + * @return signDateFormatMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public SettingsMetadata getSignDateFormatMetadata() { + return signDateFormatMetadata; + } + + public void setSignDateFormatMetadata(SettingsMetadata signDateFormatMetadata) { + this.signDateFormatMetadata = signDateFormatMetadata; + } + + public LocalePolicy signTimeFormat(String signTimeFormat) { + this.signTimeFormat = signTimeFormat; + return this; + } + + /** + * + * @return signTimeFormat + **/ + @ApiModelProperty(example = "null", value = "") + public String getSignTimeFormat() { + return signTimeFormat; + } + + public void setSignTimeFormat(String signTimeFormat) { + this.signTimeFormat = signTimeFormat; + } + + public LocalePolicy signTimeFormatMetadata(SettingsMetadata signTimeFormatMetadata) { + this.signTimeFormatMetadata = signTimeFormatMetadata; + return this; + } + + /** + * Get signTimeFormatMetadata + * @return signTimeFormatMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public SettingsMetadata getSignTimeFormatMetadata() { + return signTimeFormatMetadata; + } + + public void setSignTimeFormatMetadata(SettingsMetadata signTimeFormatMetadata) { + this.signTimeFormatMetadata = signTimeFormatMetadata; + } + + public LocalePolicy timeFormat(String timeFormat) { + this.timeFormat = timeFormat; + return this; + } + + /** + * + * @return timeFormat + **/ + @ApiModelProperty(example = "null", value = "") + public String getTimeFormat() { + return timeFormat; + } + + public void setTimeFormat(String timeFormat) { + this.timeFormat = timeFormat; + } + + public LocalePolicy timeFormatMetadata(SettingsMetadata timeFormatMetadata) { + this.timeFormatMetadata = timeFormatMetadata; + return this; + } + + /** + * Get timeFormatMetadata + * @return timeFormatMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public SettingsMetadata getTimeFormatMetadata() { + return timeFormatMetadata; + } + + public void setTimeFormatMetadata(SettingsMetadata timeFormatMetadata) { + this.timeFormatMetadata = timeFormatMetadata; + } + + public LocalePolicy timeZone(String timeZone) { + this.timeZone = timeZone; + return this; + } + + /** + * + * @return timeZone + **/ + @ApiModelProperty(example = "null", value = "") + public String getTimeZone() { + return timeZone; + } + + public void setTimeZone(String timeZone) { + this.timeZone = timeZone; + } + + public LocalePolicy timeZoneMetadata(SettingsMetadata timeZoneMetadata) { + this.timeZoneMetadata = timeZoneMetadata; + return this; + } + + /** + * Get timeZoneMetadata + * @return timeZoneMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public SettingsMetadata getTimeZoneMetadata() { + return timeZoneMetadata; + } + + public void setTimeZoneMetadata(SettingsMetadata timeZoneMetadata) { + this.timeZoneMetadata = timeZoneMetadata; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LocalePolicy localePolicy = (LocalePolicy) o; + return Objects.equals(this.addressFormat, localePolicy.addressFormat) && + Objects.equals(this.addressFormatMetadata, localePolicy.addressFormatMetadata) && + Objects.equals(this.allowRegion, localePolicy.allowRegion) && + Objects.equals(this.calendarType, localePolicy.calendarType) && + Objects.equals(this.calendarTypeMetadata, localePolicy.calendarTypeMetadata) && + Objects.equals(this.cultureName, localePolicy.cultureName) && + Objects.equals(this.cultureNameMetadata, localePolicy.cultureNameMetadata) && + Objects.equals(this.currencyCode, localePolicy.currencyCode) && + Objects.equals(this.currencyCodeMetadata, localePolicy.currencyCodeMetadata) && + Objects.equals(this.currencyNegativeFormat, localePolicy.currencyNegativeFormat) && + Objects.equals(this.currencyNegativeFormatMetadata, localePolicy.currencyNegativeFormatMetadata) && + Objects.equals(this.currencyPositiveFormat, localePolicy.currencyPositiveFormat) && + Objects.equals(this.currencyPositiveFormatMetadata, localePolicy.currencyPositiveFormatMetadata) && + Objects.equals(this.customDateFormat, localePolicy.customDateFormat) && + Objects.equals(this.customSignDateFormat, localePolicy.customSignDateFormat) && + Objects.equals(this.customSignTimeFormat, localePolicy.customSignTimeFormat) && + Objects.equals(this.customTimeFormat, localePolicy.customTimeFormat) && + Objects.equals(this.dateFormat, localePolicy.dateFormat) && + Objects.equals(this.dateFormatMetadata, localePolicy.dateFormatMetadata) && + Objects.equals(this.effectiveAddressFormat, localePolicy.effectiveAddressFormat) && + Objects.equals(this.effectiveCalendarType, localePolicy.effectiveCalendarType) && + Objects.equals(this.effectiveCurrencyCode, localePolicy.effectiveCurrencyCode) && + Objects.equals(this.effectiveCurrencyNegativeFormat, localePolicy.effectiveCurrencyNegativeFormat) && + Objects.equals(this.effectiveCurrencyPositiveFormat, localePolicy.effectiveCurrencyPositiveFormat) && + Objects.equals(this.effectiveCustomDateFormat, localePolicy.effectiveCustomDateFormat) && + Objects.equals(this.effectiveCustomTimeFormat, localePolicy.effectiveCustomTimeFormat) && + Objects.equals(this.effectiveDateFormat, localePolicy.effectiveDateFormat) && + Objects.equals(this.effectiveInitialFormat, localePolicy.effectiveInitialFormat) && + Objects.equals(this.effectiveNameFormat, localePolicy.effectiveNameFormat) && + Objects.equals(this.effectiveTimeFormat, localePolicy.effectiveTimeFormat) && + Objects.equals(this.effectiveTimeZone, localePolicy.effectiveTimeZone) && + Objects.equals(this.initialFormat, localePolicy.initialFormat) && + Objects.equals(this.initialFormatMetadata, localePolicy.initialFormatMetadata) && + Objects.equals(this.nameFormat, localePolicy.nameFormat) && + Objects.equals(this.nameFormatMetadata, localePolicy.nameFormatMetadata) && + Objects.equals(this.signDateFormat, localePolicy.signDateFormat) && + Objects.equals(this.signDateFormatMetadata, localePolicy.signDateFormatMetadata) && + Objects.equals(this.signTimeFormat, localePolicy.signTimeFormat) && + Objects.equals(this.signTimeFormatMetadata, localePolicy.signTimeFormatMetadata) && + Objects.equals(this.timeFormat, localePolicy.timeFormat) && + Objects.equals(this.timeFormatMetadata, localePolicy.timeFormatMetadata) && + Objects.equals(this.timeZone, localePolicy.timeZone) && + Objects.equals(this.timeZoneMetadata, localePolicy.timeZoneMetadata); + } + + @Override + public int hashCode() { + return Objects.hash(addressFormat, addressFormatMetadata, allowRegion, calendarType, calendarTypeMetadata, cultureName, cultureNameMetadata, currencyCode, currencyCodeMetadata, currencyNegativeFormat, currencyNegativeFormatMetadata, currencyPositiveFormat, currencyPositiveFormatMetadata, customDateFormat, customSignDateFormat, customSignTimeFormat, customTimeFormat, dateFormat, dateFormatMetadata, effectiveAddressFormat, effectiveCalendarType, effectiveCurrencyCode, effectiveCurrencyNegativeFormat, effectiveCurrencyPositiveFormat, effectiveCustomDateFormat, effectiveCustomTimeFormat, effectiveDateFormat, effectiveInitialFormat, effectiveNameFormat, effectiveTimeFormat, effectiveTimeZone, initialFormat, initialFormatMetadata, nameFormat, nameFormatMetadata, signDateFormat, signDateFormatMetadata, signTimeFormat, signTimeFormatMetadata, timeFormat, timeFormatMetadata, timeZone, timeZoneMetadata); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class LocalePolicy {\n"); + + sb.append(" addressFormat: ").append(toIndentedString(addressFormat)).append("\n"); + sb.append(" addressFormatMetadata: ").append(toIndentedString(addressFormatMetadata)).append("\n"); + sb.append(" allowRegion: ").append(toIndentedString(allowRegion)).append("\n"); + sb.append(" calendarType: ").append(toIndentedString(calendarType)).append("\n"); + sb.append(" calendarTypeMetadata: ").append(toIndentedString(calendarTypeMetadata)).append("\n"); + sb.append(" cultureName: ").append(toIndentedString(cultureName)).append("\n"); + sb.append(" cultureNameMetadata: ").append(toIndentedString(cultureNameMetadata)).append("\n"); + sb.append(" currencyCode: ").append(toIndentedString(currencyCode)).append("\n"); + sb.append(" currencyCodeMetadata: ").append(toIndentedString(currencyCodeMetadata)).append("\n"); + sb.append(" currencyNegativeFormat: ").append(toIndentedString(currencyNegativeFormat)).append("\n"); + sb.append(" currencyNegativeFormatMetadata: ").append(toIndentedString(currencyNegativeFormatMetadata)).append("\n"); + sb.append(" currencyPositiveFormat: ").append(toIndentedString(currencyPositiveFormat)).append("\n"); + sb.append(" currencyPositiveFormatMetadata: ").append(toIndentedString(currencyPositiveFormatMetadata)).append("\n"); + sb.append(" customDateFormat: ").append(toIndentedString(customDateFormat)).append("\n"); + sb.append(" customSignDateFormat: ").append(toIndentedString(customSignDateFormat)).append("\n"); + sb.append(" customSignTimeFormat: ").append(toIndentedString(customSignTimeFormat)).append("\n"); + sb.append(" customTimeFormat: ").append(toIndentedString(customTimeFormat)).append("\n"); + sb.append(" dateFormat: ").append(toIndentedString(dateFormat)).append("\n"); + sb.append(" dateFormatMetadata: ").append(toIndentedString(dateFormatMetadata)).append("\n"); + sb.append(" effectiveAddressFormat: ").append(toIndentedString(effectiveAddressFormat)).append("\n"); + sb.append(" effectiveCalendarType: ").append(toIndentedString(effectiveCalendarType)).append("\n"); + sb.append(" effectiveCurrencyCode: ").append(toIndentedString(effectiveCurrencyCode)).append("\n"); + sb.append(" effectiveCurrencyNegativeFormat: ").append(toIndentedString(effectiveCurrencyNegativeFormat)).append("\n"); + sb.append(" effectiveCurrencyPositiveFormat: ").append(toIndentedString(effectiveCurrencyPositiveFormat)).append("\n"); + sb.append(" effectiveCustomDateFormat: ").append(toIndentedString(effectiveCustomDateFormat)).append("\n"); + sb.append(" effectiveCustomTimeFormat: ").append(toIndentedString(effectiveCustomTimeFormat)).append("\n"); + sb.append(" effectiveDateFormat: ").append(toIndentedString(effectiveDateFormat)).append("\n"); + sb.append(" effectiveInitialFormat: ").append(toIndentedString(effectiveInitialFormat)).append("\n"); + sb.append(" effectiveNameFormat: ").append(toIndentedString(effectiveNameFormat)).append("\n"); + sb.append(" effectiveTimeFormat: ").append(toIndentedString(effectiveTimeFormat)).append("\n"); + sb.append(" effectiveTimeZone: ").append(toIndentedString(effectiveTimeZone)).append("\n"); + sb.append(" initialFormat: ").append(toIndentedString(initialFormat)).append("\n"); + sb.append(" initialFormatMetadata: ").append(toIndentedString(initialFormatMetadata)).append("\n"); + sb.append(" nameFormat: ").append(toIndentedString(nameFormat)).append("\n"); + sb.append(" nameFormatMetadata: ").append(toIndentedString(nameFormatMetadata)).append("\n"); + sb.append(" signDateFormat: ").append(toIndentedString(signDateFormat)).append("\n"); + sb.append(" signDateFormatMetadata: ").append(toIndentedString(signDateFormatMetadata)).append("\n"); + sb.append(" signTimeFormat: ").append(toIndentedString(signTimeFormat)).append("\n"); + sb.append(" signTimeFormatMetadata: ").append(toIndentedString(signTimeFormatMetadata)).append("\n"); + sb.append(" timeFormat: ").append(toIndentedString(timeFormat)).append("\n"); + sb.append(" timeFormatMetadata: ").append(toIndentedString(timeFormatMetadata)).append("\n"); + sb.append(" timeZone: ").append(toIndentedString(timeZone)).append("\n"); + sb.append(" timeZoneMetadata: ").append(toIndentedString(timeZoneMetadata)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/com/docusign/esign/model/LocalePolicyTab.java b/src/main/java/com/docusign/esign/model/LocalePolicyTab.java new file mode 100644 index 00000000..971cb998 --- /dev/null +++ b/src/main/java/com/docusign/esign/model/LocalePolicyTab.java @@ -0,0 +1,329 @@ +package com.docusign.esign.model; + +import java.util.Objects; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +/** + * LocalePolicyTab + */ + +public class LocalePolicyTab { + @JsonProperty("addressFormat") + private String addressFormat = null; + + @JsonProperty("calendarType") + private String calendarType = null; + + @JsonProperty("cultureName") + private String cultureName = null; + + @JsonProperty("currencyNegativeFormat") + private String currencyNegativeFormat = null; + + @JsonProperty("currencyPositiveFormat") + private String currencyPositiveFormat = null; + + @JsonProperty("customDateFormat") + private String customDateFormat = null; + + @JsonProperty("customTimeFormat") + private String customTimeFormat = null; + + @JsonProperty("dateFormat") + private String dateFormat = null; + + @JsonProperty("initialFormat") + private String initialFormat = null; + + @JsonProperty("nameFormat") + private String nameFormat = null; + + @JsonProperty("timeFormat") + private String timeFormat = null; + + @JsonProperty("timeZone") + private String timeZone = null; + + public LocalePolicyTab addressFormat(String addressFormat) { + this.addressFormat = addressFormat; + return this; + } + + /** + * + * @return addressFormat + **/ + @ApiModelProperty(example = "null", value = "") + public String getAddressFormat() { + return addressFormat; + } + + public void setAddressFormat(String addressFormat) { + this.addressFormat = addressFormat; + } + + public LocalePolicyTab calendarType(String calendarType) { + this.calendarType = calendarType; + return this; + } + + /** + * + * @return calendarType + **/ + @ApiModelProperty(example = "null", value = "") + public String getCalendarType() { + return calendarType; + } + + public void setCalendarType(String calendarType) { + this.calendarType = calendarType; + } + + public LocalePolicyTab cultureName(String cultureName) { + this.cultureName = cultureName; + return this; + } + + /** + * + * @return cultureName + **/ + @ApiModelProperty(example = "null", value = "") + public String getCultureName() { + return cultureName; + } + + public void setCultureName(String cultureName) { + this.cultureName = cultureName; + } + + public LocalePolicyTab currencyNegativeFormat(String currencyNegativeFormat) { + this.currencyNegativeFormat = currencyNegativeFormat; + return this; + } + + /** + * + * @return currencyNegativeFormat + **/ + @ApiModelProperty(example = "null", value = "") + public String getCurrencyNegativeFormat() { + return currencyNegativeFormat; + } + + public void setCurrencyNegativeFormat(String currencyNegativeFormat) { + this.currencyNegativeFormat = currencyNegativeFormat; + } + + public LocalePolicyTab currencyPositiveFormat(String currencyPositiveFormat) { + this.currencyPositiveFormat = currencyPositiveFormat; + return this; + } + + /** + * + * @return currencyPositiveFormat + **/ + @ApiModelProperty(example = "null", value = "") + public String getCurrencyPositiveFormat() { + return currencyPositiveFormat; + } + + public void setCurrencyPositiveFormat(String currencyPositiveFormat) { + this.currencyPositiveFormat = currencyPositiveFormat; + } + + public LocalePolicyTab customDateFormat(String customDateFormat) { + this.customDateFormat = customDateFormat; + return this; + } + + /** + * + * @return customDateFormat + **/ + @ApiModelProperty(example = "null", value = "") + public String getCustomDateFormat() { + return customDateFormat; + } + + public void setCustomDateFormat(String customDateFormat) { + this.customDateFormat = customDateFormat; + } + + public LocalePolicyTab customTimeFormat(String customTimeFormat) { + this.customTimeFormat = customTimeFormat; + return this; + } + + /** + * + * @return customTimeFormat + **/ + @ApiModelProperty(example = "null", value = "") + public String getCustomTimeFormat() { + return customTimeFormat; + } + + public void setCustomTimeFormat(String customTimeFormat) { + this.customTimeFormat = customTimeFormat; + } + + public LocalePolicyTab dateFormat(String dateFormat) { + this.dateFormat = dateFormat; + return this; + } + + /** + * + * @return dateFormat + **/ + @ApiModelProperty(example = "null", value = "") + public String getDateFormat() { + return dateFormat; + } + + public void setDateFormat(String dateFormat) { + this.dateFormat = dateFormat; + } + + public LocalePolicyTab initialFormat(String initialFormat) { + this.initialFormat = initialFormat; + return this; + } + + /** + * + * @return initialFormat + **/ + @ApiModelProperty(example = "null", value = "") + public String getInitialFormat() { + return initialFormat; + } + + public void setInitialFormat(String initialFormat) { + this.initialFormat = initialFormat; + } + + public LocalePolicyTab nameFormat(String nameFormat) { + this.nameFormat = nameFormat; + return this; + } + + /** + * + * @return nameFormat + **/ + @ApiModelProperty(example = "null", value = "") + public String getNameFormat() { + return nameFormat; + } + + public void setNameFormat(String nameFormat) { + this.nameFormat = nameFormat; + } + + public LocalePolicyTab timeFormat(String timeFormat) { + this.timeFormat = timeFormat; + return this; + } + + /** + * + * @return timeFormat + **/ + @ApiModelProperty(example = "null", value = "") + public String getTimeFormat() { + return timeFormat; + } + + public void setTimeFormat(String timeFormat) { + this.timeFormat = timeFormat; + } + + public LocalePolicyTab timeZone(String timeZone) { + this.timeZone = timeZone; + return this; + } + + /** + * + * @return timeZone + **/ + @ApiModelProperty(example = "null", value = "") + public String getTimeZone() { + return timeZone; + } + + public void setTimeZone(String timeZone) { + this.timeZone = timeZone; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LocalePolicyTab localePolicyTab = (LocalePolicyTab) o; + return Objects.equals(this.addressFormat, localePolicyTab.addressFormat) && + Objects.equals(this.calendarType, localePolicyTab.calendarType) && + Objects.equals(this.cultureName, localePolicyTab.cultureName) && + Objects.equals(this.currencyNegativeFormat, localePolicyTab.currencyNegativeFormat) && + Objects.equals(this.currencyPositiveFormat, localePolicyTab.currencyPositiveFormat) && + Objects.equals(this.customDateFormat, localePolicyTab.customDateFormat) && + Objects.equals(this.customTimeFormat, localePolicyTab.customTimeFormat) && + Objects.equals(this.dateFormat, localePolicyTab.dateFormat) && + Objects.equals(this.initialFormat, localePolicyTab.initialFormat) && + Objects.equals(this.nameFormat, localePolicyTab.nameFormat) && + Objects.equals(this.timeFormat, localePolicyTab.timeFormat) && + Objects.equals(this.timeZone, localePolicyTab.timeZone); + } + + @Override + public int hashCode() { + return Objects.hash(addressFormat, calendarType, cultureName, currencyNegativeFormat, currencyPositiveFormat, customDateFormat, customTimeFormat, dateFormat, initialFormat, nameFormat, timeFormat, timeZone); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class LocalePolicyTab {\n"); + + sb.append(" addressFormat: ").append(toIndentedString(addressFormat)).append("\n"); + sb.append(" calendarType: ").append(toIndentedString(calendarType)).append("\n"); + sb.append(" cultureName: ").append(toIndentedString(cultureName)).append("\n"); + sb.append(" currencyNegativeFormat: ").append(toIndentedString(currencyNegativeFormat)).append("\n"); + sb.append(" currencyPositiveFormat: ").append(toIndentedString(currencyPositiveFormat)).append("\n"); + sb.append(" customDateFormat: ").append(toIndentedString(customDateFormat)).append("\n"); + sb.append(" customTimeFormat: ").append(toIndentedString(customTimeFormat)).append("\n"); + sb.append(" dateFormat: ").append(toIndentedString(dateFormat)).append("\n"); + sb.append(" initialFormat: ").append(toIndentedString(initialFormat)).append("\n"); + sb.append(" nameFormat: ").append(toIndentedString(nameFormat)).append("\n"); + sb.append(" timeFormat: ").append(toIndentedString(timeFormat)).append("\n"); + sb.append(" timeZone: ").append(toIndentedString(timeZone)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/com/docusign/esign/model/LockInformation.java b/src/main/java/com/docusign/esign/model/LockInformation.java index 27c1a9d9..fa15615d 100644 --- a/src/main/java/com/docusign/esign/model/LockInformation.java +++ b/src/main/java/com/docusign/esign/model/LockInformation.java @@ -1,15 +1,18 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ErrorDetails; import com.docusign.esign.model.UserInfo; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * LockInformation + * LockInformation. + * */ public class LockInformation { @@ -37,151 +40,228 @@ public class LockInformation { @JsonProperty("useScratchPad") private String useScratchPad = null; + + /** + * errorDetails. + * + * @return LockInformation + **/ public LockInformation errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * lockDurationInSeconds. + * + * @return LockInformation + **/ public LockInformation lockDurationInSeconds(String lockDurationInSeconds) { this.lockDurationInSeconds = lockDurationInSeconds; return this; } - /** - * Sets the time, in seconds, until the lock expires when there is no activity on the envelope. If no value is entered, then the default value of 300 seconds is used. The maximum value is 1,800 seconds. The lock duration can be extended. + /** + * Sets the time, in seconds, until the lock expires when there is no activity on the envelope. If no value is entered, then the default value of 300 seconds is used. The maximum value is 1,800 seconds. The lock duration can be extended. . * @return lockDurationInSeconds - **/ - @ApiModelProperty(example = "null", value = "Sets the time, in seconds, until the lock expires when there is no activity on the envelope. If no value is entered, then the default value of 300 seconds is used. The maximum value is 1,800 seconds. The lock duration can be extended. ") + **/ + @ApiModelProperty(value = "Sets the time, in seconds, until the lock expires when there is no activity on the envelope. If no value is entered, then the default value of 300 seconds is used. The maximum value is 1,800 seconds. The lock duration can be extended. ") public String getLockDurationInSeconds() { return lockDurationInSeconds; } + /** + * setLockDurationInSeconds. + **/ public void setLockDurationInSeconds(String lockDurationInSeconds) { this.lockDurationInSeconds = lockDurationInSeconds; } + + /** + * lockedByApp. + * + * @return LockInformation + **/ public LockInformation lockedByApp(String lockedByApp) { this.lockedByApp = lockedByApp; return this; } - /** - * Specifies the friendly name of the application that is locking the envelope. + /** + * Specifies the friendly name of the application that is locking the envelope.. * @return lockedByApp - **/ - @ApiModelProperty(example = "null", value = "Specifies the friendly name of the application that is locking the envelope.") + **/ + @ApiModelProperty(value = "Specifies the friendly name of the application that is locking the envelope.") public String getLockedByApp() { return lockedByApp; } + /** + * setLockedByApp. + **/ public void setLockedByApp(String lockedByApp) { this.lockedByApp = lockedByApp; } + + /** + * lockedByUser. + * + * @return LockInformation + **/ public LockInformation lockedByUser(UserInfo lockedByUser) { this.lockedByUser = lockedByUser; return this; } - /** - * Get lockedByUser + /** + * Get lockedByUser. * @return lockedByUser - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public UserInfo getLockedByUser() { return lockedByUser; } + /** + * setLockedByUser. + **/ public void setLockedByUser(UserInfo lockedByUser) { this.lockedByUser = lockedByUser; } + + /** + * lockedUntilDateTime. + * + * @return LockInformation + **/ public LockInformation lockedUntilDateTime(String lockedUntilDateTime) { this.lockedUntilDateTime = lockedUntilDateTime; return this; } - /** - * The datetime until the envelope lock expires. + /** + * The datetime until the envelope lock expires.. * @return lockedUntilDateTime - **/ - @ApiModelProperty(example = "null", value = "The datetime until the envelope lock expires.") + **/ + @ApiModelProperty(value = "The datetime until the envelope lock expires.") public String getLockedUntilDateTime() { return lockedUntilDateTime; } + /** + * setLockedUntilDateTime. + **/ public void setLockedUntilDateTime(String lockedUntilDateTime) { this.lockedUntilDateTime = lockedUntilDateTime; } + + /** + * lockToken. + * + * @return LockInformation + **/ public LockInformation lockToken(String lockToken) { this.lockToken = lockToken; return this; } - /** - * A unique identifier provided to the owner of the envelope lock. Used to prove ownership of the lock. + /** + * A unique identifier provided to the owner of the envelope lock. Used to prove ownership of the lock.. * @return lockToken - **/ - @ApiModelProperty(example = "null", value = "A unique identifier provided to the owner of the envelope lock. Used to prove ownership of the lock.") + **/ + @ApiModelProperty(value = "A unique identifier provided to the owner of the envelope lock. Used to prove ownership of the lock.") public String getLockToken() { return lockToken; } + /** + * setLockToken. + **/ public void setLockToken(String lockToken) { this.lockToken = lockToken; } + + /** + * lockType. + * + * @return LockInformation + **/ public LockInformation lockType(String lockType) { this.lockType = lockType; return this; } - /** - * The type of envelope lock. Currently \"edit\" is the only supported type. + /** + * The type of envelope lock. Currently \"edit\" is the only supported type.. * @return lockType - **/ - @ApiModelProperty(example = "null", value = "The type of envelope lock. Currently \"edit\" is the only supported type.") + **/ + @ApiModelProperty(value = "The type of envelope lock. Currently \"edit\" is the only supported type.") public String getLockType() { return lockType; } + /** + * setLockType. + **/ public void setLockType(String lockType) { this.lockType = lockType; } + + /** + * useScratchPad. + * + * @return LockInformation + **/ public LockInformation useScratchPad(String useScratchPad) { this.useScratchPad = useScratchPad; return this; } - /** - * Reserved for future use. Indicates whether a scratchpad is used for editing information. + /** + * Reserved for future use. Indicates whether a scratchpad is used for editing information. . * @return useScratchPad - **/ - @ApiModelProperty(example = "null", value = "Reserved for future use. Indicates whether a scratchpad is used for editing information. ") + **/ + @ApiModelProperty(value = "Reserved for future use. Indicates whether a scratchpad is used for editing information. ") public String getUseScratchPad() { return useScratchPad; } + /** + * setUseScratchPad. + **/ public void setUseScratchPad(String useScratchPad) { this.useScratchPad = useScratchPad; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -201,12 +281,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.useScratchPad, lockInformation.useScratchPad); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(errorDetails, lockDurationInSeconds, lockedByApp, lockedByUser, lockedUntilDateTime, lockToken, lockType, useScratchPad); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -234,6 +320,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/LockRequest.java b/src/main/java/com/docusign/esign/model/LockRequest.java index 6a066e02..6f679643 100644 --- a/src/main/java/com/docusign/esign/model/LockRequest.java +++ b/src/main/java/com/docusign/esign/model/LockRequest.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * LockRequest + * LockRequest. + * */ public class LockRequest { @@ -26,97 +29,147 @@ public class LockRequest { @JsonProperty("useScratchPad") private String useScratchPad = null; + + /** + * lockDurationInSeconds. + * + * @return LockRequest + **/ public LockRequest lockDurationInSeconds(String lockDurationInSeconds) { this.lockDurationInSeconds = lockDurationInSeconds; return this; } - /** - * The number of seconds to lock the envelope for editing. Must be greater than 0 seconds. + /** + * The number of seconds to lock the envelope for editing. Must be greater than 0 seconds.. * @return lockDurationInSeconds - **/ - @ApiModelProperty(example = "null", value = "The number of seconds to lock the envelope for editing. Must be greater than 0 seconds.") + **/ + @ApiModelProperty(value = "The number of seconds to lock the envelope for editing. Must be greater than 0 seconds.") public String getLockDurationInSeconds() { return lockDurationInSeconds; } + /** + * setLockDurationInSeconds. + **/ public void setLockDurationInSeconds(String lockDurationInSeconds) { this.lockDurationInSeconds = lockDurationInSeconds; } + + /** + * lockedByApp. + * + * @return LockRequest + **/ public LockRequest lockedByApp(String lockedByApp) { this.lockedByApp = lockedByApp; return this; } - /** - * A friendly name of the application used to lock the envelope. Will be used in error messages to the user when lock conflicts occur. + /** + * A friendly name of the application used to lock the envelope. Will be used in error messages to the user when lock conflicts occur.. * @return lockedByApp - **/ - @ApiModelProperty(example = "null", value = "A friendly name of the application used to lock the envelope. Will be used in error messages to the user when lock conflicts occur.") + **/ + @ApiModelProperty(value = "A friendly name of the application used to lock the envelope. Will be used in error messages to the user when lock conflicts occur.") public String getLockedByApp() { return lockedByApp; } + /** + * setLockedByApp. + **/ public void setLockedByApp(String lockedByApp) { this.lockedByApp = lockedByApp; } + + /** + * lockType. + * + * @return LockRequest + **/ public LockRequest lockType(String lockType) { this.lockType = lockType; return this; } - /** - * The type of envelope lock. Currently \"edit\" is the only supported type. + /** + * The type of envelope lock. Currently \"edit\" is the only supported type.. * @return lockType - **/ - @ApiModelProperty(example = "null", value = "The type of envelope lock. Currently \"edit\" is the only supported type.") + **/ + @ApiModelProperty(value = "The type of envelope lock. Currently \"edit\" is the only supported type.") public String getLockType() { return lockType; } + /** + * setLockType. + **/ public void setLockType(String lockType) { this.lockType = lockType; } + + /** + * templatePassword. + * + * @return LockRequest + **/ public LockRequest templatePassword(String templatePassword) { this.templatePassword = templatePassword; return this; } - /** - * + /** + * . * @return templatePassword - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTemplatePassword() { return templatePassword; } + /** + * setTemplatePassword. + **/ public void setTemplatePassword(String templatePassword) { this.templatePassword = templatePassword; } + + /** + * useScratchPad. + * + * @return LockRequest + **/ public LockRequest useScratchPad(String useScratchPad) { this.useScratchPad = useScratchPad; return this; } - /** - * Reserved for future use. Indicates whether a scratchpad is used for editing information. + /** + * Reserved for future use. Indicates whether a scratchpad is used for editing information. . * @return useScratchPad - **/ - @ApiModelProperty(example = "null", value = "Reserved for future use. Indicates whether a scratchpad is used for editing information. ") + **/ + @ApiModelProperty(value = "Reserved for future use. Indicates whether a scratchpad is used for editing information. ") public String getUseScratchPad() { return useScratchPad; } + /** + * setUseScratchPad. + **/ public void setUseScratchPad(String useScratchPad) { this.useScratchPad = useScratchPad; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -133,12 +186,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.useScratchPad, lockRequest.useScratchPad); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(lockDurationInSeconds, lockedByApp, lockType, templatePassword, useScratchPad); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -163,6 +222,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/LoginAccount.java b/src/main/java/com/docusign/esign/model/LoginAccount.java index cc1c950d..939804ed 100644 --- a/src/main/java/com/docusign/esign/model/LoginAccount.java +++ b/src/main/java/com/docusign/esign/model/LoginAccount.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.NameValue; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * LoginAccount + * LoginAccount. + * */ public class LoginAccount { @@ -28,10 +31,10 @@ public class LoginAccount { private String isDefault = null; @JsonProperty("loginAccountSettings") - private java.util.List loginAccountSettings = new java.util.ArrayList(); + private java.util.List loginAccountSettings = null; @JsonProperty("loginUserSettings") - private java.util.List loginUserSettings = new java.util.ArrayList(); + private java.util.List loginUserSettings = null; @JsonProperty("name") private String name = null; @@ -45,215 +48,335 @@ public class LoginAccount { @JsonProperty("userName") private String userName = null; + + /** + * accountId. + * + * @return LoginAccount + **/ public LoginAccount accountId(String accountId) { this.accountId = accountId; return this; } - /** - * The account ID associated with the envelope. + /** + * The account ID associated with the envelope.. * @return accountId - **/ - @ApiModelProperty(example = "null", value = "The account ID associated with the envelope.") + **/ + @ApiModelProperty(value = "The account ID associated with the envelope.") public String getAccountId() { return accountId; } + /** + * setAccountId. + **/ public void setAccountId(String accountId) { this.accountId = accountId; } + + /** + * accountIdGuid. + * + * @return LoginAccount + **/ public LoginAccount accountIdGuid(String accountIdGuid) { this.accountIdGuid = accountIdGuid; return this; } - /** - * The GUID associated with the account ID. + /** + * The GUID associated with the account ID.. * @return accountIdGuid - **/ - @ApiModelProperty(example = "null", value = "The GUID associated with the account ID.") + **/ + @ApiModelProperty(value = "The GUID associated with the account ID.") public String getAccountIdGuid() { return accountIdGuid; } + /** + * setAccountIdGuid. + **/ public void setAccountIdGuid(String accountIdGuid) { this.accountIdGuid = accountIdGuid; } + + /** + * baseUrl. + * + * @return LoginAccount + **/ public LoginAccount baseUrl(String baseUrl) { this.baseUrl = baseUrl; return this; } - /** - * The URL that should be used for successive calls to this account. It includes the protocal (https), the DocuSign server where the account is located, and the account number. Use this Url to make API calls against this account. Many of the API calls provide Uri's that are relative to this baseUrl. + /** + * The URL that should be used for successive calls to this account. It includes the protocal (https), the DocuSign server where the account is located, and the account number. Use this Url to make API calls against this account. Many of the API calls provide Uri's that are relative to this baseUrl.. * @return baseUrl - **/ - @ApiModelProperty(example = "null", value = "The URL that should be used for successive calls to this account. It includes the protocal (https), the DocuSign server where the account is located, and the account number. Use this Url to make API calls against this account. Many of the API calls provide Uri's that are relative to this baseUrl.") + **/ + @ApiModelProperty(value = "The URL that should be used for successive calls to this account. It includes the protocal (https), the DocuSign server where the account is located, and the account number. Use this Url to make API calls against this account. Many of the API calls provide Uri's that are relative to this baseUrl.") public String getBaseUrl() { return baseUrl; } + /** + * setBaseUrl. + **/ public void setBaseUrl(String baseUrl) { this.baseUrl = baseUrl; } + + /** + * email. + * + * @return LoginAccount + **/ public LoginAccount email(String email) { this.email = email; return this; } - /** - * The email address for the user. + /** + * The email address for the user.. * @return email - **/ - @ApiModelProperty(example = "null", value = "The email address for the user.") + **/ + @ApiModelProperty(value = "The email address for the user.") public String getEmail() { return email; } + /** + * setEmail. + **/ public void setEmail(String email) { this.email = email; } + + /** + * isDefault. + * + * @return LoginAccount + **/ public LoginAccount isDefault(String isDefault) { this.isDefault = isDefault; return this; } - /** - * This value is true if this is the default account for the user, otherwise false is returned. + /** + * This value is true if this is the default account for the user, otherwise false is returned.. * @return isDefault - **/ - @ApiModelProperty(example = "null", value = "This value is true if this is the default account for the user, otherwise false is returned.") + **/ + @ApiModelProperty(value = "This value is true if this is the default account for the user, otherwise false is returned.") public String getIsDefault() { return isDefault; } + /** + * setIsDefault. + **/ public void setIsDefault(String isDefault) { this.isDefault = isDefault; } + + /** + * loginAccountSettings. + * + * @return LoginAccount + **/ public LoginAccount loginAccountSettings(java.util.List loginAccountSettings) { this.loginAccountSettings = loginAccountSettings; return this; } - + + /** + * addLoginAccountSettingsItem. + * + * @return LoginAccount + **/ public LoginAccount addLoginAccountSettingsItem(NameValue loginAccountSettingsItem) { + if (this.loginAccountSettings == null) { + this.loginAccountSettings = new java.util.ArrayList(); + } this.loginAccountSettings.add(loginAccountSettingsItem); return this; } - /** - * A list of settings on the acccount that indicate what features are available. + /** + * A list of settings on the acccount that indicate what features are available.. * @return loginAccountSettings - **/ - @ApiModelProperty(example = "null", value = "A list of settings on the acccount that indicate what features are available.") + **/ + @ApiModelProperty(value = "A list of settings on the acccount that indicate what features are available.") public java.util.List getLoginAccountSettings() { return loginAccountSettings; } + /** + * setLoginAccountSettings. + **/ public void setLoginAccountSettings(java.util.List loginAccountSettings) { this.loginAccountSettings = loginAccountSettings; } + + /** + * loginUserSettings. + * + * @return LoginAccount + **/ public LoginAccount loginUserSettings(java.util.List loginUserSettings) { this.loginUserSettings = loginUserSettings; return this; } - + + /** + * addLoginUserSettingsItem. + * + * @return LoginAccount + **/ public LoginAccount addLoginUserSettingsItem(NameValue loginUserSettingsItem) { + if (this.loginUserSettings == null) { + this.loginUserSettings = new java.util.ArrayList(); + } this.loginUserSettings.add(loginUserSettingsItem); return this; } - /** - * A list of user-level settings that indicate what user-specific features are available. + /** + * A list of user-level settings that indicate what user-specific features are available.. * @return loginUserSettings - **/ - @ApiModelProperty(example = "null", value = "A list of user-level settings that indicate what user-specific features are available.") + **/ + @ApiModelProperty(value = "A list of user-level settings that indicate what user-specific features are available.") public java.util.List getLoginUserSettings() { return loginUserSettings; } + /** + * setLoginUserSettings. + **/ public void setLoginUserSettings(java.util.List loginUserSettings) { this.loginUserSettings = loginUserSettings; } + + /** + * name. + * + * @return LoginAccount + **/ public LoginAccount name(String name) { this.name = name; return this; } - /** - * The name associated with the account. + /** + * The name associated with the account.. * @return name - **/ - @ApiModelProperty(example = "null", value = "The name associated with the account.") + **/ + @ApiModelProperty(value = "The name associated with the account.") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * siteDescription. + * + * @return LoginAccount + **/ public LoginAccount siteDescription(String siteDescription) { this.siteDescription = siteDescription; return this; } - /** - * An optional descirption of the site that hosts the account. + /** + * An optional descirption of the site that hosts the account.. * @return siteDescription - **/ - @ApiModelProperty(example = "null", value = "An optional descirption of the site that hosts the account.") + **/ + @ApiModelProperty(value = "An optional descirption of the site that hosts the account.") public String getSiteDescription() { return siteDescription; } + /** + * setSiteDescription. + **/ public void setSiteDescription(String siteDescription) { this.siteDescription = siteDescription; } + + /** + * userId. + * + * @return LoginAccount + **/ public LoginAccount userId(String userId) { this.userId = userId; return this; } - /** - * + /** + * . * @return userId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getUserId() { return userId; } + /** + * setUserId. + **/ public void setUserId(String userId) { this.userId = userId; } + + /** + * userName. + * + * @return LoginAccount + **/ public LoginAccount userName(String userName) { this.userName = userName; return this; } - /** - * The name of this user as defined by the account. + /** + * The name of this user as defined by the account.. * @return userName - **/ - @ApiModelProperty(example = "null", value = "The name of this user as defined by the account.") + **/ + @ApiModelProperty(value = "The name of this user as defined by the account.") public String getUserName() { return userName; } + /** + * setUserName. + **/ public void setUserName(String userName) { this.userName = userName; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -276,12 +399,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.userName, loginAccount.userName); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(accountId, accountIdGuid, baseUrl, email, isDefault, loginAccountSettings, loginUserSettings, name, siteDescription, userId, userName); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -312,6 +441,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/LoginInformation.java b/src/main/java/com/docusign/esign/model/LoginInformation.java index 80393ec4..cf86644f 100644 --- a/src/main/java/com/docusign/esign/model/LoginInformation.java +++ b/src/main/java/com/docusign/esign/model/LoginInformation.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.LoginAccount; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * LoginInformation + * LoginInformation. + * */ public class LoginInformation { @@ -16,50 +19,81 @@ public class LoginInformation { private String apiPassword = null; @JsonProperty("loginAccounts") - private java.util.List loginAccounts = new java.util.ArrayList(); + private java.util.List loginAccounts = null; + + /** + * apiPassword. + * + * @return LoginInformation + **/ public LoginInformation apiPassword(String apiPassword) { this.apiPassword = apiPassword; return this; } - /** - * Contains a token that can be used for authentication in API calls instead of using the user name and password. Only returned if the `api_password=true` query string is added to the URL. + /** + * Contains a token that can be used for authentication in API calls instead of using the user name and password. Only returned if the `api_password=true` query string is added to the URL.. * @return apiPassword - **/ - @ApiModelProperty(example = "null", value = "Contains a token that can be used for authentication in API calls instead of using the user name and password. Only returned if the `api_password=true` query string is added to the URL.") + **/ + @ApiModelProperty(value = "Contains a token that can be used for authentication in API calls instead of using the user name and password. Only returned if the `api_password=true` query string is added to the URL.") public String getApiPassword() { return apiPassword; } + /** + * setApiPassword. + **/ public void setApiPassword(String apiPassword) { this.apiPassword = apiPassword; } + + /** + * loginAccounts. + * + * @return LoginInformation + **/ public LoginInformation loginAccounts(java.util.List loginAccounts) { this.loginAccounts = loginAccounts; return this; } - + + /** + * addLoginAccountsItem. + * + * @return LoginInformation + **/ public LoginInformation addLoginAccountsItem(LoginAccount loginAccountsItem) { + if (this.loginAccounts == null) { + this.loginAccounts = new java.util.ArrayList(); + } this.loginAccounts.add(loginAccountsItem); return this; } - /** - * The list of accounts that authenticating user is a member of. + /** + * The list of accounts that authenticating user is a member of.. * @return loginAccounts - **/ - @ApiModelProperty(example = "null", value = "The list of accounts that authenticating user is a member of.") + **/ + @ApiModelProperty(value = "The list of accounts that authenticating user is a member of.") public java.util.List getLoginAccounts() { return loginAccounts; } + /** + * setLoginAccounts. + **/ public void setLoginAccounts(java.util.List loginAccounts) { this.loginAccounts = loginAccounts; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -73,12 +107,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.loginAccounts, loginInformation.loginAccounts); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(apiPassword, loginAccounts); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -100,6 +140,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/MatchBox.java b/src/main/java/com/docusign/esign/model/MatchBox.java index 1d57a5dc..380e5a93 100644 --- a/src/main/java/com/docusign/esign/model/MatchBox.java +++ b/src/main/java/com/docusign/esign/model/MatchBox.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * MatchBox + * MatchBox. + * */ public class MatchBox { @@ -26,97 +29,147 @@ public class MatchBox { @JsonProperty("yPosition") private Integer yPosition = null; + + /** + * height. + * + * @return MatchBox + **/ public MatchBox height(Integer height) { this.height = height; return this; } - /** - * Height of the tab in pixels. + /** + * Height of the tab in pixels.. * @return height - **/ - @ApiModelProperty(example = "null", value = "Height of the tab in pixels.") + **/ + @ApiModelProperty(value = "Height of the tab in pixels.") public Integer getHeight() { return height; } + /** + * setHeight. + **/ public void setHeight(Integer height) { this.height = height; } + + /** + * pageNumber. + * + * @return MatchBox + **/ public MatchBox pageNumber(Integer pageNumber) { this.pageNumber = pageNumber; return this; } - /** - * Specifies the page number on which the tab is located. + /** + * Specifies the page number on which the tab is located.. * @return pageNumber - **/ - @ApiModelProperty(example = "null", value = "Specifies the page number on which the tab is located.") + **/ + @ApiModelProperty(value = "Specifies the page number on which the tab is located.") public Integer getPageNumber() { return pageNumber; } + /** + * setPageNumber. + **/ public void setPageNumber(Integer pageNumber) { this.pageNumber = pageNumber; } + + /** + * width. + * + * @return MatchBox + **/ public MatchBox width(Integer width) { this.width = width; return this; } - /** - * Width of the tab in pixels. + /** + * Width of the tab in pixels.. * @return width - **/ - @ApiModelProperty(example = "null", value = "Width of the tab in pixels.") + **/ + @ApiModelProperty(value = "Width of the tab in pixels.") public Integer getWidth() { return width; } + /** + * setWidth. + **/ public void setWidth(Integer width) { this.width = width; } + + /** + * xPosition. + * + * @return MatchBox + **/ public MatchBox xPosition(Integer xPosition) { this.xPosition = xPosition; return this; } - /** - * This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position. + /** + * This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.. * @return xPosition - **/ - @ApiModelProperty(example = "null", value = "This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.") + **/ + @ApiModelProperty(value = "This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.") public Integer getXPosition() { return xPosition; } + /** + * setXPosition. + **/ public void setXPosition(Integer xPosition) { this.xPosition = xPosition; } + + /** + * yPosition. + * + * @return MatchBox + **/ public MatchBox yPosition(Integer yPosition) { this.yPosition = yPosition; return this; } - /** - * This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position. + /** + * This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. * @return yPosition - **/ - @ApiModelProperty(example = "null", value = "This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.") + **/ + @ApiModelProperty(value = "This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.") public Integer getYPosition() { return yPosition; } + /** + * setYPosition. + **/ public void setYPosition(Integer yPosition) { this.yPosition = yPosition; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -133,12 +186,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.yPosition, matchBox.yPosition); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(height, pageNumber, width, xPosition, yPosition); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -163,6 +222,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/MemberGroupSharedItem.java b/src/main/java/com/docusign/esign/model/MemberGroupSharedItem.java index 660561d2..d710d170 100644 --- a/src/main/java/com/docusign/esign/model/MemberGroupSharedItem.java +++ b/src/main/java/com/docusign/esign/model/MemberGroupSharedItem.java @@ -1,15 +1,18 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ErrorDetails; import com.docusign.esign.model.Group; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * MemberGroupSharedItem + * MemberGroupSharedItem. + * */ public class MemberGroupSharedItem { @@ -22,61 +25,93 @@ public class MemberGroupSharedItem { @JsonProperty("shared") private String shared = null; + + /** + * errorDetails. + * + * @return MemberGroupSharedItem + **/ public MemberGroupSharedItem errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * group. + * + * @return MemberGroupSharedItem + **/ public MemberGroupSharedItem group(Group group) { this.group = group; return this; } - /** - * Get group + /** + * Get group. * @return group - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public Group getGroup() { return group; } + /** + * setGroup. + **/ public void setGroup(Group group) { this.group = group; } + + /** + * shared. + * + * @return MemberGroupSharedItem + **/ public MemberGroupSharedItem shared(String shared) { this.shared = shared; return this; } - /** - * When set to **true**, this custom tab is shared. + /** + * When set to **true**, this custom tab is shared.. * @return shared - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, this custom tab is shared.") + **/ + @ApiModelProperty(value = "When set to **true**, this custom tab is shared.") public String getShared() { return shared; } + /** + * setShared. + **/ public void setShared(String shared) { this.shared = shared; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -91,12 +126,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.shared, memberGroupSharedItem.shared); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(errorDetails, group, shared); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -119,6 +160,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/MemberSharedItems.java b/src/main/java/com/docusign/esign/model/MemberSharedItems.java index 95636779..8e3c5be6 100644 --- a/src/main/java/com/docusign/esign/model/MemberSharedItems.java +++ b/src/main/java/com/docusign/esign/model/MemberSharedItems.java @@ -1,115 +1,175 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ErrorDetails; import com.docusign.esign.model.SharedItem; import com.docusign.esign.model.TemplateSharedItem; import com.docusign.esign.model.UserInfo; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * MemberSharedItems + * MemberSharedItems. + * */ public class MemberSharedItems { @JsonProperty("envelopes") - private java.util.List envelopes = new java.util.ArrayList(); + private java.util.List envelopes = null; @JsonProperty("errorDetails") private ErrorDetails errorDetails = null; @JsonProperty("templates") - private java.util.List templates = new java.util.ArrayList(); + private java.util.List templates = null; @JsonProperty("user") private UserInfo user = null; + + /** + * envelopes. + * + * @return MemberSharedItems + **/ public MemberSharedItems envelopes(java.util.List envelopes) { this.envelopes = envelopes; return this; } - + + /** + * addEnvelopesItem. + * + * @return MemberSharedItems + **/ public MemberSharedItems addEnvelopesItem(SharedItem envelopesItem) { + if (this.envelopes == null) { + this.envelopes = new java.util.ArrayList(); + } this.envelopes.add(envelopesItem); return this; } - /** - * + /** + * . * @return envelopes - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getEnvelopes() { return envelopes; } + /** + * setEnvelopes. + **/ public void setEnvelopes(java.util.List envelopes) { this.envelopes = envelopes; } + + /** + * errorDetails. + * + * @return MemberSharedItems + **/ public MemberSharedItems errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * templates. + * + * @return MemberSharedItems + **/ public MemberSharedItems templates(java.util.List templates) { this.templates = templates; return this; } - + + /** + * addTemplatesItem. + * + * @return MemberSharedItems + **/ public MemberSharedItems addTemplatesItem(TemplateSharedItem templatesItem) { + if (this.templates == null) { + this.templates = new java.util.ArrayList(); + } this.templates.add(templatesItem); return this; } - /** - * + /** + * . * @return templates - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getTemplates() { return templates; } + /** + * setTemplates. + **/ public void setTemplates(java.util.List templates) { this.templates = templates; } + + /** + * user. + * + * @return MemberSharedItems + **/ public MemberSharedItems user(UserInfo user) { this.user = user; return this; } - /** - * Get user + /** + * Get user. * @return user - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public UserInfo getUser() { return user; } + /** + * setUser. + **/ public void setUser(UserInfo user) { this.user = user; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -125,12 +185,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.user, memberSharedItems.user); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(envelopes, errorDetails, templates, user); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -154,6 +220,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/MergeField.java b/src/main/java/com/docusign/esign/model/MergeField.java index 8a356aa2..73d81352 100644 --- a/src/main/java/com/docusign/esign/model/MergeField.java +++ b/src/main/java/com/docusign/esign/model/MergeField.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Contains information for transfering values between Salesforce data fields and DocuSign Tabs. + * Contains information for transfering values between Salesforce data fields and DocuSign Tabs.. + * */ @ApiModel(description = "Contains information for transfering values between Salesforce data fields and DocuSign Tabs.") @@ -27,97 +30,147 @@ public class MergeField { @JsonProperty("writeBack") private String writeBack = null; + + /** + * allowSenderToEdit. + * + * @return MergeField + **/ public MergeField allowSenderToEdit(String allowSenderToEdit) { this.allowSenderToEdit = allowSenderToEdit; return this; } - /** - * When set to **true**, the sender can modify the value of the custom tab during the sending process. + /** + * When set to **true**, the sender can modify the value of the custom tab during the sending process.. * @return allowSenderToEdit - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender can modify the value of the custom tab during the sending process.") + **/ + @ApiModelProperty(value = "When set to **true**, the sender can modify the value of the custom tab during the sending process.") public String getAllowSenderToEdit() { return allowSenderToEdit; } + /** + * setAllowSenderToEdit. + **/ public void setAllowSenderToEdit(String allowSenderToEdit) { this.allowSenderToEdit = allowSenderToEdit; } + + /** + * configurationType. + * + * @return MergeField + **/ public MergeField configurationType(String configurationType) { this.configurationType = configurationType; return this; } - /** - * If merge field's are being used, specifies the type of the merge field. The only supported value is **salesforce**. + /** + * If merge field's are being used, specifies the type of the merge field. The only supported value is **salesforce**.. * @return configurationType - **/ - @ApiModelProperty(example = "null", value = "If merge field's are being used, specifies the type of the merge field. The only supported value is **salesforce**.") + **/ + @ApiModelProperty(value = "If merge field's are being used, specifies the type of the merge field. The only supported value is **salesforce**.") public String getConfigurationType() { return configurationType; } + /** + * setConfigurationType. + **/ public void setConfigurationType(String configurationType) { this.configurationType = configurationType; } + + /** + * path. + * + * @return MergeField + **/ public MergeField path(String path) { this.path = path; return this; } - /** - * Sets the object associated with the custom tab. Currently this is the Salesforce Object. + /** + * Sets the object associated with the custom tab. Currently this is the Salesforce Object.. * @return path - **/ - @ApiModelProperty(example = "null", value = "Sets the object associated with the custom tab. Currently this is the Salesforce Object.") + **/ + @ApiModelProperty(value = "Sets the object associated with the custom tab. Currently this is the Salesforce Object.") public String getPath() { return path; } + /** + * setPath. + **/ public void setPath(String path) { this.path = path; } + + /** + * row. + * + * @return MergeField + **/ public MergeField row(String row) { this.row = row; return this; } - /** - * Specifies the row number in a Salesforce table that the merge field value corresponds to. + /** + * Specifies the row number in a Salesforce table that the merge field value corresponds to.. * @return row - **/ - @ApiModelProperty(example = "null", value = "Specifies the row number in a Salesforce table that the merge field value corresponds to.") + **/ + @ApiModelProperty(value = "Specifies the row number in a Salesforce table that the merge field value corresponds to.") public String getRow() { return row; } + /** + * setRow. + **/ public void setRow(String row) { this.row = row; } + + /** + * writeBack. + * + * @return MergeField + **/ public MergeField writeBack(String writeBack) { this.writeBack = writeBack; return this; } - /** - * When wet to true, the information entered in the tab automatically updates the related Salesforce data when an envelope is completed. + /** + * When wet to true, the information entered in the tab automatically updates the related Salesforce data when an envelope is completed.. * @return writeBack - **/ - @ApiModelProperty(example = "null", value = "When wet to true, the information entered in the tab automatically updates the related Salesforce data when an envelope is completed.") + **/ + @ApiModelProperty(value = "When wet to true, the information entered in the tab automatically updates the related Salesforce data when an envelope is completed.") public String getWriteBack() { return writeBack; } + /** + * setWriteBack. + **/ public void setWriteBack(String writeBack) { this.writeBack = writeBack; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -134,12 +187,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.writeBack, mergeField.writeBack); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(allowSenderToEdit, configurationType, path, row, writeBack); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -164,6 +223,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/MobileNotifierConfiguration.java b/src/main/java/com/docusign/esign/model/MobileNotifierConfiguration.java index 38744ff3..a500004d 100644 --- a/src/main/java/com/docusign/esign/model/MobileNotifierConfiguration.java +++ b/src/main/java/com/docusign/esign/model/MobileNotifierConfiguration.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ErrorDetails; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * MobileNotifierConfiguration + * MobileNotifierConfiguration. + * */ public class MobileNotifierConfiguration { @@ -21,61 +24,93 @@ public class MobileNotifierConfiguration { @JsonProperty("platform") private String platform = null; + + /** + * deviceId. + * + * @return MobileNotifierConfiguration + **/ public MobileNotifierConfiguration deviceId(String deviceId) { this.deviceId = deviceId; return this; } - /** - * + /** + * . * @return deviceId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getDeviceId() { return deviceId; } + /** + * setDeviceId. + **/ public void setDeviceId(String deviceId) { this.deviceId = deviceId; } + + /** + * errorDetails. + * + * @return MobileNotifierConfiguration + **/ public MobileNotifierConfiguration errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * platform. + * + * @return MobileNotifierConfiguration + **/ public MobileNotifierConfiguration platform(String platform) { this.platform = platform; return this; } - /** - * + /** + * . * @return platform - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPlatform() { return platform; } + /** + * setPlatform. + **/ public void setPlatform(String platform) { this.platform = platform; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -90,12 +125,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.platform, mobileNotifierConfiguration.platform); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(deviceId, errorDetails, platform); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -118,6 +159,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/MobileNotifierConfigurationInformation.java b/src/main/java/com/docusign/esign/model/MobileNotifierConfigurationInformation.java index fe112a1c..61ded3e7 100644 --- a/src/main/java/com/docusign/esign/model/MobileNotifierConfigurationInformation.java +++ b/src/main/java/com/docusign/esign/model/MobileNotifierConfigurationInformation.java @@ -1,44 +1,69 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.MobileNotifierConfiguration; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * MobileNotifierConfigurationInformation + * MobileNotifierConfigurationInformation. + * */ public class MobileNotifierConfigurationInformation { @JsonProperty("mobileNotifierConfigurations") - private java.util.List mobileNotifierConfigurations = new java.util.ArrayList(); + private java.util.List mobileNotifierConfigurations = null; + + /** + * mobileNotifierConfigurations. + * + * @return MobileNotifierConfigurationInformation + **/ public MobileNotifierConfigurationInformation mobileNotifierConfigurations(java.util.List mobileNotifierConfigurations) { this.mobileNotifierConfigurations = mobileNotifierConfigurations; return this; } - + + /** + * addMobileNotifierConfigurationsItem. + * + * @return MobileNotifierConfigurationInformation + **/ public MobileNotifierConfigurationInformation addMobileNotifierConfigurationsItem(MobileNotifierConfiguration mobileNotifierConfigurationsItem) { + if (this.mobileNotifierConfigurations == null) { + this.mobileNotifierConfigurations = new java.util.ArrayList(); + } this.mobileNotifierConfigurations.add(mobileNotifierConfigurationsItem); return this; } - /** - * + /** + * . * @return mobileNotifierConfigurations - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getMobileNotifierConfigurations() { return mobileNotifierConfigurations; } + /** + * setMobileNotifierConfigurations. + **/ public void setMobileNotifierConfigurations(java.util.List mobileNotifierConfigurations) { this.mobileNotifierConfigurations = mobileNotifierConfigurations; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -51,12 +76,18 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.mobileNotifierConfigurations, mobileNotifierConfigurationInformation.mobileNotifierConfigurations); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(mobileNotifierConfigurations); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -77,6 +108,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/ModelList.java b/src/main/java/com/docusign/esign/model/ModelList.java new file mode 100644 index 00000000..e06b911a --- /dev/null +++ b/src/main/java/com/docusign/esign/model/ModelList.java @@ -0,0 +1,1408 @@ +package com.docusign.esign.model; + +import java.util.Objects; +import java.util.Arrays; +import com.docusign.esign.model.ErrorDetails; +import com.docusign.esign.model.ListItem; +import com.docusign.esign.model.MergeField; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +/** + * ModelList. + * + */ + +public class ModelList { + @JsonProperty("anchorCaseSensitive") + private String anchorCaseSensitive = null; + + @JsonProperty("anchorHorizontalAlignment") + private String anchorHorizontalAlignment = null; + + @JsonProperty("anchorIgnoreIfNotPresent") + private String anchorIgnoreIfNotPresent = null; + + @JsonProperty("anchorMatchWholeWord") + private String anchorMatchWholeWord = null; + + @JsonProperty("anchorString") + private String anchorString = null; + + @JsonProperty("anchorUnits") + private String anchorUnits = null; + + @JsonProperty("anchorXOffset") + private String anchorXOffset = null; + + @JsonProperty("anchorYOffset") + private String anchorYOffset = null; + + @JsonProperty("bold") + private String bold = null; + + @JsonProperty("conditionalParentLabel") + private String conditionalParentLabel = null; + + @JsonProperty("conditionalParentValue") + private String conditionalParentValue = null; + + @JsonProperty("customTabId") + private String customTabId = null; + + @JsonProperty("documentId") + private String documentId = null; + + @JsonProperty("errorDetails") + private ErrorDetails errorDetails = null; + + @JsonProperty("font") + private String font = null; + + @JsonProperty("fontColor") + private String fontColor = null; + + @JsonProperty("fontSize") + private String fontSize = null; + + @JsonProperty("italic") + private String italic = null; + + @JsonProperty("listItems") + private java.util.List listItems = null; + + @JsonProperty("locked") + private String locked = null; + + @JsonProperty("mergeField") + private MergeField mergeField = null; + + @JsonProperty("pageNumber") + private String pageNumber = null; + + @JsonProperty("recipientId") + private String recipientId = null; + + @JsonProperty("requireAll") + private String requireAll = null; + + @JsonProperty("required") + private String required = null; + + @JsonProperty("requireInitialOnSharedChange") + private String requireInitialOnSharedChange = null; + + @JsonProperty("senderRequired") + private String senderRequired = null; + + @JsonProperty("shared") + private String shared = null; + + @JsonProperty("status") + private String status = null; + + @JsonProperty("tabGroupLabels") + private java.util.List tabGroupLabels = null; + + @JsonProperty("tabId") + private String tabId = null; + + @JsonProperty("tabLabel") + private String tabLabel = null; + + @JsonProperty("tabOrder") + private String tabOrder = null; + + @JsonProperty("templateLocked") + private String templateLocked = null; + + @JsonProperty("templateRequired") + private String templateRequired = null; + + @JsonProperty("tooltip") + private String tooltip = null; + + @JsonProperty("underline") + private String underline = null; + + @JsonProperty("value") + private String value = null; + + @JsonProperty("width") + private Integer width = null; + + @JsonProperty("xPosition") + private String xPosition = null; + + @JsonProperty("yPosition") + private String yPosition = null; + + + /** + * anchorCaseSensitive. + * + * @return ModelList + **/ + public ModelList anchorCaseSensitive(String anchorCaseSensitive) { + this.anchorCaseSensitive = anchorCaseSensitive; + return this; + } + + /** + * When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.. + * @return anchorCaseSensitive + **/ + @ApiModelProperty(value = "When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.") + public String getAnchorCaseSensitive() { + return anchorCaseSensitive; + } + + /** + * setAnchorCaseSensitive. + **/ + public void setAnchorCaseSensitive(String anchorCaseSensitive) { + this.anchorCaseSensitive = anchorCaseSensitive; + } + + + /** + * anchorHorizontalAlignment. + * + * @return ModelList + **/ + public ModelList anchorHorizontalAlignment(String anchorHorizontalAlignment) { + this.anchorHorizontalAlignment = anchorHorizontalAlignment; + return this; + } + + /** + * Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.. + * @return anchorHorizontalAlignment + **/ + @ApiModelProperty(value = "Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.") + public String getAnchorHorizontalAlignment() { + return anchorHorizontalAlignment; + } + + /** + * setAnchorHorizontalAlignment. + **/ + public void setAnchorHorizontalAlignment(String anchorHorizontalAlignment) { + this.anchorHorizontalAlignment = anchorHorizontalAlignment; + } + + + /** + * anchorIgnoreIfNotPresent. + * + * @return ModelList + **/ + public ModelList anchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { + this.anchorIgnoreIfNotPresent = anchorIgnoreIfNotPresent; + return this; + } + + /** + * When set to **true**, this tab is ignored if anchorString is not found in the document.. + * @return anchorIgnoreIfNotPresent + **/ + @ApiModelProperty(value = "When set to **true**, this tab is ignored if anchorString is not found in the document.") + public String getAnchorIgnoreIfNotPresent() { + return anchorIgnoreIfNotPresent; + } + + /** + * setAnchorIgnoreIfNotPresent. + **/ + public void setAnchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { + this.anchorIgnoreIfNotPresent = anchorIgnoreIfNotPresent; + } + + + /** + * anchorMatchWholeWord. + * + * @return ModelList + **/ + public ModelList anchorMatchWholeWord(String anchorMatchWholeWord) { + this.anchorMatchWholeWord = anchorMatchWholeWord; + return this; + } + + /** + * When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.. + * @return anchorMatchWholeWord + **/ + @ApiModelProperty(value = "When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.") + public String getAnchorMatchWholeWord() { + return anchorMatchWholeWord; + } + + /** + * setAnchorMatchWholeWord. + **/ + public void setAnchorMatchWholeWord(String anchorMatchWholeWord) { + this.anchorMatchWholeWord = anchorMatchWholeWord; + } + + + /** + * anchorString. + * + * @return ModelList + **/ + public ModelList anchorString(String anchorString) { + this.anchorString = anchorString; + return this; + } + + /** + * Anchor text information for a radio button.. + * @return anchorString + **/ + @ApiModelProperty(value = "Anchor text information for a radio button.") + public String getAnchorString() { + return anchorString; + } + + /** + * setAnchorString. + **/ + public void setAnchorString(String anchorString) { + this.anchorString = anchorString; + } + + + /** + * anchorUnits. + * + * @return ModelList + **/ + public ModelList anchorUnits(String anchorUnits) { + this.anchorUnits = anchorUnits; + return this; + } + + /** + * Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. + * @return anchorUnits + **/ + @ApiModelProperty(value = "Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.") + public String getAnchorUnits() { + return anchorUnits; + } + + /** + * setAnchorUnits. + **/ + public void setAnchorUnits(String anchorUnits) { + this.anchorUnits = anchorUnits; + } + + + /** + * anchorXOffset. + * + * @return ModelList + **/ + public ModelList anchorXOffset(String anchorXOffset) { + this.anchorXOffset = anchorXOffset; + return this; + } + + /** + * Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. + * @return anchorXOffset + **/ + @ApiModelProperty(value = "Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.") + public String getAnchorXOffset() { + return anchorXOffset; + } + + /** + * setAnchorXOffset. + **/ + public void setAnchorXOffset(String anchorXOffset) { + this.anchorXOffset = anchorXOffset; + } + + + /** + * anchorYOffset. + * + * @return ModelList + **/ + public ModelList anchorYOffset(String anchorYOffset) { + this.anchorYOffset = anchorYOffset; + return this; + } + + /** + * Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.. + * @return anchorYOffset + **/ + @ApiModelProperty(value = "Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.") + public String getAnchorYOffset() { + return anchorYOffset; + } + + /** + * setAnchorYOffset. + **/ + public void setAnchorYOffset(String anchorYOffset) { + this.anchorYOffset = anchorYOffset; + } + + + /** + * bold. + * + * @return ModelList + **/ + public ModelList bold(String bold) { + this.bold = bold; + return this; + } + + /** + * When set to **true**, the information in the tab is bold.. + * @return bold + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is bold.") + public String getBold() { + return bold; + } + + /** + * setBold. + **/ + public void setBold(String bold) { + this.bold = bold; + } + + + /** + * conditionalParentLabel. + * + * @return ModelList + **/ + public ModelList conditionalParentLabel(String conditionalParentLabel) { + this.conditionalParentLabel = conditionalParentLabel; + return this; + } + + /** + * For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.. + * @return conditionalParentLabel + **/ + @ApiModelProperty(value = "For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.") + public String getConditionalParentLabel() { + return conditionalParentLabel; + } + + /** + * setConditionalParentLabel. + **/ + public void setConditionalParentLabel(String conditionalParentLabel) { + this.conditionalParentLabel = conditionalParentLabel; + } + + + /** + * conditionalParentValue. + * + * @return ModelList + **/ + public ModelList conditionalParentValue(String conditionalParentValue) { + this.conditionalParentValue = conditionalParentValue; + return this; + } + + /** + * For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. . + * @return conditionalParentValue + **/ + @ApiModelProperty(value = "For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. ") + public String getConditionalParentValue() { + return conditionalParentValue; + } + + /** + * setConditionalParentValue. + **/ + public void setConditionalParentValue(String conditionalParentValue) { + this.conditionalParentValue = conditionalParentValue; + } + + + /** + * customTabId. + * + * @return ModelList + **/ + public ModelList customTabId(String customTabId) { + this.customTabId = customTabId; + return this; + } + + /** + * The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.. + * @return customTabId + **/ + @ApiModelProperty(value = "The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.") + public String getCustomTabId() { + return customTabId; + } + + /** + * setCustomTabId. + **/ + public void setCustomTabId(String customTabId) { + this.customTabId = customTabId; + } + + + /** + * documentId. + * + * @return ModelList + **/ + public ModelList documentId(String documentId) { + this.documentId = documentId; + return this; + } + + /** + * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.. + * @return documentId + **/ + @ApiModelProperty(value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") + public String getDocumentId() { + return documentId; + } + + /** + * setDocumentId. + **/ + public void setDocumentId(String documentId) { + this.documentId = documentId; + } + + + /** + * errorDetails. + * + * @return ModelList + **/ + public ModelList errorDetails(ErrorDetails errorDetails) { + this.errorDetails = errorDetails; + return this; + } + + /** + * Get errorDetails. + * @return errorDetails + **/ + @ApiModelProperty(value = "") + public ErrorDetails getErrorDetails() { + return errorDetails; + } + + /** + * setErrorDetails. + **/ + public void setErrorDetails(ErrorDetails errorDetails) { + this.errorDetails = errorDetails; + } + + + /** + * font. + * + * @return ModelList + **/ + public ModelList font(String font) { + this.font = font; + return this; + } + + /** + * The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.. + * @return font + **/ + @ApiModelProperty(value = "The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.") + public String getFont() { + return font; + } + + /** + * setFont. + **/ + public void setFont(String font) { + this.font = font; + } + + + /** + * fontColor. + * + * @return ModelList + **/ + public ModelList fontColor(String fontColor) { + this.fontColor = fontColor; + return this; + } + + /** + * The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.. + * @return fontColor + **/ + @ApiModelProperty(value = "The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.") + public String getFontColor() { + return fontColor; + } + + /** + * setFontColor. + **/ + public void setFontColor(String fontColor) { + this.fontColor = fontColor; + } + + + /** + * fontSize. + * + * @return ModelList + **/ + public ModelList fontSize(String fontSize) { + this.fontSize = fontSize; + return this; + } + + /** + * The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.. + * @return fontSize + **/ + @ApiModelProperty(value = "The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.") + public String getFontSize() { + return fontSize; + } + + /** + * setFontSize. + **/ + public void setFontSize(String fontSize) { + this.fontSize = fontSize; + } + + + /** + * italic. + * + * @return ModelList + **/ + public ModelList italic(String italic) { + this.italic = italic; + return this; + } + + /** + * When set to **true**, the information in the tab is italic.. + * @return italic + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is italic.") + public String getItalic() { + return italic; + } + + /** + * setItalic. + **/ + public void setItalic(String italic) { + this.italic = italic; + } + + + /** + * listItems. + * + * @return ModelList + **/ + public ModelList listItems(java.util.List listItems) { + this.listItems = listItems; + return this; + } + + /** + * addListItemsItem. + * + * @return ModelList + **/ + public ModelList addListItemsItem(ListItem listItemsItem) { + if (this.listItems == null) { + this.listItems = new java.util.ArrayList(); + } + this.listItems.add(listItemsItem); + return this; + } + + /** + * The list of values that can be selected by senders. The list values are separated by semi-colons. Example: [one;two;three;four] Maximum Length of listItems: 2048 characters. Maximum Length of items in the list: 100 characters. . + * @return listItems + **/ + @ApiModelProperty(value = "The list of values that can be selected by senders. The list values are separated by semi-colons. Example: [one;two;three;four] Maximum Length of listItems: 2048 characters. Maximum Length of items in the list: 100 characters. ") + public java.util.List getListItems() { + return listItems; + } + + /** + * setListItems. + **/ + public void setListItems(java.util.List listItems) { + this.listItems = listItems; + } + + + /** + * locked. + * + * @return ModelList + **/ + public ModelList locked(String locked) { + this.locked = locked; + return this; + } + + /** + * When set to **true**, the signer cannot change the data of the custom tab.. + * @return locked + **/ + @ApiModelProperty(value = "When set to **true**, the signer cannot change the data of the custom tab.") + public String getLocked() { + return locked; + } + + /** + * setLocked. + **/ + public void setLocked(String locked) { + this.locked = locked; + } + + + /** + * mergeField. + * + * @return ModelList + **/ + public ModelList mergeField(MergeField mergeField) { + this.mergeField = mergeField; + return this; + } + + /** + * Get mergeField. + * @return mergeField + **/ + @ApiModelProperty(value = "") + public MergeField getMergeField() { + return mergeField; + } + + /** + * setMergeField. + **/ + public void setMergeField(MergeField mergeField) { + this.mergeField = mergeField; + } + + + /** + * pageNumber. + * + * @return ModelList + **/ + public ModelList pageNumber(String pageNumber) { + this.pageNumber = pageNumber; + return this; + } + + /** + * Specifies the page number on which the tab is located.. + * @return pageNumber + **/ + @ApiModelProperty(value = "Specifies the page number on which the tab is located.") + public String getPageNumber() { + return pageNumber; + } + + /** + * setPageNumber. + **/ + public void setPageNumber(String pageNumber) { + this.pageNumber = pageNumber; + } + + + /** + * recipientId. + * + * @return ModelList + **/ + public ModelList recipientId(String recipientId) { + this.recipientId = recipientId; + return this; + } + + /** + * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.. + * @return recipientId + **/ + @ApiModelProperty(value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") + public String getRecipientId() { + return recipientId; + } + + /** + * setRecipientId. + **/ + public void setRecipientId(String recipientId) { + this.recipientId = recipientId; + } + + + /** + * requireAll. + * + * @return ModelList + **/ + public ModelList requireAll(String requireAll) { + this.requireAll = requireAll; + return this; + } + + /** + * When set to **true** and shared is true, information must be entered in this field to complete the envelope. . + * @return requireAll + **/ + @ApiModelProperty(value = "When set to **true** and shared is true, information must be entered in this field to complete the envelope. ") + public String getRequireAll() { + return requireAll; + } + + /** + * setRequireAll. + **/ + public void setRequireAll(String requireAll) { + this.requireAll = requireAll; + } + + + /** + * required. + * + * @return ModelList + **/ + public ModelList required(String required) { + this.required = required; + return this; + } + + /** + * When set to **true**, the signer is required to fill out this tab. + * @return required + **/ + @ApiModelProperty(value = "When set to **true**, the signer is required to fill out this tab") + public String getRequired() { + return required; + } + + /** + * setRequired. + **/ + public void setRequired(String required) { + this.required = required; + } + + + /** + * requireInitialOnSharedChange. + * + * @return ModelList + **/ + public ModelList requireInitialOnSharedChange(String requireInitialOnSharedChange) { + this.requireInitialOnSharedChange = requireInitialOnSharedChange; + return this; + } + + /** + * Optional element for field markup. When set to **true**, the signer is required to initial when they modify a shared field.. + * @return requireInitialOnSharedChange + **/ + @ApiModelProperty(value = "Optional element for field markup. When set to **true**, the signer is required to initial when they modify a shared field.") + public String getRequireInitialOnSharedChange() { + return requireInitialOnSharedChange; + } + + /** + * setRequireInitialOnSharedChange. + **/ + public void setRequireInitialOnSharedChange(String requireInitialOnSharedChange) { + this.requireInitialOnSharedChange = requireInitialOnSharedChange; + } + + + /** + * senderRequired. + * + * @return ModelList + **/ + public ModelList senderRequired(String senderRequired) { + this.senderRequired = senderRequired; + return this; + } + + /** + * When set to **true**, the sender must populate the tab before an envelope can be sent using the template. This value tab can only be changed by modifying (PUT) the template. Tabs with a `senderRequired` value of true cannot be deleted from an envelope.. + * @return senderRequired + **/ + @ApiModelProperty(value = "When set to **true**, the sender must populate the tab before an envelope can be sent using the template. This value tab can only be changed by modifying (PUT) the template. Tabs with a `senderRequired` value of true cannot be deleted from an envelope.") + public String getSenderRequired() { + return senderRequired; + } + + /** + * setSenderRequired. + **/ + public void setSenderRequired(String senderRequired) { + this.senderRequired = senderRequired; + } + + + /** + * shared. + * + * @return ModelList + **/ + public ModelList shared(String shared) { + this.shared = shared; + return this; + } + + /** + * When set to **true**, this custom tab is shared.. + * @return shared + **/ + @ApiModelProperty(value = "When set to **true**, this custom tab is shared.") + public String getShared() { + return shared; + } + + /** + * setShared. + **/ + public void setShared(String shared) { + this.shared = shared; + } + + + /** + * status. + * + * @return ModelList + **/ + public ModelList status(String status) { + this.status = status; + return this; + } + + /** + * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.. + * @return status + **/ + @ApiModelProperty(value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") + public String getStatus() { + return status; + } + + /** + * setStatus. + **/ + public void setStatus(String status) { + this.status = status; + } + + + /** + * tabGroupLabels. + * + * @return ModelList + **/ + public ModelList tabGroupLabels(java.util.List tabGroupLabels) { + this.tabGroupLabels = tabGroupLabels; + return this; + } + + /** + * addTabGroupLabelsItem. + * + * @return ModelList + **/ + public ModelList addTabGroupLabelsItem(String tabGroupLabelsItem) { + if (this.tabGroupLabels == null) { + this.tabGroupLabels = new java.util.ArrayList(); + } + this.tabGroupLabels.add(tabGroupLabelsItem); + return this; + } + + /** + * . + * @return tabGroupLabels + **/ + @ApiModelProperty(value = "") + public java.util.List getTabGroupLabels() { + return tabGroupLabels; + } + + /** + * setTabGroupLabels. + **/ + public void setTabGroupLabels(java.util.List tabGroupLabels) { + this.tabGroupLabels = tabGroupLabels; + } + + + /** + * tabId. + * + * @return ModelList + **/ + public ModelList tabId(String tabId) { + this.tabId = tabId; + return this; + } + + /** + * The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. . + * @return tabId + **/ + @ApiModelProperty(value = "The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. ") + public String getTabId() { + return tabId; + } + + /** + * setTabId. + **/ + public void setTabId(String tabId) { + this.tabId = tabId; + } + + + /** + * tabLabel. + * + * @return ModelList + **/ + public ModelList tabLabel(String tabLabel) { + this.tabLabel = tabLabel; + return this; + } + + /** + * The label string associated with the tab.. + * @return tabLabel + **/ + @ApiModelProperty(value = "The label string associated with the tab.") + public String getTabLabel() { + return tabLabel; + } + + /** + * setTabLabel. + **/ + public void setTabLabel(String tabLabel) { + this.tabLabel = tabLabel; + } + + + /** + * tabOrder. + * + * @return ModelList + **/ + public ModelList tabOrder(String tabOrder) { + this.tabOrder = tabOrder; + return this; + } + + /** + * . + * @return tabOrder + **/ + @ApiModelProperty(value = "") + public String getTabOrder() { + return tabOrder; + } + + /** + * setTabOrder. + **/ + public void setTabOrder(String tabOrder) { + this.tabOrder = tabOrder; + } + + + /** + * templateLocked. + * + * @return ModelList + **/ + public ModelList templateLocked(String templateLocked) { + this.templateLocked = templateLocked; + return this; + } + + /** + * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. . + * @return templateLocked + **/ + @ApiModelProperty(value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") + public String getTemplateLocked() { + return templateLocked; + } + + /** + * setTemplateLocked. + **/ + public void setTemplateLocked(String templateLocked) { + this.templateLocked = templateLocked; + } + + + /** + * templateRequired. + * + * @return ModelList + **/ + public ModelList templateRequired(String templateRequired) { + this.templateRequired = templateRequired; + return this; + } + + /** + * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.. + * @return templateRequired + **/ + @ApiModelProperty(value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") + public String getTemplateRequired() { + return templateRequired; + } + + /** + * setTemplateRequired. + **/ + public void setTemplateRequired(String templateRequired) { + this.templateRequired = templateRequired; + } + + + /** + * tooltip. + * + * @return ModelList + **/ + public ModelList tooltip(String tooltip) { + this.tooltip = tooltip; + return this; + } + + /** + * . + * @return tooltip + **/ + @ApiModelProperty(value = "") + public String getTooltip() { + return tooltip; + } + + /** + * setTooltip. + **/ + public void setTooltip(String tooltip) { + this.tooltip = tooltip; + } + + + /** + * underline. + * + * @return ModelList + **/ + public ModelList underline(String underline) { + this.underline = underline; + return this; + } + + /** + * When set to **true**, the information in the tab is underlined.. + * @return underline + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is underlined.") + public String getUnderline() { + return underline; + } + + /** + * setUnderline. + **/ + public void setUnderline(String underline) { + this.underline = underline; + } + + + /** + * value. + * + * @return ModelList + **/ + public ModelList value(String value) { + this.value = value; + return this; + } + + /** + * The value to use when the item is selected.. + * @return value + **/ + @ApiModelProperty(value = "The value to use when the item is selected.") + public String getValue() { + return value; + } + + /** + * setValue. + **/ + public void setValue(String value) { + this.value = value; + } + + + /** + * width. + * + * @return ModelList + **/ + public ModelList width(Integer width) { + this.width = width; + return this; + } + + /** + * Width of the tab in pixels.. + * @return width + **/ + @ApiModelProperty(value = "Width of the tab in pixels.") + public Integer getWidth() { + return width; + } + + /** + * setWidth. + **/ + public void setWidth(Integer width) { + this.width = width; + } + + + /** + * xPosition. + * + * @return ModelList + **/ + public ModelList xPosition(String xPosition) { + this.xPosition = xPosition; + return this; + } + + /** + * This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.. + * @return xPosition + **/ + @ApiModelProperty(value = "This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.") + public String getXPosition() { + return xPosition; + } + + /** + * setXPosition. + **/ + public void setXPosition(String xPosition) { + this.xPosition = xPosition; + } + + + /** + * yPosition. + * + * @return ModelList + **/ + public ModelList yPosition(String yPosition) { + this.yPosition = yPosition; + return this; + } + + /** + * This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. + * @return yPosition + **/ + @ApiModelProperty(value = "This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.") + public String getYPosition() { + return yPosition; + } + + /** + * setYPosition. + **/ + public void setYPosition(String yPosition) { + this.yPosition = yPosition; + } + + + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ModelList _list = (ModelList) o; + return Objects.equals(this.anchorCaseSensitive, _list.anchorCaseSensitive) && + Objects.equals(this.anchorHorizontalAlignment, _list.anchorHorizontalAlignment) && + Objects.equals(this.anchorIgnoreIfNotPresent, _list.anchorIgnoreIfNotPresent) && + Objects.equals(this.anchorMatchWholeWord, _list.anchorMatchWholeWord) && + Objects.equals(this.anchorString, _list.anchorString) && + Objects.equals(this.anchorUnits, _list.anchorUnits) && + Objects.equals(this.anchorXOffset, _list.anchorXOffset) && + Objects.equals(this.anchorYOffset, _list.anchorYOffset) && + Objects.equals(this.bold, _list.bold) && + Objects.equals(this.conditionalParentLabel, _list.conditionalParentLabel) && + Objects.equals(this.conditionalParentValue, _list.conditionalParentValue) && + Objects.equals(this.customTabId, _list.customTabId) && + Objects.equals(this.documentId, _list.documentId) && + Objects.equals(this.errorDetails, _list.errorDetails) && + Objects.equals(this.font, _list.font) && + Objects.equals(this.fontColor, _list.fontColor) && + Objects.equals(this.fontSize, _list.fontSize) && + Objects.equals(this.italic, _list.italic) && + Objects.equals(this.listItems, _list.listItems) && + Objects.equals(this.locked, _list.locked) && + Objects.equals(this.mergeField, _list.mergeField) && + Objects.equals(this.pageNumber, _list.pageNumber) && + Objects.equals(this.recipientId, _list.recipientId) && + Objects.equals(this.requireAll, _list.requireAll) && + Objects.equals(this.required, _list.required) && + Objects.equals(this.requireInitialOnSharedChange, _list.requireInitialOnSharedChange) && + Objects.equals(this.senderRequired, _list.senderRequired) && + Objects.equals(this.shared, _list.shared) && + Objects.equals(this.status, _list.status) && + Objects.equals(this.tabGroupLabels, _list.tabGroupLabels) && + Objects.equals(this.tabId, _list.tabId) && + Objects.equals(this.tabLabel, _list.tabLabel) && + Objects.equals(this.tabOrder, _list.tabOrder) && + Objects.equals(this.templateLocked, _list.templateLocked) && + Objects.equals(this.templateRequired, _list.templateRequired) && + Objects.equals(this.tooltip, _list.tooltip) && + Objects.equals(this.underline, _list.underline) && + Objects.equals(this.value, _list.value) && + Objects.equals(this.width, _list.width) && + Objects.equals(this.xPosition, _list.xPosition) && + Objects.equals(this.yPosition, _list.yPosition); + } + + /** + * Returns the HashCode. + */ + @Override + public int hashCode() { + return Objects.hash(anchorCaseSensitive, anchorHorizontalAlignment, anchorIgnoreIfNotPresent, anchorMatchWholeWord, anchorString, anchorUnits, anchorXOffset, anchorYOffset, bold, conditionalParentLabel, conditionalParentValue, customTabId, documentId, errorDetails, font, fontColor, fontSize, italic, listItems, locked, mergeField, pageNumber, recipientId, requireAll, required, requireInitialOnSharedChange, senderRequired, shared, status, tabGroupLabels, tabId, tabLabel, tabOrder, templateLocked, templateRequired, tooltip, underline, value, width, xPosition, yPosition); + } + + + /** + * Converts the given object to string. + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ModelList {\n"); + + sb.append(" anchorCaseSensitive: ").append(toIndentedString(anchorCaseSensitive)).append("\n"); + sb.append(" anchorHorizontalAlignment: ").append(toIndentedString(anchorHorizontalAlignment)).append("\n"); + sb.append(" anchorIgnoreIfNotPresent: ").append(toIndentedString(anchorIgnoreIfNotPresent)).append("\n"); + sb.append(" anchorMatchWholeWord: ").append(toIndentedString(anchorMatchWholeWord)).append("\n"); + sb.append(" anchorString: ").append(toIndentedString(anchorString)).append("\n"); + sb.append(" anchorUnits: ").append(toIndentedString(anchorUnits)).append("\n"); + sb.append(" anchorXOffset: ").append(toIndentedString(anchorXOffset)).append("\n"); + sb.append(" anchorYOffset: ").append(toIndentedString(anchorYOffset)).append("\n"); + sb.append(" bold: ").append(toIndentedString(bold)).append("\n"); + sb.append(" conditionalParentLabel: ").append(toIndentedString(conditionalParentLabel)).append("\n"); + sb.append(" conditionalParentValue: ").append(toIndentedString(conditionalParentValue)).append("\n"); + sb.append(" customTabId: ").append(toIndentedString(customTabId)).append("\n"); + sb.append(" documentId: ").append(toIndentedString(documentId)).append("\n"); + sb.append(" errorDetails: ").append(toIndentedString(errorDetails)).append("\n"); + sb.append(" font: ").append(toIndentedString(font)).append("\n"); + sb.append(" fontColor: ").append(toIndentedString(fontColor)).append("\n"); + sb.append(" fontSize: ").append(toIndentedString(fontSize)).append("\n"); + sb.append(" italic: ").append(toIndentedString(italic)).append("\n"); + sb.append(" listItems: ").append(toIndentedString(listItems)).append("\n"); + sb.append(" locked: ").append(toIndentedString(locked)).append("\n"); + sb.append(" mergeField: ").append(toIndentedString(mergeField)).append("\n"); + sb.append(" pageNumber: ").append(toIndentedString(pageNumber)).append("\n"); + sb.append(" recipientId: ").append(toIndentedString(recipientId)).append("\n"); + sb.append(" requireAll: ").append(toIndentedString(requireAll)).append("\n"); + sb.append(" required: ").append(toIndentedString(required)).append("\n"); + sb.append(" requireInitialOnSharedChange: ").append(toIndentedString(requireInitialOnSharedChange)).append("\n"); + sb.append(" senderRequired: ").append(toIndentedString(senderRequired)).append("\n"); + sb.append(" shared: ").append(toIndentedString(shared)).append("\n"); + sb.append(" status: ").append(toIndentedString(status)).append("\n"); + sb.append(" tabGroupLabels: ").append(toIndentedString(tabGroupLabels)).append("\n"); + sb.append(" tabId: ").append(toIndentedString(tabId)).append("\n"); + sb.append(" tabLabel: ").append(toIndentedString(tabLabel)).append("\n"); + sb.append(" tabOrder: ").append(toIndentedString(tabOrder)).append("\n"); + sb.append(" templateLocked: ").append(toIndentedString(templateLocked)).append("\n"); + sb.append(" templateRequired: ").append(toIndentedString(templateRequired)).append("\n"); + sb.append(" tooltip: ").append(toIndentedString(tooltip)).append("\n"); + sb.append(" underline: ").append(toIndentedString(underline)).append("\n"); + sb.append(" value: ").append(toIndentedString(value)).append("\n"); + sb.append(" width: ").append(toIndentedString(width)).append("\n"); + sb.append(" xPosition: ").append(toIndentedString(xPosition)).append("\n"); + sb.append(" yPosition: ").append(toIndentedString(yPosition)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/com/docusign/esign/model/Money.java b/src/main/java/com/docusign/esign/model/Money.java index 9d446943..d3389399 100644 --- a/src/main/java/com/docusign/esign/model/Money.java +++ b/src/main/java/com/docusign/esign/model/Money.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Money + * Money. + * */ public class Money { @@ -20,61 +23,93 @@ public class Money { @JsonProperty("displayAmount") private String displayAmount = null; + + /** + * amountInBaseUnit. + * + * @return Money + **/ public Money amountInBaseUnit(String amountInBaseUnit) { this.amountInBaseUnit = amountInBaseUnit; return this; } - /** - * + /** + * . * @return amountInBaseUnit - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAmountInBaseUnit() { return amountInBaseUnit; } + /** + * setAmountInBaseUnit. + **/ public void setAmountInBaseUnit(String amountInBaseUnit) { this.amountInBaseUnit = amountInBaseUnit; } + + /** + * currency. + * + * @return Money + **/ public Money currency(String currency) { this.currency = currency; return this; } - /** - * + /** + * . * @return currency - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getCurrency() { return currency; } + /** + * setCurrency. + **/ public void setCurrency(String currency) { this.currency = currency; } + + /** + * displayAmount. + * + * @return Money + **/ public Money displayAmount(String displayAmount) { this.displayAmount = displayAmount; return this; } - /** - * + /** + * . * @return displayAmount - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getDisplayAmount() { return displayAmount; } + /** + * setDisplayAmount. + **/ public void setDisplayAmount(String displayAmount) { this.displayAmount = displayAmount; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -89,12 +124,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.displayAmount, money.displayAmount); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(amountInBaseUnit, currency, displayAmount); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -117,6 +158,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/NameValue.java b/src/main/java/com/docusign/esign/model/NameValue.java index 8a0bec56..99a1e1c0 100644 --- a/src/main/java/com/docusign/esign/model/NameValue.java +++ b/src/main/java/com/docusign/esign/model/NameValue.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ErrorDetails; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * NameValue + * NameValue. + * */ public class NameValue { @@ -24,79 +27,120 @@ public class NameValue { @JsonProperty("value") private String value = null; + + /** + * errorDetails. + * + * @return NameValue + **/ public NameValue errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * name. + * + * @return NameValue + **/ public NameValue name(String name) { this.name = name; return this; } - /** - * The name or key of a name/value pair. + /** + * The name or key of a name/value pair.. * @return name - **/ - @ApiModelProperty(example = "null", value = "The name or key of a name/value pair.") + **/ + @ApiModelProperty(value = "The name or key of a name/value pair.") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * originalValue. + * + * @return NameValue + **/ public NameValue originalValue(String originalValue) { this.originalValue = originalValue; return this; } - /** - * The initial value of the tab when it was sent to the recipient. + /** + * The initial value of the tab when it was sent to the recipient. . * @return originalValue - **/ - @ApiModelProperty(example = "null", value = "The initial value of the tab when it was sent to the recipient. ") + **/ + @ApiModelProperty(value = "The initial value of the tab when it was sent to the recipient. ") public String getOriginalValue() { return originalValue; } + /** + * setOriginalValue. + **/ public void setOriginalValue(String originalValue) { this.originalValue = originalValue; } + + /** + * value. + * + * @return NameValue + **/ public NameValue value(String value) { this.value = value; return this; } - /** - * The value field of a name/value pair. + /** + * The value field of a name/value pair.. * @return value - **/ - @ApiModelProperty(example = "null", value = "The value field of a name/value pair.") + **/ + @ApiModelProperty(value = "The value field of a name/value pair.") public String getValue() { return value; } + /** + * setValue. + **/ public void setValue(String value) { this.value = value; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -112,12 +156,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.value, nameValue.value); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(errorDetails, name, originalValue, value); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -141,6 +191,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/NewAccountDefinition.java b/src/main/java/com/docusign/esign/model/NewAccountDefinition.java index afef3768..a51fad26 100644 --- a/src/main/java/com/docusign/esign/model/NewAccountDefinition.java +++ b/src/main/java/com/docusign/esign/model/NewAccountDefinition.java @@ -1,6 +1,7 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.AccountAddress; import com.docusign.esign.model.CreditCardInformation; import com.docusign.esign.model.NameValue; @@ -11,11 +12,13 @@ import com.docusign.esign.model.UserInformation; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * NewAccountDefinition + * NewAccountDefinition. + * */ public class NewAccountDefinition { @@ -23,7 +26,7 @@ public class NewAccountDefinition { private String accountName = null; @JsonProperty("accountSettings") - private java.util.List accountSettings = new java.util.ArrayList(); + private java.util.List accountSettings = null; @JsonProperty("addressInformation") private AccountAddress addressInformation = null; @@ -37,6 +40,9 @@ public class NewAccountDefinition { @JsonProperty("distributorPassword") private String distributorPassword = null; + @JsonProperty("envelopePartitionId") + private String envelopePartitionId = null; + @JsonProperty("initialUser") private UserInformation initialUser = null; @@ -52,210 +58,349 @@ public class NewAccountDefinition { @JsonProperty("socialAccountInformation") private SocialAccountInformation socialAccountInformation = null; + + /** + * accountName. + * + * @return NewAccountDefinition + **/ public NewAccountDefinition accountName(String accountName) { this.accountName = accountName; return this; } - /** - * The account name for the new account. + /** + * The account name for the new account.. * @return accountName - **/ - @ApiModelProperty(example = "null", value = "The account name for the new account.") + **/ + @ApiModelProperty(value = "The account name for the new account.") public String getAccountName() { return accountName; } + /** + * setAccountName. + **/ public void setAccountName(String accountName) { this.accountName = accountName; } + + /** + * accountSettings. + * + * @return NewAccountDefinition + **/ public NewAccountDefinition accountSettings(java.util.List accountSettings) { this.accountSettings = accountSettings; return this; } - + + /** + * addAccountSettingsItem. + * + * @return NewAccountDefinition + **/ public NewAccountDefinition addAccountSettingsItem(NameValue accountSettingsItem) { + if (this.accountSettings == null) { + this.accountSettings = new java.util.ArrayList(); + } this.accountSettings.add(accountSettingsItem); return this; } - /** - * The list of account settings. These determine the features available for the account. Note that some features are determined by the plan used to create the account, and cannot be overridden. + /** + * The list of account settings. These determine the features available for the account. Note that some features are determined by the plan used to create the account, and cannot be overridden.. * @return accountSettings - **/ - @ApiModelProperty(example = "null", value = "The list of account settings. These determine the features available for the account. Note that some features are determined by the plan used to create the account, and cannot be overridden.") + **/ + @ApiModelProperty(value = "The list of account settings. These determine the features available for the account. Note that some features are determined by the plan used to create the account, and cannot be overridden.") public java.util.List getAccountSettings() { return accountSettings; } + /** + * setAccountSettings. + **/ public void setAccountSettings(java.util.List accountSettings) { this.accountSettings = accountSettings; } + + /** + * addressInformation. + * + * @return NewAccountDefinition + **/ public NewAccountDefinition addressInformation(AccountAddress addressInformation) { this.addressInformation = addressInformation; return this; } - /** - * Get addressInformation + /** + * Get addressInformation. * @return addressInformation - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public AccountAddress getAddressInformation() { return addressInformation; } + /** + * setAddressInformation. + **/ public void setAddressInformation(AccountAddress addressInformation) { this.addressInformation = addressInformation; } + + /** + * creditCardInformation. + * + * @return NewAccountDefinition + **/ public NewAccountDefinition creditCardInformation(CreditCardInformation creditCardInformation) { this.creditCardInformation = creditCardInformation; return this; } - /** - * Get creditCardInformation + /** + * Get creditCardInformation. * @return creditCardInformation - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public CreditCardInformation getCreditCardInformation() { return creditCardInformation; } + /** + * setCreditCardInformation. + **/ public void setCreditCardInformation(CreditCardInformation creditCardInformation) { this.creditCardInformation = creditCardInformation; } + + /** + * distributorCode. + * + * @return NewAccountDefinition + **/ public NewAccountDefinition distributorCode(String distributorCode) { this.distributorCode = distributorCode; return this; } - /** - * The code that identifies the billing plan groups and plans for the new account. + /** + * The code that identifies the billing plan groups and plans for the new account.. * @return distributorCode - **/ - @ApiModelProperty(example = "null", value = "The code that identifies the billing plan groups and plans for the new account.") + **/ + @ApiModelProperty(value = "The code that identifies the billing plan groups and plans for the new account.") public String getDistributorCode() { return distributorCode; } + /** + * setDistributorCode. + **/ public void setDistributorCode(String distributorCode) { this.distributorCode = distributorCode; } + + /** + * distributorPassword. + * + * @return NewAccountDefinition + **/ public NewAccountDefinition distributorPassword(String distributorPassword) { this.distributorPassword = distributorPassword; return this; } - /** - * The password for the distributorCode. + /** + * The password for the distributorCode.. * @return distributorPassword - **/ - @ApiModelProperty(example = "null", value = "The password for the distributorCode.") + **/ + @ApiModelProperty(value = "The password for the distributorCode.") public String getDistributorPassword() { return distributorPassword; } + /** + * setDistributorPassword. + **/ public void setDistributorPassword(String distributorPassword) { this.distributorPassword = distributorPassword; } + + /** + * envelopePartitionId. + * + * @return NewAccountDefinition + **/ + public NewAccountDefinition envelopePartitionId(String envelopePartitionId) { + this.envelopePartitionId = envelopePartitionId; + return this; + } + + /** + * . + * @return envelopePartitionId + **/ + @ApiModelProperty(value = "") + public String getEnvelopePartitionId() { + return envelopePartitionId; + } + + /** + * setEnvelopePartitionId. + **/ + public void setEnvelopePartitionId(String envelopePartitionId) { + this.envelopePartitionId = envelopePartitionId; + } + + + /** + * initialUser. + * + * @return NewAccountDefinition + **/ public NewAccountDefinition initialUser(UserInformation initialUser) { this.initialUser = initialUser; return this; } - /** - * Get initialUser + /** + * Get initialUser. * @return initialUser - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public UserInformation getInitialUser() { return initialUser; } + /** + * setInitialUser. + **/ public void setInitialUser(UserInformation initialUser) { this.initialUser = initialUser; } + + /** + * paymentProcessorInformation. + * + * @return NewAccountDefinition + **/ public NewAccountDefinition paymentProcessorInformation(PaymentProcessorInformation paymentProcessorInformation) { this.paymentProcessorInformation = paymentProcessorInformation; return this; } - /** - * Get paymentProcessorInformation + /** + * Get paymentProcessorInformation. * @return paymentProcessorInformation - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public PaymentProcessorInformation getPaymentProcessorInformation() { return paymentProcessorInformation; } + /** + * setPaymentProcessorInformation. + **/ public void setPaymentProcessorInformation(PaymentProcessorInformation paymentProcessorInformation) { this.paymentProcessorInformation = paymentProcessorInformation; } + + /** + * planInformation. + * + * @return NewAccountDefinition + **/ public NewAccountDefinition planInformation(PlanInformation planInformation) { this.planInformation = planInformation; return this; } - /** - * Get planInformation + /** + * Get planInformation. * @return planInformation - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public PlanInformation getPlanInformation() { return planInformation; } + /** + * setPlanInformation. + **/ public void setPlanInformation(PlanInformation planInformation) { this.planInformation = planInformation; } + + /** + * referralInformation. + * + * @return NewAccountDefinition + **/ public NewAccountDefinition referralInformation(ReferralInformation referralInformation) { this.referralInformation = referralInformation; return this; } - /** - * Get referralInformation + /** + * Get referralInformation. * @return referralInformation - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ReferralInformation getReferralInformation() { return referralInformation; } + /** + * setReferralInformation. + **/ public void setReferralInformation(ReferralInformation referralInformation) { this.referralInformation = referralInformation; } + + /** + * socialAccountInformation. + * + * @return NewAccountDefinition + **/ public NewAccountDefinition socialAccountInformation(SocialAccountInformation socialAccountInformation) { this.socialAccountInformation = socialAccountInformation; return this; } - /** - * Get socialAccountInformation + /** + * Get socialAccountInformation. * @return socialAccountInformation - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SocialAccountInformation getSocialAccountInformation() { return socialAccountInformation; } + /** + * setSocialAccountInformation. + **/ public void setSocialAccountInformation(SocialAccountInformation socialAccountInformation) { this.socialAccountInformation = socialAccountInformation; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -271,6 +416,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.creditCardInformation, newAccountDefinition.creditCardInformation) && Objects.equals(this.distributorCode, newAccountDefinition.distributorCode) && Objects.equals(this.distributorPassword, newAccountDefinition.distributorPassword) && + Objects.equals(this.envelopePartitionId, newAccountDefinition.envelopePartitionId) && Objects.equals(this.initialUser, newAccountDefinition.initialUser) && Objects.equals(this.paymentProcessorInformation, newAccountDefinition.paymentProcessorInformation) && Objects.equals(this.planInformation, newAccountDefinition.planInformation) && @@ -278,12 +424,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.socialAccountInformation, newAccountDefinition.socialAccountInformation); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { - return Objects.hash(accountName, accountSettings, addressInformation, creditCardInformation, distributorCode, distributorPassword, initialUser, paymentProcessorInformation, planInformation, referralInformation, socialAccountInformation); + return Objects.hash(accountName, accountSettings, addressInformation, creditCardInformation, distributorCode, distributorPassword, envelopePartitionId, initialUser, paymentProcessorInformation, planInformation, referralInformation, socialAccountInformation); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -295,6 +447,7 @@ public String toString() { sb.append(" creditCardInformation: ").append(toIndentedString(creditCardInformation)).append("\n"); sb.append(" distributorCode: ").append(toIndentedString(distributorCode)).append("\n"); sb.append(" distributorPassword: ").append(toIndentedString(distributorPassword)).append("\n"); + sb.append(" envelopePartitionId: ").append(toIndentedString(envelopePartitionId)).append("\n"); sb.append(" initialUser: ").append(toIndentedString(initialUser)).append("\n"); sb.append(" paymentProcessorInformation: ").append(toIndentedString(paymentProcessorInformation)).append("\n"); sb.append(" planInformation: ").append(toIndentedString(planInformation)).append("\n"); @@ -314,6 +467,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/NewAccountSummary.java b/src/main/java/com/docusign/esign/model/NewAccountSummary.java index 6798617b..7070ae02 100644 --- a/src/main/java/com/docusign/esign/model/NewAccountSummary.java +++ b/src/main/java/com/docusign/esign/model/NewAccountSummary.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.BillingPlanPreview; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * NewAccountSummary + * NewAccountSummary. + * */ public class NewAccountSummary { @@ -33,133 +36,201 @@ public class NewAccountSummary { @JsonProperty("userId") private String userId = null; + + /** + * accountId. + * + * @return NewAccountSummary + **/ public NewAccountSummary accountId(String accountId) { this.accountId = accountId; return this; } - /** - * The account ID associated with the envelope. + /** + * The account ID associated with the envelope.. * @return accountId - **/ - @ApiModelProperty(example = "null", value = "The account ID associated with the envelope.") + **/ + @ApiModelProperty(value = "The account ID associated with the envelope.") public String getAccountId() { return accountId; } + /** + * setAccountId. + **/ public void setAccountId(String accountId) { this.accountId = accountId; } + + /** + * accountIdGuid. + * + * @return NewAccountSummary + **/ public NewAccountSummary accountIdGuid(String accountIdGuid) { this.accountIdGuid = accountIdGuid; return this; } - /** - * The GUID associated with the account ID. + /** + * The GUID associated with the account ID.. * @return accountIdGuid - **/ - @ApiModelProperty(example = "null", value = "The GUID associated with the account ID.") + **/ + @ApiModelProperty(value = "The GUID associated with the account ID.") public String getAccountIdGuid() { return accountIdGuid; } + /** + * setAccountIdGuid. + **/ public void setAccountIdGuid(String accountIdGuid) { this.accountIdGuid = accountIdGuid; } + + /** + * accountName. + * + * @return NewAccountSummary + **/ public NewAccountSummary accountName(String accountName) { this.accountName = accountName; return this; } - /** - * The account name for the new account. + /** + * The account name for the new account.. * @return accountName - **/ - @ApiModelProperty(example = "null", value = "The account name for the new account.") + **/ + @ApiModelProperty(value = "The account name for the new account.") public String getAccountName() { return accountName; } + /** + * setAccountName. + **/ public void setAccountName(String accountName) { this.accountName = accountName; } + + /** + * apiPassword. + * + * @return NewAccountSummary + **/ public NewAccountSummary apiPassword(String apiPassword) { this.apiPassword = apiPassword; return this; } - /** - * Contains a token that can be used for authentication in API calls instead of using the user name and password. + /** + * Contains a token that can be used for authentication in API calls instead of using the user name and password.. * @return apiPassword - **/ - @ApiModelProperty(example = "null", value = "Contains a token that can be used for authentication in API calls instead of using the user name and password.") + **/ + @ApiModelProperty(value = "Contains a token that can be used for authentication in API calls instead of using the user name and password.") public String getApiPassword() { return apiPassword; } + /** + * setApiPassword. + **/ public void setApiPassword(String apiPassword) { this.apiPassword = apiPassword; } + + /** + * baseUrl. + * + * @return NewAccountSummary + **/ public NewAccountSummary baseUrl(String baseUrl) { this.baseUrl = baseUrl; return this; } - /** - * The URL that should be used for successive calls to this account. It includes the protocal (https), the DocuSign server where the account is located, and the account number. Use this Url to make API calls against this account. Many of the API calls provide Uri's that are relative to this baseUrl. + /** + * The URL that should be used for successive calls to this account. It includes the protocal (https), the DocuSign server where the account is located, and the account number. Use this Url to make API calls against this account. Many of the API calls provide Uri's that are relative to this baseUrl.. * @return baseUrl - **/ - @ApiModelProperty(example = "null", value = "The URL that should be used for successive calls to this account. It includes the protocal (https), the DocuSign server where the account is located, and the account number. Use this Url to make API calls against this account. Many of the API calls provide Uri's that are relative to this baseUrl.") + **/ + @ApiModelProperty(value = "The URL that should be used for successive calls to this account. It includes the protocal (https), the DocuSign server where the account is located, and the account number. Use this Url to make API calls against this account. Many of the API calls provide Uri's that are relative to this baseUrl.") public String getBaseUrl() { return baseUrl; } + /** + * setBaseUrl. + **/ public void setBaseUrl(String baseUrl) { this.baseUrl = baseUrl; } + + /** + * billingPlanPreview. + * + * @return NewAccountSummary + **/ public NewAccountSummary billingPlanPreview(BillingPlanPreview billingPlanPreview) { this.billingPlanPreview = billingPlanPreview; return this; } - /** - * Get billingPlanPreview + /** + * Get billingPlanPreview. * @return billingPlanPreview - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public BillingPlanPreview getBillingPlanPreview() { return billingPlanPreview; } + /** + * setBillingPlanPreview. + **/ public void setBillingPlanPreview(BillingPlanPreview billingPlanPreview) { this.billingPlanPreview = billingPlanPreview; } + + /** + * userId. + * + * @return NewAccountSummary + **/ public NewAccountSummary userId(String userId) { this.userId = userId; return this; } - /** - * Specifies the user ID of the new user. + /** + * Specifies the user ID of the new user.. * @return userId - **/ - @ApiModelProperty(example = "null", value = "Specifies the user ID of the new user.") + **/ + @ApiModelProperty(value = "Specifies the user ID of the new user.") public String getUserId() { return userId; } + /** + * setUserId. + **/ public void setUserId(String userId) { this.userId = userId; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -178,12 +249,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.userId, newAccountSummary.userId); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(accountId, accountIdGuid, accountName, apiPassword, baseUrl, billingPlanPreview, userId); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -210,6 +287,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/NewUser.java b/src/main/java/com/docusign/esign/model/NewUser.java index 7bc1c084..e1c032d9 100644 --- a/src/main/java/com/docusign/esign/model/NewUser.java +++ b/src/main/java/com/docusign/esign/model/NewUser.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ErrorDetails; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * NewUser + * NewUser. + * */ public class NewUser { @@ -24,6 +27,9 @@ public class NewUser { @JsonProperty("errorDetails") private ErrorDetails errorDetails = null; + @JsonProperty("membershipId") + private String membershipId = null; + @JsonProperty("permissionProfileId") private String permissionProfileId = null; @@ -42,187 +48,309 @@ public class NewUser { @JsonProperty("userStatus") private String userStatus = null; + + /** + * apiPassword. + * + * @return NewUser + **/ public NewUser apiPassword(String apiPassword) { this.apiPassword = apiPassword; return this; } - /** - * Contains a token that can be used for authentication in API calls instead of using the user name and password. + /** + * Contains a token that can be used for authentication in API calls instead of using the user name and password.. * @return apiPassword - **/ - @ApiModelProperty(example = "null", value = "Contains a token that can be used for authentication in API calls instead of using the user name and password.") + **/ + @ApiModelProperty(value = "Contains a token that can be used for authentication in API calls instead of using the user name and password.") public String getApiPassword() { return apiPassword; } + /** + * setApiPassword. + **/ public void setApiPassword(String apiPassword) { this.apiPassword = apiPassword; } + + /** + * createdDateTime. + * + * @return NewUser + **/ public NewUser createdDateTime(String createdDateTime) { this.createdDateTime = createdDateTime; return this; } - /** - * Indicates the date and time the item was created. + /** + * Indicates the date and time the item was created.. * @return createdDateTime - **/ - @ApiModelProperty(example = "null", value = "Indicates the date and time the item was created.") + **/ + @ApiModelProperty(value = "Indicates the date and time the item was created.") public String getCreatedDateTime() { return createdDateTime; } + /** + * setCreatedDateTime. + **/ public void setCreatedDateTime(String createdDateTime) { this.createdDateTime = createdDateTime; } + + /** + * email. + * + * @return NewUser + **/ public NewUser email(String email) { this.email = email; return this; } - /** - * + /** + * . * @return email - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getEmail() { return email; } + /** + * setEmail. + **/ public void setEmail(String email) { this.email = email; } + + /** + * errorDetails. + * + * @return NewUser + **/ public NewUser errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * membershipId. + * + * @return NewUser + **/ + public NewUser membershipId(String membershipId) { + this.membershipId = membershipId; + return this; + } + + /** + * . + * @return membershipId + **/ + @ApiModelProperty(value = "") + public String getMembershipId() { + return membershipId; + } + + /** + * setMembershipId. + **/ + public void setMembershipId(String membershipId) { + this.membershipId = membershipId; + } + + + /** + * permissionProfileId. + * + * @return NewUser + **/ public NewUser permissionProfileId(String permissionProfileId) { this.permissionProfileId = permissionProfileId; return this; } - /** - * + /** + * . * @return permissionProfileId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPermissionProfileId() { return permissionProfileId; } + /** + * setPermissionProfileId. + **/ public void setPermissionProfileId(String permissionProfileId) { this.permissionProfileId = permissionProfileId; } + + /** + * permissionProfileName. + * + * @return NewUser + **/ public NewUser permissionProfileName(String permissionProfileName) { this.permissionProfileName = permissionProfileName; return this; } - /** - * + /** + * . * @return permissionProfileName - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPermissionProfileName() { return permissionProfileName; } + /** + * setPermissionProfileName. + **/ public void setPermissionProfileName(String permissionProfileName) { this.permissionProfileName = permissionProfileName; } + + /** + * uri. + * + * @return NewUser + **/ public NewUser uri(String uri) { this.uri = uri; return this; } - /** - * + /** + * . * @return uri - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getUri() { return uri; } + /** + * setUri. + **/ public void setUri(String uri) { this.uri = uri; } + + /** + * userId. + * + * @return NewUser + **/ public NewUser userId(String userId) { this.userId = userId; return this; } - /** - * Specifies the user ID for the new user. + /** + * Specifies the user ID for the new user.. * @return userId - **/ - @ApiModelProperty(example = "null", value = "Specifies the user ID for the new user.") + **/ + @ApiModelProperty(value = "Specifies the user ID for the new user.") public String getUserId() { return userId; } + /** + * setUserId. + **/ public void setUserId(String userId) { this.userId = userId; } + + /** + * userName. + * + * @return NewUser + **/ public NewUser userName(String userName) { this.userName = userName; return this; } - /** - * + /** + * . * @return userName - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getUserName() { return userName; } + /** + * setUserName. + **/ public void setUserName(String userName) { this.userName = userName; } + + /** + * userStatus. + * + * @return NewUser + **/ public NewUser userStatus(String userStatus) { this.userStatus = userStatus; return this; } - /** - * + /** + * . * @return userStatus - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getUserStatus() { return userStatus; } + /** + * setUserStatus. + **/ public void setUserStatus(String userStatus) { this.userStatus = userStatus; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -236,6 +364,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.createdDateTime, newUser.createdDateTime) && Objects.equals(this.email, newUser.email) && Objects.equals(this.errorDetails, newUser.errorDetails) && + Objects.equals(this.membershipId, newUser.membershipId) && Objects.equals(this.permissionProfileId, newUser.permissionProfileId) && Objects.equals(this.permissionProfileName, newUser.permissionProfileName) && Objects.equals(this.uri, newUser.uri) && @@ -244,12 +373,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.userStatus, newUser.userStatus); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { - return Objects.hash(apiPassword, createdDateTime, email, errorDetails, permissionProfileId, permissionProfileName, uri, userId, userName, userStatus); + return Objects.hash(apiPassword, createdDateTime, email, errorDetails, membershipId, permissionProfileId, permissionProfileName, uri, userId, userName, userStatus); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -259,6 +394,7 @@ public String toString() { sb.append(" createdDateTime: ").append(toIndentedString(createdDateTime)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); sb.append(" errorDetails: ").append(toIndentedString(errorDetails)).append("\n"); + sb.append(" membershipId: ").append(toIndentedString(membershipId)).append("\n"); sb.append(" permissionProfileId: ").append(toIndentedString(permissionProfileId)).append("\n"); sb.append(" permissionProfileName: ").append(toIndentedString(permissionProfileName)).append("\n"); sb.append(" uri: ").append(toIndentedString(uri)).append("\n"); @@ -279,6 +415,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/NewUsersDefinition.java b/src/main/java/com/docusign/esign/model/NewUsersDefinition.java index 50db2ff0..35de339b 100644 --- a/src/main/java/com/docusign/esign/model/NewUsersDefinition.java +++ b/src/main/java/com/docusign/esign/model/NewUsersDefinition.java @@ -1,44 +1,69 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.UserInformation; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * NewUsersDefinition + * NewUsersDefinition. + * */ public class NewUsersDefinition { @JsonProperty("newUsers") - private java.util.List newUsers = new java.util.ArrayList(); + private java.util.List newUsers = null; + + /** + * newUsers. + * + * @return NewUsersDefinition + **/ public NewUsersDefinition newUsers(java.util.List newUsers) { this.newUsers = newUsers; return this; } - + + /** + * addNewUsersItem. + * + * @return NewUsersDefinition + **/ public NewUsersDefinition addNewUsersItem(UserInformation newUsersItem) { + if (this.newUsers == null) { + this.newUsers = new java.util.ArrayList(); + } this.newUsers.add(newUsersItem); return this; } - /** - * + /** + * . * @return newUsers - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getNewUsers() { return newUsers; } + /** + * setNewUsers. + **/ public void setNewUsers(java.util.List newUsers) { this.newUsers = newUsers; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -51,12 +76,18 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.newUsers, newUsersDefinition.newUsers); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(newUsers); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -77,6 +108,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/NewUsersSummary.java b/src/main/java/com/docusign/esign/model/NewUsersSummary.java index ef8f75a0..4b4b3414 100644 --- a/src/main/java/com/docusign/esign/model/NewUsersSummary.java +++ b/src/main/java/com/docusign/esign/model/NewUsersSummary.java @@ -1,44 +1,69 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.NewUser; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * NewUsersSummary + * NewUsersSummary. + * */ public class NewUsersSummary { @JsonProperty("newUsers") - private java.util.List newUsers = new java.util.ArrayList(); + private java.util.List newUsers = null; + + /** + * newUsers. + * + * @return NewUsersSummary + **/ public NewUsersSummary newUsers(java.util.List newUsers) { this.newUsers = newUsers; return this; } - + + /** + * addNewUsersItem. + * + * @return NewUsersSummary + **/ public NewUsersSummary addNewUsersItem(NewUser newUsersItem) { + if (this.newUsers == null) { + this.newUsers = new java.util.ArrayList(); + } this.newUsers.add(newUsersItem); return this; } - /** - * + /** + * . * @return newUsers - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getNewUsers() { return newUsers; } + /** + * setNewUsers. + **/ public void setNewUsers(java.util.List newUsers) { this.newUsers = newUsers; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -51,12 +76,18 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.newUsers, newUsersSummary.newUsers); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(newUsers); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -77,6 +108,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/Notarize.java b/src/main/java/com/docusign/esign/model/Notarize.java index d6e1bce5..9525da9c 100644 --- a/src/main/java/com/docusign/esign/model/Notarize.java +++ b/src/main/java/com/docusign/esign/model/Notarize.java @@ -1,15 +1,18 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ErrorDetails; import com.docusign.esign.model.MergeField; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Notarize + * Notarize. + * */ public class Notarize { @@ -71,7 +74,7 @@ public class Notarize { private String status = null; @JsonProperty("tabGroupLabels") - private java.util.List tabGroupLabels = new java.util.ArrayList(); + private java.util.List tabGroupLabels = null; @JsonProperty("tabId") private String tabId = null; @@ -94,498 +97,754 @@ public class Notarize { @JsonProperty("yPosition") private String yPosition = null; + + /** + * anchorCaseSensitive. + * + * @return Notarize + **/ public Notarize anchorCaseSensitive(String anchorCaseSensitive) { this.anchorCaseSensitive = anchorCaseSensitive; return this; } - /** - * When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**. + /** + * When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.. * @return anchorCaseSensitive - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.") + **/ + @ApiModelProperty(value = "When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.") public String getAnchorCaseSensitive() { return anchorCaseSensitive; } + /** + * setAnchorCaseSensitive. + **/ public void setAnchorCaseSensitive(String anchorCaseSensitive) { this.anchorCaseSensitive = anchorCaseSensitive; } + + /** + * anchorHorizontalAlignment. + * + * @return Notarize + **/ public Notarize anchorHorizontalAlignment(String anchorHorizontalAlignment) { this.anchorHorizontalAlignment = anchorHorizontalAlignment; return this; } - /** - * Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**. + /** + * Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.. * @return anchorHorizontalAlignment - **/ - @ApiModelProperty(example = "null", value = "Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.") + **/ + @ApiModelProperty(value = "Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.") public String getAnchorHorizontalAlignment() { return anchorHorizontalAlignment; } + /** + * setAnchorHorizontalAlignment. + **/ public void setAnchorHorizontalAlignment(String anchorHorizontalAlignment) { this.anchorHorizontalAlignment = anchorHorizontalAlignment; } + + /** + * anchorIgnoreIfNotPresent. + * + * @return Notarize + **/ public Notarize anchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { this.anchorIgnoreIfNotPresent = anchorIgnoreIfNotPresent; return this; } - /** - * When set to **true**, this tab is ignored if anchorString is not found in the document. + /** + * When set to **true**, this tab is ignored if anchorString is not found in the document.. * @return anchorIgnoreIfNotPresent - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, this tab is ignored if anchorString is not found in the document.") + **/ + @ApiModelProperty(value = "When set to **true**, this tab is ignored if anchorString is not found in the document.") public String getAnchorIgnoreIfNotPresent() { return anchorIgnoreIfNotPresent; } + /** + * setAnchorIgnoreIfNotPresent. + **/ public void setAnchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { this.anchorIgnoreIfNotPresent = anchorIgnoreIfNotPresent; } + + /** + * anchorMatchWholeWord. + * + * @return Notarize + **/ public Notarize anchorMatchWholeWord(String anchorMatchWholeWord) { this.anchorMatchWholeWord = anchorMatchWholeWord; return this; } - /** - * When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**. + /** + * When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.. * @return anchorMatchWholeWord - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.") + **/ + @ApiModelProperty(value = "When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.") public String getAnchorMatchWholeWord() { return anchorMatchWholeWord; } + /** + * setAnchorMatchWholeWord. + **/ public void setAnchorMatchWholeWord(String anchorMatchWholeWord) { this.anchorMatchWholeWord = anchorMatchWholeWord; } + + /** + * anchorString. + * + * @return Notarize + **/ public Notarize anchorString(String anchorString) { this.anchorString = anchorString; return this; } - /** - * Anchor text information for a radio button. + /** + * Anchor text information for a radio button.. * @return anchorString - **/ - @ApiModelProperty(example = "null", value = "Anchor text information for a radio button.") + **/ + @ApiModelProperty(value = "Anchor text information for a radio button.") public String getAnchorString() { return anchorString; } + /** + * setAnchorString. + **/ public void setAnchorString(String anchorString) { this.anchorString = anchorString; } + + /** + * anchorUnits. + * + * @return Notarize + **/ public Notarize anchorUnits(String anchorUnits) { this.anchorUnits = anchorUnits; return this; } - /** - * Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. + /** + * Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. * @return anchorUnits - **/ - @ApiModelProperty(example = "null", value = "Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.") + **/ + @ApiModelProperty(value = "Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.") public String getAnchorUnits() { return anchorUnits; } + /** + * setAnchorUnits. + **/ public void setAnchorUnits(String anchorUnits) { this.anchorUnits = anchorUnits; } + + /** + * anchorXOffset. + * + * @return Notarize + **/ public Notarize anchorXOffset(String anchorXOffset) { this.anchorXOffset = anchorXOffset; return this; } - /** - * Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString. + /** + * Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. * @return anchorXOffset - **/ - @ApiModelProperty(example = "null", value = "Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.") + **/ + @ApiModelProperty(value = "Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.") public String getAnchorXOffset() { return anchorXOffset; } + /** + * setAnchorXOffset. + **/ public void setAnchorXOffset(String anchorXOffset) { this.anchorXOffset = anchorXOffset; } + + /** + * anchorYOffset. + * + * @return Notarize + **/ public Notarize anchorYOffset(String anchorYOffset) { this.anchorYOffset = anchorYOffset; return this; } - /** - * Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString. + /** + * Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.. * @return anchorYOffset - **/ - @ApiModelProperty(example = "null", value = "Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.") + **/ + @ApiModelProperty(value = "Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.") public String getAnchorYOffset() { return anchorYOffset; } + /** + * setAnchorYOffset. + **/ public void setAnchorYOffset(String anchorYOffset) { this.anchorYOffset = anchorYOffset; } + + /** + * conditionalParentLabel. + * + * @return Notarize + **/ public Notarize conditionalParentLabel(String conditionalParentLabel) { this.conditionalParentLabel = conditionalParentLabel; return this; } - /** - * For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility. + /** + * For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.. * @return conditionalParentLabel - **/ - @ApiModelProperty(example = "null", value = "For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.") + **/ + @ApiModelProperty(value = "For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.") public String getConditionalParentLabel() { return conditionalParentLabel; } + /** + * setConditionalParentLabel. + **/ public void setConditionalParentLabel(String conditionalParentLabel) { this.conditionalParentLabel = conditionalParentLabel; } + + /** + * conditionalParentValue. + * + * @return Notarize + **/ public Notarize conditionalParentValue(String conditionalParentValue) { this.conditionalParentValue = conditionalParentValue; return this; } - /** - * For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. + /** + * For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. . * @return conditionalParentValue - **/ - @ApiModelProperty(example = "null", value = "For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. ") + **/ + @ApiModelProperty(value = "For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. ") public String getConditionalParentValue() { return conditionalParentValue; } + /** + * setConditionalParentValue. + **/ public void setConditionalParentValue(String conditionalParentValue) { this.conditionalParentValue = conditionalParentValue; } + + /** + * customTabId. + * + * @return Notarize + **/ public Notarize customTabId(String customTabId) { this.customTabId = customTabId; return this; } - /** - * The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties. + /** + * The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.. * @return customTabId - **/ - @ApiModelProperty(example = "null", value = "The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.") + **/ + @ApiModelProperty(value = "The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.") public String getCustomTabId() { return customTabId; } + /** + * setCustomTabId. + **/ public void setCustomTabId(String customTabId) { this.customTabId = customTabId; } + + /** + * documentId. + * + * @return Notarize + **/ public Notarize documentId(String documentId) { this.documentId = documentId; return this; } - /** - * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute. + /** + * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.. * @return documentId - **/ - @ApiModelProperty(example = "null", value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") + **/ + @ApiModelProperty(value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") public String getDocumentId() { return documentId; } + /** + * setDocumentId. + **/ public void setDocumentId(String documentId) { this.documentId = documentId; } + + /** + * errorDetails. + * + * @return Notarize + **/ public Notarize errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * locked. + * + * @return Notarize + **/ public Notarize locked(String locked) { this.locked = locked; return this; } - /** - * When set to **true**, the signer cannot change the data of the custom tab. + /** + * When set to **true**, the signer cannot change the data of the custom tab.. * @return locked - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the signer cannot change the data of the custom tab.") + **/ + @ApiModelProperty(value = "When set to **true**, the signer cannot change the data of the custom tab.") public String getLocked() { return locked; } + /** + * setLocked. + **/ public void setLocked(String locked) { this.locked = locked; } + + /** + * mergeField. + * + * @return Notarize + **/ public Notarize mergeField(MergeField mergeField) { this.mergeField = mergeField; return this; } - /** - * Get mergeField + /** + * Get mergeField. * @return mergeField - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public MergeField getMergeField() { return mergeField; } + /** + * setMergeField. + **/ public void setMergeField(MergeField mergeField) { this.mergeField = mergeField; } + + /** + * pageNumber. + * + * @return Notarize + **/ public Notarize pageNumber(String pageNumber) { this.pageNumber = pageNumber; return this; } - /** - * Specifies the page number on which the tab is located. + /** + * Specifies the page number on which the tab is located.. * @return pageNumber - **/ - @ApiModelProperty(example = "null", value = "Specifies the page number on which the tab is located.") + **/ + @ApiModelProperty(value = "Specifies the page number on which the tab is located.") public String getPageNumber() { return pageNumber; } + /** + * setPageNumber. + **/ public void setPageNumber(String pageNumber) { this.pageNumber = pageNumber; } + + /** + * recipientId. + * + * @return Notarize + **/ public Notarize recipientId(String recipientId) { this.recipientId = recipientId; return this; } - /** - * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document. + /** + * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.. * @return recipientId - **/ - @ApiModelProperty(example = "null", value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") + **/ + @ApiModelProperty(value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") public String getRecipientId() { return recipientId; } + /** + * setRecipientId. + **/ public void setRecipientId(String recipientId) { this.recipientId = recipientId; } + + /** + * required. + * + * @return Notarize + **/ public Notarize required(String required) { this.required = required; return this; } - /** - * When set to **true**, the signer is required to fill out this tab + /** + * When set to **true**, the signer is required to fill out this tab. * @return required - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the signer is required to fill out this tab") + **/ + @ApiModelProperty(value = "When set to **true**, the signer is required to fill out this tab") public String getRequired() { return required; } + /** + * setRequired. + **/ public void setRequired(String required) { this.required = required; } + + /** + * status. + * + * @return Notarize + **/ public Notarize status(String status) { this.status = status; return this; } - /** - * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. + /** + * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.. * @return status - **/ - @ApiModelProperty(example = "null", value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") + **/ + @ApiModelProperty(value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") public String getStatus() { return status; } + /** + * setStatus. + **/ public void setStatus(String status) { this.status = status; } + + /** + * tabGroupLabels. + * + * @return Notarize + **/ public Notarize tabGroupLabels(java.util.List tabGroupLabels) { this.tabGroupLabels = tabGroupLabels; return this; } - + + /** + * addTabGroupLabelsItem. + * + * @return Notarize + **/ public Notarize addTabGroupLabelsItem(String tabGroupLabelsItem) { + if (this.tabGroupLabels == null) { + this.tabGroupLabels = new java.util.ArrayList(); + } this.tabGroupLabels.add(tabGroupLabelsItem); return this; } - /** - * + /** + * . * @return tabGroupLabels - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getTabGroupLabels() { return tabGroupLabels; } + /** + * setTabGroupLabels. + **/ public void setTabGroupLabels(java.util.List tabGroupLabels) { this.tabGroupLabels = tabGroupLabels; } + + /** + * tabId. + * + * @return Notarize + **/ public Notarize tabId(String tabId) { this.tabId = tabId; return this; } - /** - * The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. + /** + * The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. . * @return tabId - **/ - @ApiModelProperty(example = "null", value = "The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. ") + **/ + @ApiModelProperty(value = "The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. ") public String getTabId() { return tabId; } + /** + * setTabId. + **/ public void setTabId(String tabId) { this.tabId = tabId; } + + /** + * tabOrder. + * + * @return Notarize + **/ public Notarize tabOrder(String tabOrder) { this.tabOrder = tabOrder; return this; } - /** - * + /** + * . * @return tabOrder - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTabOrder() { return tabOrder; } + /** + * setTabOrder. + **/ public void setTabOrder(String tabOrder) { this.tabOrder = tabOrder; } + + /** + * templateLocked. + * + * @return Notarize + **/ public Notarize templateLocked(String templateLocked) { this.templateLocked = templateLocked; return this; } - /** - * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. . * @return templateLocked - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") + **/ + @ApiModelProperty(value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") public String getTemplateLocked() { return templateLocked; } + /** + * setTemplateLocked. + **/ public void setTemplateLocked(String templateLocked) { this.templateLocked = templateLocked; } + + /** + * templateRequired. + * + * @return Notarize + **/ public Notarize templateRequired(String templateRequired) { this.templateRequired = templateRequired; return this; } - /** - * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.. * @return templateRequired - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") + **/ + @ApiModelProperty(value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") public String getTemplateRequired() { return templateRequired; } + /** + * setTemplateRequired. + **/ public void setTemplateRequired(String templateRequired) { this.templateRequired = templateRequired; } + + /** + * tooltip. + * + * @return Notarize + **/ public Notarize tooltip(String tooltip) { this.tooltip = tooltip; return this; } - /** - * + /** + * . * @return tooltip - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTooltip() { return tooltip; } + /** + * setTooltip. + **/ public void setTooltip(String tooltip) { this.tooltip = tooltip; } + + /** + * xPosition. + * + * @return Notarize + **/ public Notarize xPosition(String xPosition) { this.xPosition = xPosition; return this; } - /** - * This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position. + /** + * This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.. * @return xPosition - **/ - @ApiModelProperty(example = "null", value = "This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.") + **/ + @ApiModelProperty(value = "This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.") public String getXPosition() { return xPosition; } + /** + * setXPosition. + **/ public void setXPosition(String xPosition) { this.xPosition = xPosition; } + + /** + * yPosition. + * + * @return Notarize + **/ public Notarize yPosition(String yPosition) { this.yPosition = yPosition; return this; } - /** - * This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position. + /** + * This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. * @return yPosition - **/ - @ApiModelProperty(example = "null", value = "This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.") + **/ + @ApiModelProperty(value = "This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.") public String getYPosition() { return yPosition; } + /** + * setYPosition. + **/ public void setYPosition(String yPosition) { this.yPosition = yPosition; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -624,12 +883,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.yPosition, notarize.yPosition); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(anchorCaseSensitive, anchorHorizontalAlignment, anchorIgnoreIfNotPresent, anchorMatchWholeWord, anchorString, anchorUnits, anchorXOffset, anchorYOffset, conditionalParentLabel, conditionalParentValue, customTabId, documentId, errorDetails, locked, mergeField, pageNumber, recipientId, required, status, tabGroupLabels, tabId, tabOrder, templateLocked, templateRequired, tooltip, xPosition, yPosition); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -676,6 +941,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/NotaryHost.java b/src/main/java/com/docusign/esign/model/NotaryHost.java index d1274c0a..3925786a 100644 --- a/src/main/java/com/docusign/esign/model/NotaryHost.java +++ b/src/main/java/com/docusign/esign/model/NotaryHost.java @@ -1,12 +1,14 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.AuthenticationStatus; import com.docusign.esign.model.DocumentVisibility; import com.docusign.esign.model.ErrorDetails; import com.docusign.esign.model.IdCheckInformationInput; import com.docusign.esign.model.RecipientAttachment; import com.docusign.esign.model.RecipientEmailNotification; +import com.docusign.esign.model.RecipientIdentityVerification; import com.docusign.esign.model.RecipientPhoneAuthentication; import com.docusign.esign.model.RecipientSAMLAuthentication; import com.docusign.esign.model.RecipientSMSAuthentication; @@ -14,11 +16,13 @@ import com.docusign.esign.model.Tabs; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * NotaryHost + * NotaryHost. + * */ public class NotaryHost { @@ -32,7 +36,7 @@ public class NotaryHost { private String clientUserId = null; @JsonProperty("customFields") - private java.util.List customFields = new java.util.ArrayList(); + private java.util.List customFields = null; @JsonProperty("declinedDateTime") private String declinedDateTime = null; @@ -47,7 +51,7 @@ public class NotaryHost { private String deliveryMethod = null; @JsonProperty("documentVisibility") - private java.util.List documentVisibility = new java.util.ArrayList(); + private java.util.List documentVisibility = null; @JsonProperty("email") private String email = null; @@ -73,6 +77,9 @@ public class NotaryHost { @JsonProperty("idCheckInformationInput") private IdCheckInformationInput idCheckInformationInput = null; + @JsonProperty("identityVerification") + private RecipientIdentityVerification identityVerification = null; + @JsonProperty("inheritEmailNotificationConfiguration") private String inheritEmailNotificationConfiguration = null; @@ -86,7 +93,7 @@ public class NotaryHost { private RecipientPhoneAuthentication phoneAuthentication = null; @JsonProperty("recipientAttachments") - private java.util.List recipientAttachments = new java.util.ArrayList(); + private java.util.List recipientAttachments = null; @JsonProperty("recipientAuthenticationStatus") private AuthenticationStatus recipientAuthenticationStatus = null; @@ -119,7 +126,7 @@ public class NotaryHost { private RecipientSMSAuthentication smsAuthentication = null; @JsonProperty("socialAuthentications") - private java.util.List socialAuthentications = new java.util.ArrayList(); + private java.util.List socialAuthentications = null; @JsonProperty("status") private String status = null; @@ -139,729 +146,1144 @@ public class NotaryHost { @JsonProperty("userId") private String userId = null; + + /** + * accessCode. + * + * @return NotaryHost + **/ public NotaryHost accessCode(String accessCode) { this.accessCode = accessCode; return this; } - /** - * If a value is provided, the recipient must enter the value as the access code to view and sign the envelope. Maximum Length: 50 characters and it must conform to the account's access code format setting. If blank, but the signer `accessCode` property is set in the envelope, then that value is used. If blank and the signer `accessCode` property is not set, then the access code is not required. + /** + * If a value is provided, the recipient must enter the value as the access code to view and sign the envelope. Maximum Length: 50 characters and it must conform to the account's access code format setting. If blank, but the signer `accessCode` property is set in the envelope, then that value is used. If blank and the signer `accessCode` property is not set, then the access code is not required.. * @return accessCode - **/ - @ApiModelProperty(example = "null", value = "If a value is provided, the recipient must enter the value as the access code to view and sign the envelope. Maximum Length: 50 characters and it must conform to the account's access code format setting. If blank, but the signer `accessCode` property is set in the envelope, then that value is used. If blank and the signer `accessCode` property is not set, then the access code is not required.") + **/ + @ApiModelProperty(value = "If a value is provided, the recipient must enter the value as the access code to view and sign the envelope. Maximum Length: 50 characters and it must conform to the account's access code format setting. If blank, but the signer `accessCode` property is set in the envelope, then that value is used. If blank and the signer `accessCode` property is not set, then the access code is not required.") public String getAccessCode() { return accessCode; } + /** + * setAccessCode. + **/ public void setAccessCode(String accessCode) { this.accessCode = accessCode; } + + /** + * addAccessCodeToEmail. + * + * @return NotaryHost + **/ public NotaryHost addAccessCodeToEmail(String addAccessCodeToEmail) { this.addAccessCodeToEmail = addAccessCodeToEmail; return this; } - /** - * This Optional attribute indicates that the access code will be added to the email sent to the recipient; this nullifies the Security measure of Access Code on the recipient. + /** + * This Optional attribute indicates that the access code will be added to the email sent to the recipient; this nullifies the Security measure of Access Code on the recipient.. * @return addAccessCodeToEmail - **/ - @ApiModelProperty(example = "null", value = "This Optional attribute indicates that the access code will be added to the email sent to the recipient; this nullifies the Security measure of Access Code on the recipient.") + **/ + @ApiModelProperty(value = "This Optional attribute indicates that the access code will be added to the email sent to the recipient; this nullifies the Security measure of Access Code on the recipient.") public String getAddAccessCodeToEmail() { return addAccessCodeToEmail; } + /** + * setAddAccessCodeToEmail. + **/ public void setAddAccessCodeToEmail(String addAccessCodeToEmail) { this.addAccessCodeToEmail = addAccessCodeToEmail; } + + /** + * clientUserId. + * + * @return NotaryHost + **/ public NotaryHost clientUserId(String clientUserId) { this.clientUserId = clientUserId; return this; } - /** - * Specifies whether the recipient is embedded or remote. If the `clientUserId` property is not null then the recipient is embedded. Note that if the `ClientUserId` property is set and either `SignerMustHaveAccount` or `SignerMustLoginToSign` property of the account settings is set to **true**, an error is generated on sending.ng. Maximum length: 100 characters. + /** + * Specifies whether the recipient is embedded or remote. If the `clientUserId` property is not null then the recipient is embedded. Note that if the `ClientUserId` property is set and either `SignerMustHaveAccount` or `SignerMustLoginToSign` property of the account settings is set to **true**, an error is generated on sending.ng. Maximum length: 100 characters. . * @return clientUserId - **/ - @ApiModelProperty(example = "null", value = "Specifies whether the recipient is embedded or remote. If the `clientUserId` property is not null then the recipient is embedded. Note that if the `ClientUserId` property is set and either `SignerMustHaveAccount` or `SignerMustLoginToSign` property of the account settings is set to **true**, an error is generated on sending.ng. Maximum length: 100 characters. ") + **/ + @ApiModelProperty(value = "Specifies whether the recipient is embedded or remote. If the `clientUserId` property is not null then the recipient is embedded. Note that if the `ClientUserId` property is set and either `SignerMustHaveAccount` or `SignerMustLoginToSign` property of the account settings is set to **true**, an error is generated on sending.ng. Maximum length: 100 characters. ") public String getClientUserId() { return clientUserId; } + /** + * setClientUserId. + **/ public void setClientUserId(String clientUserId) { this.clientUserId = clientUserId; } + + /** + * customFields. + * + * @return NotaryHost + **/ public NotaryHost customFields(java.util.List customFields) { this.customFields = customFields; return this; } - + + /** + * addCustomFieldsItem. + * + * @return NotaryHost + **/ public NotaryHost addCustomFieldsItem(String customFieldsItem) { + if (this.customFields == null) { + this.customFields = new java.util.ArrayList(); + } this.customFields.add(customFieldsItem); return this; } - /** - * An optional array of strings that allows the sender to provide custom data about the recipient. This information is returned in the envelope status but otherwise not used by DocuSign. Each customField string can be a maximum of 100 characters. + /** + * An optional array of strings that allows the sender to provide custom data about the recipient. This information is returned in the envelope status but otherwise not used by DocuSign. Each customField string can be a maximum of 100 characters.. * @return customFields - **/ - @ApiModelProperty(example = "null", value = "An optional array of strings that allows the sender to provide custom data about the recipient. This information is returned in the envelope status but otherwise not used by DocuSign. Each customField string can be a maximum of 100 characters.") + **/ + @ApiModelProperty(value = "An optional array of strings that allows the sender to provide custom data about the recipient. This information is returned in the envelope status but otherwise not used by DocuSign. Each customField string can be a maximum of 100 characters.") public java.util.List getCustomFields() { return customFields; } + /** + * setCustomFields. + **/ public void setCustomFields(java.util.List customFields) { this.customFields = customFields; } + + /** + * declinedDateTime. + * + * @return NotaryHost + **/ public NotaryHost declinedDateTime(String declinedDateTime) { this.declinedDateTime = declinedDateTime; return this; } - /** - * The date and time the recipient declined the document. + /** + * The date and time the recipient declined the document.. * @return declinedDateTime - **/ - @ApiModelProperty(example = "null", value = "The date and time the recipient declined the document.") + **/ + @ApiModelProperty(value = "The date and time the recipient declined the document.") public String getDeclinedDateTime() { return declinedDateTime; } + /** + * setDeclinedDateTime. + **/ public void setDeclinedDateTime(String declinedDateTime) { this.declinedDateTime = declinedDateTime; } + + /** + * declinedReason. + * + * @return NotaryHost + **/ public NotaryHost declinedReason(String declinedReason) { this.declinedReason = declinedReason; return this; } - /** - * The reason the recipient declined the document. + /** + * The reason the recipient declined the document.. * @return declinedReason - **/ - @ApiModelProperty(example = "null", value = "The reason the recipient declined the document.") + **/ + @ApiModelProperty(value = "The reason the recipient declined the document.") public String getDeclinedReason() { return declinedReason; } + /** + * setDeclinedReason. + **/ public void setDeclinedReason(String declinedReason) { this.declinedReason = declinedReason; } + + /** + * deliveredDateTime. + * + * @return NotaryHost + **/ public NotaryHost deliveredDateTime(String deliveredDateTime) { this.deliveredDateTime = deliveredDateTime; return this; } - /** - * Reserved: For DocuSign use only. + /** + * Reserved: For DocuSign use only.. * @return deliveredDateTime - **/ - @ApiModelProperty(example = "null", value = "Reserved: For DocuSign use only.") + **/ + @ApiModelProperty(value = "Reserved: For DocuSign use only.") public String getDeliveredDateTime() { return deliveredDateTime; } + /** + * setDeliveredDateTime. + **/ public void setDeliveredDateTime(String deliveredDateTime) { this.deliveredDateTime = deliveredDateTime; } + + /** + * deliveryMethod. + * + * @return NotaryHost + **/ public NotaryHost deliveryMethod(String deliveryMethod) { this.deliveryMethod = deliveryMethod; return this; } - /** - * Reserved: For DocuSign use only. + /** + * Reserved: For DocuSign use only.. * @return deliveryMethod - **/ - @ApiModelProperty(example = "null", value = "Reserved: For DocuSign use only.") + **/ + @ApiModelProperty(value = "Reserved: For DocuSign use only.") public String getDeliveryMethod() { return deliveryMethod; } + /** + * setDeliveryMethod. + **/ public void setDeliveryMethod(String deliveryMethod) { this.deliveryMethod = deliveryMethod; } + + /** + * documentVisibility. + * + * @return NotaryHost + **/ public NotaryHost documentVisibility(java.util.List documentVisibility) { this.documentVisibility = documentVisibility; return this; } - + + /** + * addDocumentVisibilityItem. + * + * @return NotaryHost + **/ public NotaryHost addDocumentVisibilityItem(DocumentVisibility documentVisibilityItem) { + if (this.documentVisibility == null) { + this.documentVisibility = new java.util.ArrayList(); + } this.documentVisibility.add(documentVisibilityItem); return this; } - /** - * + /** + * . * @return documentVisibility - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getDocumentVisibility() { return documentVisibility; } + /** + * setDocumentVisibility. + **/ public void setDocumentVisibility(java.util.List documentVisibility) { this.documentVisibility = documentVisibility; } + + /** + * email. + * + * @return NotaryHost + **/ public NotaryHost email(String email) { this.email = email; return this; } - /** - * + /** + * . * @return email - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getEmail() { return email; } + /** + * setEmail. + **/ public void setEmail(String email) { this.email = email; } + + /** + * emailNotification. + * + * @return NotaryHost + **/ public NotaryHost emailNotification(RecipientEmailNotification emailNotification) { this.emailNotification = emailNotification; return this; } - /** - * Get emailNotification + /** + * Get emailNotification. * @return emailNotification - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public RecipientEmailNotification getEmailNotification() { return emailNotification; } + /** + * setEmailNotification. + **/ public void setEmailNotification(RecipientEmailNotification emailNotification) { this.emailNotification = emailNotification; } + + /** + * embeddedRecipientStartURL. + * + * @return NotaryHost + **/ public NotaryHost embeddedRecipientStartURL(String embeddedRecipientStartURL) { this.embeddedRecipientStartURL = embeddedRecipientStartURL; return this; } - /** - * Specifies a sender provided valid URL string for redirecting an embedded recipient. When using this option, the embedded recipient still receives an email from DocuSign, just as a remote recipient would. When the document link in the email is clicked the recipient is redirected, through DocuSign, to the supplied URL to complete their actions. When routing to the URL, the sender's system (the server responding to the URL) must request a recipient token to launch a signing session. If set to `SIGN_AT_DOCUSIGN`, the recipient is directed to an embedded signing or viewing process directly at DocuSign. The signing or viewing action is initiated by the DocuSign system and the transaction activity and Certificate of Completion records will reflect this. In all other ways the process is identical to an embedded signing or viewing operation that is launched by any partner. It is important to remember that in a typical embedded workflow the authentication of an embedded recipient is the responsibility of the sending application, DocuSign expects that senders will follow their own process for establishing the recipient's identity. In this workflow the recipient goes through the sending application before the embedded signing or viewing process in initiated. However, when the sending application sets `EmbeddedRecipientStartURL=SIGN_AT_DOCUSIGN`, the recipient goes directly to the embedded signing or viewing process bypassing the sending application and any authentication steps the sending application would use. In this case, DocuSign recommends that you use one of the normal DocuSign authentication features (Access Code, Phone Authentication, SMS Authentication, etc.) to verify the identity of the recipient. If the `clientUserId` property is NOT set, and the `embeddedRecipientStartURL` is set, DocuSign will ignore the redirect URL and launch the standard signing process for the email recipient. Information can be appended to the embedded recipient start URL using merge fields. The available merge fields items are: envelopeId, recipientId, recipientName, recipientEmail, and customFields. The `customFields` property must be set fort the recipient or envelope. The merge fields are enclosed in double brackets. *Example*: `http://senderHost/[[mergeField1]]/ beginSigningSession? [[mergeField2]]&[[mergeField3]]` + /** + * Specifies a sender provided valid URL string for redirecting an embedded recipient. When using this option, the embedded recipient still receives an email from DocuSign, just as a remote recipient would. When the document link in the email is clicked the recipient is redirected, through DocuSign, to the supplied URL to complete their actions. When routing to the URL, the sender's system (the server responding to the URL) must request a recipient token to launch a signing session. If set to `SIGN_AT_DOCUSIGN`, the recipient is directed to an embedded signing or viewing process directly at DocuSign. The signing or viewing action is initiated by the DocuSign system and the transaction activity and Certificate of Completion records will reflect this. In all other ways the process is identical to an embedded signing or viewing operation that is launched by any partner. It is important to remember that in a typical embedded workflow the authentication of an embedded recipient is the responsibility of the sending application, DocuSign expects that senders will follow their own process for establishing the recipient's identity. In this workflow the recipient goes through the sending application before the embedded signing or viewing process in initiated. However, when the sending application sets `EmbeddedRecipientStartURL=SIGN_AT_DOCUSIGN`, the recipient goes directly to the embedded signing or viewing process bypassing the sending application and any authentication steps the sending application would use. In this case, DocuSign recommends that you use one of the normal DocuSign authentication features (Access Code, Phone Authentication, SMS Authentication, etc.) to verify the identity of the recipient. If the `clientUserId` property is NOT set, and the `embeddedRecipientStartURL` is set, DocuSign will ignore the redirect URL and launch the standard signing process for the email recipient. Information can be appended to the embedded recipient start URL using merge fields. The available merge fields items are: envelopeId, recipientId, recipientName, recipientEmail, and customFields. The `customFields` property must be set fort the recipient or envelope. The merge fields are enclosed in double brackets. *Example*: `http://senderHost/[[mergeField1]]/ beginSigningSession? [[mergeField2]]&[[mergeField3]]` . * @return embeddedRecipientStartURL - **/ - @ApiModelProperty(example = "null", value = "Specifies a sender provided valid URL string for redirecting an embedded recipient. When using this option, the embedded recipient still receives an email from DocuSign, just as a remote recipient would. When the document link in the email is clicked the recipient is redirected, through DocuSign, to the supplied URL to complete their actions. When routing to the URL, the sender's system (the server responding to the URL) must request a recipient token to launch a signing session. If set to `SIGN_AT_DOCUSIGN`, the recipient is directed to an embedded signing or viewing process directly at DocuSign. The signing or viewing action is initiated by the DocuSign system and the transaction activity and Certificate of Completion records will reflect this. In all other ways the process is identical to an embedded signing or viewing operation that is launched by any partner. It is important to remember that in a typical embedded workflow the authentication of an embedded recipient is the responsibility of the sending application, DocuSign expects that senders will follow their own process for establishing the recipient's identity. In this workflow the recipient goes through the sending application before the embedded signing or viewing process in initiated. However, when the sending application sets `EmbeddedRecipientStartURL=SIGN_AT_DOCUSIGN`, the recipient goes directly to the embedded signing or viewing process bypassing the sending application and any authentication steps the sending application would use. In this case, DocuSign recommends that you use one of the normal DocuSign authentication features (Access Code, Phone Authentication, SMS Authentication, etc.) to verify the identity of the recipient. If the `clientUserId` property is NOT set, and the `embeddedRecipientStartURL` is set, DocuSign will ignore the redirect URL and launch the standard signing process for the email recipient. Information can be appended to the embedded recipient start URL using merge fields. The available merge fields items are: envelopeId, recipientId, recipientName, recipientEmail, and customFields. The `customFields` property must be set fort the recipient or envelope. The merge fields are enclosed in double brackets. *Example*: `http://senderHost/[[mergeField1]]/ beginSigningSession? [[mergeField2]]&[[mergeField3]]` ") + **/ + @ApiModelProperty(value = "Specifies a sender provided valid URL string for redirecting an embedded recipient. When using this option, the embedded recipient still receives an email from DocuSign, just as a remote recipient would. When the document link in the email is clicked the recipient is redirected, through DocuSign, to the supplied URL to complete their actions. When routing to the URL, the sender's system (the server responding to the URL) must request a recipient token to launch a signing session. If set to `SIGN_AT_DOCUSIGN`, the recipient is directed to an embedded signing or viewing process directly at DocuSign. The signing or viewing action is initiated by the DocuSign system and the transaction activity and Certificate of Completion records will reflect this. In all other ways the process is identical to an embedded signing or viewing operation that is launched by any partner. It is important to remember that in a typical embedded workflow the authentication of an embedded recipient is the responsibility of the sending application, DocuSign expects that senders will follow their own process for establishing the recipient's identity. In this workflow the recipient goes through the sending application before the embedded signing or viewing process in initiated. However, when the sending application sets `EmbeddedRecipientStartURL=SIGN_AT_DOCUSIGN`, the recipient goes directly to the embedded signing or viewing process bypassing the sending application and any authentication steps the sending application would use. In this case, DocuSign recommends that you use one of the normal DocuSign authentication features (Access Code, Phone Authentication, SMS Authentication, etc.) to verify the identity of the recipient. If the `clientUserId` property is NOT set, and the `embeddedRecipientStartURL` is set, DocuSign will ignore the redirect URL and launch the standard signing process for the email recipient. Information can be appended to the embedded recipient start URL using merge fields. The available merge fields items are: envelopeId, recipientId, recipientName, recipientEmail, and customFields. The `customFields` property must be set fort the recipient or envelope. The merge fields are enclosed in double brackets. *Example*: `http://senderHost/[[mergeField1]]/ beginSigningSession? [[mergeField2]]&[[mergeField3]]` ") public String getEmbeddedRecipientStartURL() { return embeddedRecipientStartURL; } + /** + * setEmbeddedRecipientStartURL. + **/ public void setEmbeddedRecipientStartURL(String embeddedRecipientStartURL) { this.embeddedRecipientStartURL = embeddedRecipientStartURL; } + + /** + * errorDetails. + * + * @return NotaryHost + **/ public NotaryHost errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * faxNumber. + * + * @return NotaryHost + **/ public NotaryHost faxNumber(String faxNumber) { this.faxNumber = faxNumber; return this; } - /** - * Reserved: + /** + * Reserved:. * @return faxNumber - **/ - @ApiModelProperty(example = "null", value = "Reserved:") + **/ + @ApiModelProperty(value = "Reserved:") public String getFaxNumber() { return faxNumber; } + /** + * setFaxNumber. + **/ public void setFaxNumber(String faxNumber) { this.faxNumber = faxNumber; } + + /** + * hostRecipientId. + * + * @return NotaryHost + **/ public NotaryHost hostRecipientId(String hostRecipientId) { this.hostRecipientId = hostRecipientId; return this; } - /** - * + /** + * . * @return hostRecipientId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getHostRecipientId() { return hostRecipientId; } + /** + * setHostRecipientId. + **/ public void setHostRecipientId(String hostRecipientId) { this.hostRecipientId = hostRecipientId; } + + /** + * idCheckConfigurationName. + * + * @return NotaryHost + **/ public NotaryHost idCheckConfigurationName(String idCheckConfigurationName) { this.idCheckConfigurationName = idCheckConfigurationName; return this; } - /** - * Specifies authentication check by name. The names used here must be the same as the authentication type names used by the account (these name can also be found in the web console sending interface in the Identify list for a recipient,) This overrides any default authentication setting. *Example*: Your account has ID Check and SMS Authentication available and in the web console Identify list these appear as 'ID Check $' and 'SMS Auth $'. To use ID check in an envelope, the idCheckConfigurationName should be 'ID Check '. If you wanted to use SMS, it would be 'SMS Auth $' and you would need to add you would need to add phone number information to the `smsAuthentication` node. + /** + * Specifies authentication check by name. The names used here must be the same as the authentication type names used by the account (these name can also be found in the web console sending interface in the Identify list for a recipient,) This overrides any default authentication setting. *Example*: Your account has ID Check and SMS Authentication available and in the web console Identify list these appear as 'ID Check $' and 'SMS Auth $'. To use ID check in an envelope, the idCheckConfigurationName should be 'ID Check '. If you wanted to use SMS, it would be 'SMS Auth $' and you would need to add you would need to add phone number information to the `smsAuthentication` node.. * @return idCheckConfigurationName - **/ - @ApiModelProperty(example = "null", value = "Specifies authentication check by name. The names used here must be the same as the authentication type names used by the account (these name can also be found in the web console sending interface in the Identify list for a recipient,) This overrides any default authentication setting. *Example*: Your account has ID Check and SMS Authentication available and in the web console Identify list these appear as 'ID Check $' and 'SMS Auth $'. To use ID check in an envelope, the idCheckConfigurationName should be 'ID Check '. If you wanted to use SMS, it would be 'SMS Auth $' and you would need to add you would need to add phone number information to the `smsAuthentication` node.") + **/ + @ApiModelProperty(value = "Specifies authentication check by name. The names used here must be the same as the authentication type names used by the account (these name can also be found in the web console sending interface in the Identify list for a recipient,) This overrides any default authentication setting. *Example*: Your account has ID Check and SMS Authentication available and in the web console Identify list these appear as 'ID Check $' and 'SMS Auth $'. To use ID check in an envelope, the idCheckConfigurationName should be 'ID Check '. If you wanted to use SMS, it would be 'SMS Auth $' and you would need to add you would need to add phone number information to the `smsAuthentication` node.") public String getIdCheckConfigurationName() { return idCheckConfigurationName; } + /** + * setIdCheckConfigurationName. + **/ public void setIdCheckConfigurationName(String idCheckConfigurationName) { this.idCheckConfigurationName = idCheckConfigurationName; } + + /** + * idCheckInformationInput. + * + * @return NotaryHost + **/ public NotaryHost idCheckInformationInput(IdCheckInformationInput idCheckInformationInput) { this.idCheckInformationInput = idCheckInformationInput; return this; } - /** - * Get idCheckInformationInput + /** + * Get idCheckInformationInput. * @return idCheckInformationInput - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public IdCheckInformationInput getIdCheckInformationInput() { return idCheckInformationInput; } + /** + * setIdCheckInformationInput. + **/ public void setIdCheckInformationInput(IdCheckInformationInput idCheckInformationInput) { this.idCheckInformationInput = idCheckInformationInput; } + + /** + * identityVerification. + * + * @return NotaryHost + **/ + public NotaryHost identityVerification(RecipientIdentityVerification identityVerification) { + this.identityVerification = identityVerification; + return this; + } + + /** + * Get identityVerification. + * @return identityVerification + **/ + @ApiModelProperty(value = "") + public RecipientIdentityVerification getIdentityVerification() { + return identityVerification; + } + + /** + * setIdentityVerification. + **/ + public void setIdentityVerification(RecipientIdentityVerification identityVerification) { + this.identityVerification = identityVerification; + } + + + /** + * inheritEmailNotificationConfiguration. + * + * @return NotaryHost + **/ public NotaryHost inheritEmailNotificationConfiguration(String inheritEmailNotificationConfiguration) { this.inheritEmailNotificationConfiguration = inheritEmailNotificationConfiguration; return this; } - /** - * When set to **true** and the envelope recipient creates a DocuSign account after signing, the Manage Account Email Notification settings are used as the default settings for the recipient's account. + /** + * When set to **true** and the envelope recipient creates a DocuSign account after signing, the Manage Account Email Notification settings are used as the default settings for the recipient's account. . * @return inheritEmailNotificationConfiguration - **/ - @ApiModelProperty(example = "null", value = "When set to **true** and the envelope recipient creates a DocuSign account after signing, the Manage Account Email Notification settings are used as the default settings for the recipient's account. ") + **/ + @ApiModelProperty(value = "When set to **true** and the envelope recipient creates a DocuSign account after signing, the Manage Account Email Notification settings are used as the default settings for the recipient's account. ") public String getInheritEmailNotificationConfiguration() { return inheritEmailNotificationConfiguration; } + /** + * setInheritEmailNotificationConfiguration. + **/ public void setInheritEmailNotificationConfiguration(String inheritEmailNotificationConfiguration) { this.inheritEmailNotificationConfiguration = inheritEmailNotificationConfiguration; } + + /** + * name. + * + * @return NotaryHost + **/ public NotaryHost name(String name) { this.name = name; return this; } - /** - * + /** + * . * @return name - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * note. + * + * @return NotaryHost + **/ public NotaryHost note(String note) { this.note = note; return this; } - /** - * Specifies a note that is unique to this recipient. This note is sent to the recipient via the signing email. The note displays in the signing UI near the upper left corner of the document on the signing screen. Maximum Length: 1000 characters. + /** + * Specifies a note that is unique to this recipient. This note is sent to the recipient via the signing email. The note displays in the signing UI near the upper left corner of the document on the signing screen. Maximum Length: 1000 characters.. * @return note - **/ - @ApiModelProperty(example = "null", value = "Specifies a note that is unique to this recipient. This note is sent to the recipient via the signing email. The note displays in the signing UI near the upper left corner of the document on the signing screen. Maximum Length: 1000 characters.") + **/ + @ApiModelProperty(value = "Specifies a note that is unique to this recipient. This note is sent to the recipient via the signing email. The note displays in the signing UI near the upper left corner of the document on the signing screen. Maximum Length: 1000 characters.") public String getNote() { return note; } + /** + * setNote. + **/ public void setNote(String note) { this.note = note; } + + /** + * phoneAuthentication. + * + * @return NotaryHost + **/ public NotaryHost phoneAuthentication(RecipientPhoneAuthentication phoneAuthentication) { this.phoneAuthentication = phoneAuthentication; return this; } - /** - * Get phoneAuthentication + /** + * Get phoneAuthentication. * @return phoneAuthentication - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public RecipientPhoneAuthentication getPhoneAuthentication() { return phoneAuthentication; } + /** + * setPhoneAuthentication. + **/ public void setPhoneAuthentication(RecipientPhoneAuthentication phoneAuthentication) { this.phoneAuthentication = phoneAuthentication; } + + /** + * recipientAttachments. + * + * @return NotaryHost + **/ public NotaryHost recipientAttachments(java.util.List recipientAttachments) { this.recipientAttachments = recipientAttachments; return this; } - + + /** + * addRecipientAttachmentsItem. + * + * @return NotaryHost + **/ public NotaryHost addRecipientAttachmentsItem(RecipientAttachment recipientAttachmentsItem) { + if (this.recipientAttachments == null) { + this.recipientAttachments = new java.util.ArrayList(); + } this.recipientAttachments.add(recipientAttachmentsItem); return this; } - /** - * Reserved: + /** + * Reserved:. * @return recipientAttachments - **/ - @ApiModelProperty(example = "null", value = "Reserved:") + **/ + @ApiModelProperty(value = "Reserved:") public java.util.List getRecipientAttachments() { return recipientAttachments; } + /** + * setRecipientAttachments. + **/ public void setRecipientAttachments(java.util.List recipientAttachments) { this.recipientAttachments = recipientAttachments; } + + /** + * recipientAuthenticationStatus. + * + * @return NotaryHost + **/ public NotaryHost recipientAuthenticationStatus(AuthenticationStatus recipientAuthenticationStatus) { this.recipientAuthenticationStatus = recipientAuthenticationStatus; return this; } - /** - * Get recipientAuthenticationStatus + /** + * Get recipientAuthenticationStatus. * @return recipientAuthenticationStatus - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public AuthenticationStatus getRecipientAuthenticationStatus() { return recipientAuthenticationStatus; } + /** + * setRecipientAuthenticationStatus. + **/ public void setRecipientAuthenticationStatus(AuthenticationStatus recipientAuthenticationStatus) { this.recipientAuthenticationStatus = recipientAuthenticationStatus; } + + /** + * recipientId. + * + * @return NotaryHost + **/ public NotaryHost recipientId(String recipientId) { this.recipientId = recipientId; return this; } - /** - * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document. + /** + * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.. * @return recipientId - **/ - @ApiModelProperty(example = "null", value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") + **/ + @ApiModelProperty(value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") public String getRecipientId() { return recipientId; } + /** + * setRecipientId. + **/ public void setRecipientId(String recipientId) { this.recipientId = recipientId; } + + /** + * recipientIdGuid. + * + * @return NotaryHost + **/ public NotaryHost recipientIdGuid(String recipientIdGuid) { this.recipientIdGuid = recipientIdGuid; return this; } - /** - * + /** + * . * @return recipientIdGuid - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getRecipientIdGuid() { return recipientIdGuid; } + /** + * setRecipientIdGuid. + **/ public void setRecipientIdGuid(String recipientIdGuid) { this.recipientIdGuid = recipientIdGuid; } + + /** + * requireIdLookup. + * + * @return NotaryHost + **/ public NotaryHost requireIdLookup(String requireIdLookup) { this.requireIdLookup = requireIdLookup; return this; } - /** - * When set to **true**, the recipient is required to use the specified ID check method (including Phone and SMS authentication) to validate their identity. + /** + * When set to **true**, the recipient is required to use the specified ID check method (including Phone and SMS authentication) to validate their identity. . * @return requireIdLookup - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the recipient is required to use the specified ID check method (including Phone and SMS authentication) to validate their identity. ") + **/ + @ApiModelProperty(value = "When set to **true**, the recipient is required to use the specified ID check method (including Phone and SMS authentication) to validate their identity. ") public String getRequireIdLookup() { return requireIdLookup; } + /** + * setRequireIdLookup. + **/ public void setRequireIdLookup(String requireIdLookup) { this.requireIdLookup = requireIdLookup; } + + /** + * roleName. + * + * @return NotaryHost + **/ public NotaryHost roleName(String roleName) { this.roleName = roleName; return this; } - /** - * Optional element. Specifies the role name associated with the recipient.

This is required when working with template recipients. + /** + * Optional element. Specifies the role name associated with the recipient.

This is required when working with template recipients.. * @return roleName - **/ - @ApiModelProperty(example = "null", value = "Optional element. Specifies the role name associated with the recipient.

This is required when working with template recipients.") + **/ + @ApiModelProperty(value = "Optional element. Specifies the role name associated with the recipient.

This is required when working with template recipients.") public String getRoleName() { return roleName; } + /** + * setRoleName. + **/ public void setRoleName(String roleName) { this.roleName = roleName; } + + /** + * routingOrder. + * + * @return NotaryHost + **/ public NotaryHost routingOrder(String routingOrder) { this.routingOrder = routingOrder; return this; } - /** - * Specifies the routing order of the recipient in the envelope. + /** + * Specifies the routing order of the recipient in the envelope. . * @return routingOrder - **/ - @ApiModelProperty(example = "null", value = "Specifies the routing order of the recipient in the envelope. ") + **/ + @ApiModelProperty(value = "Specifies the routing order of the recipient in the envelope. ") public String getRoutingOrder() { return routingOrder; } + /** + * setRoutingOrder. + **/ public void setRoutingOrder(String routingOrder) { this.routingOrder = routingOrder; } + + /** + * samlAuthentication. + * + * @return NotaryHost + **/ public NotaryHost samlAuthentication(RecipientSAMLAuthentication samlAuthentication) { this.samlAuthentication = samlAuthentication; return this; } - /** - * Get samlAuthentication + /** + * Get samlAuthentication. * @return samlAuthentication - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public RecipientSAMLAuthentication getSamlAuthentication() { return samlAuthentication; } + /** + * setSamlAuthentication. + **/ public void setSamlAuthentication(RecipientSAMLAuthentication samlAuthentication) { this.samlAuthentication = samlAuthentication; } + + /** + * sentDateTime. + * + * @return NotaryHost + **/ public NotaryHost sentDateTime(String sentDateTime) { this.sentDateTime = sentDateTime; return this; } - /** - * The date and time the envelope was sent. + /** + * The date and time the envelope was sent.. * @return sentDateTime - **/ - @ApiModelProperty(example = "null", value = "The date and time the envelope was sent.") + **/ + @ApiModelProperty(value = "The date and time the envelope was sent.") public String getSentDateTime() { return sentDateTime; } + /** + * setSentDateTime. + **/ public void setSentDateTime(String sentDateTime) { this.sentDateTime = sentDateTime; } + + /** + * signedDateTime. + * + * @return NotaryHost + **/ public NotaryHost signedDateTime(String signedDateTime) { this.signedDateTime = signedDateTime; return this; } - /** - * Reserved: For DocuSign use only. + /** + * Reserved: For DocuSign use only. . * @return signedDateTime - **/ - @ApiModelProperty(example = "null", value = "Reserved: For DocuSign use only. ") + **/ + @ApiModelProperty(value = "Reserved: For DocuSign use only. ") public String getSignedDateTime() { return signedDateTime; } + /** + * setSignedDateTime. + **/ public void setSignedDateTime(String signedDateTime) { this.signedDateTime = signedDateTime; } + + /** + * smsAuthentication. + * + * @return NotaryHost + **/ public NotaryHost smsAuthentication(RecipientSMSAuthentication smsAuthentication) { this.smsAuthentication = smsAuthentication; return this; } - /** - * Get smsAuthentication + /** + * Get smsAuthentication. * @return smsAuthentication - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public RecipientSMSAuthentication getSmsAuthentication() { return smsAuthentication; } + /** + * setSmsAuthentication. + **/ public void setSmsAuthentication(RecipientSMSAuthentication smsAuthentication) { this.smsAuthentication = smsAuthentication; } + + /** + * socialAuthentications. + * + * @return NotaryHost + **/ public NotaryHost socialAuthentications(java.util.List socialAuthentications) { this.socialAuthentications = socialAuthentications; return this; } - + + /** + * addSocialAuthenticationsItem. + * + * @return NotaryHost + **/ public NotaryHost addSocialAuthenticationsItem(SocialAuthentication socialAuthenticationsItem) { + if (this.socialAuthentications == null) { + this.socialAuthentications = new java.util.ArrayList(); + } this.socialAuthentications.add(socialAuthenticationsItem); return this; } - /** - * Lists the social ID type that can be used for recipient authentication. + /** + * Lists the social ID type that can be used for recipient authentication.. * @return socialAuthentications - **/ - @ApiModelProperty(example = "null", value = " Lists the social ID type that can be used for recipient authentication.") + **/ + @ApiModelProperty(value = " Lists the social ID type that can be used for recipient authentication.") public java.util.List getSocialAuthentications() { return socialAuthentications; } + /** + * setSocialAuthentications. + **/ public void setSocialAuthentications(java.util.List socialAuthentications) { this.socialAuthentications = socialAuthentications; } + + /** + * status. + * + * @return NotaryHost + **/ public NotaryHost status(String status) { this.status = status; return this; } - /** - * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. + /** + * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.. * @return status - **/ - @ApiModelProperty(example = "null", value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") + **/ + @ApiModelProperty(value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") public String getStatus() { return status; } + /** + * setStatus. + **/ public void setStatus(String status) { this.status = status; } + + /** + * tabs. + * + * @return NotaryHost + **/ public NotaryHost tabs(Tabs tabs) { this.tabs = tabs; return this; } - /** - * Get tabs + /** + * Get tabs. * @return tabs - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public Tabs getTabs() { return tabs; } + /** + * setTabs. + **/ public void setTabs(Tabs tabs) { this.tabs = tabs; } + + /** + * templateLocked. + * + * @return NotaryHost + **/ public NotaryHost templateLocked(String templateLocked) { this.templateLocked = templateLocked; return this; } - /** - * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. . * @return templateLocked - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") + **/ + @ApiModelProperty(value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") public String getTemplateLocked() { return templateLocked; } + /** + * setTemplateLocked. + **/ public void setTemplateLocked(String templateLocked) { this.templateLocked = templateLocked; } + + /** + * templateRequired. + * + * @return NotaryHost + **/ public NotaryHost templateRequired(String templateRequired) { this.templateRequired = templateRequired; return this; } - /** - * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.. * @return templateRequired - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") + **/ + @ApiModelProperty(value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") public String getTemplateRequired() { return templateRequired; } + /** + * setTemplateRequired. + **/ public void setTemplateRequired(String templateRequired) { this.templateRequired = templateRequired; } + + /** + * totalTabCount. + * + * @return NotaryHost + **/ public NotaryHost totalTabCount(String totalTabCount) { this.totalTabCount = totalTabCount; return this; } - /** - * + /** + * . * @return totalTabCount - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTotalTabCount() { return totalTabCount; } + /** + * setTotalTabCount. + **/ public void setTotalTabCount(String totalTabCount) { this.totalTabCount = totalTabCount; } + + /** + * userId. + * + * @return NotaryHost + **/ public NotaryHost userId(String userId) { this.userId = userId; return this; } - /** - * + /** + * . * @return userId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getUserId() { return userId; } + /** + * setUserId. + **/ public void setUserId(String userId) { this.userId = userId; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -888,6 +1310,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.hostRecipientId, notaryHost.hostRecipientId) && Objects.equals(this.idCheckConfigurationName, notaryHost.idCheckConfigurationName) && Objects.equals(this.idCheckInformationInput, notaryHost.idCheckInformationInput) && + Objects.equals(this.identityVerification, notaryHost.identityVerification) && Objects.equals(this.inheritEmailNotificationConfiguration, notaryHost.inheritEmailNotificationConfiguration) && Objects.equals(this.name, notaryHost.name) && Objects.equals(this.note, notaryHost.note) && @@ -912,12 +1335,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.userId, notaryHost.userId); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { - return Objects.hash(accessCode, addAccessCodeToEmail, clientUserId, customFields, declinedDateTime, declinedReason, deliveredDateTime, deliveryMethod, documentVisibility, email, emailNotification, embeddedRecipientStartURL, errorDetails, faxNumber, hostRecipientId, idCheckConfigurationName, idCheckInformationInput, inheritEmailNotificationConfiguration, name, note, phoneAuthentication, recipientAttachments, recipientAuthenticationStatus, recipientId, recipientIdGuid, requireIdLookup, roleName, routingOrder, samlAuthentication, sentDateTime, signedDateTime, smsAuthentication, socialAuthentications, status, tabs, templateLocked, templateRequired, totalTabCount, userId); + return Objects.hash(accessCode, addAccessCodeToEmail, clientUserId, customFields, declinedDateTime, declinedReason, deliveredDateTime, deliveryMethod, documentVisibility, email, emailNotification, embeddedRecipientStartURL, errorDetails, faxNumber, hostRecipientId, idCheckConfigurationName, idCheckInformationInput, identityVerification, inheritEmailNotificationConfiguration, name, note, phoneAuthentication, recipientAttachments, recipientAuthenticationStatus, recipientId, recipientIdGuid, requireIdLookup, roleName, routingOrder, samlAuthentication, sentDateTime, signedDateTime, smsAuthentication, socialAuthentications, status, tabs, templateLocked, templateRequired, totalTabCount, userId); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -940,6 +1369,7 @@ public String toString() { sb.append(" hostRecipientId: ").append(toIndentedString(hostRecipientId)).append("\n"); sb.append(" idCheckConfigurationName: ").append(toIndentedString(idCheckConfigurationName)).append("\n"); sb.append(" idCheckInformationInput: ").append(toIndentedString(idCheckInformationInput)).append("\n"); + sb.append(" identityVerification: ").append(toIndentedString(identityVerification)).append("\n"); sb.append(" inheritEmailNotificationConfiguration: ").append(toIndentedString(inheritEmailNotificationConfiguration)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append(" note: ").append(toIndentedString(note)).append("\n"); @@ -976,6 +1406,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/NotaryJournal.java b/src/main/java/com/docusign/esign/model/NotaryJournal.java index 49c23e79..1da8fbc5 100644 --- a/src/main/java/com/docusign/esign/model/NotaryJournal.java +++ b/src/main/java/com/docusign/esign/model/NotaryJournal.java @@ -1,15 +1,18 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.Jurisdiction; import com.docusign.esign.model.NotaryJournalMetaData; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * NotaryJournal + * NotaryJournal. + * */ public class NotaryJournal { @@ -31,115 +34,174 @@ public class NotaryJournal { @JsonProperty("signerName") private String signerName = null; + + /** + * createdDate. + * + * @return NotaryJournal + **/ public NotaryJournal createdDate(String createdDate) { this.createdDate = createdDate; return this; } - /** - * + /** + * . * @return createdDate - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getCreatedDate() { return createdDate; } + /** + * setCreatedDate. + **/ public void setCreatedDate(String createdDate) { this.createdDate = createdDate; } + + /** + * documentName. + * + * @return NotaryJournal + **/ public NotaryJournal documentName(String documentName) { this.documentName = documentName; return this; } - /** - * + /** + * . * @return documentName - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getDocumentName() { return documentName; } + /** + * setDocumentName. + **/ public void setDocumentName(String documentName) { this.documentName = documentName; } + + /** + * jurisdiction. + * + * @return NotaryJournal + **/ public NotaryJournal jurisdiction(Jurisdiction jurisdiction) { this.jurisdiction = jurisdiction; return this; } - /** - * Get jurisdiction + /** + * Get jurisdiction. * @return jurisdiction - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public Jurisdiction getJurisdiction() { return jurisdiction; } + /** + * setJurisdiction. + **/ public void setJurisdiction(Jurisdiction jurisdiction) { this.jurisdiction = jurisdiction; } + + /** + * notaryJournalId. + * + * @return NotaryJournal + **/ public NotaryJournal notaryJournalId(String notaryJournalId) { this.notaryJournalId = notaryJournalId; return this; } - /** - * + /** + * . * @return notaryJournalId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getNotaryJournalId() { return notaryJournalId; } + /** + * setNotaryJournalId. + **/ public void setNotaryJournalId(String notaryJournalId) { this.notaryJournalId = notaryJournalId; } + + /** + * notaryJournalMetaData. + * + * @return NotaryJournal + **/ public NotaryJournal notaryJournalMetaData(NotaryJournalMetaData notaryJournalMetaData) { this.notaryJournalMetaData = notaryJournalMetaData; return this; } - /** - * Get notaryJournalMetaData + /** + * Get notaryJournalMetaData. * @return notaryJournalMetaData - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public NotaryJournalMetaData getNotaryJournalMetaData() { return notaryJournalMetaData; } + /** + * setNotaryJournalMetaData. + **/ public void setNotaryJournalMetaData(NotaryJournalMetaData notaryJournalMetaData) { this.notaryJournalMetaData = notaryJournalMetaData; } + + /** + * signerName. + * + * @return NotaryJournal + **/ public NotaryJournal signerName(String signerName) { this.signerName = signerName; return this; } - /** - * + /** + * . * @return signerName - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSignerName() { return signerName; } + /** + * setSignerName. + **/ public void setSignerName(String signerName) { this.signerName = signerName; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -157,12 +219,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.signerName, notaryJournal.signerName); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(createdDate, documentName, jurisdiction, notaryJournalId, notaryJournalMetaData, signerName); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -188,6 +256,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/NotaryJournalCredibleWitness.java b/src/main/java/com/docusign/esign/model/NotaryJournalCredibleWitness.java index 92cbebd3..5ac73c4b 100644 --- a/src/main/java/com/docusign/esign/model/NotaryJournalCredibleWitness.java +++ b/src/main/java/com/docusign/esign/model/NotaryJournalCredibleWitness.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * NotaryJournalCredibleWitness + * NotaryJournalCredibleWitness. + * */ public class NotaryJournalCredibleWitness { @@ -20,61 +23,93 @@ public class NotaryJournalCredibleWitness { @JsonProperty("signatureImage") private String signatureImage = null; + + /** + * address. + * + * @return NotaryJournalCredibleWitness + **/ public NotaryJournalCredibleWitness address(String address) { this.address = address; return this; } - /** - * + /** + * . * @return address - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAddress() { return address; } + /** + * setAddress. + **/ public void setAddress(String address) { this.address = address; } + + /** + * name. + * + * @return NotaryJournalCredibleWitness + **/ public NotaryJournalCredibleWitness name(String name) { this.name = name; return this; } - /** - * + /** + * . * @return name - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * signatureImage. + * + * @return NotaryJournalCredibleWitness + **/ public NotaryJournalCredibleWitness signatureImage(String signatureImage) { this.signatureImage = signatureImage; return this; } - /** - * + /** + * . * @return signatureImage - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSignatureImage() { return signatureImage; } + /** + * setSignatureImage. + **/ public void setSignatureImage(String signatureImage) { this.signatureImage = signatureImage; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -89,12 +124,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.signatureImage, notaryJournalCredibleWitness.signatureImage); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(address, name, signatureImage); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -117,6 +158,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/NotaryJournalList.java b/src/main/java/com/docusign/esign/model/NotaryJournalList.java index 8e051e0e..2120f251 100644 --- a/src/main/java/com/docusign/esign/model/NotaryJournalList.java +++ b/src/main/java/com/docusign/esign/model/NotaryJournalList.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.NotaryJournal; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * NotaryJournalList + * NotaryJournalList. + * */ public class NotaryJournalList { @@ -19,7 +22,7 @@ public class NotaryJournalList { private String nextUri = null; @JsonProperty("notaryJournals") - private java.util.List notaryJournals = new java.util.ArrayList(); + private java.util.List notaryJournals = null; @JsonProperty("previousUri") private String previousUri = null; @@ -33,138 +36,214 @@ public class NotaryJournalList { @JsonProperty("totalSetSize") private String totalSetSize = null; + + /** + * endPosition. + * + * @return NotaryJournalList + **/ public NotaryJournalList endPosition(String endPosition) { this.endPosition = endPosition; return this; } - /** - * The last position in the result set. + /** + * The last position in the result set. . * @return endPosition - **/ - @ApiModelProperty(example = "null", value = "The last position in the result set. ") + **/ + @ApiModelProperty(value = "The last position in the result set. ") public String getEndPosition() { return endPosition; } + /** + * setEndPosition. + **/ public void setEndPosition(String endPosition) { this.endPosition = endPosition; } + + /** + * nextUri. + * + * @return NotaryJournalList + **/ public NotaryJournalList nextUri(String nextUri) { this.nextUri = nextUri; return this; } - /** - * The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. + /** + * The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. . * @return nextUri - **/ - @ApiModelProperty(example = "null", value = "The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. ") + **/ + @ApiModelProperty(value = "The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. ") public String getNextUri() { return nextUri; } + /** + * setNextUri. + **/ public void setNextUri(String nextUri) { this.nextUri = nextUri; } + + /** + * notaryJournals. + * + * @return NotaryJournalList + **/ public NotaryJournalList notaryJournals(java.util.List notaryJournals) { this.notaryJournals = notaryJournals; return this; } - + + /** + * addNotaryJournalsItem. + * + * @return NotaryJournalList + **/ public NotaryJournalList addNotaryJournalsItem(NotaryJournal notaryJournalsItem) { + if (this.notaryJournals == null) { + this.notaryJournals = new java.util.ArrayList(); + } this.notaryJournals.add(notaryJournalsItem); return this; } - /** - * + /** + * . * @return notaryJournals - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getNotaryJournals() { return notaryJournals; } + /** + * setNotaryJournals. + **/ public void setNotaryJournals(java.util.List notaryJournals) { this.notaryJournals = notaryJournals; } + + /** + * previousUri. + * + * @return NotaryJournalList + **/ public NotaryJournalList previousUri(String previousUri) { this.previousUri = previousUri; return this; } - /** - * The postal code for the billing address. + /** + * The postal code for the billing address.. * @return previousUri - **/ - @ApiModelProperty(example = "null", value = "The postal code for the billing address.") + **/ + @ApiModelProperty(value = "The postal code for the billing address.") public String getPreviousUri() { return previousUri; } + /** + * setPreviousUri. + **/ public void setPreviousUri(String previousUri) { this.previousUri = previousUri; } + + /** + * resultSetSize. + * + * @return NotaryJournalList + **/ public NotaryJournalList resultSetSize(String resultSetSize) { this.resultSetSize = resultSetSize; return this; } - /** - * The number of results returned in this response. + /** + * The number of results returned in this response. . * @return resultSetSize - **/ - @ApiModelProperty(example = "null", value = "The number of results returned in this response. ") + **/ + @ApiModelProperty(value = "The number of results returned in this response. ") public String getResultSetSize() { return resultSetSize; } + /** + * setResultSetSize. + **/ public void setResultSetSize(String resultSetSize) { this.resultSetSize = resultSetSize; } + + /** + * startPosition. + * + * @return NotaryJournalList + **/ public NotaryJournalList startPosition(String startPosition) { this.startPosition = startPosition; return this; } - /** - * Starting position of the current result set. + /** + * Starting position of the current result set.. * @return startPosition - **/ - @ApiModelProperty(example = "null", value = "Starting position of the current result set.") + **/ + @ApiModelProperty(value = "Starting position of the current result set.") public String getStartPosition() { return startPosition; } + /** + * setStartPosition. + **/ public void setStartPosition(String startPosition) { this.startPosition = startPosition; } + + /** + * totalSetSize. + * + * @return NotaryJournalList + **/ public NotaryJournalList totalSetSize(String totalSetSize) { this.totalSetSize = totalSetSize; return this; } - /** - * The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response. + /** + * The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.. * @return totalSetSize - **/ - @ApiModelProperty(example = "null", value = "The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.") + **/ + @ApiModelProperty(value = "The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.") public String getTotalSetSize() { return totalSetSize; } + /** + * setTotalSetSize. + **/ public void setTotalSetSize(String totalSetSize) { this.totalSetSize = totalSetSize; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -183,12 +262,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.totalSetSize, notaryJournalList.totalSetSize); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(endPosition, nextUri, notaryJournals, previousUri, resultSetSize, startPosition, totalSetSize); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -215,6 +300,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/NotaryJournalMetaData.java b/src/main/java/com/docusign/esign/model/NotaryJournalMetaData.java index 2c07a0d5..91159137 100644 --- a/src/main/java/com/docusign/esign/model/NotaryJournalMetaData.java +++ b/src/main/java/com/docusign/esign/model/NotaryJournalMetaData.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.NotaryJournalCredibleWitness; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * NotaryJournalMetaData + * NotaryJournalMetaData. + * */ public class NotaryJournalMetaData { @@ -16,7 +19,7 @@ public class NotaryJournalMetaData { private String comment = null; @JsonProperty("credibleWitnesses") - private java.util.List credibleWitnesses = new java.util.ArrayList(); + private java.util.List credibleWitnesses = null; @JsonProperty("signatureImage") private String signatureImage = null; @@ -24,84 +27,133 @@ public class NotaryJournalMetaData { @JsonProperty("signerIdType") private String signerIdType = null; + + /** + * comment. + * + * @return NotaryJournalMetaData + **/ public NotaryJournalMetaData comment(String comment) { this.comment = comment; return this; } - /** - * + /** + * . * @return comment - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getComment() { return comment; } + /** + * setComment. + **/ public void setComment(String comment) { this.comment = comment; } + + /** + * credibleWitnesses. + * + * @return NotaryJournalMetaData + **/ public NotaryJournalMetaData credibleWitnesses(java.util.List credibleWitnesses) { this.credibleWitnesses = credibleWitnesses; return this; } - + + /** + * addCredibleWitnessesItem. + * + * @return NotaryJournalMetaData + **/ public NotaryJournalMetaData addCredibleWitnessesItem(NotaryJournalCredibleWitness credibleWitnessesItem) { + if (this.credibleWitnesses == null) { + this.credibleWitnesses = new java.util.ArrayList(); + } this.credibleWitnesses.add(credibleWitnessesItem); return this; } - /** - * + /** + * . * @return credibleWitnesses - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getCredibleWitnesses() { return credibleWitnesses; } + /** + * setCredibleWitnesses. + **/ public void setCredibleWitnesses(java.util.List credibleWitnesses) { this.credibleWitnesses = credibleWitnesses; } + + /** + * signatureImage. + * + * @return NotaryJournalMetaData + **/ public NotaryJournalMetaData signatureImage(String signatureImage) { this.signatureImage = signatureImage; return this; } - /** - * + /** + * . * @return signatureImage - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSignatureImage() { return signatureImage; } + /** + * setSignatureImage. + **/ public void setSignatureImage(String signatureImage) { this.signatureImage = signatureImage; } + + /** + * signerIdType. + * + * @return NotaryJournalMetaData + **/ public NotaryJournalMetaData signerIdType(String signerIdType) { this.signerIdType = signerIdType; return this; } - /** - * + /** + * . * @return signerIdType - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSignerIdType() { return signerIdType; } + /** + * setSignerIdType. + **/ public void setSignerIdType(String signerIdType) { this.signerIdType = signerIdType; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -117,12 +169,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.signerIdType, notaryJournalMetaData.signerIdType); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(comment, credibleWitnesses, signatureImage, signerIdType); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -146,6 +204,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/Note.java b/src/main/java/com/docusign/esign/model/Note.java index ecbd6282..7c7e52b0 100644 --- a/src/main/java/com/docusign/esign/model/Note.java +++ b/src/main/java/com/docusign/esign/model/Note.java @@ -1,15 +1,18 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ErrorDetails; import com.docusign.esign.model.MergeField; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Note + * Note. + * */ public class Note { @@ -89,7 +92,7 @@ public class Note { private String status = null; @JsonProperty("tabGroupLabels") - private java.util.List tabGroupLabels = new java.util.ArrayList(); + private java.util.List tabGroupLabels = null; @JsonProperty("tabId") private String tabId = null; @@ -124,678 +127,1024 @@ public class Note { @JsonProperty("yPosition") private String yPosition = null; + + /** + * anchorCaseSensitive. + * + * @return Note + **/ public Note anchorCaseSensitive(String anchorCaseSensitive) { this.anchorCaseSensitive = anchorCaseSensitive; return this; } - /** - * When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**. + /** + * When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.. * @return anchorCaseSensitive - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.") + **/ + @ApiModelProperty(value = "When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.") public String getAnchorCaseSensitive() { return anchorCaseSensitive; } + /** + * setAnchorCaseSensitive. + **/ public void setAnchorCaseSensitive(String anchorCaseSensitive) { this.anchorCaseSensitive = anchorCaseSensitive; } + + /** + * anchorHorizontalAlignment. + * + * @return Note + **/ public Note anchorHorizontalAlignment(String anchorHorizontalAlignment) { this.anchorHorizontalAlignment = anchorHorizontalAlignment; return this; } - /** - * Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**. + /** + * Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.. * @return anchorHorizontalAlignment - **/ - @ApiModelProperty(example = "null", value = "Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.") + **/ + @ApiModelProperty(value = "Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.") public String getAnchorHorizontalAlignment() { return anchorHorizontalAlignment; } + /** + * setAnchorHorizontalAlignment. + **/ public void setAnchorHorizontalAlignment(String anchorHorizontalAlignment) { this.anchorHorizontalAlignment = anchorHorizontalAlignment; } + + /** + * anchorIgnoreIfNotPresent. + * + * @return Note + **/ public Note anchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { this.anchorIgnoreIfNotPresent = anchorIgnoreIfNotPresent; return this; } - /** - * When set to **true**, this tab is ignored if anchorString is not found in the document. + /** + * When set to **true**, this tab is ignored if anchorString is not found in the document.. * @return anchorIgnoreIfNotPresent - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, this tab is ignored if anchorString is not found in the document.") + **/ + @ApiModelProperty(value = "When set to **true**, this tab is ignored if anchorString is not found in the document.") public String getAnchorIgnoreIfNotPresent() { return anchorIgnoreIfNotPresent; } + /** + * setAnchorIgnoreIfNotPresent. + **/ public void setAnchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { this.anchorIgnoreIfNotPresent = anchorIgnoreIfNotPresent; } + + /** + * anchorMatchWholeWord. + * + * @return Note + **/ public Note anchorMatchWholeWord(String anchorMatchWholeWord) { this.anchorMatchWholeWord = anchorMatchWholeWord; return this; } - /** - * When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**. + /** + * When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.. * @return anchorMatchWholeWord - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.") + **/ + @ApiModelProperty(value = "When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.") public String getAnchorMatchWholeWord() { return anchorMatchWholeWord; } + /** + * setAnchorMatchWholeWord. + **/ public void setAnchorMatchWholeWord(String anchorMatchWholeWord) { this.anchorMatchWholeWord = anchorMatchWholeWord; } + + /** + * anchorString. + * + * @return Note + **/ public Note anchorString(String anchorString) { this.anchorString = anchorString; return this; } - /** - * Anchor text information for a radio button. + /** + * Anchor text information for a radio button.. * @return anchorString - **/ - @ApiModelProperty(example = "null", value = "Anchor text information for a radio button.") + **/ + @ApiModelProperty(value = "Anchor text information for a radio button.") public String getAnchorString() { return anchorString; } + /** + * setAnchorString. + **/ public void setAnchorString(String anchorString) { this.anchorString = anchorString; } + + /** + * anchorUnits. + * + * @return Note + **/ public Note anchorUnits(String anchorUnits) { this.anchorUnits = anchorUnits; return this; } - /** - * Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. + /** + * Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. * @return anchorUnits - **/ - @ApiModelProperty(example = "null", value = "Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.") + **/ + @ApiModelProperty(value = "Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.") public String getAnchorUnits() { return anchorUnits; } + /** + * setAnchorUnits. + **/ public void setAnchorUnits(String anchorUnits) { this.anchorUnits = anchorUnits; } + + /** + * anchorXOffset. + * + * @return Note + **/ public Note anchorXOffset(String anchorXOffset) { this.anchorXOffset = anchorXOffset; return this; } - /** - * Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString. + /** + * Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. * @return anchorXOffset - **/ - @ApiModelProperty(example = "null", value = "Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.") + **/ + @ApiModelProperty(value = "Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.") public String getAnchorXOffset() { return anchorXOffset; } + /** + * setAnchorXOffset. + **/ public void setAnchorXOffset(String anchorXOffset) { this.anchorXOffset = anchorXOffset; } + + /** + * anchorYOffset. + * + * @return Note + **/ public Note anchorYOffset(String anchorYOffset) { this.anchorYOffset = anchorYOffset; return this; } - /** - * Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString. + /** + * Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.. * @return anchorYOffset - **/ - @ApiModelProperty(example = "null", value = "Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.") + **/ + @ApiModelProperty(value = "Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.") public String getAnchorYOffset() { return anchorYOffset; } + /** + * setAnchorYOffset. + **/ public void setAnchorYOffset(String anchorYOffset) { this.anchorYOffset = anchorYOffset; } + + /** + * bold. + * + * @return Note + **/ public Note bold(String bold) { this.bold = bold; return this; } - /** - * When set to **true**, the information in the tab is bold. + /** + * When set to **true**, the information in the tab is bold.. * @return bold - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is bold.") + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is bold.") public String getBold() { return bold; } + /** + * setBold. + **/ public void setBold(String bold) { this.bold = bold; } + + /** + * conditionalParentLabel. + * + * @return Note + **/ public Note conditionalParentLabel(String conditionalParentLabel) { this.conditionalParentLabel = conditionalParentLabel; return this; } - /** - * For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility. + /** + * For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.. * @return conditionalParentLabel - **/ - @ApiModelProperty(example = "null", value = "For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.") + **/ + @ApiModelProperty(value = "For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.") public String getConditionalParentLabel() { return conditionalParentLabel; } + /** + * setConditionalParentLabel. + **/ public void setConditionalParentLabel(String conditionalParentLabel) { this.conditionalParentLabel = conditionalParentLabel; } + + /** + * conditionalParentValue. + * + * @return Note + **/ public Note conditionalParentValue(String conditionalParentValue) { this.conditionalParentValue = conditionalParentValue; return this; } - /** - * For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. + /** + * For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. . * @return conditionalParentValue - **/ - @ApiModelProperty(example = "null", value = "For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. ") + **/ + @ApiModelProperty(value = "For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. ") public String getConditionalParentValue() { return conditionalParentValue; } + /** + * setConditionalParentValue. + **/ public void setConditionalParentValue(String conditionalParentValue) { this.conditionalParentValue = conditionalParentValue; } + + /** + * customTabId. + * + * @return Note + **/ public Note customTabId(String customTabId) { this.customTabId = customTabId; return this; } - /** - * The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties. + /** + * The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.. * @return customTabId - **/ - @ApiModelProperty(example = "null", value = "The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.") + **/ + @ApiModelProperty(value = "The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.") public String getCustomTabId() { return customTabId; } + /** + * setCustomTabId. + **/ public void setCustomTabId(String customTabId) { this.customTabId = customTabId; } + + /** + * documentId. + * + * @return Note + **/ public Note documentId(String documentId) { this.documentId = documentId; return this; } - /** - * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute. + /** + * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.. * @return documentId - **/ - @ApiModelProperty(example = "null", value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") + **/ + @ApiModelProperty(value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") public String getDocumentId() { return documentId; } + /** + * setDocumentId. + **/ public void setDocumentId(String documentId) { this.documentId = documentId; } + + /** + * errorDetails. + * + * @return Note + **/ public Note errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * font. + * + * @return Note + **/ public Note font(String font) { this.font = font; return this; } - /** - * The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default. + /** + * The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.. * @return font - **/ - @ApiModelProperty(example = "null", value = "The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.") + **/ + @ApiModelProperty(value = "The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.") public String getFont() { return font; } + /** + * setFont. + **/ public void setFont(String font) { this.font = font; } + + /** + * fontColor. + * + * @return Note + **/ public Note fontColor(String fontColor) { this.fontColor = fontColor; return this; } - /** - * The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White. + /** + * The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.. * @return fontColor - **/ - @ApiModelProperty(example = "null", value = "The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.") + **/ + @ApiModelProperty(value = "The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.") public String getFontColor() { return fontColor; } + /** + * setFontColor. + **/ public void setFontColor(String fontColor) { this.fontColor = fontColor; } + + /** + * fontSize. + * + * @return Note + **/ public Note fontSize(String fontSize) { this.fontSize = fontSize; return this; } - /** - * The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72. + /** + * The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.. * @return fontSize - **/ - @ApiModelProperty(example = "null", value = "The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.") + **/ + @ApiModelProperty(value = "The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.") public String getFontSize() { return fontSize; } + /** + * setFontSize. + **/ public void setFontSize(String fontSize) { this.fontSize = fontSize; } + + /** + * height. + * + * @return Note + **/ public Note height(Integer height) { this.height = height; return this; } - /** - * Height of the tab in pixels. + /** + * Height of the tab in pixels.. * @return height - **/ - @ApiModelProperty(example = "null", value = "Height of the tab in pixels.") + **/ + @ApiModelProperty(value = "Height of the tab in pixels.") public Integer getHeight() { return height; } + /** + * setHeight. + **/ public void setHeight(Integer height) { this.height = height; } + + /** + * italic. + * + * @return Note + **/ public Note italic(String italic) { this.italic = italic; return this; } - /** - * When set to **true**, the information in the tab is italic. + /** + * When set to **true**, the information in the tab is italic.. * @return italic - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is italic.") + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is italic.") public String getItalic() { return italic; } + /** + * setItalic. + **/ public void setItalic(String italic) { this.italic = italic; } + + /** + * mergeField. + * + * @return Note + **/ public Note mergeField(MergeField mergeField) { this.mergeField = mergeField; return this; } - /** - * Get mergeField + /** + * Get mergeField. * @return mergeField - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public MergeField getMergeField() { return mergeField; } + /** + * setMergeField. + **/ public void setMergeField(MergeField mergeField) { this.mergeField = mergeField; } + + /** + * name. + * + * @return Note + **/ public Note name(String name) { this.name = name; return this; } - /** - * Specifies the tool tip text for the tab. + /** + * Specifies the tool tip text for the tab.. * @return name - **/ - @ApiModelProperty(example = "null", value = "Specifies the tool tip text for the tab.") + **/ + @ApiModelProperty(value = "Specifies the tool tip text for the tab.") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * pageNumber. + * + * @return Note + **/ public Note pageNumber(String pageNumber) { this.pageNumber = pageNumber; return this; } - /** - * Specifies the page number on which the tab is located. + /** + * Specifies the page number on which the tab is located.. * @return pageNumber - **/ - @ApiModelProperty(example = "null", value = "Specifies the page number on which the tab is located.") + **/ + @ApiModelProperty(value = "Specifies the page number on which the tab is located.") public String getPageNumber() { return pageNumber; } + /** + * setPageNumber. + **/ public void setPageNumber(String pageNumber) { this.pageNumber = pageNumber; } + + /** + * recipientId. + * + * @return Note + **/ public Note recipientId(String recipientId) { this.recipientId = recipientId; return this; } - /** - * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document. + /** + * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.. * @return recipientId - **/ - @ApiModelProperty(example = "null", value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") + **/ + @ApiModelProperty(value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") public String getRecipientId() { return recipientId; } + /** + * setRecipientId. + **/ public void setRecipientId(String recipientId) { this.recipientId = recipientId; } + + /** + * shared. + * + * @return Note + **/ public Note shared(String shared) { this.shared = shared; return this; } - /** - * When set to **true**, this custom tab is shared. + /** + * When set to **true**, this custom tab is shared.. * @return shared - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, this custom tab is shared.") + **/ + @ApiModelProperty(value = "When set to **true**, this custom tab is shared.") public String getShared() { return shared; } + /** + * setShared. + **/ public void setShared(String shared) { this.shared = shared; } + + /** + * status. + * + * @return Note + **/ public Note status(String status) { this.status = status; return this; } - /** - * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. + /** + * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.. * @return status - **/ - @ApiModelProperty(example = "null", value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") + **/ + @ApiModelProperty(value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") public String getStatus() { return status; } + /** + * setStatus. + **/ public void setStatus(String status) { this.status = status; } + + /** + * tabGroupLabels. + * + * @return Note + **/ public Note tabGroupLabels(java.util.List tabGroupLabels) { this.tabGroupLabels = tabGroupLabels; return this; } - + + /** + * addTabGroupLabelsItem. + * + * @return Note + **/ public Note addTabGroupLabelsItem(String tabGroupLabelsItem) { + if (this.tabGroupLabels == null) { + this.tabGroupLabels = new java.util.ArrayList(); + } this.tabGroupLabels.add(tabGroupLabelsItem); return this; } - /** - * + /** + * . * @return tabGroupLabels - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getTabGroupLabels() { return tabGroupLabels; } + /** + * setTabGroupLabels. + **/ public void setTabGroupLabels(java.util.List tabGroupLabels) { this.tabGroupLabels = tabGroupLabels; } + + /** + * tabId. + * + * @return Note + **/ public Note tabId(String tabId) { this.tabId = tabId; return this; } - /** - * The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. + /** + * The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. . * @return tabId - **/ - @ApiModelProperty(example = "null", value = "The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. ") + **/ + @ApiModelProperty(value = "The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. ") public String getTabId() { return tabId; } + /** + * setTabId. + **/ public void setTabId(String tabId) { this.tabId = tabId; } + + /** + * tabLabel. + * + * @return Note + **/ public Note tabLabel(String tabLabel) { this.tabLabel = tabLabel; return this; } - /** - * The label string associated with the tab. + /** + * The label string associated with the tab.. * @return tabLabel - **/ - @ApiModelProperty(example = "null", value = "The label string associated with the tab.") + **/ + @ApiModelProperty(value = "The label string associated with the tab.") public String getTabLabel() { return tabLabel; } + /** + * setTabLabel. + **/ public void setTabLabel(String tabLabel) { this.tabLabel = tabLabel; } + + /** + * tabOrder. + * + * @return Note + **/ public Note tabOrder(String tabOrder) { this.tabOrder = tabOrder; return this; } - /** - * + /** + * . * @return tabOrder - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTabOrder() { return tabOrder; } + /** + * setTabOrder. + **/ public void setTabOrder(String tabOrder) { this.tabOrder = tabOrder; } + + /** + * templateLocked. + * + * @return Note + **/ public Note templateLocked(String templateLocked) { this.templateLocked = templateLocked; return this; } - /** - * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. . * @return templateLocked - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") + **/ + @ApiModelProperty(value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") public String getTemplateLocked() { return templateLocked; } + /** + * setTemplateLocked. + **/ public void setTemplateLocked(String templateLocked) { this.templateLocked = templateLocked; } + + /** + * templateRequired. + * + * @return Note + **/ public Note templateRequired(String templateRequired) { this.templateRequired = templateRequired; return this; } - /** - * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.. * @return templateRequired - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") + **/ + @ApiModelProperty(value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") public String getTemplateRequired() { return templateRequired; } + /** + * setTemplateRequired. + **/ public void setTemplateRequired(String templateRequired) { this.templateRequired = templateRequired; } + + /** + * tooltip. + * + * @return Note + **/ public Note tooltip(String tooltip) { this.tooltip = tooltip; return this; } - /** - * + /** + * . * @return tooltip - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTooltip() { return tooltip; } + /** + * setTooltip. + **/ public void setTooltip(String tooltip) { this.tooltip = tooltip; } + + /** + * underline. + * + * @return Note + **/ public Note underline(String underline) { this.underline = underline; return this; } - /** - * When set to **true**, the information in the tab is underlined. + /** + * When set to **true**, the information in the tab is underlined.. * @return underline - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is underlined.") + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is underlined.") public String getUnderline() { return underline; } + /** + * setUnderline. + **/ public void setUnderline(String underline) { this.underline = underline; } + + /** + * value. + * + * @return Note + **/ public Note value(String value) { this.value = value; return this; } - /** - * Specifies the value of the tab. + /** + * Specifies the value of the tab. . * @return value - **/ - @ApiModelProperty(example = "null", value = "Specifies the value of the tab. ") + **/ + @ApiModelProperty(value = "Specifies the value of the tab. ") public String getValue() { return value; } + /** + * setValue. + **/ public void setValue(String value) { this.value = value; } + + /** + * width. + * + * @return Note + **/ public Note width(Integer width) { this.width = width; return this; } - /** - * Width of the tab in pixels. + /** + * Width of the tab in pixels.. * @return width - **/ - @ApiModelProperty(example = "null", value = "Width of the tab in pixels.") + **/ + @ApiModelProperty(value = "Width of the tab in pixels.") public Integer getWidth() { return width; } + /** + * setWidth. + **/ public void setWidth(Integer width) { this.width = width; } + + /** + * xPosition. + * + * @return Note + **/ public Note xPosition(String xPosition) { this.xPosition = xPosition; return this; } - /** - * This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position. + /** + * This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.. * @return xPosition - **/ - @ApiModelProperty(example = "null", value = "This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.") + **/ + @ApiModelProperty(value = "This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.") public String getXPosition() { return xPosition; } + /** + * setXPosition. + **/ public void setXPosition(String xPosition) { this.xPosition = xPosition; } + + /** + * yPosition. + * + * @return Note + **/ public Note yPosition(String yPosition) { this.yPosition = yPosition; return this; } - /** - * This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position. + /** + * This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. * @return yPosition - **/ - @ApiModelProperty(example = "null", value = "This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.") + **/ + @ApiModelProperty(value = "This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.") public String getYPosition() { return yPosition; } + /** + * setYPosition. + **/ public void setYPosition(String yPosition) { this.yPosition = yPosition; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -844,12 +1193,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.yPosition, note.yPosition); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(anchorCaseSensitive, anchorHorizontalAlignment, anchorIgnoreIfNotPresent, anchorMatchWholeWord, anchorString, anchorUnits, anchorXOffset, anchorYOffset, bold, conditionalParentLabel, conditionalParentValue, customTabId, documentId, errorDetails, font, fontColor, fontSize, height, italic, mergeField, name, pageNumber, recipientId, shared, status, tabGroupLabels, tabId, tabLabel, tabOrder, templateLocked, templateRequired, tooltip, underline, value, width, xPosition, yPosition); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -906,6 +1261,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/Notification.java b/src/main/java/com/docusign/esign/model/Notification.java index 0d4cdefe..d16590e3 100644 --- a/src/main/java/com/docusign/esign/model/Notification.java +++ b/src/main/java/com/docusign/esign/model/Notification.java @@ -1,15 +1,18 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.Expirations; import com.docusign.esign.model.Reminders; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * A complex element that specifies the notification options for the envelope. It consists of: * useAccountDefaults - When set to **true**, the account default notification settings are used for the envelope. * reminders - A complex element that specifies reminder settings for the envelope. It consists of: * reminderEnabled - When set to **true**, a reminder message is sent to the recipient. * reminderDelay - An interger that sets the number of days after the recipient receives the envelope that reminder emails are sent to the recipient. * reminderFrequency - An interger that sets the interval, in days, between reminder emails. * expirations - A complex element that specifies the expiration settings for the envelope. It consists of: * expireEnabled - When set to **true**, the envelope expires (is no longer available for signing) in the set number of days. If false, the account default setting is used. If the account does not have an expiration setting, the DocuSign default value of 120 days is used. * expireAfter - An integer that sets the number of days the envelope is active. * expireWarn - An integer that sets the number of days before envelope expiration that an expiration warning email is sent to the recipient. If set to 0 (zero), no warning email is sent. + * A complex element that specifies the notification options for the envelope. It consists of: * useAccountDefaults - When set to **true**, the account default notification settings are used for the envelope. * reminders - A complex element that specifies reminder settings for the envelope. It consists of: * reminderEnabled - When set to **true**, a reminder message is sent to the recipient. * reminderDelay - An interger that sets the number of days after the recipient receives the envelope that reminder emails are sent to the recipient. * reminderFrequency - An interger that sets the interval, in days, between reminder emails. * expirations - A complex element that specifies the expiration settings for the envelope. It consists of: * expireEnabled - When set to **true**, the envelope expires (is no longer available for signing) in the set number of days. If false, the account default setting is used. If the account does not have an expiration setting, the DocuSign default value of 120 days is used. * expireAfter - An integer that sets the number of days the envelope is active. * expireWarn - An integer that sets the number of days before envelope expiration that an expiration warning email is sent to the recipient. If set to 0 (zero), no warning email is sent.. + * */ @ApiModel(description = "A complex element that specifies the notification options for the envelope. It consists of: * useAccountDefaults - When set to **true**, the account default notification settings are used for the envelope. * reminders - A complex element that specifies reminder settings for the envelope. It consists of: * reminderEnabled - When set to **true**, a reminder message is sent to the recipient. * reminderDelay - An interger that sets the number of days after the recipient receives the envelope that reminder emails are sent to the recipient. * reminderFrequency - An interger that sets the interval, in days, between reminder emails. * expirations - A complex element that specifies the expiration settings for the envelope. It consists of: * expireEnabled - When set to **true**, the envelope expires (is no longer available for signing) in the set number of days. If false, the account default setting is used. If the account does not have an expiration setting, the DocuSign default value of 120 days is used. * expireAfter - An integer that sets the number of days the envelope is active. * expireWarn - An integer that sets the number of days before envelope expiration that an expiration warning email is sent to the recipient. If set to 0 (zero), no warning email is sent.") @@ -23,61 +26,93 @@ public class Notification { @JsonProperty("useAccountDefaults") private String useAccountDefaults = null; + + /** + * expirations. + * + * @return Notification + **/ public Notification expirations(Expirations expirations) { this.expirations = expirations; return this; } - /** - * Get expirations + /** + * Get expirations. * @return expirations - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public Expirations getExpirations() { return expirations; } + /** + * setExpirations. + **/ public void setExpirations(Expirations expirations) { this.expirations = expirations; } + + /** + * reminders. + * + * @return Notification + **/ public Notification reminders(Reminders reminders) { this.reminders = reminders; return this; } - /** - * Get reminders + /** + * Get reminders. * @return reminders - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public Reminders getReminders() { return reminders; } + /** + * setReminders. + **/ public void setReminders(Reminders reminders) { this.reminders = reminders; } + + /** + * useAccountDefaults. + * + * @return Notification + **/ public Notification useAccountDefaults(String useAccountDefaults) { this.useAccountDefaults = useAccountDefaults; return this; } - /** - * When set to **true**, the account default notification settings are used for the envelope. + /** + * When set to **true**, the account default notification settings are used for the envelope.. * @return useAccountDefaults - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the account default notification settings are used for the envelope.") + **/ + @ApiModelProperty(value = "When set to **true**, the account default notification settings are used for the envelope.") public String getUseAccountDefaults() { return useAccountDefaults; } + /** + * setUseAccountDefaults. + **/ public void setUseAccountDefaults(String useAccountDefaults) { this.useAccountDefaults = useAccountDefaults; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -92,12 +127,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.useAccountDefaults, notification.useAccountDefaults); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(expirations, reminders, useAccountDefaults); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -120,6 +161,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/NotificationDefaultSettings.java b/src/main/java/com/docusign/esign/model/NotificationDefaultSettings.java new file mode 100644 index 00000000..c298d1d7 --- /dev/null +++ b/src/main/java/com/docusign/esign/model/NotificationDefaultSettings.java @@ -0,0 +1,101 @@ +package com.docusign.esign.model; + +import java.util.Objects; +import com.docusign.esign.model.SenderEmailNotifications; +import com.docusign.esign.model.SignerEmailNotifications; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +/** + * NotificationDefaultSettings + */ + +public class NotificationDefaultSettings { + @JsonProperty("senderEmailNotifications") + private SenderEmailNotifications senderEmailNotifications = null; + + @JsonProperty("signerEmailNotifications") + private SignerEmailNotifications signerEmailNotifications = null; + + public NotificationDefaultSettings senderEmailNotifications(SenderEmailNotifications senderEmailNotifications) { + this.senderEmailNotifications = senderEmailNotifications; + return this; + } + + /** + * Get senderEmailNotifications + * @return senderEmailNotifications + **/ + @ApiModelProperty(example = "null", value = "") + public SenderEmailNotifications getSenderEmailNotifications() { + return senderEmailNotifications; + } + + public void setSenderEmailNotifications(SenderEmailNotifications senderEmailNotifications) { + this.senderEmailNotifications = senderEmailNotifications; + } + + public NotificationDefaultSettings signerEmailNotifications(SignerEmailNotifications signerEmailNotifications) { + this.signerEmailNotifications = signerEmailNotifications; + return this; + } + + /** + * Get signerEmailNotifications + * @return signerEmailNotifications + **/ + @ApiModelProperty(example = "null", value = "") + public SignerEmailNotifications getSignerEmailNotifications() { + return signerEmailNotifications; + } + + public void setSignerEmailNotifications(SignerEmailNotifications signerEmailNotifications) { + this.signerEmailNotifications = signerEmailNotifications; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + NotificationDefaultSettings notificationDefaultSettings = (NotificationDefaultSettings) o; + return Objects.equals(this.senderEmailNotifications, notificationDefaultSettings.senderEmailNotifications) && + Objects.equals(this.signerEmailNotifications, notificationDefaultSettings.signerEmailNotifications); + } + + @Override + public int hashCode() { + return Objects.hash(senderEmailNotifications, signerEmailNotifications); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class NotificationDefaultSettings {\n"); + + sb.append(" senderEmailNotifications: ").append(toIndentedString(senderEmailNotifications)).append("\n"); + sb.append(" signerEmailNotifications: ").append(toIndentedString(signerEmailNotifications)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/com/docusign/esign/model/NotificationDefaults.java b/src/main/java/com/docusign/esign/model/NotificationDefaults.java new file mode 100644 index 00000000..3175a433 --- /dev/null +++ b/src/main/java/com/docusign/esign/model/NotificationDefaults.java @@ -0,0 +1,100 @@ +package com.docusign.esign.model; + +import java.util.Objects; +import com.docusign.esign.model.NotificationDefaultSettings; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +/** + * NotificationDefaults + */ + +public class NotificationDefaults { + @JsonProperty("apiEmailNotifications") + private NotificationDefaultSettings apiEmailNotifications = null; + + @JsonProperty("emailNotifications") + private NotificationDefaultSettings emailNotifications = null; + + public NotificationDefaults apiEmailNotifications(NotificationDefaultSettings apiEmailNotifications) { + this.apiEmailNotifications = apiEmailNotifications; + return this; + } + + /** + * Get apiEmailNotifications + * @return apiEmailNotifications + **/ + @ApiModelProperty(example = "null", value = "") + public NotificationDefaultSettings getApiEmailNotifications() { + return apiEmailNotifications; + } + + public void setApiEmailNotifications(NotificationDefaultSettings apiEmailNotifications) { + this.apiEmailNotifications = apiEmailNotifications; + } + + public NotificationDefaults emailNotifications(NotificationDefaultSettings emailNotifications) { + this.emailNotifications = emailNotifications; + return this; + } + + /** + * Get emailNotifications + * @return emailNotifications + **/ + @ApiModelProperty(example = "null", value = "") + public NotificationDefaultSettings getEmailNotifications() { + return emailNotifications; + } + + public void setEmailNotifications(NotificationDefaultSettings emailNotifications) { + this.emailNotifications = emailNotifications; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + NotificationDefaults notificationDefaults = (NotificationDefaults) o; + return Objects.equals(this.apiEmailNotifications, notificationDefaults.apiEmailNotifications) && + Objects.equals(this.emailNotifications, notificationDefaults.emailNotifications); + } + + @Override + public int hashCode() { + return Objects.hash(apiEmailNotifications, emailNotifications); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class NotificationDefaults {\n"); + + sb.append(" apiEmailNotifications: ").append(toIndentedString(apiEmailNotifications)).append("\n"); + sb.append(" emailNotifications: ").append(toIndentedString(emailNotifications)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/com/docusign/esign/model/Number.java b/src/main/java/com/docusign/esign/model/Number.java index 7064d53f..f1aff148 100644 --- a/src/main/java/com/docusign/esign/model/Number.java +++ b/src/main/java/com/docusign/esign/model/Number.java @@ -1,15 +1,18 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ErrorDetails; import com.docusign.esign.model.MergeField; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Number + * Number. + * */ public class Number { @@ -119,7 +122,7 @@ public class Number { private String status = null; @JsonProperty("tabGroupLabels") - private java.util.List tabGroupLabels = new java.util.ArrayList(); + private java.util.List tabGroupLabels = null; @JsonProperty("tabId") private String tabId = null; @@ -160,894 +163,1348 @@ public class Number { @JsonProperty("yPosition") private String yPosition = null; + + /** + * anchorCaseSensitive. + * + * @return Number + **/ public Number anchorCaseSensitive(String anchorCaseSensitive) { this.anchorCaseSensitive = anchorCaseSensitive; return this; } - /** - * When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**. + /** + * When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.. * @return anchorCaseSensitive - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.") + **/ + @ApiModelProperty(value = "When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.") public String getAnchorCaseSensitive() { return anchorCaseSensitive; } + /** + * setAnchorCaseSensitive. + **/ public void setAnchorCaseSensitive(String anchorCaseSensitive) { this.anchorCaseSensitive = anchorCaseSensitive; } + + /** + * anchorHorizontalAlignment. + * + * @return Number + **/ public Number anchorHorizontalAlignment(String anchorHorizontalAlignment) { this.anchorHorizontalAlignment = anchorHorizontalAlignment; return this; } - /** - * Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**. + /** + * Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.. * @return anchorHorizontalAlignment - **/ - @ApiModelProperty(example = "null", value = "Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.") + **/ + @ApiModelProperty(value = "Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.") public String getAnchorHorizontalAlignment() { return anchorHorizontalAlignment; } + /** + * setAnchorHorizontalAlignment. + **/ public void setAnchorHorizontalAlignment(String anchorHorizontalAlignment) { this.anchorHorizontalAlignment = anchorHorizontalAlignment; } + + /** + * anchorIgnoreIfNotPresent. + * + * @return Number + **/ public Number anchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { this.anchorIgnoreIfNotPresent = anchorIgnoreIfNotPresent; return this; } - /** - * When set to **true**, this tab is ignored if anchorString is not found in the document. + /** + * When set to **true**, this tab is ignored if anchorString is not found in the document.. * @return anchorIgnoreIfNotPresent - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, this tab is ignored if anchorString is not found in the document.") + **/ + @ApiModelProperty(value = "When set to **true**, this tab is ignored if anchorString is not found in the document.") public String getAnchorIgnoreIfNotPresent() { return anchorIgnoreIfNotPresent; } + /** + * setAnchorIgnoreIfNotPresent. + **/ public void setAnchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { this.anchorIgnoreIfNotPresent = anchorIgnoreIfNotPresent; } + + /** + * anchorMatchWholeWord. + * + * @return Number + **/ public Number anchorMatchWholeWord(String anchorMatchWholeWord) { this.anchorMatchWholeWord = anchorMatchWholeWord; return this; } - /** - * When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**. + /** + * When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.. * @return anchorMatchWholeWord - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.") + **/ + @ApiModelProperty(value = "When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.") public String getAnchorMatchWholeWord() { return anchorMatchWholeWord; } + /** + * setAnchorMatchWholeWord. + **/ public void setAnchorMatchWholeWord(String anchorMatchWholeWord) { this.anchorMatchWholeWord = anchorMatchWholeWord; } + + /** + * anchorString. + * + * @return Number + **/ public Number anchorString(String anchorString) { this.anchorString = anchorString; return this; } - /** - * Anchor text information for a radio button. + /** + * Anchor text information for a radio button.. * @return anchorString - **/ - @ApiModelProperty(example = "null", value = "Anchor text information for a radio button.") + **/ + @ApiModelProperty(value = "Anchor text information for a radio button.") public String getAnchorString() { return anchorString; } + /** + * setAnchorString. + **/ public void setAnchorString(String anchorString) { this.anchorString = anchorString; } + + /** + * anchorUnits. + * + * @return Number + **/ public Number anchorUnits(String anchorUnits) { this.anchorUnits = anchorUnits; return this; } - /** - * Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. + /** + * Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. * @return anchorUnits - **/ - @ApiModelProperty(example = "null", value = "Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.") + **/ + @ApiModelProperty(value = "Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.") public String getAnchorUnits() { return anchorUnits; } + /** + * setAnchorUnits. + **/ public void setAnchorUnits(String anchorUnits) { this.anchorUnits = anchorUnits; } + + /** + * anchorXOffset. + * + * @return Number + **/ public Number anchorXOffset(String anchorXOffset) { this.anchorXOffset = anchorXOffset; return this; } - /** - * Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString. + /** + * Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. * @return anchorXOffset - **/ - @ApiModelProperty(example = "null", value = "Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.") + **/ + @ApiModelProperty(value = "Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.") public String getAnchorXOffset() { return anchorXOffset; } + /** + * setAnchorXOffset. + **/ public void setAnchorXOffset(String anchorXOffset) { this.anchorXOffset = anchorXOffset; } + + /** + * anchorYOffset. + * + * @return Number + **/ public Number anchorYOffset(String anchorYOffset) { this.anchorYOffset = anchorYOffset; return this; } - /** - * Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString. + /** + * Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.. * @return anchorYOffset - **/ - @ApiModelProperty(example = "null", value = "Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.") + **/ + @ApiModelProperty(value = "Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.") public String getAnchorYOffset() { return anchorYOffset; } + /** + * setAnchorYOffset. + **/ public void setAnchorYOffset(String anchorYOffset) { this.anchorYOffset = anchorYOffset; } + + /** + * bold. + * + * @return Number + **/ public Number bold(String bold) { this.bold = bold; return this; } - /** - * When set to **true**, the information in the tab is bold. + /** + * When set to **true**, the information in the tab is bold.. * @return bold - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is bold.") + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is bold.") public String getBold() { return bold; } + /** + * setBold. + **/ public void setBold(String bold) { this.bold = bold; } + + /** + * concealValueOnDocument. + * + * @return Number + **/ public Number concealValueOnDocument(String concealValueOnDocument) { this.concealValueOnDocument = concealValueOnDocument; return this; } - /** - * When set to **true**, the field appears normally while the recipient is adding or modifying the information in the field, but the data is not visible (the characters are hidden by asterisks) to any other signer or the sender. When an envelope is completed the information is available to the sender through the Form Data link in the DocuSign Console. This setting applies only to text boxes and does not affect list boxes, radio buttons, or check boxes. + /** + * When set to **true**, the field appears normally while the recipient is adding or modifying the information in the field, but the data is not visible (the characters are hidden by asterisks) to any other signer or the sender. When an envelope is completed the information is available to the sender through the Form Data link in the DocuSign Console. This setting applies only to text boxes and does not affect list boxes, radio buttons, or check boxes.. * @return concealValueOnDocument - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the field appears normally while the recipient is adding or modifying the information in the field, but the data is not visible (the characters are hidden by asterisks) to any other signer or the sender. When an envelope is completed the information is available to the sender through the Form Data link in the DocuSign Console. This setting applies only to text boxes and does not affect list boxes, radio buttons, or check boxes.") + **/ + @ApiModelProperty(value = "When set to **true**, the field appears normally while the recipient is adding or modifying the information in the field, but the data is not visible (the characters are hidden by asterisks) to any other signer or the sender. When an envelope is completed the information is available to the sender through the Form Data link in the DocuSign Console. This setting applies only to text boxes and does not affect list boxes, radio buttons, or check boxes.") public String getConcealValueOnDocument() { return concealValueOnDocument; } + /** + * setConcealValueOnDocument. + **/ public void setConcealValueOnDocument(String concealValueOnDocument) { this.concealValueOnDocument = concealValueOnDocument; } + + /** + * conditionalParentLabel. + * + * @return Number + **/ public Number conditionalParentLabel(String conditionalParentLabel) { this.conditionalParentLabel = conditionalParentLabel; return this; } - /** - * For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility. + /** + * For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.. * @return conditionalParentLabel - **/ - @ApiModelProperty(example = "null", value = "For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.") + **/ + @ApiModelProperty(value = "For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.") public String getConditionalParentLabel() { return conditionalParentLabel; } + /** + * setConditionalParentLabel. + **/ public void setConditionalParentLabel(String conditionalParentLabel) { this.conditionalParentLabel = conditionalParentLabel; } + + /** + * conditionalParentValue. + * + * @return Number + **/ public Number conditionalParentValue(String conditionalParentValue) { this.conditionalParentValue = conditionalParentValue; return this; } - /** - * For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. + /** + * For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. . * @return conditionalParentValue - **/ - @ApiModelProperty(example = "null", value = "For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. ") + **/ + @ApiModelProperty(value = "For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. ") public String getConditionalParentValue() { return conditionalParentValue; } + /** + * setConditionalParentValue. + **/ public void setConditionalParentValue(String conditionalParentValue) { this.conditionalParentValue = conditionalParentValue; } + + /** + * customTabId. + * + * @return Number + **/ public Number customTabId(String customTabId) { this.customTabId = customTabId; return this; } - /** - * The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties. + /** + * The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.. * @return customTabId - **/ - @ApiModelProperty(example = "null", value = "The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.") + **/ + @ApiModelProperty(value = "The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.") public String getCustomTabId() { return customTabId; } + /** + * setCustomTabId. + **/ public void setCustomTabId(String customTabId) { this.customTabId = customTabId; } + + /** + * disableAutoSize. + * + * @return Number + **/ public Number disableAutoSize(String disableAutoSize) { this.disableAutoSize = disableAutoSize; return this; } - /** - * When set to **true**, disables the auto sizing of single line text boxes in the signing screen when the signer enters data. If disabled users will only be able enter as much data as the text box can hold. By default this is false. This property only affects single line text boxes. + /** + * When set to **true**, disables the auto sizing of single line text boxes in the signing screen when the signer enters data. If disabled users will only be able enter as much data as the text box can hold. By default this is false. This property only affects single line text boxes.. * @return disableAutoSize - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, disables the auto sizing of single line text boxes in the signing screen when the signer enters data. If disabled users will only be able enter as much data as the text box can hold. By default this is false. This property only affects single line text boxes.") + **/ + @ApiModelProperty(value = "When set to **true**, disables the auto sizing of single line text boxes in the signing screen when the signer enters data. If disabled users will only be able enter as much data as the text box can hold. By default this is false. This property only affects single line text boxes.") public String getDisableAutoSize() { return disableAutoSize; } + /** + * setDisableAutoSize. + **/ public void setDisableAutoSize(String disableAutoSize) { this.disableAutoSize = disableAutoSize; } + + /** + * documentId. + * + * @return Number + **/ public Number documentId(String documentId) { this.documentId = documentId; return this; } - /** - * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute. + /** + * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.. * @return documentId - **/ - @ApiModelProperty(example = "null", value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") + **/ + @ApiModelProperty(value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") public String getDocumentId() { return documentId; } + /** + * setDocumentId. + **/ public void setDocumentId(String documentId) { this.documentId = documentId; } + + /** + * errorDetails. + * + * @return Number + **/ public Number errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * font. + * + * @return Number + **/ public Number font(String font) { this.font = font; return this; } - /** - * The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default. + /** + * The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.. * @return font - **/ - @ApiModelProperty(example = "null", value = "The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.") + **/ + @ApiModelProperty(value = "The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.") public String getFont() { return font; } + /** + * setFont. + **/ public void setFont(String font) { this.font = font; } + + /** + * fontColor. + * + * @return Number + **/ public Number fontColor(String fontColor) { this.fontColor = fontColor; return this; } - /** - * The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White. + /** + * The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.. * @return fontColor - **/ - @ApiModelProperty(example = "null", value = "The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.") + **/ + @ApiModelProperty(value = "The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.") public String getFontColor() { return fontColor; } + /** + * setFontColor. + **/ public void setFontColor(String fontColor) { this.fontColor = fontColor; } + + /** + * fontSize. + * + * @return Number + **/ public Number fontSize(String fontSize) { this.fontSize = fontSize; return this; } - /** - * The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72. + /** + * The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.. * @return fontSize - **/ - @ApiModelProperty(example = "null", value = "The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.") + **/ + @ApiModelProperty(value = "The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.") public String getFontSize() { return fontSize; } + /** + * setFontSize. + **/ public void setFontSize(String fontSize) { this.fontSize = fontSize; } + + /** + * formula. + * + * @return Number + **/ public Number formula(String formula) { this.formula = formula; return this; } - /** - * The Formula string contains the TabLabel for the reference tabs used in the formula and calculation operators. Each TabLabel must be contained in brackets. Maximum Length: 2000 characters. *Example*: Three tabs (TabLabels: Line1, Line2, and Tax) need to be added together. The formula string would be: [Line1]+[Line2]+[Tax] + /** + * The Formula string contains the TabLabel for the reference tabs used in the formula and calculation operators. Each TabLabel must be contained in brackets. Maximum Length: 2000 characters. *Example*: Three tabs (TabLabels: Line1, Line2, and Tax) need to be added together. The formula string would be: [Line1]+[Line2]+[Tax]. * @return formula - **/ - @ApiModelProperty(example = "null", value = "The Formula string contains the TabLabel for the reference tabs used in the formula and calculation operators. Each TabLabel must be contained in brackets. Maximum Length: 2000 characters. *Example*: Three tabs (TabLabels: Line1, Line2, and Tax) need to be added together. The formula string would be: [Line1]+[Line2]+[Tax]") + **/ + @ApiModelProperty(value = "The Formula string contains the TabLabel for the reference tabs used in the formula and calculation operators. Each TabLabel must be contained in brackets. Maximum Length: 2000 characters. *Example*: Three tabs (TabLabels: Line1, Line2, and Tax) need to be added together. The formula string would be: [Line1]+[Line2]+[Tax]") public String getFormula() { return formula; } + /** + * setFormula. + **/ public void setFormula(String formula) { this.formula = formula; } + + /** + * isPaymentAmount. + * + * @return Number + **/ public Number isPaymentAmount(String isPaymentAmount) { this.isPaymentAmount = isPaymentAmount; return this; } - /** - * When set to **true**, sets this as a payment tab. Can only be used with Text, Number, Formula, or List tabs. The value of the tab must be a number. + /** + * When set to **true**, sets this as a payment tab. Can only be used with Text, Number, Formula, or List tabs. The value of the tab must be a number. . * @return isPaymentAmount - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, sets this as a payment tab. Can only be used with Text, Number, Formula, or List tabs. The value of the tab must be a number. ") + **/ + @ApiModelProperty(value = "When set to **true**, sets this as a payment tab. Can only be used with Text, Number, Formula, or List tabs. The value of the tab must be a number. ") public String getIsPaymentAmount() { return isPaymentAmount; } + /** + * setIsPaymentAmount. + **/ public void setIsPaymentAmount(String isPaymentAmount) { this.isPaymentAmount = isPaymentAmount; } + + /** + * italic. + * + * @return Number + **/ public Number italic(String italic) { this.italic = italic; return this; } - /** - * When set to **true**, the information in the tab is italic. + /** + * When set to **true**, the information in the tab is italic.. * @return italic - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is italic.") + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is italic.") public String getItalic() { return italic; } + /** + * setItalic. + **/ public void setItalic(String italic) { this.italic = italic; } + + /** + * locked. + * + * @return Number + **/ public Number locked(String locked) { this.locked = locked; return this; } - /** - * When set to **true**, the signer cannot change the data of the custom tab. + /** + * When set to **true**, the signer cannot change the data of the custom tab.. * @return locked - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the signer cannot change the data of the custom tab.") + **/ + @ApiModelProperty(value = "When set to **true**, the signer cannot change the data of the custom tab.") public String getLocked() { return locked; } + /** + * setLocked. + **/ public void setLocked(String locked) { this.locked = locked; } + + /** + * maxLength. + * + * @return Number + **/ public Number maxLength(Integer maxLength) { this.maxLength = maxLength; return this; } - /** - * An optional value that describes the maximum length of the property when the property is a string. + /** + * An optional value that describes the maximum length of the property when the property is a string.. * @return maxLength - **/ - @ApiModelProperty(example = "null", value = "An optional value that describes the maximum length of the property when the property is a string.") + **/ + @ApiModelProperty(value = "An optional value that describes the maximum length of the property when the property is a string.") public Integer getMaxLength() { return maxLength; } + /** + * setMaxLength. + **/ public void setMaxLength(Integer maxLength) { this.maxLength = maxLength; } + + /** + * mergeField. + * + * @return Number + **/ public Number mergeField(MergeField mergeField) { this.mergeField = mergeField; return this; } - /** - * Get mergeField + /** + * Get mergeField. * @return mergeField - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public MergeField getMergeField() { return mergeField; } + /** + * setMergeField. + **/ public void setMergeField(MergeField mergeField) { this.mergeField = mergeField; } + + /** + * name. + * + * @return Number + **/ public Number name(String name) { this.name = name; return this; } - /** - * Specifies the tool tip text for the tab. + /** + * Specifies the tool tip text for the tab.. * @return name - **/ - @ApiModelProperty(example = "null", value = "Specifies the tool tip text for the tab.") + **/ + @ApiModelProperty(value = "Specifies the tool tip text for the tab.") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * originalValue. + * + * @return Number + **/ public Number originalValue(String originalValue) { this.originalValue = originalValue; return this; } - /** - * The initial value of the tab when it was sent to the recipient. + /** + * The initial value of the tab when it was sent to the recipient. . * @return originalValue - **/ - @ApiModelProperty(example = "null", value = "The initial value of the tab when it was sent to the recipient. ") + **/ + @ApiModelProperty(value = "The initial value of the tab when it was sent to the recipient. ") public String getOriginalValue() { return originalValue; } + /** + * setOriginalValue. + **/ public void setOriginalValue(String originalValue) { this.originalValue = originalValue; } + + /** + * pageNumber. + * + * @return Number + **/ public Number pageNumber(String pageNumber) { this.pageNumber = pageNumber; return this; } - /** - * Specifies the page number on which the tab is located. + /** + * Specifies the page number on which the tab is located.. * @return pageNumber - **/ - @ApiModelProperty(example = "null", value = "Specifies the page number on which the tab is located.") + **/ + @ApiModelProperty(value = "Specifies the page number on which the tab is located.") public String getPageNumber() { return pageNumber; } + /** + * setPageNumber. + **/ public void setPageNumber(String pageNumber) { this.pageNumber = pageNumber; } + + /** + * recipientId. + * + * @return Number + **/ public Number recipientId(String recipientId) { this.recipientId = recipientId; return this; } - /** - * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document. + /** + * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.. * @return recipientId - **/ - @ApiModelProperty(example = "null", value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") + **/ + @ApiModelProperty(value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") public String getRecipientId() { return recipientId; } + /** + * setRecipientId. + **/ public void setRecipientId(String recipientId) { this.recipientId = recipientId; } + + /** + * requireAll. + * + * @return Number + **/ public Number requireAll(String requireAll) { this.requireAll = requireAll; return this; } - /** - * When set to **true** and shared is true, information must be entered in this field to complete the envelope. + /** + * When set to **true** and shared is true, information must be entered in this field to complete the envelope. . * @return requireAll - **/ - @ApiModelProperty(example = "null", value = "When set to **true** and shared is true, information must be entered in this field to complete the envelope. ") + **/ + @ApiModelProperty(value = "When set to **true** and shared is true, information must be entered in this field to complete the envelope. ") public String getRequireAll() { return requireAll; } + /** + * setRequireAll. + **/ public void setRequireAll(String requireAll) { this.requireAll = requireAll; } + + /** + * required. + * + * @return Number + **/ public Number required(String required) { this.required = required; return this; } - /** - * When set to **true**, the signer is required to fill out this tab + /** + * When set to **true**, the signer is required to fill out this tab. * @return required - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the signer is required to fill out this tab") + **/ + @ApiModelProperty(value = "When set to **true**, the signer is required to fill out this tab") public String getRequired() { return required; } + /** + * setRequired. + **/ public void setRequired(String required) { this.required = required; } + + /** + * requireInitialOnSharedChange. + * + * @return Number + **/ public Number requireInitialOnSharedChange(String requireInitialOnSharedChange) { this.requireInitialOnSharedChange = requireInitialOnSharedChange; return this; } - /** - * Optional element for field markup. When set to **true**, the signer is required to initial when they modify a shared field. + /** + * Optional element for field markup. When set to **true**, the signer is required to initial when they modify a shared field.. * @return requireInitialOnSharedChange - **/ - @ApiModelProperty(example = "null", value = "Optional element for field markup. When set to **true**, the signer is required to initial when they modify a shared field.") + **/ + @ApiModelProperty(value = "Optional element for field markup. When set to **true**, the signer is required to initial when they modify a shared field.") public String getRequireInitialOnSharedChange() { return requireInitialOnSharedChange; } + /** + * setRequireInitialOnSharedChange. + **/ public void setRequireInitialOnSharedChange(String requireInitialOnSharedChange) { this.requireInitialOnSharedChange = requireInitialOnSharedChange; } + + /** + * senderRequired. + * + * @return Number + **/ public Number senderRequired(String senderRequired) { this.senderRequired = senderRequired; return this; } - /** - * When set to **true**, the sender must populate the tab before an envelope can be sent using the template. This value tab can only be changed by modifying (PUT) the template. Tabs with a `senderRequired` value of true cannot be deleted from an envelope. + /** + * When set to **true**, the sender must populate the tab before an envelope can be sent using the template. This value tab can only be changed by modifying (PUT) the template. Tabs with a `senderRequired` value of true cannot be deleted from an envelope.. * @return senderRequired - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender must populate the tab before an envelope can be sent using the template. This value tab can only be changed by modifying (PUT) the template. Tabs with a `senderRequired` value of true cannot be deleted from an envelope.") + **/ + @ApiModelProperty(value = "When set to **true**, the sender must populate the tab before an envelope can be sent using the template. This value tab can only be changed by modifying (PUT) the template. Tabs with a `senderRequired` value of true cannot be deleted from an envelope.") public String getSenderRequired() { return senderRequired; } + /** + * setSenderRequired. + **/ public void setSenderRequired(String senderRequired) { this.senderRequired = senderRequired; } + + /** + * shared. + * + * @return Number + **/ public Number shared(String shared) { this.shared = shared; return this; } - /** - * When set to **true**, this custom tab is shared. + /** + * When set to **true**, this custom tab is shared.. * @return shared - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, this custom tab is shared.") + **/ + @ApiModelProperty(value = "When set to **true**, this custom tab is shared.") public String getShared() { return shared; } + /** + * setShared. + **/ public void setShared(String shared) { this.shared = shared; } + + /** + * status. + * + * @return Number + **/ public Number status(String status) { this.status = status; return this; } - /** - * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. + /** + * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.. * @return status - **/ - @ApiModelProperty(example = "null", value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") + **/ + @ApiModelProperty(value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") public String getStatus() { return status; } + /** + * setStatus. + **/ public void setStatus(String status) { this.status = status; } + + /** + * tabGroupLabels. + * + * @return Number + **/ public Number tabGroupLabels(java.util.List tabGroupLabels) { this.tabGroupLabels = tabGroupLabels; return this; } - + + /** + * addTabGroupLabelsItem. + * + * @return Number + **/ public Number addTabGroupLabelsItem(String tabGroupLabelsItem) { + if (this.tabGroupLabels == null) { + this.tabGroupLabels = new java.util.ArrayList(); + } this.tabGroupLabels.add(tabGroupLabelsItem); return this; } - /** - * + /** + * . * @return tabGroupLabels - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getTabGroupLabels() { return tabGroupLabels; } + /** + * setTabGroupLabels. + **/ public void setTabGroupLabels(java.util.List tabGroupLabels) { this.tabGroupLabels = tabGroupLabels; } + + /** + * tabId. + * + * @return Number + **/ public Number tabId(String tabId) { this.tabId = tabId; return this; } - /** - * The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. + /** + * The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. . * @return tabId - **/ - @ApiModelProperty(example = "null", value = "The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. ") + **/ + @ApiModelProperty(value = "The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. ") public String getTabId() { return tabId; } + /** + * setTabId. + **/ public void setTabId(String tabId) { this.tabId = tabId; } + + /** + * tabLabel. + * + * @return Number + **/ public Number tabLabel(String tabLabel) { this.tabLabel = tabLabel; return this; } - /** - * The label string associated with the tab. + /** + * The label string associated with the tab.. * @return tabLabel - **/ - @ApiModelProperty(example = "null", value = "The label string associated with the tab.") + **/ + @ApiModelProperty(value = "The label string associated with the tab.") public String getTabLabel() { return tabLabel; } + /** + * setTabLabel. + **/ public void setTabLabel(String tabLabel) { this.tabLabel = tabLabel; } + + /** + * tabOrder. + * + * @return Number + **/ public Number tabOrder(String tabOrder) { this.tabOrder = tabOrder; return this; } - /** - * + /** + * . * @return tabOrder - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTabOrder() { return tabOrder; } + /** + * setTabOrder. + **/ public void setTabOrder(String tabOrder) { this.tabOrder = tabOrder; } + + /** + * templateLocked. + * + * @return Number + **/ public Number templateLocked(String templateLocked) { this.templateLocked = templateLocked; return this; } - /** - * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. . * @return templateLocked - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") + **/ + @ApiModelProperty(value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") public String getTemplateLocked() { return templateLocked; } + /** + * setTemplateLocked. + **/ public void setTemplateLocked(String templateLocked) { this.templateLocked = templateLocked; } + + /** + * templateRequired. + * + * @return Number + **/ public Number templateRequired(String templateRequired) { this.templateRequired = templateRequired; return this; } - /** - * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.. * @return templateRequired - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") + **/ + @ApiModelProperty(value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") public String getTemplateRequired() { return templateRequired; } + /** + * setTemplateRequired. + **/ public void setTemplateRequired(String templateRequired) { this.templateRequired = templateRequired; } + + /** + * tooltip. + * + * @return Number + **/ public Number tooltip(String tooltip) { this.tooltip = tooltip; return this; } - /** - * + /** + * . * @return tooltip - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTooltip() { return tooltip; } + /** + * setTooltip. + **/ public void setTooltip(String tooltip) { this.tooltip = tooltip; } + + /** + * underline. + * + * @return Number + **/ public Number underline(String underline) { this.underline = underline; return this; } - /** - * When set to **true**, the information in the tab is underlined. + /** + * When set to **true**, the information in the tab is underlined.. * @return underline - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is underlined.") + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is underlined.") public String getUnderline() { return underline; } + /** + * setUnderline. + **/ public void setUnderline(String underline) { this.underline = underline; } + + /** + * validationMessage. + * + * @return Number + **/ public Number validationMessage(String validationMessage) { this.validationMessage = validationMessage; return this; } - /** - * The message displayed if the custom tab fails input validation (either custom of embedded). + /** + * The message displayed if the custom tab fails input validation (either custom of embedded).. * @return validationMessage - **/ - @ApiModelProperty(example = "null", value = "The message displayed if the custom tab fails input validation (either custom of embedded).") + **/ + @ApiModelProperty(value = "The message displayed if the custom tab fails input validation (either custom of embedded).") public String getValidationMessage() { return validationMessage; } + /** + * setValidationMessage. + **/ public void setValidationMessage(String validationMessage) { this.validationMessage = validationMessage; } + + /** + * validationPattern. + * + * @return Number + **/ public Number validationPattern(String validationPattern) { this.validationPattern = validationPattern; return this; } - /** - * A regular expression used to validate input for the tab. + /** + * A regular expression used to validate input for the tab.. * @return validationPattern - **/ - @ApiModelProperty(example = "null", value = "A regular expression used to validate input for the tab.") + **/ + @ApiModelProperty(value = "A regular expression used to validate input for the tab.") public String getValidationPattern() { return validationPattern; } + /** + * setValidationPattern. + **/ public void setValidationPattern(String validationPattern) { this.validationPattern = validationPattern; } + + /** + * value. + * + * @return Number + **/ public Number value(String value) { this.value = value; return this; } - /** - * Specifies the value of the tab. + /** + * Specifies the value of the tab. . * @return value - **/ - @ApiModelProperty(example = "null", value = "Specifies the value of the tab. ") + **/ + @ApiModelProperty(value = "Specifies the value of the tab. ") public String getValue() { return value; } + /** + * setValue. + **/ public void setValue(String value) { this.value = value; } + + /** + * width. + * + * @return Number + **/ public Number width(Integer width) { this.width = width; return this; } - /** - * Width of the tab in pixels. + /** + * Width of the tab in pixels.. * @return width - **/ - @ApiModelProperty(example = "null", value = "Width of the tab in pixels.") + **/ + @ApiModelProperty(value = "Width of the tab in pixels.") public Integer getWidth() { return width; } + /** + * setWidth. + **/ public void setWidth(Integer width) { this.width = width; } + + /** + * xPosition. + * + * @return Number + **/ public Number xPosition(String xPosition) { this.xPosition = xPosition; return this; } - /** - * This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position. + /** + * This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.. * @return xPosition - **/ - @ApiModelProperty(example = "null", value = "This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.") + **/ + @ApiModelProperty(value = "This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.") public String getXPosition() { return xPosition; } + /** + * setXPosition. + **/ public void setXPosition(String xPosition) { this.xPosition = xPosition; } + + /** + * yPosition. + * + * @return Number + **/ public Number yPosition(String yPosition) { this.yPosition = yPosition; return this; } - /** - * This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position. + /** + * This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. * @return yPosition - **/ - @ApiModelProperty(example = "null", value = "This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.") + **/ + @ApiModelProperty(value = "This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.") public String getYPosition() { return yPosition; } + /** + * setYPosition. + **/ public void setYPosition(String yPosition) { this.yPosition = yPosition; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -1108,12 +1565,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.yPosition, number.yPosition); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(anchorCaseSensitive, anchorHorizontalAlignment, anchorIgnoreIfNotPresent, anchorMatchWholeWord, anchorString, anchorUnits, anchorXOffset, anchorYOffset, bold, concealValueOnDocument, conditionalParentLabel, conditionalParentValue, customTabId, disableAutoSize, documentId, errorDetails, font, fontColor, fontSize, formula, isPaymentAmount, italic, locked, maxLength, mergeField, name, originalValue, pageNumber, recipientId, requireAll, required, requireInitialOnSharedChange, senderRequired, shared, status, tabGroupLabels, tabId, tabLabel, tabOrder, templateLocked, templateRequired, tooltip, underline, validationMessage, validationPattern, value, width, xPosition, yPosition); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -1182,6 +1645,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/OauthAccess.java b/src/main/java/com/docusign/esign/model/OauthAccess.java index d5197aca..717e62ca 100644 --- a/src/main/java/com/docusign/esign/model/OauthAccess.java +++ b/src/main/java/com/docusign/esign/model/OauthAccess.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.NameValue; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * OauthAccess + * OauthAccess. + * */ public class OauthAccess { @@ -16,7 +19,7 @@ public class OauthAccess { private String accessToken = null; @JsonProperty("data") - private java.util.List data = new java.util.ArrayList(); + private java.util.List data = null; @JsonProperty("expires_in") private String expiresIn = null; @@ -30,120 +33,187 @@ public class OauthAccess { @JsonProperty("token_type") private String tokenType = null; + + /** + * accessToken. + * + * @return OauthAccess + **/ public OauthAccess accessToken(String accessToken) { this.accessToken = accessToken; return this; } - /** - * Access token information. + /** + * Access token information.. * @return accessToken - **/ - @ApiModelProperty(example = "null", value = "Access token information.") + **/ + @ApiModelProperty(value = "Access token information.") public String getAccessToken() { return accessToken; } + /** + * setAccessToken. + **/ public void setAccessToken(String accessToken) { this.accessToken = accessToken; } + + /** + * data. + * + * @return OauthAccess + **/ public OauthAccess data(java.util.List data) { this.data = data; return this; } - + + /** + * addDataItem. + * + * @return OauthAccess + **/ public OauthAccess addDataItem(NameValue dataItem) { + if (this.data == null) { + this.data = new java.util.ArrayList(); + } this.data.add(dataItem); return this; } - /** - * + /** + * . * @return data - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getData() { return data; } + /** + * setData. + **/ public void setData(java.util.List data) { this.data = data; } + + /** + * expiresIn. + * + * @return OauthAccess + **/ public OauthAccess expiresIn(String expiresIn) { this.expiresIn = expiresIn; return this; } - /** - * + /** + * . * @return expiresIn - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getExpiresIn() { return expiresIn; } + /** + * setExpiresIn. + **/ public void setExpiresIn(String expiresIn) { this.expiresIn = expiresIn; } + + /** + * refreshToken. + * + * @return OauthAccess + **/ public OauthAccess refreshToken(String refreshToken) { this.refreshToken = refreshToken; return this; } - /** - * + /** + * . * @return refreshToken - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getRefreshToken() { return refreshToken; } + /** + * setRefreshToken. + **/ public void setRefreshToken(String refreshToken) { this.refreshToken = refreshToken; } + + /** + * scope. + * + * @return OauthAccess + **/ public OauthAccess scope(String scope) { this.scope = scope; return this; } - /** - * Must be set to \"api\". + /** + * Must be set to \"api\".. * @return scope - **/ - @ApiModelProperty(example = "null", value = "Must be set to \"api\".") + **/ + @ApiModelProperty(value = "Must be set to \"api\".") public String getScope() { return scope; } + /** + * setScope. + **/ public void setScope(String scope) { this.scope = scope; } + + /** + * tokenType. + * + * @return OauthAccess + **/ public OauthAccess tokenType(String tokenType) { this.tokenType = tokenType; return this; } - /** - * + /** + * . * @return tokenType - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTokenType() { return tokenType; } + /** + * setTokenType. + **/ public void setTokenType(String tokenType) { this.tokenType = tokenType; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -161,12 +231,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.tokenType, oauthAccess.tokenType); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(accessToken, data, expiresIn, refreshToken, scope, tokenType); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -192,6 +268,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/OfflineAttributes.java b/src/main/java/com/docusign/esign/model/OfflineAttributes.java index 2593dc98..3780e403 100644 --- a/src/main/java/com/docusign/esign/model/OfflineAttributes.java +++ b/src/main/java/com/docusign/esign/model/OfflineAttributes.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Reserved for DocuSign use. + * Reserved for DocuSign use.. + * */ @ApiModel(description = "Reserved for DocuSign use.") @@ -30,115 +33,174 @@ public class OfflineAttributes { @JsonProperty("offlineSigningHash") private String offlineSigningHash = null; + + /** + * accountEsignId. + * + * @return OfflineAttributes + **/ public OfflineAttributes accountEsignId(String accountEsignId) { this.accountEsignId = accountEsignId; return this; } - /** - * A GUID identifying the account associated with the consumer disclosure + /** + * A GUID identifying the account associated with the consumer disclosure. * @return accountEsignId - **/ - @ApiModelProperty(example = "null", value = "A GUID identifying the account associated with the consumer disclosure") + **/ + @ApiModelProperty(value = "A GUID identifying the account associated with the consumer disclosure") public String getAccountEsignId() { return accountEsignId; } + /** + * setAccountEsignId. + **/ public void setAccountEsignId(String accountEsignId) { this.accountEsignId = accountEsignId; } + + /** + * deviceModel. + * + * @return OfflineAttributes + **/ public OfflineAttributes deviceModel(String deviceModel) { this.deviceModel = deviceModel; return this; } - /** - * A string containing information about the model of the device used for offline signing. + /** + * A string containing information about the model of the device used for offline signing.. * @return deviceModel - **/ - @ApiModelProperty(example = "null", value = "A string containing information about the model of the device used for offline signing.") + **/ + @ApiModelProperty(value = "A string containing information about the model of the device used for offline signing.") public String getDeviceModel() { return deviceModel; } + /** + * setDeviceModel. + **/ public void setDeviceModel(String deviceModel) { this.deviceModel = deviceModel; } + + /** + * deviceName. + * + * @return OfflineAttributes + **/ public OfflineAttributes deviceName(String deviceName) { this.deviceName = deviceName; return this; } - /** - * A string containing information about the type of device used for offline signing. + /** + * A string containing information about the type of device used for offline signing.. * @return deviceName - **/ - @ApiModelProperty(example = "null", value = "A string containing information about the type of device used for offline signing.") + **/ + @ApiModelProperty(value = "A string containing information about the type of device used for offline signing.") public String getDeviceName() { return deviceName; } + /** + * setDeviceName. + **/ public void setDeviceName(String deviceName) { this.deviceName = deviceName; } + + /** + * gpsLatitude. + * + * @return OfflineAttributes + **/ public OfflineAttributes gpsLatitude(String gpsLatitude) { this.gpsLatitude = gpsLatitude; return this; } - /** - * A string containing the latitude of the device location at the time of signing. + /** + * A string containing the latitude of the device location at the time of signing.. * @return gpsLatitude - **/ - @ApiModelProperty(example = "null", value = "A string containing the latitude of the device location at the time of signing.") + **/ + @ApiModelProperty(value = "A string containing the latitude of the device location at the time of signing.") public String getGpsLatitude() { return gpsLatitude; } + /** + * setGpsLatitude. + **/ public void setGpsLatitude(String gpsLatitude) { this.gpsLatitude = gpsLatitude; } + + /** + * gpsLongitude. + * + * @return OfflineAttributes + **/ public OfflineAttributes gpsLongitude(String gpsLongitude) { this.gpsLongitude = gpsLongitude; return this; } - /** - * A string containing the longitude of the device location at the time of signing. + /** + * A string containing the longitude of the device location at the time of signing.. * @return gpsLongitude - **/ - @ApiModelProperty(example = "null", value = "A string containing the longitude of the device location at the time of signing.") + **/ + @ApiModelProperty(value = "A string containing the longitude of the device location at the time of signing.") public String getGpsLongitude() { return gpsLongitude; } + /** + * setGpsLongitude. + **/ public void setGpsLongitude(String gpsLongitude) { this.gpsLongitude = gpsLongitude; } + + /** + * offlineSigningHash. + * + * @return OfflineAttributes + **/ public OfflineAttributes offlineSigningHash(String offlineSigningHash) { this.offlineSigningHash = offlineSigningHash; return this; } - /** - * + /** + * . * @return offlineSigningHash - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getOfflineSigningHash() { return offlineSigningHash; } + /** + * setOfflineSigningHash. + **/ public void setOfflineSigningHash(String offlineSigningHash) { this.offlineSigningHash = offlineSigningHash; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -156,12 +218,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.offlineSigningHash, offlineAttributes.offlineSigningHash); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(accountEsignId, deviceModel, deviceName, gpsLatitude, gpsLongitude, offlineSigningHash); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -187,6 +255,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/Page.java b/src/main/java/com/docusign/esign/model/Page.java index 5b974c6f..b88387a4 100644 --- a/src/main/java/com/docusign/esign/model/Page.java +++ b/src/main/java/com/docusign/esign/model/Page.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ErrorDetails; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Description of a page of a document. + * Description of a page of a document.. + * */ @ApiModel(description = "Description of a page of a document.") @@ -37,151 +40,228 @@ public class Page { @JsonProperty("width") private String width = null; + + /** + * dpi. + * + * @return Page + **/ public Page dpi(String dpi) { this.dpi = dpi; return this; } - /** - * The number of dots per inch used for the page image. + /** + * The number of dots per inch used for the page image.. * @return dpi - **/ - @ApiModelProperty(example = "null", value = "The number of dots per inch used for the page image.") + **/ + @ApiModelProperty(value = "The number of dots per inch used for the page image.") public String getDpi() { return dpi; } + /** + * setDpi. + **/ public void setDpi(String dpi) { this.dpi = dpi; } + + /** + * errorDetails. + * + * @return Page + **/ public Page errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * height. + * + * @return Page + **/ public Page height(String height) { this.height = height; return this; } - /** - * Height of the tab in pixels. + /** + * Height of the tab in pixels.. * @return height - **/ - @ApiModelProperty(example = "null", value = "Height of the tab in pixels.") + **/ + @ApiModelProperty(value = "Height of the tab in pixels.") public String getHeight() { return height; } + /** + * setHeight. + **/ public void setHeight(String height) { this.height = height; } + + /** + * imageBytes. + * + * @return Page + **/ public Page imageBytes(String imageBytes) { this.imageBytes = imageBytes; return this; } - /** - * + /** + * . * @return imageBytes - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getImageBytes() { return imageBytes; } + /** + * setImageBytes. + **/ public void setImageBytes(String imageBytes) { this.imageBytes = imageBytes; } + + /** + * mimeType. + * + * @return Page + **/ public Page mimeType(String mimeType) { this.mimeType = mimeType; return this; } - /** - * + /** + * . * @return mimeType - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getMimeType() { return mimeType; } + /** + * setMimeType. + **/ public void setMimeType(String mimeType) { this.mimeType = mimeType; } + + /** + * pageId. + * + * @return Page + **/ public Page pageId(String pageId) { this.pageId = pageId; return this; } - /** - * + /** + * . * @return pageId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPageId() { return pageId; } + /** + * setPageId. + **/ public void setPageId(String pageId) { this.pageId = pageId; } + + /** + * sequence. + * + * @return Page + **/ public Page sequence(String sequence) { this.sequence = sequence; return this; } - /** - * + /** + * . * @return sequence - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSequence() { return sequence; } + /** + * setSequence. + **/ public void setSequence(String sequence) { this.sequence = sequence; } + + /** + * width. + * + * @return Page + **/ public Page width(String width) { this.width = width; return this; } - /** - * Width of the tab in pixels. + /** + * Width of the tab in pixels.. * @return width - **/ - @ApiModelProperty(example = "null", value = "Width of the tab in pixels.") + **/ + @ApiModelProperty(value = "Width of the tab in pixels.") public String getWidth() { return width; } + /** + * setWidth. + **/ public void setWidth(String width) { this.width = width; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -201,12 +281,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.width, page.width); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(dpi, errorDetails, height, imageBytes, mimeType, pageId, sequence, width); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -234,6 +320,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/PageImages.java b/src/main/java/com/docusign/esign/model/PageImages.java index a3cf469f..191ae673 100644 --- a/src/main/java/com/docusign/esign/model/PageImages.java +++ b/src/main/java/com/docusign/esign/model/PageImages.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.Page; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * PageImages + * PageImages. + * */ public class PageImages { @@ -19,7 +22,7 @@ public class PageImages { private String nextUri = null; @JsonProperty("pages") - private java.util.List pages = new java.util.ArrayList(); + private java.util.List pages = null; @JsonProperty("previousUri") private String previousUri = null; @@ -33,138 +36,214 @@ public class PageImages { @JsonProperty("totalSetSize") private String totalSetSize = null; + + /** + * endPosition. + * + * @return PageImages + **/ public PageImages endPosition(String endPosition) { this.endPosition = endPosition; return this; } - /** - * The last position in the result set. + /** + * The last position in the result set. . * @return endPosition - **/ - @ApiModelProperty(example = "null", value = "The last position in the result set. ") + **/ + @ApiModelProperty(value = "The last position in the result set. ") public String getEndPosition() { return endPosition; } + /** + * setEndPosition. + **/ public void setEndPosition(String endPosition) { this.endPosition = endPosition; } + + /** + * nextUri. + * + * @return PageImages + **/ public PageImages nextUri(String nextUri) { this.nextUri = nextUri; return this; } - /** - * The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. + /** + * The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. . * @return nextUri - **/ - @ApiModelProperty(example = "null", value = "The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. ") + **/ + @ApiModelProperty(value = "The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. ") public String getNextUri() { return nextUri; } + /** + * setNextUri. + **/ public void setNextUri(String nextUri) { this.nextUri = nextUri; } + + /** + * pages. + * + * @return PageImages + **/ public PageImages pages(java.util.List pages) { this.pages = pages; return this; } - + + /** + * addPagesItem. + * + * @return PageImages + **/ public PageImages addPagesItem(Page pagesItem) { + if (this.pages == null) { + this.pages = new java.util.ArrayList(); + } this.pages.add(pagesItem); return this; } - /** - * + /** + * . * @return pages - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getPages() { return pages; } + /** + * setPages. + **/ public void setPages(java.util.List pages) { this.pages = pages; } + + /** + * previousUri. + * + * @return PageImages + **/ public PageImages previousUri(String previousUri) { this.previousUri = previousUri; return this; } - /** - * The postal code for the billing address. + /** + * The postal code for the billing address.. * @return previousUri - **/ - @ApiModelProperty(example = "null", value = "The postal code for the billing address.") + **/ + @ApiModelProperty(value = "The postal code for the billing address.") public String getPreviousUri() { return previousUri; } + /** + * setPreviousUri. + **/ public void setPreviousUri(String previousUri) { this.previousUri = previousUri; } + + /** + * resultSetSize. + * + * @return PageImages + **/ public PageImages resultSetSize(String resultSetSize) { this.resultSetSize = resultSetSize; return this; } - /** - * The number of results returned in this response. + /** + * The number of results returned in this response. . * @return resultSetSize - **/ - @ApiModelProperty(example = "null", value = "The number of results returned in this response. ") + **/ + @ApiModelProperty(value = "The number of results returned in this response. ") public String getResultSetSize() { return resultSetSize; } + /** + * setResultSetSize. + **/ public void setResultSetSize(String resultSetSize) { this.resultSetSize = resultSetSize; } + + /** + * startPosition. + * + * @return PageImages + **/ public PageImages startPosition(String startPosition) { this.startPosition = startPosition; return this; } - /** - * Starting position of the current result set. + /** + * Starting position of the current result set.. * @return startPosition - **/ - @ApiModelProperty(example = "null", value = "Starting position of the current result set.") + **/ + @ApiModelProperty(value = "Starting position of the current result set.") public String getStartPosition() { return startPosition; } + /** + * setStartPosition. + **/ public void setStartPosition(String startPosition) { this.startPosition = startPosition; } + + /** + * totalSetSize. + * + * @return PageImages + **/ public PageImages totalSetSize(String totalSetSize) { this.totalSetSize = totalSetSize; return this; } - /** - * The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response. + /** + * The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.. * @return totalSetSize - **/ - @ApiModelProperty(example = "null", value = "The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.") + **/ + @ApiModelProperty(value = "The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.") public String getTotalSetSize() { return totalSetSize; } + /** + * setTotalSetSize. + **/ public void setTotalSetSize(String totalSetSize) { this.totalSetSize = totalSetSize; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -183,12 +262,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.totalSetSize, pageImages.totalSetSize); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(endPosition, nextUri, pages, previousUri, resultSetSize, startPosition, totalSetSize); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -215,6 +300,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/PageRequest.java b/src/main/java/com/docusign/esign/model/PageRequest.java index 1b34ba81..8047a434 100644 --- a/src/main/java/com/docusign/esign/model/PageRequest.java +++ b/src/main/java/com/docusign/esign/model/PageRequest.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * PageRequest + * PageRequest. + * */ public class PageRequest { @@ -17,43 +20,66 @@ public class PageRequest { @JsonProperty("rotate") private String rotate = null; + + /** + * password. + * + * @return PageRequest + **/ public PageRequest password(String password) { this.password = password; return this; } - /** - * + /** + * . * @return password - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPassword() { return password; } + /** + * setPassword. + **/ public void setPassword(String password) { this.password = password; } + + /** + * rotate. + * + * @return PageRequest + **/ public PageRequest rotate(String rotate) { this.rotate = rotate; return this; } - /** - * Sets the direction the page image is rotated. The possible settings are: left or right + /** + * Sets the direction the page image is rotated. The possible settings are: left or right. * @return rotate - **/ - @ApiModelProperty(example = "null", value = "Sets the direction the page image is rotated. The possible settings are: left or right") + **/ + @ApiModelProperty(value = "Sets the direction the page image is rotated. The possible settings are: left or right") public String getRotate() { return rotate; } + /** + * setRotate. + **/ public void setRotate(String rotate) { this.rotate = rotate; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -67,12 +93,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.rotate, pageRequest.rotate); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(password, rotate); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -94,6 +126,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/PageSize.java b/src/main/java/com/docusign/esign/model/PageSize.java new file mode 100644 index 00000000..951216bf --- /dev/null +++ b/src/main/java/com/docusign/esign/model/PageSize.java @@ -0,0 +1,99 @@ +package com.docusign.esign.model; + +import java.util.Objects; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +/** + * PageSize + */ + +public class PageSize { + @JsonProperty("pageHeight") + private String pageHeight = null; + + @JsonProperty("pageWidth") + private String pageWidth = null; + + public PageSize pageHeight(String pageHeight) { + this.pageHeight = pageHeight; + return this; + } + + /** + * + * @return pageHeight + **/ + @ApiModelProperty(example = "null", value = "") + public String getPageHeight() { + return pageHeight; + } + + public void setPageHeight(String pageHeight) { + this.pageHeight = pageHeight; + } + + public PageSize pageWidth(String pageWidth) { + this.pageWidth = pageWidth; + return this; + } + + /** + * + * @return pageWidth + **/ + @ApiModelProperty(example = "null", value = "") + public String getPageWidth() { + return pageWidth; + } + + public void setPageWidth(String pageWidth) { + this.pageWidth = pageWidth; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PageSize pageSize = (PageSize) o; + return Objects.equals(this.pageHeight, pageSize.pageHeight) && + Objects.equals(this.pageWidth, pageSize.pageWidth); + } + + @Override + public int hashCode() { + return Objects.hash(pageHeight, pageWidth); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PageSize {\n"); + + sb.append(" pageHeight: ").append(toIndentedString(pageHeight)).append("\n"); + sb.append(" pageWidth: ").append(toIndentedString(pageWidth)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/com/docusign/esign/model/PathExtendedElement.java b/src/main/java/com/docusign/esign/model/PathExtendedElement.java new file mode 100644 index 00000000..09b2f65f --- /dev/null +++ b/src/main/java/com/docusign/esign/model/PathExtendedElement.java @@ -0,0 +1,122 @@ +package com.docusign.esign.model; + +import java.util.Objects; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +/** + * PathExtendedElement + */ + +public class PathExtendedElement { + @JsonProperty("name") + private String name = null; + + @JsonProperty("type") + private String type = null; + + @JsonProperty("typeName") + private String typeName = null; + + public PathExtendedElement name(String name) { + this.name = name; + return this; + } + + /** + * + * @return name + **/ + @ApiModelProperty(example = "null", value = "") + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public PathExtendedElement type(String type) { + this.type = type; + return this; + } + + /** + * + * @return type + **/ + @ApiModelProperty(example = "null", value = "") + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + public PathExtendedElement typeName(String typeName) { + this.typeName = typeName; + return this; + } + + /** + * + * @return typeName + **/ + @ApiModelProperty(example = "null", value = "") + public String getTypeName() { + return typeName; + } + + public void setTypeName(String typeName) { + this.typeName = typeName; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PathExtendedElement pathExtendedElement = (PathExtendedElement) o; + return Objects.equals(this.name, pathExtendedElement.name) && + Objects.equals(this.type, pathExtendedElement.type) && + Objects.equals(this.typeName, pathExtendedElement.typeName); + } + + @Override + public int hashCode() { + return Objects.hash(name, type, typeName); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PathExtendedElement {\n"); + + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" typeName: ").append(toIndentedString(typeName)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/com/docusign/esign/model/PayPalLegacySettings.java b/src/main/java/com/docusign/esign/model/PayPalLegacySettings.java new file mode 100644 index 00000000..a61abe94 --- /dev/null +++ b/src/main/java/com/docusign/esign/model/PayPalLegacySettings.java @@ -0,0 +1,168 @@ +package com.docusign.esign.model; + +import java.util.Objects; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +/** + * PayPalLegacySettings + */ + +public class PayPalLegacySettings { + @JsonProperty("currency") + private String currency = null; + + @JsonProperty("partner") + private String partner = null; + + @JsonProperty("password") + private String password = null; + + @JsonProperty("userName") + private String userName = null; + + @JsonProperty("vendor") + private String vendor = null; + + public PayPalLegacySettings currency(String currency) { + this.currency = currency; + return this; + } + + /** + * + * @return currency + **/ + @ApiModelProperty(example = "null", value = "") + public String getCurrency() { + return currency; + } + + public void setCurrency(String currency) { + this.currency = currency; + } + + public PayPalLegacySettings partner(String partner) { + this.partner = partner; + return this; + } + + /** + * + * @return partner + **/ + @ApiModelProperty(example = "null", value = "") + public String getPartner() { + return partner; + } + + public void setPartner(String partner) { + this.partner = partner; + } + + public PayPalLegacySettings password(String password) { + this.password = password; + return this; + } + + /** + * + * @return password + **/ + @ApiModelProperty(example = "null", value = "") + public String getPassword() { + return password; + } + + public void setPassword(String password) { + this.password = password; + } + + public PayPalLegacySettings userName(String userName) { + this.userName = userName; + return this; + } + + /** + * + * @return userName + **/ + @ApiModelProperty(example = "null", value = "") + public String getUserName() { + return userName; + } + + public void setUserName(String userName) { + this.userName = userName; + } + + public PayPalLegacySettings vendor(String vendor) { + this.vendor = vendor; + return this; + } + + /** + * + * @return vendor + **/ + @ApiModelProperty(example = "null", value = "") + public String getVendor() { + return vendor; + } + + public void setVendor(String vendor) { + this.vendor = vendor; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PayPalLegacySettings payPalLegacySettings = (PayPalLegacySettings) o; + return Objects.equals(this.currency, payPalLegacySettings.currency) && + Objects.equals(this.partner, payPalLegacySettings.partner) && + Objects.equals(this.password, payPalLegacySettings.password) && + Objects.equals(this.userName, payPalLegacySettings.userName) && + Objects.equals(this.vendor, payPalLegacySettings.vendor); + } + + @Override + public int hashCode() { + return Objects.hash(currency, partner, password, userName, vendor); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PayPalLegacySettings {\n"); + + sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); + sb.append(" partner: ").append(toIndentedString(partner)).append("\n"); + sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" userName: ").append(toIndentedString(userName)).append("\n"); + sb.append(" vendor: ").append(toIndentedString(vendor)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/com/docusign/esign/model/PaymentDetails.java b/src/main/java/com/docusign/esign/model/PaymentDetails.java index b3e4097e..7f572d95 100644 --- a/src/main/java/com/docusign/esign/model/PaymentDetails.java +++ b/src/main/java/com/docusign/esign/model/PaymentDetails.java @@ -1,20 +1,24 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.Money; import com.docusign.esign.model.PaymentLineItem; +import com.docusign.esign.model.PaymentSignerValues; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * PaymentDetails + * PaymentDetails. + * */ public class PaymentDetails { @JsonProperty("allowedPaymentMethods") - private java.util.List allowedPaymentMethods = new java.util.ArrayList(); + private java.util.List allowedPaymentMethods = null; @JsonProperty("chargeId") private String chargeId = null; @@ -22,6 +26,15 @@ public class PaymentDetails { @JsonProperty("currencyCode") private String currencyCode = null; + @JsonProperty("customerId") + private String customerId = null; + + @JsonProperty("customMetadata") + private String customMetadata = null; + + @JsonProperty("customMetadataRequired") + private Boolean customMetadataRequired = null; + @JsonProperty("gatewayAccountId") private String gatewayAccountId = null; @@ -32,208 +45,460 @@ public class PaymentDetails { private String gatewayName = null; @JsonProperty("lineItems") - private java.util.List lineItems = new java.util.ArrayList(); + private java.util.List lineItems = null; @JsonProperty("paymentOption") private String paymentOption = null; + @JsonProperty("paymentSourceId") + private String paymentSourceId = null; + + @JsonProperty("signerValues") + private PaymentSignerValues signerValues = null; + @JsonProperty("status") private String status = null; @JsonProperty("total") private Money total = null; + + /** + * allowedPaymentMethods. + * + * @return PaymentDetails + **/ public PaymentDetails allowedPaymentMethods(java.util.List allowedPaymentMethods) { this.allowedPaymentMethods = allowedPaymentMethods; return this; } - + + /** + * addAllowedPaymentMethodsItem. + * + * @return PaymentDetails + **/ public PaymentDetails addAllowedPaymentMethodsItem(String allowedPaymentMethodsItem) { + if (this.allowedPaymentMethods == null) { + this.allowedPaymentMethods = new java.util.ArrayList(); + } this.allowedPaymentMethods.add(allowedPaymentMethodsItem); return this; } - /** - * + /** + * . * @return allowedPaymentMethods - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getAllowedPaymentMethods() { return allowedPaymentMethods; } + /** + * setAllowedPaymentMethods. + **/ public void setAllowedPaymentMethods(java.util.List allowedPaymentMethods) { this.allowedPaymentMethods = allowedPaymentMethods; } + + /** + * chargeId. + * + * @return PaymentDetails + **/ public PaymentDetails chargeId(String chargeId) { this.chargeId = chargeId; return this; } - /** - * + /** + * . * @return chargeId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getChargeId() { return chargeId; } + /** + * setChargeId. + **/ public void setChargeId(String chargeId) { this.chargeId = chargeId; } + + /** + * currencyCode. + * + * @return PaymentDetails + **/ public PaymentDetails currencyCode(String currencyCode) { this.currencyCode = currencyCode; return this; } - /** - * + /** + * . * @return currencyCode - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getCurrencyCode() { return currencyCode; } + /** + * setCurrencyCode. + **/ public void setCurrencyCode(String currencyCode) { this.currencyCode = currencyCode; } + + /** + * customerId. + * + * @return PaymentDetails + **/ + public PaymentDetails customerId(String customerId) { + this.customerId = customerId; + return this; + } + + /** + * . + * @return customerId + **/ + @ApiModelProperty(value = "") + public String getCustomerId() { + return customerId; + } + + /** + * setCustomerId. + **/ + public void setCustomerId(String customerId) { + this.customerId = customerId; + } + + + /** + * customMetadata. + * + * @return PaymentDetails + **/ + public PaymentDetails customMetadata(String customMetadata) { + this.customMetadata = customMetadata; + return this; + } + + /** + * . + * @return customMetadata + **/ + @ApiModelProperty(value = "") + public String getCustomMetadata() { + return customMetadata; + } + + /** + * setCustomMetadata. + **/ + public void setCustomMetadata(String customMetadata) { + this.customMetadata = customMetadata; + } + + + /** + * customMetadataRequired. + * + * @return PaymentDetails + **/ + public PaymentDetails customMetadataRequired(Boolean customMetadataRequired) { + this.customMetadataRequired = customMetadataRequired; + return this; + } + + /** + * . + * @return customMetadataRequired + **/ + @ApiModelProperty(value = "") + public Boolean isCustomMetadataRequired() { + return customMetadataRequired; + } + + /** + * setCustomMetadataRequired. + **/ + public void setCustomMetadataRequired(Boolean customMetadataRequired) { + this.customMetadataRequired = customMetadataRequired; + } + + + /** + * gatewayAccountId. + * + * @return PaymentDetails + **/ public PaymentDetails gatewayAccountId(String gatewayAccountId) { this.gatewayAccountId = gatewayAccountId; return this; } - /** - * + /** + * . * @return gatewayAccountId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getGatewayAccountId() { return gatewayAccountId; } + /** + * setGatewayAccountId. + **/ public void setGatewayAccountId(String gatewayAccountId) { this.gatewayAccountId = gatewayAccountId; } + + /** + * gatewayDisplayName. + * + * @return PaymentDetails + **/ public PaymentDetails gatewayDisplayName(String gatewayDisplayName) { this.gatewayDisplayName = gatewayDisplayName; return this; } - /** - * + /** + * . * @return gatewayDisplayName - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getGatewayDisplayName() { return gatewayDisplayName; } + /** + * setGatewayDisplayName. + **/ public void setGatewayDisplayName(String gatewayDisplayName) { this.gatewayDisplayName = gatewayDisplayName; } + + /** + * gatewayName. + * + * @return PaymentDetails + **/ public PaymentDetails gatewayName(String gatewayName) { this.gatewayName = gatewayName; return this; } - /** - * + /** + * . * @return gatewayName - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getGatewayName() { return gatewayName; } + /** + * setGatewayName. + **/ public void setGatewayName(String gatewayName) { this.gatewayName = gatewayName; } + + /** + * lineItems. + * + * @return PaymentDetails + **/ public PaymentDetails lineItems(java.util.List lineItems) { this.lineItems = lineItems; return this; } - + + /** + * addLineItemsItem. + * + * @return PaymentDetails + **/ public PaymentDetails addLineItemsItem(PaymentLineItem lineItemsItem) { + if (this.lineItems == null) { + this.lineItems = new java.util.ArrayList(); + } this.lineItems.add(lineItemsItem); return this; } - /** - * + /** + * . * @return lineItems - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getLineItems() { return lineItems; } + /** + * setLineItems. + **/ public void setLineItems(java.util.List lineItems) { this.lineItems = lineItems; } + + /** + * paymentOption. + * + * @return PaymentDetails + **/ public PaymentDetails paymentOption(String paymentOption) { this.paymentOption = paymentOption; return this; } - /** - * + /** + * . * @return paymentOption - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPaymentOption() { return paymentOption; } + /** + * setPaymentOption. + **/ public void setPaymentOption(String paymentOption) { this.paymentOption = paymentOption; } + + /** + * paymentSourceId. + * + * @return PaymentDetails + **/ + public PaymentDetails paymentSourceId(String paymentSourceId) { + this.paymentSourceId = paymentSourceId; + return this; + } + + /** + * . + * @return paymentSourceId + **/ + @ApiModelProperty(value = "") + public String getPaymentSourceId() { + return paymentSourceId; + } + + /** + * setPaymentSourceId. + **/ + public void setPaymentSourceId(String paymentSourceId) { + this.paymentSourceId = paymentSourceId; + } + + + /** + * signerValues. + * + * @return PaymentDetails + **/ + public PaymentDetails signerValues(PaymentSignerValues signerValues) { + this.signerValues = signerValues; + return this; + } + + /** + * Get signerValues. + * @return signerValues + **/ + @ApiModelProperty(value = "") + public PaymentSignerValues getSignerValues() { + return signerValues; + } + + /** + * setSignerValues. + **/ + public void setSignerValues(PaymentSignerValues signerValues) { + this.signerValues = signerValues; + } + + + /** + * status. + * + * @return PaymentDetails + **/ public PaymentDetails status(String status) { this.status = status; return this; } - /** - * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. + /** + * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.. * @return status - **/ - @ApiModelProperty(example = "null", value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") + **/ + @ApiModelProperty(value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") public String getStatus() { return status; } + /** + * setStatus. + **/ public void setStatus(String status) { this.status = status; } + + /** + * total. + * + * @return PaymentDetails + **/ public PaymentDetails total(Money total) { this.total = total; return this; } - /** - * Get total + /** + * Get total. * @return total - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public Money getTotal() { return total; } + /** + * setTotal. + **/ public void setTotal(Money total) { this.total = total; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -246,21 +511,32 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.allowedPaymentMethods, paymentDetails.allowedPaymentMethods) && Objects.equals(this.chargeId, paymentDetails.chargeId) && Objects.equals(this.currencyCode, paymentDetails.currencyCode) && + Objects.equals(this.customerId, paymentDetails.customerId) && + Objects.equals(this.customMetadata, paymentDetails.customMetadata) && + Objects.equals(this.customMetadataRequired, paymentDetails.customMetadataRequired) && Objects.equals(this.gatewayAccountId, paymentDetails.gatewayAccountId) && Objects.equals(this.gatewayDisplayName, paymentDetails.gatewayDisplayName) && Objects.equals(this.gatewayName, paymentDetails.gatewayName) && Objects.equals(this.lineItems, paymentDetails.lineItems) && Objects.equals(this.paymentOption, paymentDetails.paymentOption) && + Objects.equals(this.paymentSourceId, paymentDetails.paymentSourceId) && + Objects.equals(this.signerValues, paymentDetails.signerValues) && Objects.equals(this.status, paymentDetails.status) && Objects.equals(this.total, paymentDetails.total); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { - return Objects.hash(allowedPaymentMethods, chargeId, currencyCode, gatewayAccountId, gatewayDisplayName, gatewayName, lineItems, paymentOption, status, total); + return Objects.hash(allowedPaymentMethods, chargeId, currencyCode, customerId, customMetadata, customMetadataRequired, gatewayAccountId, gatewayDisplayName, gatewayName, lineItems, paymentOption, paymentSourceId, signerValues, status, total); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -269,11 +545,16 @@ public String toString() { sb.append(" allowedPaymentMethods: ").append(toIndentedString(allowedPaymentMethods)).append("\n"); sb.append(" chargeId: ").append(toIndentedString(chargeId)).append("\n"); sb.append(" currencyCode: ").append(toIndentedString(currencyCode)).append("\n"); + sb.append(" customerId: ").append(toIndentedString(customerId)).append("\n"); + sb.append(" customMetadata: ").append(toIndentedString(customMetadata)).append("\n"); + sb.append(" customMetadataRequired: ").append(toIndentedString(customMetadataRequired)).append("\n"); sb.append(" gatewayAccountId: ").append(toIndentedString(gatewayAccountId)).append("\n"); sb.append(" gatewayDisplayName: ").append(toIndentedString(gatewayDisplayName)).append("\n"); sb.append(" gatewayName: ").append(toIndentedString(gatewayName)).append("\n"); sb.append(" lineItems: ").append(toIndentedString(lineItems)).append("\n"); sb.append(" paymentOption: ").append(toIndentedString(paymentOption)).append("\n"); + sb.append(" paymentSourceId: ").append(toIndentedString(paymentSourceId)).append("\n"); + sb.append(" signerValues: ").append(toIndentedString(signerValues)).append("\n"); sb.append(" status: ").append(toIndentedString(status)).append("\n"); sb.append(" total: ").append(toIndentedString(total)).append("\n"); sb.append("}"); @@ -290,6 +571,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/PaymentGatewayAccount.java b/src/main/java/com/docusign/esign/model/PaymentGatewayAccount.java index 4afe0777..b5f3c12e 100644 --- a/src/main/java/com/docusign/esign/model/PaymentGatewayAccount.java +++ b/src/main/java/com/docusign/esign/model/PaymentGatewayAccount.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * PaymentGatewayAccount + * PaymentGatewayAccount. + * */ public class PaymentGatewayAccount { @@ -23,79 +26,120 @@ public class PaymentGatewayAccount { @JsonProperty("paymentGatewayDisplayName") private String paymentGatewayDisplayName = null; + + /** + * displayName. + * + * @return PaymentGatewayAccount + **/ public PaymentGatewayAccount displayName(String displayName) { this.displayName = displayName; return this; } - /** - * + /** + * . * @return displayName - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getDisplayName() { return displayName; } + /** + * setDisplayName. + **/ public void setDisplayName(String displayName) { this.displayName = displayName; } + + /** + * paymentGateway. + * + * @return PaymentGatewayAccount + **/ public PaymentGatewayAccount paymentGateway(String paymentGateway) { this.paymentGateway = paymentGateway; return this; } - /** - * + /** + * . * @return paymentGateway - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPaymentGateway() { return paymentGateway; } + /** + * setPaymentGateway. + **/ public void setPaymentGateway(String paymentGateway) { this.paymentGateway = paymentGateway; } + + /** + * paymentGatewayAccountId. + * + * @return PaymentGatewayAccount + **/ public PaymentGatewayAccount paymentGatewayAccountId(String paymentGatewayAccountId) { this.paymentGatewayAccountId = paymentGatewayAccountId; return this; } - /** - * + /** + * . * @return paymentGatewayAccountId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPaymentGatewayAccountId() { return paymentGatewayAccountId; } + /** + * setPaymentGatewayAccountId. + **/ public void setPaymentGatewayAccountId(String paymentGatewayAccountId) { this.paymentGatewayAccountId = paymentGatewayAccountId; } + + /** + * paymentGatewayDisplayName. + * + * @return PaymentGatewayAccount + **/ public PaymentGatewayAccount paymentGatewayDisplayName(String paymentGatewayDisplayName) { this.paymentGatewayDisplayName = paymentGatewayDisplayName; return this; } - /** - * + /** + * . * @return paymentGatewayDisplayName - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPaymentGatewayDisplayName() { return paymentGatewayDisplayName; } + /** + * setPaymentGatewayDisplayName. + **/ public void setPaymentGatewayDisplayName(String paymentGatewayDisplayName) { this.paymentGatewayDisplayName = paymentGatewayDisplayName; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -111,12 +155,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.paymentGatewayDisplayName, paymentGatewayAccount.paymentGatewayDisplayName); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(displayName, paymentGateway, paymentGatewayAccountId, paymentGatewayDisplayName); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -140,6 +190,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/PaymentGatewayAccountSetting.java b/src/main/java/com/docusign/esign/model/PaymentGatewayAccountSetting.java new file mode 100644 index 00000000..0667b46d --- /dev/null +++ b/src/main/java/com/docusign/esign/model/PaymentGatewayAccountSetting.java @@ -0,0 +1,145 @@ +package com.docusign.esign.model; + +import java.util.Objects; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +/** + * PaymentGatewayAccountSetting + */ + +public class PaymentGatewayAccountSetting { + @JsonProperty("apiFields") + private String apiFields = null; + + @JsonProperty("authorizationCode") + private String authorizationCode = null; + + @JsonProperty("credentialStatus") + private String credentialStatus = null; + + @JsonProperty("merchantId") + private String merchantId = null; + + public PaymentGatewayAccountSetting apiFields(String apiFields) { + this.apiFields = apiFields; + return this; + } + + /** + * + * @return apiFields + **/ + @ApiModelProperty(example = "null", value = "") + public String getApiFields() { + return apiFields; + } + + public void setApiFields(String apiFields) { + this.apiFields = apiFields; + } + + public PaymentGatewayAccountSetting authorizationCode(String authorizationCode) { + this.authorizationCode = authorizationCode; + return this; + } + + /** + * + * @return authorizationCode + **/ + @ApiModelProperty(example = "null", value = "") + public String getAuthorizationCode() { + return authorizationCode; + } + + public void setAuthorizationCode(String authorizationCode) { + this.authorizationCode = authorizationCode; + } + + public PaymentGatewayAccountSetting credentialStatus(String credentialStatus) { + this.credentialStatus = credentialStatus; + return this; + } + + /** + * + * @return credentialStatus + **/ + @ApiModelProperty(example = "null", value = "") + public String getCredentialStatus() { + return credentialStatus; + } + + public void setCredentialStatus(String credentialStatus) { + this.credentialStatus = credentialStatus; + } + + public PaymentGatewayAccountSetting merchantId(String merchantId) { + this.merchantId = merchantId; + return this; + } + + /** + * + * @return merchantId + **/ + @ApiModelProperty(example = "null", value = "") + public String getMerchantId() { + return merchantId; + } + + public void setMerchantId(String merchantId) { + this.merchantId = merchantId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PaymentGatewayAccountSetting paymentGatewayAccountSetting = (PaymentGatewayAccountSetting) o; + return Objects.equals(this.apiFields, paymentGatewayAccountSetting.apiFields) && + Objects.equals(this.authorizationCode, paymentGatewayAccountSetting.authorizationCode) && + Objects.equals(this.credentialStatus, paymentGatewayAccountSetting.credentialStatus) && + Objects.equals(this.merchantId, paymentGatewayAccountSetting.merchantId); + } + + @Override + public int hashCode() { + return Objects.hash(apiFields, authorizationCode, credentialStatus, merchantId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PaymentGatewayAccountSetting {\n"); + + sb.append(" apiFields: ").append(toIndentedString(apiFields)).append("\n"); + sb.append(" authorizationCode: ").append(toIndentedString(authorizationCode)).append("\n"); + sb.append(" credentialStatus: ").append(toIndentedString(credentialStatus)).append("\n"); + sb.append(" merchantId: ").append(toIndentedString(merchantId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/com/docusign/esign/model/PaymentGatewayAccountsInfo.java b/src/main/java/com/docusign/esign/model/PaymentGatewayAccountsInfo.java index 6b311f1c..c2e411d3 100644 --- a/src/main/java/com/docusign/esign/model/PaymentGatewayAccountsInfo.java +++ b/src/main/java/com/docusign/esign/model/PaymentGatewayAccountsInfo.java @@ -1,44 +1,69 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.PaymentGatewayAccount; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * PaymentGatewayAccountsInfo + * PaymentGatewayAccountsInfo. + * */ public class PaymentGatewayAccountsInfo { @JsonProperty("paymentGatewayAccounts") - private java.util.List paymentGatewayAccounts = new java.util.ArrayList(); + private java.util.List paymentGatewayAccounts = null; + + /** + * paymentGatewayAccounts. + * + * @return PaymentGatewayAccountsInfo + **/ public PaymentGatewayAccountsInfo paymentGatewayAccounts(java.util.List paymentGatewayAccounts) { this.paymentGatewayAccounts = paymentGatewayAccounts; return this; } - + + /** + * addPaymentGatewayAccountsItem. + * + * @return PaymentGatewayAccountsInfo + **/ public PaymentGatewayAccountsInfo addPaymentGatewayAccountsItem(PaymentGatewayAccount paymentGatewayAccountsItem) { + if (this.paymentGatewayAccounts == null) { + this.paymentGatewayAccounts = new java.util.ArrayList(); + } this.paymentGatewayAccounts.add(paymentGatewayAccountsItem); return this; } - /** - * + /** + * . * @return paymentGatewayAccounts - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getPaymentGatewayAccounts() { return paymentGatewayAccounts; } + /** + * setPaymentGatewayAccounts. + **/ public void setPaymentGatewayAccounts(java.util.List paymentGatewayAccounts) { this.paymentGatewayAccounts = paymentGatewayAccounts; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -51,12 +76,18 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.paymentGatewayAccounts, paymentGatewayAccountsInfo.paymentGatewayAccounts); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(paymentGatewayAccounts); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -77,6 +108,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/PaymentLineItem.java b/src/main/java/com/docusign/esign/model/PaymentLineItem.java index e252515c..b83a716d 100644 --- a/src/main/java/com/docusign/esign/model/PaymentLineItem.java +++ b/src/main/java/com/docusign/esign/model/PaymentLineItem.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * PaymentLineItem + * PaymentLineItem. + * */ public class PaymentLineItem { @@ -23,79 +26,120 @@ public class PaymentLineItem { @JsonProperty("name") private String name = null; + + /** + * amountReference. + * + * @return PaymentLineItem + **/ public PaymentLineItem amountReference(String amountReference) { this.amountReference = amountReference; return this; } - /** - * + /** + * . * @return amountReference - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAmountReference() { return amountReference; } + /** + * setAmountReference. + **/ public void setAmountReference(String amountReference) { this.amountReference = amountReference; } + + /** + * description. + * + * @return PaymentLineItem + **/ public PaymentLineItem description(String description) { this.description = description; return this; } - /** - * + /** + * . * @return description - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getDescription() { return description; } + /** + * setDescription. + **/ public void setDescription(String description) { this.description = description; } + + /** + * itemCode. + * + * @return PaymentLineItem + **/ public PaymentLineItem itemCode(String itemCode) { this.itemCode = itemCode; return this; } - /** - * + /** + * . * @return itemCode - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getItemCode() { return itemCode; } + /** + * setItemCode. + **/ public void setItemCode(String itemCode) { this.itemCode = itemCode; } + + /** + * name. + * + * @return PaymentLineItem + **/ public PaymentLineItem name(String name) { this.name = name; return this; } - /** - * + /** + * . * @return name - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -111,12 +155,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.name, paymentLineItem.name); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(amountReference, description, itemCode, name); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -140,6 +190,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/PaymentMethodWithOptions.java b/src/main/java/com/docusign/esign/model/PaymentMethodWithOptions.java new file mode 100644 index 00000000..be5b3f17 --- /dev/null +++ b/src/main/java/com/docusign/esign/model/PaymentMethodWithOptions.java @@ -0,0 +1,104 @@ +package com.docusign.esign.model; + +import java.util.Objects; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +/** + * PaymentMethodWithOptions + */ + +public class PaymentMethodWithOptions { + @JsonProperty("supportedOptions") + private java.util.List supportedOptions = new java.util.ArrayList(); + + @JsonProperty("type") + private String type = null; + + public PaymentMethodWithOptions supportedOptions(java.util.List supportedOptions) { + this.supportedOptions = supportedOptions; + return this; + } + + public PaymentMethodWithOptions addSupportedOptionsItem(String supportedOptionsItem) { + this.supportedOptions.add(supportedOptionsItem); + return this; + } + + /** + * + * @return supportedOptions + **/ + @ApiModelProperty(example = "null", value = "") + public java.util.List getSupportedOptions() { + return supportedOptions; + } + + public void setSupportedOptions(java.util.List supportedOptions) { + this.supportedOptions = supportedOptions; + } + + public PaymentMethodWithOptions type(String type) { + this.type = type; + return this; + } + + /** + * + * @return type + **/ + @ApiModelProperty(example = "null", value = "") + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PaymentMethodWithOptions paymentMethodWithOptions = (PaymentMethodWithOptions) o; + return Objects.equals(this.supportedOptions, paymentMethodWithOptions.supportedOptions) && + Objects.equals(this.type, paymentMethodWithOptions.type); + } + + @Override + public int hashCode() { + return Objects.hash(supportedOptions, type); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PaymentMethodWithOptions {\n"); + + sb.append(" supportedOptions: ").append(toIndentedString(supportedOptions)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/com/docusign/esign/model/PaymentProcessorInformation.java b/src/main/java/com/docusign/esign/model/PaymentProcessorInformation.java index f4dd2a8b..bd10ef1c 100644 --- a/src/main/java/com/docusign/esign/model/PaymentProcessorInformation.java +++ b/src/main/java/com/docusign/esign/model/PaymentProcessorInformation.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.AddressInformation; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * PaymentProcessorInformation + * PaymentProcessorInformation. + * */ public class PaymentProcessorInformation { @@ -21,61 +24,93 @@ public class PaymentProcessorInformation { @JsonProperty("email") private String email = null; + + /** + * address. + * + * @return PaymentProcessorInformation + **/ public PaymentProcessorInformation address(AddressInformation address) { this.address = address; return this; } - /** - * Get address + /** + * Get address. * @return address - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public AddressInformation getAddress() { return address; } + /** + * setAddress. + **/ public void setAddress(AddressInformation address) { this.address = address; } + + /** + * billingAgreementId. + * + * @return PaymentProcessorInformation + **/ public PaymentProcessorInformation billingAgreementId(String billingAgreementId) { this.billingAgreementId = billingAgreementId; return this; } - /** - * + /** + * . * @return billingAgreementId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getBillingAgreementId() { return billingAgreementId; } + /** + * setBillingAgreementId. + **/ public void setBillingAgreementId(String billingAgreementId) { this.billingAgreementId = billingAgreementId; } + + /** + * email. + * + * @return PaymentProcessorInformation + **/ public PaymentProcessorInformation email(String email) { this.email = email; return this; } - /** - * + /** + * . * @return email - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getEmail() { return email; } + /** + * setEmail. + **/ public void setEmail(String email) { this.email = email; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -90,12 +125,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.email, paymentProcessorInformation.email); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(address, billingAgreementId, email); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -118,6 +159,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/PaymentSignerValues.java b/src/main/java/com/docusign/esign/model/PaymentSignerValues.java new file mode 100644 index 00000000..32433f0e --- /dev/null +++ b/src/main/java/com/docusign/esign/model/PaymentSignerValues.java @@ -0,0 +1,99 @@ +package com.docusign.esign.model; + +import java.util.Objects; +import java.util.Arrays; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +/** + * PaymentSignerValues. + * + */ + +public class PaymentSignerValues { + @JsonProperty("paymentOption") + private String paymentOption = null; + + + /** + * paymentOption. + * + * @return PaymentSignerValues + **/ + public PaymentSignerValues paymentOption(String paymentOption) { + this.paymentOption = paymentOption; + return this; + } + + /** + * . + * @return paymentOption + **/ + @ApiModelProperty(value = "") + public String getPaymentOption() { + return paymentOption; + } + + /** + * setPaymentOption. + **/ + public void setPaymentOption(String paymentOption) { + this.paymentOption = paymentOption; + } + + + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PaymentSignerValues paymentSignerValues = (PaymentSignerValues) o; + return Objects.equals(this.paymentOption, paymentSignerValues.paymentOption); + } + + /** + * Returns the HashCode. + */ + @Override + public int hashCode() { + return Objects.hash(paymentOption); + } + + + /** + * Converts the given object to string. + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PaymentSignerValues {\n"); + + sb.append(" paymentOption: ").append(toIndentedString(paymentOption)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/com/docusign/esign/model/PermissionProfile.java b/src/main/java/com/docusign/esign/model/PermissionProfile.java index 4e12f565..aab5168d 100644 --- a/src/main/java/com/docusign/esign/model/PermissionProfile.java +++ b/src/main/java/com/docusign/esign/model/PermissionProfile.java @@ -1,15 +1,18 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.AccountRoleSettings; import com.docusign.esign.model.UserInformation; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * PermissionProfile + * PermissionProfile. + * */ public class PermissionProfile { @@ -32,140 +35,216 @@ public class PermissionProfile { private String userCount = null; @JsonProperty("users") - private java.util.List users = new java.util.ArrayList(); + private java.util.List users = null; + + /** + * modifiedByUsername. + * + * @return PermissionProfile + **/ public PermissionProfile modifiedByUsername(String modifiedByUsername) { this.modifiedByUsername = modifiedByUsername; return this; } - /** - * + /** + * . * @return modifiedByUsername - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getModifiedByUsername() { return modifiedByUsername; } + /** + * setModifiedByUsername. + **/ public void setModifiedByUsername(String modifiedByUsername) { this.modifiedByUsername = modifiedByUsername; } + + /** + * modifiedDateTime. + * + * @return PermissionProfile + **/ public PermissionProfile modifiedDateTime(String modifiedDateTime) { this.modifiedDateTime = modifiedDateTime; return this; } - /** - * + /** + * . * @return modifiedDateTime - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getModifiedDateTime() { return modifiedDateTime; } + /** + * setModifiedDateTime. + **/ public void setModifiedDateTime(String modifiedDateTime) { this.modifiedDateTime = modifiedDateTime; } + + /** + * permissionProfileId. + * + * @return PermissionProfile + **/ public PermissionProfile permissionProfileId(String permissionProfileId) { this.permissionProfileId = permissionProfileId; return this; } - /** - * + /** + * . * @return permissionProfileId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPermissionProfileId() { return permissionProfileId; } + /** + * setPermissionProfileId. + **/ public void setPermissionProfileId(String permissionProfileId) { this.permissionProfileId = permissionProfileId; } + + /** + * permissionProfileName. + * + * @return PermissionProfile + **/ public PermissionProfile permissionProfileName(String permissionProfileName) { this.permissionProfileName = permissionProfileName; return this; } - /** - * + /** + * . * @return permissionProfileName - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPermissionProfileName() { return permissionProfileName; } + /** + * setPermissionProfileName. + **/ public void setPermissionProfileName(String permissionProfileName) { this.permissionProfileName = permissionProfileName; } + + /** + * settings. + * + * @return PermissionProfile + **/ public PermissionProfile settings(AccountRoleSettings settings) { this.settings = settings; return this; } - /** - * Get settings + /** + * Get settings. * @return settings - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public AccountRoleSettings getSettings() { return settings; } + /** + * setSettings. + **/ public void setSettings(AccountRoleSettings settings) { this.settings = settings; } + + /** + * userCount. + * + * @return PermissionProfile + **/ public PermissionProfile userCount(String userCount) { this.userCount = userCount; return this; } - /** - * + /** + * . * @return userCount - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getUserCount() { return userCount; } + /** + * setUserCount. + **/ public void setUserCount(String userCount) { this.userCount = userCount; } + + /** + * users. + * + * @return PermissionProfile + **/ public PermissionProfile users(java.util.List users) { this.users = users; return this; } - + + /** + * addUsersItem. + * + * @return PermissionProfile + **/ public PermissionProfile addUsersItem(UserInformation usersItem) { + if (this.users == null) { + this.users = new java.util.ArrayList(); + } this.users.add(usersItem); return this; } - /** - * + /** + * . * @return users - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getUsers() { return users; } + /** + * setUsers. + **/ public void setUsers(java.util.List users) { this.users = users; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -184,12 +263,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.users, permissionProfile.users); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(modifiedByUsername, modifiedDateTime, permissionProfileId, permissionProfileName, settings, userCount, users); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -216,6 +301,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/PermissionProfileInformation.java b/src/main/java/com/docusign/esign/model/PermissionProfileInformation.java index 27ff7940..8ca3357a 100644 --- a/src/main/java/com/docusign/esign/model/PermissionProfileInformation.java +++ b/src/main/java/com/docusign/esign/model/PermissionProfileInformation.java @@ -1,44 +1,69 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.PermissionProfile; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * PermissionProfileInformation + * PermissionProfileInformation. + * */ public class PermissionProfileInformation { @JsonProperty("permissionProfiles") - private java.util.List permissionProfiles = new java.util.ArrayList(); + private java.util.List permissionProfiles = null; + + /** + * permissionProfiles. + * + * @return PermissionProfileInformation + **/ public PermissionProfileInformation permissionProfiles(java.util.List permissionProfiles) { this.permissionProfiles = permissionProfiles; return this; } - + + /** + * addPermissionProfilesItem. + * + * @return PermissionProfileInformation + **/ public PermissionProfileInformation addPermissionProfilesItem(PermissionProfile permissionProfilesItem) { + if (this.permissionProfiles == null) { + this.permissionProfiles = new java.util.ArrayList(); + } this.permissionProfiles.add(permissionProfilesItem); return this; } - /** - * A complex type containing a collection of permission profiles. + /** + * A complex type containing a collection of permission profiles.. * @return permissionProfiles - **/ - @ApiModelProperty(example = "null", value = "A complex type containing a collection of permission profiles.") + **/ + @ApiModelProperty(value = "A complex type containing a collection of permission profiles.") public java.util.List getPermissionProfiles() { return permissionProfiles; } + /** + * setPermissionProfiles. + **/ public void setPermissionProfiles(java.util.List permissionProfiles) { this.permissionProfiles = permissionProfiles; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -51,12 +76,18 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.permissionProfiles, permissionProfileInformation.permissionProfiles); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(permissionProfiles); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -77,6 +108,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/PlanInformation.java b/src/main/java/com/docusign/esign/model/PlanInformation.java index 11bad2ef..854a9594 100644 --- a/src/main/java/com/docusign/esign/model/PlanInformation.java +++ b/src/main/java/com/docusign/esign/model/PlanInformation.java @@ -1,22 +1,25 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.AddOn; import com.docusign.esign.model.FeatureSet; import com.docusign.esign.model.RecipientDomain; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * An object used to identify the features and attributes of the account being created. + * An object used to identify the features and attributes of the account being created.. + * */ @ApiModel(description = "An object used to identify the features and attributes of the account being created.") public class PlanInformation { @JsonProperty("addOns") - private java.util.List addOns = new java.util.ArrayList(); + private java.util.List addOns = null; @JsonProperty("currencyCode") private String currencyCode = null; @@ -25,138 +28,221 @@ public class PlanInformation { private String freeTrialDaysOverride = null; @JsonProperty("planFeatureSets") - private java.util.List planFeatureSets = new java.util.ArrayList(); + private java.util.List planFeatureSets = null; @JsonProperty("planId") private String planId = null; @JsonProperty("recipientDomains") - private java.util.List recipientDomains = new java.util.ArrayList(); + private java.util.List recipientDomains = null; + + /** + * addOns. + * + * @return PlanInformation + **/ public PlanInformation addOns(java.util.List addOns) { this.addOns = addOns; return this; } - + + /** + * addAddOnsItem. + * + * @return PlanInformation + **/ public PlanInformation addAddOnsItem(AddOn addOnsItem) { + if (this.addOns == null) { + this.addOns = new java.util.ArrayList(); + } this.addOns.add(addOnsItem); return this; } - /** - * Reserved: + /** + * Reserved:. * @return addOns - **/ - @ApiModelProperty(example = "null", value = "Reserved:") + **/ + @ApiModelProperty(value = "Reserved:") public java.util.List getAddOns() { return addOns; } + /** + * setAddOns. + **/ public void setAddOns(java.util.List addOns) { this.addOns = addOns; } + + /** + * currencyCode. + * + * @return PlanInformation + **/ public PlanInformation currencyCode(String currencyCode) { this.currencyCode = currencyCode; return this; } - /** - * Specifies the ISO currency code for the account. + /** + * Specifies the ISO currency code for the account.. * @return currencyCode - **/ - @ApiModelProperty(example = "null", value = "Specifies the ISO currency code for the account.") + **/ + @ApiModelProperty(value = "Specifies the ISO currency code for the account.") public String getCurrencyCode() { return currencyCode; } + /** + * setCurrencyCode. + **/ public void setCurrencyCode(String currencyCode) { this.currencyCode = currencyCode; } + + /** + * freeTrialDaysOverride. + * + * @return PlanInformation + **/ public PlanInformation freeTrialDaysOverride(String freeTrialDaysOverride) { this.freeTrialDaysOverride = freeTrialDaysOverride; return this; } - /** - * Reserved for DocuSign use only. + /** + * Reserved for DocuSign use only.. * @return freeTrialDaysOverride - **/ - @ApiModelProperty(example = "null", value = "Reserved for DocuSign use only.") + **/ + @ApiModelProperty(value = "Reserved for DocuSign use only.") public String getFreeTrialDaysOverride() { return freeTrialDaysOverride; } + /** + * setFreeTrialDaysOverride. + **/ public void setFreeTrialDaysOverride(String freeTrialDaysOverride) { this.freeTrialDaysOverride = freeTrialDaysOverride; } + + /** + * planFeatureSets. + * + * @return PlanInformation + **/ public PlanInformation planFeatureSets(java.util.List planFeatureSets) { this.planFeatureSets = planFeatureSets; return this; } - + + /** + * addPlanFeatureSetsItem. + * + * @return PlanInformation + **/ public PlanInformation addPlanFeatureSetsItem(FeatureSet planFeatureSetsItem) { + if (this.planFeatureSets == null) { + this.planFeatureSets = new java.util.ArrayList(); + } this.planFeatureSets.add(planFeatureSetsItem); return this; } - /** - * A complex type that sets the feature sets for the account. + /** + * A complex type that sets the feature sets for the account.. * @return planFeatureSets - **/ - @ApiModelProperty(example = "null", value = "A complex type that sets the feature sets for the account.") + **/ + @ApiModelProperty(value = "A complex type that sets the feature sets for the account.") public java.util.List getPlanFeatureSets() { return planFeatureSets; } + /** + * setPlanFeatureSets. + **/ public void setPlanFeatureSets(java.util.List planFeatureSets) { this.planFeatureSets = planFeatureSets; } + + /** + * planId. + * + * @return PlanInformation + **/ public PlanInformation planId(String planId) { this.planId = planId; return this; } - /** - * The DocuSign Plan ID for the account. + /** + * The DocuSign Plan ID for the account.. * @return planId - **/ - @ApiModelProperty(example = "null", value = "The DocuSign Plan ID for the account.") + **/ + @ApiModelProperty(value = "The DocuSign Plan ID for the account.") public String getPlanId() { return planId; } + /** + * setPlanId. + **/ public void setPlanId(String planId) { this.planId = planId; } + + /** + * recipientDomains. + * + * @return PlanInformation + **/ public PlanInformation recipientDomains(java.util.List recipientDomains) { this.recipientDomains = recipientDomains; return this; } - + + /** + * addRecipientDomainsItem. + * + * @return PlanInformation + **/ public PlanInformation addRecipientDomainsItem(RecipientDomain recipientDomainsItem) { + if (this.recipientDomains == null) { + this.recipientDomains = new java.util.ArrayList(); + } this.recipientDomains.add(recipientDomainsItem); return this; } - /** - * + /** + * . * @return recipientDomains - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getRecipientDomains() { return recipientDomains; } + /** + * setRecipientDomains. + **/ public void setRecipientDomains(java.util.List recipientDomains) { this.recipientDomains = recipientDomains; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -174,12 +260,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.recipientDomains, planInformation.recipientDomains); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(addOns, currencyCode, freeTrialDaysOverride, planFeatureSets, planId, recipientDomains); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -205,6 +297,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/PolyLine.java b/src/main/java/com/docusign/esign/model/PolyLine.java new file mode 100644 index 00000000..183e625a --- /dev/null +++ b/src/main/java/com/docusign/esign/model/PolyLine.java @@ -0,0 +1,145 @@ +package com.docusign.esign.model; + +import java.util.Objects; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +/** + * PolyLine + */ + +public class PolyLine { + @JsonProperty("x1") + private String x1 = null; + + @JsonProperty("x2") + private String x2 = null; + + @JsonProperty("y1") + private String y1 = null; + + @JsonProperty("y2") + private String y2 = null; + + public PolyLine x1(String x1) { + this.x1 = x1; + return this; + } + + /** + * + * @return x1 + **/ + @ApiModelProperty(example = "null", value = "") + public String getX1() { + return x1; + } + + public void setX1(String x1) { + this.x1 = x1; + } + + public PolyLine x2(String x2) { + this.x2 = x2; + return this; + } + + /** + * + * @return x2 + **/ + @ApiModelProperty(example = "null", value = "") + public String getX2() { + return x2; + } + + public void setX2(String x2) { + this.x2 = x2; + } + + public PolyLine y1(String y1) { + this.y1 = y1; + return this; + } + + /** + * + * @return y1 + **/ + @ApiModelProperty(example = "null", value = "") + public String getY1() { + return y1; + } + + public void setY1(String y1) { + this.y1 = y1; + } + + public PolyLine y2(String y2) { + this.y2 = y2; + return this; + } + + /** + * + * @return y2 + **/ + @ApiModelProperty(example = "null", value = "") + public String getY2() { + return y2; + } + + public void setY2(String y2) { + this.y2 = y2; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PolyLine polyLine = (PolyLine) o; + return Objects.equals(this.x1, polyLine.x1) && + Objects.equals(this.x2, polyLine.x2) && + Objects.equals(this.y1, polyLine.y1) && + Objects.equals(this.y2, polyLine.y2); + } + + @Override + public int hashCode() { + return Objects.hash(x1, x2, y1, y2); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PolyLine {\n"); + + sb.append(" x1: ").append(toIndentedString(x1)).append("\n"); + sb.append(" x2: ").append(toIndentedString(x2)).append("\n"); + sb.append(" y1: ").append(toIndentedString(y1)).append("\n"); + sb.append(" y2: ").append(toIndentedString(y2)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/com/docusign/esign/model/PolyLineOverlay.java b/src/main/java/com/docusign/esign/model/PolyLineOverlay.java new file mode 100644 index 00000000..0ffc8e70 --- /dev/null +++ b/src/main/java/com/docusign/esign/model/PolyLineOverlay.java @@ -0,0 +1,1770 @@ +package com.docusign.esign.model; + +import java.util.Objects; +import com.docusign.esign.model.ErrorDetails; +import com.docusign.esign.model.GraphicsContext; +import com.docusign.esign.model.MergeField; +import com.docusign.esign.model.PolyLine; +import com.docusign.esign.model.PropertyMetadata; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +/** + * PolyLineOverlay + */ + +public class PolyLineOverlay { + @JsonProperty("anchorCaseSensitive") + private String anchorCaseSensitive = null; + + @JsonProperty("anchorCaseSensitiveMetadata") + private PropertyMetadata anchorCaseSensitiveMetadata = null; + + @JsonProperty("anchorHorizontalAlignment") + private String anchorHorizontalAlignment = null; + + @JsonProperty("anchorHorizontalAlignmentMetadata") + private PropertyMetadata anchorHorizontalAlignmentMetadata = null; + + @JsonProperty("anchorIgnoreIfNotPresent") + private String anchorIgnoreIfNotPresent = null; + + @JsonProperty("anchorIgnoreIfNotPresentMetadata") + private PropertyMetadata anchorIgnoreIfNotPresentMetadata = null; + + @JsonProperty("anchorMatchWholeWord") + private String anchorMatchWholeWord = null; + + @JsonProperty("anchorMatchWholeWordMetadata") + private PropertyMetadata anchorMatchWholeWordMetadata = null; + + @JsonProperty("anchorString") + private String anchorString = null; + + @JsonProperty("anchorStringMetadata") + private PropertyMetadata anchorStringMetadata = null; + + @JsonProperty("anchorTabProcessorVersion") + private String anchorTabProcessorVersion = null; + + @JsonProperty("anchorTabProcessorVersionMetadata") + private PropertyMetadata anchorTabProcessorVersionMetadata = null; + + @JsonProperty("anchorUnits") + private String anchorUnits = null; + + @JsonProperty("anchorUnitsMetadata") + private PropertyMetadata anchorUnitsMetadata = null; + + @JsonProperty("anchorXOffset") + private String anchorXOffset = null; + + @JsonProperty("anchorXOffsetMetadata") + private PropertyMetadata anchorXOffsetMetadata = null; + + @JsonProperty("anchorYOffset") + private String anchorYOffset = null; + + @JsonProperty("anchorYOffsetMetadata") + private PropertyMetadata anchorYOffsetMetadata = null; + + @JsonProperty("conditionalParentLabel") + private String conditionalParentLabel = null; + + @JsonProperty("conditionalParentLabelMetadata") + private PropertyMetadata conditionalParentLabelMetadata = null; + + @JsonProperty("conditionalParentValue") + private String conditionalParentValue = null; + + @JsonProperty("conditionalParentValueMetadata") + private PropertyMetadata conditionalParentValueMetadata = null; + + @JsonProperty("customTabId") + private String customTabId = null; + + @JsonProperty("customTabIdMetadata") + private PropertyMetadata customTabIdMetadata = null; + + @JsonProperty("documentId") + private String documentId = null; + + @JsonProperty("documentIdMetadata") + private PropertyMetadata documentIdMetadata = null; + + @JsonProperty("errorDetails") + private ErrorDetails errorDetails = null; + + @JsonProperty("formOrder") + private String formOrder = null; + + @JsonProperty("formOrderMetadata") + private PropertyMetadata formOrderMetadata = null; + + @JsonProperty("formPageLabel") + private String formPageLabel = null; + + @JsonProperty("formPageLabelMetadata") + private PropertyMetadata formPageLabelMetadata = null; + + @JsonProperty("formPageNumber") + private String formPageNumber = null; + + @JsonProperty("formPageNumberMetadata") + private PropertyMetadata formPageNumberMetadata = null; + + @JsonProperty("graphicsContext") + private GraphicsContext graphicsContext = null; + + @JsonProperty("height") + private String height = null; + + @JsonProperty("heightMetadata") + private PropertyMetadata heightMetadata = null; + + @JsonProperty("locked") + private String locked = null; + + @JsonProperty("lockedMetadata") + private PropertyMetadata lockedMetadata = null; + + @JsonProperty("mergeField") + private MergeField mergeField = null; + + @JsonProperty("mergeFieldXml") + private String mergeFieldXml = null; + + @JsonProperty("overlayType") + private String overlayType = null; + + @JsonProperty("overlayTypeMetadata") + private PropertyMetadata overlayTypeMetadata = null; + + @JsonProperty("pageNumber") + private String pageNumber = null; + + @JsonProperty("pageNumberMetadata") + private PropertyMetadata pageNumberMetadata = null; + + @JsonProperty("polyLines") + private java.util.List polyLines = new java.util.ArrayList(); + + @JsonProperty("recipientId") + private String recipientId = null; + + @JsonProperty("recipientIdGuid") + private String recipientIdGuid = null; + + @JsonProperty("recipientIdGuidMetadata") + private PropertyMetadata recipientIdGuidMetadata = null; + + @JsonProperty("recipientIdMetadata") + private PropertyMetadata recipientIdMetadata = null; + + @JsonProperty("shared") + private String shared = null; + + @JsonProperty("sharedMetadata") + private PropertyMetadata sharedMetadata = null; + + @JsonProperty("status") + private String status = null; + + @JsonProperty("statusMetadata") + private PropertyMetadata statusMetadata = null; + + @JsonProperty("tabGroupLabels") + private java.util.List tabGroupLabels = new java.util.ArrayList(); + + @JsonProperty("tabGroupLabelsMetadata") + private PropertyMetadata tabGroupLabelsMetadata = null; + + @JsonProperty("tabId") + private String tabId = null; + + @JsonProperty("tabIdMetadata") + private PropertyMetadata tabIdMetadata = null; + + @JsonProperty("tabLabel") + private String tabLabel = null; + + @JsonProperty("tabOrder") + private String tabOrder = null; + + @JsonProperty("tabOrderMetadata") + private PropertyMetadata tabOrderMetadata = null; + + @JsonProperty("tabType") + private String tabType = null; + + @JsonProperty("tabTypeMetadata") + private PropertyMetadata tabTypeMetadata = null; + + @JsonProperty("templateLocked") + private String templateLocked = null; + + @JsonProperty("templateLockedMetadata") + private PropertyMetadata templateLockedMetadata = null; + + @JsonProperty("templateRequired") + private String templateRequired = null; + + @JsonProperty("templateRequiredMetadata") + private PropertyMetadata templateRequiredMetadata = null; + + @JsonProperty("tooltip") + private String tooltip = null; + + @JsonProperty("toolTipMetadata") + private PropertyMetadata toolTipMetadata = null; + + @JsonProperty("width") + private String width = null; + + @JsonProperty("widthMetadata") + private PropertyMetadata widthMetadata = null; + + @JsonProperty("xPosition") + private String xPosition = null; + + @JsonProperty("xPositionMetadata") + private PropertyMetadata xPositionMetadata = null; + + @JsonProperty("yPosition") + private String yPosition = null; + + @JsonProperty("yPositionMetadata") + private PropertyMetadata yPositionMetadata = null; + + public PolyLineOverlay anchorCaseSensitive(String anchorCaseSensitive) { + this.anchorCaseSensitive = anchorCaseSensitive; + return this; + } + + /** + * When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**. + * @return anchorCaseSensitive + **/ + @ApiModelProperty(example = "null", value = "When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.") + public String getAnchorCaseSensitive() { + return anchorCaseSensitive; + } + + public void setAnchorCaseSensitive(String anchorCaseSensitive) { + this.anchorCaseSensitive = anchorCaseSensitive; + } + + public PolyLineOverlay anchorCaseSensitiveMetadata(PropertyMetadata anchorCaseSensitiveMetadata) { + this.anchorCaseSensitiveMetadata = anchorCaseSensitiveMetadata; + return this; + } + + /** + * Get anchorCaseSensitiveMetadata + * @return anchorCaseSensitiveMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getAnchorCaseSensitiveMetadata() { + return anchorCaseSensitiveMetadata; + } + + public void setAnchorCaseSensitiveMetadata(PropertyMetadata anchorCaseSensitiveMetadata) { + this.anchorCaseSensitiveMetadata = anchorCaseSensitiveMetadata; + } + + public PolyLineOverlay anchorHorizontalAlignment(String anchorHorizontalAlignment) { + this.anchorHorizontalAlignment = anchorHorizontalAlignment; + return this; + } + + /** + * Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**. + * @return anchorHorizontalAlignment + **/ + @ApiModelProperty(example = "null", value = "Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.") + public String getAnchorHorizontalAlignment() { + return anchorHorizontalAlignment; + } + + public void setAnchorHorizontalAlignment(String anchorHorizontalAlignment) { + this.anchorHorizontalAlignment = anchorHorizontalAlignment; + } + + public PolyLineOverlay anchorHorizontalAlignmentMetadata(PropertyMetadata anchorHorizontalAlignmentMetadata) { + this.anchorHorizontalAlignmentMetadata = anchorHorizontalAlignmentMetadata; + return this; + } + + /** + * Get anchorHorizontalAlignmentMetadata + * @return anchorHorizontalAlignmentMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getAnchorHorizontalAlignmentMetadata() { + return anchorHorizontalAlignmentMetadata; + } + + public void setAnchorHorizontalAlignmentMetadata(PropertyMetadata anchorHorizontalAlignmentMetadata) { + this.anchorHorizontalAlignmentMetadata = anchorHorizontalAlignmentMetadata; + } + + public PolyLineOverlay anchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { + this.anchorIgnoreIfNotPresent = anchorIgnoreIfNotPresent; + return this; + } + + /** + * When set to **true**, this tab is ignored if anchorString is not found in the document. + * @return anchorIgnoreIfNotPresent + **/ + @ApiModelProperty(example = "null", value = "When set to **true**, this tab is ignored if anchorString is not found in the document.") + public String getAnchorIgnoreIfNotPresent() { + return anchorIgnoreIfNotPresent; + } + + public void setAnchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { + this.anchorIgnoreIfNotPresent = anchorIgnoreIfNotPresent; + } + + public PolyLineOverlay anchorIgnoreIfNotPresentMetadata(PropertyMetadata anchorIgnoreIfNotPresentMetadata) { + this.anchorIgnoreIfNotPresentMetadata = anchorIgnoreIfNotPresentMetadata; + return this; + } + + /** + * Get anchorIgnoreIfNotPresentMetadata + * @return anchorIgnoreIfNotPresentMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getAnchorIgnoreIfNotPresentMetadata() { + return anchorIgnoreIfNotPresentMetadata; + } + + public void setAnchorIgnoreIfNotPresentMetadata(PropertyMetadata anchorIgnoreIfNotPresentMetadata) { + this.anchorIgnoreIfNotPresentMetadata = anchorIgnoreIfNotPresentMetadata; + } + + public PolyLineOverlay anchorMatchWholeWord(String anchorMatchWholeWord) { + this.anchorMatchWholeWord = anchorMatchWholeWord; + return this; + } + + /** + * When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**. + * @return anchorMatchWholeWord + **/ + @ApiModelProperty(example = "null", value = "When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.") + public String getAnchorMatchWholeWord() { + return anchorMatchWholeWord; + } + + public void setAnchorMatchWholeWord(String anchorMatchWholeWord) { + this.anchorMatchWholeWord = anchorMatchWholeWord; + } + + public PolyLineOverlay anchorMatchWholeWordMetadata(PropertyMetadata anchorMatchWholeWordMetadata) { + this.anchorMatchWholeWordMetadata = anchorMatchWholeWordMetadata; + return this; + } + + /** + * Get anchorMatchWholeWordMetadata + * @return anchorMatchWholeWordMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getAnchorMatchWholeWordMetadata() { + return anchorMatchWholeWordMetadata; + } + + public void setAnchorMatchWholeWordMetadata(PropertyMetadata anchorMatchWholeWordMetadata) { + this.anchorMatchWholeWordMetadata = anchorMatchWholeWordMetadata; + } + + public PolyLineOverlay anchorString(String anchorString) { + this.anchorString = anchorString; + return this; + } + + /** + * Anchor text information for a radio button. + * @return anchorString + **/ + @ApiModelProperty(example = "null", value = "Anchor text information for a radio button.") + public String getAnchorString() { + return anchorString; + } + + public void setAnchorString(String anchorString) { + this.anchorString = anchorString; + } + + public PolyLineOverlay anchorStringMetadata(PropertyMetadata anchorStringMetadata) { + this.anchorStringMetadata = anchorStringMetadata; + return this; + } + + /** + * Get anchorStringMetadata + * @return anchorStringMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getAnchorStringMetadata() { + return anchorStringMetadata; + } + + public void setAnchorStringMetadata(PropertyMetadata anchorStringMetadata) { + this.anchorStringMetadata = anchorStringMetadata; + } + + public PolyLineOverlay anchorTabProcessorVersion(String anchorTabProcessorVersion) { + this.anchorTabProcessorVersion = anchorTabProcessorVersion; + return this; + } + + /** + * + * @return anchorTabProcessorVersion + **/ + @ApiModelProperty(example = "null", value = "") + public String getAnchorTabProcessorVersion() { + return anchorTabProcessorVersion; + } + + public void setAnchorTabProcessorVersion(String anchorTabProcessorVersion) { + this.anchorTabProcessorVersion = anchorTabProcessorVersion; + } + + public PolyLineOverlay anchorTabProcessorVersionMetadata(PropertyMetadata anchorTabProcessorVersionMetadata) { + this.anchorTabProcessorVersionMetadata = anchorTabProcessorVersionMetadata; + return this; + } + + /** + * Get anchorTabProcessorVersionMetadata + * @return anchorTabProcessorVersionMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getAnchorTabProcessorVersionMetadata() { + return anchorTabProcessorVersionMetadata; + } + + public void setAnchorTabProcessorVersionMetadata(PropertyMetadata anchorTabProcessorVersionMetadata) { + this.anchorTabProcessorVersionMetadata = anchorTabProcessorVersionMetadata; + } + + public PolyLineOverlay anchorUnits(String anchorUnits) { + this.anchorUnits = anchorUnits; + return this; + } + + /** + * Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. + * @return anchorUnits + **/ + @ApiModelProperty(example = "null", value = "Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.") + public String getAnchorUnits() { + return anchorUnits; + } + + public void setAnchorUnits(String anchorUnits) { + this.anchorUnits = anchorUnits; + } + + public PolyLineOverlay anchorUnitsMetadata(PropertyMetadata anchorUnitsMetadata) { + this.anchorUnitsMetadata = anchorUnitsMetadata; + return this; + } + + /** + * Get anchorUnitsMetadata + * @return anchorUnitsMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getAnchorUnitsMetadata() { + return anchorUnitsMetadata; + } + + public void setAnchorUnitsMetadata(PropertyMetadata anchorUnitsMetadata) { + this.anchorUnitsMetadata = anchorUnitsMetadata; + } + + public PolyLineOverlay anchorXOffset(String anchorXOffset) { + this.anchorXOffset = anchorXOffset; + return this; + } + + /** + * Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString. + * @return anchorXOffset + **/ + @ApiModelProperty(example = "null", value = "Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.") + public String getAnchorXOffset() { + return anchorXOffset; + } + + public void setAnchorXOffset(String anchorXOffset) { + this.anchorXOffset = anchorXOffset; + } + + public PolyLineOverlay anchorXOffsetMetadata(PropertyMetadata anchorXOffsetMetadata) { + this.anchorXOffsetMetadata = anchorXOffsetMetadata; + return this; + } + + /** + * Get anchorXOffsetMetadata + * @return anchorXOffsetMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getAnchorXOffsetMetadata() { + return anchorXOffsetMetadata; + } + + public void setAnchorXOffsetMetadata(PropertyMetadata anchorXOffsetMetadata) { + this.anchorXOffsetMetadata = anchorXOffsetMetadata; + } + + public PolyLineOverlay anchorYOffset(String anchorYOffset) { + this.anchorYOffset = anchorYOffset; + return this; + } + + /** + * Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString. + * @return anchorYOffset + **/ + @ApiModelProperty(example = "null", value = "Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.") + public String getAnchorYOffset() { + return anchorYOffset; + } + + public void setAnchorYOffset(String anchorYOffset) { + this.anchorYOffset = anchorYOffset; + } + + public PolyLineOverlay anchorYOffsetMetadata(PropertyMetadata anchorYOffsetMetadata) { + this.anchorYOffsetMetadata = anchorYOffsetMetadata; + return this; + } + + /** + * Get anchorYOffsetMetadata + * @return anchorYOffsetMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getAnchorYOffsetMetadata() { + return anchorYOffsetMetadata; + } + + public void setAnchorYOffsetMetadata(PropertyMetadata anchorYOffsetMetadata) { + this.anchorYOffsetMetadata = anchorYOffsetMetadata; + } + + public PolyLineOverlay conditionalParentLabel(String conditionalParentLabel) { + this.conditionalParentLabel = conditionalParentLabel; + return this; + } + + /** + * For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility. + * @return conditionalParentLabel + **/ + @ApiModelProperty(example = "null", value = "For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.") + public String getConditionalParentLabel() { + return conditionalParentLabel; + } + + public void setConditionalParentLabel(String conditionalParentLabel) { + this.conditionalParentLabel = conditionalParentLabel; + } + + public PolyLineOverlay conditionalParentLabelMetadata(PropertyMetadata conditionalParentLabelMetadata) { + this.conditionalParentLabelMetadata = conditionalParentLabelMetadata; + return this; + } + + /** + * Get conditionalParentLabelMetadata + * @return conditionalParentLabelMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getConditionalParentLabelMetadata() { + return conditionalParentLabelMetadata; + } + + public void setConditionalParentLabelMetadata(PropertyMetadata conditionalParentLabelMetadata) { + this.conditionalParentLabelMetadata = conditionalParentLabelMetadata; + } + + public PolyLineOverlay conditionalParentValue(String conditionalParentValue) { + this.conditionalParentValue = conditionalParentValue; + return this; + } + + /** + * For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. + * @return conditionalParentValue + **/ + @ApiModelProperty(example = "null", value = "For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. ") + public String getConditionalParentValue() { + return conditionalParentValue; + } + + public void setConditionalParentValue(String conditionalParentValue) { + this.conditionalParentValue = conditionalParentValue; + } + + public PolyLineOverlay conditionalParentValueMetadata(PropertyMetadata conditionalParentValueMetadata) { + this.conditionalParentValueMetadata = conditionalParentValueMetadata; + return this; + } + + /** + * Get conditionalParentValueMetadata + * @return conditionalParentValueMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getConditionalParentValueMetadata() { + return conditionalParentValueMetadata; + } + + public void setConditionalParentValueMetadata(PropertyMetadata conditionalParentValueMetadata) { + this.conditionalParentValueMetadata = conditionalParentValueMetadata; + } + + public PolyLineOverlay customTabId(String customTabId) { + this.customTabId = customTabId; + return this; + } + + /** + * The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties. + * @return customTabId + **/ + @ApiModelProperty(example = "null", value = "The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.") + public String getCustomTabId() { + return customTabId; + } + + public void setCustomTabId(String customTabId) { + this.customTabId = customTabId; + } + + public PolyLineOverlay customTabIdMetadata(PropertyMetadata customTabIdMetadata) { + this.customTabIdMetadata = customTabIdMetadata; + return this; + } + + /** + * Get customTabIdMetadata + * @return customTabIdMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getCustomTabIdMetadata() { + return customTabIdMetadata; + } + + public void setCustomTabIdMetadata(PropertyMetadata customTabIdMetadata) { + this.customTabIdMetadata = customTabIdMetadata; + } + + public PolyLineOverlay documentId(String documentId) { + this.documentId = documentId; + return this; + } + + /** + * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute. + * @return documentId + **/ + @ApiModelProperty(example = "null", value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") + public String getDocumentId() { + return documentId; + } + + public void setDocumentId(String documentId) { + this.documentId = documentId; + } + + public PolyLineOverlay documentIdMetadata(PropertyMetadata documentIdMetadata) { + this.documentIdMetadata = documentIdMetadata; + return this; + } + + /** + * Get documentIdMetadata + * @return documentIdMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getDocumentIdMetadata() { + return documentIdMetadata; + } + + public void setDocumentIdMetadata(PropertyMetadata documentIdMetadata) { + this.documentIdMetadata = documentIdMetadata; + } + + public PolyLineOverlay errorDetails(ErrorDetails errorDetails) { + this.errorDetails = errorDetails; + return this; + } + + /** + * Get errorDetails + * @return errorDetails + **/ + @ApiModelProperty(example = "null", value = "") + public ErrorDetails getErrorDetails() { + return errorDetails; + } + + public void setErrorDetails(ErrorDetails errorDetails) { + this.errorDetails = errorDetails; + } + + public PolyLineOverlay formOrder(String formOrder) { + this.formOrder = formOrder; + return this; + } + + /** + * + * @return formOrder + **/ + @ApiModelProperty(example = "null", value = "") + public String getFormOrder() { + return formOrder; + } + + public void setFormOrder(String formOrder) { + this.formOrder = formOrder; + } + + public PolyLineOverlay formOrderMetadata(PropertyMetadata formOrderMetadata) { + this.formOrderMetadata = formOrderMetadata; + return this; + } + + /** + * Get formOrderMetadata + * @return formOrderMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getFormOrderMetadata() { + return formOrderMetadata; + } + + public void setFormOrderMetadata(PropertyMetadata formOrderMetadata) { + this.formOrderMetadata = formOrderMetadata; + } + + public PolyLineOverlay formPageLabel(String formPageLabel) { + this.formPageLabel = formPageLabel; + return this; + } + + /** + * + * @return formPageLabel + **/ + @ApiModelProperty(example = "null", value = "") + public String getFormPageLabel() { + return formPageLabel; + } + + public void setFormPageLabel(String formPageLabel) { + this.formPageLabel = formPageLabel; + } + + public PolyLineOverlay formPageLabelMetadata(PropertyMetadata formPageLabelMetadata) { + this.formPageLabelMetadata = formPageLabelMetadata; + return this; + } + + /** + * Get formPageLabelMetadata + * @return formPageLabelMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getFormPageLabelMetadata() { + return formPageLabelMetadata; + } + + public void setFormPageLabelMetadata(PropertyMetadata formPageLabelMetadata) { + this.formPageLabelMetadata = formPageLabelMetadata; + } + + public PolyLineOverlay formPageNumber(String formPageNumber) { + this.formPageNumber = formPageNumber; + return this; + } + + /** + * + * @return formPageNumber + **/ + @ApiModelProperty(example = "null", value = "") + public String getFormPageNumber() { + return formPageNumber; + } + + public void setFormPageNumber(String formPageNumber) { + this.formPageNumber = formPageNumber; + } + + public PolyLineOverlay formPageNumberMetadata(PropertyMetadata formPageNumberMetadata) { + this.formPageNumberMetadata = formPageNumberMetadata; + return this; + } + + /** + * Get formPageNumberMetadata + * @return formPageNumberMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getFormPageNumberMetadata() { + return formPageNumberMetadata; + } + + public void setFormPageNumberMetadata(PropertyMetadata formPageNumberMetadata) { + this.formPageNumberMetadata = formPageNumberMetadata; + } + + public PolyLineOverlay graphicsContext(GraphicsContext graphicsContext) { + this.graphicsContext = graphicsContext; + return this; + } + + /** + * Get graphicsContext + * @return graphicsContext + **/ + @ApiModelProperty(example = "null", value = "") + public GraphicsContext getGraphicsContext() { + return graphicsContext; + } + + public void setGraphicsContext(GraphicsContext graphicsContext) { + this.graphicsContext = graphicsContext; + } + + public PolyLineOverlay height(String height) { + this.height = height; + return this; + } + + /** + * Height of the tab in pixels. + * @return height + **/ + @ApiModelProperty(example = "null", value = "Height of the tab in pixels.") + public String getHeight() { + return height; + } + + public void setHeight(String height) { + this.height = height; + } + + public PolyLineOverlay heightMetadata(PropertyMetadata heightMetadata) { + this.heightMetadata = heightMetadata; + return this; + } + + /** + * Get heightMetadata + * @return heightMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getHeightMetadata() { + return heightMetadata; + } + + public void setHeightMetadata(PropertyMetadata heightMetadata) { + this.heightMetadata = heightMetadata; + } + + public PolyLineOverlay locked(String locked) { + this.locked = locked; + return this; + } + + /** + * When set to **true**, the signer cannot change the data of the custom tab. + * @return locked + **/ + @ApiModelProperty(example = "null", value = "When set to **true**, the signer cannot change the data of the custom tab.") + public String getLocked() { + return locked; + } + + public void setLocked(String locked) { + this.locked = locked; + } + + public PolyLineOverlay lockedMetadata(PropertyMetadata lockedMetadata) { + this.lockedMetadata = lockedMetadata; + return this; + } + + /** + * Get lockedMetadata + * @return lockedMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getLockedMetadata() { + return lockedMetadata; + } + + public void setLockedMetadata(PropertyMetadata lockedMetadata) { + this.lockedMetadata = lockedMetadata; + } + + public PolyLineOverlay mergeField(MergeField mergeField) { + this.mergeField = mergeField; + return this; + } + + /** + * Get mergeField + * @return mergeField + **/ + @ApiModelProperty(example = "null", value = "") + public MergeField getMergeField() { + return mergeField; + } + + public void setMergeField(MergeField mergeField) { + this.mergeField = mergeField; + } + + public PolyLineOverlay mergeFieldXml(String mergeFieldXml) { + this.mergeFieldXml = mergeFieldXml; + return this; + } + + /** + * + * @return mergeFieldXml + **/ + @ApiModelProperty(example = "null", value = "") + public String getMergeFieldXml() { + return mergeFieldXml; + } + + public void setMergeFieldXml(String mergeFieldXml) { + this.mergeFieldXml = mergeFieldXml; + } + + public PolyLineOverlay overlayType(String overlayType) { + this.overlayType = overlayType; + return this; + } + + /** + * + * @return overlayType + **/ + @ApiModelProperty(example = "null", value = "") + public String getOverlayType() { + return overlayType; + } + + public void setOverlayType(String overlayType) { + this.overlayType = overlayType; + } + + public PolyLineOverlay overlayTypeMetadata(PropertyMetadata overlayTypeMetadata) { + this.overlayTypeMetadata = overlayTypeMetadata; + return this; + } + + /** + * Get overlayTypeMetadata + * @return overlayTypeMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getOverlayTypeMetadata() { + return overlayTypeMetadata; + } + + public void setOverlayTypeMetadata(PropertyMetadata overlayTypeMetadata) { + this.overlayTypeMetadata = overlayTypeMetadata; + } + + public PolyLineOverlay pageNumber(String pageNumber) { + this.pageNumber = pageNumber; + return this; + } + + /** + * Specifies the page number on which the tab is located. + * @return pageNumber + **/ + @ApiModelProperty(example = "null", value = "Specifies the page number on which the tab is located.") + public String getPageNumber() { + return pageNumber; + } + + public void setPageNumber(String pageNumber) { + this.pageNumber = pageNumber; + } + + public PolyLineOverlay pageNumberMetadata(PropertyMetadata pageNumberMetadata) { + this.pageNumberMetadata = pageNumberMetadata; + return this; + } + + /** + * Get pageNumberMetadata + * @return pageNumberMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getPageNumberMetadata() { + return pageNumberMetadata; + } + + public void setPageNumberMetadata(PropertyMetadata pageNumberMetadata) { + this.pageNumberMetadata = pageNumberMetadata; + } + + public PolyLineOverlay polyLines(java.util.List polyLines) { + this.polyLines = polyLines; + return this; + } + + public PolyLineOverlay addPolyLinesItem(PolyLine polyLinesItem) { + this.polyLines.add(polyLinesItem); + return this; + } + + /** + * + * @return polyLines + **/ + @ApiModelProperty(example = "null", value = "") + public java.util.List getPolyLines() { + return polyLines; + } + + public void setPolyLines(java.util.List polyLines) { + this.polyLines = polyLines; + } + + public PolyLineOverlay recipientId(String recipientId) { + this.recipientId = recipientId; + return this; + } + + /** + * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document. + * @return recipientId + **/ + @ApiModelProperty(example = "null", value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") + public String getRecipientId() { + return recipientId; + } + + public void setRecipientId(String recipientId) { + this.recipientId = recipientId; + } + + public PolyLineOverlay recipientIdGuid(String recipientIdGuid) { + this.recipientIdGuid = recipientIdGuid; + return this; + } + + /** + * + * @return recipientIdGuid + **/ + @ApiModelProperty(example = "null", value = "") + public String getRecipientIdGuid() { + return recipientIdGuid; + } + + public void setRecipientIdGuid(String recipientIdGuid) { + this.recipientIdGuid = recipientIdGuid; + } + + public PolyLineOverlay recipientIdGuidMetadata(PropertyMetadata recipientIdGuidMetadata) { + this.recipientIdGuidMetadata = recipientIdGuidMetadata; + return this; + } + + /** + * Get recipientIdGuidMetadata + * @return recipientIdGuidMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getRecipientIdGuidMetadata() { + return recipientIdGuidMetadata; + } + + public void setRecipientIdGuidMetadata(PropertyMetadata recipientIdGuidMetadata) { + this.recipientIdGuidMetadata = recipientIdGuidMetadata; + } + + public PolyLineOverlay recipientIdMetadata(PropertyMetadata recipientIdMetadata) { + this.recipientIdMetadata = recipientIdMetadata; + return this; + } + + /** + * Get recipientIdMetadata + * @return recipientIdMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getRecipientIdMetadata() { + return recipientIdMetadata; + } + + public void setRecipientIdMetadata(PropertyMetadata recipientIdMetadata) { + this.recipientIdMetadata = recipientIdMetadata; + } + + public PolyLineOverlay shared(String shared) { + this.shared = shared; + return this; + } + + /** + * When set to **true**, this custom tab is shared. + * @return shared + **/ + @ApiModelProperty(example = "null", value = "When set to **true**, this custom tab is shared.") + public String getShared() { + return shared; + } + + public void setShared(String shared) { + this.shared = shared; + } + + public PolyLineOverlay sharedMetadata(PropertyMetadata sharedMetadata) { + this.sharedMetadata = sharedMetadata; + return this; + } + + /** + * Get sharedMetadata + * @return sharedMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getSharedMetadata() { + return sharedMetadata; + } + + public void setSharedMetadata(PropertyMetadata sharedMetadata) { + this.sharedMetadata = sharedMetadata; + } + + public PolyLineOverlay status(String status) { + this.status = status; + return this; + } + + /** + * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. + * @return status + **/ + @ApiModelProperty(example = "null", value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + public PolyLineOverlay statusMetadata(PropertyMetadata statusMetadata) { + this.statusMetadata = statusMetadata; + return this; + } + + /** + * Get statusMetadata + * @return statusMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getStatusMetadata() { + return statusMetadata; + } + + public void setStatusMetadata(PropertyMetadata statusMetadata) { + this.statusMetadata = statusMetadata; + } + + public PolyLineOverlay tabGroupLabels(java.util.List tabGroupLabels) { + this.tabGroupLabels = tabGroupLabels; + return this; + } + + public PolyLineOverlay addTabGroupLabelsItem(String tabGroupLabelsItem) { + this.tabGroupLabels.add(tabGroupLabelsItem); + return this; + } + + /** + * + * @return tabGroupLabels + **/ + @ApiModelProperty(example = "null", value = "") + public java.util.List getTabGroupLabels() { + return tabGroupLabels; + } + + public void setTabGroupLabels(java.util.List tabGroupLabels) { + this.tabGroupLabels = tabGroupLabels; + } + + public PolyLineOverlay tabGroupLabelsMetadata(PropertyMetadata tabGroupLabelsMetadata) { + this.tabGroupLabelsMetadata = tabGroupLabelsMetadata; + return this; + } + + /** + * Get tabGroupLabelsMetadata + * @return tabGroupLabelsMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getTabGroupLabelsMetadata() { + return tabGroupLabelsMetadata; + } + + public void setTabGroupLabelsMetadata(PropertyMetadata tabGroupLabelsMetadata) { + this.tabGroupLabelsMetadata = tabGroupLabelsMetadata; + } + + public PolyLineOverlay tabId(String tabId) { + this.tabId = tabId; + return this; + } + + /** + * The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. + * @return tabId + **/ + @ApiModelProperty(example = "null", value = "The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. ") + public String getTabId() { + return tabId; + } + + public void setTabId(String tabId) { + this.tabId = tabId; + } + + public PolyLineOverlay tabIdMetadata(PropertyMetadata tabIdMetadata) { + this.tabIdMetadata = tabIdMetadata; + return this; + } + + /** + * Get tabIdMetadata + * @return tabIdMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getTabIdMetadata() { + return tabIdMetadata; + } + + public void setTabIdMetadata(PropertyMetadata tabIdMetadata) { + this.tabIdMetadata = tabIdMetadata; + } + + public PolyLineOverlay tabLabel(String tabLabel) { + this.tabLabel = tabLabel; + return this; + } + + /** + * The label string associated with the tab. + * @return tabLabel + **/ + @ApiModelProperty(example = "null", value = "The label string associated with the tab.") + public String getTabLabel() { + return tabLabel; + } + + public void setTabLabel(String tabLabel) { + this.tabLabel = tabLabel; + } + + public PolyLineOverlay tabOrder(String tabOrder) { + this.tabOrder = tabOrder; + return this; + } + + /** + * + * @return tabOrder + **/ + @ApiModelProperty(example = "null", value = "") + public String getTabOrder() { + return tabOrder; + } + + public void setTabOrder(String tabOrder) { + this.tabOrder = tabOrder; + } + + public PolyLineOverlay tabOrderMetadata(PropertyMetadata tabOrderMetadata) { + this.tabOrderMetadata = tabOrderMetadata; + return this; + } + + /** + * Get tabOrderMetadata + * @return tabOrderMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getTabOrderMetadata() { + return tabOrderMetadata; + } + + public void setTabOrderMetadata(PropertyMetadata tabOrderMetadata) { + this.tabOrderMetadata = tabOrderMetadata; + } + + public PolyLineOverlay tabType(String tabType) { + this.tabType = tabType; + return this; + } + + /** + * + * @return tabType + **/ + @ApiModelProperty(example = "null", value = "") + public String getTabType() { + return tabType; + } + + public void setTabType(String tabType) { + this.tabType = tabType; + } + + public PolyLineOverlay tabTypeMetadata(PropertyMetadata tabTypeMetadata) { + this.tabTypeMetadata = tabTypeMetadata; + return this; + } + + /** + * Get tabTypeMetadata + * @return tabTypeMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getTabTypeMetadata() { + return tabTypeMetadata; + } + + public void setTabTypeMetadata(PropertyMetadata tabTypeMetadata) { + this.tabTypeMetadata = tabTypeMetadata; + } + + public PolyLineOverlay templateLocked(String templateLocked) { + this.templateLocked = templateLocked; + return this; + } + + /** + * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. + * @return templateLocked + **/ + @ApiModelProperty(example = "null", value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") + public String getTemplateLocked() { + return templateLocked; + } + + public void setTemplateLocked(String templateLocked) { + this.templateLocked = templateLocked; + } + + public PolyLineOverlay templateLockedMetadata(PropertyMetadata templateLockedMetadata) { + this.templateLockedMetadata = templateLockedMetadata; + return this; + } + + /** + * Get templateLockedMetadata + * @return templateLockedMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getTemplateLockedMetadata() { + return templateLockedMetadata; + } + + public void setTemplateLockedMetadata(PropertyMetadata templateLockedMetadata) { + this.templateLockedMetadata = templateLockedMetadata; + } + + public PolyLineOverlay templateRequired(String templateRequired) { + this.templateRequired = templateRequired; + return this; + } + + /** + * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients. + * @return templateRequired + **/ + @ApiModelProperty(example = "null", value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") + public String getTemplateRequired() { + return templateRequired; + } + + public void setTemplateRequired(String templateRequired) { + this.templateRequired = templateRequired; + } + + public PolyLineOverlay templateRequiredMetadata(PropertyMetadata templateRequiredMetadata) { + this.templateRequiredMetadata = templateRequiredMetadata; + return this; + } + + /** + * Get templateRequiredMetadata + * @return templateRequiredMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getTemplateRequiredMetadata() { + return templateRequiredMetadata; + } + + public void setTemplateRequiredMetadata(PropertyMetadata templateRequiredMetadata) { + this.templateRequiredMetadata = templateRequiredMetadata; + } + + public PolyLineOverlay tooltip(String tooltip) { + this.tooltip = tooltip; + return this; + } + + /** + * + * @return tooltip + **/ + @ApiModelProperty(example = "null", value = "") + public String getTooltip() { + return tooltip; + } + + public void setTooltip(String tooltip) { + this.tooltip = tooltip; + } + + public PolyLineOverlay toolTipMetadata(PropertyMetadata toolTipMetadata) { + this.toolTipMetadata = toolTipMetadata; + return this; + } + + /** + * Get toolTipMetadata + * @return toolTipMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getToolTipMetadata() { + return toolTipMetadata; + } + + public void setToolTipMetadata(PropertyMetadata toolTipMetadata) { + this.toolTipMetadata = toolTipMetadata; + } + + public PolyLineOverlay width(String width) { + this.width = width; + return this; + } + + /** + * Width of the tab in pixels. + * @return width + **/ + @ApiModelProperty(example = "null", value = "Width of the tab in pixels.") + public String getWidth() { + return width; + } + + public void setWidth(String width) { + this.width = width; + } + + public PolyLineOverlay widthMetadata(PropertyMetadata widthMetadata) { + this.widthMetadata = widthMetadata; + return this; + } + + /** + * Get widthMetadata + * @return widthMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getWidthMetadata() { + return widthMetadata; + } + + public void setWidthMetadata(PropertyMetadata widthMetadata) { + this.widthMetadata = widthMetadata; + } + + public PolyLineOverlay xPosition(String xPosition) { + this.xPosition = xPosition; + return this; + } + + /** + * This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position. + * @return xPosition + **/ + @ApiModelProperty(example = "null", value = "This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.") + public String getXPosition() { + return xPosition; + } + + public void setXPosition(String xPosition) { + this.xPosition = xPosition; + } + + public PolyLineOverlay xPositionMetadata(PropertyMetadata xPositionMetadata) { + this.xPositionMetadata = xPositionMetadata; + return this; + } + + /** + * Get xPositionMetadata + * @return xPositionMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getXPositionMetadata() { + return xPositionMetadata; + } + + public void setXPositionMetadata(PropertyMetadata xPositionMetadata) { + this.xPositionMetadata = xPositionMetadata; + } + + public PolyLineOverlay yPosition(String yPosition) { + this.yPosition = yPosition; + return this; + } + + /** + * This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position. + * @return yPosition + **/ + @ApiModelProperty(example = "null", value = "This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.") + public String getYPosition() { + return yPosition; + } + + public void setYPosition(String yPosition) { + this.yPosition = yPosition; + } + + public PolyLineOverlay yPositionMetadata(PropertyMetadata yPositionMetadata) { + this.yPositionMetadata = yPositionMetadata; + return this; + } + + /** + * Get yPositionMetadata + * @return yPositionMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getYPositionMetadata() { + return yPositionMetadata; + } + + public void setYPositionMetadata(PropertyMetadata yPositionMetadata) { + this.yPositionMetadata = yPositionMetadata; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PolyLineOverlay polyLineOverlay = (PolyLineOverlay) o; + return Objects.equals(this.anchorCaseSensitive, polyLineOverlay.anchorCaseSensitive) && + Objects.equals(this.anchorCaseSensitiveMetadata, polyLineOverlay.anchorCaseSensitiveMetadata) && + Objects.equals(this.anchorHorizontalAlignment, polyLineOverlay.anchorHorizontalAlignment) && + Objects.equals(this.anchorHorizontalAlignmentMetadata, polyLineOverlay.anchorHorizontalAlignmentMetadata) && + Objects.equals(this.anchorIgnoreIfNotPresent, polyLineOverlay.anchorIgnoreIfNotPresent) && + Objects.equals(this.anchorIgnoreIfNotPresentMetadata, polyLineOverlay.anchorIgnoreIfNotPresentMetadata) && + Objects.equals(this.anchorMatchWholeWord, polyLineOverlay.anchorMatchWholeWord) && + Objects.equals(this.anchorMatchWholeWordMetadata, polyLineOverlay.anchorMatchWholeWordMetadata) && + Objects.equals(this.anchorString, polyLineOverlay.anchorString) && + Objects.equals(this.anchorStringMetadata, polyLineOverlay.anchorStringMetadata) && + Objects.equals(this.anchorTabProcessorVersion, polyLineOverlay.anchorTabProcessorVersion) && + Objects.equals(this.anchorTabProcessorVersionMetadata, polyLineOverlay.anchorTabProcessorVersionMetadata) && + Objects.equals(this.anchorUnits, polyLineOverlay.anchorUnits) && + Objects.equals(this.anchorUnitsMetadata, polyLineOverlay.anchorUnitsMetadata) && + Objects.equals(this.anchorXOffset, polyLineOverlay.anchorXOffset) && + Objects.equals(this.anchorXOffsetMetadata, polyLineOverlay.anchorXOffsetMetadata) && + Objects.equals(this.anchorYOffset, polyLineOverlay.anchorYOffset) && + Objects.equals(this.anchorYOffsetMetadata, polyLineOverlay.anchorYOffsetMetadata) && + Objects.equals(this.conditionalParentLabel, polyLineOverlay.conditionalParentLabel) && + Objects.equals(this.conditionalParentLabelMetadata, polyLineOverlay.conditionalParentLabelMetadata) && + Objects.equals(this.conditionalParentValue, polyLineOverlay.conditionalParentValue) && + Objects.equals(this.conditionalParentValueMetadata, polyLineOverlay.conditionalParentValueMetadata) && + Objects.equals(this.customTabId, polyLineOverlay.customTabId) && + Objects.equals(this.customTabIdMetadata, polyLineOverlay.customTabIdMetadata) && + Objects.equals(this.documentId, polyLineOverlay.documentId) && + Objects.equals(this.documentIdMetadata, polyLineOverlay.documentIdMetadata) && + Objects.equals(this.errorDetails, polyLineOverlay.errorDetails) && + Objects.equals(this.formOrder, polyLineOverlay.formOrder) && + Objects.equals(this.formOrderMetadata, polyLineOverlay.formOrderMetadata) && + Objects.equals(this.formPageLabel, polyLineOverlay.formPageLabel) && + Objects.equals(this.formPageLabelMetadata, polyLineOverlay.formPageLabelMetadata) && + Objects.equals(this.formPageNumber, polyLineOverlay.formPageNumber) && + Objects.equals(this.formPageNumberMetadata, polyLineOverlay.formPageNumberMetadata) && + Objects.equals(this.graphicsContext, polyLineOverlay.graphicsContext) && + Objects.equals(this.height, polyLineOverlay.height) && + Objects.equals(this.heightMetadata, polyLineOverlay.heightMetadata) && + Objects.equals(this.locked, polyLineOverlay.locked) && + Objects.equals(this.lockedMetadata, polyLineOverlay.lockedMetadata) && + Objects.equals(this.mergeField, polyLineOverlay.mergeField) && + Objects.equals(this.mergeFieldXml, polyLineOverlay.mergeFieldXml) && + Objects.equals(this.overlayType, polyLineOverlay.overlayType) && + Objects.equals(this.overlayTypeMetadata, polyLineOverlay.overlayTypeMetadata) && + Objects.equals(this.pageNumber, polyLineOverlay.pageNumber) && + Objects.equals(this.pageNumberMetadata, polyLineOverlay.pageNumberMetadata) && + Objects.equals(this.polyLines, polyLineOverlay.polyLines) && + Objects.equals(this.recipientId, polyLineOverlay.recipientId) && + Objects.equals(this.recipientIdGuid, polyLineOverlay.recipientIdGuid) && + Objects.equals(this.recipientIdGuidMetadata, polyLineOverlay.recipientIdGuidMetadata) && + Objects.equals(this.recipientIdMetadata, polyLineOverlay.recipientIdMetadata) && + Objects.equals(this.shared, polyLineOverlay.shared) && + Objects.equals(this.sharedMetadata, polyLineOverlay.sharedMetadata) && + Objects.equals(this.status, polyLineOverlay.status) && + Objects.equals(this.statusMetadata, polyLineOverlay.statusMetadata) && + Objects.equals(this.tabGroupLabels, polyLineOverlay.tabGroupLabels) && + Objects.equals(this.tabGroupLabelsMetadata, polyLineOverlay.tabGroupLabelsMetadata) && + Objects.equals(this.tabId, polyLineOverlay.tabId) && + Objects.equals(this.tabIdMetadata, polyLineOverlay.tabIdMetadata) && + Objects.equals(this.tabLabel, polyLineOverlay.tabLabel) && + Objects.equals(this.tabOrder, polyLineOverlay.tabOrder) && + Objects.equals(this.tabOrderMetadata, polyLineOverlay.tabOrderMetadata) && + Objects.equals(this.tabType, polyLineOverlay.tabType) && + Objects.equals(this.tabTypeMetadata, polyLineOverlay.tabTypeMetadata) && + Objects.equals(this.templateLocked, polyLineOverlay.templateLocked) && + Objects.equals(this.templateLockedMetadata, polyLineOverlay.templateLockedMetadata) && + Objects.equals(this.templateRequired, polyLineOverlay.templateRequired) && + Objects.equals(this.templateRequiredMetadata, polyLineOverlay.templateRequiredMetadata) && + Objects.equals(this.tooltip, polyLineOverlay.tooltip) && + Objects.equals(this.toolTipMetadata, polyLineOverlay.toolTipMetadata) && + Objects.equals(this.width, polyLineOverlay.width) && + Objects.equals(this.widthMetadata, polyLineOverlay.widthMetadata) && + Objects.equals(this.xPosition, polyLineOverlay.xPosition) && + Objects.equals(this.xPositionMetadata, polyLineOverlay.xPositionMetadata) && + Objects.equals(this.yPosition, polyLineOverlay.yPosition) && + Objects.equals(this.yPositionMetadata, polyLineOverlay.yPositionMetadata); + } + + @Override + public int hashCode() { + return Objects.hash(anchorCaseSensitive, anchorCaseSensitiveMetadata, anchorHorizontalAlignment, anchorHorizontalAlignmentMetadata, anchorIgnoreIfNotPresent, anchorIgnoreIfNotPresentMetadata, anchorMatchWholeWord, anchorMatchWholeWordMetadata, anchorString, anchorStringMetadata, anchorTabProcessorVersion, anchorTabProcessorVersionMetadata, anchorUnits, anchorUnitsMetadata, anchorXOffset, anchorXOffsetMetadata, anchorYOffset, anchorYOffsetMetadata, conditionalParentLabel, conditionalParentLabelMetadata, conditionalParentValue, conditionalParentValueMetadata, customTabId, customTabIdMetadata, documentId, documentIdMetadata, errorDetails, formOrder, formOrderMetadata, formPageLabel, formPageLabelMetadata, formPageNumber, formPageNumberMetadata, graphicsContext, height, heightMetadata, locked, lockedMetadata, mergeField, mergeFieldXml, overlayType, overlayTypeMetadata, pageNumber, pageNumberMetadata, polyLines, recipientId, recipientIdGuid, recipientIdGuidMetadata, recipientIdMetadata, shared, sharedMetadata, status, statusMetadata, tabGroupLabels, tabGroupLabelsMetadata, tabId, tabIdMetadata, tabLabel, tabOrder, tabOrderMetadata, tabType, tabTypeMetadata, templateLocked, templateLockedMetadata, templateRequired, templateRequiredMetadata, tooltip, toolTipMetadata, width, widthMetadata, xPosition, xPositionMetadata, yPosition, yPositionMetadata); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PolyLineOverlay {\n"); + + sb.append(" anchorCaseSensitive: ").append(toIndentedString(anchorCaseSensitive)).append("\n"); + sb.append(" anchorCaseSensitiveMetadata: ").append(toIndentedString(anchorCaseSensitiveMetadata)).append("\n"); + sb.append(" anchorHorizontalAlignment: ").append(toIndentedString(anchorHorizontalAlignment)).append("\n"); + sb.append(" anchorHorizontalAlignmentMetadata: ").append(toIndentedString(anchorHorizontalAlignmentMetadata)).append("\n"); + sb.append(" anchorIgnoreIfNotPresent: ").append(toIndentedString(anchorIgnoreIfNotPresent)).append("\n"); + sb.append(" anchorIgnoreIfNotPresentMetadata: ").append(toIndentedString(anchorIgnoreIfNotPresentMetadata)).append("\n"); + sb.append(" anchorMatchWholeWord: ").append(toIndentedString(anchorMatchWholeWord)).append("\n"); + sb.append(" anchorMatchWholeWordMetadata: ").append(toIndentedString(anchorMatchWholeWordMetadata)).append("\n"); + sb.append(" anchorString: ").append(toIndentedString(anchorString)).append("\n"); + sb.append(" anchorStringMetadata: ").append(toIndentedString(anchorStringMetadata)).append("\n"); + sb.append(" anchorTabProcessorVersion: ").append(toIndentedString(anchorTabProcessorVersion)).append("\n"); + sb.append(" anchorTabProcessorVersionMetadata: ").append(toIndentedString(anchorTabProcessorVersionMetadata)).append("\n"); + sb.append(" anchorUnits: ").append(toIndentedString(anchorUnits)).append("\n"); + sb.append(" anchorUnitsMetadata: ").append(toIndentedString(anchorUnitsMetadata)).append("\n"); + sb.append(" anchorXOffset: ").append(toIndentedString(anchorXOffset)).append("\n"); + sb.append(" anchorXOffsetMetadata: ").append(toIndentedString(anchorXOffsetMetadata)).append("\n"); + sb.append(" anchorYOffset: ").append(toIndentedString(anchorYOffset)).append("\n"); + sb.append(" anchorYOffsetMetadata: ").append(toIndentedString(anchorYOffsetMetadata)).append("\n"); + sb.append(" conditionalParentLabel: ").append(toIndentedString(conditionalParentLabel)).append("\n"); + sb.append(" conditionalParentLabelMetadata: ").append(toIndentedString(conditionalParentLabelMetadata)).append("\n"); + sb.append(" conditionalParentValue: ").append(toIndentedString(conditionalParentValue)).append("\n"); + sb.append(" conditionalParentValueMetadata: ").append(toIndentedString(conditionalParentValueMetadata)).append("\n"); + sb.append(" customTabId: ").append(toIndentedString(customTabId)).append("\n"); + sb.append(" customTabIdMetadata: ").append(toIndentedString(customTabIdMetadata)).append("\n"); + sb.append(" documentId: ").append(toIndentedString(documentId)).append("\n"); + sb.append(" documentIdMetadata: ").append(toIndentedString(documentIdMetadata)).append("\n"); + sb.append(" errorDetails: ").append(toIndentedString(errorDetails)).append("\n"); + sb.append(" formOrder: ").append(toIndentedString(formOrder)).append("\n"); + sb.append(" formOrderMetadata: ").append(toIndentedString(formOrderMetadata)).append("\n"); + sb.append(" formPageLabel: ").append(toIndentedString(formPageLabel)).append("\n"); + sb.append(" formPageLabelMetadata: ").append(toIndentedString(formPageLabelMetadata)).append("\n"); + sb.append(" formPageNumber: ").append(toIndentedString(formPageNumber)).append("\n"); + sb.append(" formPageNumberMetadata: ").append(toIndentedString(formPageNumberMetadata)).append("\n"); + sb.append(" graphicsContext: ").append(toIndentedString(graphicsContext)).append("\n"); + sb.append(" height: ").append(toIndentedString(height)).append("\n"); + sb.append(" heightMetadata: ").append(toIndentedString(heightMetadata)).append("\n"); + sb.append(" locked: ").append(toIndentedString(locked)).append("\n"); + sb.append(" lockedMetadata: ").append(toIndentedString(lockedMetadata)).append("\n"); + sb.append(" mergeField: ").append(toIndentedString(mergeField)).append("\n"); + sb.append(" mergeFieldXml: ").append(toIndentedString(mergeFieldXml)).append("\n"); + sb.append(" overlayType: ").append(toIndentedString(overlayType)).append("\n"); + sb.append(" overlayTypeMetadata: ").append(toIndentedString(overlayTypeMetadata)).append("\n"); + sb.append(" pageNumber: ").append(toIndentedString(pageNumber)).append("\n"); + sb.append(" pageNumberMetadata: ").append(toIndentedString(pageNumberMetadata)).append("\n"); + sb.append(" polyLines: ").append(toIndentedString(polyLines)).append("\n"); + sb.append(" recipientId: ").append(toIndentedString(recipientId)).append("\n"); + sb.append(" recipientIdGuid: ").append(toIndentedString(recipientIdGuid)).append("\n"); + sb.append(" recipientIdGuidMetadata: ").append(toIndentedString(recipientIdGuidMetadata)).append("\n"); + sb.append(" recipientIdMetadata: ").append(toIndentedString(recipientIdMetadata)).append("\n"); + sb.append(" shared: ").append(toIndentedString(shared)).append("\n"); + sb.append(" sharedMetadata: ").append(toIndentedString(sharedMetadata)).append("\n"); + sb.append(" status: ").append(toIndentedString(status)).append("\n"); + sb.append(" statusMetadata: ").append(toIndentedString(statusMetadata)).append("\n"); + sb.append(" tabGroupLabels: ").append(toIndentedString(tabGroupLabels)).append("\n"); + sb.append(" tabGroupLabelsMetadata: ").append(toIndentedString(tabGroupLabelsMetadata)).append("\n"); + sb.append(" tabId: ").append(toIndentedString(tabId)).append("\n"); + sb.append(" tabIdMetadata: ").append(toIndentedString(tabIdMetadata)).append("\n"); + sb.append(" tabLabel: ").append(toIndentedString(tabLabel)).append("\n"); + sb.append(" tabOrder: ").append(toIndentedString(tabOrder)).append("\n"); + sb.append(" tabOrderMetadata: ").append(toIndentedString(tabOrderMetadata)).append("\n"); + sb.append(" tabType: ").append(toIndentedString(tabType)).append("\n"); + sb.append(" tabTypeMetadata: ").append(toIndentedString(tabTypeMetadata)).append("\n"); + sb.append(" templateLocked: ").append(toIndentedString(templateLocked)).append("\n"); + sb.append(" templateLockedMetadata: ").append(toIndentedString(templateLockedMetadata)).append("\n"); + sb.append(" templateRequired: ").append(toIndentedString(templateRequired)).append("\n"); + sb.append(" templateRequiredMetadata: ").append(toIndentedString(templateRequiredMetadata)).append("\n"); + sb.append(" tooltip: ").append(toIndentedString(tooltip)).append("\n"); + sb.append(" toolTipMetadata: ").append(toIndentedString(toolTipMetadata)).append("\n"); + sb.append(" width: ").append(toIndentedString(width)).append("\n"); + sb.append(" widthMetadata: ").append(toIndentedString(widthMetadata)).append("\n"); + sb.append(" xPosition: ").append(toIndentedString(xPosition)).append("\n"); + sb.append(" xPositionMetadata: ").append(toIndentedString(xPositionMetadata)).append("\n"); + sb.append(" yPosition: ").append(toIndentedString(yPosition)).append("\n"); + sb.append(" yPositionMetadata: ").append(toIndentedString(yPositionMetadata)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/com/docusign/esign/model/PowerForm.java b/src/main/java/com/docusign/esign/model/PowerForm.java index 46cfafb6..bf1503e4 100644 --- a/src/main/java/com/docusign/esign/model/PowerForm.java +++ b/src/main/java/com/docusign/esign/model/PowerForm.java @@ -1,16 +1,19 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.Envelope; import com.docusign.esign.model.ErrorDetails; import com.docusign.esign.model.PowerFormRecipient; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * PowerForm + * PowerForm. + * */ public class PowerForm { @@ -27,7 +30,7 @@ public class PowerForm { private String emailSubject = null; @JsonProperty("envelopes") - private java.util.List envelopes = new java.util.ArrayList(); + private java.util.List envelopes = null; @JsonProperty("errorDetails") private ErrorDetails errorDetails = null; @@ -63,7 +66,7 @@ public class PowerForm { private String powerFormUrl = null; @JsonProperty("recipients") - private java.util.List recipients = new java.util.ArrayList(); + private java.util.List recipients = null; @JsonProperty("senderName") private String senderName = null; @@ -89,467 +92,713 @@ public class PowerForm { @JsonProperty("usesRemaining") private String usesRemaining = null; + + /** + * createdBy. + * + * @return PowerForm + **/ public PowerForm createdBy(String createdBy) { this.createdBy = createdBy; return this; } - /** - * + /** + * . * @return createdBy - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getCreatedBy() { return createdBy; } + /** + * setCreatedBy. + **/ public void setCreatedBy(String createdBy) { this.createdBy = createdBy; } + + /** + * createdDateTime. + * + * @return PowerForm + **/ public PowerForm createdDateTime(String createdDateTime) { this.createdDateTime = createdDateTime; return this; } - /** - * Indicates the date and time the item was created. + /** + * Indicates the date and time the item was created.. * @return createdDateTime - **/ - @ApiModelProperty(example = "null", value = "Indicates the date and time the item was created.") + **/ + @ApiModelProperty(value = "Indicates the date and time the item was created.") public String getCreatedDateTime() { return createdDateTime; } + /** + * setCreatedDateTime. + **/ public void setCreatedDateTime(String createdDateTime) { this.createdDateTime = createdDateTime; } + + /** + * emailBody. + * + * @return PowerForm + **/ public PowerForm emailBody(String emailBody) { this.emailBody = emailBody; return this; } - /** - * Specifies the email body of the message sent to the recipient. Maximum length: 10000 characters. + /** + * Specifies the email body of the message sent to the recipient. Maximum length: 10000 characters. . * @return emailBody - **/ - @ApiModelProperty(example = "null", value = "Specifies the email body of the message sent to the recipient. Maximum length: 10000 characters. ") + **/ + @ApiModelProperty(value = "Specifies the email body of the message sent to the recipient. Maximum length: 10000 characters. ") public String getEmailBody() { return emailBody; } + /** + * setEmailBody. + **/ public void setEmailBody(String emailBody) { this.emailBody = emailBody; } + + /** + * emailSubject. + * + * @return PowerForm + **/ public PowerForm emailSubject(String emailSubject) { this.emailSubject = emailSubject; return this; } - /** - * Specifies the subject of the email that is sent to all recipients. See [ML:Template Email Subject Merge Fields] for information about adding merge field information to the email subject. + /** + * Specifies the subject of the email that is sent to all recipients. See [ML:Template Email Subject Merge Fields] for information about adding merge field information to the email subject.. * @return emailSubject - **/ - @ApiModelProperty(example = "null", value = "Specifies the subject of the email that is sent to all recipients. See [ML:Template Email Subject Merge Fields] for information about adding merge field information to the email subject.") + **/ + @ApiModelProperty(value = "Specifies the subject of the email that is sent to all recipients. See [ML:Template Email Subject Merge Fields] for information about adding merge field information to the email subject.") public String getEmailSubject() { return emailSubject; } + /** + * setEmailSubject. + **/ public void setEmailSubject(String emailSubject) { this.emailSubject = emailSubject; } + + /** + * envelopes. + * + * @return PowerForm + **/ public PowerForm envelopes(java.util.List envelopes) { this.envelopes = envelopes; return this; } - + + /** + * addEnvelopesItem. + * + * @return PowerForm + **/ public PowerForm addEnvelopesItem(Envelope envelopesItem) { + if (this.envelopes == null) { + this.envelopes = new java.util.ArrayList(); + } this.envelopes.add(envelopesItem); return this; } - /** - * + /** + * . * @return envelopes - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getEnvelopes() { return envelopes; } + /** + * setEnvelopes. + **/ public void setEnvelopes(java.util.List envelopes) { this.envelopes = envelopes; } + + /** + * errorDetails. + * + * @return PowerForm + **/ public PowerForm errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * instructions. + * + * @return PowerForm + **/ public PowerForm instructions(String instructions) { this.instructions = instructions; return this; } - /** - * + /** + * . * @return instructions - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getInstructions() { return instructions; } + /** + * setInstructions. + **/ public void setInstructions(String instructions) { this.instructions = instructions; } + + /** + * isActive. + * + * @return PowerForm + **/ public PowerForm isActive(String isActive) { this.isActive = isActive; return this; } - /** - * + /** + * . * @return isActive - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getIsActive() { return isActive; } + /** + * setIsActive. + **/ public void setIsActive(String isActive) { this.isActive = isActive; } + + /** + * lastUsed. + * + * @return PowerForm + **/ public PowerForm lastUsed(String lastUsed) { this.lastUsed = lastUsed; return this; } - /** - * + /** + * . * @return lastUsed - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getLastUsed() { return lastUsed; } + /** + * setLastUsed. + **/ public void setLastUsed(String lastUsed) { this.lastUsed = lastUsed; } + + /** + * limitUseInterval. + * + * @return PowerForm + **/ public PowerForm limitUseInterval(String limitUseInterval) { this.limitUseInterval = limitUseInterval; return this; } - /** - * + /** + * . * @return limitUseInterval - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getLimitUseInterval() { return limitUseInterval; } + /** + * setLimitUseInterval. + **/ public void setLimitUseInterval(String limitUseInterval) { this.limitUseInterval = limitUseInterval; } + + /** + * limitUseIntervalEnabled. + * + * @return PowerForm + **/ public PowerForm limitUseIntervalEnabled(String limitUseIntervalEnabled) { this.limitUseIntervalEnabled = limitUseIntervalEnabled; return this; } - /** - * + /** + * . * @return limitUseIntervalEnabled - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getLimitUseIntervalEnabled() { return limitUseIntervalEnabled; } + /** + * setLimitUseIntervalEnabled. + **/ public void setLimitUseIntervalEnabled(String limitUseIntervalEnabled) { this.limitUseIntervalEnabled = limitUseIntervalEnabled; } + + /** + * limitUseIntervalUnits. + * + * @return PowerForm + **/ public PowerForm limitUseIntervalUnits(String limitUseIntervalUnits) { this.limitUseIntervalUnits = limitUseIntervalUnits; return this; } - /** - * + /** + * . * @return limitUseIntervalUnits - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getLimitUseIntervalUnits() { return limitUseIntervalUnits; } + /** + * setLimitUseIntervalUnits. + **/ public void setLimitUseIntervalUnits(String limitUseIntervalUnits) { this.limitUseIntervalUnits = limitUseIntervalUnits; } + + /** + * maxUseEnabled. + * + * @return PowerForm + **/ public PowerForm maxUseEnabled(String maxUseEnabled) { this.maxUseEnabled = maxUseEnabled; return this; } - /** - * + /** + * . * @return maxUseEnabled - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getMaxUseEnabled() { return maxUseEnabled; } + /** + * setMaxUseEnabled. + **/ public void setMaxUseEnabled(String maxUseEnabled) { this.maxUseEnabled = maxUseEnabled; } + + /** + * name. + * + * @return PowerForm + **/ public PowerForm name(String name) { this.name = name; return this; } - /** - * + /** + * . * @return name - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * powerFormId. + * + * @return PowerForm + **/ public PowerForm powerFormId(String powerFormId) { this.powerFormId = powerFormId; return this; } - /** - * + /** + * . * @return powerFormId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPowerFormId() { return powerFormId; } + /** + * setPowerFormId. + **/ public void setPowerFormId(String powerFormId) { this.powerFormId = powerFormId; } + + /** + * powerFormUrl. + * + * @return PowerForm + **/ public PowerForm powerFormUrl(String powerFormUrl) { this.powerFormUrl = powerFormUrl; return this; } - /** - * + /** + * . * @return powerFormUrl - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPowerFormUrl() { return powerFormUrl; } + /** + * setPowerFormUrl. + **/ public void setPowerFormUrl(String powerFormUrl) { this.powerFormUrl = powerFormUrl; } + + /** + * recipients. + * + * @return PowerForm + **/ public PowerForm recipients(java.util.List recipients) { this.recipients = recipients; return this; } - + + /** + * addRecipientsItem. + * + * @return PowerForm + **/ public PowerForm addRecipientsItem(PowerFormRecipient recipientsItem) { + if (this.recipients == null) { + this.recipients = new java.util.ArrayList(); + } this.recipients.add(recipientsItem); return this; } - /** - * An array of powerform recipients. + /** + * An array of powerform recipients.. * @return recipients - **/ - @ApiModelProperty(example = "null", value = "An array of powerform recipients.") + **/ + @ApiModelProperty(value = "An array of powerform recipients.") public java.util.List getRecipients() { return recipients; } + /** + * setRecipients. + **/ public void setRecipients(java.util.List recipients) { this.recipients = recipients; } + + /** + * senderName. + * + * @return PowerForm + **/ public PowerForm senderName(String senderName) { this.senderName = senderName; return this; } - /** - * + /** + * . * @return senderName - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSenderName() { return senderName; } + /** + * setSenderName. + **/ public void setSenderName(String senderName) { this.senderName = senderName; } + + /** + * senderUserId. + * + * @return PowerForm + **/ public PowerForm senderUserId(String senderUserId) { this.senderUserId = senderUserId; return this; } - /** - * + /** + * . * @return senderUserId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSenderUserId() { return senderUserId; } + /** + * setSenderUserId. + **/ public void setSenderUserId(String senderUserId) { this.senderUserId = senderUserId; } + + /** + * signingMode. + * + * @return PowerForm + **/ public PowerForm signingMode(String signingMode) { this.signingMode = signingMode; return this; } - /** - * + /** + * . * @return signingMode - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSigningMode() { return signingMode; } + /** + * setSigningMode. + **/ public void setSigningMode(String signingMode) { this.signingMode = signingMode; } + + /** + * templateId. + * + * @return PowerForm + **/ public PowerForm templateId(String templateId) { this.templateId = templateId; return this; } - /** - * The unique identifier of the template. If this is not provided, DocuSign will generate a value. + /** + * The unique identifier of the template. If this is not provided, DocuSign will generate a value. . * @return templateId - **/ - @ApiModelProperty(example = "null", value = "The unique identifier of the template. If this is not provided, DocuSign will generate a value. ") + **/ + @ApiModelProperty(value = "The unique identifier of the template. If this is not provided, DocuSign will generate a value. ") public String getTemplateId() { return templateId; } + /** + * setTemplateId. + **/ public void setTemplateId(String templateId) { this.templateId = templateId; } + + /** + * templateName. + * + * @return PowerForm + **/ public PowerForm templateName(String templateName) { this.templateName = templateName; return this; } - /** - * + /** + * . * @return templateName - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTemplateName() { return templateName; } + /** + * setTemplateName. + **/ public void setTemplateName(String templateName) { this.templateName = templateName; } + + /** + * timesUsed. + * + * @return PowerForm + **/ public PowerForm timesUsed(String timesUsed) { this.timesUsed = timesUsed; return this; } - /** - * + /** + * . * @return timesUsed - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTimesUsed() { return timesUsed; } + /** + * setTimesUsed. + **/ public void setTimesUsed(String timesUsed) { this.timesUsed = timesUsed; } + + /** + * uri. + * + * @return PowerForm + **/ public PowerForm uri(String uri) { this.uri = uri; return this; } - /** - * + /** + * . * @return uri - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getUri() { return uri; } + /** + * setUri. + **/ public void setUri(String uri) { this.uri = uri; } + + /** + * usesRemaining. + * + * @return PowerForm + **/ public PowerForm usesRemaining(String usesRemaining) { this.usesRemaining = usesRemaining; return this; } - /** - * + /** + * . * @return usesRemaining - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getUsesRemaining() { return usesRemaining; } + /** + * setUsesRemaining. + **/ public void setUsesRemaining(String usesRemaining) { this.usesRemaining = usesRemaining; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -586,12 +835,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.usesRemaining, powerForm.usesRemaining); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(createdBy, createdDateTime, emailBody, emailSubject, envelopes, errorDetails, instructions, isActive, lastUsed, limitUseInterval, limitUseIntervalEnabled, limitUseIntervalUnits, maxUseEnabled, name, powerFormId, powerFormUrl, recipients, senderName, senderUserId, signingMode, templateId, templateName, timesUsed, uri, usesRemaining); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -636,6 +891,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/PowerFormFormDataEnvelope.java b/src/main/java/com/docusign/esign/model/PowerFormFormDataEnvelope.java index da0ab299..60d7c7c3 100644 --- a/src/main/java/com/docusign/esign/model/PowerFormFormDataEnvelope.java +++ b/src/main/java/com/docusign/esign/model/PowerFormFormDataEnvelope.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.PowerFormFormDataRecipient; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * PowerFormFormDataEnvelope + * PowerFormFormDataEnvelope. + * */ public class PowerFormFormDataEnvelope { @@ -16,50 +19,81 @@ public class PowerFormFormDataEnvelope { private String envelopeId = null; @JsonProperty("recipients") - private java.util.List recipients = new java.util.ArrayList(); + private java.util.List recipients = null; + + /** + * envelopeId. + * + * @return PowerFormFormDataEnvelope + **/ public PowerFormFormDataEnvelope envelopeId(String envelopeId) { this.envelopeId = envelopeId; return this; } - /** - * The envelope ID of the envelope status that failed to post. + /** + * The envelope ID of the envelope status that failed to post.. * @return envelopeId - **/ - @ApiModelProperty(example = "null", value = "The envelope ID of the envelope status that failed to post.") + **/ + @ApiModelProperty(value = "The envelope ID of the envelope status that failed to post.") public String getEnvelopeId() { return envelopeId; } + /** + * setEnvelopeId. + **/ public void setEnvelopeId(String envelopeId) { this.envelopeId = envelopeId; } + + /** + * recipients. + * + * @return PowerFormFormDataEnvelope + **/ public PowerFormFormDataEnvelope recipients(java.util.List recipients) { this.recipients = recipients; return this; } - + + /** + * addRecipientsItem. + * + * @return PowerFormFormDataEnvelope + **/ public PowerFormFormDataEnvelope addRecipientsItem(PowerFormFormDataRecipient recipientsItem) { + if (this.recipients == null) { + this.recipients = new java.util.ArrayList(); + } this.recipients.add(recipientsItem); return this; } - /** - * An array of powerform recipients. + /** + * An array of powerform recipients.. * @return recipients - **/ - @ApiModelProperty(example = "null", value = "An array of powerform recipients.") + **/ + @ApiModelProperty(value = "An array of powerform recipients.") public java.util.List getRecipients() { return recipients; } + /** + * setRecipients. + **/ public void setRecipients(java.util.List recipients) { this.recipients = recipients; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -73,12 +107,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.recipients, powerFormFormDataEnvelope.recipients); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(envelopeId, recipients); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -100,6 +140,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/PowerFormFormDataRecipient.java b/src/main/java/com/docusign/esign/model/PowerFormFormDataRecipient.java index f855f835..872bd0ed 100644 --- a/src/main/java/com/docusign/esign/model/PowerFormFormDataRecipient.java +++ b/src/main/java/com/docusign/esign/model/PowerFormFormDataRecipient.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.NameValue; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * PowerFormFormDataRecipient + * PowerFormFormDataRecipient. + * */ public class PowerFormFormDataRecipient { @@ -16,7 +19,7 @@ public class PowerFormFormDataRecipient { private String email = null; @JsonProperty("formData") - private java.util.List formData = new java.util.ArrayList(); + private java.util.List formData = null; @JsonProperty("name") private String name = null; @@ -24,84 +27,133 @@ public class PowerFormFormDataRecipient { @JsonProperty("recipientId") private String recipientId = null; + + /** + * email. + * + * @return PowerFormFormDataRecipient + **/ public PowerFormFormDataRecipient email(String email) { this.email = email; return this; } - /** - * + /** + * . * @return email - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getEmail() { return email; } + /** + * setEmail. + **/ public void setEmail(String email) { this.email = email; } + + /** + * formData. + * + * @return PowerFormFormDataRecipient + **/ public PowerFormFormDataRecipient formData(java.util.List formData) { this.formData = formData; return this; } - + + /** + * addFormDataItem. + * + * @return PowerFormFormDataRecipient + **/ public PowerFormFormDataRecipient addFormDataItem(NameValue formDataItem) { + if (this.formData == null) { + this.formData = new java.util.ArrayList(); + } this.formData.add(formDataItem); return this; } - /** - * + /** + * . * @return formData - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getFormData() { return formData; } + /** + * setFormData. + **/ public void setFormData(java.util.List formData) { this.formData = formData; } + + /** + * name. + * + * @return PowerFormFormDataRecipient + **/ public PowerFormFormDataRecipient name(String name) { this.name = name; return this; } - /** - * + /** + * . * @return name - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * recipientId. + * + * @return PowerFormFormDataRecipient + **/ public PowerFormFormDataRecipient recipientId(String recipientId) { this.recipientId = recipientId; return this; } - /** - * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document. + /** + * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.. * @return recipientId - **/ - @ApiModelProperty(example = "null", value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") + **/ + @ApiModelProperty(value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") public String getRecipientId() { return recipientId; } + /** + * setRecipientId. + **/ public void setRecipientId(String recipientId) { this.recipientId = recipientId; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -117,12 +169,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.recipientId, powerFormFormDataRecipient.recipientId); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(email, formData, name, recipientId); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -146,6 +204,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/PowerFormRecipient.java b/src/main/java/com/docusign/esign/model/PowerFormRecipient.java index fd23e1c1..f95cd1a3 100644 --- a/src/main/java/com/docusign/esign/model/PowerFormRecipient.java +++ b/src/main/java/com/docusign/esign/model/PowerFormRecipient.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * PowerFormRecipient + * PowerFormRecipient. + * */ public class PowerFormRecipient { @@ -50,241 +53,363 @@ public class PowerFormRecipient { @JsonProperty("userNameLocked") private String userNameLocked = null; + + /** + * accessCode. + * + * @return PowerFormRecipient + **/ public PowerFormRecipient accessCode(String accessCode) { this.accessCode = accessCode; return this; } - /** - * If a value is provided, the recipient must enter the value as the access code to view and sign the envelope. Maximum Length: 50 characters and it must conform to the account's access code format setting. If blank, but the signer `accessCode` property is set in the envelope, then that value is used. If blank and the signer `accessCode` property is not set, then the access code is not required. + /** + * If a value is provided, the recipient must enter the value as the access code to view and sign the envelope. Maximum Length: 50 characters and it must conform to the account's access code format setting. If blank, but the signer `accessCode` property is set in the envelope, then that value is used. If blank and the signer `accessCode` property is not set, then the access code is not required.. * @return accessCode - **/ - @ApiModelProperty(example = "null", value = "If a value is provided, the recipient must enter the value as the access code to view and sign the envelope. Maximum Length: 50 characters and it must conform to the account's access code format setting. If blank, but the signer `accessCode` property is set in the envelope, then that value is used. If blank and the signer `accessCode` property is not set, then the access code is not required.") + **/ + @ApiModelProperty(value = "If a value is provided, the recipient must enter the value as the access code to view and sign the envelope. Maximum Length: 50 characters and it must conform to the account's access code format setting. If blank, but the signer `accessCode` property is set in the envelope, then that value is used. If blank and the signer `accessCode` property is not set, then the access code is not required.") public String getAccessCode() { return accessCode; } + /** + * setAccessCode. + **/ public void setAccessCode(String accessCode) { this.accessCode = accessCode; } + + /** + * accessCodeLocked. + * + * @return PowerFormRecipient + **/ public PowerFormRecipient accessCodeLocked(String accessCodeLocked) { this.accessCodeLocked = accessCodeLocked; return this; } - /** - * + /** + * . * @return accessCodeLocked - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAccessCodeLocked() { return accessCodeLocked; } + /** + * setAccessCodeLocked. + **/ public void setAccessCodeLocked(String accessCodeLocked) { this.accessCodeLocked = accessCodeLocked; } + + /** + * accessCodeRequired. + * + * @return PowerFormRecipient + **/ public PowerFormRecipient accessCodeRequired(String accessCodeRequired) { this.accessCodeRequired = accessCodeRequired; return this; } - /** - * + /** + * . * @return accessCodeRequired - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAccessCodeRequired() { return accessCodeRequired; } + /** + * setAccessCodeRequired. + **/ public void setAccessCodeRequired(String accessCodeRequired) { this.accessCodeRequired = accessCodeRequired; } + + /** + * email. + * + * @return PowerFormRecipient + **/ public PowerFormRecipient email(String email) { this.email = email; return this; } - /** - * + /** + * . * @return email - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getEmail() { return email; } + /** + * setEmail. + **/ public void setEmail(String email) { this.email = email; } + + /** + * emailLocked. + * + * @return PowerFormRecipient + **/ public PowerFormRecipient emailLocked(String emailLocked) { this.emailLocked = emailLocked; return this; } - /** - * + /** + * . * @return emailLocked - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getEmailLocked() { return emailLocked; } + /** + * setEmailLocked. + **/ public void setEmailLocked(String emailLocked) { this.emailLocked = emailLocked; } + + /** + * idCheckConfigurationName. + * + * @return PowerFormRecipient + **/ public PowerFormRecipient idCheckConfigurationName(String idCheckConfigurationName) { this.idCheckConfigurationName = idCheckConfigurationName; return this; } - /** - * Specifies authentication check by name. The names used here must be the same as the authentication type names used by the account (these name can also be found in the web console sending interface in the Identify list for a recipient,) This overrides any default authentication setting. *Example*: Your account has ID Check and SMS Authentication available and in the web console Identify list these appear as 'ID Check $' and 'SMS Auth $'. To use ID check in an envelope, the idCheckConfigurationName should be 'ID Check '. If you wanted to use SMS, it would be 'SMS Auth $' and you would need to add you would need to add phone number information to the `smsAuthentication` node. + /** + * Specifies authentication check by name. The names used here must be the same as the authentication type names used by the account (these name can also be found in the web console sending interface in the Identify list for a recipient,) This overrides any default authentication setting. *Example*: Your account has ID Check and SMS Authentication available and in the web console Identify list these appear as 'ID Check $' and 'SMS Auth $'. To use ID check in an envelope, the idCheckConfigurationName should be 'ID Check '. If you wanted to use SMS, it would be 'SMS Auth $' and you would need to add you would need to add phone number information to the `smsAuthentication` node.. * @return idCheckConfigurationName - **/ - @ApiModelProperty(example = "null", value = "Specifies authentication check by name. The names used here must be the same as the authentication type names used by the account (these name can also be found in the web console sending interface in the Identify list for a recipient,) This overrides any default authentication setting. *Example*: Your account has ID Check and SMS Authentication available and in the web console Identify list these appear as 'ID Check $' and 'SMS Auth $'. To use ID check in an envelope, the idCheckConfigurationName should be 'ID Check '. If you wanted to use SMS, it would be 'SMS Auth $' and you would need to add you would need to add phone number information to the `smsAuthentication` node.") + **/ + @ApiModelProperty(value = "Specifies authentication check by name. The names used here must be the same as the authentication type names used by the account (these name can also be found in the web console sending interface in the Identify list for a recipient,) This overrides any default authentication setting. *Example*: Your account has ID Check and SMS Authentication available and in the web console Identify list these appear as 'ID Check $' and 'SMS Auth $'. To use ID check in an envelope, the idCheckConfigurationName should be 'ID Check '. If you wanted to use SMS, it would be 'SMS Auth $' and you would need to add you would need to add phone number information to the `smsAuthentication` node.") public String getIdCheckConfigurationName() { return idCheckConfigurationName; } + /** + * setIdCheckConfigurationName. + **/ public void setIdCheckConfigurationName(String idCheckConfigurationName) { this.idCheckConfigurationName = idCheckConfigurationName; } + + /** + * idCheckRequired. + * + * @return PowerFormRecipient + **/ public PowerFormRecipient idCheckRequired(String idCheckRequired) { this.idCheckRequired = idCheckRequired; return this; } - /** - * + /** + * . * @return idCheckRequired - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getIdCheckRequired() { return idCheckRequired; } + /** + * setIdCheckRequired. + **/ public void setIdCheckRequired(String idCheckRequired) { this.idCheckRequired = idCheckRequired; } + + /** + * name. + * + * @return PowerFormRecipient + **/ public PowerFormRecipient name(String name) { this.name = name; return this; } - /** - * + /** + * . * @return name - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * recipientType. + * + * @return PowerFormRecipient + **/ public PowerFormRecipient recipientType(String recipientType) { this.recipientType = recipientType; return this; } - /** - * + /** + * . * @return recipientType - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getRecipientType() { return recipientType; } + /** + * setRecipientType. + **/ public void setRecipientType(String recipientType) { this.recipientType = recipientType; } + + /** + * roleName. + * + * @return PowerFormRecipient + **/ public PowerFormRecipient roleName(String roleName) { this.roleName = roleName; return this; } - /** - * Optional element. Specifies the role name associated with the recipient.

This is required when working with template recipients. + /** + * Optional element. Specifies the role name associated with the recipient.

This is required when working with template recipients.. * @return roleName - **/ - @ApiModelProperty(example = "null", value = "Optional element. Specifies the role name associated with the recipient.

This is required when working with template recipients.") + **/ + @ApiModelProperty(value = "Optional element. Specifies the role name associated with the recipient.

This is required when working with template recipients.") public String getRoleName() { return roleName; } + /** + * setRoleName. + **/ public void setRoleName(String roleName) { this.roleName = roleName; } + + /** + * routingOrder. + * + * @return PowerFormRecipient + **/ public PowerFormRecipient routingOrder(String routingOrder) { this.routingOrder = routingOrder; return this; } - /** - * Specifies the routing order of the recipient in the envelope. + /** + * Specifies the routing order of the recipient in the envelope. . * @return routingOrder - **/ - @ApiModelProperty(example = "null", value = "Specifies the routing order of the recipient in the envelope. ") + **/ + @ApiModelProperty(value = "Specifies the routing order of the recipient in the envelope. ") public String getRoutingOrder() { return routingOrder; } + /** + * setRoutingOrder. + **/ public void setRoutingOrder(String routingOrder) { this.routingOrder = routingOrder; } + + /** + * templateRequiresIdLookup. + * + * @return PowerFormRecipient + **/ public PowerFormRecipient templateRequiresIdLookup(String templateRequiresIdLookup) { this.templateRequiresIdLookup = templateRequiresIdLookup; return this; } - /** - * + /** + * . * @return templateRequiresIdLookup - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTemplateRequiresIdLookup() { return templateRequiresIdLookup; } + /** + * setTemplateRequiresIdLookup. + **/ public void setTemplateRequiresIdLookup(String templateRequiresIdLookup) { this.templateRequiresIdLookup = templateRequiresIdLookup; } + + /** + * userNameLocked. + * + * @return PowerFormRecipient + **/ public PowerFormRecipient userNameLocked(String userNameLocked) { this.userNameLocked = userNameLocked; return this; } - /** - * + /** + * . * @return userNameLocked - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getUserNameLocked() { return userNameLocked; } + /** + * setUserNameLocked. + **/ public void setUserNameLocked(String userNameLocked) { this.userNameLocked = userNameLocked; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -309,12 +434,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.userNameLocked, powerFormRecipient.userNameLocked); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(accessCode, accessCodeLocked, accessCodeRequired, email, emailLocked, idCheckConfigurationName, idCheckRequired, name, recipientType, roleName, routingOrder, templateRequiresIdLookup, userNameLocked); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -347,6 +478,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/PowerFormSendersResponse.java b/src/main/java/com/docusign/esign/model/PowerFormSendersResponse.java index 7798960f..b89dc216 100644 --- a/src/main/java/com/docusign/esign/model/PowerFormSendersResponse.java +++ b/src/main/java/com/docusign/esign/model/PowerFormSendersResponse.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.UserInfo; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * PowerFormSendersResponse + * PowerFormSendersResponse. + * */ public class PowerFormSendersResponse { @@ -19,7 +22,7 @@ public class PowerFormSendersResponse { private String nextUri = null; @JsonProperty("powerFormSenders") - private java.util.List powerFormSenders = new java.util.ArrayList(); + private java.util.List powerFormSenders = null; @JsonProperty("previousUri") private String previousUri = null; @@ -33,138 +36,214 @@ public class PowerFormSendersResponse { @JsonProperty("totalSetSize") private String totalSetSize = null; + + /** + * endPosition. + * + * @return PowerFormSendersResponse + **/ public PowerFormSendersResponse endPosition(String endPosition) { this.endPosition = endPosition; return this; } - /** - * The last position in the result set. + /** + * The last position in the result set. . * @return endPosition - **/ - @ApiModelProperty(example = "null", value = "The last position in the result set. ") + **/ + @ApiModelProperty(value = "The last position in the result set. ") public String getEndPosition() { return endPosition; } + /** + * setEndPosition. + **/ public void setEndPosition(String endPosition) { this.endPosition = endPosition; } + + /** + * nextUri. + * + * @return PowerFormSendersResponse + **/ public PowerFormSendersResponse nextUri(String nextUri) { this.nextUri = nextUri; return this; } - /** - * The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. + /** + * The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. . * @return nextUri - **/ - @ApiModelProperty(example = "null", value = "The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. ") + **/ + @ApiModelProperty(value = "The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. ") public String getNextUri() { return nextUri; } + /** + * setNextUri. + **/ public void setNextUri(String nextUri) { this.nextUri = nextUri; } + + /** + * powerFormSenders. + * + * @return PowerFormSendersResponse + **/ public PowerFormSendersResponse powerFormSenders(java.util.List powerFormSenders) { this.powerFormSenders = powerFormSenders; return this; } - + + /** + * addPowerFormSendersItem. + * + * @return PowerFormSendersResponse + **/ public PowerFormSendersResponse addPowerFormSendersItem(UserInfo powerFormSendersItem) { + if (this.powerFormSenders == null) { + this.powerFormSenders = new java.util.ArrayList(); + } this.powerFormSenders.add(powerFormSendersItem); return this; } - /** - * + /** + * . * @return powerFormSenders - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getPowerFormSenders() { return powerFormSenders; } + /** + * setPowerFormSenders. + **/ public void setPowerFormSenders(java.util.List powerFormSenders) { this.powerFormSenders = powerFormSenders; } + + /** + * previousUri. + * + * @return PowerFormSendersResponse + **/ public PowerFormSendersResponse previousUri(String previousUri) { this.previousUri = previousUri; return this; } - /** - * The postal code for the billing address. + /** + * The postal code for the billing address.. * @return previousUri - **/ - @ApiModelProperty(example = "null", value = "The postal code for the billing address.") + **/ + @ApiModelProperty(value = "The postal code for the billing address.") public String getPreviousUri() { return previousUri; } + /** + * setPreviousUri. + **/ public void setPreviousUri(String previousUri) { this.previousUri = previousUri; } + + /** + * resultSetSize. + * + * @return PowerFormSendersResponse + **/ public PowerFormSendersResponse resultSetSize(String resultSetSize) { this.resultSetSize = resultSetSize; return this; } - /** - * The number of results returned in this response. + /** + * The number of results returned in this response. . * @return resultSetSize - **/ - @ApiModelProperty(example = "null", value = "The number of results returned in this response. ") + **/ + @ApiModelProperty(value = "The number of results returned in this response. ") public String getResultSetSize() { return resultSetSize; } + /** + * setResultSetSize. + **/ public void setResultSetSize(String resultSetSize) { this.resultSetSize = resultSetSize; } + + /** + * startPosition. + * + * @return PowerFormSendersResponse + **/ public PowerFormSendersResponse startPosition(String startPosition) { this.startPosition = startPosition; return this; } - /** - * Starting position of the current result set. + /** + * Starting position of the current result set.. * @return startPosition - **/ - @ApiModelProperty(example = "null", value = "Starting position of the current result set.") + **/ + @ApiModelProperty(value = "Starting position of the current result set.") public String getStartPosition() { return startPosition; } + /** + * setStartPosition. + **/ public void setStartPosition(String startPosition) { this.startPosition = startPosition; } + + /** + * totalSetSize. + * + * @return PowerFormSendersResponse + **/ public PowerFormSendersResponse totalSetSize(String totalSetSize) { this.totalSetSize = totalSetSize; return this; } - /** - * The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response. + /** + * The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.. * @return totalSetSize - **/ - @ApiModelProperty(example = "null", value = "The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.") + **/ + @ApiModelProperty(value = "The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.") public String getTotalSetSize() { return totalSetSize; } + /** + * setTotalSetSize. + **/ public void setTotalSetSize(String totalSetSize) { this.totalSetSize = totalSetSize; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -183,12 +262,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.totalSetSize, powerFormSendersResponse.totalSetSize); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(endPosition, nextUri, powerFormSenders, previousUri, resultSetSize, startPosition, totalSetSize); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -215,6 +300,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/PowerFormsFormDataResponse.java b/src/main/java/com/docusign/esign/model/PowerFormsFormDataResponse.java index 6d60bdb1..cc7fb1ba 100644 --- a/src/main/java/com/docusign/esign/model/PowerFormsFormDataResponse.java +++ b/src/main/java/com/docusign/esign/model/PowerFormsFormDataResponse.java @@ -1,44 +1,69 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.PowerFormFormDataEnvelope; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * PowerFormsFormDataResponse + * PowerFormsFormDataResponse. + * */ public class PowerFormsFormDataResponse { @JsonProperty("envelopes") - private java.util.List envelopes = new java.util.ArrayList(); + private java.util.List envelopes = null; + + /** + * envelopes. + * + * @return PowerFormsFormDataResponse + **/ public PowerFormsFormDataResponse envelopes(java.util.List envelopes) { this.envelopes = envelopes; return this; } - + + /** + * addEnvelopesItem. + * + * @return PowerFormsFormDataResponse + **/ public PowerFormsFormDataResponse addEnvelopesItem(PowerFormFormDataEnvelope envelopesItem) { + if (this.envelopes == null) { + this.envelopes = new java.util.ArrayList(); + } this.envelopes.add(envelopesItem); return this; } - /** - * + /** + * . * @return envelopes - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getEnvelopes() { return envelopes; } + /** + * setEnvelopes. + **/ public void setEnvelopes(java.util.List envelopes) { this.envelopes = envelopes; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -51,12 +76,18 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.envelopes, powerFormsFormDataResponse.envelopes); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(envelopes); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -77,6 +108,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/PowerFormsRequest.java b/src/main/java/com/docusign/esign/model/PowerFormsRequest.java index 9ef67841..da23f4f7 100644 --- a/src/main/java/com/docusign/esign/model/PowerFormsRequest.java +++ b/src/main/java/com/docusign/esign/model/PowerFormsRequest.java @@ -1,44 +1,69 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.PowerForm; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * PowerFormsRequest + * PowerFormsRequest. + * */ public class PowerFormsRequest { @JsonProperty("powerForms") - private java.util.List powerForms = new java.util.ArrayList(); + private java.util.List powerForms = null; + + /** + * powerForms. + * + * @return PowerFormsRequest + **/ public PowerFormsRequest powerForms(java.util.List powerForms) { this.powerForms = powerForms; return this; } - + + /** + * addPowerFormsItem. + * + * @return PowerFormsRequest + **/ public PowerFormsRequest addPowerFormsItem(PowerForm powerFormsItem) { + if (this.powerForms == null) { + this.powerForms = new java.util.ArrayList(); + } this.powerForms.add(powerFormsItem); return this; } - /** - * + /** + * . * @return powerForms - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getPowerForms() { return powerForms; } + /** + * setPowerForms. + **/ public void setPowerForms(java.util.List powerForms) { this.powerForms = powerForms; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -51,12 +76,18 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.powerForms, powerFormsRequest.powerForms); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(powerForms); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -77,6 +108,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/PowerFormsResponse.java b/src/main/java/com/docusign/esign/model/PowerFormsResponse.java index d8784cc0..86e776d9 100644 --- a/src/main/java/com/docusign/esign/model/PowerFormsResponse.java +++ b/src/main/java/com/docusign/esign/model/PowerFormsResponse.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.PowerForm; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * PowerFormsResponse + * PowerFormsResponse. + * */ public class PowerFormsResponse { @@ -19,7 +22,7 @@ public class PowerFormsResponse { private String nextUri = null; @JsonProperty("powerForms") - private java.util.List powerForms = new java.util.ArrayList(); + private java.util.List powerForms = null; @JsonProperty("previousUri") private String previousUri = null; @@ -33,138 +36,214 @@ public class PowerFormsResponse { @JsonProperty("totalSetSize") private String totalSetSize = null; + + /** + * endPosition. + * + * @return PowerFormsResponse + **/ public PowerFormsResponse endPosition(String endPosition) { this.endPosition = endPosition; return this; } - /** - * The last position in the result set. + /** + * The last position in the result set. . * @return endPosition - **/ - @ApiModelProperty(example = "null", value = "The last position in the result set. ") + **/ + @ApiModelProperty(value = "The last position in the result set. ") public String getEndPosition() { return endPosition; } + /** + * setEndPosition. + **/ public void setEndPosition(String endPosition) { this.endPosition = endPosition; } + + /** + * nextUri. + * + * @return PowerFormsResponse + **/ public PowerFormsResponse nextUri(String nextUri) { this.nextUri = nextUri; return this; } - /** - * The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. + /** + * The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. . * @return nextUri - **/ - @ApiModelProperty(example = "null", value = "The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. ") + **/ + @ApiModelProperty(value = "The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. ") public String getNextUri() { return nextUri; } + /** + * setNextUri. + **/ public void setNextUri(String nextUri) { this.nextUri = nextUri; } + + /** + * powerForms. + * + * @return PowerFormsResponse + **/ public PowerFormsResponse powerForms(java.util.List powerForms) { this.powerForms = powerForms; return this; } - + + /** + * addPowerFormsItem. + * + * @return PowerFormsResponse + **/ public PowerFormsResponse addPowerFormsItem(PowerForm powerFormsItem) { + if (this.powerForms == null) { + this.powerForms = new java.util.ArrayList(); + } this.powerForms.add(powerFormsItem); return this; } - /** - * + /** + * . * @return powerForms - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getPowerForms() { return powerForms; } + /** + * setPowerForms. + **/ public void setPowerForms(java.util.List powerForms) { this.powerForms = powerForms; } + + /** + * previousUri. + * + * @return PowerFormsResponse + **/ public PowerFormsResponse previousUri(String previousUri) { this.previousUri = previousUri; return this; } - /** - * The postal code for the billing address. + /** + * The postal code for the billing address.. * @return previousUri - **/ - @ApiModelProperty(example = "null", value = "The postal code for the billing address.") + **/ + @ApiModelProperty(value = "The postal code for the billing address.") public String getPreviousUri() { return previousUri; } + /** + * setPreviousUri. + **/ public void setPreviousUri(String previousUri) { this.previousUri = previousUri; } + + /** + * resultSetSize. + * + * @return PowerFormsResponse + **/ public PowerFormsResponse resultSetSize(String resultSetSize) { this.resultSetSize = resultSetSize; return this; } - /** - * The number of results returned in this response. + /** + * The number of results returned in this response. . * @return resultSetSize - **/ - @ApiModelProperty(example = "null", value = "The number of results returned in this response. ") + **/ + @ApiModelProperty(value = "The number of results returned in this response. ") public String getResultSetSize() { return resultSetSize; } + /** + * setResultSetSize. + **/ public void setResultSetSize(String resultSetSize) { this.resultSetSize = resultSetSize; } + + /** + * startPosition. + * + * @return PowerFormsResponse + **/ public PowerFormsResponse startPosition(String startPosition) { this.startPosition = startPosition; return this; } - /** - * Starting position of the current result set. + /** + * Starting position of the current result set.. * @return startPosition - **/ - @ApiModelProperty(example = "null", value = "Starting position of the current result set.") + **/ + @ApiModelProperty(value = "Starting position of the current result set.") public String getStartPosition() { return startPosition; } + /** + * setStartPosition. + **/ public void setStartPosition(String startPosition) { this.startPosition = startPosition; } + + /** + * totalSetSize. + * + * @return PowerFormsResponse + **/ public PowerFormsResponse totalSetSize(String totalSetSize) { this.totalSetSize = totalSetSize; return this; } - /** - * The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response. + /** + * The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.. * @return totalSetSize - **/ - @ApiModelProperty(example = "null", value = "The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.") + **/ + @ApiModelProperty(value = "The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.") public String getTotalSetSize() { return totalSetSize; } + /** + * setTotalSetSize. + **/ public void setTotalSetSize(String totalSetSize) { this.totalSetSize = totalSetSize; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -183,12 +262,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.totalSetSize, powerFormsResponse.totalSetSize); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(endPosition, nextUri, powerForms, previousUri, resultSetSize, startPosition, totalSetSize); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -215,6 +300,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/PrefillFormData.java b/src/main/java/com/docusign/esign/model/PrefillFormData.java new file mode 100644 index 00000000..a4d2be42 --- /dev/null +++ b/src/main/java/com/docusign/esign/model/PrefillFormData.java @@ -0,0 +1,209 @@ +package com.docusign.esign.model; + +import java.util.Objects; +import java.util.Arrays; +import com.docusign.esign.model.NameValue; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +/** + * PrefillFormData. + * + */ + +public class PrefillFormData { + @JsonProperty("formData") + private java.util.List formData = null; + + @JsonProperty("senderEmail") + private String senderEmail = null; + + @JsonProperty("senderName") + private String senderName = null; + + @JsonProperty("senderUserId") + private String senderUserId = null; + + + /** + * formData. + * + * @return PrefillFormData + **/ + public PrefillFormData formData(java.util.List formData) { + this.formData = formData; + return this; + } + + /** + * addFormDataItem. + * + * @return PrefillFormData + **/ + public PrefillFormData addFormDataItem(NameValue formDataItem) { + if (this.formData == null) { + this.formData = new java.util.ArrayList(); + } + this.formData.add(formDataItem); + return this; + } + + /** + * . + * @return formData + **/ + @ApiModelProperty(value = "") + public java.util.List getFormData() { + return formData; + } + + /** + * setFormData. + **/ + public void setFormData(java.util.List formData) { + this.formData = formData; + } + + + /** + * senderEmail. + * + * @return PrefillFormData + **/ + public PrefillFormData senderEmail(String senderEmail) { + this.senderEmail = senderEmail; + return this; + } + + /** + * . + * @return senderEmail + **/ + @ApiModelProperty(value = "") + public String getSenderEmail() { + return senderEmail; + } + + /** + * setSenderEmail. + **/ + public void setSenderEmail(String senderEmail) { + this.senderEmail = senderEmail; + } + + + /** + * senderName. + * + * @return PrefillFormData + **/ + public PrefillFormData senderName(String senderName) { + this.senderName = senderName; + return this; + } + + /** + * . + * @return senderName + **/ + @ApiModelProperty(value = "") + public String getSenderName() { + return senderName; + } + + /** + * setSenderName. + **/ + public void setSenderName(String senderName) { + this.senderName = senderName; + } + + + /** + * senderUserId. + * + * @return PrefillFormData + **/ + public PrefillFormData senderUserId(String senderUserId) { + this.senderUserId = senderUserId; + return this; + } + + /** + * . + * @return senderUserId + **/ + @ApiModelProperty(value = "") + public String getSenderUserId() { + return senderUserId; + } + + /** + * setSenderUserId. + **/ + public void setSenderUserId(String senderUserId) { + this.senderUserId = senderUserId; + } + + + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PrefillFormData prefillFormData = (PrefillFormData) o; + return Objects.equals(this.formData, prefillFormData.formData) && + Objects.equals(this.senderEmail, prefillFormData.senderEmail) && + Objects.equals(this.senderName, prefillFormData.senderName) && + Objects.equals(this.senderUserId, prefillFormData.senderUserId); + } + + /** + * Returns the HashCode. + */ + @Override + public int hashCode() { + return Objects.hash(formData, senderEmail, senderName, senderUserId); + } + + + /** + * Converts the given object to string. + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PrefillFormData {\n"); + + sb.append(" formData: ").append(toIndentedString(formData)).append("\n"); + sb.append(" senderEmail: ").append(toIndentedString(senderEmail)).append("\n"); + sb.append(" senderName: ").append(toIndentedString(senderName)).append("\n"); + sb.append(" senderUserId: ").append(toIndentedString(senderUserId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/com/docusign/esign/model/PropertyMetadata.java b/src/main/java/com/docusign/esign/model/PropertyMetadata.java index e587c2c9..cffb0711 100644 --- a/src/main/java/com/docusign/esign/model/PropertyMetadata.java +++ b/src/main/java/com/docusign/esign/model/PropertyMetadata.java @@ -1,64 +1,98 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * PropertyMetadata + * PropertyMetadata. + * */ public class PropertyMetadata { @JsonProperty("options") - private java.util.List options = new java.util.ArrayList(); + private java.util.List options = null; @JsonProperty("rights") private String rights = null; + + /** + * options. + * + * @return PropertyMetadata + **/ public PropertyMetadata options(java.util.List options) { this.options = options; return this; } - + + /** + * addOptionsItem. + * + * @return PropertyMetadata + **/ public PropertyMetadata addOptionsItem(String optionsItem) { + if (this.options == null) { + this.options = new java.util.ArrayList(); + } this.options.add(optionsItem); return this; } - /** - * + /** + * . * @return options - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getOptions() { return options; } + /** + * setOptions. + **/ public void setOptions(java.util.List options) { this.options = options; } + + /** + * rights. + * + * @return PropertyMetadata + **/ public PropertyMetadata rights(String rights) { this.rights = rights; return this; } - /** - * + /** + * . * @return rights - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getRights() { return rights; } + /** + * setRights. + **/ public void setRights(String rights) { this.rights = rights; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -72,12 +106,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.rights, propertyMetadata.rights); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(options, rights); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -99,6 +139,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/Province.java b/src/main/java/com/docusign/esign/model/Province.java index 6a43cd07..d44934fa 100644 --- a/src/main/java/com/docusign/esign/model/Province.java +++ b/src/main/java/com/docusign/esign/model/Province.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Province + * Province. + * */ public class Province { @@ -17,43 +20,66 @@ public class Province { @JsonProperty("name") private String name = null; + + /** + * isoCode. + * + * @return Province + **/ public Province isoCode(String isoCode) { this.isoCode = isoCode; return this; } - /** - * + /** + * . * @return isoCode - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getIsoCode() { return isoCode; } + /** + * setIsoCode. + **/ public void setIsoCode(String isoCode) { this.isoCode = isoCode; } + + /** + * name. + * + * @return Province + **/ public Province name(String name) { this.name = name; return this; } - /** - * + /** + * . * @return name - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -67,12 +93,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.name, province.name); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(isoCode, name); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -94,6 +126,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/ProvisioningInformation.java b/src/main/java/com/docusign/esign/model/ProvisioningInformation.java index a4a8d2ec..5c9de00e 100644 --- a/src/main/java/com/docusign/esign/model/ProvisioningInformation.java +++ b/src/main/java/com/docusign/esign/model/ProvisioningInformation.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * ProvisioningInformation + * ProvisioningInformation. + * */ public class ProvisioningInformation { @@ -32,133 +35,201 @@ public class ProvisioningInformation { @JsonProperty("purchaseOrderOrPromAllowed") private String purchaseOrderOrPromAllowed = null; + + /** + * defaultConnectionId. + * + * @return ProvisioningInformation + **/ public ProvisioningInformation defaultConnectionId(String defaultConnectionId) { this.defaultConnectionId = defaultConnectionId; return this; } - /** - * + /** + * . * @return defaultConnectionId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getDefaultConnectionId() { return defaultConnectionId; } + /** + * setDefaultConnectionId. + **/ public void setDefaultConnectionId(String defaultConnectionId) { this.defaultConnectionId = defaultConnectionId; } + + /** + * defaultPlanId. + * + * @return ProvisioningInformation + **/ public ProvisioningInformation defaultPlanId(String defaultPlanId) { this.defaultPlanId = defaultPlanId; return this; } - /** - * + /** + * . * @return defaultPlanId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getDefaultPlanId() { return defaultPlanId; } + /** + * setDefaultPlanId. + **/ public void setDefaultPlanId(String defaultPlanId) { this.defaultPlanId = defaultPlanId; } + + /** + * distributorCode. + * + * @return ProvisioningInformation + **/ public ProvisioningInformation distributorCode(String distributorCode) { this.distributorCode = distributorCode; return this; } - /** - * The code that identifies the billing plan groups and plans for the new account. + /** + * The code that identifies the billing plan groups and plans for the new account.. * @return distributorCode - **/ - @ApiModelProperty(example = "null", value = "The code that identifies the billing plan groups and plans for the new account.") + **/ + @ApiModelProperty(value = "The code that identifies the billing plan groups and plans for the new account.") public String getDistributorCode() { return distributorCode; } + /** + * setDistributorCode. + **/ public void setDistributorCode(String distributorCode) { this.distributorCode = distributorCode; } + + /** + * distributorPassword. + * + * @return ProvisioningInformation + **/ public ProvisioningInformation distributorPassword(String distributorPassword) { this.distributorPassword = distributorPassword; return this; } - /** - * The password for the distributorCode. + /** + * The password for the distributorCode.. * @return distributorPassword - **/ - @ApiModelProperty(example = "null", value = "The password for the distributorCode.") + **/ + @ApiModelProperty(value = "The password for the distributorCode.") public String getDistributorPassword() { return distributorPassword; } + /** + * setDistributorPassword. + **/ public void setDistributorPassword(String distributorPassword) { this.distributorPassword = distributorPassword; } + + /** + * passwordRuleText. + * + * @return ProvisioningInformation + **/ public ProvisioningInformation passwordRuleText(String passwordRuleText) { this.passwordRuleText = passwordRuleText; return this; } - /** - * + /** + * . * @return passwordRuleText - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPasswordRuleText() { return passwordRuleText; } + /** + * setPasswordRuleText. + **/ public void setPasswordRuleText(String passwordRuleText) { this.passwordRuleText = passwordRuleText; } + + /** + * planPromotionText. + * + * @return ProvisioningInformation + **/ public ProvisioningInformation planPromotionText(String planPromotionText) { this.planPromotionText = planPromotionText; return this; } - /** - * + /** + * . * @return planPromotionText - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPlanPromotionText() { return planPromotionText; } + /** + * setPlanPromotionText. + **/ public void setPlanPromotionText(String planPromotionText) { this.planPromotionText = planPromotionText; } + + /** + * purchaseOrderOrPromAllowed. + * + * @return ProvisioningInformation + **/ public ProvisioningInformation purchaseOrderOrPromAllowed(String purchaseOrderOrPromAllowed) { this.purchaseOrderOrPromAllowed = purchaseOrderOrPromAllowed; return this; } - /** - * + /** + * . * @return purchaseOrderOrPromAllowed - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPurchaseOrderOrPromAllowed() { return purchaseOrderOrPromAllowed; } + /** + * setPurchaseOrderOrPromAllowed. + **/ public void setPurchaseOrderOrPromAllowed(String purchaseOrderOrPromAllowed) { this.purchaseOrderOrPromAllowed = purchaseOrderOrPromAllowed; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -177,12 +248,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.purchaseOrderOrPromAllowed, provisioningInformation.purchaseOrderOrPromAllowed); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(defaultConnectionId, defaultPlanId, distributorCode, distributorPassword, passwordRuleText, planPromotionText, purchaseOrderOrPromAllowed); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -209,6 +286,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/PurchasedEnvelopesInformation.java b/src/main/java/com/docusign/esign/model/PurchasedEnvelopesInformation.java index 682240e1..f27ce784 100644 --- a/src/main/java/com/docusign/esign/model/PurchasedEnvelopesInformation.java +++ b/src/main/java/com/docusign/esign/model/PurchasedEnvelopesInformation.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * PurchasedEnvelopesInformation + * PurchasedEnvelopesInformation. + * */ public class PurchasedEnvelopesInformation { @@ -38,169 +41,255 @@ public class PurchasedEnvelopesInformation { @JsonProperty("transactionId") private String transactionId = null; + + /** + * amount. + * + * @return PurchasedEnvelopesInformation + **/ public PurchasedEnvelopesInformation amount(String amount) { this.amount = amount; return this; } - /** - * The total amount of the purchase. + /** + * The total amount of the purchase.. * @return amount - **/ - @ApiModelProperty(example = "null", value = "The total amount of the purchase.") + **/ + @ApiModelProperty(value = "The total amount of the purchase.") public String getAmount() { return amount; } + /** + * setAmount. + **/ public void setAmount(String amount) { this.amount = amount; } + + /** + * appName. + * + * @return PurchasedEnvelopesInformation + **/ public PurchasedEnvelopesInformation appName(String appName) { this.appName = appName; return this; } - /** - * The AppName of the client application. + /** + * The AppName of the client application.. * @return appName - **/ - @ApiModelProperty(example = "null", value = "The AppName of the client application.") + **/ + @ApiModelProperty(value = "The AppName of the client application.") public String getAppName() { return appName; } + /** + * setAppName. + **/ public void setAppName(String appName) { this.appName = appName; } + + /** + * currencyCode. + * + * @return PurchasedEnvelopesInformation + **/ public PurchasedEnvelopesInformation currencyCode(String currencyCode) { this.currencyCode = currencyCode; return this; } - /** - * Specifies the ISO currency code of the purchase. This is based on the ISO 4217 currency code information. + /** + * Specifies the ISO currency code of the purchase. This is based on the ISO 4217 currency code information.. * @return currencyCode - **/ - @ApiModelProperty(example = "null", value = "Specifies the ISO currency code of the purchase. This is based on the ISO 4217 currency code information.") + **/ + @ApiModelProperty(value = "Specifies the ISO currency code of the purchase. This is based on the ISO 4217 currency code information.") public String getCurrencyCode() { return currencyCode; } + /** + * setCurrencyCode. + **/ public void setCurrencyCode(String currencyCode) { this.currencyCode = currencyCode; } + + /** + * platform. + * + * @return PurchasedEnvelopesInformation + **/ public PurchasedEnvelopesInformation platform(String platform) { this.platform = platform; return this; } - /** - * The Platform of the client application + /** + * The Platform of the client application. * @return platform - **/ - @ApiModelProperty(example = "null", value = "The Platform of the client application") + **/ + @ApiModelProperty(value = "The Platform of the client application") public String getPlatform() { return platform; } + /** + * setPlatform. + **/ public void setPlatform(String platform) { this.platform = platform; } + + /** + * productId. + * + * @return PurchasedEnvelopesInformation + **/ public PurchasedEnvelopesInformation productId(String productId) { this.productId = productId; return this; } - /** - * The Product ID from the AppStore. + /** + * The Product ID from the AppStore.. * @return productId - **/ - @ApiModelProperty(example = "null", value = "The Product ID from the AppStore.") + **/ + @ApiModelProperty(value = "The Product ID from the AppStore.") public String getProductId() { return productId; } + /** + * setProductId. + **/ public void setProductId(String productId) { this.productId = productId; } + + /** + * quantity. + * + * @return PurchasedEnvelopesInformation + **/ public PurchasedEnvelopesInformation quantity(String quantity) { this.quantity = quantity; return this; } - /** - * The quantity of envelopes to add to the account. + /** + * The quantity of envelopes to add to the account.. * @return quantity - **/ - @ApiModelProperty(example = "null", value = "The quantity of envelopes to add to the account.") + **/ + @ApiModelProperty(value = "The quantity of envelopes to add to the account.") public String getQuantity() { return quantity; } + /** + * setQuantity. + **/ public void setQuantity(String quantity) { this.quantity = quantity; } + + /** + * receiptData. + * + * @return PurchasedEnvelopesInformation + **/ public PurchasedEnvelopesInformation receiptData(String receiptData) { this.receiptData = receiptData; return this; } - /** - * The encrypted Base64 encoded receipt data. + /** + * The encrypted Base64 encoded receipt data.. * @return receiptData - **/ - @ApiModelProperty(example = "null", value = "The encrypted Base64 encoded receipt data.") + **/ + @ApiModelProperty(value = "The encrypted Base64 encoded receipt data.") public String getReceiptData() { return receiptData; } + /** + * setReceiptData. + **/ public void setReceiptData(String receiptData) { this.receiptData = receiptData; } + + /** + * storeName. + * + * @return PurchasedEnvelopesInformation + **/ public PurchasedEnvelopesInformation storeName(String storeName) { this.storeName = storeName; return this; } - /** - * The name of the AppStore. + /** + * The name of the AppStore.. * @return storeName - **/ - @ApiModelProperty(example = "null", value = "The name of the AppStore.") + **/ + @ApiModelProperty(value = "The name of the AppStore.") public String getStoreName() { return storeName; } + /** + * setStoreName. + **/ public void setStoreName(String storeName) { this.storeName = storeName; } + + /** + * transactionId. + * + * @return PurchasedEnvelopesInformation + **/ public PurchasedEnvelopesInformation transactionId(String transactionId) { this.transactionId = transactionId; return this; } - /** - * Specifies the Transaction ID from the AppStore. + /** + * Specifies the Transaction ID from the AppStore.. * @return transactionId - **/ - @ApiModelProperty(example = "null", value = "Specifies the Transaction ID from the AppStore.") + **/ + @ApiModelProperty(value = "Specifies the Transaction ID from the AppStore.") public String getTransactionId() { return transactionId; } + /** + * setTransactionId. + **/ public void setTransactionId(String transactionId) { this.transactionId = transactionId; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -221,12 +310,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.transactionId, purchasedEnvelopesInformation.transactionId); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(amount, appName, currencyCode, platform, productId, quantity, receiptData, storeName, transactionId); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -255,6 +350,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/Radio.java b/src/main/java/com/docusign/esign/model/Radio.java index a20ea53f..a96b4219 100644 --- a/src/main/java/com/docusign/esign/model/Radio.java +++ b/src/main/java/com/docusign/esign/model/Radio.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ErrorDetails; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Radio + * Radio. + * */ public class Radio { @@ -66,331 +69,498 @@ public class Radio { @JsonProperty("yPosition") private String yPosition = null; + + /** + * anchorCaseSensitive. + * + * @return Radio + **/ public Radio anchorCaseSensitive(String anchorCaseSensitive) { this.anchorCaseSensitive = anchorCaseSensitive; return this; } - /** - * When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**. + /** + * When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.. * @return anchorCaseSensitive - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.") + **/ + @ApiModelProperty(value = "When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.") public String getAnchorCaseSensitive() { return anchorCaseSensitive; } + /** + * setAnchorCaseSensitive. + **/ public void setAnchorCaseSensitive(String anchorCaseSensitive) { this.anchorCaseSensitive = anchorCaseSensitive; } + + /** + * anchorHorizontalAlignment. + * + * @return Radio + **/ public Radio anchorHorizontalAlignment(String anchorHorizontalAlignment) { this.anchorHorizontalAlignment = anchorHorizontalAlignment; return this; } - /** - * Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**. + /** + * Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.. * @return anchorHorizontalAlignment - **/ - @ApiModelProperty(example = "null", value = "Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.") + **/ + @ApiModelProperty(value = "Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.") public String getAnchorHorizontalAlignment() { return anchorHorizontalAlignment; } + /** + * setAnchorHorizontalAlignment. + **/ public void setAnchorHorizontalAlignment(String anchorHorizontalAlignment) { this.anchorHorizontalAlignment = anchorHorizontalAlignment; } + + /** + * anchorIgnoreIfNotPresent. + * + * @return Radio + **/ public Radio anchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { this.anchorIgnoreIfNotPresent = anchorIgnoreIfNotPresent; return this; } - /** - * When set to **true**, this tab is ignored if anchorString is not found in the document. + /** + * When set to **true**, this tab is ignored if anchorString is not found in the document.. * @return anchorIgnoreIfNotPresent - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, this tab is ignored if anchorString is not found in the document.") + **/ + @ApiModelProperty(value = "When set to **true**, this tab is ignored if anchorString is not found in the document.") public String getAnchorIgnoreIfNotPresent() { return anchorIgnoreIfNotPresent; } + /** + * setAnchorIgnoreIfNotPresent. + **/ public void setAnchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { this.anchorIgnoreIfNotPresent = anchorIgnoreIfNotPresent; } + + /** + * anchorMatchWholeWord. + * + * @return Radio + **/ public Radio anchorMatchWholeWord(String anchorMatchWholeWord) { this.anchorMatchWholeWord = anchorMatchWholeWord; return this; } - /** - * When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**. + /** + * When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.. * @return anchorMatchWholeWord - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.") + **/ + @ApiModelProperty(value = "When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.") public String getAnchorMatchWholeWord() { return anchorMatchWholeWord; } + /** + * setAnchorMatchWholeWord. + **/ public void setAnchorMatchWholeWord(String anchorMatchWholeWord) { this.anchorMatchWholeWord = anchorMatchWholeWord; } + + /** + * anchorString. + * + * @return Radio + **/ public Radio anchorString(String anchorString) { this.anchorString = anchorString; return this; } - /** - * Anchor text information for a radio button. + /** + * Anchor text information for a radio button.. * @return anchorString - **/ - @ApiModelProperty(example = "null", value = "Anchor text information for a radio button.") + **/ + @ApiModelProperty(value = "Anchor text information for a radio button.") public String getAnchorString() { return anchorString; } + /** + * setAnchorString. + **/ public void setAnchorString(String anchorString) { this.anchorString = anchorString; } + + /** + * anchorUnits. + * + * @return Radio + **/ public Radio anchorUnits(String anchorUnits) { this.anchorUnits = anchorUnits; return this; } - /** - * Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. + /** + * Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. * @return anchorUnits - **/ - @ApiModelProperty(example = "null", value = "Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.") + **/ + @ApiModelProperty(value = "Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.") public String getAnchorUnits() { return anchorUnits; } + /** + * setAnchorUnits. + **/ public void setAnchorUnits(String anchorUnits) { this.anchorUnits = anchorUnits; } + + /** + * anchorXOffset. + * + * @return Radio + **/ public Radio anchorXOffset(String anchorXOffset) { this.anchorXOffset = anchorXOffset; return this; } - /** - * Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString. + /** + * Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. * @return anchorXOffset - **/ - @ApiModelProperty(example = "null", value = "Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.") + **/ + @ApiModelProperty(value = "Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.") public String getAnchorXOffset() { return anchorXOffset; } + /** + * setAnchorXOffset. + **/ public void setAnchorXOffset(String anchorXOffset) { this.anchorXOffset = anchorXOffset; } + + /** + * anchorYOffset. + * + * @return Radio + **/ public Radio anchorYOffset(String anchorYOffset) { this.anchorYOffset = anchorYOffset; return this; } - /** - * Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString. + /** + * Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.. * @return anchorYOffset - **/ - @ApiModelProperty(example = "null", value = "Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.") + **/ + @ApiModelProperty(value = "Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.") public String getAnchorYOffset() { return anchorYOffset; } + /** + * setAnchorYOffset. + **/ public void setAnchorYOffset(String anchorYOffset) { this.anchorYOffset = anchorYOffset; } + + /** + * errorDetails. + * + * @return Radio + **/ public Radio errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * locked. + * + * @return Radio + **/ public Radio locked(String locked) { this.locked = locked; return this; } - /** - * When set to **true**, the signer cannot change the data of the custom tab. + /** + * When set to **true**, the signer cannot change the data of the custom tab.. * @return locked - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the signer cannot change the data of the custom tab.") + **/ + @ApiModelProperty(value = "When set to **true**, the signer cannot change the data of the custom tab.") public String getLocked() { return locked; } + /** + * setLocked. + **/ public void setLocked(String locked) { this.locked = locked; } + + /** + * pageNumber. + * + * @return Radio + **/ public Radio pageNumber(String pageNumber) { this.pageNumber = pageNumber; return this; } - /** - * Specifies the page number on which the tab is located. + /** + * Specifies the page number on which the tab is located.. * @return pageNumber - **/ - @ApiModelProperty(example = "null", value = "Specifies the page number on which the tab is located.") + **/ + @ApiModelProperty(value = "Specifies the page number on which the tab is located.") public String getPageNumber() { return pageNumber; } + /** + * setPageNumber. + **/ public void setPageNumber(String pageNumber) { this.pageNumber = pageNumber; } + + /** + * required. + * + * @return Radio + **/ public Radio required(String required) { this.required = required; return this; } - /** - * When set to **true**, the signer is required to fill out this tab + /** + * When set to **true**, the signer is required to fill out this tab. * @return required - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the signer is required to fill out this tab") + **/ + @ApiModelProperty(value = "When set to **true**, the signer is required to fill out this tab") public String getRequired() { return required; } + /** + * setRequired. + **/ public void setRequired(String required) { this.required = required; } + + /** + * selected. + * + * @return Radio + **/ public Radio selected(String selected) { this.selected = selected; return this; } - /** - * When set to **true**, the radio button is selected. + /** + * When set to **true**, the radio button is selected.. * @return selected - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the radio button is selected.") + **/ + @ApiModelProperty(value = "When set to **true**, the radio button is selected.") public String getSelected() { return selected; } + /** + * setSelected. + **/ public void setSelected(String selected) { this.selected = selected; } + + /** + * tabId. + * + * @return Radio + **/ public Radio tabId(String tabId) { this.tabId = tabId; return this; } - /** - * The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. + /** + * The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. . * @return tabId - **/ - @ApiModelProperty(example = "null", value = "The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. ") + **/ + @ApiModelProperty(value = "The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. ") public String getTabId() { return tabId; } + /** + * setTabId. + **/ public void setTabId(String tabId) { this.tabId = tabId; } + + /** + * tabOrder. + * + * @return Radio + **/ public Radio tabOrder(String tabOrder) { this.tabOrder = tabOrder; return this; } - /** - * + /** + * . * @return tabOrder - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTabOrder() { return tabOrder; } + /** + * setTabOrder. + **/ public void setTabOrder(String tabOrder) { this.tabOrder = tabOrder; } + + /** + * value. + * + * @return Radio + **/ public Radio value(String value) { this.value = value; return this; } - /** - * Specifies the value of the tab. + /** + * Specifies the value of the tab. . * @return value - **/ - @ApiModelProperty(example = "null", value = "Specifies the value of the tab. ") + **/ + @ApiModelProperty(value = "Specifies the value of the tab. ") public String getValue() { return value; } + /** + * setValue. + **/ public void setValue(String value) { this.value = value; } + + /** + * xPosition. + * + * @return Radio + **/ public Radio xPosition(String xPosition) { this.xPosition = xPosition; return this; } - /** - * This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position. + /** + * This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.. * @return xPosition - **/ - @ApiModelProperty(example = "null", value = "This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.") + **/ + @ApiModelProperty(value = "This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.") public String getXPosition() { return xPosition; } + /** + * setXPosition. + **/ public void setXPosition(String xPosition) { this.xPosition = xPosition; } + + /** + * yPosition. + * + * @return Radio + **/ public Radio yPosition(String yPosition) { this.yPosition = yPosition; return this; } - /** - * This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position. + /** + * This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. * @return yPosition - **/ - @ApiModelProperty(example = "null", value = "This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.") + **/ + @ApiModelProperty(value = "This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.") public String getYPosition() { return yPosition; } + /** + * setYPosition. + **/ public void setYPosition(String yPosition) { this.yPosition = yPosition; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -420,12 +590,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.yPosition, radio.yPosition); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(anchorCaseSensitive, anchorHorizontalAlignment, anchorIgnoreIfNotPresent, anchorMatchWholeWord, anchorString, anchorUnits, anchorXOffset, anchorYOffset, errorDetails, locked, pageNumber, required, selected, tabId, tabOrder, value, xPosition, yPosition); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -463,6 +639,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/RadioGroup.java b/src/main/java/com/docusign/esign/model/RadioGroup.java index 5a551d55..bba20722 100644 --- a/src/main/java/com/docusign/esign/model/RadioGroup.java +++ b/src/main/java/com/docusign/esign/model/RadioGroup.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.Radio; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * RadioGroup + * RadioGroup. + * */ public class RadioGroup { @@ -25,7 +28,7 @@ public class RadioGroup { private String groupName = null; @JsonProperty("radios") - private java.util.List radios = new java.util.ArrayList(); + private java.util.List radios = null; @JsonProperty("recipientId") private String recipientId = null; @@ -48,228 +51,349 @@ public class RadioGroup { @JsonProperty("tooltip") private String tooltip = null; + + /** + * conditionalParentLabel. + * + * @return RadioGroup + **/ public RadioGroup conditionalParentLabel(String conditionalParentLabel) { this.conditionalParentLabel = conditionalParentLabel; return this; } - /** - * For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility. + /** + * For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.. * @return conditionalParentLabel - **/ - @ApiModelProperty(example = "null", value = "For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.") + **/ + @ApiModelProperty(value = "For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.") public String getConditionalParentLabel() { return conditionalParentLabel; } + /** + * setConditionalParentLabel. + **/ public void setConditionalParentLabel(String conditionalParentLabel) { this.conditionalParentLabel = conditionalParentLabel; } + + /** + * conditionalParentValue. + * + * @return RadioGroup + **/ public RadioGroup conditionalParentValue(String conditionalParentValue) { this.conditionalParentValue = conditionalParentValue; return this; } - /** - * For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. + /** + * For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. . * @return conditionalParentValue - **/ - @ApiModelProperty(example = "null", value = "For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. ") + **/ + @ApiModelProperty(value = "For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. ") public String getConditionalParentValue() { return conditionalParentValue; } + /** + * setConditionalParentValue. + **/ public void setConditionalParentValue(String conditionalParentValue) { this.conditionalParentValue = conditionalParentValue; } + + /** + * documentId. + * + * @return RadioGroup + **/ public RadioGroup documentId(String documentId) { this.documentId = documentId; return this; } - /** - * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute. + /** + * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.. * @return documentId - **/ - @ApiModelProperty(example = "null", value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") + **/ + @ApiModelProperty(value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") public String getDocumentId() { return documentId; } + /** + * setDocumentId. + **/ public void setDocumentId(String documentId) { this.documentId = documentId; } + + /** + * groupName. + * + * @return RadioGroup + **/ public RadioGroup groupName(String groupName) { this.groupName = groupName; return this; } - /** - * The name of the group. + /** + * The name of the group.. * @return groupName - **/ - @ApiModelProperty(example = "null", value = "The name of the group.") + **/ + @ApiModelProperty(value = "The name of the group.") public String getGroupName() { return groupName; } + /** + * setGroupName. + **/ public void setGroupName(String groupName) { this.groupName = groupName; } + + /** + * radios. + * + * @return RadioGroup + **/ public RadioGroup radios(java.util.List radios) { this.radios = radios; return this; } - + + /** + * addRadiosItem. + * + * @return RadioGroup + **/ public RadioGroup addRadiosItem(Radio radiosItem) { + if (this.radios == null) { + this.radios = new java.util.ArrayList(); + } this.radios.add(radiosItem); return this; } - /** - * Specifies the locations and status for radio buttons that are grouped together. + /** + * Specifies the locations and status for radio buttons that are grouped together.. * @return radios - **/ - @ApiModelProperty(example = "null", value = "Specifies the locations and status for radio buttons that are grouped together.") + **/ + @ApiModelProperty(value = "Specifies the locations and status for radio buttons that are grouped together.") public java.util.List getRadios() { return radios; } + /** + * setRadios. + **/ public void setRadios(java.util.List radios) { this.radios = radios; } + + /** + * recipientId. + * + * @return RadioGroup + **/ public RadioGroup recipientId(String recipientId) { this.recipientId = recipientId; return this; } - /** - * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document. + /** + * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.. * @return recipientId - **/ - @ApiModelProperty(example = "null", value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") + **/ + @ApiModelProperty(value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") public String getRecipientId() { return recipientId; } + /** + * setRecipientId. + **/ public void setRecipientId(String recipientId) { this.recipientId = recipientId; } + + /** + * requireAll. + * + * @return RadioGroup + **/ public RadioGroup requireAll(String requireAll) { this.requireAll = requireAll; return this; } - /** - * When set to **true** and shared is true, information must be entered in this field to complete the envelope. + /** + * When set to **true** and shared is true, information must be entered in this field to complete the envelope. . * @return requireAll - **/ - @ApiModelProperty(example = "null", value = "When set to **true** and shared is true, information must be entered in this field to complete the envelope. ") + **/ + @ApiModelProperty(value = "When set to **true** and shared is true, information must be entered in this field to complete the envelope. ") public String getRequireAll() { return requireAll; } + /** + * setRequireAll. + **/ public void setRequireAll(String requireAll) { this.requireAll = requireAll; } + + /** + * requireInitialOnSharedChange. + * + * @return RadioGroup + **/ public RadioGroup requireInitialOnSharedChange(String requireInitialOnSharedChange) { this.requireInitialOnSharedChange = requireInitialOnSharedChange; return this; } - /** - * Optional element for field markup. When set to **true**, the signer is required to initial when they modify a shared field. + /** + * Optional element for field markup. When set to **true**, the signer is required to initial when they modify a shared field.. * @return requireInitialOnSharedChange - **/ - @ApiModelProperty(example = "null", value = "Optional element for field markup. When set to **true**, the signer is required to initial when they modify a shared field.") + **/ + @ApiModelProperty(value = "Optional element for field markup. When set to **true**, the signer is required to initial when they modify a shared field.") public String getRequireInitialOnSharedChange() { return requireInitialOnSharedChange; } + /** + * setRequireInitialOnSharedChange. + **/ public void setRequireInitialOnSharedChange(String requireInitialOnSharedChange) { this.requireInitialOnSharedChange = requireInitialOnSharedChange; } + + /** + * shared. + * + * @return RadioGroup + **/ public RadioGroup shared(String shared) { this.shared = shared; return this; } - /** - * When set to **true**, this custom tab is shared. + /** + * When set to **true**, this custom tab is shared.. * @return shared - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, this custom tab is shared.") + **/ + @ApiModelProperty(value = "When set to **true**, this custom tab is shared.") public String getShared() { return shared; } + /** + * setShared. + **/ public void setShared(String shared) { this.shared = shared; } + + /** + * templateLocked. + * + * @return RadioGroup + **/ public RadioGroup templateLocked(String templateLocked) { this.templateLocked = templateLocked; return this; } - /** - * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. . * @return templateLocked - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") + **/ + @ApiModelProperty(value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") public String getTemplateLocked() { return templateLocked; } + /** + * setTemplateLocked. + **/ public void setTemplateLocked(String templateLocked) { this.templateLocked = templateLocked; } + + /** + * templateRequired. + * + * @return RadioGroup + **/ public RadioGroup templateRequired(String templateRequired) { this.templateRequired = templateRequired; return this; } - /** - * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.. * @return templateRequired - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") + **/ + @ApiModelProperty(value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") public String getTemplateRequired() { return templateRequired; } + /** + * setTemplateRequired. + **/ public void setTemplateRequired(String templateRequired) { this.templateRequired = templateRequired; } + + /** + * tooltip. + * + * @return RadioGroup + **/ public RadioGroup tooltip(String tooltip) { this.tooltip = tooltip; return this; } - /** - * + /** + * . * @return tooltip - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTooltip() { return tooltip; } + /** + * setTooltip. + **/ public void setTooltip(String tooltip) { this.tooltip = tooltip; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -293,12 +417,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.tooltip, radioGroup.tooltip); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(conditionalParentLabel, conditionalParentValue, documentId, groupName, radios, recipientId, requireAll, requireInitialOnSharedChange, shared, templateLocked, templateRequired, tooltip); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -330,6 +460,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/RecipientAttachment.java b/src/main/java/com/docusign/esign/model/RecipientAttachment.java index 319cb537..53e3adf1 100644 --- a/src/main/java/com/docusign/esign/model/RecipientAttachment.java +++ b/src/main/java/com/docusign/esign/model/RecipientAttachment.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * RecipientAttachment + * RecipientAttachment. + * */ public class RecipientAttachment { @@ -29,115 +32,174 @@ public class RecipientAttachment { @JsonProperty("remoteUrl") private String remoteUrl = null; + + /** + * attachmentId. + * + * @return RecipientAttachment + **/ public RecipientAttachment attachmentId(String attachmentId) { this.attachmentId = attachmentId; return this; } - /** - * + /** + * . * @return attachmentId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAttachmentId() { return attachmentId; } + /** + * setAttachmentId. + **/ public void setAttachmentId(String attachmentId) { this.attachmentId = attachmentId; } + + /** + * attachmentType. + * + * @return RecipientAttachment + **/ public RecipientAttachment attachmentType(String attachmentType) { this.attachmentType = attachmentType; return this; } - /** - * + /** + * . * @return attachmentType - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAttachmentType() { return attachmentType; } + /** + * setAttachmentType. + **/ public void setAttachmentType(String attachmentType) { this.attachmentType = attachmentType; } + + /** + * data. + * + * @return RecipientAttachment + **/ public RecipientAttachment data(String data) { this.data = data; return this; } - /** - * + /** + * . * @return data - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getData() { return data; } + /** + * setData. + **/ public void setData(String data) { this.data = data; } + + /** + * label. + * + * @return RecipientAttachment + **/ public RecipientAttachment label(String label) { this.label = label; return this; } - /** - * + /** + * . * @return label - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getLabel() { return label; } + /** + * setLabel. + **/ public void setLabel(String label) { this.label = label; } + + /** + * name. + * + * @return RecipientAttachment + **/ public RecipientAttachment name(String name) { this.name = name; return this; } - /** - * + /** + * . * @return name - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * remoteUrl. + * + * @return RecipientAttachment + **/ public RecipientAttachment remoteUrl(String remoteUrl) { this.remoteUrl = remoteUrl; return this; } - /** - * + /** + * . * @return remoteUrl - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getRemoteUrl() { return remoteUrl; } + /** + * setRemoteUrl. + **/ public void setRemoteUrl(String remoteUrl) { this.remoteUrl = remoteUrl; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -155,12 +217,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.remoteUrl, recipientAttachment.remoteUrl); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(attachmentId, attachmentType, data, label, name, remoteUrl); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -186,6 +254,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/RecipientDomain.java b/src/main/java/com/docusign/esign/model/RecipientDomain.java index d8deb28a..e710c6a6 100644 --- a/src/main/java/com/docusign/esign/model/RecipientDomain.java +++ b/src/main/java/com/docusign/esign/model/RecipientDomain.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * RecipientDomain + * RecipientDomain. + * */ public class RecipientDomain { @@ -23,79 +26,120 @@ public class RecipientDomain { @JsonProperty("recipientDomainId") private String recipientDomainId = null; + + /** + * active. + * + * @return RecipientDomain + **/ public RecipientDomain active(String active) { this.active = active; return this; } - /** - * + /** + * . * @return active - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getActive() { return active; } + /** + * setActive. + **/ public void setActive(String active) { this.active = active; } + + /** + * domainCode. + * + * @return RecipientDomain + **/ public RecipientDomain domainCode(String domainCode) { this.domainCode = domainCode; return this; } - /** - * + /** + * . * @return domainCode - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getDomainCode() { return domainCode; } + /** + * setDomainCode. + **/ public void setDomainCode(String domainCode) { this.domainCode = domainCode; } + + /** + * domainName. + * + * @return RecipientDomain + **/ public RecipientDomain domainName(String domainName) { this.domainName = domainName; return this; } - /** - * + /** + * . * @return domainName - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getDomainName() { return domainName; } + /** + * setDomainName. + **/ public void setDomainName(String domainName) { this.domainName = domainName; } + + /** + * recipientDomainId. + * + * @return RecipientDomain + **/ public RecipientDomain recipientDomainId(String recipientDomainId) { this.recipientDomainId = recipientDomainId; return this; } - /** - * + /** + * . * @return recipientDomainId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getRecipientDomainId() { return recipientDomainId; } + /** + * setRecipientDomainId. + **/ public void setRecipientDomainId(String recipientDomainId) { this.recipientDomainId = recipientDomainId; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -111,12 +155,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.recipientDomainId, recipientDomain.recipientDomainId); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(active, domainCode, domainName, recipientDomainId); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -140,6 +190,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/RecipientEmailNotification.java b/src/main/java/com/docusign/esign/model/RecipientEmailNotification.java index 3a328a3c..8662c93f 100644 --- a/src/main/java/com/docusign/esign/model/RecipientEmailNotification.java +++ b/src/main/java/com/docusign/esign/model/RecipientEmailNotification.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * RecipientEmailNotification + * RecipientEmailNotification. + * */ public class RecipientEmailNotification { @@ -20,61 +23,93 @@ public class RecipientEmailNotification { @JsonProperty("supportedLanguage") private String supportedLanguage = null; + + /** + * emailBody. + * + * @return RecipientEmailNotification + **/ public RecipientEmailNotification emailBody(String emailBody) { this.emailBody = emailBody; return this; } - /** - * Specifies the email body of the message sent to the recipient. Maximum length: 10000 characters. + /** + * Specifies the email body of the message sent to the recipient. Maximum length: 10000 characters. . * @return emailBody - **/ - @ApiModelProperty(example = "null", value = "Specifies the email body of the message sent to the recipient. Maximum length: 10000 characters. ") + **/ + @ApiModelProperty(value = "Specifies the email body of the message sent to the recipient. Maximum length: 10000 characters. ") public String getEmailBody() { return emailBody; } + /** + * setEmailBody. + **/ public void setEmailBody(String emailBody) { this.emailBody = emailBody; } + + /** + * emailSubject. + * + * @return RecipientEmailNotification + **/ public RecipientEmailNotification emailSubject(String emailSubject) { this.emailSubject = emailSubject; return this; } - /** - * Specifies the subject of the email that is sent to all recipients. See [ML:Template Email Subject Merge Fields] for information about adding merge field information to the email subject. + /** + * Specifies the subject of the email that is sent to all recipients. See [ML:Template Email Subject Merge Fields] for information about adding merge field information to the email subject.. * @return emailSubject - **/ - @ApiModelProperty(example = "null", value = "Specifies the subject of the email that is sent to all recipients. See [ML:Template Email Subject Merge Fields] for information about adding merge field information to the email subject.") + **/ + @ApiModelProperty(value = "Specifies the subject of the email that is sent to all recipients. See [ML:Template Email Subject Merge Fields] for information about adding merge field information to the email subject.") public String getEmailSubject() { return emailSubject; } + /** + * setEmailSubject. + **/ public void setEmailSubject(String emailSubject) { this.emailSubject = emailSubject; } + + /** + * supportedLanguage. + * + * @return RecipientEmailNotification + **/ public RecipientEmailNotification supportedLanguage(String supportedLanguage) { this.supportedLanguage = supportedLanguage; return this; } - /** - * A simple type enumeration of the language used. The supported languages, with the language value shown in parenthesis, are: Arabic (ar), Bahasa Indonesia (id), Bahasa Melayu (ms) Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro),Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk), and Vietnamese (vi). + /** + * A simple type enumeration of the language used. The supported languages, with the language value shown in parenthesis, are: Arabic (ar), Armenian (hy), Bahasa Indonesia (id), Bahasa Melayu (ms) Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro),Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk), and Vietnamese (vi).. * @return supportedLanguage - **/ - @ApiModelProperty(example = "null", value = "A simple type enumeration of the language used. The supported languages, with the language value shown in parenthesis, are: Arabic (ar), Bahasa Indonesia (id), Bahasa Melayu (ms) Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro),Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk), and Vietnamese (vi).") + **/ + @ApiModelProperty(value = "A simple type enumeration of the language used. The supported languages, with the language value shown in parenthesis, are: Arabic (ar), Armenian (hy), Bahasa Indonesia (id), Bahasa Melayu (ms) Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro),Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk), and Vietnamese (vi).") public String getSupportedLanguage() { return supportedLanguage; } + /** + * setSupportedLanguage. + **/ public void setSupportedLanguage(String supportedLanguage) { this.supportedLanguage = supportedLanguage; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -89,12 +124,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.supportedLanguage, recipientEmailNotification.supportedLanguage); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(emailBody, emailSubject, supportedLanguage); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -117,6 +158,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/RecipientEvent.java b/src/main/java/com/docusign/esign/model/RecipientEvent.java index 236640a5..6f2b9f32 100644 --- a/src/main/java/com/docusign/esign/model/RecipientEvent.java +++ b/src/main/java/com/docusign/esign/model/RecipientEvent.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * RecipientEvent + * RecipientEvent. + * */ public class RecipientEvent { @@ -17,43 +20,66 @@ public class RecipientEvent { @JsonProperty("recipientEventStatusCode") private String recipientEventStatusCode = null; + + /** + * includeDocuments. + * + * @return RecipientEvent + **/ public RecipientEvent includeDocuments(String includeDocuments) { this.includeDocuments = includeDocuments; return this; } - /** - * When set to **true**, the PDF documents are included in the message along with the updated XML. + /** + * When set to **true**, the PDF documents are included in the message along with the updated XML. . * @return includeDocuments - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the PDF documents are included in the message along with the updated XML. ") + **/ + @ApiModelProperty(value = "When set to **true**, the PDF documents are included in the message along with the updated XML. ") public String getIncludeDocuments() { return includeDocuments; } + /** + * setIncludeDocuments. + **/ public void setIncludeDocuments(String includeDocuments) { this.includeDocuments = includeDocuments; } + + /** + * recipientEventStatusCode. + * + * @return RecipientEvent + **/ public RecipientEvent recipientEventStatusCode(String recipientEventStatusCode) { this.recipientEventStatusCode = recipientEventStatusCode; return this; } - /** - * The recipient status, this can be Sent, Delivered, Completed, Declined, AuthenticationFailed, and AutoResponded. + /** + * The recipient status, this can be Sent, Delivered, Completed, Declined, AuthenticationFailed, and AutoResponded.. * @return recipientEventStatusCode - **/ - @ApiModelProperty(example = "null", value = "The recipient status, this can be Sent, Delivered, Completed, Declined, AuthenticationFailed, and AutoResponded.") + **/ + @ApiModelProperty(value = "The recipient status, this can be Sent, Delivered, Completed, Declined, AuthenticationFailed, and AutoResponded.") public String getRecipientEventStatusCode() { return recipientEventStatusCode; } + /** + * setRecipientEventStatusCode. + **/ public void setRecipientEventStatusCode(String recipientEventStatusCode) { this.recipientEventStatusCode = recipientEventStatusCode; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -67,12 +93,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.recipientEventStatusCode, recipientEvent.recipientEventStatusCode); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(includeDocuments, recipientEventStatusCode); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -94,6 +126,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/RecipientFormData.java b/src/main/java/com/docusign/esign/model/RecipientFormData.java index 49c3bace..3fbc4a8f 100644 --- a/src/main/java/com/docusign/esign/model/RecipientFormData.java +++ b/src/main/java/com/docusign/esign/model/RecipientFormData.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.NameValue; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * RecipientFormData + * RecipientFormData. + * */ public class RecipientFormData { @@ -22,7 +25,7 @@ public class RecipientFormData { private String email = null; @JsonProperty("formData") - private java.util.List formData = new java.util.ArrayList(); + private java.util.List formData = null; @JsonProperty("name") private String name = null; @@ -36,156 +39,241 @@ public class RecipientFormData { @JsonProperty("signedTime") private String signedTime = null; + + /** + * declinedTime. + * + * @return RecipientFormData + **/ public RecipientFormData declinedTime(String declinedTime) { this.declinedTime = declinedTime; return this; } - /** - * + /** + * . * @return declinedTime - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getDeclinedTime() { return declinedTime; } + /** + * setDeclinedTime. + **/ public void setDeclinedTime(String declinedTime) { this.declinedTime = declinedTime; } + + /** + * deliveredTime. + * + * @return RecipientFormData + **/ public RecipientFormData deliveredTime(String deliveredTime) { this.deliveredTime = deliveredTime; return this; } - /** - * + /** + * . * @return deliveredTime - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getDeliveredTime() { return deliveredTime; } + /** + * setDeliveredTime. + **/ public void setDeliveredTime(String deliveredTime) { this.deliveredTime = deliveredTime; } + + /** + * email. + * + * @return RecipientFormData + **/ public RecipientFormData email(String email) { this.email = email; return this; } - /** - * + /** + * . * @return email - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getEmail() { return email; } + /** + * setEmail. + **/ public void setEmail(String email) { this.email = email; } + + /** + * formData. + * + * @return RecipientFormData + **/ public RecipientFormData formData(java.util.List formData) { this.formData = formData; return this; } - + + /** + * addFormDataItem. + * + * @return RecipientFormData + **/ public RecipientFormData addFormDataItem(NameValue formDataItem) { + if (this.formData == null) { + this.formData = new java.util.ArrayList(); + } this.formData.add(formDataItem); return this; } - /** - * + /** + * . * @return formData - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getFormData() { return formData; } + /** + * setFormData. + **/ public void setFormData(java.util.List formData) { this.formData = formData; } + + /** + * name. + * + * @return RecipientFormData + **/ public RecipientFormData name(String name) { this.name = name; return this; } - /** - * + /** + * . * @return name - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * recipientId. + * + * @return RecipientFormData + **/ public RecipientFormData recipientId(String recipientId) { this.recipientId = recipientId; return this; } - /** - * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document. + /** + * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.. * @return recipientId - **/ - @ApiModelProperty(example = "null", value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") + **/ + @ApiModelProperty(value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") public String getRecipientId() { return recipientId; } + /** + * setRecipientId. + **/ public void setRecipientId(String recipientId) { this.recipientId = recipientId; } + + /** + * sentTime. + * + * @return RecipientFormData + **/ public RecipientFormData sentTime(String sentTime) { this.sentTime = sentTime; return this; } - /** - * + /** + * . * @return sentTime - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSentTime() { return sentTime; } + /** + * setSentTime. + **/ public void setSentTime(String sentTime) { this.sentTime = sentTime; } + + /** + * signedTime. + * + * @return RecipientFormData + **/ public RecipientFormData signedTime(String signedTime) { this.signedTime = signedTime; return this; } - /** - * + /** + * . * @return signedTime - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSignedTime() { return signedTime; } + /** + * setSignedTime. + **/ public void setSignedTime(String signedTime) { this.signedTime = signedTime; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -205,12 +293,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.signedTime, recipientFormData.signedTime); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(declinedTime, deliveredTime, email, formData, name, recipientId, sentTime, signedTime); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -238,6 +332,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/RecipientIdentityInputOption.java b/src/main/java/com/docusign/esign/model/RecipientIdentityInputOption.java new file mode 100644 index 00000000..dbce384d --- /dev/null +++ b/src/main/java/com/docusign/esign/model/RecipientIdentityInputOption.java @@ -0,0 +1,177 @@ +package com.docusign.esign.model; + +import java.util.Objects; +import java.util.Arrays; +import com.docusign.esign.model.RecipientIdentityPhoneNumber; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +/** + * RecipientIdentityInputOption. + * + */ + +public class RecipientIdentityInputOption { + @JsonProperty("name") + private String name = null; + + @JsonProperty("phoneNumberList") + private java.util.List phoneNumberList = null; + + @JsonProperty("valueType") + private String valueType = null; + + + /** + * name. + * + * @return RecipientIdentityInputOption + **/ + public RecipientIdentityInputOption name(String name) { + this.name = name; + return this; + } + + /** + * . + * @return name + **/ + @ApiModelProperty(value = "") + public String getName() { + return name; + } + + /** + * setName. + **/ + public void setName(String name) { + this.name = name; + } + + + /** + * phoneNumberList. + * + * @return RecipientIdentityInputOption + **/ + public RecipientIdentityInputOption phoneNumberList(java.util.List phoneNumberList) { + this.phoneNumberList = phoneNumberList; + return this; + } + + /** + * addPhoneNumberListItem. + * + * @return RecipientIdentityInputOption + **/ + public RecipientIdentityInputOption addPhoneNumberListItem(RecipientIdentityPhoneNumber phoneNumberListItem) { + if (this.phoneNumberList == null) { + this.phoneNumberList = new java.util.ArrayList(); + } + this.phoneNumberList.add(phoneNumberListItem); + return this; + } + + /** + * . + * @return phoneNumberList + **/ + @ApiModelProperty(value = "") + public java.util.List getPhoneNumberList() { + return phoneNumberList; + } + + /** + * setPhoneNumberList. + **/ + public void setPhoneNumberList(java.util.List phoneNumberList) { + this.phoneNumberList = phoneNumberList; + } + + + /** + * valueType. + * + * @return RecipientIdentityInputOption + **/ + public RecipientIdentityInputOption valueType(String valueType) { + this.valueType = valueType; + return this; + } + + /** + * . + * @return valueType + **/ + @ApiModelProperty(value = "") + public String getValueType() { + return valueType; + } + + /** + * setValueType. + **/ + public void setValueType(String valueType) { + this.valueType = valueType; + } + + + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + RecipientIdentityInputOption recipientIdentityInputOption = (RecipientIdentityInputOption) o; + return Objects.equals(this.name, recipientIdentityInputOption.name) && + Objects.equals(this.phoneNumberList, recipientIdentityInputOption.phoneNumberList) && + Objects.equals(this.valueType, recipientIdentityInputOption.valueType); + } + + /** + * Returns the HashCode. + */ + @Override + public int hashCode() { + return Objects.hash(name, phoneNumberList, valueType); + } + + + /** + * Converts the given object to string. + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class RecipientIdentityInputOption {\n"); + + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" phoneNumberList: ").append(toIndentedString(phoneNumberList)).append("\n"); + sb.append(" valueType: ").append(toIndentedString(valueType)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/com/docusign/esign/model/RecipientIdentityPhoneNumber.java b/src/main/java/com/docusign/esign/model/RecipientIdentityPhoneNumber.java new file mode 100644 index 00000000..0a03eb39 --- /dev/null +++ b/src/main/java/com/docusign/esign/model/RecipientIdentityPhoneNumber.java @@ -0,0 +1,195 @@ +package com.docusign.esign.model; + +import java.util.Objects; +import java.util.Arrays; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +/** + * RecipientIdentityPhoneNumber. + * + */ + +public class RecipientIdentityPhoneNumber { + @JsonProperty("countryCode") + private String countryCode = null; + + @JsonProperty("countryCodeLock") + private String countryCodeLock = null; + + @JsonProperty("extension") + private String extension = null; + + @JsonProperty("number") + private String number = null; + + + /** + * countryCode. + * + * @return RecipientIdentityPhoneNumber + **/ + public RecipientIdentityPhoneNumber countryCode(String countryCode) { + this.countryCode = countryCode; + return this; + } + + /** + * . + * @return countryCode + **/ + @ApiModelProperty(value = "") + public String getCountryCode() { + return countryCode; + } + + /** + * setCountryCode. + **/ + public void setCountryCode(String countryCode) { + this.countryCode = countryCode; + } + + + /** + * countryCodeLock. + * + * @return RecipientIdentityPhoneNumber + **/ + public RecipientIdentityPhoneNumber countryCodeLock(String countryCodeLock) { + this.countryCodeLock = countryCodeLock; + return this; + } + + /** + * . + * @return countryCodeLock + **/ + @ApiModelProperty(value = "") + public String getCountryCodeLock() { + return countryCodeLock; + } + + /** + * setCountryCodeLock. + **/ + public void setCountryCodeLock(String countryCodeLock) { + this.countryCodeLock = countryCodeLock; + } + + + /** + * extension. + * + * @return RecipientIdentityPhoneNumber + **/ + public RecipientIdentityPhoneNumber extension(String extension) { + this.extension = extension; + return this; + } + + /** + * . + * @return extension + **/ + @ApiModelProperty(value = "") + public String getExtension() { + return extension; + } + + /** + * setExtension. + **/ + public void setExtension(String extension) { + this.extension = extension; + } + + + /** + * number. + * + * @return RecipientIdentityPhoneNumber + **/ + public RecipientIdentityPhoneNumber number(String number) { + this.number = number; + return this; + } + + /** + * . + * @return number + **/ + @ApiModelProperty(value = "") + public String getNumber() { + return number; + } + + /** + * setNumber. + **/ + public void setNumber(String number) { + this.number = number; + } + + + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + RecipientIdentityPhoneNumber recipientIdentityPhoneNumber = (RecipientIdentityPhoneNumber) o; + return Objects.equals(this.countryCode, recipientIdentityPhoneNumber.countryCode) && + Objects.equals(this.countryCodeLock, recipientIdentityPhoneNumber.countryCodeLock) && + Objects.equals(this.extension, recipientIdentityPhoneNumber.extension) && + Objects.equals(this.number, recipientIdentityPhoneNumber.number); + } + + /** + * Returns the HashCode. + */ + @Override + public int hashCode() { + return Objects.hash(countryCode, countryCodeLock, extension, number); + } + + + /** + * Converts the given object to string. + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class RecipientIdentityPhoneNumber {\n"); + + sb.append(" countryCode: ").append(toIndentedString(countryCode)).append("\n"); + sb.append(" countryCodeLock: ").append(toIndentedString(countryCodeLock)).append("\n"); + sb.append(" extension: ").append(toIndentedString(extension)).append("\n"); + sb.append(" number: ").append(toIndentedString(number)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/com/docusign/esign/model/RecipientIdentityVerification.java b/src/main/java/com/docusign/esign/model/RecipientIdentityVerification.java new file mode 100644 index 00000000..a5951cbf --- /dev/null +++ b/src/main/java/com/docusign/esign/model/RecipientIdentityVerification.java @@ -0,0 +1,145 @@ +package com.docusign.esign.model; + +import java.util.Objects; +import java.util.Arrays; +import com.docusign.esign.model.RecipientIdentityInputOption; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +/** + * RecipientIdentityVerification. + * + */ + +public class RecipientIdentityVerification { + @JsonProperty("inputOptions") + private java.util.List inputOptions = null; + + @JsonProperty("workflowId") + private String workflowId = null; + + + /** + * inputOptions. + * + * @return RecipientIdentityVerification + **/ + public RecipientIdentityVerification inputOptions(java.util.List inputOptions) { + this.inputOptions = inputOptions; + return this; + } + + /** + * addInputOptionsItem. + * + * @return RecipientIdentityVerification + **/ + public RecipientIdentityVerification addInputOptionsItem(RecipientIdentityInputOption inputOptionsItem) { + if (this.inputOptions == null) { + this.inputOptions = new java.util.ArrayList(); + } + this.inputOptions.add(inputOptionsItem); + return this; + } + + /** + * . + * @return inputOptions + **/ + @ApiModelProperty(value = "") + public java.util.List getInputOptions() { + return inputOptions; + } + + /** + * setInputOptions. + **/ + public void setInputOptions(java.util.List inputOptions) { + this.inputOptions = inputOptions; + } + + + /** + * workflowId. + * + * @return RecipientIdentityVerification + **/ + public RecipientIdentityVerification workflowId(String workflowId) { + this.workflowId = workflowId; + return this; + } + + /** + * . + * @return workflowId + **/ + @ApiModelProperty(value = "") + public String getWorkflowId() { + return workflowId; + } + + /** + * setWorkflowId. + **/ + public void setWorkflowId(String workflowId) { + this.workflowId = workflowId; + } + + + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + RecipientIdentityVerification recipientIdentityVerification = (RecipientIdentityVerification) o; + return Objects.equals(this.inputOptions, recipientIdentityVerification.inputOptions) && + Objects.equals(this.workflowId, recipientIdentityVerification.workflowId); + } + + /** + * Returns the HashCode. + */ + @Override + public int hashCode() { + return Objects.hash(inputOptions, workflowId); + } + + + /** + * Converts the given object to string. + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class RecipientIdentityVerification {\n"); + + sb.append(" inputOptions: ").append(toIndentedString(inputOptions)).append("\n"); + sb.append(" workflowId: ").append(toIndentedString(workflowId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/com/docusign/esign/model/RecipientNamesResponse.java b/src/main/java/com/docusign/esign/model/RecipientNamesResponse.java index 5a018ff5..f67755dd 100644 --- a/src/main/java/com/docusign/esign/model/RecipientNamesResponse.java +++ b/src/main/java/com/docusign/esign/model/RecipientNamesResponse.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * RecipientNamesResponse + * RecipientNamesResponse. + * */ public class RecipientNamesResponse { @@ -15,71 +18,111 @@ public class RecipientNamesResponse { private String multipleUsers = null; @JsonProperty("recipientNames") - private java.util.List recipientNames = new java.util.ArrayList(); + private java.util.List recipientNames = null; @JsonProperty("reservedRecipientEmail") private String reservedRecipientEmail = null; + + /** + * multipleUsers. + * + * @return RecipientNamesResponse + **/ public RecipientNamesResponse multipleUsers(String multipleUsers) { this.multipleUsers = multipleUsers; return this; } - /** - * Indicates whether email address is used by more than one user. + /** + * Indicates whether email address is used by more than one user.. * @return multipleUsers - **/ - @ApiModelProperty(example = "null", value = "Indicates whether email address is used by more than one user.") + **/ + @ApiModelProperty(value = "Indicates whether email address is used by more than one user.") public String getMultipleUsers() { return multipleUsers; } + /** + * setMultipleUsers. + **/ public void setMultipleUsers(String multipleUsers) { this.multipleUsers = multipleUsers; } + + /** + * recipientNames. + * + * @return RecipientNamesResponse + **/ public RecipientNamesResponse recipientNames(java.util.List recipientNames) { this.recipientNames = recipientNames; return this; } - + + /** + * addRecipientNamesItem. + * + * @return RecipientNamesResponse + **/ public RecipientNamesResponse addRecipientNamesItem(String recipientNamesItem) { + if (this.recipientNames == null) { + this.recipientNames = new java.util.ArrayList(); + } this.recipientNames.add(recipientNamesItem); return this; } - /** - * + /** + * . * @return recipientNames - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getRecipientNames() { return recipientNames; } + /** + * setRecipientNames. + **/ public void setRecipientNames(java.util.List recipientNames) { this.recipientNames = recipientNames; } + + /** + * reservedRecipientEmail. + * + * @return RecipientNamesResponse + **/ public RecipientNamesResponse reservedRecipientEmail(String reservedRecipientEmail) { this.reservedRecipientEmail = reservedRecipientEmail; return this; } - /** - * + /** + * . * @return reservedRecipientEmail - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getReservedRecipientEmail() { return reservedRecipientEmail; } + /** + * setReservedRecipientEmail. + **/ public void setReservedRecipientEmail(String reservedRecipientEmail) { this.reservedRecipientEmail = reservedRecipientEmail; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -94,12 +137,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.reservedRecipientEmail, recipientNamesResponse.reservedRecipientEmail); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(multipleUsers, recipientNames, reservedRecipientEmail); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -122,6 +171,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/RecipientPhoneAuthentication.java b/src/main/java/com/docusign/esign/model/RecipientPhoneAuthentication.java index f2c4f399..10abf63b 100644 --- a/src/main/java/com/docusign/esign/model/RecipientPhoneAuthentication.java +++ b/src/main/java/com/docusign/esign/model/RecipientPhoneAuthentication.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * A complex type that Contains the elements: * recipMayProvideNumber - Boolean. When set to **true**, the recipient can use whatever phone number they choose. * senderProvidedNumbers - ArrayOfString. A list of phone numbers the recipient can use. * recordVoicePrint - Reserved. * validateRecipProvidedNumber - Reserved. + * A complex type that Contains the elements: * recipMayProvideNumber - Boolean. When set to **true**, the recipient can use whatever phone number they choose. * senderProvidedNumbers - ArrayOfString. A list of phone numbers the recipient can use. * recordVoicePrint - Reserved. * validateRecipProvidedNumber - Reserved.. + * */ @ApiModel(description = "A complex type that Contains the elements: * recipMayProvideNumber - Boolean. When set to **true**, the recipient can use whatever phone number they choose. * senderProvidedNumbers - ArrayOfString. A list of phone numbers the recipient can use. * recordVoicePrint - Reserved. * validateRecipProvidedNumber - Reserved.") @@ -19,89 +22,138 @@ public class RecipientPhoneAuthentication { private String recordVoicePrint = null; @JsonProperty("senderProvidedNumbers") - private java.util.List senderProvidedNumbers = new java.util.ArrayList(); + private java.util.List senderProvidedNumbers = null; @JsonProperty("validateRecipProvidedNumber") private String validateRecipProvidedNumber = null; + + /** + * recipMayProvideNumber. + * + * @return RecipientPhoneAuthentication + **/ public RecipientPhoneAuthentication recipMayProvideNumber(String recipMayProvideNumber) { this.recipMayProvideNumber = recipMayProvideNumber; return this; } - /** - * Boolean. When set to **true**, the recipient can supply a phone number their choice. + /** + * Boolean. When set to **true**, the recipient can supply a phone number their choice.. * @return recipMayProvideNumber - **/ - @ApiModelProperty(example = "null", value = "Boolean. When set to **true**, the recipient can supply a phone number their choice.") + **/ + @ApiModelProperty(value = "Boolean. When set to **true**, the recipient can supply a phone number their choice.") public String getRecipMayProvideNumber() { return recipMayProvideNumber; } + /** + * setRecipMayProvideNumber. + **/ public void setRecipMayProvideNumber(String recipMayProvideNumber) { this.recipMayProvideNumber = recipMayProvideNumber; } + + /** + * recordVoicePrint. + * + * @return RecipientPhoneAuthentication + **/ public RecipientPhoneAuthentication recordVoicePrint(String recordVoicePrint) { this.recordVoicePrint = recordVoicePrint; return this; } - /** - * Reserved. + /** + * Reserved.. * @return recordVoicePrint - **/ - @ApiModelProperty(example = "null", value = "Reserved.") + **/ + @ApiModelProperty(value = "Reserved.") public String getRecordVoicePrint() { return recordVoicePrint; } + /** + * setRecordVoicePrint. + **/ public void setRecordVoicePrint(String recordVoicePrint) { this.recordVoicePrint = recordVoicePrint; } + + /** + * senderProvidedNumbers. + * + * @return RecipientPhoneAuthentication + **/ public RecipientPhoneAuthentication senderProvidedNumbers(java.util.List senderProvidedNumbers) { this.senderProvidedNumbers = senderProvidedNumbers; return this; } - + + /** + * addSenderProvidedNumbersItem. + * + * @return RecipientPhoneAuthentication + **/ public RecipientPhoneAuthentication addSenderProvidedNumbersItem(String senderProvidedNumbersItem) { + if (this.senderProvidedNumbers == null) { + this.senderProvidedNumbers = new java.util.ArrayList(); + } this.senderProvidedNumbers.add(senderProvidedNumbersItem); return this; } - /** - * An Array containing a list of phone numbers the recipient may use for SMS text authentication. + /** + * An Array containing a list of phone numbers the recipient may use for SMS text authentication. . * @return senderProvidedNumbers - **/ - @ApiModelProperty(example = "null", value = "An Array containing a list of phone numbers the recipient may use for SMS text authentication. ") + **/ + @ApiModelProperty(value = "An Array containing a list of phone numbers the recipient may use for SMS text authentication. ") public java.util.List getSenderProvidedNumbers() { return senderProvidedNumbers; } + /** + * setSenderProvidedNumbers. + **/ public void setSenderProvidedNumbers(java.util.List senderProvidedNumbers) { this.senderProvidedNumbers = senderProvidedNumbers; } + + /** + * validateRecipProvidedNumber. + * + * @return RecipientPhoneAuthentication + **/ public RecipientPhoneAuthentication validateRecipProvidedNumber(String validateRecipProvidedNumber) { this.validateRecipProvidedNumber = validateRecipProvidedNumber; return this; } - /** - * Reserved. + /** + * Reserved.. * @return validateRecipProvidedNumber - **/ - @ApiModelProperty(example = "null", value = " Reserved.") + **/ + @ApiModelProperty(value = " Reserved.") public String getValidateRecipProvidedNumber() { return validateRecipProvidedNumber; } + /** + * setValidateRecipProvidedNumber. + **/ public void setValidateRecipProvidedNumber(String validateRecipProvidedNumber) { this.validateRecipProvidedNumber = validateRecipProvidedNumber; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -117,12 +169,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.validateRecipProvidedNumber, recipientPhoneAuthentication.validateRecipProvidedNumber); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(recipMayProvideNumber, recordVoicePrint, senderProvidedNumbers, validateRecipProvidedNumber); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -146,6 +204,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/RecipientPreviewRequest.java b/src/main/java/com/docusign/esign/model/RecipientPreviewRequest.java new file mode 100644 index 00000000..948ad2c8 --- /dev/null +++ b/src/main/java/com/docusign/esign/model/RecipientPreviewRequest.java @@ -0,0 +1,283 @@ +package com.docusign.esign.model; + +import java.util.Objects; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +/** + * RecipientPreviewRequest + */ + +public class RecipientPreviewRequest { + @JsonProperty("assertionId") + private String assertionId = null; + + @JsonProperty("authenticationInstant") + private String authenticationInstant = null; + + @JsonProperty("authenticationMethod") + private String authenticationMethod = null; + + @JsonProperty("pingFrequency") + private String pingFrequency = null; + + @JsonProperty("pingUrl") + private String pingUrl = null; + + @JsonProperty("recipientId") + private String recipientId = null; + + @JsonProperty("returnUrl") + private String returnUrl = null; + + @JsonProperty("securityDomain") + private String securityDomain = null; + + @JsonProperty("xFrameOptions") + private String xFrameOptions = null; + + @JsonProperty("xFrameOptionsAllowFromUrl") + private String xFrameOptionsAllowFromUrl = null; + + public RecipientPreviewRequest assertionId(String assertionId) { + this.assertionId = assertionId; + return this; + } + + /** + * + * @return assertionId + **/ + @ApiModelProperty(example = "null", value = "") + public String getAssertionId() { + return assertionId; + } + + public void setAssertionId(String assertionId) { + this.assertionId = assertionId; + } + + public RecipientPreviewRequest authenticationInstant(String authenticationInstant) { + this.authenticationInstant = authenticationInstant; + return this; + } + + /** + * + * @return authenticationInstant + **/ + @ApiModelProperty(example = "null", value = "") + public String getAuthenticationInstant() { + return authenticationInstant; + } + + public void setAuthenticationInstant(String authenticationInstant) { + this.authenticationInstant = authenticationInstant; + } + + public RecipientPreviewRequest authenticationMethod(String authenticationMethod) { + this.authenticationMethod = authenticationMethod; + return this; + } + + /** + * + * @return authenticationMethod + **/ + @ApiModelProperty(example = "null", value = "") + public String getAuthenticationMethod() { + return authenticationMethod; + } + + public void setAuthenticationMethod(String authenticationMethod) { + this.authenticationMethod = authenticationMethod; + } + + public RecipientPreviewRequest pingFrequency(String pingFrequency) { + this.pingFrequency = pingFrequency; + return this; + } + + /** + * + * @return pingFrequency + **/ + @ApiModelProperty(example = "null", value = "") + public String getPingFrequency() { + return pingFrequency; + } + + public void setPingFrequency(String pingFrequency) { + this.pingFrequency = pingFrequency; + } + + public RecipientPreviewRequest pingUrl(String pingUrl) { + this.pingUrl = pingUrl; + return this; + } + + /** + * + * @return pingUrl + **/ + @ApiModelProperty(example = "null", value = "") + public String getPingUrl() { + return pingUrl; + } + + public void setPingUrl(String pingUrl) { + this.pingUrl = pingUrl; + } + + public RecipientPreviewRequest recipientId(String recipientId) { + this.recipientId = recipientId; + return this; + } + + /** + * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document. + * @return recipientId + **/ + @ApiModelProperty(example = "null", value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") + public String getRecipientId() { + return recipientId; + } + + public void setRecipientId(String recipientId) { + this.recipientId = recipientId; + } + + public RecipientPreviewRequest returnUrl(String returnUrl) { + this.returnUrl = returnUrl; + return this; + } + + /** + * + * @return returnUrl + **/ + @ApiModelProperty(example = "null", value = "") + public String getReturnUrl() { + return returnUrl; + } + + public void setReturnUrl(String returnUrl) { + this.returnUrl = returnUrl; + } + + public RecipientPreviewRequest securityDomain(String securityDomain) { + this.securityDomain = securityDomain; + return this; + } + + /** + * + * @return securityDomain + **/ + @ApiModelProperty(example = "null", value = "") + public String getSecurityDomain() { + return securityDomain; + } + + public void setSecurityDomain(String securityDomain) { + this.securityDomain = securityDomain; + } + + public RecipientPreviewRequest xFrameOptions(String xFrameOptions) { + this.xFrameOptions = xFrameOptions; + return this; + } + + /** + * + * @return xFrameOptions + **/ + @ApiModelProperty(example = "null", value = "") + public String getXFrameOptions() { + return xFrameOptions; + } + + public void setXFrameOptions(String xFrameOptions) { + this.xFrameOptions = xFrameOptions; + } + + public RecipientPreviewRequest xFrameOptionsAllowFromUrl(String xFrameOptionsAllowFromUrl) { + this.xFrameOptionsAllowFromUrl = xFrameOptionsAllowFromUrl; + return this; + } + + /** + * + * @return xFrameOptionsAllowFromUrl + **/ + @ApiModelProperty(example = "null", value = "") + public String getXFrameOptionsAllowFromUrl() { + return xFrameOptionsAllowFromUrl; + } + + public void setXFrameOptionsAllowFromUrl(String xFrameOptionsAllowFromUrl) { + this.xFrameOptionsAllowFromUrl = xFrameOptionsAllowFromUrl; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + RecipientPreviewRequest recipientPreviewRequest = (RecipientPreviewRequest) o; + return Objects.equals(this.assertionId, recipientPreviewRequest.assertionId) && + Objects.equals(this.authenticationInstant, recipientPreviewRequest.authenticationInstant) && + Objects.equals(this.authenticationMethod, recipientPreviewRequest.authenticationMethod) && + Objects.equals(this.pingFrequency, recipientPreviewRequest.pingFrequency) && + Objects.equals(this.pingUrl, recipientPreviewRequest.pingUrl) && + Objects.equals(this.recipientId, recipientPreviewRequest.recipientId) && + Objects.equals(this.returnUrl, recipientPreviewRequest.returnUrl) && + Objects.equals(this.securityDomain, recipientPreviewRequest.securityDomain) && + Objects.equals(this.xFrameOptions, recipientPreviewRequest.xFrameOptions) && + Objects.equals(this.xFrameOptionsAllowFromUrl, recipientPreviewRequest.xFrameOptionsAllowFromUrl); + } + + @Override + public int hashCode() { + return Objects.hash(assertionId, authenticationInstant, authenticationMethod, pingFrequency, pingUrl, recipientId, returnUrl, securityDomain, xFrameOptions, xFrameOptionsAllowFromUrl); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class RecipientPreviewRequest {\n"); + + sb.append(" assertionId: ").append(toIndentedString(assertionId)).append("\n"); + sb.append(" authenticationInstant: ").append(toIndentedString(authenticationInstant)).append("\n"); + sb.append(" authenticationMethod: ").append(toIndentedString(authenticationMethod)).append("\n"); + sb.append(" pingFrequency: ").append(toIndentedString(pingFrequency)).append("\n"); + sb.append(" pingUrl: ").append(toIndentedString(pingUrl)).append("\n"); + sb.append(" recipientId: ").append(toIndentedString(recipientId)).append("\n"); + sb.append(" returnUrl: ").append(toIndentedString(returnUrl)).append("\n"); + sb.append(" securityDomain: ").append(toIndentedString(securityDomain)).append("\n"); + sb.append(" xFrameOptions: ").append(toIndentedString(xFrameOptions)).append("\n"); + sb.append(" xFrameOptionsAllowFromUrl: ").append(toIndentedString(xFrameOptionsAllowFromUrl)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/com/docusign/esign/model/RecipientProofFile.java b/src/main/java/com/docusign/esign/model/RecipientProofFile.java new file mode 100644 index 00000000..a23d4ed1 --- /dev/null +++ b/src/main/java/com/docusign/esign/model/RecipientProofFile.java @@ -0,0 +1,131 @@ +package com.docusign.esign.model; + +import java.util.Objects; +import java.util.Arrays; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +/** + * RecipientProofFile. + * + */ + +public class RecipientProofFile { + @JsonProperty("hasIdentityAttempts") + private String hasIdentityAttempts = null; + + @JsonProperty("isInProofFile") + private String isInProofFile = null; + + + /** + * hasIdentityAttempts. + * + * @return RecipientProofFile + **/ + public RecipientProofFile hasIdentityAttempts(String hasIdentityAttempts) { + this.hasIdentityAttempts = hasIdentityAttempts; + return this; + } + + /** + * . + * @return hasIdentityAttempts + **/ + @ApiModelProperty(value = "") + public String getHasIdentityAttempts() { + return hasIdentityAttempts; + } + + /** + * setHasIdentityAttempts. + **/ + public void setHasIdentityAttempts(String hasIdentityAttempts) { + this.hasIdentityAttempts = hasIdentityAttempts; + } + + + /** + * isInProofFile. + * + * @return RecipientProofFile + **/ + public RecipientProofFile isInProofFile(String isInProofFile) { + this.isInProofFile = isInProofFile; + return this; + } + + /** + * . + * @return isInProofFile + **/ + @ApiModelProperty(value = "") + public String getIsInProofFile() { + return isInProofFile; + } + + /** + * setIsInProofFile. + **/ + public void setIsInProofFile(String isInProofFile) { + this.isInProofFile = isInProofFile; + } + + + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + RecipientProofFile recipientProofFile = (RecipientProofFile) o; + return Objects.equals(this.hasIdentityAttempts, recipientProofFile.hasIdentityAttempts) && + Objects.equals(this.isInProofFile, recipientProofFile.isInProofFile); + } + + /** + * Returns the HashCode. + */ + @Override + public int hashCode() { + return Objects.hash(hasIdentityAttempts, isInProofFile); + } + + + /** + * Converts the given object to string. + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class RecipientProofFile {\n"); + + sb.append(" hasIdentityAttempts: ").append(toIndentedString(hasIdentityAttempts)).append("\n"); + sb.append(" isInProofFile: ").append(toIndentedString(isInProofFile)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/com/docusign/esign/model/RecipientSAMLAuthentication.java b/src/main/java/com/docusign/esign/model/RecipientSAMLAuthentication.java index d2140b44..b7a0d05c 100644 --- a/src/main/java/com/docusign/esign/model/RecipientSAMLAuthentication.java +++ b/src/main/java/com/docusign/esign/model/RecipientSAMLAuthentication.java @@ -1,45 +1,70 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.SamlAssertionAttribute; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Contains the name/value pair information for the SAML assertion attributes: * name - The name of the SAML assertion attribute. * value - The value associated with the named SAML assertion attribute. Your account must be set up to use SSO to use this. + * Contains the name/value pair information for the SAML assertion attributes: * name - The name of the SAML assertion attribute. * value - The value associated with the named SAML assertion attribute. Your account must be set up to use SSO to use this.. + * */ @ApiModel(description = "Contains the name/value pair information for the SAML assertion attributes: * name - The name of the SAML assertion attribute. * value - The value associated with the named SAML assertion attribute. Your account must be set up to use SSO to use this.") public class RecipientSAMLAuthentication { @JsonProperty("samlAssertionAttributes") - private java.util.List samlAssertionAttributes = new java.util.ArrayList(); + private java.util.List samlAssertionAttributes = null; + + /** + * samlAssertionAttributes. + * + * @return RecipientSAMLAuthentication + **/ public RecipientSAMLAuthentication samlAssertionAttributes(java.util.List samlAssertionAttributes) { this.samlAssertionAttributes = samlAssertionAttributes; return this; } - + + /** + * addSamlAssertionAttributesItem. + * + * @return RecipientSAMLAuthentication + **/ public RecipientSAMLAuthentication addSamlAssertionAttributesItem(SamlAssertionAttribute samlAssertionAttributesItem) { + if (this.samlAssertionAttributes == null) { + this.samlAssertionAttributes = new java.util.ArrayList(); + } this.samlAssertionAttributes.add(samlAssertionAttributesItem); return this; } - /** - * + /** + * . * @return samlAssertionAttributes - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getSamlAssertionAttributes() { return samlAssertionAttributes; } + /** + * setSamlAssertionAttributes. + **/ public void setSamlAssertionAttributes(java.util.List samlAssertionAttributes) { this.samlAssertionAttributes = samlAssertionAttributes; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -52,12 +77,18 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.samlAssertionAttributes, recipientSAMLAuthentication.samlAssertionAttributes); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(samlAssertionAttributes); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -78,6 +109,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/RecipientSMSAuthentication.java b/src/main/java/com/docusign/esign/model/RecipientSMSAuthentication.java index 60def2a9..a262cd17 100644 --- a/src/main/java/com/docusign/esign/model/RecipientSMSAuthentication.java +++ b/src/main/java/com/docusign/esign/model/RecipientSMSAuthentication.java @@ -1,44 +1,69 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Contains the element senderProvidedNumbers which is an Array of phone numbers the recipient can use for SMS text authentication. + * Contains the element senderProvidedNumbers which is an Array of phone numbers the recipient can use for SMS text authentication.. + * */ @ApiModel(description = "Contains the element senderProvidedNumbers which is an Array of phone numbers the recipient can use for SMS text authentication.") public class RecipientSMSAuthentication { @JsonProperty("senderProvidedNumbers") - private java.util.List senderProvidedNumbers = new java.util.ArrayList(); + private java.util.List senderProvidedNumbers = null; + + /** + * senderProvidedNumbers. + * + * @return RecipientSMSAuthentication + **/ public RecipientSMSAuthentication senderProvidedNumbers(java.util.List senderProvidedNumbers) { this.senderProvidedNumbers = senderProvidedNumbers; return this; } - + + /** + * addSenderProvidedNumbersItem. + * + * @return RecipientSMSAuthentication + **/ public RecipientSMSAuthentication addSenderProvidedNumbersItem(String senderProvidedNumbersItem) { + if (this.senderProvidedNumbers == null) { + this.senderProvidedNumbers = new java.util.ArrayList(); + } this.senderProvidedNumbers.add(senderProvidedNumbersItem); return this; } - /** - * An Array containing a list of phone numbers the recipient may use for SMS text authentication. + /** + * An Array containing a list of phone numbers the recipient may use for SMS text authentication. . * @return senderProvidedNumbers - **/ - @ApiModelProperty(example = "null", value = "An Array containing a list of phone numbers the recipient may use for SMS text authentication. ") + **/ + @ApiModelProperty(value = "An Array containing a list of phone numbers the recipient may use for SMS text authentication. ") public java.util.List getSenderProvidedNumbers() { return senderProvidedNumbers; } + /** + * setSenderProvidedNumbers. + **/ public void setSenderProvidedNumbers(java.util.List senderProvidedNumbers) { this.senderProvidedNumbers = senderProvidedNumbers; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -51,12 +76,18 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.senderProvidedNumbers, recipientSMSAuthentication.senderProvidedNumbers); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(senderProvidedNumbers); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -77,6 +108,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/RecipientSignatureInformation.java b/src/main/java/com/docusign/esign/model/RecipientSignatureInformation.java index 64931ff2..8a69844e 100644 --- a/src/main/java/com/docusign/esign/model/RecipientSignatureInformation.java +++ b/src/main/java/com/docusign/esign/model/RecipientSignatureInformation.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Allows the sender to pre-specify the signature name, signature initials and signature font used in the signature stamp for the recipient. Used only with recipient types In Person Signers and Signers. + * Allows the sender to pre-specify the signature name, signature initials and signature font used in the signature stamp for the recipient. Used only with recipient types In Person Signers and Signers.. + * */ @ApiModel(description = "Allows the sender to pre-specify the signature name, signature initials and signature font used in the signature stamp for the recipient. Used only with recipient types In Person Signers and Signers.") @@ -21,61 +24,93 @@ public class RecipientSignatureInformation { @JsonProperty("signatureName") private String signatureName = null; + + /** + * fontStyle. + * + * @return RecipientSignatureInformation + **/ public RecipientSignatureInformation fontStyle(String fontStyle) { this.fontStyle = fontStyle; return this; } - /** - * + /** + * . * @return fontStyle - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getFontStyle() { return fontStyle; } + /** + * setFontStyle. + **/ public void setFontStyle(String fontStyle) { this.fontStyle = fontStyle; } + + /** + * signatureInitials. + * + * @return RecipientSignatureInformation + **/ public RecipientSignatureInformation signatureInitials(String signatureInitials) { this.signatureInitials = signatureInitials; return this; } - /** - * + /** + * . * @return signatureInitials - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSignatureInitials() { return signatureInitials; } + /** + * setSignatureInitials. + **/ public void setSignatureInitials(String signatureInitials) { this.signatureInitials = signatureInitials; } + + /** + * signatureName. + * + * @return RecipientSignatureInformation + **/ public RecipientSignatureInformation signatureName(String signatureName) { this.signatureName = signatureName; return this; } - /** - * Specifies the user signature name. + /** + * Specifies the user signature name.. * @return signatureName - **/ - @ApiModelProperty(example = "null", value = "Specifies the user signature name.") + **/ + @ApiModelProperty(value = "Specifies the user signature name.") public String getSignatureName() { return signatureName; } + /** + * setSignatureName. + **/ public void setSignatureName(String signatureName) { this.signatureName = signatureName; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -90,12 +125,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.signatureName, recipientSignatureInformation.signatureName); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(fontStyle, signatureInitials, signatureName); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -118,6 +159,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/RecipientSignatureProvider.java b/src/main/java/com/docusign/esign/model/RecipientSignatureProvider.java index f54ae493..afa29fe8 100644 --- a/src/main/java/com/docusign/esign/model/RecipientSignatureProvider.java +++ b/src/main/java/com/docusign/esign/model/RecipientSignatureProvider.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.RecipientSignatureProviderOptions; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * RecipientSignatureProvider + * RecipientSignatureProvider. + * */ public class RecipientSignatureProvider { @@ -24,79 +27,120 @@ public class RecipientSignatureProvider { @JsonProperty("signatureProviderOptions") private RecipientSignatureProviderOptions signatureProviderOptions = null; + + /** + * sealDocumentsWithTabsOnly. + * + * @return RecipientSignatureProvider + **/ public RecipientSignatureProvider sealDocumentsWithTabsOnly(String sealDocumentsWithTabsOnly) { this.sealDocumentsWithTabsOnly = sealDocumentsWithTabsOnly; return this; } - /** - * + /** + * . * @return sealDocumentsWithTabsOnly - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSealDocumentsWithTabsOnly() { return sealDocumentsWithTabsOnly; } + /** + * setSealDocumentsWithTabsOnly. + **/ public void setSealDocumentsWithTabsOnly(String sealDocumentsWithTabsOnly) { this.sealDocumentsWithTabsOnly = sealDocumentsWithTabsOnly; } + + /** + * sealName. + * + * @return RecipientSignatureProvider + **/ public RecipientSignatureProvider sealName(String sealName) { this.sealName = sealName; return this; } - /** - * + /** + * . * @return sealName - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSealName() { return sealName; } + /** + * setSealName. + **/ public void setSealName(String sealName) { this.sealName = sealName; } + + /** + * signatureProviderName. + * + * @return RecipientSignatureProvider + **/ public RecipientSignatureProvider signatureProviderName(String signatureProviderName) { this.signatureProviderName = signatureProviderName; return this; } - /** - * + /** + * . * @return signatureProviderName - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSignatureProviderName() { return signatureProviderName; } + /** + * setSignatureProviderName. + **/ public void setSignatureProviderName(String signatureProviderName) { this.signatureProviderName = signatureProviderName; } + + /** + * signatureProviderOptions. + * + * @return RecipientSignatureProvider + **/ public RecipientSignatureProvider signatureProviderOptions(RecipientSignatureProviderOptions signatureProviderOptions) { this.signatureProviderOptions = signatureProviderOptions; return this; } - /** - * Get signatureProviderOptions + /** + * Get signatureProviderOptions. * @return signatureProviderOptions - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public RecipientSignatureProviderOptions getSignatureProviderOptions() { return signatureProviderOptions; } + /** + * setSignatureProviderOptions. + **/ public void setSignatureProviderOptions(RecipientSignatureProviderOptions signatureProviderOptions) { this.signatureProviderOptions = signatureProviderOptions; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -112,12 +156,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.signatureProviderOptions, recipientSignatureProvider.signatureProviderOptions); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(sealDocumentsWithTabsOnly, sealName, signatureProviderName, signatureProviderOptions); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -141,6 +191,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/RecipientSignatureProviderOptions.java b/src/main/java/com/docusign/esign/model/RecipientSignatureProviderOptions.java index 65d5ff42..348f3d95 100644 --- a/src/main/java/com/docusign/esign/model/RecipientSignatureProviderOptions.java +++ b/src/main/java/com/docusign/esign/model/RecipientSignatureProviderOptions.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * RecipientSignatureProviderOptions + * RecipientSignatureProviderOptions. + * */ public class RecipientSignatureProviderOptions { @@ -23,79 +26,120 @@ public class RecipientSignatureProviderOptions { @JsonProperty("sms") private String sms = null; + + /** + * cpfNumber. + * + * @return RecipientSignatureProviderOptions + **/ public RecipientSignatureProviderOptions cpfNumber(String cpfNumber) { this.cpfNumber = cpfNumber; return this; } - /** - * + /** + * . * @return cpfNumber - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getCpfNumber() { return cpfNumber; } + /** + * setCpfNumber. + **/ public void setCpfNumber(String cpfNumber) { this.cpfNumber = cpfNumber; } + + /** + * oneTimePassword. + * + * @return RecipientSignatureProviderOptions + **/ public RecipientSignatureProviderOptions oneTimePassword(String oneTimePassword) { this.oneTimePassword = oneTimePassword; return this; } - /** - * + /** + * . * @return oneTimePassword - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getOneTimePassword() { return oneTimePassword; } + /** + * setOneTimePassword. + **/ public void setOneTimePassword(String oneTimePassword) { this.oneTimePassword = oneTimePassword; } + + /** + * signerRole. + * + * @return RecipientSignatureProviderOptions + **/ public RecipientSignatureProviderOptions signerRole(String signerRole) { this.signerRole = signerRole; return this; } - /** - * + /** + * . * @return signerRole - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSignerRole() { return signerRole; } + /** + * setSignerRole. + **/ public void setSignerRole(String signerRole) { this.signerRole = signerRole; } + + /** + * sms. + * + * @return RecipientSignatureProviderOptions + **/ public RecipientSignatureProviderOptions sms(String sms) { this.sms = sms; return this; } - /** - * + /** + * . * @return sms - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSms() { return sms; } + /** + * setSms. + **/ public void setSms(String sms) { this.sms = sms; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -111,12 +155,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.sms, recipientSignatureProviderOptions.sms); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(cpfNumber, oneTimePassword, signerRole, sms); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -140,6 +190,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/RecipientUpdateResponse.java b/src/main/java/com/docusign/esign/model/RecipientUpdateResponse.java index c29eeb0b..b8d558ae 100644 --- a/src/main/java/com/docusign/esign/model/RecipientUpdateResponse.java +++ b/src/main/java/com/docusign/esign/model/RecipientUpdateResponse.java @@ -1,15 +1,18 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ErrorDetails; import com.docusign.esign.model.Tabs; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * RecipientUpdateResponse + * RecipientUpdateResponse. + * */ public class RecipientUpdateResponse { @@ -22,61 +25,93 @@ public class RecipientUpdateResponse { @JsonProperty("tabs") private Tabs tabs = null; + + /** + * errorDetails. + * + * @return RecipientUpdateResponse + **/ public RecipientUpdateResponse errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * recipientId. + * + * @return RecipientUpdateResponse + **/ public RecipientUpdateResponse recipientId(String recipientId) { this.recipientId = recipientId; return this; } - /** - * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document. + /** + * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.. * @return recipientId - **/ - @ApiModelProperty(example = "null", value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") + **/ + @ApiModelProperty(value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") public String getRecipientId() { return recipientId; } + /** + * setRecipientId. + **/ public void setRecipientId(String recipientId) { this.recipientId = recipientId; } + + /** + * tabs. + * + * @return RecipientUpdateResponse + **/ public RecipientUpdateResponse tabs(Tabs tabs) { this.tabs = tabs; return this; } - /** - * Get tabs + /** + * Get tabs. * @return tabs - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public Tabs getTabs() { return tabs; } + /** + * setTabs. + **/ public void setTabs(Tabs tabs) { this.tabs = tabs; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -91,12 +126,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.tabs, recipientUpdateResponse.tabs); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(errorDetails, recipientId, tabs); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -119,6 +160,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/RecipientViewRequest.java b/src/main/java/com/docusign/esign/model/RecipientViewRequest.java index 3aac56aa..40df200e 100644 --- a/src/main/java/com/docusign/esign/model/RecipientViewRequest.java +++ b/src/main/java/com/docusign/esign/model/RecipientViewRequest.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * RecipientViewRequest + * RecipientViewRequest. + * */ public class RecipientViewRequest { @@ -26,6 +29,12 @@ public class RecipientViewRequest { @JsonProperty("email") private String email = null; + @JsonProperty("frameAncestors") + private java.util.List frameAncestors = null; + + @JsonProperty("messageOrigins") + private java.util.List messageOrigins = null; + @JsonProperty("pingFrequency") private String pingFrequency = null; @@ -53,259 +62,470 @@ public class RecipientViewRequest { @JsonProperty("xFrameOptionsAllowFromUrl") private String xFrameOptionsAllowFromUrl = null; + + /** + * assertionId. + * + * @return RecipientViewRequest + **/ public RecipientViewRequest assertionId(String assertionId) { this.assertionId = assertionId; return this; } - /** - * A unique identifier of the authentication event executed by the client application. + /** + * A unique identifier of the authentication event executed by the client application.. * @return assertionId - **/ - @ApiModelProperty(example = "null", value = "A unique identifier of the authentication event executed by the client application.") + **/ + @ApiModelProperty(value = "A unique identifier of the authentication event executed by the client application.") public String getAssertionId() { return assertionId; } + /** + * setAssertionId. + **/ public void setAssertionId(String assertionId) { this.assertionId = assertionId; } + + /** + * authenticationInstant. + * + * @return RecipientViewRequest + **/ public RecipientViewRequest authenticationInstant(String authenticationInstant) { this.authenticationInstant = authenticationInstant; return this; } - /** - * A sender generated value that indicates the date/time that the signer was authenticated. + /** + * A sender generated value that indicates the date/time that the signer was authenticated.. * @return authenticationInstant - **/ - @ApiModelProperty(example = "null", value = "A sender generated value that indicates the date/time that the signer was authenticated.") + **/ + @ApiModelProperty(value = "A sender generated value that indicates the date/time that the signer was authenticated.") public String getAuthenticationInstant() { return authenticationInstant; } + /** + * setAuthenticationInstant. + **/ public void setAuthenticationInstant(String authenticationInstant) { this.authenticationInstant = authenticationInstant; } + + /** + * authenticationMethod. + * + * @return RecipientViewRequest + **/ public RecipientViewRequest authenticationMethod(String authenticationMethod) { this.authenticationMethod = authenticationMethod; return this; } - /** - * A sender created value that indicates the convention used to authenticate the signer. This information is included in the Certificate of Completion. + /** + * A sender created value that indicates the convention used to authenticate the signer. This information is included in the Certificate of Completion.. * @return authenticationMethod - **/ - @ApiModelProperty(example = "null", value = "A sender created value that indicates the convention used to authenticate the signer. This information is included in the Certificate of Completion.") + **/ + @ApiModelProperty(value = "A sender created value that indicates the convention used to authenticate the signer. This information is included in the Certificate of Completion.") public String getAuthenticationMethod() { return authenticationMethod; } + /** + * setAuthenticationMethod. + **/ public void setAuthenticationMethod(String authenticationMethod) { this.authenticationMethod = authenticationMethod; } + + /** + * clientUserId. + * + * @return RecipientViewRequest + **/ public RecipientViewRequest clientUserId(String clientUserId) { this.clientUserId = clientUserId; return this; } - /** - * A sender created value that shows the recipient is embedded (captive). Maximum length: 100 characters. + /** + * A sender created value that shows the recipient is embedded (captive). Maximum length: 100 characters.. * @return clientUserId - **/ - @ApiModelProperty(example = "null", value = "A sender created value that shows the recipient is embedded (captive). Maximum length: 100 characters.") + **/ + @ApiModelProperty(value = "A sender created value that shows the recipient is embedded (captive). Maximum length: 100 characters.") public String getClientUserId() { return clientUserId; } + /** + * setClientUserId. + **/ public void setClientUserId(String clientUserId) { this.clientUserId = clientUserId; } + + /** + * email. + * + * @return RecipientViewRequest + **/ public RecipientViewRequest email(String email) { this.email = email; return this; } - /** - * Specifies the email of the recipient. You can use either email and userName or userId to identify the recipient. + /** + * Specifies the email of the recipient. You can use either email and userName or userId to identify the recipient.. * @return email - **/ - @ApiModelProperty(example = "null", value = "Specifies the email of the recipient. You can use either email and userName or userId to identify the recipient.") + **/ + @ApiModelProperty(value = "Specifies the email of the recipient. You can use either email and userName or userId to identify the recipient.") public String getEmail() { return email; } + /** + * setEmail. + **/ public void setEmail(String email) { this.email = email; } + + /** + * frameAncestors. + * + * @return RecipientViewRequest + **/ + public RecipientViewRequest frameAncestors(java.util.List frameAncestors) { + this.frameAncestors = frameAncestors; + return this; + } + + /** + * addFrameAncestorsItem. + * + * @return RecipientViewRequest + **/ + public RecipientViewRequest addFrameAncestorsItem(String frameAncestorsItem) { + if (this.frameAncestors == null) { + this.frameAncestors = new java.util.ArrayList(); + } + this.frameAncestors.add(frameAncestorsItem); + return this; + } + + /** + * . + * @return frameAncestors + **/ + @ApiModelProperty(value = "") + public java.util.List getFrameAncestors() { + return frameAncestors; + } + + /** + * setFrameAncestors. + **/ + public void setFrameAncestors(java.util.List frameAncestors) { + this.frameAncestors = frameAncestors; + } + + + /** + * messageOrigins. + * + * @return RecipientViewRequest + **/ + public RecipientViewRequest messageOrigins(java.util.List messageOrigins) { + this.messageOrigins = messageOrigins; + return this; + } + + /** + * addMessageOriginsItem. + * + * @return RecipientViewRequest + **/ + public RecipientViewRequest addMessageOriginsItem(String messageOriginsItem) { + if (this.messageOrigins == null) { + this.messageOrigins = new java.util.ArrayList(); + } + this.messageOrigins.add(messageOriginsItem); + return this; + } + + /** + * . + * @return messageOrigins + **/ + @ApiModelProperty(value = "") + public java.util.List getMessageOrigins() { + return messageOrigins; + } + + /** + * setMessageOrigins. + **/ + public void setMessageOrigins(java.util.List messageOrigins) { + this.messageOrigins = messageOrigins; + } + + + /** + * pingFrequency. + * + * @return RecipientViewRequest + **/ public RecipientViewRequest pingFrequency(String pingFrequency) { this.pingFrequency = pingFrequency; return this; } - /** - * Only used if pingUrl is specified. This is the interval, in seconds, between pings on the pingUrl. The default is 300 seconds. Valid values are 60-1200 seconds. + /** + * Only used if pingUrl is specified. This is the interval, in seconds, between pings on the pingUrl. The default is 300 seconds. Valid values are 60-1200 seconds.. * @return pingFrequency - **/ - @ApiModelProperty(example = "null", value = "Only used if pingUrl is specified. This is the interval, in seconds, between pings on the pingUrl. The default is 300 seconds. Valid values are 60-1200 seconds.") + **/ + @ApiModelProperty(value = "Only used if pingUrl is specified. This is the interval, in seconds, between pings on the pingUrl. The default is 300 seconds. Valid values are 60-1200 seconds.") public String getPingFrequency() { return pingFrequency; } + /** + * setPingFrequency. + **/ public void setPingFrequency(String pingFrequency) { this.pingFrequency = pingFrequency; } + + /** + * pingUrl. + * + * @return RecipientViewRequest + **/ public RecipientViewRequest pingUrl(String pingUrl) { this.pingUrl = pingUrl; return this; } - /** - * A client Url to be pinged by the DocuSign Signing experience to indicate to the client that Signing is active. An HTTP Get is executed against the client. The response from the client is ignored. The intent is for the client to reset it's session timer when the request is received. + /** + * A client Url to be pinged by the DocuSign Signing experience to indicate to the client that Signing is active. An HTTP Get is executed against the client. The response from the client is ignored. The intent is for the client to reset it's session timer when the request is received.. * @return pingUrl - **/ - @ApiModelProperty(example = "null", value = "A client Url to be pinged by the DocuSign Signing experience to indicate to the client that Signing is active. An HTTP Get is executed against the client. The response from the client is ignored. The intent is for the client to reset it's session timer when the request is received.") + **/ + @ApiModelProperty(value = "A client Url to be pinged by the DocuSign Signing experience to indicate to the client that Signing is active. An HTTP Get is executed against the client. The response from the client is ignored. The intent is for the client to reset it's session timer when the request is received.") public String getPingUrl() { return pingUrl; } + /** + * setPingUrl. + **/ public void setPingUrl(String pingUrl) { this.pingUrl = pingUrl; } + + /** + * recipientId. + * + * @return RecipientViewRequest + **/ public RecipientViewRequest recipientId(String recipientId) { this.recipientId = recipientId; return this; } - /** - * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document. + /** + * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.. * @return recipientId - **/ - @ApiModelProperty(example = "null", value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") + **/ + @ApiModelProperty(value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") public String getRecipientId() { return recipientId; } + /** + * setRecipientId. + **/ public void setRecipientId(String recipientId) { this.recipientId = recipientId; } + + /** + * returnUrl. + * + * @return RecipientViewRequest + **/ public RecipientViewRequest returnUrl(String returnUrl) { this.returnUrl = returnUrl; return this; } - /** - * The url the recipient is redirected to after the signing session has ended. DocuSign redirects to the url and includes an event parameter that can be used by your application. Possible event parameter values: * cancel (recipient canceled the signing operation) * decline (recipient declined to sign) * exception (an exception occurred) * fax_pending (recipient has a fax pending) * session_timeout (session timed out) * signing_complete (signer completed the signing ceremony) * ttl_expired (the TTL, time to live, timer expired) * viewing_complete (recipient completed viewing the envelope) ###### Note: Include https:// in the URL or the redirect might not succeed on some browsers. + /** + * The url the recipient is redirected to after the signing session has ended. DocuSign redirects to the url and includes an event parameter that can be used by your application. Possible event parameter values: * cancel (recipient canceled the signing operation) * decline (recipient declined to sign) * exception (an exception occurred) * fax_pending (recipient has a fax pending) * session_timeout (session timed out) * signing_complete (signer completed the signing ceremony) * ttl_expired (the TTL, time to live, timer expired) * viewing_complete (recipient completed viewing the envelope) ###### Note: Include https:// in the URL or the redirect might not succeed on some browsers. . * @return returnUrl - **/ - @ApiModelProperty(example = "null", value = "The url the recipient is redirected to after the signing session has ended. DocuSign redirects to the url and includes an event parameter that can be used by your application. Possible event parameter values: * cancel (recipient canceled the signing operation) * decline (recipient declined to sign) * exception (an exception occurred) * fax_pending (recipient has a fax pending) * session_timeout (session timed out) * signing_complete (signer completed the signing ceremony) * ttl_expired (the TTL, time to live, timer expired) * viewing_complete (recipient completed viewing the envelope) ###### Note: Include https:// in the URL or the redirect might not succeed on some browsers. ") + **/ + @ApiModelProperty(value = "The url the recipient is redirected to after the signing session has ended. DocuSign redirects to the url and includes an event parameter that can be used by your application. Possible event parameter values: * cancel (recipient canceled the signing operation) * decline (recipient declined to sign) * exception (an exception occurred) * fax_pending (recipient has a fax pending) * session_timeout (session timed out) * signing_complete (signer completed the signing ceremony) * ttl_expired (the TTL, time to live, timer expired) * viewing_complete (recipient completed viewing the envelope) ###### Note: Include https:// in the URL or the redirect might not succeed on some browsers. ") public String getReturnUrl() { return returnUrl; } + /** + * setReturnUrl. + **/ public void setReturnUrl(String returnUrl) { this.returnUrl = returnUrl; } + + /** + * securityDomain. + * + * @return RecipientViewRequest + **/ public RecipientViewRequest securityDomain(String securityDomain) { this.securityDomain = securityDomain; return this; } - /** - * The domain in which the user authenticated. + /** + * The domain in which the user authenticated.. * @return securityDomain - **/ - @ApiModelProperty(example = "null", value = "The domain in which the user authenticated.") + **/ + @ApiModelProperty(value = "The domain in which the user authenticated.") public String getSecurityDomain() { return securityDomain; } + /** + * setSecurityDomain. + **/ public void setSecurityDomain(String securityDomain) { this.securityDomain = securityDomain; } + + /** + * userId. + * + * @return RecipientViewRequest + **/ public RecipientViewRequest userId(String userId) { this.userId = userId; return this; } - /** - * Specifies the user ID of the recipient. You can use with user ID or email and user name to identify the recipient. If user ID is used and a client user ID is provided, the value in the `userId` property must match a recipient ID (which can be retrieved with a GET recipients call) for the envelope. If a user ID is used and a clientUser ID is not provided, the user ID match the user ID of the authenticating user. + /** + * Specifies the user ID of the recipient. You can use with user ID or email and user name to identify the recipient. If user ID is used and a client user ID is provided, the value in the `userId` property must match a recipient ID (which can be retrieved with a GET recipients call) for the envelope. If a user ID is used and a clientUser ID is not provided, the user ID match the user ID of the authenticating user.. * @return userId - **/ - @ApiModelProperty(example = "null", value = "Specifies the user ID of the recipient. You can use with user ID or email and user name to identify the recipient. If user ID is used and a client user ID is provided, the value in the `userId` property must match a recipient ID (which can be retrieved with a GET recipients call) for the envelope. If a user ID is used and a clientUser ID is not provided, the user ID match the user ID of the authenticating user.") + **/ + @ApiModelProperty(value = "Specifies the user ID of the recipient. You can use with user ID or email and user name to identify the recipient. If user ID is used and a client user ID is provided, the value in the `userId` property must match a recipient ID (which can be retrieved with a GET recipients call) for the envelope. If a user ID is used and a clientUser ID is not provided, the user ID match the user ID of the authenticating user.") public String getUserId() { return userId; } + /** + * setUserId. + **/ public void setUserId(String userId) { this.userId = userId; } + + /** + * userName. + * + * @return RecipientViewRequest + **/ public RecipientViewRequest userName(String userName) { this.userName = userName; return this; } - /** - * Specifies the username of the recipient. You can use either email and userName or userId to identify the recipient. + /** + * Specifies the username of the recipient. You can use either email and userName or userId to identify the recipient.. * @return userName - **/ - @ApiModelProperty(example = "null", value = "Specifies the username of the recipient. You can use either email and userName or userId to identify the recipient.") + **/ + @ApiModelProperty(value = "Specifies the username of the recipient. You can use either email and userName or userId to identify the recipient.") public String getUserName() { return userName; } + /** + * setUserName. + **/ public void setUserName(String userName) { this.userName = userName; } + + /** + * xFrameOptions. + * + * @return RecipientViewRequest + **/ public RecipientViewRequest xFrameOptions(String xFrameOptions) { this.xFrameOptions = xFrameOptions; return this; } - /** - * + /** + * . * @return xFrameOptions - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getXFrameOptions() { return xFrameOptions; } + /** + * setXFrameOptions. + **/ public void setXFrameOptions(String xFrameOptions) { this.xFrameOptions = xFrameOptions; } + + /** + * xFrameOptionsAllowFromUrl. + * + * @return RecipientViewRequest + **/ public RecipientViewRequest xFrameOptionsAllowFromUrl(String xFrameOptionsAllowFromUrl) { this.xFrameOptionsAllowFromUrl = xFrameOptionsAllowFromUrl; return this; } - /** - * + /** + * . * @return xFrameOptionsAllowFromUrl - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getXFrameOptionsAllowFromUrl() { return xFrameOptionsAllowFromUrl; } + /** + * setXFrameOptionsAllowFromUrl. + **/ public void setXFrameOptionsAllowFromUrl(String xFrameOptionsAllowFromUrl) { this.xFrameOptionsAllowFromUrl = xFrameOptionsAllowFromUrl; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -320,6 +540,8 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.authenticationMethod, recipientViewRequest.authenticationMethod) && Objects.equals(this.clientUserId, recipientViewRequest.clientUserId) && Objects.equals(this.email, recipientViewRequest.email) && + Objects.equals(this.frameAncestors, recipientViewRequest.frameAncestors) && + Objects.equals(this.messageOrigins, recipientViewRequest.messageOrigins) && Objects.equals(this.pingFrequency, recipientViewRequest.pingFrequency) && Objects.equals(this.pingUrl, recipientViewRequest.pingUrl) && Objects.equals(this.recipientId, recipientViewRequest.recipientId) && @@ -331,12 +553,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.xFrameOptionsAllowFromUrl, recipientViewRequest.xFrameOptionsAllowFromUrl); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { - return Objects.hash(assertionId, authenticationInstant, authenticationMethod, clientUserId, email, pingFrequency, pingUrl, recipientId, returnUrl, securityDomain, userId, userName, xFrameOptions, xFrameOptionsAllowFromUrl); + return Objects.hash(assertionId, authenticationInstant, authenticationMethod, clientUserId, email, frameAncestors, messageOrigins, pingFrequency, pingUrl, recipientId, returnUrl, securityDomain, userId, userName, xFrameOptions, xFrameOptionsAllowFromUrl); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -347,6 +575,8 @@ public String toString() { sb.append(" authenticationMethod: ").append(toIndentedString(authenticationMethod)).append("\n"); sb.append(" clientUserId: ").append(toIndentedString(clientUserId)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); + sb.append(" frameAncestors: ").append(toIndentedString(frameAncestors)).append("\n"); + sb.append(" messageOrigins: ").append(toIndentedString(messageOrigins)).append("\n"); sb.append(" pingFrequency: ").append(toIndentedString(pingFrequency)).append("\n"); sb.append(" pingUrl: ").append(toIndentedString(pingUrl)).append("\n"); sb.append(" recipientId: ").append(toIndentedString(recipientId)).append("\n"); @@ -370,6 +600,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/Recipients.java b/src/main/java/com/docusign/esign/model/Recipients.java index 7128e0f2..4eebac24 100644 --- a/src/main/java/com/docusign/esign/model/Recipients.java +++ b/src/main/java/com/docusign/esign/model/Recipients.java @@ -1,6 +1,7 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.Agent; import com.docusign.esign.model.CarbonCopy; import com.docusign.esign.model.CertifiedDelivery; @@ -13,313 +14,500 @@ import com.docusign.esign.model.Witness; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Specifies the envelope recipients. + * Specifies the envelope recipients.. + * */ @ApiModel(description = "Specifies the envelope recipients.") public class Recipients { @JsonProperty("agents") - private java.util.List agents = new java.util.ArrayList(); + private java.util.List agents = null; @JsonProperty("carbonCopies") - private java.util.List carbonCopies = new java.util.ArrayList(); + private java.util.List carbonCopies = null; @JsonProperty("certifiedDeliveries") - private java.util.List certifiedDeliveries = new java.util.ArrayList(); + private java.util.List certifiedDeliveries = null; @JsonProperty("currentRoutingOrder") private String currentRoutingOrder = null; @JsonProperty("editors") - private java.util.List editors = new java.util.ArrayList(); + private java.util.List editors = null; @JsonProperty("errorDetails") private ErrorDetails errorDetails = null; @JsonProperty("inPersonSigners") - private java.util.List inPersonSigners = new java.util.ArrayList(); + private java.util.List inPersonSigners = null; @JsonProperty("intermediaries") - private java.util.List intermediaries = new java.util.ArrayList(); + private java.util.List intermediaries = null; @JsonProperty("recipientCount") private String recipientCount = null; @JsonProperty("seals") - private java.util.List seals = new java.util.ArrayList(); + private java.util.List seals = null; @JsonProperty("signers") - private java.util.List signers = new java.util.ArrayList(); + private java.util.List signers = null; @JsonProperty("witnesses") - private java.util.List witnesses = new java.util.ArrayList(); + private java.util.List witnesses = null; + + /** + * agents. + * + * @return Recipients + **/ public Recipients agents(java.util.List agents) { this.agents = agents; return this; } - + + /** + * addAgentsItem. + * + * @return Recipients + **/ public Recipients addAgentsItem(Agent agentsItem) { + if (this.agents == null) { + this.agents = new java.util.ArrayList(); + } this.agents.add(agentsItem); return this; } - /** - * A complex type defining the management and access rights of a recipient assigned assigned as an agent on the document. + /** + * A complex type defining the management and access rights of a recipient assigned assigned as an agent on the document.. * @return agents - **/ - @ApiModelProperty(example = "null", value = "A complex type defining the management and access rights of a recipient assigned assigned as an agent on the document.") + **/ + @ApiModelProperty(value = "A complex type defining the management and access rights of a recipient assigned assigned as an agent on the document.") public java.util.List getAgents() { return agents; } + /** + * setAgents. + **/ public void setAgents(java.util.List agents) { this.agents = agents; } + + /** + * carbonCopies. + * + * @return Recipients + **/ public Recipients carbonCopies(java.util.List carbonCopies) { this.carbonCopies = carbonCopies; return this; } - + + /** + * addCarbonCopiesItem. + * + * @return Recipients + **/ public Recipients addCarbonCopiesItem(CarbonCopy carbonCopiesItem) { + if (this.carbonCopies == null) { + this.carbonCopies = new java.util.ArrayList(); + } this.carbonCopies.add(carbonCopiesItem); return this; } - /** - * A complex type containing information about recipients who should receive a copy of the envelope, but does not need to sign it. + /** + * A complex type containing information about recipients who should receive a copy of the envelope, but does not need to sign it.. * @return carbonCopies - **/ - @ApiModelProperty(example = "null", value = "A complex type containing information about recipients who should receive a copy of the envelope, but does not need to sign it.") + **/ + @ApiModelProperty(value = "A complex type containing information about recipients who should receive a copy of the envelope, but does not need to sign it.") public java.util.List getCarbonCopies() { return carbonCopies; } + /** + * setCarbonCopies. + **/ public void setCarbonCopies(java.util.List carbonCopies) { this.carbonCopies = carbonCopies; } + + /** + * certifiedDeliveries. + * + * @return Recipients + **/ public Recipients certifiedDeliveries(java.util.List certifiedDeliveries) { this.certifiedDeliveries = certifiedDeliveries; return this; } - + + /** + * addCertifiedDeliveriesItem. + * + * @return Recipients + **/ public Recipients addCertifiedDeliveriesItem(CertifiedDelivery certifiedDeliveriesItem) { + if (this.certifiedDeliveries == null) { + this.certifiedDeliveries = new java.util.ArrayList(); + } this.certifiedDeliveries.add(certifiedDeliveriesItem); return this; } - /** - * A complex type containing information on a recipient the must receive the completed documents for the envelope to be completed, but the recipient does not need to sign, initial, date, or add information to any of the documents. + /** + * A complex type containing information on a recipient the must receive the completed documents for the envelope to be completed, but the recipient does not need to sign, initial, date, or add information to any of the documents.. * @return certifiedDeliveries - **/ - @ApiModelProperty(example = "null", value = "A complex type containing information on a recipient the must receive the completed documents for the envelope to be completed, but the recipient does not need to sign, initial, date, or add information to any of the documents.") + **/ + @ApiModelProperty(value = "A complex type containing information on a recipient the must receive the completed documents for the envelope to be completed, but the recipient does not need to sign, initial, date, or add information to any of the documents.") public java.util.List getCertifiedDeliveries() { return certifiedDeliveries; } + /** + * setCertifiedDeliveries. + **/ public void setCertifiedDeliveries(java.util.List certifiedDeliveries) { this.certifiedDeliveries = certifiedDeliveries; } + + /** + * currentRoutingOrder. + * + * @return Recipients + **/ public Recipients currentRoutingOrder(String currentRoutingOrder) { this.currentRoutingOrder = currentRoutingOrder; return this; } - /** - * + /** + * . * @return currentRoutingOrder - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getCurrentRoutingOrder() { return currentRoutingOrder; } + /** + * setCurrentRoutingOrder. + **/ public void setCurrentRoutingOrder(String currentRoutingOrder) { this.currentRoutingOrder = currentRoutingOrder; } + + /** + * editors. + * + * @return Recipients + **/ public Recipients editors(java.util.List editors) { this.editors = editors; return this; } - + + /** + * addEditorsItem. + * + * @return Recipients + **/ public Recipients addEditorsItem(Editor editorsItem) { + if (this.editors == null) { + this.editors = new java.util.ArrayList(); + } this.editors.add(editorsItem); return this; } - /** - * A complex type defining the management and access rights of a recipient assigned assigned as an editor on the document. + /** + * A complex type defining the management and access rights of a recipient assigned assigned as an editor on the document.. * @return editors - **/ - @ApiModelProperty(example = "null", value = "A complex type defining the management and access rights of a recipient assigned assigned as an editor on the document.") + **/ + @ApiModelProperty(value = "A complex type defining the management and access rights of a recipient assigned assigned as an editor on the document.") public java.util.List getEditors() { return editors; } + /** + * setEditors. + **/ public void setEditors(java.util.List editors) { this.editors = editors; } + + /** + * errorDetails. + * + * @return Recipients + **/ public Recipients errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * inPersonSigners. + * + * @return Recipients + **/ public Recipients inPersonSigners(java.util.List inPersonSigners) { this.inPersonSigners = inPersonSigners; return this; } - + + /** + * addInPersonSignersItem. + * + * @return Recipients + **/ public Recipients addInPersonSignersItem(InPersonSigner inPersonSignersItem) { + if (this.inPersonSigners == null) { + this.inPersonSigners = new java.util.ArrayList(); + } this.inPersonSigners.add(inPersonSignersItem); return this; } - /** - * Specifies a signer that is in the same physical location as a DocuSign user who will act as a Signing Host for the transaction. The recipient added is the Signing Host and new separate Signer Name field appears after Sign in person is selected. + /** + * Specifies a signer that is in the same physical location as a DocuSign user who will act as a Signing Host for the transaction. The recipient added is the Signing Host and new separate Signer Name field appears after Sign in person is selected.. * @return inPersonSigners - **/ - @ApiModelProperty(example = "null", value = "Specifies a signer that is in the same physical location as a DocuSign user who will act as a Signing Host for the transaction. The recipient added is the Signing Host and new separate Signer Name field appears after Sign in person is selected.") + **/ + @ApiModelProperty(value = "Specifies a signer that is in the same physical location as a DocuSign user who will act as a Signing Host for the transaction. The recipient added is the Signing Host and new separate Signer Name field appears after Sign in person is selected.") public java.util.List getInPersonSigners() { return inPersonSigners; } + /** + * setInPersonSigners. + **/ public void setInPersonSigners(java.util.List inPersonSigners) { this.inPersonSigners = inPersonSigners; } + + /** + * intermediaries. + * + * @return Recipients + **/ public Recipients intermediaries(java.util.List intermediaries) { this.intermediaries = intermediaries; return this; } - + + /** + * addIntermediariesItem. + * + * @return Recipients + **/ public Recipients addIntermediariesItem(Intermediary intermediariesItem) { + if (this.intermediaries == null) { + this.intermediaries = new java.util.ArrayList(); + } this.intermediaries.add(intermediariesItem); return this; } - /** - * Identifies a recipient that can, but is not required to, add name and email information for recipients at the same or subsequent level in the routing order (until subsequent Agents, Editors or Intermediaries recipient types are added). + /** + * Identifies a recipient that can, but is not required to, add name and email information for recipients at the same or subsequent level in the routing order (until subsequent Agents, Editors or Intermediaries recipient types are added).. * @return intermediaries - **/ - @ApiModelProperty(example = "null", value = "Identifies a recipient that can, but is not required to, add name and email information for recipients at the same or subsequent level in the routing order (until subsequent Agents, Editors or Intermediaries recipient types are added).") + **/ + @ApiModelProperty(value = "Identifies a recipient that can, but is not required to, add name and email information for recipients at the same or subsequent level in the routing order (until subsequent Agents, Editors or Intermediaries recipient types are added).") public java.util.List getIntermediaries() { return intermediaries; } + /** + * setIntermediaries. + **/ public void setIntermediaries(java.util.List intermediaries) { this.intermediaries = intermediaries; } + + /** + * recipientCount. + * + * @return Recipients + **/ public Recipients recipientCount(String recipientCount) { this.recipientCount = recipientCount; return this; } - /** - * + /** + * . * @return recipientCount - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getRecipientCount() { return recipientCount; } + /** + * setRecipientCount. + **/ public void setRecipientCount(String recipientCount) { this.recipientCount = recipientCount; } + + /** + * seals. + * + * @return Recipients + **/ public Recipients seals(java.util.List seals) { this.seals = seals; return this; } - + + /** + * addSealsItem. + * + * @return Recipients + **/ public Recipients addSealsItem(SealSign sealsItem) { + if (this.seals == null) { + this.seals = new java.util.ArrayList(); + } this.seals.add(sealsItem); return this; } - /** - * + /** + * . * @return seals - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getSeals() { return seals; } + /** + * setSeals. + **/ public void setSeals(java.util.List seals) { this.seals = seals; } + + /** + * signers. + * + * @return Recipients + **/ public Recipients signers(java.util.List signers) { this.signers = signers; return this; } - + + /** + * addSignersItem. + * + * @return Recipients + **/ public Recipients addSignersItem(Signer signersItem) { + if (this.signers == null) { + this.signers = new java.util.ArrayList(); + } this.signers.add(signersItem); return this; } - /** - * A complex type containing information about the Signer recipient. + /** + * A complex type containing information about the Signer recipient.. * @return signers - **/ - @ApiModelProperty(example = "null", value = "A complex type containing information about the Signer recipient.") + **/ + @ApiModelProperty(value = "A complex type containing information about the Signer recipient.") public java.util.List getSigners() { return signers; } + /** + * setSigners. + **/ public void setSigners(java.util.List signers) { this.signers = signers; } + + /** + * witnesses. + * + * @return Recipients + **/ public Recipients witnesses(java.util.List witnesses) { this.witnesses = witnesses; return this; } - + + /** + * addWitnessesItem. + * + * @return Recipients + **/ public Recipients addWitnessesItem(Witness witnessesItem) { + if (this.witnesses == null) { + this.witnesses = new java.util.ArrayList(); + } this.witnesses.add(witnessesItem); return this; } - /** - * + /** + * . * @return witnesses - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getWitnesses() { return witnesses; } + /** + * setWitnesses. + **/ public void setWitnesses(java.util.List witnesses) { this.witnesses = witnesses; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -343,12 +531,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.witnesses, recipients.witnesses); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(agents, carbonCopies, certifiedDeliveries, currentRoutingOrder, editors, errorDetails, inPersonSigners, intermediaries, recipientCount, seals, signers, witnesses); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -380,6 +574,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/RecipientsUpdateSummary.java b/src/main/java/com/docusign/esign/model/RecipientsUpdateSummary.java index a75c595a..6675dcc4 100644 --- a/src/main/java/com/docusign/esign/model/RecipientsUpdateSummary.java +++ b/src/main/java/com/docusign/esign/model/RecipientsUpdateSummary.java @@ -1,44 +1,69 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.RecipientUpdateResponse; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * RecipientsUpdateSummary + * RecipientsUpdateSummary. + * */ public class RecipientsUpdateSummary { @JsonProperty("recipientUpdateResults") - private java.util.List recipientUpdateResults = new java.util.ArrayList(); + private java.util.List recipientUpdateResults = null; + + /** + * recipientUpdateResults. + * + * @return RecipientsUpdateSummary + **/ public RecipientsUpdateSummary recipientUpdateResults(java.util.List recipientUpdateResults) { this.recipientUpdateResults = recipientUpdateResults; return this; } - + + /** + * addRecipientUpdateResultsItem. + * + * @return RecipientsUpdateSummary + **/ public RecipientsUpdateSummary addRecipientUpdateResultsItem(RecipientUpdateResponse recipientUpdateResultsItem) { + if (this.recipientUpdateResults == null) { + this.recipientUpdateResults = new java.util.ArrayList(); + } this.recipientUpdateResults.add(recipientUpdateResultsItem); return this; } - /** - * + /** + * . * @return recipientUpdateResults - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getRecipientUpdateResults() { return recipientUpdateResults; } + /** + * setRecipientUpdateResults. + **/ public void setRecipientUpdateResults(java.util.List recipientUpdateResults) { this.recipientUpdateResults = recipientUpdateResults; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -51,12 +76,18 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.recipientUpdateResults, recipientsUpdateSummary.recipientUpdateResults); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(recipientUpdateResults); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -77,6 +108,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/ReferralInformation.java b/src/main/java/com/docusign/esign/model/ReferralInformation.java index 6ca6717f..6c138c93 100644 --- a/src/main/java/com/docusign/esign/model/ReferralInformation.java +++ b/src/main/java/com/docusign/esign/model/ReferralInformation.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * A complex type that contains the following information for entering referral and discount information. The following items are included in the referral information (all string content): enableSupport, includedSeats, saleDiscountPercent, saleDiscountAmount, saleDiscountFixedAmount, saleDiscountPeriods, saleDiscountSeatPriceOverride, planStartMonth, referralCode, referrerName, advertisementId, publisherId, shopperId, promoCode, groupMemberId, idType, and industry ###### Note: saleDiscountPercent, saleDiscountAmount, saleDiscountFixedAmount, saleDiscountPeriods, and saleDiscountSeatPriceOverride are reserved for DoucSign use only. + * A complex type that contains the following information for entering referral and discount information. The following items are included in the referral information (all string content): enableSupport, includedSeats, saleDiscountPercent, saleDiscountAmount, saleDiscountFixedAmount, saleDiscountPeriods, saleDiscountSeatPriceOverride, planStartMonth, referralCode, referrerName, advertisementId, publisherId, shopperId, promoCode, groupMemberId, idType, and industry ###### Note: saleDiscountPercent, saleDiscountAmount, saleDiscountFixedAmount, saleDiscountPeriods, and saleDiscountSeatPriceOverride are reserved for DoucSign use only.. + * */ @ApiModel(description = "A complex type that contains the following information for entering referral and discount information. The following items are included in the referral information (all string content): enableSupport, includedSeats, saleDiscountPercent, saleDiscountAmount, saleDiscountFixedAmount, saleDiscountPeriods, saleDiscountSeatPriceOverride, planStartMonth, referralCode, referrerName, advertisementId, publisherId, shopperId, promoCode, groupMemberId, idType, and industry ###### Note: saleDiscountPercent, saleDiscountAmount, saleDiscountFixedAmount, saleDiscountPeriods, and saleDiscountSeatPriceOverride are reserved for DoucSign use only.") @@ -66,331 +69,498 @@ public class ReferralInformation { @JsonProperty("shopperId") private String shopperId = null; + + /** + * advertisementId. + * + * @return ReferralInformation + **/ public ReferralInformation advertisementId(String advertisementId) { this.advertisementId = advertisementId; return this; } - /** - * A complex type that contains the following information for entering referral and discount information. The following items are included in the referral information (all string content): enableSupport, includedSeats, saleDiscountPercent, saleDiscountAmount, saleDiscountFixedAmount, saleDiscountPeriods, saleDiscountSeatPriceOverride, planStartMonth, referralCode, referrerName, advertisementId, publisherId, shopperId, promoCode, groupMemberId, idType, and industry. ###### Note: saleDiscountPercent, saleDiscountAmount, saleDiscountFixedAmount, saleDiscountPeriods, and saleDiscountSeatPriceOverride are reserved for DoucSign use only. + /** + * A complex type that contains the following information for entering referral and discount information. The following items are included in the referral information (all string content): enableSupport, includedSeats, saleDiscountPercent, saleDiscountAmount, saleDiscountFixedAmount, saleDiscountPeriods, saleDiscountSeatPriceOverride, planStartMonth, referralCode, referrerName, advertisementId, publisherId, shopperId, promoCode, groupMemberId, idType, and industry. ###### Note: saleDiscountPercent, saleDiscountAmount, saleDiscountFixedAmount, saleDiscountPeriods, and saleDiscountSeatPriceOverride are reserved for DoucSign use only. . * @return advertisementId - **/ - @ApiModelProperty(example = "null", value = "A complex type that contains the following information for entering referral and discount information. The following items are included in the referral information (all string content): enableSupport, includedSeats, saleDiscountPercent, saleDiscountAmount, saleDiscountFixedAmount, saleDiscountPeriods, saleDiscountSeatPriceOverride, planStartMonth, referralCode, referrerName, advertisementId, publisherId, shopperId, promoCode, groupMemberId, idType, and industry. ###### Note: saleDiscountPercent, saleDiscountAmount, saleDiscountFixedAmount, saleDiscountPeriods, and saleDiscountSeatPriceOverride are reserved for DoucSign use only. ") + **/ + @ApiModelProperty(value = "A complex type that contains the following information for entering referral and discount information. The following items are included in the referral information (all string content): enableSupport, includedSeats, saleDiscountPercent, saleDiscountAmount, saleDiscountFixedAmount, saleDiscountPeriods, saleDiscountSeatPriceOverride, planStartMonth, referralCode, referrerName, advertisementId, publisherId, shopperId, promoCode, groupMemberId, idType, and industry. ###### Note: saleDiscountPercent, saleDiscountAmount, saleDiscountFixedAmount, saleDiscountPeriods, and saleDiscountSeatPriceOverride are reserved for DoucSign use only. ") public String getAdvertisementId() { return advertisementId; } + /** + * setAdvertisementId. + **/ public void setAdvertisementId(String advertisementId) { this.advertisementId = advertisementId; } + + /** + * enableSupport. + * + * @return ReferralInformation + **/ public ReferralInformation enableSupport(String enableSupport) { this.enableSupport = enableSupport; return this; } - /** - * When set to **true**, then customer support is provided as part of the account plan. + /** + * When set to **true**, then customer support is provided as part of the account plan.. * @return enableSupport - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, then customer support is provided as part of the account plan.") + **/ + @ApiModelProperty(value = "When set to **true**, then customer support is provided as part of the account plan.") public String getEnableSupport() { return enableSupport; } + /** + * setEnableSupport. + **/ public void setEnableSupport(String enableSupport) { this.enableSupport = enableSupport; } + + /** + * externalOrgId. + * + * @return ReferralInformation + **/ public ReferralInformation externalOrgId(String externalOrgId) { this.externalOrgId = externalOrgId; return this; } - /** - * + /** + * . * @return externalOrgId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getExternalOrgId() { return externalOrgId; } + /** + * setExternalOrgId. + **/ public void setExternalOrgId(String externalOrgId) { this.externalOrgId = externalOrgId; } + + /** + * groupMemberId. + * + * @return ReferralInformation + **/ public ReferralInformation groupMemberId(String groupMemberId) { this.groupMemberId = groupMemberId; return this; } - /** - * + /** + * . * @return groupMemberId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getGroupMemberId() { return groupMemberId; } + /** + * setGroupMemberId. + **/ public void setGroupMemberId(String groupMemberId) { this.groupMemberId = groupMemberId; } + + /** + * idType. + * + * @return ReferralInformation + **/ public ReferralInformation idType(String idType) { this.idType = idType; return this; } - /** - * + /** + * . * @return idType - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getIdType() { return idType; } + /** + * setIdType. + **/ public void setIdType(String idType) { this.idType = idType; } + + /** + * includedSeats. + * + * @return ReferralInformation + **/ public ReferralInformation includedSeats(String includedSeats) { this.includedSeats = includedSeats; return this; } - /** - * The number of seats (users) included. + /** + * The number of seats (users) included.. * @return includedSeats - **/ - @ApiModelProperty(example = "null", value = "The number of seats (users) included.") + **/ + @ApiModelProperty(value = "The number of seats (users) included.") public String getIncludedSeats() { return includedSeats; } + /** + * setIncludedSeats. + **/ public void setIncludedSeats(String includedSeats) { this.includedSeats = includedSeats; } + + /** + * industry. + * + * @return ReferralInformation + **/ public ReferralInformation industry(String industry) { this.industry = industry; return this; } - /** - * + /** + * . * @return industry - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getIndustry() { return industry; } + /** + * setIndustry. + **/ public void setIndustry(String industry) { this.industry = industry; } + + /** + * planStartMonth. + * + * @return ReferralInformation + **/ public ReferralInformation planStartMonth(String planStartMonth) { this.planStartMonth = planStartMonth; return this; } - /** - * + /** + * . * @return planStartMonth - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPlanStartMonth() { return planStartMonth; } + /** + * setPlanStartMonth. + **/ public void setPlanStartMonth(String planStartMonth) { this.planStartMonth = planStartMonth; } + + /** + * promoCode. + * + * @return ReferralInformation + **/ public ReferralInformation promoCode(String promoCode) { this.promoCode = promoCode; return this; } - /** - * + /** + * . * @return promoCode - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPromoCode() { return promoCode; } + /** + * setPromoCode. + **/ public void setPromoCode(String promoCode) { this.promoCode = promoCode; } + + /** + * publisherId. + * + * @return ReferralInformation + **/ public ReferralInformation publisherId(String publisherId) { this.publisherId = publisherId; return this; } - /** - * + /** + * . * @return publisherId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPublisherId() { return publisherId; } + /** + * setPublisherId. + **/ public void setPublisherId(String publisherId) { this.publisherId = publisherId; } + + /** + * referralCode. + * + * @return ReferralInformation + **/ public ReferralInformation referralCode(String referralCode) { this.referralCode = referralCode; return this; } - /** - * + /** + * . * @return referralCode - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getReferralCode() { return referralCode; } + /** + * setReferralCode. + **/ public void setReferralCode(String referralCode) { this.referralCode = referralCode; } + + /** + * referrerName. + * + * @return ReferralInformation + **/ public ReferralInformation referrerName(String referrerName) { this.referrerName = referrerName; return this; } - /** - * + /** + * . * @return referrerName - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getReferrerName() { return referrerName; } + /** + * setReferrerName. + **/ public void setReferrerName(String referrerName) { this.referrerName = referrerName; } + + /** + * saleDiscountAmount. + * + * @return ReferralInformation + **/ public ReferralInformation saleDiscountAmount(String saleDiscountAmount) { this.saleDiscountAmount = saleDiscountAmount; return this; } - /** - * Reserved for DocuSign use only. + /** + * Reserved for DocuSign use only.. * @return saleDiscountAmount - **/ - @ApiModelProperty(example = "null", value = "Reserved for DocuSign use only.") + **/ + @ApiModelProperty(value = "Reserved for DocuSign use only.") public String getSaleDiscountAmount() { return saleDiscountAmount; } + /** + * setSaleDiscountAmount. + **/ public void setSaleDiscountAmount(String saleDiscountAmount) { this.saleDiscountAmount = saleDiscountAmount; } + + /** + * saleDiscountFixedAmount. + * + * @return ReferralInformation + **/ public ReferralInformation saleDiscountFixedAmount(String saleDiscountFixedAmount) { this.saleDiscountFixedAmount = saleDiscountFixedAmount; return this; } - /** - * Reserved for DocuSign use only. + /** + * Reserved for DocuSign use only.. * @return saleDiscountFixedAmount - **/ - @ApiModelProperty(example = "null", value = "Reserved for DocuSign use only.") + **/ + @ApiModelProperty(value = "Reserved for DocuSign use only.") public String getSaleDiscountFixedAmount() { return saleDiscountFixedAmount; } + /** + * setSaleDiscountFixedAmount. + **/ public void setSaleDiscountFixedAmount(String saleDiscountFixedAmount) { this.saleDiscountFixedAmount = saleDiscountFixedAmount; } + + /** + * saleDiscountPercent. + * + * @return ReferralInformation + **/ public ReferralInformation saleDiscountPercent(String saleDiscountPercent) { this.saleDiscountPercent = saleDiscountPercent; return this; } - /** - * Reserved for DocuSign use only. + /** + * Reserved for DocuSign use only.. * @return saleDiscountPercent - **/ - @ApiModelProperty(example = "null", value = "Reserved for DocuSign use only.") + **/ + @ApiModelProperty(value = "Reserved for DocuSign use only.") public String getSaleDiscountPercent() { return saleDiscountPercent; } + /** + * setSaleDiscountPercent. + **/ public void setSaleDiscountPercent(String saleDiscountPercent) { this.saleDiscountPercent = saleDiscountPercent; } + + /** + * saleDiscountPeriods. + * + * @return ReferralInformation + **/ public ReferralInformation saleDiscountPeriods(String saleDiscountPeriods) { this.saleDiscountPeriods = saleDiscountPeriods; return this; } - /** - * Reserved for DocuSign use only. + /** + * Reserved for DocuSign use only.. * @return saleDiscountPeriods - **/ - @ApiModelProperty(example = "null", value = "Reserved for DocuSign use only.") + **/ + @ApiModelProperty(value = "Reserved for DocuSign use only.") public String getSaleDiscountPeriods() { return saleDiscountPeriods; } + /** + * setSaleDiscountPeriods. + **/ public void setSaleDiscountPeriods(String saleDiscountPeriods) { this.saleDiscountPeriods = saleDiscountPeriods; } + + /** + * saleDiscountSeatPriceOverride. + * + * @return ReferralInformation + **/ public ReferralInformation saleDiscountSeatPriceOverride(String saleDiscountSeatPriceOverride) { this.saleDiscountSeatPriceOverride = saleDiscountSeatPriceOverride; return this; } - /** - * Reserved for DocuSign use only. + /** + * Reserved for DocuSign use only.. * @return saleDiscountSeatPriceOverride - **/ - @ApiModelProperty(example = "null", value = "Reserved for DocuSign use only.") + **/ + @ApiModelProperty(value = "Reserved for DocuSign use only.") public String getSaleDiscountSeatPriceOverride() { return saleDiscountSeatPriceOverride; } + /** + * setSaleDiscountSeatPriceOverride. + **/ public void setSaleDiscountSeatPriceOverride(String saleDiscountSeatPriceOverride) { this.saleDiscountSeatPriceOverride = saleDiscountSeatPriceOverride; } + + /** + * shopperId. + * + * @return ReferralInformation + **/ public ReferralInformation shopperId(String shopperId) { this.shopperId = shopperId; return this; } - /** - * + /** + * . * @return shopperId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getShopperId() { return shopperId; } + /** + * setShopperId. + **/ public void setShopperId(String shopperId) { this.shopperId = shopperId; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -420,12 +590,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.shopperId, referralInformation.shopperId); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(advertisementId, enableSupport, externalOrgId, groupMemberId, idType, includedSeats, industry, planStartMonth, promoCode, publisherId, referralCode, referrerName, saleDiscountAmount, saleDiscountFixedAmount, saleDiscountPercent, saleDiscountPeriods, saleDiscountSeatPriceOverride, shopperId); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -463,6 +639,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/Reminders.java b/src/main/java/com/docusign/esign/model/Reminders.java index ed2cb837..f162b27b 100644 --- a/src/main/java/com/docusign/esign/model/Reminders.java +++ b/src/main/java/com/docusign/esign/model/Reminders.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * A complex element that specifies reminder settings for the envelope + * A complex element that specifies reminder settings for the envelope. + * */ @ApiModel(description = "A complex element that specifies reminder settings for the envelope") @@ -21,61 +24,93 @@ public class Reminders { @JsonProperty("reminderFrequency") private String reminderFrequency = null; + + /** + * reminderDelay. + * + * @return Reminders + **/ public Reminders reminderDelay(String reminderDelay) { this.reminderDelay = reminderDelay; return this; } - /** - * An interger that sets the number of days after the recipient receives the envelope that reminder emails are sent to the recipient. + /** + * An interger that sets the number of days after the recipient receives the envelope that reminder emails are sent to the recipient.. * @return reminderDelay - **/ - @ApiModelProperty(example = "null", value = "An interger that sets the number of days after the recipient receives the envelope that reminder emails are sent to the recipient.") + **/ + @ApiModelProperty(value = "An interger that sets the number of days after the recipient receives the envelope that reminder emails are sent to the recipient.") public String getReminderDelay() { return reminderDelay; } + /** + * setReminderDelay. + **/ public void setReminderDelay(String reminderDelay) { this.reminderDelay = reminderDelay; } + + /** + * reminderEnabled. + * + * @return Reminders + **/ public Reminders reminderEnabled(String reminderEnabled) { this.reminderEnabled = reminderEnabled; return this; } - /** - * When set to **true**, the envelope expires (is no longer available for signing) in the set number of days. If false, the account default setting is used. If the account does not have an expiration setting, the DocuSign default value of 120 days is used. + /** + * When set to **true**, the envelope expires (is no longer available for signing) in the set number of days. If false, the account default setting is used. If the account does not have an expiration setting, the DocuSign default value of 120 days is used.. * @return reminderEnabled - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the envelope expires (is no longer available for signing) in the set number of days. If false, the account default setting is used. If the account does not have an expiration setting, the DocuSign default value of 120 days is used.") + **/ + @ApiModelProperty(value = "When set to **true**, the envelope expires (is no longer available for signing) in the set number of days. If false, the account default setting is used. If the account does not have an expiration setting, the DocuSign default value of 120 days is used.") public String getReminderEnabled() { return reminderEnabled; } + /** + * setReminderEnabled. + **/ public void setReminderEnabled(String reminderEnabled) { this.reminderEnabled = reminderEnabled; } + + /** + * reminderFrequency. + * + * @return Reminders + **/ public Reminders reminderFrequency(String reminderFrequency) { this.reminderFrequency = reminderFrequency; return this; } - /** - * An interger that sets the interval, in days, between reminder emails. + /** + * An interger that sets the interval, in days, between reminder emails.. * @return reminderFrequency - **/ - @ApiModelProperty(example = "null", value = "An interger that sets the interval, in days, between reminder emails.") + **/ + @ApiModelProperty(value = "An interger that sets the interval, in days, between reminder emails.") public String getReminderFrequency() { return reminderFrequency; } + /** + * setReminderFrequency. + **/ public void setReminderFrequency(String reminderFrequency) { this.reminderFrequency = reminderFrequency; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -90,12 +125,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.reminderFrequency, reminders.reminderFrequency); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(reminderDelay, reminderEnabled, reminderFrequency); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -118,6 +159,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/ResourceInformation.java b/src/main/java/com/docusign/esign/model/ResourceInformation.java index 008d9584..f25e3d1c 100644 --- a/src/main/java/com/docusign/esign/model/ResourceInformation.java +++ b/src/main/java/com/docusign/esign/model/ResourceInformation.java @@ -1,44 +1,69 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.NameValue; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * ResourceInformation + * ResourceInformation. + * */ public class ResourceInformation { @JsonProperty("resources") - private java.util.List resources = new java.util.ArrayList(); + private java.util.List resources = null; + + /** + * resources. + * + * @return ResourceInformation + **/ public ResourceInformation resources(java.util.List resources) { this.resources = resources; return this; } - + + /** + * addResourcesItem. + * + * @return ResourceInformation + **/ public ResourceInformation addResourcesItem(NameValue resourcesItem) { + if (this.resources == null) { + this.resources = new java.util.ArrayList(); + } this.resources.add(resourcesItem); return this; } - /** - * + /** + * . * @return resources - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getResources() { return resources; } + /** + * setResources. + **/ public void setResources(java.util.List resources) { this.resources = resources; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -51,12 +76,18 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.resources, resourceInformation.resources); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(resources); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -77,6 +108,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/ReturnUrlRequest.java b/src/main/java/com/docusign/esign/model/ReturnUrlRequest.java index abcbc3e3..9bce3b08 100644 --- a/src/main/java/com/docusign/esign/model/ReturnUrlRequest.java +++ b/src/main/java/com/docusign/esign/model/ReturnUrlRequest.java @@ -1,38 +1,55 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * ReturnUrlRequest + * ReturnUrlRequest. + * */ public class ReturnUrlRequest { @JsonProperty("returnUrl") private String returnUrl = null; + + /** + * returnUrl. + * + * @return ReturnUrlRequest + **/ public ReturnUrlRequest returnUrl(String returnUrl) { this.returnUrl = returnUrl; return this; } - /** - * Identifies the return point after sending the envelope. DocuSign returns to the URL and includes an event parameter that can be used to redirect the recipient to another location. The possible event parameters returned are: * send (user sends the envelope) * save (user saves the envelope) * cancel (user cancels the sending transaction. No envelopeId is returned in this case.) * error (there is an error when performing the send) * sessionEnd (the sending session ends before the user completes another action). + /** + * Identifies the return point after sending the envelope. DocuSign returns to the URL and includes an event parameter that can be used to redirect the recipient to another location. The possible event parameters returned are: * send (user sends the envelope) * save (user saves the envelope) * cancel (user cancels the sending transaction. No envelopeId is returned in this case.) * error (there is an error when performing the send) * sessionEnd (the sending session ends before the user completes another action).. * @return returnUrl - **/ - @ApiModelProperty(example = "null", value = "Identifies the return point after sending the envelope. DocuSign returns to the URL and includes an event parameter that can be used to redirect the recipient to another location. The possible event parameters returned are: * send (user sends the envelope) * save (user saves the envelope) * cancel (user cancels the sending transaction. No envelopeId is returned in this case.) * error (there is an error when performing the send) * sessionEnd (the sending session ends before the user completes another action).") + **/ + @ApiModelProperty(value = "Identifies the return point after sending the envelope. DocuSign returns to the URL and includes an event parameter that can be used to redirect the recipient to another location. The possible event parameters returned are: * send (user sends the envelope) * save (user saves the envelope) * cancel (user cancels the sending transaction. No envelopeId is returned in this case.) * error (there is an error when performing the send) * sessionEnd (the sending session ends before the user completes another action).") public String getReturnUrl() { return returnUrl; } + /** + * setReturnUrl. + **/ public void setReturnUrl(String returnUrl) { this.returnUrl = returnUrl; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -45,12 +62,18 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.returnUrl, returnUrlRequest.returnUrl); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(returnUrl); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -71,6 +94,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/Revision.java b/src/main/java/com/docusign/esign/model/Revision.java index cb79ba67..56964b8b 100644 --- a/src/main/java/com/docusign/esign/model/Revision.java +++ b/src/main/java/com/docusign/esign/model/Revision.java @@ -1,8 +1,10 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; @@ -35,7 +37,7 @@ public Revision endData(String endData) { * * @return endData **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public String getEndData() { return endData; } @@ -53,7 +55,7 @@ public Revision fieldName(String fieldName) { * * @return fieldName **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public String getFieldName() { return fieldName; } @@ -71,7 +73,7 @@ public Revision maxSignatureLength(String maxSignatureLength) { * * @return maxSignatureLength **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public String getMaxSignatureLength() { return maxSignatureLength; } @@ -89,7 +91,7 @@ public Revision signatureType(String signatureType) { * * @return signatureType **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public String getSignatureType() { return signatureType; } @@ -107,7 +109,7 @@ public Revision startData(String startData) { * * @return startData **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public String getStartData() { return startData; } @@ -163,6 +165,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/SamlAssertionAttribute.java b/src/main/java/com/docusign/esign/model/SamlAssertionAttribute.java index 23dc46c0..6a3231b2 100644 --- a/src/main/java/com/docusign/esign/model/SamlAssertionAttribute.java +++ b/src/main/java/com/docusign/esign/model/SamlAssertionAttribute.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ErrorDetails; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * SamlAssertionAttribute + * SamlAssertionAttribute. + * */ public class SamlAssertionAttribute { @@ -24,79 +27,120 @@ public class SamlAssertionAttribute { @JsonProperty("value") private String value = null; + + /** + * errorDetails. + * + * @return SamlAssertionAttribute + **/ public SamlAssertionAttribute errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * name. + * + * @return SamlAssertionAttribute + **/ public SamlAssertionAttribute name(String name) { this.name = name; return this; } - /** - * + /** + * . * @return name - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * originalValue. + * + * @return SamlAssertionAttribute + **/ public SamlAssertionAttribute originalValue(String originalValue) { this.originalValue = originalValue; return this; } - /** - * The initial value of the tab when it was sent to the recipient. + /** + * The initial value of the tab when it was sent to the recipient. . * @return originalValue - **/ - @ApiModelProperty(example = "null", value = "The initial value of the tab when it was sent to the recipient. ") + **/ + @ApiModelProperty(value = "The initial value of the tab when it was sent to the recipient. ") public String getOriginalValue() { return originalValue; } + /** + * setOriginalValue. + **/ public void setOriginalValue(String originalValue) { this.originalValue = originalValue; } + + /** + * value. + * + * @return SamlAssertionAttribute + **/ public SamlAssertionAttribute value(String value) { this.value = value; return this; } - /** - * The value associated with the named SAML assertion attribute + /** + * The value associated with the named SAML assertion attribute. * @return value - **/ - @ApiModelProperty(example = "null", value = "The value associated with the named SAML assertion attribute") + **/ + @ApiModelProperty(value = "The value associated with the named SAML assertion attribute") public String getValue() { return value; } + /** + * setValue. + **/ public void setValue(String value) { this.value = value; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -112,12 +156,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.value, samlAssertionAttribute.value); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(errorDetails, name, originalValue, value); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -141,6 +191,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/Seal.java b/src/main/java/com/docusign/esign/model/Seal.java index dc13f01f..55eb2b5b 100644 --- a/src/main/java/com/docusign/esign/model/Seal.java +++ b/src/main/java/com/docusign/esign/model/Seal.java @@ -1,8 +1,10 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; @@ -12,7 +14,7 @@ public class Seal { @JsonProperty("configuration") - private java.util.Map _configuration = new java.util.HashMap(); + private java.util.Map _configuration = null; @JsonProperty("sealIdentifier") private String sealIdentifier = null; @@ -23,6 +25,9 @@ public Seal _configuration(java.util.Map _configuration) { } public Seal putConfigurationItem(String key, String _configurationItem) { + if (this._configuration == null) { + this._configuration = new java.util.HashMap(); + } this._configuration.put(key, _configurationItem); return this; } @@ -31,7 +36,7 @@ public Seal putConfigurationItem(String key, String _configurationItem) { * * @return _configuration **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public java.util.Map getConfiguration() { return _configuration; } @@ -49,7 +54,7 @@ public Seal sealIdentifier(String sealIdentifier) { * * @return sealIdentifier **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public String getSealIdentifier() { return sealIdentifier; } @@ -99,6 +104,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/SealIdentifier.java b/src/main/java/com/docusign/esign/model/SealIdentifier.java index 1e8118fc..cfe98ee4 100644 --- a/src/main/java/com/docusign/esign/model/SealIdentifier.java +++ b/src/main/java/com/docusign/esign/model/SealIdentifier.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * SealIdentifier + * SealIdentifier. + * */ public class SealIdentifier { @@ -17,43 +20,66 @@ public class SealIdentifier { @JsonProperty("sealName") private String sealName = null; + + /** + * sealDisplayName. + * + * @return SealIdentifier + **/ public SealIdentifier sealDisplayName(String sealDisplayName) { this.sealDisplayName = sealDisplayName; return this; } - /** - * + /** + * . * @return sealDisplayName - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSealDisplayName() { return sealDisplayName; } + /** + * setSealDisplayName. + **/ public void setSealDisplayName(String sealDisplayName) { this.sealDisplayName = sealDisplayName; } + + /** + * sealName. + * + * @return SealIdentifier + **/ public SealIdentifier sealName(String sealName) { this.sealName = sealName; return this; } - /** - * + /** + * . * @return sealName - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSealName() { return sealName; } + /** + * setSealName. + **/ public void setSealName(String sealName) { this.sealName = sealName; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -67,12 +93,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.sealName, sealIdentifier.sealName); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(sealDisplayName, sealName); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -94,6 +126,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/SealSign.java b/src/main/java/com/docusign/esign/model/SealSign.java index 6d6c2ec8..6780295d 100644 --- a/src/main/java/com/docusign/esign/model/SealSign.java +++ b/src/main/java/com/docusign/esign/model/SealSign.java @@ -1,12 +1,14 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.AuthenticationStatus; import com.docusign.esign.model.DocumentVisibility; import com.docusign.esign.model.ErrorDetails; import com.docusign.esign.model.IdCheckInformationInput; import com.docusign.esign.model.RecipientAttachment; import com.docusign.esign.model.RecipientEmailNotification; +import com.docusign.esign.model.RecipientIdentityVerification; import com.docusign.esign.model.RecipientPhoneAuthentication; import com.docusign.esign.model.RecipientSAMLAuthentication; import com.docusign.esign.model.RecipientSMSAuthentication; @@ -15,11 +17,13 @@ import com.docusign.esign.model.Tabs; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * SealSign + * SealSign. + * */ public class SealSign { @@ -33,7 +37,7 @@ public class SealSign { private String clientUserId = null; @JsonProperty("customFields") - private java.util.List customFields = new java.util.ArrayList(); + private java.util.List customFields = null; @JsonProperty("declinedDateTime") private String declinedDateTime = null; @@ -48,7 +52,7 @@ public class SealSign { private String deliveryMethod = null; @JsonProperty("documentVisibility") - private java.util.List documentVisibility = new java.util.ArrayList(); + private java.util.List documentVisibility = null; @JsonProperty("emailNotification") private RecipientEmailNotification emailNotification = null; @@ -68,6 +72,9 @@ public class SealSign { @JsonProperty("idCheckInformationInput") private IdCheckInformationInput idCheckInformationInput = null; + @JsonProperty("identityVerification") + private RecipientIdentityVerification identityVerification = null; + @JsonProperty("inheritEmailNotificationConfiguration") private String inheritEmailNotificationConfiguration = null; @@ -81,7 +88,7 @@ public class SealSign { private RecipientPhoneAuthentication phoneAuthentication = null; @JsonProperty("recipientAttachments") - private java.util.List recipientAttachments = new java.util.ArrayList(); + private java.util.List recipientAttachments = null; @JsonProperty("recipientAuthenticationStatus") private AuthenticationStatus recipientAuthenticationStatus = null; @@ -93,7 +100,7 @@ public class SealSign { private String recipientIdGuid = null; @JsonProperty("recipientSignatureProviders") - private java.util.List recipientSignatureProviders = new java.util.ArrayList(); + private java.util.List recipientSignatureProviders = null; @JsonProperty("requireIdLookup") private String requireIdLookup = null; @@ -117,7 +124,7 @@ public class SealSign { private RecipientSMSAuthentication smsAuthentication = null; @JsonProperty("socialAuthentications") - private java.util.List socialAuthentications = new java.util.ArrayList(); + private java.util.List socialAuthentications = null; @JsonProperty("status") private String status = null; @@ -137,716 +144,1130 @@ public class SealSign { @JsonProperty("userId") private String userId = null; + + /** + * accessCode. + * + * @return SealSign + **/ public SealSign accessCode(String accessCode) { this.accessCode = accessCode; return this; } - /** - * If a value is provided, the recipient must enter the value as the access code to view and sign the envelope. Maximum Length: 50 characters and it must conform to the account's access code format setting. If blank, but the signer `accessCode` property is set in the envelope, then that value is used. If blank and the signer `accessCode` property is not set, then the access code is not required. + /** + * If a value is provided, the recipient must enter the value as the access code to view and sign the envelope. Maximum Length: 50 characters and it must conform to the account's access code format setting. If blank, but the signer `accessCode` property is set in the envelope, then that value is used. If blank and the signer `accessCode` property is not set, then the access code is not required.. * @return accessCode - **/ - @ApiModelProperty(example = "null", value = "If a value is provided, the recipient must enter the value as the access code to view and sign the envelope. Maximum Length: 50 characters and it must conform to the account's access code format setting. If blank, but the signer `accessCode` property is set in the envelope, then that value is used. If blank and the signer `accessCode` property is not set, then the access code is not required.") + **/ + @ApiModelProperty(value = "If a value is provided, the recipient must enter the value as the access code to view and sign the envelope. Maximum Length: 50 characters and it must conform to the account's access code format setting. If blank, but the signer `accessCode` property is set in the envelope, then that value is used. If blank and the signer `accessCode` property is not set, then the access code is not required.") public String getAccessCode() { return accessCode; } + /** + * setAccessCode. + **/ public void setAccessCode(String accessCode) { this.accessCode = accessCode; } + + /** + * addAccessCodeToEmail. + * + * @return SealSign + **/ public SealSign addAccessCodeToEmail(String addAccessCodeToEmail) { this.addAccessCodeToEmail = addAccessCodeToEmail; return this; } - /** - * This Optional attribute indicates that the access code will be added to the email sent to the recipient; this nullifies the Security measure of Access Code on the recipient. + /** + * This Optional attribute indicates that the access code will be added to the email sent to the recipient; this nullifies the Security measure of Access Code on the recipient.. * @return addAccessCodeToEmail - **/ - @ApiModelProperty(example = "null", value = "This Optional attribute indicates that the access code will be added to the email sent to the recipient; this nullifies the Security measure of Access Code on the recipient.") + **/ + @ApiModelProperty(value = "This Optional attribute indicates that the access code will be added to the email sent to the recipient; this nullifies the Security measure of Access Code on the recipient.") public String getAddAccessCodeToEmail() { return addAccessCodeToEmail; } + /** + * setAddAccessCodeToEmail. + **/ public void setAddAccessCodeToEmail(String addAccessCodeToEmail) { this.addAccessCodeToEmail = addAccessCodeToEmail; } + + /** + * clientUserId. + * + * @return SealSign + **/ public SealSign clientUserId(String clientUserId) { this.clientUserId = clientUserId; return this; } - /** - * Specifies whether the recipient is embedded or remote. If the `clientUserId` property is not null then the recipient is embedded. Note that if the `ClientUserId` property is set and either `SignerMustHaveAccount` or `SignerMustLoginToSign` property of the account settings is set to **true**, an error is generated on sending.ng. Maximum length: 100 characters. + /** + * Specifies whether the recipient is embedded or remote. If the `clientUserId` property is not null then the recipient is embedded. Note that if the `ClientUserId` property is set and either `SignerMustHaveAccount` or `SignerMustLoginToSign` property of the account settings is set to **true**, an error is generated on sending.ng. Maximum length: 100 characters. . * @return clientUserId - **/ - @ApiModelProperty(example = "null", value = "Specifies whether the recipient is embedded or remote. If the `clientUserId` property is not null then the recipient is embedded. Note that if the `ClientUserId` property is set and either `SignerMustHaveAccount` or `SignerMustLoginToSign` property of the account settings is set to **true**, an error is generated on sending.ng. Maximum length: 100 characters. ") + **/ + @ApiModelProperty(value = "Specifies whether the recipient is embedded or remote. If the `clientUserId` property is not null then the recipient is embedded. Note that if the `ClientUserId` property is set and either `SignerMustHaveAccount` or `SignerMustLoginToSign` property of the account settings is set to **true**, an error is generated on sending.ng. Maximum length: 100 characters. ") public String getClientUserId() { return clientUserId; } + /** + * setClientUserId. + **/ public void setClientUserId(String clientUserId) { this.clientUserId = clientUserId; } + + /** + * customFields. + * + * @return SealSign + **/ public SealSign customFields(java.util.List customFields) { this.customFields = customFields; return this; } - + + /** + * addCustomFieldsItem. + * + * @return SealSign + **/ public SealSign addCustomFieldsItem(String customFieldsItem) { + if (this.customFields == null) { + this.customFields = new java.util.ArrayList(); + } this.customFields.add(customFieldsItem); return this; } - /** - * An optional array of strings that allows the sender to provide custom data about the recipient. This information is returned in the envelope status but otherwise not used by DocuSign. Each customField string can be a maximum of 100 characters. + /** + * An optional array of strings that allows the sender to provide custom data about the recipient. This information is returned in the envelope status but otherwise not used by DocuSign. Each customField string can be a maximum of 100 characters.. * @return customFields - **/ - @ApiModelProperty(example = "null", value = "An optional array of strings that allows the sender to provide custom data about the recipient. This information is returned in the envelope status but otherwise not used by DocuSign. Each customField string can be a maximum of 100 characters.") + **/ + @ApiModelProperty(value = "An optional array of strings that allows the sender to provide custom data about the recipient. This information is returned in the envelope status but otherwise not used by DocuSign. Each customField string can be a maximum of 100 characters.") public java.util.List getCustomFields() { return customFields; } + /** + * setCustomFields. + **/ public void setCustomFields(java.util.List customFields) { this.customFields = customFields; } + + /** + * declinedDateTime. + * + * @return SealSign + **/ public SealSign declinedDateTime(String declinedDateTime) { this.declinedDateTime = declinedDateTime; return this; } - /** - * The date and time the recipient declined the document. + /** + * The date and time the recipient declined the document.. * @return declinedDateTime - **/ - @ApiModelProperty(example = "null", value = "The date and time the recipient declined the document.") + **/ + @ApiModelProperty(value = "The date and time the recipient declined the document.") public String getDeclinedDateTime() { return declinedDateTime; } + /** + * setDeclinedDateTime. + **/ public void setDeclinedDateTime(String declinedDateTime) { this.declinedDateTime = declinedDateTime; } + + /** + * declinedReason. + * + * @return SealSign + **/ public SealSign declinedReason(String declinedReason) { this.declinedReason = declinedReason; return this; } - /** - * The reason the recipient declined the document. + /** + * The reason the recipient declined the document.. * @return declinedReason - **/ - @ApiModelProperty(example = "null", value = "The reason the recipient declined the document.") + **/ + @ApiModelProperty(value = "The reason the recipient declined the document.") public String getDeclinedReason() { return declinedReason; } + /** + * setDeclinedReason. + **/ public void setDeclinedReason(String declinedReason) { this.declinedReason = declinedReason; } + + /** + * deliveredDateTime. + * + * @return SealSign + **/ public SealSign deliveredDateTime(String deliveredDateTime) { this.deliveredDateTime = deliveredDateTime; return this; } - /** - * Reserved: For DocuSign use only. + /** + * Reserved: For DocuSign use only.. * @return deliveredDateTime - **/ - @ApiModelProperty(example = "null", value = "Reserved: For DocuSign use only.") + **/ + @ApiModelProperty(value = "Reserved: For DocuSign use only.") public String getDeliveredDateTime() { return deliveredDateTime; } + /** + * setDeliveredDateTime. + **/ public void setDeliveredDateTime(String deliveredDateTime) { this.deliveredDateTime = deliveredDateTime; } + + /** + * deliveryMethod. + * + * @return SealSign + **/ public SealSign deliveryMethod(String deliveryMethod) { this.deliveryMethod = deliveryMethod; return this; } - /** - * Reserved: For DocuSign use only. + /** + * Reserved: For DocuSign use only.. * @return deliveryMethod - **/ - @ApiModelProperty(example = "null", value = "Reserved: For DocuSign use only.") + **/ + @ApiModelProperty(value = "Reserved: For DocuSign use only.") public String getDeliveryMethod() { return deliveryMethod; } + /** + * setDeliveryMethod. + **/ public void setDeliveryMethod(String deliveryMethod) { this.deliveryMethod = deliveryMethod; } + + /** + * documentVisibility. + * + * @return SealSign + **/ public SealSign documentVisibility(java.util.List documentVisibility) { this.documentVisibility = documentVisibility; return this; } - + + /** + * addDocumentVisibilityItem. + * + * @return SealSign + **/ public SealSign addDocumentVisibilityItem(DocumentVisibility documentVisibilityItem) { + if (this.documentVisibility == null) { + this.documentVisibility = new java.util.ArrayList(); + } this.documentVisibility.add(documentVisibilityItem); return this; } - /** - * + /** + * . * @return documentVisibility - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getDocumentVisibility() { return documentVisibility; } + /** + * setDocumentVisibility. + **/ public void setDocumentVisibility(java.util.List documentVisibility) { this.documentVisibility = documentVisibility; } + + /** + * emailNotification. + * + * @return SealSign + **/ public SealSign emailNotification(RecipientEmailNotification emailNotification) { this.emailNotification = emailNotification; return this; } - /** - * Get emailNotification + /** + * Get emailNotification. * @return emailNotification - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public RecipientEmailNotification getEmailNotification() { return emailNotification; } + /** + * setEmailNotification. + **/ public void setEmailNotification(RecipientEmailNotification emailNotification) { this.emailNotification = emailNotification; } + + /** + * embeddedRecipientStartURL. + * + * @return SealSign + **/ public SealSign embeddedRecipientStartURL(String embeddedRecipientStartURL) { this.embeddedRecipientStartURL = embeddedRecipientStartURL; return this; } - /** - * Specifies a sender provided valid URL string for redirecting an embedded recipient. When using this option, the embedded recipient still receives an email from DocuSign, just as a remote recipient would. When the document link in the email is clicked the recipient is redirected, through DocuSign, to the supplied URL to complete their actions. When routing to the URL, the sender's system (the server responding to the URL) must request a recipient token to launch a signing session. If set to `SIGN_AT_DOCUSIGN`, the recipient is directed to an embedded signing or viewing process directly at DocuSign. The signing or viewing action is initiated by the DocuSign system and the transaction activity and Certificate of Completion records will reflect this. In all other ways the process is identical to an embedded signing or viewing operation that is launched by any partner. It is important to remember that in a typical embedded workflow the authentication of an embedded recipient is the responsibility of the sending application, DocuSign expects that senders will follow their own process for establishing the recipient's identity. In this workflow the recipient goes through the sending application before the embedded signing or viewing process in initiated. However, when the sending application sets `EmbeddedRecipientStartURL=SIGN_AT_DOCUSIGN`, the recipient goes directly to the embedded signing or viewing process bypassing the sending application and any authentication steps the sending application would use. In this case, DocuSign recommends that you use one of the normal DocuSign authentication features (Access Code, Phone Authentication, SMS Authentication, etc.) to verify the identity of the recipient. If the `clientUserId` property is NOT set, and the `embeddedRecipientStartURL` is set, DocuSign will ignore the redirect URL and launch the standard signing process for the email recipient. Information can be appended to the embedded recipient start URL using merge fields. The available merge fields items are: envelopeId, recipientId, recipientName, recipientEmail, and customFields. The `customFields` property must be set fort the recipient or envelope. The merge fields are enclosed in double brackets. *Example*: `http://senderHost/[[mergeField1]]/ beginSigningSession? [[mergeField2]]&[[mergeField3]]` + /** + * Specifies a sender provided valid URL string for redirecting an embedded recipient. When using this option, the embedded recipient still receives an email from DocuSign, just as a remote recipient would. When the document link in the email is clicked the recipient is redirected, through DocuSign, to the supplied URL to complete their actions. When routing to the URL, the sender's system (the server responding to the URL) must request a recipient token to launch a signing session. If set to `SIGN_AT_DOCUSIGN`, the recipient is directed to an embedded signing or viewing process directly at DocuSign. The signing or viewing action is initiated by the DocuSign system and the transaction activity and Certificate of Completion records will reflect this. In all other ways the process is identical to an embedded signing or viewing operation that is launched by any partner. It is important to remember that in a typical embedded workflow the authentication of an embedded recipient is the responsibility of the sending application, DocuSign expects that senders will follow their own process for establishing the recipient's identity. In this workflow the recipient goes through the sending application before the embedded signing or viewing process in initiated. However, when the sending application sets `EmbeddedRecipientStartURL=SIGN_AT_DOCUSIGN`, the recipient goes directly to the embedded signing or viewing process bypassing the sending application and any authentication steps the sending application would use. In this case, DocuSign recommends that you use one of the normal DocuSign authentication features (Access Code, Phone Authentication, SMS Authentication, etc.) to verify the identity of the recipient. If the `clientUserId` property is NOT set, and the `embeddedRecipientStartURL` is set, DocuSign will ignore the redirect URL and launch the standard signing process for the email recipient. Information can be appended to the embedded recipient start URL using merge fields. The available merge fields items are: envelopeId, recipientId, recipientName, recipientEmail, and customFields. The `customFields` property must be set fort the recipient or envelope. The merge fields are enclosed in double brackets. *Example*: `http://senderHost/[[mergeField1]]/ beginSigningSession? [[mergeField2]]&[[mergeField3]]` . * @return embeddedRecipientStartURL - **/ - @ApiModelProperty(example = "null", value = "Specifies a sender provided valid URL string for redirecting an embedded recipient. When using this option, the embedded recipient still receives an email from DocuSign, just as a remote recipient would. When the document link in the email is clicked the recipient is redirected, through DocuSign, to the supplied URL to complete their actions. When routing to the URL, the sender's system (the server responding to the URL) must request a recipient token to launch a signing session. If set to `SIGN_AT_DOCUSIGN`, the recipient is directed to an embedded signing or viewing process directly at DocuSign. The signing or viewing action is initiated by the DocuSign system and the transaction activity and Certificate of Completion records will reflect this. In all other ways the process is identical to an embedded signing or viewing operation that is launched by any partner. It is important to remember that in a typical embedded workflow the authentication of an embedded recipient is the responsibility of the sending application, DocuSign expects that senders will follow their own process for establishing the recipient's identity. In this workflow the recipient goes through the sending application before the embedded signing or viewing process in initiated. However, when the sending application sets `EmbeddedRecipientStartURL=SIGN_AT_DOCUSIGN`, the recipient goes directly to the embedded signing or viewing process bypassing the sending application and any authentication steps the sending application would use. In this case, DocuSign recommends that you use one of the normal DocuSign authentication features (Access Code, Phone Authentication, SMS Authentication, etc.) to verify the identity of the recipient. If the `clientUserId` property is NOT set, and the `embeddedRecipientStartURL` is set, DocuSign will ignore the redirect URL and launch the standard signing process for the email recipient. Information can be appended to the embedded recipient start URL using merge fields. The available merge fields items are: envelopeId, recipientId, recipientName, recipientEmail, and customFields. The `customFields` property must be set fort the recipient or envelope. The merge fields are enclosed in double brackets. *Example*: `http://senderHost/[[mergeField1]]/ beginSigningSession? [[mergeField2]]&[[mergeField3]]` ") + **/ + @ApiModelProperty(value = "Specifies a sender provided valid URL string for redirecting an embedded recipient. When using this option, the embedded recipient still receives an email from DocuSign, just as a remote recipient would. When the document link in the email is clicked the recipient is redirected, through DocuSign, to the supplied URL to complete their actions. When routing to the URL, the sender's system (the server responding to the URL) must request a recipient token to launch a signing session. If set to `SIGN_AT_DOCUSIGN`, the recipient is directed to an embedded signing or viewing process directly at DocuSign. The signing or viewing action is initiated by the DocuSign system and the transaction activity and Certificate of Completion records will reflect this. In all other ways the process is identical to an embedded signing or viewing operation that is launched by any partner. It is important to remember that in a typical embedded workflow the authentication of an embedded recipient is the responsibility of the sending application, DocuSign expects that senders will follow their own process for establishing the recipient's identity. In this workflow the recipient goes through the sending application before the embedded signing or viewing process in initiated. However, when the sending application sets `EmbeddedRecipientStartURL=SIGN_AT_DOCUSIGN`, the recipient goes directly to the embedded signing or viewing process bypassing the sending application and any authentication steps the sending application would use. In this case, DocuSign recommends that you use one of the normal DocuSign authentication features (Access Code, Phone Authentication, SMS Authentication, etc.) to verify the identity of the recipient. If the `clientUserId` property is NOT set, and the `embeddedRecipientStartURL` is set, DocuSign will ignore the redirect URL and launch the standard signing process for the email recipient. Information can be appended to the embedded recipient start URL using merge fields. The available merge fields items are: envelopeId, recipientId, recipientName, recipientEmail, and customFields. The `customFields` property must be set fort the recipient or envelope. The merge fields are enclosed in double brackets. *Example*: `http://senderHost/[[mergeField1]]/ beginSigningSession? [[mergeField2]]&[[mergeField3]]` ") public String getEmbeddedRecipientStartURL() { return embeddedRecipientStartURL; } + /** + * setEmbeddedRecipientStartURL. + **/ public void setEmbeddedRecipientStartURL(String embeddedRecipientStartURL) { this.embeddedRecipientStartURL = embeddedRecipientStartURL; } + + /** + * errorDetails. + * + * @return SealSign + **/ public SealSign errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * faxNumber. + * + * @return SealSign + **/ public SealSign faxNumber(String faxNumber) { this.faxNumber = faxNumber; return this; } - /** - * Reserved: + /** + * Reserved:. * @return faxNumber - **/ - @ApiModelProperty(example = "null", value = "Reserved:") + **/ + @ApiModelProperty(value = "Reserved:") public String getFaxNumber() { return faxNumber; } + /** + * setFaxNumber. + **/ public void setFaxNumber(String faxNumber) { this.faxNumber = faxNumber; } + + /** + * idCheckConfigurationName. + * + * @return SealSign + **/ public SealSign idCheckConfigurationName(String idCheckConfigurationName) { this.idCheckConfigurationName = idCheckConfigurationName; return this; } - /** - * Specifies authentication check by name. The names used here must be the same as the authentication type names used by the account (these name can also be found in the web console sending interface in the Identify list for a recipient,) This overrides any default authentication setting. *Example*: Your account has ID Check and SMS Authentication available and in the web console Identify list these appear as 'ID Check $' and 'SMS Auth $'. To use ID check in an envelope, the idCheckConfigurationName should be 'ID Check '. If you wanted to use SMS, it would be 'SMS Auth $' and you would need to add you would need to add phone number information to the `smsAuthentication` node. + /** + * Specifies authentication check by name. The names used here must be the same as the authentication type names used by the account (these name can also be found in the web console sending interface in the Identify list for a recipient,) This overrides any default authentication setting. *Example*: Your account has ID Check and SMS Authentication available and in the web console Identify list these appear as 'ID Check $' and 'SMS Auth $'. To use ID check in an envelope, the idCheckConfigurationName should be 'ID Check '. If you wanted to use SMS, it would be 'SMS Auth $' and you would need to add you would need to add phone number information to the `smsAuthentication` node.. * @return idCheckConfigurationName - **/ - @ApiModelProperty(example = "null", value = "Specifies authentication check by name. The names used here must be the same as the authentication type names used by the account (these name can also be found in the web console sending interface in the Identify list for a recipient,) This overrides any default authentication setting. *Example*: Your account has ID Check and SMS Authentication available and in the web console Identify list these appear as 'ID Check $' and 'SMS Auth $'. To use ID check in an envelope, the idCheckConfigurationName should be 'ID Check '. If you wanted to use SMS, it would be 'SMS Auth $' and you would need to add you would need to add phone number information to the `smsAuthentication` node.") + **/ + @ApiModelProperty(value = "Specifies authentication check by name. The names used here must be the same as the authentication type names used by the account (these name can also be found in the web console sending interface in the Identify list for a recipient,) This overrides any default authentication setting. *Example*: Your account has ID Check and SMS Authentication available and in the web console Identify list these appear as 'ID Check $' and 'SMS Auth $'. To use ID check in an envelope, the idCheckConfigurationName should be 'ID Check '. If you wanted to use SMS, it would be 'SMS Auth $' and you would need to add you would need to add phone number information to the `smsAuthentication` node.") public String getIdCheckConfigurationName() { return idCheckConfigurationName; } + /** + * setIdCheckConfigurationName. + **/ public void setIdCheckConfigurationName(String idCheckConfigurationName) { this.idCheckConfigurationName = idCheckConfigurationName; } + + /** + * idCheckInformationInput. + * + * @return SealSign + **/ public SealSign idCheckInformationInput(IdCheckInformationInput idCheckInformationInput) { this.idCheckInformationInput = idCheckInformationInput; return this; } - /** - * Get idCheckInformationInput + /** + * Get idCheckInformationInput. * @return idCheckInformationInput - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public IdCheckInformationInput getIdCheckInformationInput() { return idCheckInformationInput; } + /** + * setIdCheckInformationInput. + **/ public void setIdCheckInformationInput(IdCheckInformationInput idCheckInformationInput) { this.idCheckInformationInput = idCheckInformationInput; } + + /** + * identityVerification. + * + * @return SealSign + **/ + public SealSign identityVerification(RecipientIdentityVerification identityVerification) { + this.identityVerification = identityVerification; + return this; + } + + /** + * Get identityVerification. + * @return identityVerification + **/ + @ApiModelProperty(value = "") + public RecipientIdentityVerification getIdentityVerification() { + return identityVerification; + } + + /** + * setIdentityVerification. + **/ + public void setIdentityVerification(RecipientIdentityVerification identityVerification) { + this.identityVerification = identityVerification; + } + + + /** + * inheritEmailNotificationConfiguration. + * + * @return SealSign + **/ public SealSign inheritEmailNotificationConfiguration(String inheritEmailNotificationConfiguration) { this.inheritEmailNotificationConfiguration = inheritEmailNotificationConfiguration; return this; } - /** - * When set to **true** and the envelope recipient creates a DocuSign account after signing, the Manage Account Email Notification settings are used as the default settings for the recipient's account. + /** + * When set to **true** and the envelope recipient creates a DocuSign account after signing, the Manage Account Email Notification settings are used as the default settings for the recipient's account. . * @return inheritEmailNotificationConfiguration - **/ - @ApiModelProperty(example = "null", value = "When set to **true** and the envelope recipient creates a DocuSign account after signing, the Manage Account Email Notification settings are used as the default settings for the recipient's account. ") + **/ + @ApiModelProperty(value = "When set to **true** and the envelope recipient creates a DocuSign account after signing, the Manage Account Email Notification settings are used as the default settings for the recipient's account. ") public String getInheritEmailNotificationConfiguration() { return inheritEmailNotificationConfiguration; } + /** + * setInheritEmailNotificationConfiguration. + **/ public void setInheritEmailNotificationConfiguration(String inheritEmailNotificationConfiguration) { this.inheritEmailNotificationConfiguration = inheritEmailNotificationConfiguration; } + + /** + * name. + * + * @return SealSign + **/ public SealSign name(String name) { this.name = name; return this; } - /** - * + /** + * . * @return name - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * note. + * + * @return SealSign + **/ public SealSign note(String note) { this.note = note; return this; } - /** - * Specifies a note that is unique to this recipient. This note is sent to the recipient via the signing email. The note displays in the signing UI near the upper left corner of the document on the signing screen. Maximum Length: 1000 characters. + /** + * Specifies a note that is unique to this recipient. This note is sent to the recipient via the signing email. The note displays in the signing UI near the upper left corner of the document on the signing screen. Maximum Length: 1000 characters.. * @return note - **/ - @ApiModelProperty(example = "null", value = "Specifies a note that is unique to this recipient. This note is sent to the recipient via the signing email. The note displays in the signing UI near the upper left corner of the document on the signing screen. Maximum Length: 1000 characters.") + **/ + @ApiModelProperty(value = "Specifies a note that is unique to this recipient. This note is sent to the recipient via the signing email. The note displays in the signing UI near the upper left corner of the document on the signing screen. Maximum Length: 1000 characters.") public String getNote() { return note; } + /** + * setNote. + **/ public void setNote(String note) { this.note = note; } + + /** + * phoneAuthentication. + * + * @return SealSign + **/ public SealSign phoneAuthentication(RecipientPhoneAuthentication phoneAuthentication) { this.phoneAuthentication = phoneAuthentication; return this; } - /** - * Get phoneAuthentication + /** + * Get phoneAuthentication. * @return phoneAuthentication - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public RecipientPhoneAuthentication getPhoneAuthentication() { return phoneAuthentication; } + /** + * setPhoneAuthentication. + **/ public void setPhoneAuthentication(RecipientPhoneAuthentication phoneAuthentication) { this.phoneAuthentication = phoneAuthentication; } + + /** + * recipientAttachments. + * + * @return SealSign + **/ public SealSign recipientAttachments(java.util.List recipientAttachments) { this.recipientAttachments = recipientAttachments; return this; } - + + /** + * addRecipientAttachmentsItem. + * + * @return SealSign + **/ public SealSign addRecipientAttachmentsItem(RecipientAttachment recipientAttachmentsItem) { + if (this.recipientAttachments == null) { + this.recipientAttachments = new java.util.ArrayList(); + } this.recipientAttachments.add(recipientAttachmentsItem); return this; } - /** - * Reserved: + /** + * Reserved:. * @return recipientAttachments - **/ - @ApiModelProperty(example = "null", value = "Reserved:") + **/ + @ApiModelProperty(value = "Reserved:") public java.util.List getRecipientAttachments() { return recipientAttachments; } + /** + * setRecipientAttachments. + **/ public void setRecipientAttachments(java.util.List recipientAttachments) { this.recipientAttachments = recipientAttachments; } + + /** + * recipientAuthenticationStatus. + * + * @return SealSign + **/ public SealSign recipientAuthenticationStatus(AuthenticationStatus recipientAuthenticationStatus) { this.recipientAuthenticationStatus = recipientAuthenticationStatus; return this; } - /** - * Get recipientAuthenticationStatus + /** + * Get recipientAuthenticationStatus. * @return recipientAuthenticationStatus - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public AuthenticationStatus getRecipientAuthenticationStatus() { return recipientAuthenticationStatus; } + /** + * setRecipientAuthenticationStatus. + **/ public void setRecipientAuthenticationStatus(AuthenticationStatus recipientAuthenticationStatus) { this.recipientAuthenticationStatus = recipientAuthenticationStatus; } + + /** + * recipientId. + * + * @return SealSign + **/ public SealSign recipientId(String recipientId) { this.recipientId = recipientId; return this; } - /** - * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document. + /** + * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.. * @return recipientId - **/ - @ApiModelProperty(example = "null", value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") + **/ + @ApiModelProperty(value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") public String getRecipientId() { return recipientId; } + /** + * setRecipientId. + **/ public void setRecipientId(String recipientId) { this.recipientId = recipientId; } + + /** + * recipientIdGuid. + * + * @return SealSign + **/ public SealSign recipientIdGuid(String recipientIdGuid) { this.recipientIdGuid = recipientIdGuid; return this; } - /** - * + /** + * . * @return recipientIdGuid - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getRecipientIdGuid() { return recipientIdGuid; } + /** + * setRecipientIdGuid. + **/ public void setRecipientIdGuid(String recipientIdGuid) { this.recipientIdGuid = recipientIdGuid; } + + /** + * recipientSignatureProviders. + * + * @return SealSign + **/ public SealSign recipientSignatureProviders(java.util.List recipientSignatureProviders) { this.recipientSignatureProviders = recipientSignatureProviders; return this; } - + + /** + * addRecipientSignatureProvidersItem. + * + * @return SealSign + **/ public SealSign addRecipientSignatureProvidersItem(RecipientSignatureProvider recipientSignatureProvidersItem) { + if (this.recipientSignatureProviders == null) { + this.recipientSignatureProviders = new java.util.ArrayList(); + } this.recipientSignatureProviders.add(recipientSignatureProvidersItem); return this; } - /** - * + /** + * . * @return recipientSignatureProviders - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getRecipientSignatureProviders() { return recipientSignatureProviders; } + /** + * setRecipientSignatureProviders. + **/ public void setRecipientSignatureProviders(java.util.List recipientSignatureProviders) { this.recipientSignatureProviders = recipientSignatureProviders; } + + /** + * requireIdLookup. + * + * @return SealSign + **/ public SealSign requireIdLookup(String requireIdLookup) { this.requireIdLookup = requireIdLookup; return this; } - /** - * When set to **true**, the recipient is required to use the specified ID check method (including Phone and SMS authentication) to validate their identity. + /** + * When set to **true**, the recipient is required to use the specified ID check method (including Phone and SMS authentication) to validate their identity. . * @return requireIdLookup - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the recipient is required to use the specified ID check method (including Phone and SMS authentication) to validate their identity. ") + **/ + @ApiModelProperty(value = "When set to **true**, the recipient is required to use the specified ID check method (including Phone and SMS authentication) to validate their identity. ") public String getRequireIdLookup() { return requireIdLookup; } + /** + * setRequireIdLookup. + **/ public void setRequireIdLookup(String requireIdLookup) { this.requireIdLookup = requireIdLookup; } + + /** + * roleName. + * + * @return SealSign + **/ public SealSign roleName(String roleName) { this.roleName = roleName; return this; } - /** - * Optional element. Specifies the role name associated with the recipient.

This is required when working with template recipients. + /** + * Optional element. Specifies the role name associated with the recipient.

This is required when working with template recipients.. * @return roleName - **/ - @ApiModelProperty(example = "null", value = "Optional element. Specifies the role name associated with the recipient.

This is required when working with template recipients.") + **/ + @ApiModelProperty(value = "Optional element. Specifies the role name associated with the recipient.

This is required when working with template recipients.") public String getRoleName() { return roleName; } + /** + * setRoleName. + **/ public void setRoleName(String roleName) { this.roleName = roleName; } + + /** + * routingOrder. + * + * @return SealSign + **/ public SealSign routingOrder(String routingOrder) { this.routingOrder = routingOrder; return this; } - /** - * Specifies the routing order of the recipient in the envelope. + /** + * Specifies the routing order of the recipient in the envelope. . * @return routingOrder - **/ - @ApiModelProperty(example = "null", value = "Specifies the routing order of the recipient in the envelope. ") + **/ + @ApiModelProperty(value = "Specifies the routing order of the recipient in the envelope. ") public String getRoutingOrder() { return routingOrder; } + /** + * setRoutingOrder. + **/ public void setRoutingOrder(String routingOrder) { this.routingOrder = routingOrder; } + + /** + * samlAuthentication. + * + * @return SealSign + **/ public SealSign samlAuthentication(RecipientSAMLAuthentication samlAuthentication) { this.samlAuthentication = samlAuthentication; return this; } - /** - * Get samlAuthentication + /** + * Get samlAuthentication. * @return samlAuthentication - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public RecipientSAMLAuthentication getSamlAuthentication() { return samlAuthentication; } + /** + * setSamlAuthentication. + **/ public void setSamlAuthentication(RecipientSAMLAuthentication samlAuthentication) { this.samlAuthentication = samlAuthentication; } + + /** + * sentDateTime. + * + * @return SealSign + **/ public SealSign sentDateTime(String sentDateTime) { this.sentDateTime = sentDateTime; return this; } - /** - * The date and time the envelope was sent. + /** + * The date and time the envelope was sent.. * @return sentDateTime - **/ - @ApiModelProperty(example = "null", value = "The date and time the envelope was sent.") + **/ + @ApiModelProperty(value = "The date and time the envelope was sent.") public String getSentDateTime() { return sentDateTime; } + /** + * setSentDateTime. + **/ public void setSentDateTime(String sentDateTime) { this.sentDateTime = sentDateTime; } + + /** + * signedDateTime. + * + * @return SealSign + **/ public SealSign signedDateTime(String signedDateTime) { this.signedDateTime = signedDateTime; return this; } - /** - * Reserved: For DocuSign use only. + /** + * Reserved: For DocuSign use only. . * @return signedDateTime - **/ - @ApiModelProperty(example = "null", value = "Reserved: For DocuSign use only. ") + **/ + @ApiModelProperty(value = "Reserved: For DocuSign use only. ") public String getSignedDateTime() { return signedDateTime; } + /** + * setSignedDateTime. + **/ public void setSignedDateTime(String signedDateTime) { this.signedDateTime = signedDateTime; } + + /** + * smsAuthentication. + * + * @return SealSign + **/ public SealSign smsAuthentication(RecipientSMSAuthentication smsAuthentication) { this.smsAuthentication = smsAuthentication; return this; } - /** - * Get smsAuthentication + /** + * Get smsAuthentication. * @return smsAuthentication - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public RecipientSMSAuthentication getSmsAuthentication() { return smsAuthentication; } + /** + * setSmsAuthentication. + **/ public void setSmsAuthentication(RecipientSMSAuthentication smsAuthentication) { this.smsAuthentication = smsAuthentication; } + + /** + * socialAuthentications. + * + * @return SealSign + **/ public SealSign socialAuthentications(java.util.List socialAuthentications) { this.socialAuthentications = socialAuthentications; return this; } - + + /** + * addSocialAuthenticationsItem. + * + * @return SealSign + **/ public SealSign addSocialAuthenticationsItem(SocialAuthentication socialAuthenticationsItem) { + if (this.socialAuthentications == null) { + this.socialAuthentications = new java.util.ArrayList(); + } this.socialAuthentications.add(socialAuthenticationsItem); return this; } - /** - * Lists the social ID type that can be used for recipient authentication. + /** + * Lists the social ID type that can be used for recipient authentication.. * @return socialAuthentications - **/ - @ApiModelProperty(example = "null", value = " Lists the social ID type that can be used for recipient authentication.") + **/ + @ApiModelProperty(value = " Lists the social ID type that can be used for recipient authentication.") public java.util.List getSocialAuthentications() { return socialAuthentications; } + /** + * setSocialAuthentications. + **/ public void setSocialAuthentications(java.util.List socialAuthentications) { this.socialAuthentications = socialAuthentications; } + + /** + * status. + * + * @return SealSign + **/ public SealSign status(String status) { this.status = status; return this; } - /** - * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. + /** + * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.. * @return status - **/ - @ApiModelProperty(example = "null", value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") + **/ + @ApiModelProperty(value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") public String getStatus() { return status; } + /** + * setStatus. + **/ public void setStatus(String status) { this.status = status; } + + /** + * tabs. + * + * @return SealSign + **/ public SealSign tabs(Tabs tabs) { this.tabs = tabs; return this; } - /** - * Get tabs + /** + * Get tabs. * @return tabs - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public Tabs getTabs() { return tabs; } + /** + * setTabs. + **/ public void setTabs(Tabs tabs) { this.tabs = tabs; } + + /** + * templateLocked. + * + * @return SealSign + **/ public SealSign templateLocked(String templateLocked) { this.templateLocked = templateLocked; return this; } - /** - * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. . * @return templateLocked - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") + **/ + @ApiModelProperty(value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") public String getTemplateLocked() { return templateLocked; } + /** + * setTemplateLocked. + **/ public void setTemplateLocked(String templateLocked) { this.templateLocked = templateLocked; } + + /** + * templateRequired. + * + * @return SealSign + **/ public SealSign templateRequired(String templateRequired) { this.templateRequired = templateRequired; return this; } - /** - * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.. * @return templateRequired - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") + **/ + @ApiModelProperty(value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") public String getTemplateRequired() { return templateRequired; } + /** + * setTemplateRequired. + **/ public void setTemplateRequired(String templateRequired) { this.templateRequired = templateRequired; } + + /** + * totalTabCount. + * + * @return SealSign + **/ public SealSign totalTabCount(String totalTabCount) { this.totalTabCount = totalTabCount; return this; } - /** - * + /** + * . * @return totalTabCount - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTotalTabCount() { return totalTabCount; } + /** + * setTotalTabCount. + **/ public void setTotalTabCount(String totalTabCount) { this.totalTabCount = totalTabCount; } + + /** + * userId. + * + * @return SealSign + **/ public SealSign userId(String userId) { this.userId = userId; return this; } - /** - * + /** + * . * @return userId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getUserId() { return userId; } + /** + * setUserId. + **/ public void setUserId(String userId) { this.userId = userId; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -871,6 +1292,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.faxNumber, sealSign.faxNumber) && Objects.equals(this.idCheckConfigurationName, sealSign.idCheckConfigurationName) && Objects.equals(this.idCheckInformationInput, sealSign.idCheckInformationInput) && + Objects.equals(this.identityVerification, sealSign.identityVerification) && Objects.equals(this.inheritEmailNotificationConfiguration, sealSign.inheritEmailNotificationConfiguration) && Objects.equals(this.name, sealSign.name) && Objects.equals(this.note, sealSign.note) && @@ -896,12 +1318,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.userId, sealSign.userId); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { - return Objects.hash(accessCode, addAccessCodeToEmail, clientUserId, customFields, declinedDateTime, declinedReason, deliveredDateTime, deliveryMethod, documentVisibility, emailNotification, embeddedRecipientStartURL, errorDetails, faxNumber, idCheckConfigurationName, idCheckInformationInput, inheritEmailNotificationConfiguration, name, note, phoneAuthentication, recipientAttachments, recipientAuthenticationStatus, recipientId, recipientIdGuid, recipientSignatureProviders, requireIdLookup, roleName, routingOrder, samlAuthentication, sentDateTime, signedDateTime, smsAuthentication, socialAuthentications, status, tabs, templateLocked, templateRequired, totalTabCount, userId); + return Objects.hash(accessCode, addAccessCodeToEmail, clientUserId, customFields, declinedDateTime, declinedReason, deliveredDateTime, deliveryMethod, documentVisibility, emailNotification, embeddedRecipientStartURL, errorDetails, faxNumber, idCheckConfigurationName, idCheckInformationInput, identityVerification, inheritEmailNotificationConfiguration, name, note, phoneAuthentication, recipientAttachments, recipientAuthenticationStatus, recipientId, recipientIdGuid, recipientSignatureProviders, requireIdLookup, roleName, routingOrder, samlAuthentication, sentDateTime, signedDateTime, smsAuthentication, socialAuthentications, status, tabs, templateLocked, templateRequired, totalTabCount, userId); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -922,6 +1350,7 @@ public String toString() { sb.append(" faxNumber: ").append(toIndentedString(faxNumber)).append("\n"); sb.append(" idCheckConfigurationName: ").append(toIndentedString(idCheckConfigurationName)).append("\n"); sb.append(" idCheckInformationInput: ").append(toIndentedString(idCheckInformationInput)).append("\n"); + sb.append(" identityVerification: ").append(toIndentedString(identityVerification)).append("\n"); sb.append(" inheritEmailNotificationConfiguration: ").append(toIndentedString(inheritEmailNotificationConfiguration)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append(" note: ").append(toIndentedString(note)).append("\n"); @@ -959,6 +1388,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/SeatDiscount.java b/src/main/java/com/docusign/esign/model/SeatDiscount.java index b0b8108d..07e4d57a 100644 --- a/src/main/java/com/docusign/esign/model/SeatDiscount.java +++ b/src/main/java/com/docusign/esign/model/SeatDiscount.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * SeatDiscount + * SeatDiscount. + * */ public class SeatDiscount { @@ -20,61 +23,93 @@ public class SeatDiscount { @JsonProperty("endSeatCount") private String endSeatCount = null; + + /** + * beginSeatCount. + * + * @return SeatDiscount + **/ public SeatDiscount beginSeatCount(String beginSeatCount) { this.beginSeatCount = beginSeatCount; return this; } - /** - * Reserved: TBD + /** + * Reserved: TBD. * @return beginSeatCount - **/ - @ApiModelProperty(example = "null", value = "Reserved: TBD") + **/ + @ApiModelProperty(value = "Reserved: TBD") public String getBeginSeatCount() { return beginSeatCount; } + /** + * setBeginSeatCount. + **/ public void setBeginSeatCount(String beginSeatCount) { this.beginSeatCount = beginSeatCount; } + + /** + * discountPercent. + * + * @return SeatDiscount + **/ public SeatDiscount discountPercent(String discountPercent) { this.discountPercent = discountPercent; return this; } - /** - * + /** + * . * @return discountPercent - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getDiscountPercent() { return discountPercent; } + /** + * setDiscountPercent. + **/ public void setDiscountPercent(String discountPercent) { this.discountPercent = discountPercent; } + + /** + * endSeatCount. + * + * @return SeatDiscount + **/ public SeatDiscount endSeatCount(String endSeatCount) { this.endSeatCount = endSeatCount; return this; } - /** - * Reserved: TBD + /** + * Reserved: TBD. * @return endSeatCount - **/ - @ApiModelProperty(example = "null", value = "Reserved: TBD") + **/ + @ApiModelProperty(value = "Reserved: TBD") public String getEndSeatCount() { return endSeatCount; } + /** + * setEndSeatCount. + **/ public void setEndSeatCount(String endSeatCount) { this.endSeatCount = endSeatCount; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -89,12 +124,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.endSeatCount, seatDiscount.endSeatCount); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(beginSeatCount, discountPercent, endSeatCount); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -117,6 +158,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/Sender.java b/src/main/java/com/docusign/esign/model/Sender.java index 9c46859b..3d9413c9 100644 --- a/src/main/java/com/docusign/esign/model/Sender.java +++ b/src/main/java/com/docusign/esign/model/Sender.java @@ -1,8 +1,10 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; @@ -26,7 +28,7 @@ public Sender accountIdGuid(String accountIdGuid) { * The GUID associated with the account ID. * @return accountIdGuid **/ - @ApiModelProperty(example = "null", value = "The GUID associated with the account ID.") + @ApiModelProperty(value = "The GUID associated with the account ID.") public String getAccountIdGuid() { return accountIdGuid; } @@ -44,7 +46,7 @@ public Sender companyName(String companyName) { * * @return companyName **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public String getCompanyName() { return companyName; } @@ -94,6 +96,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/SenderEmailNotifications.java b/src/main/java/com/docusign/esign/model/SenderEmailNotifications.java index 7a7f2cbc..abefeeb3 100644 --- a/src/main/java/com/docusign/esign/model/SenderEmailNotifications.java +++ b/src/main/java/com/docusign/esign/model/SenderEmailNotifications.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * SenderEmailNotifications + * SenderEmailNotifications. + * */ public class SenderEmailNotifications { @@ -29,6 +32,9 @@ public class SenderEmailNotifications { @JsonProperty("offlineSigningFailed") private String offlineSigningFailed = null; + @JsonProperty("powerformResponsesLimitNotificationEmail") + private String powerformResponsesLimitNotificationEmail = null; + @JsonProperty("recipientViewed") private String recipientViewed = null; @@ -38,169 +44,282 @@ public class SenderEmailNotifications { @JsonProperty("withdrawnConsent") private String withdrawnConsent = null; + + /** + * changedSigner. + * + * @return SenderEmailNotifications + **/ public SenderEmailNotifications changedSigner(String changedSigner) { this.changedSigner = changedSigner; return this; } - /** - * When set to **true**, the sender receives notification if the signer changes. + /** + * When set to **true**, the sender receives notification if the signer changes.. * @return changedSigner - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender receives notification if the signer changes.") + **/ + @ApiModelProperty(value = "When set to **true**, the sender receives notification if the signer changes.") public String getChangedSigner() { return changedSigner; } + /** + * setChangedSigner. + **/ public void setChangedSigner(String changedSigner) { this.changedSigner = changedSigner; } + + /** + * commentsOnlyPrivateAndMention. + * + * @return SenderEmailNotifications + **/ public SenderEmailNotifications commentsOnlyPrivateAndMention(String commentsOnlyPrivateAndMention) { this.commentsOnlyPrivateAndMention = commentsOnlyPrivateAndMention; return this; } - /** - * + /** + * . * @return commentsOnlyPrivateAndMention - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getCommentsOnlyPrivateAndMention() { return commentsOnlyPrivateAndMention; } + /** + * setCommentsOnlyPrivateAndMention. + **/ public void setCommentsOnlyPrivateAndMention(String commentsOnlyPrivateAndMention) { this.commentsOnlyPrivateAndMention = commentsOnlyPrivateAndMention; } + + /** + * commentsReceiveAll. + * + * @return SenderEmailNotifications + **/ public SenderEmailNotifications commentsReceiveAll(String commentsReceiveAll) { this.commentsReceiveAll = commentsReceiveAll; return this; } - /** - * + /** + * . * @return commentsReceiveAll - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getCommentsReceiveAll() { return commentsReceiveAll; } + /** + * setCommentsReceiveAll. + **/ public void setCommentsReceiveAll(String commentsReceiveAll) { this.commentsReceiveAll = commentsReceiveAll; } + + /** + * deliveryFailed. + * + * @return SenderEmailNotifications + **/ public SenderEmailNotifications deliveryFailed(String deliveryFailed) { this.deliveryFailed = deliveryFailed; return this; } - /** - * When set to **true**, the sender receives notification if the delivery of the envelope fails. + /** + * When set to **true**, the sender receives notification if the delivery of the envelope fails.. * @return deliveryFailed - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender receives notification if the delivery of the envelope fails.") + **/ + @ApiModelProperty(value = "When set to **true**, the sender receives notification if the delivery of the envelope fails.") public String getDeliveryFailed() { return deliveryFailed; } + /** + * setDeliveryFailed. + **/ public void setDeliveryFailed(String deliveryFailed) { this.deliveryFailed = deliveryFailed; } + + /** + * envelopeComplete. + * + * @return SenderEmailNotifications + **/ public SenderEmailNotifications envelopeComplete(String envelopeComplete) { this.envelopeComplete = envelopeComplete; return this; } - /** - * When set to **true**, the user receives notification that the envelope has been completed. + /** + * When set to **true**, the user receives notification that the envelope has been completed.. * @return envelopeComplete - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the user receives notification that the envelope has been completed.") + **/ + @ApiModelProperty(value = "When set to **true**, the user receives notification that the envelope has been completed.") public String getEnvelopeComplete() { return envelopeComplete; } + /** + * setEnvelopeComplete. + **/ public void setEnvelopeComplete(String envelopeComplete) { this.envelopeComplete = envelopeComplete; } + + /** + * offlineSigningFailed. + * + * @return SenderEmailNotifications + **/ public SenderEmailNotifications offlineSigningFailed(String offlineSigningFailed) { this.offlineSigningFailed = offlineSigningFailed; return this; } - /** - * When set to **true**, the user receives notification if the offline signing failed. + /** + * When set to **true**, the user receives notification if the offline signing failed.. * @return offlineSigningFailed - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the user receives notification if the offline signing failed.") + **/ + @ApiModelProperty(value = "When set to **true**, the user receives notification if the offline signing failed.") public String getOfflineSigningFailed() { return offlineSigningFailed; } + /** + * setOfflineSigningFailed. + **/ public void setOfflineSigningFailed(String offlineSigningFailed) { this.offlineSigningFailed = offlineSigningFailed; } + + /** + * powerformResponsesLimitNotificationEmail. + * + * @return SenderEmailNotifications + **/ + public SenderEmailNotifications powerformResponsesLimitNotificationEmail(String powerformResponsesLimitNotificationEmail) { + this.powerformResponsesLimitNotificationEmail = powerformResponsesLimitNotificationEmail; + return this; + } + + /** + * . + * @return powerformResponsesLimitNotificationEmail + **/ + @ApiModelProperty(value = "") + public String getPowerformResponsesLimitNotificationEmail() { + return powerformResponsesLimitNotificationEmail; + } + + /** + * setPowerformResponsesLimitNotificationEmail. + **/ + public void setPowerformResponsesLimitNotificationEmail(String powerformResponsesLimitNotificationEmail) { + this.powerformResponsesLimitNotificationEmail = powerformResponsesLimitNotificationEmail; + } + + + /** + * recipientViewed. + * + * @return SenderEmailNotifications + **/ public SenderEmailNotifications recipientViewed(String recipientViewed) { this.recipientViewed = recipientViewed; return this; } - /** - * When set to **true**, the sender receives notification that the recipient viewed the enveloper. + /** + * When set to **true**, the sender receives notification that the recipient viewed the enveloper.. * @return recipientViewed - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender receives notification that the recipient viewed the enveloper.") + **/ + @ApiModelProperty(value = "When set to **true**, the sender receives notification that the recipient viewed the enveloper.") public String getRecipientViewed() { return recipientViewed; } + /** + * setRecipientViewed. + **/ public void setRecipientViewed(String recipientViewed) { this.recipientViewed = recipientViewed; } + + /** + * senderEnvelopeDeclined. + * + * @return SenderEmailNotifications + **/ public SenderEmailNotifications senderEnvelopeDeclined(String senderEnvelopeDeclined) { this.senderEnvelopeDeclined = senderEnvelopeDeclined; return this; } - /** - * + /** + * . * @return senderEnvelopeDeclined - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSenderEnvelopeDeclined() { return senderEnvelopeDeclined; } + /** + * setSenderEnvelopeDeclined. + **/ public void setSenderEnvelopeDeclined(String senderEnvelopeDeclined) { this.senderEnvelopeDeclined = senderEnvelopeDeclined; } + + /** + * withdrawnConsent. + * + * @return SenderEmailNotifications + **/ public SenderEmailNotifications withdrawnConsent(String withdrawnConsent) { this.withdrawnConsent = withdrawnConsent; return this; } - /** - * When set to **true**, the user receives notification if consent is withdrawn. + /** + * When set to **true**, the user receives notification if consent is withdrawn.. * @return withdrawnConsent - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the user receives notification if consent is withdrawn.") + **/ + @ApiModelProperty(value = "When set to **true**, the user receives notification if consent is withdrawn.") public String getWithdrawnConsent() { return withdrawnConsent; } + /** + * setWithdrawnConsent. + **/ public void setWithdrawnConsent(String withdrawnConsent) { this.withdrawnConsent = withdrawnConsent; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -216,17 +335,24 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.deliveryFailed, senderEmailNotifications.deliveryFailed) && Objects.equals(this.envelopeComplete, senderEmailNotifications.envelopeComplete) && Objects.equals(this.offlineSigningFailed, senderEmailNotifications.offlineSigningFailed) && + Objects.equals(this.powerformResponsesLimitNotificationEmail, senderEmailNotifications.powerformResponsesLimitNotificationEmail) && Objects.equals(this.recipientViewed, senderEmailNotifications.recipientViewed) && Objects.equals(this.senderEnvelopeDeclined, senderEmailNotifications.senderEnvelopeDeclined) && Objects.equals(this.withdrawnConsent, senderEmailNotifications.withdrawnConsent); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { - return Objects.hash(changedSigner, commentsOnlyPrivateAndMention, commentsReceiveAll, deliveryFailed, envelopeComplete, offlineSigningFailed, recipientViewed, senderEnvelopeDeclined, withdrawnConsent); + return Objects.hash(changedSigner, commentsOnlyPrivateAndMention, commentsReceiveAll, deliveryFailed, envelopeComplete, offlineSigningFailed, powerformResponsesLimitNotificationEmail, recipientViewed, senderEnvelopeDeclined, withdrawnConsent); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -238,6 +364,7 @@ public String toString() { sb.append(" deliveryFailed: ").append(toIndentedString(deliveryFailed)).append("\n"); sb.append(" envelopeComplete: ").append(toIndentedString(envelopeComplete)).append("\n"); sb.append(" offlineSigningFailed: ").append(toIndentedString(offlineSigningFailed)).append("\n"); + sb.append(" powerformResponsesLimitNotificationEmail: ").append(toIndentedString(powerformResponsesLimitNotificationEmail)).append("\n"); sb.append(" recipientViewed: ").append(toIndentedString(recipientViewed)).append("\n"); sb.append(" senderEnvelopeDeclined: ").append(toIndentedString(senderEnvelopeDeclined)).append("\n"); sb.append(" withdrawnConsent: ").append(toIndentedString(withdrawnConsent)).append("\n"); @@ -255,6 +382,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/ServerTemplate.java b/src/main/java/com/docusign/esign/model/ServerTemplate.java index 5d1d45cf..158917e2 100644 --- a/src/main/java/com/docusign/esign/model/ServerTemplate.java +++ b/src/main/java/com/docusign/esign/model/ServerTemplate.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * ServerTemplate + * ServerTemplate. + * */ public class ServerTemplate { @@ -17,43 +20,66 @@ public class ServerTemplate { @JsonProperty("templateId") private String templateId = null; + + /** + * sequence. + * + * @return ServerTemplate + **/ public ServerTemplate sequence(String sequence) { this.sequence = sequence; return this; } - /** - * + /** + * . * @return sequence - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSequence() { return sequence; } + /** + * setSequence. + **/ public void setSequence(String sequence) { this.sequence = sequence; } + + /** + * templateId. + * + * @return ServerTemplate + **/ public ServerTemplate templateId(String templateId) { this.templateId = templateId; return this; } - /** - * The unique identifier of the template. If this is not provided, DocuSign will generate a value. + /** + * The unique identifier of the template. If this is not provided, DocuSign will generate a value. . * @return templateId - **/ - @ApiModelProperty(example = "null", value = "The unique identifier of the template. If this is not provided, DocuSign will generate a value. ") + **/ + @ApiModelProperty(value = "The unique identifier of the template. If this is not provided, DocuSign will generate a value. ") public String getTemplateId() { return templateId; } + /** + * setTemplateId. + **/ public void setTemplateId(String templateId) { this.templateId = templateId; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -67,12 +93,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.templateId, serverTemplate.templateId); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(sequence, templateId); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -94,6 +126,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/ServiceInformation.java b/src/main/java/com/docusign/esign/model/ServiceInformation.java index c9a7f114..0b7e63fa 100644 --- a/src/main/java/com/docusign/esign/model/ServiceInformation.java +++ b/src/main/java/com/docusign/esign/model/ServiceInformation.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ServiceVersion; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * ServiceInformation + * ServiceInformation. + * */ public class ServiceInformation { @@ -25,130 +28,205 @@ public class ServiceInformation { private String buildVersion = null; @JsonProperty("linkedSites") - private java.util.List linkedSites = new java.util.ArrayList(); + private java.util.List linkedSites = null; @JsonProperty("serviceVersions") - private java.util.List serviceVersions = new java.util.ArrayList(); + private java.util.List serviceVersions = null; + + /** + * buildBranch. + * + * @return ServiceInformation + **/ public ServiceInformation buildBranch(String buildBranch) { this.buildBranch = buildBranch; return this; } - /** - * Reserved: TBD + /** + * Reserved: TBD. * @return buildBranch - **/ - @ApiModelProperty(example = "null", value = "Reserved: TBD") + **/ + @ApiModelProperty(value = "Reserved: TBD") public String getBuildBranch() { return buildBranch; } + /** + * setBuildBranch. + **/ public void setBuildBranch(String buildBranch) { this.buildBranch = buildBranch; } + + /** + * buildBranchDeployedDateTime. + * + * @return ServiceInformation + **/ public ServiceInformation buildBranchDeployedDateTime(String buildBranchDeployedDateTime) { this.buildBranchDeployedDateTime = buildBranchDeployedDateTime; return this; } - /** - * Reserved: TBD + /** + * Reserved: TBD. * @return buildBranchDeployedDateTime - **/ - @ApiModelProperty(example = "null", value = "Reserved: TBD") + **/ + @ApiModelProperty(value = "Reserved: TBD") public String getBuildBranchDeployedDateTime() { return buildBranchDeployedDateTime; } + /** + * setBuildBranchDeployedDateTime. + **/ public void setBuildBranchDeployedDateTime(String buildBranchDeployedDateTime) { this.buildBranchDeployedDateTime = buildBranchDeployedDateTime; } + + /** + * buildSHA. + * + * @return ServiceInformation + **/ public ServiceInformation buildSHA(String buildSHA) { this.buildSHA = buildSHA; return this; } - /** - * Reserved: TBD + /** + * Reserved: TBD. * @return buildSHA - **/ - @ApiModelProperty(example = "null", value = "Reserved: TBD") + **/ + @ApiModelProperty(value = "Reserved: TBD") public String getBuildSHA() { return buildSHA; } + /** + * setBuildSHA. + **/ public void setBuildSHA(String buildSHA) { this.buildSHA = buildSHA; } + + /** + * buildVersion. + * + * @return ServiceInformation + **/ public ServiceInformation buildVersion(String buildVersion) { this.buildVersion = buildVersion; return this; } - /** - * Reserved: TBD + /** + * Reserved: TBD. * @return buildVersion - **/ - @ApiModelProperty(example = "null", value = "Reserved: TBD") + **/ + @ApiModelProperty(value = "Reserved: TBD") public String getBuildVersion() { return buildVersion; } + /** + * setBuildVersion. + **/ public void setBuildVersion(String buildVersion) { this.buildVersion = buildVersion; } + + /** + * linkedSites. + * + * @return ServiceInformation + **/ public ServiceInformation linkedSites(java.util.List linkedSites) { this.linkedSites = linkedSites; return this; } - + + /** + * addLinkedSitesItem. + * + * @return ServiceInformation + **/ public ServiceInformation addLinkedSitesItem(String linkedSitesItem) { + if (this.linkedSites == null) { + this.linkedSites = new java.util.ArrayList(); + } this.linkedSites.add(linkedSitesItem); return this; } - /** - * + /** + * . * @return linkedSites - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getLinkedSites() { return linkedSites; } + /** + * setLinkedSites. + **/ public void setLinkedSites(java.util.List linkedSites) { this.linkedSites = linkedSites; } + + /** + * serviceVersions. + * + * @return ServiceInformation + **/ public ServiceInformation serviceVersions(java.util.List serviceVersions) { this.serviceVersions = serviceVersions; return this; } - + + /** + * addServiceVersionsItem. + * + * @return ServiceInformation + **/ public ServiceInformation addServiceVersionsItem(ServiceVersion serviceVersionsItem) { + if (this.serviceVersions == null) { + this.serviceVersions = new java.util.ArrayList(); + } this.serviceVersions.add(serviceVersionsItem); return this; } - /** - * + /** + * . * @return serviceVersions - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getServiceVersions() { return serviceVersions; } + /** + * setServiceVersions. + **/ public void setServiceVersions(java.util.List serviceVersions) { this.serviceVersions = serviceVersions; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -166,12 +244,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.serviceVersions, serviceInformation.serviceVersions); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(buildBranch, buildBranchDeployedDateTime, buildSHA, buildVersion, linkedSites, serviceVersions); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -197,6 +281,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/ServiceVersion.java b/src/main/java/com/docusign/esign/model/ServiceVersion.java index 4701be7e..a8fff0b5 100644 --- a/src/main/java/com/docusign/esign/model/ServiceVersion.java +++ b/src/main/java/com/docusign/esign/model/ServiceVersion.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * ServiceVersion + * ServiceVersion. + * */ public class ServiceVersion { @@ -17,43 +20,66 @@ public class ServiceVersion { @JsonProperty("versionUrl") private String versionUrl = null; + + /** + * version. + * + * @return ServiceVersion + **/ public ServiceVersion version(String version) { this.version = version; return this; } - /** - * The version of the rest API. + /** + * The version of the rest API.. * @return version - **/ - @ApiModelProperty(example = "null", value = "The version of the rest API.") + **/ + @ApiModelProperty(value = "The version of the rest API.") public String getVersion() { return version; } + /** + * setVersion. + **/ public void setVersion(String version) { this.version = version; } + + /** + * versionUrl. + * + * @return ServiceVersion + **/ public ServiceVersion versionUrl(String versionUrl) { this.versionUrl = versionUrl; return this; } - /** - * + /** + * . * @return versionUrl - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getVersionUrl() { return versionUrl; } + /** + * setVersionUrl. + **/ public void setVersionUrl(String versionUrl) { this.versionUrl = versionUrl; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -67,12 +93,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.versionUrl, serviceVersion.versionUrl); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(version, versionUrl); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -94,6 +126,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/SettingsMetadata.java b/src/main/java/com/docusign/esign/model/SettingsMetadata.java index 85b917aa..de0ab761 100644 --- a/src/main/java/com/docusign/esign/model/SettingsMetadata.java +++ b/src/main/java/com/docusign/esign/model/SettingsMetadata.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * SettingsMetadata + * SettingsMetadata. + * */ public class SettingsMetadata { @@ -15,7 +18,7 @@ public class SettingsMetadata { private String is21CFRPart11 = null; @JsonProperty("options") - private java.util.List options = new java.util.ArrayList(); + private java.util.List options = null; @JsonProperty("rights") private String rights = null; @@ -29,120 +32,187 @@ public class SettingsMetadata { @JsonProperty("uiType") private String uiType = null; + + /** + * is21CFRPart11. + * + * @return SettingsMetadata + **/ public SettingsMetadata is21CFRPart11(String is21CFRPart11) { this.is21CFRPart11 = is21CFRPart11; return this; } - /** - * When set to **true**, indicates that this module is enabled on the account. + /** + * When set to **true**, indicates that this module is enabled on the account.. * @return is21CFRPart11 - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, indicates that this module is enabled on the account.") + **/ + @ApiModelProperty(value = "When set to **true**, indicates that this module is enabled on the account.") public String getIs21CFRPart11() { return is21CFRPart11; } + /** + * setIs21CFRPart11. + **/ public void setIs21CFRPart11(String is21CFRPart11) { this.is21CFRPart11 = is21CFRPart11; } + + /** + * options. + * + * @return SettingsMetadata + **/ public SettingsMetadata options(java.util.List options) { this.options = options; return this; } - + + /** + * addOptionsItem. + * + * @return SettingsMetadata + **/ public SettingsMetadata addOptionsItem(String optionsItem) { + if (this.options == null) { + this.options = new java.util.ArrayList(); + } this.options.add(optionsItem); return this; } - /** - * + /** + * . * @return options - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getOptions() { return options; } + /** + * setOptions. + **/ public void setOptions(java.util.List options) { this.options = options; } + + /** + * rights. + * + * @return SettingsMetadata + **/ public SettingsMetadata rights(String rights) { this.rights = rights; return this; } - /** - * + /** + * . * @return rights - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getRights() { return rights; } + /** + * setRights. + **/ public void setRights(String rights) { this.rights = rights; } + + /** + * uiHint. + * + * @return SettingsMetadata + **/ public SettingsMetadata uiHint(String uiHint) { this.uiHint = uiHint; return this; } - /** - * + /** + * . * @return uiHint - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getUiHint() { return uiHint; } + /** + * setUiHint. + **/ public void setUiHint(String uiHint) { this.uiHint = uiHint; } + + /** + * uiOrder. + * + * @return SettingsMetadata + **/ public SettingsMetadata uiOrder(String uiOrder) { this.uiOrder = uiOrder; return this; } - /** - * + /** + * . * @return uiOrder - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getUiOrder() { return uiOrder; } + /** + * setUiOrder. + **/ public void setUiOrder(String uiOrder) { this.uiOrder = uiOrder; } + + /** + * uiType. + * + * @return SettingsMetadata + **/ public SettingsMetadata uiType(String uiType) { this.uiType = uiType; return this; } - /** - * + /** + * . * @return uiType - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getUiType() { return uiType; } + /** + * setUiType. + **/ public void setUiType(String uiType) { this.uiType = uiType; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -160,12 +230,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.uiType, settingsMetadata.uiType); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(is21CFRPart11, options, rights, uiHint, uiOrder, uiType); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -191,6 +267,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/SharedItem.java b/src/main/java/com/docusign/esign/model/SharedItem.java index 183b2d60..f3499a48 100644 --- a/src/main/java/com/docusign/esign/model/SharedItem.java +++ b/src/main/java/com/docusign/esign/model/SharedItem.java @@ -1,15 +1,18 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ErrorDetails; import com.docusign.esign.model.UserInfo; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * SharedItem + * SharedItem. + * */ public class SharedItem { @@ -22,61 +25,93 @@ public class SharedItem { @JsonProperty("user") private UserInfo user = null; + + /** + * errorDetails. + * + * @return SharedItem + **/ public SharedItem errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * shared. + * + * @return SharedItem + **/ public SharedItem shared(String shared) { this.shared = shared; return this; } - /** - * When set to **true**, this custom tab is shared. + /** + * When set to **true**, this custom tab is shared.. * @return shared - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, this custom tab is shared.") + **/ + @ApiModelProperty(value = "When set to **true**, this custom tab is shared.") public String getShared() { return shared; } + /** + * setShared. + **/ public void setShared(String shared) { this.shared = shared; } + + /** + * user. + * + * @return SharedItem + **/ public SharedItem user(UserInfo user) { this.user = user; return this; } - /** - * Get user + /** + * Get user. * @return user - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public UserInfo getUser() { return user; } + /** + * setUser. + **/ public void setUser(UserInfo user) { this.user = user; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -91,12 +126,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.user, sharedItem.user); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(errorDetails, shared, user); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -119,6 +160,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/SignHashDocument.java b/src/main/java/com/docusign/esign/model/SignHashDocument.java index 8a334ad5..7500998a 100644 --- a/src/main/java/com/docusign/esign/model/SignHashDocument.java +++ b/src/main/java/com/docusign/esign/model/SignHashDocument.java @@ -1,9 +1,11 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.Revision; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; @@ -28,7 +30,7 @@ public class SignHashDocument { private String remainingSignatures = null; @JsonProperty("revisions") - private java.util.List revisions = new java.util.ArrayList(); + private java.util.List revisions = null; @JsonProperty("signatureType") private String signatureType = null; @@ -42,7 +44,7 @@ public SignHashDocument data(String data) { * * @return data **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public String getData() { return data; } @@ -60,7 +62,7 @@ public SignHashDocument documentId(String documentId) { * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute. * @return documentId **/ - @ApiModelProperty(example = "null", value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") + @ApiModelProperty(value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") public String getDocumentId() { return documentId; } @@ -78,7 +80,7 @@ public SignHashDocument format(String format) { * * @return format **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public String getFormat() { return format; } @@ -96,7 +98,7 @@ public SignHashDocument name(String name) { * * @return name **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public String getName() { return name; } @@ -114,7 +116,7 @@ public SignHashDocument remainingSignatures(String remainingSignatures) { * * @return remainingSignatures **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public String getRemainingSignatures() { return remainingSignatures; } @@ -129,6 +131,9 @@ public SignHashDocument revisions(java.util.List revisions) { } public SignHashDocument addRevisionsItem(Revision revisionsItem) { + if (this.revisions == null) { + this.revisions = new java.util.ArrayList(); + } this.revisions.add(revisionsItem); return this; } @@ -137,7 +142,7 @@ public SignHashDocument addRevisionsItem(Revision revisionsItem) { * * @return revisions **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public java.util.List getRevisions() { return revisions; } @@ -155,7 +160,7 @@ public SignHashDocument signatureType(String signatureType) { * * @return signatureType **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public String getSignatureType() { return signatureType; } @@ -215,6 +220,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/SignHashSessionInfoResponse.java b/src/main/java/com/docusign/esign/model/SignHashSessionInfoResponse.java index b66e0752..c7370b8f 100644 --- a/src/main/java/com/docusign/esign/model/SignHashSessionInfoResponse.java +++ b/src/main/java/com/docusign/esign/model/SignHashSessionInfoResponse.java @@ -1,11 +1,13 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.Seal; import com.docusign.esign.model.SignHashDocument; import com.docusign.esign.model.User; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; @@ -15,7 +17,7 @@ public class SignHashSessionInfoResponse { @JsonProperty("documents") - private java.util.List documents = new java.util.ArrayList(); + private java.util.List documents = null; @JsonProperty("envelopeId") private String envelopeId = null; @@ -41,6 +43,9 @@ public SignHashSessionInfoResponse documents(java.util.List do } public SignHashSessionInfoResponse addDocumentsItem(SignHashDocument documentsItem) { + if (this.documents == null) { + this.documents = new java.util.ArrayList(); + } this.documents.add(documentsItem); return this; } @@ -49,7 +54,7 @@ public SignHashSessionInfoResponse addDocumentsItem(SignHashDocument documentsIt * Complex element contains the details on the documents in the envelope. * @return documents **/ - @ApiModelProperty(example = "null", value = "Complex element contains the details on the documents in the envelope.") + @ApiModelProperty(value = "Complex element contains the details on the documents in the envelope.") public java.util.List getDocuments() { return documents; } @@ -67,7 +72,7 @@ public SignHashSessionInfoResponse envelopeId(String envelopeId) { * The envelope ID of the envelope status that failed to post. * @return envelopeId **/ - @ApiModelProperty(example = "null", value = "The envelope ID of the envelope status that failed to post.") + @ApiModelProperty(value = "The envelope ID of the envelope status that failed to post.") public String getEnvelopeId() { return envelopeId; } @@ -85,7 +90,7 @@ public SignHashSessionInfoResponse language(String language) { * * @return language **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public String getLanguage() { return language; } @@ -103,7 +108,7 @@ public SignHashSessionInfoResponse redirectionUrl(String redirectionUrl) { * * @return redirectionUrl **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public String getRedirectionUrl() { return redirectionUrl; } @@ -121,7 +126,7 @@ public SignHashSessionInfoResponse remainingSignatureRequests(String remainingSi * * @return remainingSignatureRequests **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public String getRemainingSignatureRequests() { return remainingSignatureRequests; } @@ -139,7 +144,7 @@ public SignHashSessionInfoResponse seal(Seal seal) { * Get seal * @return seal **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public Seal getSeal() { return seal; } @@ -157,7 +162,7 @@ public SignHashSessionInfoResponse user(User user) { * Get user * @return user **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public User getUser() { return user; } @@ -217,6 +222,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/SignHere.java b/src/main/java/com/docusign/esign/model/SignHere.java index 23ce0679..e1f7bb44 100644 --- a/src/main/java/com/docusign/esign/model/SignHere.java +++ b/src/main/java/com/docusign/esign/model/SignHere.java @@ -1,16 +1,19 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ErrorDetails; import com.docusign.esign.model.MergeField; import com.docusign.esign.model.PropertyMetadata; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * SignHere + * SignHere. + * */ public class SignHere { @@ -81,7 +84,7 @@ public class SignHere { private String status = null; @JsonProperty("tabGroupLabels") - private java.util.List tabGroupLabels = new java.util.ArrayList(); + private java.util.List tabGroupLabels = null; @JsonProperty("tabId") private String tabId = null; @@ -107,570 +110,862 @@ public class SignHere { @JsonProperty("yPosition") private String yPosition = null; + + /** + * anchorCaseSensitive. + * + * @return SignHere + **/ public SignHere anchorCaseSensitive(String anchorCaseSensitive) { this.anchorCaseSensitive = anchorCaseSensitive; return this; } - /** - * When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**. + /** + * When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.. * @return anchorCaseSensitive - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.") + **/ + @ApiModelProperty(value = "When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.") public String getAnchorCaseSensitive() { return anchorCaseSensitive; } + /** + * setAnchorCaseSensitive. + **/ public void setAnchorCaseSensitive(String anchorCaseSensitive) { this.anchorCaseSensitive = anchorCaseSensitive; } + + /** + * anchorHorizontalAlignment. + * + * @return SignHere + **/ public SignHere anchorHorizontalAlignment(String anchorHorizontalAlignment) { this.anchorHorizontalAlignment = anchorHorizontalAlignment; return this; } - /** - * Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**. + /** + * Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.. * @return anchorHorizontalAlignment - **/ - @ApiModelProperty(example = "null", value = "Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.") + **/ + @ApiModelProperty(value = "Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.") public String getAnchorHorizontalAlignment() { return anchorHorizontalAlignment; } + /** + * setAnchorHorizontalAlignment. + **/ public void setAnchorHorizontalAlignment(String anchorHorizontalAlignment) { this.anchorHorizontalAlignment = anchorHorizontalAlignment; } + + /** + * anchorIgnoreIfNotPresent. + * + * @return SignHere + **/ public SignHere anchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { this.anchorIgnoreIfNotPresent = anchorIgnoreIfNotPresent; return this; } - /** - * When set to **true**, this tab is ignored if anchorString is not found in the document. + /** + * When set to **true**, this tab is ignored if anchorString is not found in the document.. * @return anchorIgnoreIfNotPresent - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, this tab is ignored if anchorString is not found in the document.") + **/ + @ApiModelProperty(value = "When set to **true**, this tab is ignored if anchorString is not found in the document.") public String getAnchorIgnoreIfNotPresent() { return anchorIgnoreIfNotPresent; } + /** + * setAnchorIgnoreIfNotPresent. + **/ public void setAnchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { this.anchorIgnoreIfNotPresent = anchorIgnoreIfNotPresent; } + + /** + * anchorMatchWholeWord. + * + * @return SignHere + **/ public SignHere anchorMatchWholeWord(String anchorMatchWholeWord) { this.anchorMatchWholeWord = anchorMatchWholeWord; return this; } - /** - * When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**. + /** + * When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.. * @return anchorMatchWholeWord - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.") + **/ + @ApiModelProperty(value = "When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.") public String getAnchorMatchWholeWord() { return anchorMatchWholeWord; } + /** + * setAnchorMatchWholeWord. + **/ public void setAnchorMatchWholeWord(String anchorMatchWholeWord) { this.anchorMatchWholeWord = anchorMatchWholeWord; } + + /** + * anchorString. + * + * @return SignHere + **/ public SignHere anchorString(String anchorString) { this.anchorString = anchorString; return this; } - /** - * Anchor text information for a radio button. + /** + * Anchor text information for a radio button.. * @return anchorString - **/ - @ApiModelProperty(example = "null", value = "Anchor text information for a radio button.") + **/ + @ApiModelProperty(value = "Anchor text information for a radio button.") public String getAnchorString() { return anchorString; } + /** + * setAnchorString. + **/ public void setAnchorString(String anchorString) { this.anchorString = anchorString; } + + /** + * anchorUnits. + * + * @return SignHere + **/ public SignHere anchorUnits(String anchorUnits) { this.anchorUnits = anchorUnits; return this; } - /** - * Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. + /** + * Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. * @return anchorUnits - **/ - @ApiModelProperty(example = "null", value = "Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.") + **/ + @ApiModelProperty(value = "Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.") public String getAnchorUnits() { return anchorUnits; } + /** + * setAnchorUnits. + **/ public void setAnchorUnits(String anchorUnits) { this.anchorUnits = anchorUnits; } + + /** + * anchorXOffset. + * + * @return SignHere + **/ public SignHere anchorXOffset(String anchorXOffset) { this.anchorXOffset = anchorXOffset; return this; } - /** - * Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString. + /** + * Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. * @return anchorXOffset - **/ - @ApiModelProperty(example = "null", value = "Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.") + **/ + @ApiModelProperty(value = "Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.") public String getAnchorXOffset() { return anchorXOffset; } + /** + * setAnchorXOffset. + **/ public void setAnchorXOffset(String anchorXOffset) { this.anchorXOffset = anchorXOffset; } + + /** + * anchorYOffset. + * + * @return SignHere + **/ public SignHere anchorYOffset(String anchorYOffset) { this.anchorYOffset = anchorYOffset; return this; } - /** - * Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString. + /** + * Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.. * @return anchorYOffset - **/ - @ApiModelProperty(example = "null", value = "Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.") + **/ + @ApiModelProperty(value = "Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.") public String getAnchorYOffset() { return anchorYOffset; } + /** + * setAnchorYOffset. + **/ public void setAnchorYOffset(String anchorYOffset) { this.anchorYOffset = anchorYOffset; } + + /** + * conditionalParentLabel. + * + * @return SignHere + **/ public SignHere conditionalParentLabel(String conditionalParentLabel) { this.conditionalParentLabel = conditionalParentLabel; return this; } - /** - * For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility. + /** + * For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.. * @return conditionalParentLabel - **/ - @ApiModelProperty(example = "null", value = "For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.") + **/ + @ApiModelProperty(value = "For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.") public String getConditionalParentLabel() { return conditionalParentLabel; } + /** + * setConditionalParentLabel. + **/ public void setConditionalParentLabel(String conditionalParentLabel) { this.conditionalParentLabel = conditionalParentLabel; } + + /** + * conditionalParentValue. + * + * @return SignHere + **/ public SignHere conditionalParentValue(String conditionalParentValue) { this.conditionalParentValue = conditionalParentValue; return this; } - /** - * For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. + /** + * For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. . * @return conditionalParentValue - **/ - @ApiModelProperty(example = "null", value = "For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. ") + **/ + @ApiModelProperty(value = "For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. ") public String getConditionalParentValue() { return conditionalParentValue; } + /** + * setConditionalParentValue. + **/ public void setConditionalParentValue(String conditionalParentValue) { this.conditionalParentValue = conditionalParentValue; } + + /** + * customTabId. + * + * @return SignHere + **/ public SignHere customTabId(String customTabId) { this.customTabId = customTabId; return this; } - /** - * The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties. + /** + * The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.. * @return customTabId - **/ - @ApiModelProperty(example = "null", value = "The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.") + **/ + @ApiModelProperty(value = "The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.") public String getCustomTabId() { return customTabId; } + /** + * setCustomTabId. + **/ public void setCustomTabId(String customTabId) { this.customTabId = customTabId; } + + /** + * documentId. + * + * @return SignHere + **/ public SignHere documentId(String documentId) { this.documentId = documentId; return this; } - /** - * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute. + /** + * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.. * @return documentId - **/ - @ApiModelProperty(example = "null", value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") + **/ + @ApiModelProperty(value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") public String getDocumentId() { return documentId; } + /** + * setDocumentId. + **/ public void setDocumentId(String documentId) { this.documentId = documentId; } + + /** + * errorDetails. + * + * @return SignHere + **/ public SignHere errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * mergeField. + * + * @return SignHere + **/ public SignHere mergeField(MergeField mergeField) { this.mergeField = mergeField; return this; } - /** - * Get mergeField + /** + * Get mergeField. * @return mergeField - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public MergeField getMergeField() { return mergeField; } + /** + * setMergeField. + **/ public void setMergeField(MergeField mergeField) { this.mergeField = mergeField; } + + /** + * name. + * + * @return SignHere + **/ public SignHere name(String name) { this.name = name; return this; } - /** - * Specifies the tool tip text for the tab. + /** + * Specifies the tool tip text for the tab.. * @return name - **/ - @ApiModelProperty(example = "null", value = "Specifies the tool tip text for the tab.") + **/ + @ApiModelProperty(value = "Specifies the tool tip text for the tab.") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * optional. + * + * @return SignHere + **/ public SignHere optional(String optional) { this.optional = optional; return this; } - /** - * + /** + * . * @return optional - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getOptional() { return optional; } + /** + * setOptional. + **/ public void setOptional(String optional) { this.optional = optional; } + + /** + * pageNumber. + * + * @return SignHere + **/ public SignHere pageNumber(String pageNumber) { this.pageNumber = pageNumber; return this; } - /** - * Specifies the page number on which the tab is located. + /** + * Specifies the page number on which the tab is located.. * @return pageNumber - **/ - @ApiModelProperty(example = "null", value = "Specifies the page number on which the tab is located.") + **/ + @ApiModelProperty(value = "Specifies the page number on which the tab is located.") public String getPageNumber() { return pageNumber; } + /** + * setPageNumber. + **/ public void setPageNumber(String pageNumber) { this.pageNumber = pageNumber; } + + /** + * recipientId. + * + * @return SignHere + **/ public SignHere recipientId(String recipientId) { this.recipientId = recipientId; return this; } - /** - * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document. + /** + * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.. * @return recipientId - **/ - @ApiModelProperty(example = "null", value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") + **/ + @ApiModelProperty(value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") public String getRecipientId() { return recipientId; } + /** + * setRecipientId. + **/ public void setRecipientId(String recipientId) { this.recipientId = recipientId; } + + /** + * scaleValue. + * + * @return SignHere + **/ public SignHere scaleValue(String scaleValue) { this.scaleValue = scaleValue; return this; } - /** - * + /** + * . * @return scaleValue - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getScaleValue() { return scaleValue; } + /** + * setScaleValue. + **/ public void setScaleValue(String scaleValue) { this.scaleValue = scaleValue; } + + /** + * stampType. + * + * @return SignHere + **/ public SignHere stampType(String stampType) { this.stampType = stampType; return this; } - /** - * + /** + * . * @return stampType - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getStampType() { return stampType; } + /** + * setStampType. + **/ public void setStampType(String stampType) { this.stampType = stampType; } + + /** + * stampTypeMetadata. + * + * @return SignHere + **/ public SignHere stampTypeMetadata(PropertyMetadata stampTypeMetadata) { this.stampTypeMetadata = stampTypeMetadata; return this; } - /** - * Get stampTypeMetadata + /** + * Get stampTypeMetadata. * @return stampTypeMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public PropertyMetadata getStampTypeMetadata() { return stampTypeMetadata; } + /** + * setStampTypeMetadata. + **/ public void setStampTypeMetadata(PropertyMetadata stampTypeMetadata) { this.stampTypeMetadata = stampTypeMetadata; } + + /** + * status. + * + * @return SignHere + **/ public SignHere status(String status) { this.status = status; return this; } - /** - * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. + /** + * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.. * @return status - **/ - @ApiModelProperty(example = "null", value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") + **/ + @ApiModelProperty(value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") public String getStatus() { return status; } + /** + * setStatus. + **/ public void setStatus(String status) { this.status = status; } + + /** + * tabGroupLabels. + * + * @return SignHere + **/ public SignHere tabGroupLabels(java.util.List tabGroupLabels) { this.tabGroupLabels = tabGroupLabels; return this; } - + + /** + * addTabGroupLabelsItem. + * + * @return SignHere + **/ public SignHere addTabGroupLabelsItem(String tabGroupLabelsItem) { + if (this.tabGroupLabels == null) { + this.tabGroupLabels = new java.util.ArrayList(); + } this.tabGroupLabels.add(tabGroupLabelsItem); return this; } - /** - * + /** + * . * @return tabGroupLabels - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getTabGroupLabels() { return tabGroupLabels; } + /** + * setTabGroupLabels. + **/ public void setTabGroupLabels(java.util.List tabGroupLabels) { this.tabGroupLabels = tabGroupLabels; } + + /** + * tabId. + * + * @return SignHere + **/ public SignHere tabId(String tabId) { this.tabId = tabId; return this; } - /** - * The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. + /** + * The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. . * @return tabId - **/ - @ApiModelProperty(example = "null", value = "The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. ") + **/ + @ApiModelProperty(value = "The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. ") public String getTabId() { return tabId; } + /** + * setTabId. + **/ public void setTabId(String tabId) { this.tabId = tabId; } + + /** + * tabLabel. + * + * @return SignHere + **/ public SignHere tabLabel(String tabLabel) { this.tabLabel = tabLabel; return this; } - /** - * The label string associated with the tab. + /** + * The label string associated with the tab.. * @return tabLabel - **/ - @ApiModelProperty(example = "null", value = "The label string associated with the tab.") + **/ + @ApiModelProperty(value = "The label string associated with the tab.") public String getTabLabel() { return tabLabel; } + /** + * setTabLabel. + **/ public void setTabLabel(String tabLabel) { this.tabLabel = tabLabel; } + + /** + * tabOrder. + * + * @return SignHere + **/ public SignHere tabOrder(String tabOrder) { this.tabOrder = tabOrder; return this; } - /** - * + /** + * . * @return tabOrder - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTabOrder() { return tabOrder; } + /** + * setTabOrder. + **/ public void setTabOrder(String tabOrder) { this.tabOrder = tabOrder; } + + /** + * templateLocked. + * + * @return SignHere + **/ public SignHere templateLocked(String templateLocked) { this.templateLocked = templateLocked; return this; } - /** - * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. . * @return templateLocked - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") + **/ + @ApiModelProperty(value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") public String getTemplateLocked() { return templateLocked; } + /** + * setTemplateLocked. + **/ public void setTemplateLocked(String templateLocked) { this.templateLocked = templateLocked; } + + /** + * templateRequired. + * + * @return SignHere + **/ public SignHere templateRequired(String templateRequired) { this.templateRequired = templateRequired; return this; } - /** - * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.. * @return templateRequired - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") + **/ + @ApiModelProperty(value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") public String getTemplateRequired() { return templateRequired; } + /** + * setTemplateRequired. + **/ public void setTemplateRequired(String templateRequired) { this.templateRequired = templateRequired; } + + /** + * tooltip. + * + * @return SignHere + **/ public SignHere tooltip(String tooltip) { this.tooltip = tooltip; return this; } - /** - * + /** + * . * @return tooltip - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTooltip() { return tooltip; } + /** + * setTooltip. + **/ public void setTooltip(String tooltip) { this.tooltip = tooltip; } + + /** + * xPosition. + * + * @return SignHere + **/ public SignHere xPosition(String xPosition) { this.xPosition = xPosition; return this; } - /** - * This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position. + /** + * This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.. * @return xPosition - **/ - @ApiModelProperty(example = "null", value = "This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.") + **/ + @ApiModelProperty(value = "This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.") public String getXPosition() { return xPosition; } + /** + * setXPosition. + **/ public void setXPosition(String xPosition) { this.xPosition = xPosition; } + + /** + * yPosition. + * + * @return SignHere + **/ public SignHere yPosition(String yPosition) { this.yPosition = yPosition; return this; } - /** - * This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position. + /** + * This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. * @return yPosition - **/ - @ApiModelProperty(example = "null", value = "This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.") + **/ + @ApiModelProperty(value = "This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.") public String getYPosition() { return yPosition; } + /** + * setYPosition. + **/ public void setYPosition(String yPosition) { this.yPosition = yPosition; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -713,12 +1008,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.yPosition, signHere.yPosition); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(anchorCaseSensitive, anchorHorizontalAlignment, anchorIgnoreIfNotPresent, anchorMatchWholeWord, anchorString, anchorUnits, anchorXOffset, anchorYOffset, conditionalParentLabel, conditionalParentValue, customTabId, documentId, errorDetails, mergeField, name, optional, pageNumber, recipientId, scaleValue, stampType, stampTypeMetadata, status, tabGroupLabels, tabId, tabLabel, tabOrder, templateLocked, templateRequired, tooltip, xPosition, yPosition); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -769,6 +1070,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/SignSessionInfoRequest.java b/src/main/java/com/docusign/esign/model/SignSessionInfoRequest.java index f79b2071..69434f18 100644 --- a/src/main/java/com/docusign/esign/model/SignSessionInfoRequest.java +++ b/src/main/java/com/docusign/esign/model/SignSessionInfoRequest.java @@ -1,8 +1,10 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; @@ -29,7 +31,7 @@ public SignSessionInfoRequest certificate(String certificate) { * * @return certificate **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public String getCertificate() { return certificate; } @@ -47,7 +49,7 @@ public SignSessionInfoRequest returnFormat(String returnFormat) { * * @return returnFormat **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public String getReturnFormat() { return returnFormat; } @@ -65,7 +67,7 @@ public SignSessionInfoRequest signingLocation(String signingLocation) { * Specifies the physical location where the signing takes place. It can have two enumeration values; InPerson and Online. The default value is Online. * @return signingLocation **/ - @ApiModelProperty(example = "null", value = "Specifies the physical location where the signing takes place. It can have two enumeration values; InPerson and Online. The default value is Online.") + @ApiModelProperty(value = "Specifies the physical location where the signing takes place. It can have two enumeration values; InPerson and Online. The default value is Online.") public String getSigningLocation() { return signingLocation; } @@ -117,6 +119,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/SignatureDataInfo.java b/src/main/java/com/docusign/esign/model/SignatureDataInfo.java index b74ba53a..49b49b1e 100644 --- a/src/main/java/com/docusign/esign/model/SignatureDataInfo.java +++ b/src/main/java/com/docusign/esign/model/SignatureDataInfo.java @@ -1,9 +1,11 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.DocumentSecurityStore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; @@ -30,7 +32,7 @@ public SignatureDataInfo documentSecurityStore(DocumentSecurityStore documentSec * Get documentSecurityStore * @return documentSecurityStore **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public DocumentSecurityStore getDocumentSecurityStore() { return documentSecurityStore; } @@ -48,7 +50,7 @@ public SignatureDataInfo signatureData(String signatureData) { * * @return signatureData **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public String getSignatureData() { return signatureData; } @@ -66,7 +68,7 @@ public SignatureDataInfo signatureFieldName(String signatureFieldName) { * * @return signatureFieldName **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public String getSignatureFieldName() { return signatureFieldName; } @@ -118,6 +120,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/SignatureProperties.java b/src/main/java/com/docusign/esign/model/SignatureProperties.java new file mode 100644 index 00000000..1feafc15 --- /dev/null +++ b/src/main/java/com/docusign/esign/model/SignatureProperties.java @@ -0,0 +1,99 @@ +package com.docusign.esign.model; + +import java.util.Objects; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +/** + * SignatureProperties + */ + +public class SignatureProperties { + @JsonProperty("filter") + private String filter = null; + + @JsonProperty("subFilter") + private String subFilter = null; + + public SignatureProperties filter(String filter) { + this.filter = filter; + return this; + } + + /** + * + * @return filter + **/ + @ApiModelProperty(example = "null", value = "") + public String getFilter() { + return filter; + } + + public void setFilter(String filter) { + this.filter = filter; + } + + public SignatureProperties subFilter(String subFilter) { + this.subFilter = subFilter; + return this; + } + + /** + * + * @return subFilter + **/ + @ApiModelProperty(example = "null", value = "") + public String getSubFilter() { + return subFilter; + } + + public void setSubFilter(String subFilter) { + this.subFilter = subFilter; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SignatureProperties signatureProperties = (SignatureProperties) o; + return Objects.equals(this.filter, signatureProperties.filter) && + Objects.equals(this.subFilter, signatureProperties.subFilter); + } + + @Override + public int hashCode() { + return Objects.hash(filter, subFilter); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SignatureProperties {\n"); + + sb.append(" filter: ").append(toIndentedString(filter)).append("\n"); + sb.append(" subFilter: ").append(toIndentedString(subFilter)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/com/docusign/esign/model/SignatureProviderRequiredOption.java b/src/main/java/com/docusign/esign/model/SignatureProviderRequiredOption.java index 457c8e0e..6f9d9416 100644 --- a/src/main/java/com/docusign/esign/model/SignatureProviderRequiredOption.java +++ b/src/main/java/com/docusign/esign/model/SignatureProviderRequiredOption.java @@ -1,64 +1,98 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * SignatureProviderRequiredOption + * SignatureProviderRequiredOption. + * */ public class SignatureProviderRequiredOption { @JsonProperty("requiredSignatureProviderOptionIds") - private java.util.List requiredSignatureProviderOptionIds = new java.util.ArrayList(); + private java.util.List requiredSignatureProviderOptionIds = null; @JsonProperty("signerType") private String signerType = null; + + /** + * requiredSignatureProviderOptionIds. + * + * @return SignatureProviderRequiredOption + **/ public SignatureProviderRequiredOption requiredSignatureProviderOptionIds(java.util.List requiredSignatureProviderOptionIds) { this.requiredSignatureProviderOptionIds = requiredSignatureProviderOptionIds; return this; } - + + /** + * addRequiredSignatureProviderOptionIdsItem. + * + * @return SignatureProviderRequiredOption + **/ public SignatureProviderRequiredOption addRequiredSignatureProviderOptionIdsItem(String requiredSignatureProviderOptionIdsItem) { + if (this.requiredSignatureProviderOptionIds == null) { + this.requiredSignatureProviderOptionIds = new java.util.ArrayList(); + } this.requiredSignatureProviderOptionIds.add(requiredSignatureProviderOptionIdsItem); return this; } - /** - * + /** + * . * @return requiredSignatureProviderOptionIds - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getRequiredSignatureProviderOptionIds() { return requiredSignatureProviderOptionIds; } + /** + * setRequiredSignatureProviderOptionIds. + **/ public void setRequiredSignatureProviderOptionIds(java.util.List requiredSignatureProviderOptionIds) { this.requiredSignatureProviderOptionIds = requiredSignatureProviderOptionIds; } + + /** + * signerType. + * + * @return SignatureProviderRequiredOption + **/ public SignatureProviderRequiredOption signerType(String signerType) { this.signerType = signerType; return this; } - /** - * + /** + * . * @return signerType - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSignerType() { return signerType; } + /** + * setSignerType. + **/ public void setSignerType(String signerType) { this.signerType = signerType; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -72,12 +106,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.signerType, signatureProviderRequiredOption.signerType); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(requiredSignatureProviderOptionIds, signerType); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -99,6 +139,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/SignatureType.java b/src/main/java/com/docusign/esign/model/SignatureType.java index 07afe8d7..1cebc72b 100644 --- a/src/main/java/com/docusign/esign/model/SignatureType.java +++ b/src/main/java/com/docusign/esign/model/SignatureType.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * SignatureType + * SignatureType. + * */ public class SignatureType { @@ -17,43 +20,66 @@ public class SignatureType { @JsonProperty("type") private String type = null; + + /** + * isDefault. + * + * @return SignatureType + **/ public SignatureType isDefault(String isDefault) { this.isDefault = isDefault; return this; } - /** - * + /** + * . * @return isDefault - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getIsDefault() { return isDefault; } + /** + * setIsDefault. + **/ public void setIsDefault(String isDefault) { this.isDefault = isDefault; } + + /** + * type. + * + * @return SignatureType + **/ public SignatureType type(String type) { this.type = type; return this; } - /** - * + /** + * . * @return type - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getType() { return type; } + /** + * setType. + **/ public void setType(String type) { this.type = type; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -67,12 +93,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.type, signatureType.type); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(isDefault, type); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -94,6 +126,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/Signer.java b/src/main/java/com/docusign/esign/model/Signer.java index 301c7e0e..eef842e3 100644 --- a/src/main/java/com/docusign/esign/model/Signer.java +++ b/src/main/java/com/docusign/esign/model/Signer.java @@ -1,6 +1,7 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.AuthenticationStatus; import com.docusign.esign.model.DocumentVisibility; import com.docusign.esign.model.ErrorDetails; @@ -8,7 +9,9 @@ import com.docusign.esign.model.OfflineAttributes; import com.docusign.esign.model.RecipientAttachment; import com.docusign.esign.model.RecipientEmailNotification; +import com.docusign.esign.model.RecipientIdentityVerification; import com.docusign.esign.model.RecipientPhoneAuthentication; +import com.docusign.esign.model.RecipientProofFile; import com.docusign.esign.model.RecipientSAMLAuthentication; import com.docusign.esign.model.RecipientSMSAuthentication; import com.docusign.esign.model.RecipientSignatureInformation; @@ -18,11 +21,13 @@ import com.docusign.esign.model.UserInfo; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Signer + * Signer. + * */ public class Signer { @@ -54,7 +59,7 @@ public class Signer { private String creationReason = null; @JsonProperty("customFields") - private java.util.List customFields = new java.util.ArrayList(); + private java.util.List customFields = null; @JsonProperty("declinedDateTime") private String declinedDateTime = null; @@ -72,7 +77,7 @@ public class Signer { private String deliveryMethod = null; @JsonProperty("documentVisibility") - private java.util.List documentVisibility = new java.util.ArrayList(); + private java.util.List documentVisibility = null; @JsonProperty("email") private String email = null; @@ -90,7 +95,7 @@ public class Signer { private ErrorDetails errorDetails = null; @JsonProperty("excludedDocuments") - private java.util.List excludedDocuments = new java.util.ArrayList(); + private java.util.List excludedDocuments = null; @JsonProperty("faxNumber") private String faxNumber = null; @@ -107,6 +112,9 @@ public class Signer { @JsonProperty("idCheckInformationInput") private IdCheckInformationInput idCheckInformationInput = null; + @JsonProperty("identityVerification") + private RecipientIdentityVerification identityVerification = null; + @JsonProperty("inheritEmailNotificationConfiguration") private String inheritEmailNotificationConfiguration = null; @@ -128,8 +136,11 @@ public class Signer { @JsonProperty("phoneAuthentication") private RecipientPhoneAuthentication phoneAuthentication = null; + @JsonProperty("proofFile") + private RecipientProofFile proofFile = null; + @JsonProperty("recipientAttachments") - private java.util.List recipientAttachments = new java.util.ArrayList(); + private java.util.List recipientAttachments = null; @JsonProperty("recipientAuthenticationStatus") private AuthenticationStatus recipientAuthenticationStatus = null; @@ -141,7 +152,7 @@ public class Signer { private String recipientIdGuid = null; @JsonProperty("recipientSignatureProviders") - private java.util.List recipientSignatureProviders = new java.util.ArrayList(); + private java.util.List recipientSignatureProviders = null; @JsonProperty("recipientSuppliesTabs") private String recipientSuppliesTabs = null; @@ -183,13 +194,13 @@ public class Signer { private String signingGroupName = null; @JsonProperty("signingGroupUsers") - private java.util.List signingGroupUsers = new java.util.ArrayList(); + private java.util.List signingGroupUsers = null; @JsonProperty("smsAuthentication") private RecipientSMSAuthentication smsAuthentication = null; @JsonProperty("socialAuthentications") - private java.util.List socialAuthentications = new java.util.ArrayList(); + private java.util.List socialAuthentications = null; @JsonProperty("status") private String status = null; @@ -209,1140 +220,1804 @@ public class Signer { @JsonProperty("userId") private String userId = null; + + /** + * accessCode. + * + * @return Signer + **/ public Signer accessCode(String accessCode) { this.accessCode = accessCode; return this; } - /** - * If a value is provided, the recipient must enter the value as the access code to view and sign the envelope. Maximum Length: 50 characters and it must conform to the account's access code format setting. If blank, but the signer `accessCode` property is set in the envelope, then that value is used. If blank and the signer `accessCode` property is not set, then the access code is not required. + /** + * If a value is provided, the recipient must enter the value as the access code to view and sign the envelope. Maximum Length: 50 characters and it must conform to the account's access code format setting. If blank, but the signer `accessCode` property is set in the envelope, then that value is used. If blank and the signer `accessCode` property is not set, then the access code is not required.. * @return accessCode - **/ - @ApiModelProperty(example = "null", value = "If a value is provided, the recipient must enter the value as the access code to view and sign the envelope. Maximum Length: 50 characters and it must conform to the account's access code format setting. If blank, but the signer `accessCode` property is set in the envelope, then that value is used. If blank and the signer `accessCode` property is not set, then the access code is not required.") + **/ + @ApiModelProperty(value = "If a value is provided, the recipient must enter the value as the access code to view and sign the envelope. Maximum Length: 50 characters and it must conform to the account's access code format setting. If blank, but the signer `accessCode` property is set in the envelope, then that value is used. If blank and the signer `accessCode` property is not set, then the access code is not required.") public String getAccessCode() { return accessCode; } + /** + * setAccessCode. + **/ public void setAccessCode(String accessCode) { this.accessCode = accessCode; } + + /** + * addAccessCodeToEmail. + * + * @return Signer + **/ public Signer addAccessCodeToEmail(String addAccessCodeToEmail) { this.addAccessCodeToEmail = addAccessCodeToEmail; return this; } - /** - * This Optional attribute indicates that the access code will be added to the email sent to the recipient; this nullifies the Security measure of Access Code on the recipient. + /** + * This Optional attribute indicates that the access code will be added to the email sent to the recipient; this nullifies the Security measure of Access Code on the recipient.. * @return addAccessCodeToEmail - **/ - @ApiModelProperty(example = "null", value = "This Optional attribute indicates that the access code will be added to the email sent to the recipient; this nullifies the Security measure of Access Code on the recipient.") + **/ + @ApiModelProperty(value = "This Optional attribute indicates that the access code will be added to the email sent to the recipient; this nullifies the Security measure of Access Code on the recipient.") public String getAddAccessCodeToEmail() { return addAccessCodeToEmail; } + /** + * setAddAccessCodeToEmail. + **/ public void setAddAccessCodeToEmail(String addAccessCodeToEmail) { this.addAccessCodeToEmail = addAccessCodeToEmail; } + + /** + * agentCanEditEmail. + * + * @return Signer + **/ public Signer agentCanEditEmail(String agentCanEditEmail) { this.agentCanEditEmail = agentCanEditEmail; return this; } - /** - * + /** + * . * @return agentCanEditEmail - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAgentCanEditEmail() { return agentCanEditEmail; } + /** + * setAgentCanEditEmail. + **/ public void setAgentCanEditEmail(String agentCanEditEmail) { this.agentCanEditEmail = agentCanEditEmail; } + + /** + * agentCanEditName. + * + * @return Signer + **/ public Signer agentCanEditName(String agentCanEditName) { this.agentCanEditName = agentCanEditName; return this; } - /** - * + /** + * . * @return agentCanEditName - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAgentCanEditName() { return agentCanEditName; } + /** + * setAgentCanEditName. + **/ public void setAgentCanEditName(String agentCanEditName) { this.agentCanEditName = agentCanEditName; } + + /** + * autoNavigation. + * + * @return Signer + **/ public Signer autoNavigation(String autoNavigation) { this.autoNavigation = autoNavigation; return this; } - /** - * + /** + * . * @return autoNavigation - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAutoNavigation() { return autoNavigation; } + /** + * setAutoNavigation. + **/ public void setAutoNavigation(String autoNavigation) { this.autoNavigation = autoNavigation; } + + /** + * bulkRecipientsUri. + * + * @return Signer + **/ public Signer bulkRecipientsUri(String bulkRecipientsUri) { this.bulkRecipientsUri = bulkRecipientsUri; return this; } - /** - * Contains a URI for an endpoint that allows you to easily retrieve bulk recipient information. + /** + * Contains a URI for an endpoint that allows you to easily retrieve bulk recipient information.. * @return bulkRecipientsUri - **/ - @ApiModelProperty(example = "null", value = "Contains a URI for an endpoint that allows you to easily retrieve bulk recipient information.") + **/ + @ApiModelProperty(value = "Contains a URI for an endpoint that allows you to easily retrieve bulk recipient information.") public String getBulkRecipientsUri() { return bulkRecipientsUri; } + /** + * setBulkRecipientsUri. + **/ public void setBulkRecipientsUri(String bulkRecipientsUri) { this.bulkRecipientsUri = bulkRecipientsUri; } + + /** + * canSignOffline. + * + * @return Signer + **/ public Signer canSignOffline(String canSignOffline) { this.canSignOffline = canSignOffline; return this; } - /** - * When set to **true**, specifies that the signer can perform the signing ceremony offline. + /** + * When set to **true**, specifies that the signer can perform the signing ceremony offline.. * @return canSignOffline - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, specifies that the signer can perform the signing ceremony offline.") + **/ + @ApiModelProperty(value = "When set to **true**, specifies that the signer can perform the signing ceremony offline.") public String getCanSignOffline() { return canSignOffline; } + /** + * setCanSignOffline. + **/ public void setCanSignOffline(String canSignOffline) { this.canSignOffline = canSignOffline; } + + /** + * clientUserId. + * + * @return Signer + **/ public Signer clientUserId(String clientUserId) { this.clientUserId = clientUserId; return this; } - /** - * Specifies whether the recipient is embedded or remote. If the `clientUserId` property is not null then the recipient is embedded. Note that if the `ClientUserId` property is set and either `SignerMustHaveAccount` or `SignerMustLoginToSign` property of the account settings is set to **true**, an error is generated on sending.ng. Maximum length: 100 characters. + /** + * Specifies whether the recipient is embedded or remote. If the `clientUserId` property is not null then the recipient is embedded. Note that if the `ClientUserId` property is set and either `SignerMustHaveAccount` or `SignerMustLoginToSign` property of the account settings is set to **true**, an error is generated on sending.ng. Maximum length: 100 characters. . * @return clientUserId - **/ - @ApiModelProperty(example = "null", value = "Specifies whether the recipient is embedded or remote. If the `clientUserId` property is not null then the recipient is embedded. Note that if the `ClientUserId` property is set and either `SignerMustHaveAccount` or `SignerMustLoginToSign` property of the account settings is set to **true**, an error is generated on sending.ng. Maximum length: 100 characters. ") + **/ + @ApiModelProperty(value = "Specifies whether the recipient is embedded or remote. If the `clientUserId` property is not null then the recipient is embedded. Note that if the `ClientUserId` property is set and either `SignerMustHaveAccount` or `SignerMustLoginToSign` property of the account settings is set to **true**, an error is generated on sending.ng. Maximum length: 100 characters. ") public String getClientUserId() { return clientUserId; } + /** + * setClientUserId. + **/ public void setClientUserId(String clientUserId) { this.clientUserId = clientUserId; } + + /** + * creationReason. + * + * @return Signer + **/ public Signer creationReason(String creationReason) { this.creationReason = creationReason; return this; } - /** - * + /** + * . * @return creationReason - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getCreationReason() { return creationReason; } + /** + * setCreationReason. + **/ public void setCreationReason(String creationReason) { this.creationReason = creationReason; } + + /** + * customFields. + * + * @return Signer + **/ public Signer customFields(java.util.List customFields) { this.customFields = customFields; return this; } - + + /** + * addCustomFieldsItem. + * + * @return Signer + **/ public Signer addCustomFieldsItem(String customFieldsItem) { + if (this.customFields == null) { + this.customFields = new java.util.ArrayList(); + } this.customFields.add(customFieldsItem); return this; } - /** - * An optional array of strings that allows the sender to provide custom data about the recipient. This information is returned in the envelope status but otherwise not used by DocuSign. Each customField string can be a maximum of 100 characters. + /** + * An optional array of strings that allows the sender to provide custom data about the recipient. This information is returned in the envelope status but otherwise not used by DocuSign. Each customField string can be a maximum of 100 characters.. * @return customFields - **/ - @ApiModelProperty(example = "null", value = "An optional array of strings that allows the sender to provide custom data about the recipient. This information is returned in the envelope status but otherwise not used by DocuSign. Each customField string can be a maximum of 100 characters.") + **/ + @ApiModelProperty(value = "An optional array of strings that allows the sender to provide custom data about the recipient. This information is returned in the envelope status but otherwise not used by DocuSign. Each customField string can be a maximum of 100 characters.") public java.util.List getCustomFields() { return customFields; } + /** + * setCustomFields. + **/ public void setCustomFields(java.util.List customFields) { this.customFields = customFields; } + + /** + * declinedDateTime. + * + * @return Signer + **/ public Signer declinedDateTime(String declinedDateTime) { this.declinedDateTime = declinedDateTime; return this; } - /** - * The date and time the recipient declined the document. + /** + * The date and time the recipient declined the document.. * @return declinedDateTime - **/ - @ApiModelProperty(example = "null", value = "The date and time the recipient declined the document.") + **/ + @ApiModelProperty(value = "The date and time the recipient declined the document.") public String getDeclinedDateTime() { return declinedDateTime; } + /** + * setDeclinedDateTime. + **/ public void setDeclinedDateTime(String declinedDateTime) { this.declinedDateTime = declinedDateTime; } + + /** + * declinedReason. + * + * @return Signer + **/ public Signer declinedReason(String declinedReason) { this.declinedReason = declinedReason; return this; } - /** - * The reason the recipient declined the document. + /** + * The reason the recipient declined the document.. * @return declinedReason - **/ - @ApiModelProperty(example = "null", value = "The reason the recipient declined the document.") + **/ + @ApiModelProperty(value = "The reason the recipient declined the document.") public String getDeclinedReason() { return declinedReason; } + /** + * setDeclinedReason. + **/ public void setDeclinedReason(String declinedReason) { this.declinedReason = declinedReason; } + + /** + * defaultRecipient. + * + * @return Signer + **/ public Signer defaultRecipient(String defaultRecipient) { this.defaultRecipient = defaultRecipient; return this; } - /** - * + /** + * . * @return defaultRecipient - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getDefaultRecipient() { return defaultRecipient; } + /** + * setDefaultRecipient. + **/ public void setDefaultRecipient(String defaultRecipient) { this.defaultRecipient = defaultRecipient; } + + /** + * deliveredDateTime. + * + * @return Signer + **/ public Signer deliveredDateTime(String deliveredDateTime) { this.deliveredDateTime = deliveredDateTime; return this; } - /** - * Reserved: For DocuSign use only. + /** + * Reserved: For DocuSign use only.. * @return deliveredDateTime - **/ - @ApiModelProperty(example = "null", value = "Reserved: For DocuSign use only.") + **/ + @ApiModelProperty(value = "Reserved: For DocuSign use only.") public String getDeliveredDateTime() { return deliveredDateTime; } + /** + * setDeliveredDateTime. + **/ public void setDeliveredDateTime(String deliveredDateTime) { this.deliveredDateTime = deliveredDateTime; } + + /** + * deliveryMethod. + * + * @return Signer + **/ public Signer deliveryMethod(String deliveryMethod) { this.deliveryMethod = deliveryMethod; return this; } - /** - * Reserved: For DocuSign use only. + /** + * Reserved: For DocuSign use only.. * @return deliveryMethod - **/ - @ApiModelProperty(example = "null", value = "Reserved: For DocuSign use only.") + **/ + @ApiModelProperty(value = "Reserved: For DocuSign use only.") public String getDeliveryMethod() { return deliveryMethod; } + /** + * setDeliveryMethod. + **/ public void setDeliveryMethod(String deliveryMethod) { this.deliveryMethod = deliveryMethod; } + + /** + * documentVisibility. + * + * @return Signer + **/ public Signer documentVisibility(java.util.List documentVisibility) { this.documentVisibility = documentVisibility; return this; } - + + /** + * addDocumentVisibilityItem. + * + * @return Signer + **/ public Signer addDocumentVisibilityItem(DocumentVisibility documentVisibilityItem) { + if (this.documentVisibility == null) { + this.documentVisibility = new java.util.ArrayList(); + } this.documentVisibility.add(documentVisibilityItem); return this; } - /** - * + /** + * . * @return documentVisibility - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getDocumentVisibility() { return documentVisibility; } + /** + * setDocumentVisibility. + **/ public void setDocumentVisibility(java.util.List documentVisibility) { this.documentVisibility = documentVisibility; } + + /** + * email. + * + * @return Signer + **/ public Signer email(String email) { this.email = email; return this; } - /** - * Email id of the recipient. Notification of the document to sign is sent to this email id. Maximum length: 100 characters. + /** + * Email id of the recipient. Notification of the document to sign is sent to this email id. Maximum length: 100 characters. . * @return email - **/ - @ApiModelProperty(example = "null", value = "Email id of the recipient. Notification of the document to sign is sent to this email id. Maximum length: 100 characters. ") + **/ + @ApiModelProperty(value = "Email id of the recipient. Notification of the document to sign is sent to this email id. Maximum length: 100 characters. ") public String getEmail() { return email; } + /** + * setEmail. + **/ public void setEmail(String email) { this.email = email; } + + /** + * emailNotification. + * + * @return Signer + **/ public Signer emailNotification(RecipientEmailNotification emailNotification) { this.emailNotification = emailNotification; return this; } - /** - * Get emailNotification + /** + * Get emailNotification. * @return emailNotification - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public RecipientEmailNotification getEmailNotification() { return emailNotification; } + /** + * setEmailNotification. + **/ public void setEmailNotification(RecipientEmailNotification emailNotification) { this.emailNotification = emailNotification; } + + /** + * emailRecipientPostSigningURL. + * + * @return Signer + **/ public Signer emailRecipientPostSigningURL(String emailRecipientPostSigningURL) { this.emailRecipientPostSigningURL = emailRecipientPostSigningURL; return this; } - /** - * + /** + * . * @return emailRecipientPostSigningURL - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getEmailRecipientPostSigningURL() { return emailRecipientPostSigningURL; } + /** + * setEmailRecipientPostSigningURL. + **/ public void setEmailRecipientPostSigningURL(String emailRecipientPostSigningURL) { this.emailRecipientPostSigningURL = emailRecipientPostSigningURL; } + + /** + * embeddedRecipientStartURL. + * + * @return Signer + **/ public Signer embeddedRecipientStartURL(String embeddedRecipientStartURL) { this.embeddedRecipientStartURL = embeddedRecipientStartURL; return this; } - /** - * Specifies a sender provided valid URL string for redirecting an embedded recipient. When using this option, the embedded recipient still receives an email from DocuSign, just as a remote recipient would. When the document link in the email is clicked the recipient is redirected, through DocuSign, to the supplied URL to complete their actions. When routing to the URL, the sender's system (the server responding to the URL) must request a recipient token to launch a signing session. If set to `SIGN_AT_DOCUSIGN`, the recipient is directed to an embedded signing or viewing process directly at DocuSign. The signing or viewing action is initiated by the DocuSign system and the transaction activity and Certificate of Completion records will reflect this. In all other ways the process is identical to an embedded signing or viewing operation that is launched by any partner. It is important to remember that in a typical embedded workflow the authentication of an embedded recipient is the responsibility of the sending application, DocuSign expects that senders will follow their own process for establishing the recipient's identity. In this workflow the recipient goes through the sending application before the embedded signing or viewing process in initiated. However, when the sending application sets `EmbeddedRecipientStartURL=SIGN_AT_DOCUSIGN`, the recipient goes directly to the embedded signing or viewing process bypassing the sending application and any authentication steps the sending application would use. In this case, DocuSign recommends that you use one of the normal DocuSign authentication features (Access Code, Phone Authentication, SMS Authentication, etc.) to verify the identity of the recipient. If the `clientUserId` property is NOT set, and the `embeddedRecipientStartURL` is set, DocuSign will ignore the redirect URL and launch the standard signing process for the email recipient. Information can be appended to the embedded recipient start URL using merge fields. The available merge fields items are: envelopeId, recipientId, recipientName, recipientEmail, and customFields. The `customFields` property must be set fort the recipient or envelope. The merge fields are enclosed in double brackets. *Example*: `http://senderHost/[[mergeField1]]/ beginSigningSession? [[mergeField2]]&[[mergeField3]]` + /** + * Specifies a sender provided valid URL string for redirecting an embedded recipient. When using this option, the embedded recipient still receives an email from DocuSign, just as a remote recipient would. When the document link in the email is clicked the recipient is redirected, through DocuSign, to the supplied URL to complete their actions. When routing to the URL, the sender's system (the server responding to the URL) must request a recipient token to launch a signing session. If set to `SIGN_AT_DOCUSIGN`, the recipient is directed to an embedded signing or viewing process directly at DocuSign. The signing or viewing action is initiated by the DocuSign system and the transaction activity and Certificate of Completion records will reflect this. In all other ways the process is identical to an embedded signing or viewing operation that is launched by any partner. It is important to remember that in a typical embedded workflow the authentication of an embedded recipient is the responsibility of the sending application, DocuSign expects that senders will follow their own process for establishing the recipient's identity. In this workflow the recipient goes through the sending application before the embedded signing or viewing process in initiated. However, when the sending application sets `EmbeddedRecipientStartURL=SIGN_AT_DOCUSIGN`, the recipient goes directly to the embedded signing or viewing process bypassing the sending application and any authentication steps the sending application would use. In this case, DocuSign recommends that you use one of the normal DocuSign authentication features (Access Code, Phone Authentication, SMS Authentication, etc.) to verify the identity of the recipient. If the `clientUserId` property is NOT set, and the `embeddedRecipientStartURL` is set, DocuSign will ignore the redirect URL and launch the standard signing process for the email recipient. Information can be appended to the embedded recipient start URL using merge fields. The available merge fields items are: envelopeId, recipientId, recipientName, recipientEmail, and customFields. The `customFields` property must be set fort the recipient or envelope. The merge fields are enclosed in double brackets. *Example*: `http://senderHost/[[mergeField1]]/ beginSigningSession? [[mergeField2]]&[[mergeField3]]` . * @return embeddedRecipientStartURL - **/ - @ApiModelProperty(example = "null", value = "Specifies a sender provided valid URL string for redirecting an embedded recipient. When using this option, the embedded recipient still receives an email from DocuSign, just as a remote recipient would. When the document link in the email is clicked the recipient is redirected, through DocuSign, to the supplied URL to complete their actions. When routing to the URL, the sender's system (the server responding to the URL) must request a recipient token to launch a signing session. If set to `SIGN_AT_DOCUSIGN`, the recipient is directed to an embedded signing or viewing process directly at DocuSign. The signing or viewing action is initiated by the DocuSign system and the transaction activity and Certificate of Completion records will reflect this. In all other ways the process is identical to an embedded signing or viewing operation that is launched by any partner. It is important to remember that in a typical embedded workflow the authentication of an embedded recipient is the responsibility of the sending application, DocuSign expects that senders will follow their own process for establishing the recipient's identity. In this workflow the recipient goes through the sending application before the embedded signing or viewing process in initiated. However, when the sending application sets `EmbeddedRecipientStartURL=SIGN_AT_DOCUSIGN`, the recipient goes directly to the embedded signing or viewing process bypassing the sending application and any authentication steps the sending application would use. In this case, DocuSign recommends that you use one of the normal DocuSign authentication features (Access Code, Phone Authentication, SMS Authentication, etc.) to verify the identity of the recipient. If the `clientUserId` property is NOT set, and the `embeddedRecipientStartURL` is set, DocuSign will ignore the redirect URL and launch the standard signing process for the email recipient. Information can be appended to the embedded recipient start URL using merge fields. The available merge fields items are: envelopeId, recipientId, recipientName, recipientEmail, and customFields. The `customFields` property must be set fort the recipient or envelope. The merge fields are enclosed in double brackets. *Example*: `http://senderHost/[[mergeField1]]/ beginSigningSession? [[mergeField2]]&[[mergeField3]]` ") + **/ + @ApiModelProperty(value = "Specifies a sender provided valid URL string for redirecting an embedded recipient. When using this option, the embedded recipient still receives an email from DocuSign, just as a remote recipient would. When the document link in the email is clicked the recipient is redirected, through DocuSign, to the supplied URL to complete their actions. When routing to the URL, the sender's system (the server responding to the URL) must request a recipient token to launch a signing session. If set to `SIGN_AT_DOCUSIGN`, the recipient is directed to an embedded signing or viewing process directly at DocuSign. The signing or viewing action is initiated by the DocuSign system and the transaction activity and Certificate of Completion records will reflect this. In all other ways the process is identical to an embedded signing or viewing operation that is launched by any partner. It is important to remember that in a typical embedded workflow the authentication of an embedded recipient is the responsibility of the sending application, DocuSign expects that senders will follow their own process for establishing the recipient's identity. In this workflow the recipient goes through the sending application before the embedded signing or viewing process in initiated. However, when the sending application sets `EmbeddedRecipientStartURL=SIGN_AT_DOCUSIGN`, the recipient goes directly to the embedded signing or viewing process bypassing the sending application and any authentication steps the sending application would use. In this case, DocuSign recommends that you use one of the normal DocuSign authentication features (Access Code, Phone Authentication, SMS Authentication, etc.) to verify the identity of the recipient. If the `clientUserId` property is NOT set, and the `embeddedRecipientStartURL` is set, DocuSign will ignore the redirect URL and launch the standard signing process for the email recipient. Information can be appended to the embedded recipient start URL using merge fields. The available merge fields items are: envelopeId, recipientId, recipientName, recipientEmail, and customFields. The `customFields` property must be set fort the recipient or envelope. The merge fields are enclosed in double brackets. *Example*: `http://senderHost/[[mergeField1]]/ beginSigningSession? [[mergeField2]]&[[mergeField3]]` ") public String getEmbeddedRecipientStartURL() { return embeddedRecipientStartURL; } + /** + * setEmbeddedRecipientStartURL. + **/ public void setEmbeddedRecipientStartURL(String embeddedRecipientStartURL) { this.embeddedRecipientStartURL = embeddedRecipientStartURL; } + + /** + * errorDetails. + * + * @return Signer + **/ public Signer errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * excludedDocuments. + * + * @return Signer + **/ public Signer excludedDocuments(java.util.List excludedDocuments) { this.excludedDocuments = excludedDocuments; return this; } - + + /** + * addExcludedDocumentsItem. + * + * @return Signer + **/ public Signer addExcludedDocumentsItem(String excludedDocumentsItem) { + if (this.excludedDocuments == null) { + this.excludedDocuments = new java.util.ArrayList(); + } this.excludedDocuments.add(excludedDocumentsItem); return this; } - /** - * Specifies the documents that are not visible to this recipient. Document Visibility must be enabled for the account and the `enforceSignerVisibility` property must be set to **true** for the envelope to use this. When enforce signer visibility is enabled, documents with tabs can only be viewed by signers that have a tab on that document. Recipients that have an administrative role (Agent, Editor, or Intermediaries) or informational role (Certified Deliveries or Carbon Copies) can always see all the documents in an envelope, unless they are specifically excluded using this setting when an envelope is sent. Documents that do not have tabs are always visible to all recipients, unless they are specifically excluded using this setting when an envelope is sent. + /** + * Specifies the documents that are not visible to this recipient. Document Visibility must be enabled for the account and the `enforceSignerVisibility` property must be set to **true** for the envelope to use this. When enforce signer visibility is enabled, documents with tabs can only be viewed by signers that have a tab on that document. Recipients that have an administrative role (Agent, Editor, or Intermediaries) or informational role (Certified Deliveries or Carbon Copies) can always see all the documents in an envelope, unless they are specifically excluded using this setting when an envelope is sent. Documents that do not have tabs are always visible to all recipients, unless they are specifically excluded using this setting when an envelope is sent.. * @return excludedDocuments - **/ - @ApiModelProperty(example = "null", value = "Specifies the documents that are not visible to this recipient. Document Visibility must be enabled for the account and the `enforceSignerVisibility` property must be set to **true** for the envelope to use this. When enforce signer visibility is enabled, documents with tabs can only be viewed by signers that have a tab on that document. Recipients that have an administrative role (Agent, Editor, or Intermediaries) or informational role (Certified Deliveries or Carbon Copies) can always see all the documents in an envelope, unless they are specifically excluded using this setting when an envelope is sent. Documents that do not have tabs are always visible to all recipients, unless they are specifically excluded using this setting when an envelope is sent.") + **/ + @ApiModelProperty(value = "Specifies the documents that are not visible to this recipient. Document Visibility must be enabled for the account and the `enforceSignerVisibility` property must be set to **true** for the envelope to use this. When enforce signer visibility is enabled, documents with tabs can only be viewed by signers that have a tab on that document. Recipients that have an administrative role (Agent, Editor, or Intermediaries) or informational role (Certified Deliveries or Carbon Copies) can always see all the documents in an envelope, unless they are specifically excluded using this setting when an envelope is sent. Documents that do not have tabs are always visible to all recipients, unless they are specifically excluded using this setting when an envelope is sent.") public java.util.List getExcludedDocuments() { return excludedDocuments; } + /** + * setExcludedDocuments. + **/ public void setExcludedDocuments(java.util.List excludedDocuments) { this.excludedDocuments = excludedDocuments; } + + /** + * faxNumber. + * + * @return Signer + **/ public Signer faxNumber(String faxNumber) { this.faxNumber = faxNumber; return this; } - /** - * Reserved: + /** + * Reserved:. * @return faxNumber - **/ - @ApiModelProperty(example = "null", value = "Reserved:") + **/ + @ApiModelProperty(value = "Reserved:") public String getFaxNumber() { return faxNumber; } + /** + * setFaxNumber. + **/ public void setFaxNumber(String faxNumber) { this.faxNumber = faxNumber; } + + /** + * firstName. + * + * @return Signer + **/ public Signer firstName(String firstName) { this.firstName = firstName; return this; } - /** - * The user's first name. Maximum Length: 50 characters. + /** + * The user's first name. Maximum Length: 50 characters.. * @return firstName - **/ - @ApiModelProperty(example = "null", value = "The user's first name. Maximum Length: 50 characters.") + **/ + @ApiModelProperty(value = "The user's first name. Maximum Length: 50 characters.") public String getFirstName() { return firstName; } + /** + * setFirstName. + **/ public void setFirstName(String firstName) { this.firstName = firstName; } + + /** + * fullName. + * + * @return Signer + **/ public Signer fullName(String fullName) { this.fullName = fullName; return this; } - /** - * + /** + * . * @return fullName - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getFullName() { return fullName; } + /** + * setFullName. + **/ public void setFullName(String fullName) { this.fullName = fullName; } + + /** + * idCheckConfigurationName. + * + * @return Signer + **/ public Signer idCheckConfigurationName(String idCheckConfigurationName) { this.idCheckConfigurationName = idCheckConfigurationName; return this; } - /** - * Specifies authentication check by name. The names used here must be the same as the authentication type names used by the account (these name can also be found in the web console sending interface in the Identify list for a recipient,) This overrides any default authentication setting. *Example*: Your account has ID Check and SMS Authentication available and in the web console Identify list these appear as 'ID Check $' and 'SMS Auth $'. To use ID check in an envelope, the idCheckConfigurationName should be 'ID Check '. If you wanted to use SMS, it would be 'SMS Auth $' and you would need to add you would need to add phone number information to the `smsAuthentication` node. + /** + * Specifies authentication check by name. The names used here must be the same as the authentication type names used by the account (these name can also be found in the web console sending interface in the Identify list for a recipient,) This overrides any default authentication setting. *Example*: Your account has ID Check and SMS Authentication available and in the web console Identify list these appear as 'ID Check $' and 'SMS Auth $'. To use ID check in an envelope, the idCheckConfigurationName should be 'ID Check '. If you wanted to use SMS, it would be 'SMS Auth $' and you would need to add you would need to add phone number information to the `smsAuthentication` node.. * @return idCheckConfigurationName - **/ - @ApiModelProperty(example = "null", value = "Specifies authentication check by name. The names used here must be the same as the authentication type names used by the account (these name can also be found in the web console sending interface in the Identify list for a recipient,) This overrides any default authentication setting. *Example*: Your account has ID Check and SMS Authentication available and in the web console Identify list these appear as 'ID Check $' and 'SMS Auth $'. To use ID check in an envelope, the idCheckConfigurationName should be 'ID Check '. If you wanted to use SMS, it would be 'SMS Auth $' and you would need to add you would need to add phone number information to the `smsAuthentication` node.") + **/ + @ApiModelProperty(value = "Specifies authentication check by name. The names used here must be the same as the authentication type names used by the account (these name can also be found in the web console sending interface in the Identify list for a recipient,) This overrides any default authentication setting. *Example*: Your account has ID Check and SMS Authentication available and in the web console Identify list these appear as 'ID Check $' and 'SMS Auth $'. To use ID check in an envelope, the idCheckConfigurationName should be 'ID Check '. If you wanted to use SMS, it would be 'SMS Auth $' and you would need to add you would need to add phone number information to the `smsAuthentication` node.") public String getIdCheckConfigurationName() { return idCheckConfigurationName; } + /** + * setIdCheckConfigurationName. + **/ public void setIdCheckConfigurationName(String idCheckConfigurationName) { this.idCheckConfigurationName = idCheckConfigurationName; } + + /** + * idCheckInformationInput. + * + * @return Signer + **/ public Signer idCheckInformationInput(IdCheckInformationInput idCheckInformationInput) { this.idCheckInformationInput = idCheckInformationInput; return this; } - /** - * Get idCheckInformationInput + /** + * Get idCheckInformationInput. * @return idCheckInformationInput - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public IdCheckInformationInput getIdCheckInformationInput() { return idCheckInformationInput; } + /** + * setIdCheckInformationInput. + **/ public void setIdCheckInformationInput(IdCheckInformationInput idCheckInformationInput) { this.idCheckInformationInput = idCheckInformationInput; } + + /** + * identityVerification. + * + * @return Signer + **/ + public Signer identityVerification(RecipientIdentityVerification identityVerification) { + this.identityVerification = identityVerification; + return this; + } + + /** + * Get identityVerification. + * @return identityVerification + **/ + @ApiModelProperty(value = "") + public RecipientIdentityVerification getIdentityVerification() { + return identityVerification; + } + + /** + * setIdentityVerification. + **/ + public void setIdentityVerification(RecipientIdentityVerification identityVerification) { + this.identityVerification = identityVerification; + } + + + /** + * inheritEmailNotificationConfiguration. + * + * @return Signer + **/ public Signer inheritEmailNotificationConfiguration(String inheritEmailNotificationConfiguration) { this.inheritEmailNotificationConfiguration = inheritEmailNotificationConfiguration; return this; } - /** - * When set to **true** and the envelope recipient creates a DocuSign account after signing, the Manage Account Email Notification settings are used as the default settings for the recipient's account. + /** + * When set to **true** and the envelope recipient creates a DocuSign account after signing, the Manage Account Email Notification settings are used as the default settings for the recipient's account. . * @return inheritEmailNotificationConfiguration - **/ - @ApiModelProperty(example = "null", value = "When set to **true** and the envelope recipient creates a DocuSign account after signing, the Manage Account Email Notification settings are used as the default settings for the recipient's account. ") + **/ + @ApiModelProperty(value = "When set to **true** and the envelope recipient creates a DocuSign account after signing, the Manage Account Email Notification settings are used as the default settings for the recipient's account. ") public String getInheritEmailNotificationConfiguration() { return inheritEmailNotificationConfiguration; } + /** + * setInheritEmailNotificationConfiguration. + **/ public void setInheritEmailNotificationConfiguration(String inheritEmailNotificationConfiguration) { this.inheritEmailNotificationConfiguration = inheritEmailNotificationConfiguration; } + + /** + * isBulkRecipient. + * + * @return Signer + **/ public Signer isBulkRecipient(String isBulkRecipient) { this.isBulkRecipient = isBulkRecipient; return this; } - /** - * When set to **true**, this signer is a bulk recipient and the recipient information is contained in a bulk recipient file. Note that when this is true the email and name for the recipient becomes bulk@recipient.com and \"Bulk Recipient\". These fields can not be changed for the bulk recipient. + /** + * When set to **true**, this signer is a bulk recipient and the recipient information is contained in a bulk recipient file. Note that when this is true the email and name for the recipient becomes bulk@recipient.com and \"Bulk Recipient\". These fields can not be changed for the bulk recipient. . * @return isBulkRecipient - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, this signer is a bulk recipient and the recipient information is contained in a bulk recipient file. Note that when this is true the email and name for the recipient becomes bulk@recipient.com and \"Bulk Recipient\". These fields can not be changed for the bulk recipient. ") + **/ + @ApiModelProperty(value = "When set to **true**, this signer is a bulk recipient and the recipient information is contained in a bulk recipient file. Note that when this is true the email and name for the recipient becomes bulk@recipient.com and \"Bulk Recipient\". These fields can not be changed for the bulk recipient. ") public String getIsBulkRecipient() { return isBulkRecipient; } + /** + * setIsBulkRecipient. + **/ public void setIsBulkRecipient(String isBulkRecipient) { this.isBulkRecipient = isBulkRecipient; } + + /** + * lastName. + * + * @return Signer + **/ public Signer lastName(String lastName) { this.lastName = lastName; return this; } - /** - * + /** + * . * @return lastName - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getLastName() { return lastName; } + /** + * setLastName. + **/ public void setLastName(String lastName) { this.lastName = lastName; } + + /** + * name. + * + * @return Signer + **/ public Signer name(String name) { this.name = name; return this; } - /** - * + /** + * . * @return name - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * note. + * + * @return Signer + **/ public Signer note(String note) { this.note = note; return this; } - /** - * Specifies a note that is unique to this recipient. This note is sent to the recipient via the signing email. The note displays in the signing UI near the upper left corner of the document on the signing screen. Maximum Length: 1000 characters. + /** + * Specifies a note that is unique to this recipient. This note is sent to the recipient via the signing email. The note displays in the signing UI near the upper left corner of the document on the signing screen. Maximum Length: 1000 characters.. * @return note - **/ - @ApiModelProperty(example = "null", value = "Specifies a note that is unique to this recipient. This note is sent to the recipient via the signing email. The note displays in the signing UI near the upper left corner of the document on the signing screen. Maximum Length: 1000 characters.") + **/ + @ApiModelProperty(value = "Specifies a note that is unique to this recipient. This note is sent to the recipient via the signing email. The note displays in the signing UI near the upper left corner of the document on the signing screen. Maximum Length: 1000 characters.") public String getNote() { return note; } + /** + * setNote. + **/ public void setNote(String note) { this.note = note; } + + /** + * offlineAttributes. + * + * @return Signer + **/ public Signer offlineAttributes(OfflineAttributes offlineAttributes) { this.offlineAttributes = offlineAttributes; return this; } - /** - * Get offlineAttributes + /** + * Get offlineAttributes. * @return offlineAttributes - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public OfflineAttributes getOfflineAttributes() { return offlineAttributes; } + /** + * setOfflineAttributes. + **/ public void setOfflineAttributes(OfflineAttributes offlineAttributes) { this.offlineAttributes = offlineAttributes; } + + /** + * phoneAuthentication. + * + * @return Signer + **/ public Signer phoneAuthentication(RecipientPhoneAuthentication phoneAuthentication) { this.phoneAuthentication = phoneAuthentication; return this; } - /** - * Get phoneAuthentication + /** + * Get phoneAuthentication. * @return phoneAuthentication - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public RecipientPhoneAuthentication getPhoneAuthentication() { return phoneAuthentication; } + /** + * setPhoneAuthentication. + **/ public void setPhoneAuthentication(RecipientPhoneAuthentication phoneAuthentication) { this.phoneAuthentication = phoneAuthentication; } + + /** + * proofFile. + * + * @return Signer + **/ + public Signer proofFile(RecipientProofFile proofFile) { + this.proofFile = proofFile; + return this; + } + + /** + * Get proofFile. + * @return proofFile + **/ + @ApiModelProperty(value = "") + public RecipientProofFile getProofFile() { + return proofFile; + } + + /** + * setProofFile. + **/ + public void setProofFile(RecipientProofFile proofFile) { + this.proofFile = proofFile; + } + + + /** + * recipientAttachments. + * + * @return Signer + **/ public Signer recipientAttachments(java.util.List recipientAttachments) { this.recipientAttachments = recipientAttachments; return this; } - + + /** + * addRecipientAttachmentsItem. + * + * @return Signer + **/ public Signer addRecipientAttachmentsItem(RecipientAttachment recipientAttachmentsItem) { + if (this.recipientAttachments == null) { + this.recipientAttachments = new java.util.ArrayList(); + } this.recipientAttachments.add(recipientAttachmentsItem); return this; } - /** - * Reserved: + /** + * Reserved:. * @return recipientAttachments - **/ - @ApiModelProperty(example = "null", value = "Reserved:") + **/ + @ApiModelProperty(value = "Reserved:") public java.util.List getRecipientAttachments() { return recipientAttachments; } + /** + * setRecipientAttachments. + **/ public void setRecipientAttachments(java.util.List recipientAttachments) { this.recipientAttachments = recipientAttachments; } + + /** + * recipientAuthenticationStatus. + * + * @return Signer + **/ public Signer recipientAuthenticationStatus(AuthenticationStatus recipientAuthenticationStatus) { this.recipientAuthenticationStatus = recipientAuthenticationStatus; return this; } - /** - * Get recipientAuthenticationStatus + /** + * Get recipientAuthenticationStatus. * @return recipientAuthenticationStatus - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public AuthenticationStatus getRecipientAuthenticationStatus() { return recipientAuthenticationStatus; } + /** + * setRecipientAuthenticationStatus. + **/ public void setRecipientAuthenticationStatus(AuthenticationStatus recipientAuthenticationStatus) { this.recipientAuthenticationStatus = recipientAuthenticationStatus; } + + /** + * recipientId. + * + * @return Signer + **/ public Signer recipientId(String recipientId) { this.recipientId = recipientId; return this; } - /** - * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document. + /** + * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.. * @return recipientId - **/ - @ApiModelProperty(example = "null", value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") + **/ + @ApiModelProperty(value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") public String getRecipientId() { return recipientId; } + /** + * setRecipientId. + **/ public void setRecipientId(String recipientId) { this.recipientId = recipientId; } + + /** + * recipientIdGuid. + * + * @return Signer + **/ public Signer recipientIdGuid(String recipientIdGuid) { this.recipientIdGuid = recipientIdGuid; return this; } - /** - * + /** + * . * @return recipientIdGuid - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getRecipientIdGuid() { return recipientIdGuid; } + /** + * setRecipientIdGuid. + **/ public void setRecipientIdGuid(String recipientIdGuid) { this.recipientIdGuid = recipientIdGuid; } + + /** + * recipientSignatureProviders. + * + * @return Signer + **/ public Signer recipientSignatureProviders(java.util.List recipientSignatureProviders) { this.recipientSignatureProviders = recipientSignatureProviders; return this; } - + + /** + * addRecipientSignatureProvidersItem. + * + * @return Signer + **/ public Signer addRecipientSignatureProvidersItem(RecipientSignatureProvider recipientSignatureProvidersItem) { + if (this.recipientSignatureProviders == null) { + this.recipientSignatureProviders = new java.util.ArrayList(); + } this.recipientSignatureProviders.add(recipientSignatureProvidersItem); return this; } - /** - * + /** + * . * @return recipientSignatureProviders - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getRecipientSignatureProviders() { return recipientSignatureProviders; } + /** + * setRecipientSignatureProviders. + **/ public void setRecipientSignatureProviders(java.util.List recipientSignatureProviders) { this.recipientSignatureProviders = recipientSignatureProviders; } + + /** + * recipientSuppliesTabs. + * + * @return Signer + **/ public Signer recipientSuppliesTabs(String recipientSuppliesTabs) { this.recipientSuppliesTabs = recipientSuppliesTabs; return this; } - /** - * + /** + * . * @return recipientSuppliesTabs - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getRecipientSuppliesTabs() { return recipientSuppliesTabs; } + /** + * setRecipientSuppliesTabs. + **/ public void setRecipientSuppliesTabs(String recipientSuppliesTabs) { this.recipientSuppliesTabs = recipientSuppliesTabs; } + + /** + * requireIdLookup. + * + * @return Signer + **/ public Signer requireIdLookup(String requireIdLookup) { this.requireIdLookup = requireIdLookup; return this; } - /** - * When set to **true**, the recipient is required to use the specified ID check method (including Phone and SMS authentication) to validate their identity. + /** + * When set to **true**, the recipient is required to use the specified ID check method (including Phone and SMS authentication) to validate their identity. . * @return requireIdLookup - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the recipient is required to use the specified ID check method (including Phone and SMS authentication) to validate their identity. ") + **/ + @ApiModelProperty(value = "When set to **true**, the recipient is required to use the specified ID check method (including Phone and SMS authentication) to validate their identity. ") public String getRequireIdLookup() { return requireIdLookup; } + /** + * setRequireIdLookup. + **/ public void setRequireIdLookup(String requireIdLookup) { this.requireIdLookup = requireIdLookup; } + + /** + * requireSignerCertificate. + * + * @return Signer + **/ public Signer requireSignerCertificate(String requireSignerCertificate) { this.requireSignerCertificate = requireSignerCertificate; return this; } - /** - * Sets the type of signer certificate required for signing. If left blank, no certificate is required. Only one type of certificate can be set for a signer. The possible values are: * docusign_express - Requires a DocuSign Express certificate. * safe - Requires a SAFE-BioPharma certificate. * open_trust - Requires an OpenTrust certificate. **Important**: There are certain rules and restrictions that must be followed when requiring OpenTrust digital signatures. See [ML:OpenTrust Rules and Restrictions] for more information. + /** + * Sets the type of signer certificate required for signing. If left blank, no certificate is required. Only one type of certificate can be set for a signer. The possible values are: * docusign_express - Requires a DocuSign Express certificate. * safe - Requires a SAFE-BioPharma certificate. * open_trust - Requires an OpenTrust certificate. **Important**: There are certain rules and restrictions that must be followed when requiring OpenTrust digital signatures. See [ML:OpenTrust Rules and Restrictions] for more information. . * @return requireSignerCertificate - **/ - @ApiModelProperty(example = "null", value = "Sets the type of signer certificate required for signing. If left blank, no certificate is required. Only one type of certificate can be set for a signer. The possible values are: * docusign_express - Requires a DocuSign Express certificate. * safe - Requires a SAFE-BioPharma certificate. * open_trust - Requires an OpenTrust certificate. **Important**: There are certain rules and restrictions that must be followed when requiring OpenTrust digital signatures. See [ML:OpenTrust Rules and Restrictions] for more information. ") + **/ + @ApiModelProperty(value = "Sets the type of signer certificate required for signing. If left blank, no certificate is required. Only one type of certificate can be set for a signer. The possible values are: * docusign_express - Requires a DocuSign Express certificate. * safe - Requires a SAFE-BioPharma certificate. * open_trust - Requires an OpenTrust certificate. **Important**: There are certain rules and restrictions that must be followed when requiring OpenTrust digital signatures. See [ML:OpenTrust Rules and Restrictions] for more information. ") public String getRequireSignerCertificate() { return requireSignerCertificate; } + /** + * setRequireSignerCertificate. + **/ public void setRequireSignerCertificate(String requireSignerCertificate) { this.requireSignerCertificate = requireSignerCertificate; } + + /** + * requireSignOnPaper. + * + * @return Signer + **/ public Signer requireSignOnPaper(String requireSignOnPaper) { this.requireSignOnPaper = requireSignOnPaper; return this; } - /** - * When set to **true**, the signer must print, sign, and upload or fax the signed documents to DocuSign. + /** + * When set to **true**, the signer must print, sign, and upload or fax the signed documents to DocuSign.. * @return requireSignOnPaper - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the signer must print, sign, and upload or fax the signed documents to DocuSign.") + **/ + @ApiModelProperty(value = "When set to **true**, the signer must print, sign, and upload or fax the signed documents to DocuSign.") public String getRequireSignOnPaper() { return requireSignOnPaper; } + /** + * setRequireSignOnPaper. + **/ public void setRequireSignOnPaper(String requireSignOnPaper) { this.requireSignOnPaper = requireSignOnPaper; } + + /** + * roleName. + * + * @return Signer + **/ public Signer roleName(String roleName) { this.roleName = roleName; return this; } - /** - * Optional element. Specifies the role name associated with the recipient.

This is required when working with template recipients. + /** + * Optional element. Specifies the role name associated with the recipient.

This is required when working with template recipients.. * @return roleName - **/ - @ApiModelProperty(example = "null", value = "Optional element. Specifies the role name associated with the recipient.

This is required when working with template recipients.") + **/ + @ApiModelProperty(value = "Optional element. Specifies the role name associated with the recipient.

This is required when working with template recipients.") public String getRoleName() { return roleName; } + /** + * setRoleName. + **/ public void setRoleName(String roleName) { this.roleName = roleName; } + + /** + * routingOrder. + * + * @return Signer + **/ public Signer routingOrder(String routingOrder) { this.routingOrder = routingOrder; return this; } - /** - * Specifies the routing order of the recipient in the envelope. + /** + * Specifies the routing order of the recipient in the envelope. . * @return routingOrder - **/ - @ApiModelProperty(example = "null", value = "Specifies the routing order of the recipient in the envelope. ") + **/ + @ApiModelProperty(value = "Specifies the routing order of the recipient in the envelope. ") public String getRoutingOrder() { return routingOrder; } + /** + * setRoutingOrder. + **/ public void setRoutingOrder(String routingOrder) { this.routingOrder = routingOrder; } + + /** + * samlAuthentication. + * + * @return Signer + **/ public Signer samlAuthentication(RecipientSAMLAuthentication samlAuthentication) { this.samlAuthentication = samlAuthentication; return this; } - /** - * Get samlAuthentication + /** + * Get samlAuthentication. * @return samlAuthentication - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public RecipientSAMLAuthentication getSamlAuthentication() { return samlAuthentication; } + /** + * setSamlAuthentication. + **/ public void setSamlAuthentication(RecipientSAMLAuthentication samlAuthentication) { this.samlAuthentication = samlAuthentication; } + + /** + * sentDateTime. + * + * @return Signer + **/ public Signer sentDateTime(String sentDateTime) { this.sentDateTime = sentDateTime; return this; } - /** - * The date and time the envelope was sent. + /** + * The date and time the envelope was sent.. * @return sentDateTime - **/ - @ApiModelProperty(example = "null", value = "The date and time the envelope was sent.") + **/ + @ApiModelProperty(value = "The date and time the envelope was sent.") public String getSentDateTime() { return sentDateTime; } + /** + * setSentDateTime. + **/ public void setSentDateTime(String sentDateTime) { this.sentDateTime = sentDateTime; } + + /** + * signatureInfo. + * + * @return Signer + **/ public Signer signatureInfo(RecipientSignatureInformation signatureInfo) { this.signatureInfo = signatureInfo; return this; } - /** - * Get signatureInfo + /** + * Get signatureInfo. * @return signatureInfo - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public RecipientSignatureInformation getSignatureInfo() { return signatureInfo; } + /** + * setSignatureInfo. + **/ public void setSignatureInfo(RecipientSignatureInformation signatureInfo) { this.signatureInfo = signatureInfo; } + + /** + * signedDateTime. + * + * @return Signer + **/ public Signer signedDateTime(String signedDateTime) { this.signedDateTime = signedDateTime; return this; } - /** - * Reserved: For DocuSign use only. + /** + * Reserved: For DocuSign use only. . * @return signedDateTime - **/ - @ApiModelProperty(example = "null", value = "Reserved: For DocuSign use only. ") + **/ + @ApiModelProperty(value = "Reserved: For DocuSign use only. ") public String getSignedDateTime() { return signedDateTime; } + /** + * setSignedDateTime. + **/ public void setSignedDateTime(String signedDateTime) { this.signedDateTime = signedDateTime; } + + /** + * signInEachLocation. + * + * @return Signer + **/ public Signer signInEachLocation(String signInEachLocation) { this.signInEachLocation = signInEachLocation; return this; } - /** - * When set to **true**, specifies that the signer must sign in all locations. + /** + * When set to **true**, specifies that the signer must sign in all locations.. * @return signInEachLocation - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, specifies that the signer must sign in all locations.") + **/ + @ApiModelProperty(value = "When set to **true**, specifies that the signer must sign in all locations.") public String getSignInEachLocation() { return signInEachLocation; } + /** + * setSignInEachLocation. + **/ public void setSignInEachLocation(String signInEachLocation) { this.signInEachLocation = signInEachLocation; } + + /** + * signingGroupId. + * + * @return Signer + **/ public Signer signingGroupId(String signingGroupId) { this.signingGroupId = signingGroupId; return this; } - /** - * When set to **true** and the feature is enabled in the sender's account, the signing recipient is required to draw signatures and initials at each signature/initial tab ( instead of adopting a signature/initial style or only drawing a signature/initial once). + /** + * When set to **true** and the feature is enabled in the sender's account, the signing recipient is required to draw signatures and initials at each signature/initial tab ( instead of adopting a signature/initial style or only drawing a signature/initial once).. * @return signingGroupId - **/ - @ApiModelProperty(example = "null", value = "When set to **true** and the feature is enabled in the sender's account, the signing recipient is required to draw signatures and initials at each signature/initial tab ( instead of adopting a signature/initial style or only drawing a signature/initial once).") + **/ + @ApiModelProperty(value = "When set to **true** and the feature is enabled in the sender's account, the signing recipient is required to draw signatures and initials at each signature/initial tab ( instead of adopting a signature/initial style or only drawing a signature/initial once).") public String getSigningGroupId() { return signingGroupId; } + /** + * setSigningGroupId. + **/ public void setSigningGroupId(String signingGroupId) { this.signingGroupId = signingGroupId; } + + /** + * signingGroupName. + * + * @return Signer + **/ public Signer signingGroupName(String signingGroupName) { this.signingGroupName = signingGroupName; return this; } - /** - * The display name for the signing group. Maximum Length: 100 characters. + /** + * The display name for the signing group. Maximum Length: 100 characters. . * @return signingGroupName - **/ - @ApiModelProperty(example = "null", value = "The display name for the signing group. Maximum Length: 100 characters. ") + **/ + @ApiModelProperty(value = "The display name for the signing group. Maximum Length: 100 characters. ") public String getSigningGroupName() { return signingGroupName; } + /** + * setSigningGroupName. + **/ public void setSigningGroupName(String signingGroupName) { this.signingGroupName = signingGroupName; } + + /** + * signingGroupUsers. + * + * @return Signer + **/ public Signer signingGroupUsers(java.util.List signingGroupUsers) { this.signingGroupUsers = signingGroupUsers; return this; } - + + /** + * addSigningGroupUsersItem. + * + * @return Signer + **/ public Signer addSigningGroupUsersItem(UserInfo signingGroupUsersItem) { + if (this.signingGroupUsers == null) { + this.signingGroupUsers = new java.util.ArrayList(); + } this.signingGroupUsers.add(signingGroupUsersItem); return this; } - /** - * A complex type that contains information about users in the signing group. + /** + * A complex type that contains information about users in the signing group.. * @return signingGroupUsers - **/ - @ApiModelProperty(example = "null", value = "A complex type that contains information about users in the signing group.") + **/ + @ApiModelProperty(value = "A complex type that contains information about users in the signing group.") public java.util.List getSigningGroupUsers() { return signingGroupUsers; } + /** + * setSigningGroupUsers. + **/ public void setSigningGroupUsers(java.util.List signingGroupUsers) { this.signingGroupUsers = signingGroupUsers; } + + /** + * smsAuthentication. + * + * @return Signer + **/ public Signer smsAuthentication(RecipientSMSAuthentication smsAuthentication) { this.smsAuthentication = smsAuthentication; return this; } - /** - * Get smsAuthentication + /** + * Get smsAuthentication. * @return smsAuthentication - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public RecipientSMSAuthentication getSmsAuthentication() { return smsAuthentication; } + /** + * setSmsAuthentication. + **/ public void setSmsAuthentication(RecipientSMSAuthentication smsAuthentication) { this.smsAuthentication = smsAuthentication; } + + /** + * socialAuthentications. + * + * @return Signer + **/ public Signer socialAuthentications(java.util.List socialAuthentications) { this.socialAuthentications = socialAuthentications; return this; } - + + /** + * addSocialAuthenticationsItem. + * + * @return Signer + **/ public Signer addSocialAuthenticationsItem(SocialAuthentication socialAuthenticationsItem) { + if (this.socialAuthentications == null) { + this.socialAuthentications = new java.util.ArrayList(); + } this.socialAuthentications.add(socialAuthenticationsItem); return this; } - /** - * Lists the social ID type that can be used for recipient authentication. + /** + * Lists the social ID type that can be used for recipient authentication.. * @return socialAuthentications - **/ - @ApiModelProperty(example = "null", value = " Lists the social ID type that can be used for recipient authentication.") + **/ + @ApiModelProperty(value = " Lists the social ID type that can be used for recipient authentication.") public java.util.List getSocialAuthentications() { return socialAuthentications; } + /** + * setSocialAuthentications. + **/ public void setSocialAuthentications(java.util.List socialAuthentications) { this.socialAuthentications = socialAuthentications; } + + /** + * status. + * + * @return Signer + **/ public Signer status(String status) { this.status = status; return this; } - /** - * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. + /** + * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.. * @return status - **/ - @ApiModelProperty(example = "null", value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") + **/ + @ApiModelProperty(value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") public String getStatus() { return status; } + /** + * setStatus. + **/ public void setStatus(String status) { this.status = status; } + + /** + * tabs. + * + * @return Signer + **/ public Signer tabs(Tabs tabs) { this.tabs = tabs; return this; } - /** - * Get tabs + /** + * Get tabs. * @return tabs - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public Tabs getTabs() { return tabs; } + /** + * setTabs. + **/ public void setTabs(Tabs tabs) { this.tabs = tabs; } + + /** + * templateLocked. + * + * @return Signer + **/ public Signer templateLocked(String templateLocked) { this.templateLocked = templateLocked; return this; } - /** - * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. . * @return templateLocked - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") + **/ + @ApiModelProperty(value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") public String getTemplateLocked() { return templateLocked; } + /** + * setTemplateLocked. + **/ public void setTemplateLocked(String templateLocked) { this.templateLocked = templateLocked; } + + /** + * templateRequired. + * + * @return Signer + **/ public Signer templateRequired(String templateRequired) { this.templateRequired = templateRequired; return this; } - /** - * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.. * @return templateRequired - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") + **/ + @ApiModelProperty(value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") public String getTemplateRequired() { return templateRequired; } + /** + * setTemplateRequired. + **/ public void setTemplateRequired(String templateRequired) { this.templateRequired = templateRequired; } + + /** + * totalTabCount. + * + * @return Signer + **/ public Signer totalTabCount(String totalTabCount) { this.totalTabCount = totalTabCount; return this; } - /** - * + /** + * . * @return totalTabCount - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTotalTabCount() { return totalTabCount; } + /** + * setTotalTabCount. + **/ public void setTotalTabCount(String totalTabCount) { this.totalTabCount = totalTabCount; } + + /** + * userId. + * + * @return Signer + **/ public Signer userId(String userId) { this.userId = userId; return this; } - /** - * + /** + * . * @return userId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getUserId() { return userId; } + /** + * setUserId. + **/ public void setUserId(String userId) { this.userId = userId; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -1379,6 +2054,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.fullName, signer.fullName) && Objects.equals(this.idCheckConfigurationName, signer.idCheckConfigurationName) && Objects.equals(this.idCheckInformationInput, signer.idCheckInformationInput) && + Objects.equals(this.identityVerification, signer.identityVerification) && Objects.equals(this.inheritEmailNotificationConfiguration, signer.inheritEmailNotificationConfiguration) && Objects.equals(this.isBulkRecipient, signer.isBulkRecipient) && Objects.equals(this.lastName, signer.lastName) && @@ -1386,6 +2062,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.note, signer.note) && Objects.equals(this.offlineAttributes, signer.offlineAttributes) && Objects.equals(this.phoneAuthentication, signer.phoneAuthentication) && + Objects.equals(this.proofFile, signer.proofFile) && Objects.equals(this.recipientAttachments, signer.recipientAttachments) && Objects.equals(this.recipientAuthenticationStatus, signer.recipientAuthenticationStatus) && Objects.equals(this.recipientId, signer.recipientId) && @@ -1415,12 +2092,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.userId, signer.userId); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { - return Objects.hash(accessCode, addAccessCodeToEmail, agentCanEditEmail, agentCanEditName, autoNavigation, bulkRecipientsUri, canSignOffline, clientUserId, creationReason, customFields, declinedDateTime, declinedReason, defaultRecipient, deliveredDateTime, deliveryMethod, documentVisibility, email, emailNotification, emailRecipientPostSigningURL, embeddedRecipientStartURL, errorDetails, excludedDocuments, faxNumber, firstName, fullName, idCheckConfigurationName, idCheckInformationInput, inheritEmailNotificationConfiguration, isBulkRecipient, lastName, name, note, offlineAttributes, phoneAuthentication, recipientAttachments, recipientAuthenticationStatus, recipientId, recipientIdGuid, recipientSignatureProviders, recipientSuppliesTabs, requireIdLookup, requireSignerCertificate, requireSignOnPaper, roleName, routingOrder, samlAuthentication, sentDateTime, signatureInfo, signedDateTime, signInEachLocation, signingGroupId, signingGroupName, signingGroupUsers, smsAuthentication, socialAuthentications, status, tabs, templateLocked, templateRequired, totalTabCount, userId); + return Objects.hash(accessCode, addAccessCodeToEmail, agentCanEditEmail, agentCanEditName, autoNavigation, bulkRecipientsUri, canSignOffline, clientUserId, creationReason, customFields, declinedDateTime, declinedReason, defaultRecipient, deliveredDateTime, deliveryMethod, documentVisibility, email, emailNotification, emailRecipientPostSigningURL, embeddedRecipientStartURL, errorDetails, excludedDocuments, faxNumber, firstName, fullName, idCheckConfigurationName, idCheckInformationInput, identityVerification, inheritEmailNotificationConfiguration, isBulkRecipient, lastName, name, note, offlineAttributes, phoneAuthentication, proofFile, recipientAttachments, recipientAuthenticationStatus, recipientId, recipientIdGuid, recipientSignatureProviders, recipientSuppliesTabs, requireIdLookup, requireSignerCertificate, requireSignOnPaper, roleName, routingOrder, samlAuthentication, sentDateTime, signatureInfo, signedDateTime, signInEachLocation, signingGroupId, signingGroupName, signingGroupUsers, smsAuthentication, socialAuthentications, status, tabs, templateLocked, templateRequired, totalTabCount, userId); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -1453,6 +2136,7 @@ public String toString() { sb.append(" fullName: ").append(toIndentedString(fullName)).append("\n"); sb.append(" idCheckConfigurationName: ").append(toIndentedString(idCheckConfigurationName)).append("\n"); sb.append(" idCheckInformationInput: ").append(toIndentedString(idCheckInformationInput)).append("\n"); + sb.append(" identityVerification: ").append(toIndentedString(identityVerification)).append("\n"); sb.append(" inheritEmailNotificationConfiguration: ").append(toIndentedString(inheritEmailNotificationConfiguration)).append("\n"); sb.append(" isBulkRecipient: ").append(toIndentedString(isBulkRecipient)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); @@ -1460,6 +2144,7 @@ public String toString() { sb.append(" note: ").append(toIndentedString(note)).append("\n"); sb.append(" offlineAttributes: ").append(toIndentedString(offlineAttributes)).append("\n"); sb.append(" phoneAuthentication: ").append(toIndentedString(phoneAuthentication)).append("\n"); + sb.append(" proofFile: ").append(toIndentedString(proofFile)).append("\n"); sb.append(" recipientAttachments: ").append(toIndentedString(recipientAttachments)).append("\n"); sb.append(" recipientAuthenticationStatus: ").append(toIndentedString(recipientAuthenticationStatus)).append("\n"); sb.append(" recipientId: ").append(toIndentedString(recipientId)).append("\n"); @@ -1501,6 +2186,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/SignerAttachment.java b/src/main/java/com/docusign/esign/model/SignerAttachment.java index f2be562e..8a82d4e3 100644 --- a/src/main/java/com/docusign/esign/model/SignerAttachment.java +++ b/src/main/java/com/docusign/esign/model/SignerAttachment.java @@ -1,15 +1,18 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ErrorDetails; import com.docusign.esign.model.MergeField; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * SignerAttachment + * SignerAttachment. + * */ public class SignerAttachment { @@ -74,7 +77,7 @@ public class SignerAttachment { private String status = null; @JsonProperty("tabGroupLabels") - private java.util.List tabGroupLabels = new java.util.ArrayList(); + private java.util.List tabGroupLabels = null; @JsonProperty("tabId") private String tabId = null; @@ -100,534 +103,808 @@ public class SignerAttachment { @JsonProperty("yPosition") private String yPosition = null; + + /** + * anchorCaseSensitive. + * + * @return SignerAttachment + **/ public SignerAttachment anchorCaseSensitive(String anchorCaseSensitive) { this.anchorCaseSensitive = anchorCaseSensitive; return this; } - /** - * When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**. + /** + * When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.. * @return anchorCaseSensitive - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.") + **/ + @ApiModelProperty(value = "When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.") public String getAnchorCaseSensitive() { return anchorCaseSensitive; } + /** + * setAnchorCaseSensitive. + **/ public void setAnchorCaseSensitive(String anchorCaseSensitive) { this.anchorCaseSensitive = anchorCaseSensitive; } + + /** + * anchorHorizontalAlignment. + * + * @return SignerAttachment + **/ public SignerAttachment anchorHorizontalAlignment(String anchorHorizontalAlignment) { this.anchorHorizontalAlignment = anchorHorizontalAlignment; return this; } - /** - * Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**. + /** + * Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.. * @return anchorHorizontalAlignment - **/ - @ApiModelProperty(example = "null", value = "Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.") + **/ + @ApiModelProperty(value = "Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.") public String getAnchorHorizontalAlignment() { return anchorHorizontalAlignment; } + /** + * setAnchorHorizontalAlignment. + **/ public void setAnchorHorizontalAlignment(String anchorHorizontalAlignment) { this.anchorHorizontalAlignment = anchorHorizontalAlignment; } + + /** + * anchorIgnoreIfNotPresent. + * + * @return SignerAttachment + **/ public SignerAttachment anchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { this.anchorIgnoreIfNotPresent = anchorIgnoreIfNotPresent; return this; } - /** - * When set to **true**, this tab is ignored if anchorString is not found in the document. + /** + * When set to **true**, this tab is ignored if anchorString is not found in the document.. * @return anchorIgnoreIfNotPresent - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, this tab is ignored if anchorString is not found in the document.") + **/ + @ApiModelProperty(value = "When set to **true**, this tab is ignored if anchorString is not found in the document.") public String getAnchorIgnoreIfNotPresent() { return anchorIgnoreIfNotPresent; } + /** + * setAnchorIgnoreIfNotPresent. + **/ public void setAnchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { this.anchorIgnoreIfNotPresent = anchorIgnoreIfNotPresent; } + + /** + * anchorMatchWholeWord. + * + * @return SignerAttachment + **/ public SignerAttachment anchorMatchWholeWord(String anchorMatchWholeWord) { this.anchorMatchWholeWord = anchorMatchWholeWord; return this; } - /** - * When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**. + /** + * When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.. * @return anchorMatchWholeWord - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.") + **/ + @ApiModelProperty(value = "When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.") public String getAnchorMatchWholeWord() { return anchorMatchWholeWord; } + /** + * setAnchorMatchWholeWord. + **/ public void setAnchorMatchWholeWord(String anchorMatchWholeWord) { this.anchorMatchWholeWord = anchorMatchWholeWord; } + + /** + * anchorString. + * + * @return SignerAttachment + **/ public SignerAttachment anchorString(String anchorString) { this.anchorString = anchorString; return this; } - /** - * Anchor text information for a radio button. + /** + * Anchor text information for a radio button.. * @return anchorString - **/ - @ApiModelProperty(example = "null", value = "Anchor text information for a radio button.") + **/ + @ApiModelProperty(value = "Anchor text information for a radio button.") public String getAnchorString() { return anchorString; } + /** + * setAnchorString. + **/ public void setAnchorString(String anchorString) { this.anchorString = anchorString; } + + /** + * anchorUnits. + * + * @return SignerAttachment + **/ public SignerAttachment anchorUnits(String anchorUnits) { this.anchorUnits = anchorUnits; return this; } - /** - * Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. + /** + * Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. * @return anchorUnits - **/ - @ApiModelProperty(example = "null", value = "Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.") + **/ + @ApiModelProperty(value = "Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.") public String getAnchorUnits() { return anchorUnits; } + /** + * setAnchorUnits. + **/ public void setAnchorUnits(String anchorUnits) { this.anchorUnits = anchorUnits; } + + /** + * anchorXOffset. + * + * @return SignerAttachment + **/ public SignerAttachment anchorXOffset(String anchorXOffset) { this.anchorXOffset = anchorXOffset; return this; } - /** - * Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString. + /** + * Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. * @return anchorXOffset - **/ - @ApiModelProperty(example = "null", value = "Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.") + **/ + @ApiModelProperty(value = "Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.") public String getAnchorXOffset() { return anchorXOffset; } + /** + * setAnchorXOffset. + **/ public void setAnchorXOffset(String anchorXOffset) { this.anchorXOffset = anchorXOffset; } + + /** + * anchorYOffset. + * + * @return SignerAttachment + **/ public SignerAttachment anchorYOffset(String anchorYOffset) { this.anchorYOffset = anchorYOffset; return this; } - /** - * Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString. + /** + * Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.. * @return anchorYOffset - **/ - @ApiModelProperty(example = "null", value = "Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.") + **/ + @ApiModelProperty(value = "Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.") public String getAnchorYOffset() { return anchorYOffset; } + /** + * setAnchorYOffset. + **/ public void setAnchorYOffset(String anchorYOffset) { this.anchorYOffset = anchorYOffset; } + + /** + * conditionalParentLabel. + * + * @return SignerAttachment + **/ public SignerAttachment conditionalParentLabel(String conditionalParentLabel) { this.conditionalParentLabel = conditionalParentLabel; return this; } - /** - * For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility. + /** + * For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.. * @return conditionalParentLabel - **/ - @ApiModelProperty(example = "null", value = "For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.") + **/ + @ApiModelProperty(value = "For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.") public String getConditionalParentLabel() { return conditionalParentLabel; } + /** + * setConditionalParentLabel. + **/ public void setConditionalParentLabel(String conditionalParentLabel) { this.conditionalParentLabel = conditionalParentLabel; } + + /** + * conditionalParentValue. + * + * @return SignerAttachment + **/ public SignerAttachment conditionalParentValue(String conditionalParentValue) { this.conditionalParentValue = conditionalParentValue; return this; } - /** - * For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. + /** + * For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. . * @return conditionalParentValue - **/ - @ApiModelProperty(example = "null", value = "For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. ") + **/ + @ApiModelProperty(value = "For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. ") public String getConditionalParentValue() { return conditionalParentValue; } + /** + * setConditionalParentValue. + **/ public void setConditionalParentValue(String conditionalParentValue) { this.conditionalParentValue = conditionalParentValue; } + + /** + * customTabId. + * + * @return SignerAttachment + **/ public SignerAttachment customTabId(String customTabId) { this.customTabId = customTabId; return this; } - /** - * The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties. + /** + * The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.. * @return customTabId - **/ - @ApiModelProperty(example = "null", value = "The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.") + **/ + @ApiModelProperty(value = "The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.") public String getCustomTabId() { return customTabId; } + /** + * setCustomTabId. + **/ public void setCustomTabId(String customTabId) { this.customTabId = customTabId; } + + /** + * documentId. + * + * @return SignerAttachment + **/ public SignerAttachment documentId(String documentId) { this.documentId = documentId; return this; } - /** - * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute. + /** + * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.. * @return documentId - **/ - @ApiModelProperty(example = "null", value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") + **/ + @ApiModelProperty(value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") public String getDocumentId() { return documentId; } + /** + * setDocumentId. + **/ public void setDocumentId(String documentId) { this.documentId = documentId; } + + /** + * errorDetails. + * + * @return SignerAttachment + **/ public SignerAttachment errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * mergeField. + * + * @return SignerAttachment + **/ public SignerAttachment mergeField(MergeField mergeField) { this.mergeField = mergeField; return this; } - /** - * Get mergeField + /** + * Get mergeField. * @return mergeField - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public MergeField getMergeField() { return mergeField; } + /** + * setMergeField. + **/ public void setMergeField(MergeField mergeField) { this.mergeField = mergeField; } + + /** + * name. + * + * @return SignerAttachment + **/ public SignerAttachment name(String name) { this.name = name; return this; } - /** - * + /** + * . * @return name - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * optional. + * + * @return SignerAttachment + **/ public SignerAttachment optional(String optional) { this.optional = optional; return this; } - /** - * + /** + * . * @return optional - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getOptional() { return optional; } + /** + * setOptional. + **/ public void setOptional(String optional) { this.optional = optional; } + + /** + * pageNumber. + * + * @return SignerAttachment + **/ public SignerAttachment pageNumber(String pageNumber) { this.pageNumber = pageNumber; return this; } - /** - * Specifies the page number on which the tab is located. + /** + * Specifies the page number on which the tab is located.. * @return pageNumber - **/ - @ApiModelProperty(example = "null", value = "Specifies the page number on which the tab is located.") + **/ + @ApiModelProperty(value = "Specifies the page number on which the tab is located.") public String getPageNumber() { return pageNumber; } + /** + * setPageNumber. + **/ public void setPageNumber(String pageNumber) { this.pageNumber = pageNumber; } + + /** + * recipientId. + * + * @return SignerAttachment + **/ public SignerAttachment recipientId(String recipientId) { this.recipientId = recipientId; return this; } - /** - * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document. + /** + * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.. * @return recipientId - **/ - @ApiModelProperty(example = "null", value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") + **/ + @ApiModelProperty(value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") public String getRecipientId() { return recipientId; } + /** + * setRecipientId. + **/ public void setRecipientId(String recipientId) { this.recipientId = recipientId; } + + /** + * scaleValue. + * + * @return SignerAttachment + **/ public SignerAttachment scaleValue(String scaleValue) { this.scaleValue = scaleValue; return this; } - /** - * + /** + * . * @return scaleValue - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getScaleValue() { return scaleValue; } + /** + * setScaleValue. + **/ public void setScaleValue(String scaleValue) { this.scaleValue = scaleValue; } + + /** + * status. + * + * @return SignerAttachment + **/ public SignerAttachment status(String status) { this.status = status; return this; } - /** - * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. + /** + * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.. * @return status - **/ - @ApiModelProperty(example = "null", value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") + **/ + @ApiModelProperty(value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") public String getStatus() { return status; } + /** + * setStatus. + **/ public void setStatus(String status) { this.status = status; } + + /** + * tabGroupLabels. + * + * @return SignerAttachment + **/ public SignerAttachment tabGroupLabels(java.util.List tabGroupLabels) { this.tabGroupLabels = tabGroupLabels; return this; } - + + /** + * addTabGroupLabelsItem. + * + * @return SignerAttachment + **/ public SignerAttachment addTabGroupLabelsItem(String tabGroupLabelsItem) { + if (this.tabGroupLabels == null) { + this.tabGroupLabels = new java.util.ArrayList(); + } this.tabGroupLabels.add(tabGroupLabelsItem); return this; } - /** - * + /** + * . * @return tabGroupLabels - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getTabGroupLabels() { return tabGroupLabels; } + /** + * setTabGroupLabels. + **/ public void setTabGroupLabels(java.util.List tabGroupLabels) { this.tabGroupLabels = tabGroupLabels; } + + /** + * tabId. + * + * @return SignerAttachment + **/ public SignerAttachment tabId(String tabId) { this.tabId = tabId; return this; } - /** - * The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. + /** + * The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. . * @return tabId - **/ - @ApiModelProperty(example = "null", value = "The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. ") + **/ + @ApiModelProperty(value = "The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. ") public String getTabId() { return tabId; } + /** + * setTabId. + **/ public void setTabId(String tabId) { this.tabId = tabId; } + + /** + * tabLabel. + * + * @return SignerAttachment + **/ public SignerAttachment tabLabel(String tabLabel) { this.tabLabel = tabLabel; return this; } - /** - * The label string associated with the tab. + /** + * The label string associated with the tab.. * @return tabLabel - **/ - @ApiModelProperty(example = "null", value = "The label string associated with the tab.") + **/ + @ApiModelProperty(value = "The label string associated with the tab.") public String getTabLabel() { return tabLabel; } + /** + * setTabLabel. + **/ public void setTabLabel(String tabLabel) { this.tabLabel = tabLabel; } + + /** + * tabOrder. + * + * @return SignerAttachment + **/ public SignerAttachment tabOrder(String tabOrder) { this.tabOrder = tabOrder; return this; } - /** - * + /** + * . * @return tabOrder - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTabOrder() { return tabOrder; } + /** + * setTabOrder. + **/ public void setTabOrder(String tabOrder) { this.tabOrder = tabOrder; } + + /** + * templateLocked. + * + * @return SignerAttachment + **/ public SignerAttachment templateLocked(String templateLocked) { this.templateLocked = templateLocked; return this; } - /** - * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. . * @return templateLocked - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") + **/ + @ApiModelProperty(value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") public String getTemplateLocked() { return templateLocked; } + /** + * setTemplateLocked. + **/ public void setTemplateLocked(String templateLocked) { this.templateLocked = templateLocked; } + + /** + * templateRequired. + * + * @return SignerAttachment + **/ public SignerAttachment templateRequired(String templateRequired) { this.templateRequired = templateRequired; return this; } - /** - * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.. * @return templateRequired - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") + **/ + @ApiModelProperty(value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") public String getTemplateRequired() { return templateRequired; } + /** + * setTemplateRequired. + **/ public void setTemplateRequired(String templateRequired) { this.templateRequired = templateRequired; } + + /** + * tooltip. + * + * @return SignerAttachment + **/ public SignerAttachment tooltip(String tooltip) { this.tooltip = tooltip; return this; } - /** - * + /** + * . * @return tooltip - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTooltip() { return tooltip; } + /** + * setTooltip. + **/ public void setTooltip(String tooltip) { this.tooltip = tooltip; } + + /** + * xPosition. + * + * @return SignerAttachment + **/ public SignerAttachment xPosition(String xPosition) { this.xPosition = xPosition; return this; } - /** - * This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position. + /** + * This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.. * @return xPosition - **/ - @ApiModelProperty(example = "null", value = "This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.") + **/ + @ApiModelProperty(value = "This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.") public String getXPosition() { return xPosition; } + /** + * setXPosition. + **/ public void setXPosition(String xPosition) { this.xPosition = xPosition; } + + /** + * yPosition. + * + * @return SignerAttachment + **/ public SignerAttachment yPosition(String yPosition) { this.yPosition = yPosition; return this; } - /** - * This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position. + /** + * This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. * @return yPosition - **/ - @ApiModelProperty(example = "null", value = "This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.") + **/ + @ApiModelProperty(value = "This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.") public String getYPosition() { return yPosition; } + /** + * setYPosition. + **/ public void setYPosition(String yPosition) { this.yPosition = yPosition; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -668,12 +945,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.yPosition, signerAttachment.yPosition); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(anchorCaseSensitive, anchorHorizontalAlignment, anchorIgnoreIfNotPresent, anchorMatchWholeWord, anchorString, anchorUnits, anchorXOffset, anchorYOffset, conditionalParentLabel, conditionalParentValue, customTabId, documentId, errorDetails, mergeField, name, optional, pageNumber, recipientId, scaleValue, status, tabGroupLabels, tabId, tabLabel, tabOrder, templateLocked, templateRequired, tooltip, xPosition, yPosition); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -722,6 +1005,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/SignerEmailNotifications.java b/src/main/java/com/docusign/esign/model/SignerEmailNotifications.java index 71f63843..972eadea 100644 --- a/src/main/java/com/docusign/esign/model/SignerEmailNotifications.java +++ b/src/main/java/com/docusign/esign/model/SignerEmailNotifications.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * An array of email notifications that specifies the email the user receives when they are a sender. When the specific email notification is set to true, the user receives those types of email notifications from DocuSign. The user inherits the default account sender email notification settings when the user is created. + * An array of email notifications that specifies the email the user receives when they are a sender. When the specific email notification is set to true, the user receives those types of email notifications from DocuSign. The user inherits the default account sender email notification settings when the user is created.. + * */ @ApiModel(description = "An array of email notifications that specifies the email the user receives when they are a sender. When the specific email notification is set to true, the user receives those types of email notifications from DocuSign. The user inherits the default account sender email notification settings when the user is created.") @@ -60,295 +63,444 @@ public class SignerEmailNotifications { @JsonProperty("whenSigningGroupMember") private String whenSigningGroupMember = null; + + /** + * agentNotification. + * + * @return SignerEmailNotifications + **/ public SignerEmailNotifications agentNotification(String agentNotification) { this.agentNotification = agentNotification; return this; } - /** - * When set to **true**, the user receives agent notification emails. + /** + * When set to **true**, the user receives agent notification emails.. * @return agentNotification - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the user receives agent notification emails.") + **/ + @ApiModelProperty(value = "When set to **true**, the user receives agent notification emails.") public String getAgentNotification() { return agentNotification; } + /** + * setAgentNotification. + **/ public void setAgentNotification(String agentNotification) { this.agentNotification = agentNotification; } + + /** + * carbonCopyNotification. + * + * @return SignerEmailNotifications + **/ public SignerEmailNotifications carbonCopyNotification(String carbonCopyNotification) { this.carbonCopyNotification = carbonCopyNotification; return this; } - /** - * When set to **true**, the user receives notifications of carbon copy deliveries. + /** + * When set to **true**, the user receives notifications of carbon copy deliveries.. * @return carbonCopyNotification - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the user receives notifications of carbon copy deliveries.") + **/ + @ApiModelProperty(value = "When set to **true**, the user receives notifications of carbon copy deliveries.") public String getCarbonCopyNotification() { return carbonCopyNotification; } + /** + * setCarbonCopyNotification. + **/ public void setCarbonCopyNotification(String carbonCopyNotification) { this.carbonCopyNotification = carbonCopyNotification; } + + /** + * certifiedDeliveryNotification. + * + * @return SignerEmailNotifications + **/ public SignerEmailNotifications certifiedDeliveryNotification(String certifiedDeliveryNotification) { this.certifiedDeliveryNotification = certifiedDeliveryNotification; return this; } - /** - * When set to **true**, the user receives notifications of certified deliveries. + /** + * When set to **true**, the user receives notifications of certified deliveries.. * @return certifiedDeliveryNotification - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the user receives notifications of certified deliveries.") + **/ + @ApiModelProperty(value = "When set to **true**, the user receives notifications of certified deliveries.") public String getCertifiedDeliveryNotification() { return certifiedDeliveryNotification; } + /** + * setCertifiedDeliveryNotification. + **/ public void setCertifiedDeliveryNotification(String certifiedDeliveryNotification) { this.certifiedDeliveryNotification = certifiedDeliveryNotification; } + + /** + * commentsOnlyPrivateAndMention. + * + * @return SignerEmailNotifications + **/ public SignerEmailNotifications commentsOnlyPrivateAndMention(String commentsOnlyPrivateAndMention) { this.commentsOnlyPrivateAndMention = commentsOnlyPrivateAndMention; return this; } - /** - * + /** + * . * @return commentsOnlyPrivateAndMention - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getCommentsOnlyPrivateAndMention() { return commentsOnlyPrivateAndMention; } + /** + * setCommentsOnlyPrivateAndMention. + **/ public void setCommentsOnlyPrivateAndMention(String commentsOnlyPrivateAndMention) { this.commentsOnlyPrivateAndMention = commentsOnlyPrivateAndMention; } + + /** + * commentsReceiveAll. + * + * @return SignerEmailNotifications + **/ public SignerEmailNotifications commentsReceiveAll(String commentsReceiveAll) { this.commentsReceiveAll = commentsReceiveAll; return this; } - /** - * + /** + * . * @return commentsReceiveAll - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getCommentsReceiveAll() { return commentsReceiveAll; } + /** + * setCommentsReceiveAll. + **/ public void setCommentsReceiveAll(String commentsReceiveAll) { this.commentsReceiveAll = commentsReceiveAll; } + + /** + * documentMarkupActivation. + * + * @return SignerEmailNotifications + **/ public SignerEmailNotifications documentMarkupActivation(String documentMarkupActivation) { this.documentMarkupActivation = documentMarkupActivation; return this; } - /** - * When set to **true**, the user receives notification that document markup has been activated. + /** + * When set to **true**, the user receives notification that document markup has been activated.. * @return documentMarkupActivation - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the user receives notification that document markup has been activated.") + **/ + @ApiModelProperty(value = "When set to **true**, the user receives notification that document markup has been activated.") public String getDocumentMarkupActivation() { return documentMarkupActivation; } + /** + * setDocumentMarkupActivation. + **/ public void setDocumentMarkupActivation(String documentMarkupActivation) { this.documentMarkupActivation = documentMarkupActivation; } + + /** + * envelopeActivation. + * + * @return SignerEmailNotifications + **/ public SignerEmailNotifications envelopeActivation(String envelopeActivation) { this.envelopeActivation = envelopeActivation; return this; } - /** - * When set to **true**, the user receives notification that the envelope has been activated. + /** + * When set to **true**, the user receives notification that the envelope has been activated.. * @return envelopeActivation - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the user receives notification that the envelope has been activated.") + **/ + @ApiModelProperty(value = "When set to **true**, the user receives notification that the envelope has been activated.") public String getEnvelopeActivation() { return envelopeActivation; } + /** + * setEnvelopeActivation. + **/ public void setEnvelopeActivation(String envelopeActivation) { this.envelopeActivation = envelopeActivation; } + + /** + * envelopeComplete. + * + * @return SignerEmailNotifications + **/ public SignerEmailNotifications envelopeComplete(String envelopeComplete) { this.envelopeComplete = envelopeComplete; return this; } - /** - * When set to **true**, the user receives notification that the envelope has been completed. + /** + * When set to **true**, the user receives notification that the envelope has been completed.. * @return envelopeComplete - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the user receives notification that the envelope has been completed.") + **/ + @ApiModelProperty(value = "When set to **true**, the user receives notification that the envelope has been completed.") public String getEnvelopeComplete() { return envelopeComplete; } + /** + * setEnvelopeComplete. + **/ public void setEnvelopeComplete(String envelopeComplete) { this.envelopeComplete = envelopeComplete; } + + /** + * envelopeCorrected. + * + * @return SignerEmailNotifications + **/ public SignerEmailNotifications envelopeCorrected(String envelopeCorrected) { this.envelopeCorrected = envelopeCorrected; return this; } - /** - * When set to **true**, the user receives notification that the envelope has been corrected. + /** + * When set to **true**, the user receives notification that the envelope has been corrected.. * @return envelopeCorrected - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the user receives notification that the envelope has been corrected.") + **/ + @ApiModelProperty(value = "When set to **true**, the user receives notification that the envelope has been corrected.") public String getEnvelopeCorrected() { return envelopeCorrected; } + /** + * setEnvelopeCorrected. + **/ public void setEnvelopeCorrected(String envelopeCorrected) { this.envelopeCorrected = envelopeCorrected; } + + /** + * envelopeDeclined. + * + * @return SignerEmailNotifications + **/ public SignerEmailNotifications envelopeDeclined(String envelopeDeclined) { this.envelopeDeclined = envelopeDeclined; return this; } - /** - * When set to **true**, the user receives notification that the envelope has been declined. + /** + * When set to **true**, the user receives notification that the envelope has been declined.. * @return envelopeDeclined - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the user receives notification that the envelope has been declined.") + **/ + @ApiModelProperty(value = "When set to **true**, the user receives notification that the envelope has been declined.") public String getEnvelopeDeclined() { return envelopeDeclined; } + /** + * setEnvelopeDeclined. + **/ public void setEnvelopeDeclined(String envelopeDeclined) { this.envelopeDeclined = envelopeDeclined; } + + /** + * envelopeVoided. + * + * @return SignerEmailNotifications + **/ public SignerEmailNotifications envelopeVoided(String envelopeVoided) { this.envelopeVoided = envelopeVoided; return this; } - /** - * When set to **true**, the user receives notification that the envelope has been voided. + /** + * When set to **true**, the user receives notification that the envelope has been voided.. * @return envelopeVoided - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the user receives notification that the envelope has been voided.") + **/ + @ApiModelProperty(value = "When set to **true**, the user receives notification that the envelope has been voided.") public String getEnvelopeVoided() { return envelopeVoided; } + /** + * setEnvelopeVoided. + **/ public void setEnvelopeVoided(String envelopeVoided) { this.envelopeVoided = envelopeVoided; } + + /** + * faxReceived. + * + * @return SignerEmailNotifications + **/ public SignerEmailNotifications faxReceived(String faxReceived) { this.faxReceived = faxReceived; return this; } - /** - * Reserved: + /** + * Reserved:. * @return faxReceived - **/ - @ApiModelProperty(example = "null", value = "Reserved:") + **/ + @ApiModelProperty(value = "Reserved:") public String getFaxReceived() { return faxReceived; } + /** + * setFaxReceived. + **/ public void setFaxReceived(String faxReceived) { this.faxReceived = faxReceived; } + + /** + * offlineSigningFailed. + * + * @return SignerEmailNotifications + **/ public SignerEmailNotifications offlineSigningFailed(String offlineSigningFailed) { this.offlineSigningFailed = offlineSigningFailed; return this; } - /** - * When set to **true**, the user receives notification if the offline signing failed. + /** + * When set to **true**, the user receives notification if the offline signing failed.. * @return offlineSigningFailed - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the user receives notification if the offline signing failed.") + **/ + @ApiModelProperty(value = "When set to **true**, the user receives notification if the offline signing failed.") public String getOfflineSigningFailed() { return offlineSigningFailed; } + /** + * setOfflineSigningFailed. + **/ public void setOfflineSigningFailed(String offlineSigningFailed) { this.offlineSigningFailed = offlineSigningFailed; } + + /** + * purgeDocuments. + * + * @return SignerEmailNotifications + **/ public SignerEmailNotifications purgeDocuments(String purgeDocuments) { this.purgeDocuments = purgeDocuments; return this; } - /** - * When set to **true**, the user receives notification of document purges. + /** + * When set to **true**, the user receives notification of document purges.. * @return purgeDocuments - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the user receives notification of document purges.") + **/ + @ApiModelProperty(value = "When set to **true**, the user receives notification of document purges.") public String getPurgeDocuments() { return purgeDocuments; } + /** + * setPurgeDocuments. + **/ public void setPurgeDocuments(String purgeDocuments) { this.purgeDocuments = purgeDocuments; } + + /** + * reassignedSigner. + * + * @return SignerEmailNotifications + **/ public SignerEmailNotifications reassignedSigner(String reassignedSigner) { this.reassignedSigner = reassignedSigner; return this; } - /** - * When set to **true**, the user receives notification that the envelope has been reassigned. + /** + * When set to **true**, the user receives notification that the envelope has been reassigned.. * @return reassignedSigner - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the user receives notification that the envelope has been reassigned.") + **/ + @ApiModelProperty(value = "When set to **true**, the user receives notification that the envelope has been reassigned.") public String getReassignedSigner() { return reassignedSigner; } + /** + * setReassignedSigner. + **/ public void setReassignedSigner(String reassignedSigner) { this.reassignedSigner = reassignedSigner; } + + /** + * whenSigningGroupMember. + * + * @return SignerEmailNotifications + **/ public SignerEmailNotifications whenSigningGroupMember(String whenSigningGroupMember) { this.whenSigningGroupMember = whenSigningGroupMember; return this; } - /** - * + /** + * . * @return whenSigningGroupMember - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getWhenSigningGroupMember() { return whenSigningGroupMember; } + /** + * setWhenSigningGroupMember. + **/ public void setWhenSigningGroupMember(String whenSigningGroupMember) { this.whenSigningGroupMember = whenSigningGroupMember; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -376,12 +528,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.whenSigningGroupMember, signerEmailNotifications.whenSigningGroupMember); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(agentNotification, carbonCopyNotification, certifiedDeliveryNotification, commentsOnlyPrivateAndMention, commentsReceiveAll, documentMarkupActivation, envelopeActivation, envelopeComplete, envelopeCorrected, envelopeDeclined, envelopeVoided, faxReceived, offlineSigningFailed, purgeDocuments, reassignedSigner, whenSigningGroupMember); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -417,6 +575,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/SigningGroup.java b/src/main/java/com/docusign/esign/model/SigningGroup.java index e912b692..a9659c2e 100644 --- a/src/main/java/com/docusign/esign/model/SigningGroup.java +++ b/src/main/java/com/docusign/esign/model/SigningGroup.java @@ -1,15 +1,18 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ErrorDetails; import com.docusign.esign.model.SigningGroupUser; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * SigningGroup + * SigningGroup. + * */ public class SigningGroup { @@ -41,194 +44,297 @@ public class SigningGroup { private String signingGroupId = null; @JsonProperty("users") - private java.util.List users = new java.util.ArrayList(); + private java.util.List users = null; + + /** + * created. + * + * @return SigningGroup + **/ public SigningGroup created(String created) { this.created = created; return this; } - /** - * + /** + * . * @return created - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getCreated() { return created; } + /** + * setCreated. + **/ public void setCreated(String created) { this.created = created; } + + /** + * createdBy. + * + * @return SigningGroup + **/ public SigningGroup createdBy(String createdBy) { this.createdBy = createdBy; return this; } - /** - * + /** + * . * @return createdBy - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getCreatedBy() { return createdBy; } + /** + * setCreatedBy. + **/ public void setCreatedBy(String createdBy) { this.createdBy = createdBy; } + + /** + * errorDetails. + * + * @return SigningGroup + **/ public SigningGroup errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * groupEmail. + * + * @return SigningGroup + **/ public SigningGroup groupEmail(String groupEmail) { this.groupEmail = groupEmail; return this; } - /** - * + /** + * . * @return groupEmail - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getGroupEmail() { return groupEmail; } + /** + * setGroupEmail. + **/ public void setGroupEmail(String groupEmail) { this.groupEmail = groupEmail; } + + /** + * groupName. + * + * @return SigningGroup + **/ public SigningGroup groupName(String groupName) { this.groupName = groupName; return this; } - /** - * The name of the group. + /** + * The name of the group.. * @return groupName - **/ - @ApiModelProperty(example = "null", value = "The name of the group.") + **/ + @ApiModelProperty(value = "The name of the group.") public String getGroupName() { return groupName; } + /** + * setGroupName. + **/ public void setGroupName(String groupName) { this.groupName = groupName; } + + /** + * groupType. + * + * @return SigningGroup + **/ public SigningGroup groupType(String groupType) { this.groupType = groupType; return this; } - /** - * + /** + * . * @return groupType - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getGroupType() { return groupType; } + /** + * setGroupType. + **/ public void setGroupType(String groupType) { this.groupType = groupType; } + + /** + * modified. + * + * @return SigningGroup + **/ public SigningGroup modified(String modified) { this.modified = modified; return this; } - /** - * + /** + * . * @return modified - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getModified() { return modified; } + /** + * setModified. + **/ public void setModified(String modified) { this.modified = modified; } + + /** + * modifiedBy. + * + * @return SigningGroup + **/ public SigningGroup modifiedBy(String modifiedBy) { this.modifiedBy = modifiedBy; return this; } - /** - * + /** + * . * @return modifiedBy - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getModifiedBy() { return modifiedBy; } + /** + * setModifiedBy. + **/ public void setModifiedBy(String modifiedBy) { this.modifiedBy = modifiedBy; } + + /** + * signingGroupId. + * + * @return SigningGroup + **/ public SigningGroup signingGroupId(String signingGroupId) { this.signingGroupId = signingGroupId; return this; } - /** - * When set to **true** and the feature is enabled in the sender's account, the signing recipient is required to draw signatures and initials at each signature/initial tab ( instead of adopting a signature/initial style or only drawing a signature/initial once). + /** + * When set to **true** and the feature is enabled in the sender's account, the signing recipient is required to draw signatures and initials at each signature/initial tab ( instead of adopting a signature/initial style or only drawing a signature/initial once).. * @return signingGroupId - **/ - @ApiModelProperty(example = "null", value = "When set to **true** and the feature is enabled in the sender's account, the signing recipient is required to draw signatures and initials at each signature/initial tab ( instead of adopting a signature/initial style or only drawing a signature/initial once).") + **/ + @ApiModelProperty(value = "When set to **true** and the feature is enabled in the sender's account, the signing recipient is required to draw signatures and initials at each signature/initial tab ( instead of adopting a signature/initial style or only drawing a signature/initial once).") public String getSigningGroupId() { return signingGroupId; } + /** + * setSigningGroupId. + **/ public void setSigningGroupId(String signingGroupId) { this.signingGroupId = signingGroupId; } + + /** + * users. + * + * @return SigningGroup + **/ public SigningGroup users(java.util.List users) { this.users = users; return this; } - + + /** + * addUsersItem. + * + * @return SigningGroup + **/ public SigningGroup addUsersItem(SigningGroupUser usersItem) { + if (this.users == null) { + this.users = new java.util.ArrayList(); + } this.users.add(usersItem); return this; } - /** - * + /** + * . * @return users - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getUsers() { return users; } + /** + * setUsers. + **/ public void setUsers(java.util.List users) { this.users = users; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -250,12 +356,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.users, signingGroup.users); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(created, createdBy, errorDetails, groupEmail, groupName, groupType, modified, modifiedBy, signingGroupId, users); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -285,6 +397,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/SigningGroupInformation.java b/src/main/java/com/docusign/esign/model/SigningGroupInformation.java index 502d56a8..f3bc3432 100644 --- a/src/main/java/com/docusign/esign/model/SigningGroupInformation.java +++ b/src/main/java/com/docusign/esign/model/SigningGroupInformation.java @@ -1,44 +1,69 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.SigningGroup; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * SigningGroupInformation + * SigningGroupInformation. + * */ public class SigningGroupInformation { @JsonProperty("groups") - private java.util.List groups = new java.util.ArrayList(); + private java.util.List groups = null; + + /** + * groups. + * + * @return SigningGroupInformation + **/ public SigningGroupInformation groups(java.util.List groups) { this.groups = groups; return this; } - + + /** + * addGroupsItem. + * + * @return SigningGroupInformation + **/ public SigningGroupInformation addGroupsItem(SigningGroup groupsItem) { + if (this.groups == null) { + this.groups = new java.util.ArrayList(); + } this.groups.add(groupsItem); return this; } - /** - * A collection group objects containing information about the groups returned. + /** + * A collection group objects containing information about the groups returned.. * @return groups - **/ - @ApiModelProperty(example = "null", value = "A collection group objects containing information about the groups returned.") + **/ + @ApiModelProperty(value = "A collection group objects containing information about the groups returned.") public java.util.List getGroups() { return groups; } + /** + * setGroups. + **/ public void setGroups(java.util.List groups) { this.groups = groups; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -51,12 +76,18 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.groups, signingGroupInformation.groups); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(groups); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -77,6 +108,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/SigningGroupUser.java b/src/main/java/com/docusign/esign/model/SigningGroupUser.java index fbb80061..f4b30d44 100644 --- a/src/main/java/com/docusign/esign/model/SigningGroupUser.java +++ b/src/main/java/com/docusign/esign/model/SigningGroupUser.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ErrorDetails; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * SigningGroupUser + * SigningGroupUser. + * */ public class SigningGroupUser { @@ -21,61 +24,93 @@ public class SigningGroupUser { @JsonProperty("userName") private String userName = null; + + /** + * email. + * + * @return SigningGroupUser + **/ public SigningGroupUser email(String email) { this.email = email; return this; } - /** - * + /** + * . * @return email - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getEmail() { return email; } + /** + * setEmail. + **/ public void setEmail(String email) { this.email = email; } + + /** + * errorDetails. + * + * @return SigningGroupUser + **/ public SigningGroupUser errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * userName. + * + * @return SigningGroupUser + **/ public SigningGroupUser userName(String userName) { this.userName = userName; return this; } - /** - * The name of the group member. Maximum Length: 100 characters. + /** + * The name of the group member. Maximum Length: 100 characters. . * @return userName - **/ - @ApiModelProperty(example = "null", value = "The name of the group member. Maximum Length: 100 characters. ") + **/ + @ApiModelProperty(value = "The name of the group member. Maximum Length: 100 characters. ") public String getUserName() { return userName; } + /** + * setUserName. + **/ public void setUserName(String userName) { this.userName = userName; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -90,12 +125,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.userName, signingGroupUser.userName); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(email, errorDetails, userName); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -118,6 +159,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/SigningGroupUsers.java b/src/main/java/com/docusign/esign/model/SigningGroupUsers.java index da7c3c5a..6aa2c0ab 100644 --- a/src/main/java/com/docusign/esign/model/SigningGroupUsers.java +++ b/src/main/java/com/docusign/esign/model/SigningGroupUsers.java @@ -1,44 +1,69 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.SigningGroupUser; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * SigningGroupUsers + * SigningGroupUsers. + * */ public class SigningGroupUsers { @JsonProperty("users") - private java.util.List users = new java.util.ArrayList(); + private java.util.List users = null; + + /** + * users. + * + * @return SigningGroupUsers + **/ public SigningGroupUsers users(java.util.List users) { this.users = users; return this; } - + + /** + * addUsersItem. + * + * @return SigningGroupUsers + **/ public SigningGroupUsers addUsersItem(SigningGroupUser usersItem) { + if (this.users == null) { + this.users = new java.util.ArrayList(); + } this.users.add(usersItem); return this; } - /** - * + /** + * . * @return users - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getUsers() { return users; } + /** + * setUsers. + **/ public void setUsers(java.util.List users) { this.users = users; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -51,12 +76,18 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.users, signingGroupUsers.users); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(users); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -77,6 +108,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/SmartSection.java b/src/main/java/com/docusign/esign/model/SmartSection.java index 8d713a01..2902f720 100644 --- a/src/main/java/com/docusign/esign/model/SmartSection.java +++ b/src/main/java/com/docusign/esign/model/SmartSection.java @@ -1,17 +1,20 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ErrorDetails; import com.docusign.esign.model.MergeField; import com.docusign.esign.model.SmartSectionAnchorPosition; import com.docusign.esign.model.SmartSectionDisplaySettings; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * SmartSection + * SmartSection. + * */ public class SmartSection { @@ -91,7 +94,7 @@ public class SmartSection { private String status = null; @JsonProperty("tabGroupLabels") - private java.util.List tabGroupLabels = new java.util.ArrayList(); + private java.util.List tabGroupLabels = null; @JsonProperty("tabId") private String tabId = null; @@ -114,606 +117,916 @@ public class SmartSection { @JsonProperty("yPosition") private String yPosition = null; + + /** + * anchorCaseSensitive. + * + * @return SmartSection + **/ public SmartSection anchorCaseSensitive(String anchorCaseSensitive) { this.anchorCaseSensitive = anchorCaseSensitive; return this; } - /** - * When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**. + /** + * When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.. * @return anchorCaseSensitive - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.") + **/ + @ApiModelProperty(value = "When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.") public String getAnchorCaseSensitive() { return anchorCaseSensitive; } + /** + * setAnchorCaseSensitive. + **/ public void setAnchorCaseSensitive(String anchorCaseSensitive) { this.anchorCaseSensitive = anchorCaseSensitive; } + + /** + * anchorHorizontalAlignment. + * + * @return SmartSection + **/ public SmartSection anchorHorizontalAlignment(String anchorHorizontalAlignment) { this.anchorHorizontalAlignment = anchorHorizontalAlignment; return this; } - /** - * Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**. + /** + * Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.. * @return anchorHorizontalAlignment - **/ - @ApiModelProperty(example = "null", value = "Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.") + **/ + @ApiModelProperty(value = "Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.") public String getAnchorHorizontalAlignment() { return anchorHorizontalAlignment; } + /** + * setAnchorHorizontalAlignment. + **/ public void setAnchorHorizontalAlignment(String anchorHorizontalAlignment) { this.anchorHorizontalAlignment = anchorHorizontalAlignment; } + + /** + * anchorIgnoreIfNotPresent. + * + * @return SmartSection + **/ public SmartSection anchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { this.anchorIgnoreIfNotPresent = anchorIgnoreIfNotPresent; return this; } - /** - * When set to **true**, this tab is ignored if anchorString is not found in the document. + /** + * When set to **true**, this tab is ignored if anchorString is not found in the document.. * @return anchorIgnoreIfNotPresent - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, this tab is ignored if anchorString is not found in the document.") + **/ + @ApiModelProperty(value = "When set to **true**, this tab is ignored if anchorString is not found in the document.") public String getAnchorIgnoreIfNotPresent() { return anchorIgnoreIfNotPresent; } + /** + * setAnchorIgnoreIfNotPresent. + **/ public void setAnchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { this.anchorIgnoreIfNotPresent = anchorIgnoreIfNotPresent; } + + /** + * anchorMatchWholeWord. + * + * @return SmartSection + **/ public SmartSection anchorMatchWholeWord(String anchorMatchWholeWord) { this.anchorMatchWholeWord = anchorMatchWholeWord; return this; } - /** - * When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**. + /** + * When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.. * @return anchorMatchWholeWord - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.") + **/ + @ApiModelProperty(value = "When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.") public String getAnchorMatchWholeWord() { return anchorMatchWholeWord; } + /** + * setAnchorMatchWholeWord. + **/ public void setAnchorMatchWholeWord(String anchorMatchWholeWord) { this.anchorMatchWholeWord = anchorMatchWholeWord; } + + /** + * anchorString. + * + * @return SmartSection + **/ public SmartSection anchorString(String anchorString) { this.anchorString = anchorString; return this; } - /** - * Anchor text information for a radio button. + /** + * Anchor text information for a radio button.. * @return anchorString - **/ - @ApiModelProperty(example = "null", value = "Anchor text information for a radio button.") + **/ + @ApiModelProperty(value = "Anchor text information for a radio button.") public String getAnchorString() { return anchorString; } + /** + * setAnchorString. + **/ public void setAnchorString(String anchorString) { this.anchorString = anchorString; } + + /** + * anchorUnits. + * + * @return SmartSection + **/ public SmartSection anchorUnits(String anchorUnits) { this.anchorUnits = anchorUnits; return this; } - /** - * Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. + /** + * Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. * @return anchorUnits - **/ - @ApiModelProperty(example = "null", value = "Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.") + **/ + @ApiModelProperty(value = "Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.") public String getAnchorUnits() { return anchorUnits; } + /** + * setAnchorUnits. + **/ public void setAnchorUnits(String anchorUnits) { this.anchorUnits = anchorUnits; } + + /** + * anchorXOffset. + * + * @return SmartSection + **/ public SmartSection anchorXOffset(String anchorXOffset) { this.anchorXOffset = anchorXOffset; return this; } - /** - * Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString. + /** + * Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. * @return anchorXOffset - **/ - @ApiModelProperty(example = "null", value = "Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.") + **/ + @ApiModelProperty(value = "Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.") public String getAnchorXOffset() { return anchorXOffset; } + /** + * setAnchorXOffset. + **/ public void setAnchorXOffset(String anchorXOffset) { this.anchorXOffset = anchorXOffset; } + + /** + * anchorYOffset. + * + * @return SmartSection + **/ public SmartSection anchorYOffset(String anchorYOffset) { this.anchorYOffset = anchorYOffset; return this; } - /** - * Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString. + /** + * Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.. * @return anchorYOffset - **/ - @ApiModelProperty(example = "null", value = "Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.") + **/ + @ApiModelProperty(value = "Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.") public String getAnchorYOffset() { return anchorYOffset; } + /** + * setAnchorYOffset. + **/ public void setAnchorYOffset(String anchorYOffset) { this.anchorYOffset = anchorYOffset; } + + /** + * caseSensitive. + * + * @return SmartSection + **/ public SmartSection caseSensitive(Boolean caseSensitive) { this.caseSensitive = caseSensitive; return this; } - /** - * + /** + * . * @return caseSensitive - **/ - @ApiModelProperty(example = "null", value = "") - public Boolean getCaseSensitive() { + **/ + @ApiModelProperty(value = "") + public Boolean isCaseSensitive() { return caseSensitive; } + /** + * setCaseSensitive. + **/ public void setCaseSensitive(Boolean caseSensitive) { this.caseSensitive = caseSensitive; } + + /** + * conditionalParentLabel. + * + * @return SmartSection + **/ public SmartSection conditionalParentLabel(String conditionalParentLabel) { this.conditionalParentLabel = conditionalParentLabel; return this; } - /** - * For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility. + /** + * For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.. * @return conditionalParentLabel - **/ - @ApiModelProperty(example = "null", value = "For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.") + **/ + @ApiModelProperty(value = "For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.") public String getConditionalParentLabel() { return conditionalParentLabel; } + /** + * setConditionalParentLabel. + **/ public void setConditionalParentLabel(String conditionalParentLabel) { this.conditionalParentLabel = conditionalParentLabel; } + + /** + * conditionalParentValue. + * + * @return SmartSection + **/ public SmartSection conditionalParentValue(String conditionalParentValue) { this.conditionalParentValue = conditionalParentValue; return this; } - /** - * For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. + /** + * For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. . * @return conditionalParentValue - **/ - @ApiModelProperty(example = "null", value = "For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. ") + **/ + @ApiModelProperty(value = "For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. ") public String getConditionalParentValue() { return conditionalParentValue; } + /** + * setConditionalParentValue. + **/ public void setConditionalParentValue(String conditionalParentValue) { this.conditionalParentValue = conditionalParentValue; } + + /** + * customTabId. + * + * @return SmartSection + **/ public SmartSection customTabId(String customTabId) { this.customTabId = customTabId; return this; } - /** - * The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties. + /** + * The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.. * @return customTabId - **/ - @ApiModelProperty(example = "null", value = "The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.") + **/ + @ApiModelProperty(value = "The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.") public String getCustomTabId() { return customTabId; } + /** + * setCustomTabId. + **/ public void setCustomTabId(String customTabId) { this.customTabId = customTabId; } + + /** + * displaySettings. + * + * @return SmartSection + **/ public SmartSection displaySettings(SmartSectionDisplaySettings displaySettings) { this.displaySettings = displaySettings; return this; } - /** - * Get displaySettings + /** + * Get displaySettings. * @return displaySettings - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SmartSectionDisplaySettings getDisplaySettings() { return displaySettings; } + /** + * setDisplaySettings. + **/ public void setDisplaySettings(SmartSectionDisplaySettings displaySettings) { this.displaySettings = displaySettings; } + + /** + * documentId. + * + * @return SmartSection + **/ public SmartSection documentId(String documentId) { this.documentId = documentId; return this; } - /** - * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute. + /** + * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.. * @return documentId - **/ - @ApiModelProperty(example = "null", value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") + **/ + @ApiModelProperty(value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") public String getDocumentId() { return documentId; } + /** + * setDocumentId. + **/ public void setDocumentId(String documentId) { this.documentId = documentId; } + + /** + * endAnchor. + * + * @return SmartSection + **/ public SmartSection endAnchor(String endAnchor) { this.endAnchor = endAnchor; return this; } - /** - * + /** + * . * @return endAnchor - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getEndAnchor() { return endAnchor; } + /** + * setEndAnchor. + **/ public void setEndAnchor(String endAnchor) { this.endAnchor = endAnchor; } + + /** + * endPosition. + * + * @return SmartSection + **/ public SmartSection endPosition(SmartSectionAnchorPosition endPosition) { this.endPosition = endPosition; return this; } - /** - * Get endPosition + /** + * Get endPosition. * @return endPosition - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SmartSectionAnchorPosition getEndPosition() { return endPosition; } + /** + * setEndPosition. + **/ public void setEndPosition(SmartSectionAnchorPosition endPosition) { this.endPosition = endPosition; } + + /** + * errorDetails. + * + * @return SmartSection + **/ public SmartSection errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * mergeField. + * + * @return SmartSection + **/ public SmartSection mergeField(MergeField mergeField) { this.mergeField = mergeField; return this; } - /** - * Get mergeField + /** + * Get mergeField. * @return mergeField - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public MergeField getMergeField() { return mergeField; } + /** + * setMergeField. + **/ public void setMergeField(MergeField mergeField) { this.mergeField = mergeField; } + + /** + * pageNumber. + * + * @return SmartSection + **/ public SmartSection pageNumber(String pageNumber) { this.pageNumber = pageNumber; return this; } - /** - * Specifies the page number on which the tab is located. + /** + * Specifies the page number on which the tab is located.. * @return pageNumber - **/ - @ApiModelProperty(example = "null", value = "Specifies the page number on which the tab is located.") + **/ + @ApiModelProperty(value = "Specifies the page number on which the tab is located.") public String getPageNumber() { return pageNumber; } + /** + * setPageNumber. + **/ public void setPageNumber(String pageNumber) { this.pageNumber = pageNumber; } + + /** + * recipientId. + * + * @return SmartSection + **/ public SmartSection recipientId(String recipientId) { this.recipientId = recipientId; return this; } - /** - * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document. + /** + * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.. * @return recipientId - **/ - @ApiModelProperty(example = "null", value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") + **/ + @ApiModelProperty(value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") public String getRecipientId() { return recipientId; } + /** + * setRecipientId. + **/ public void setRecipientId(String recipientId) { this.recipientId = recipientId; } + + /** + * removeEndAnchor. + * + * @return SmartSection + **/ public SmartSection removeEndAnchor(Boolean removeEndAnchor) { this.removeEndAnchor = removeEndAnchor; return this; } - /** - * + /** + * . * @return removeEndAnchor - **/ - @ApiModelProperty(example = "null", value = "") - public Boolean getRemoveEndAnchor() { + **/ + @ApiModelProperty(value = "") + public Boolean isRemoveEndAnchor() { return removeEndAnchor; } + /** + * setRemoveEndAnchor. + **/ public void setRemoveEndAnchor(Boolean removeEndAnchor) { this.removeEndAnchor = removeEndAnchor; } + + /** + * removeStartAnchor. + * + * @return SmartSection + **/ public SmartSection removeStartAnchor(Boolean removeStartAnchor) { this.removeStartAnchor = removeStartAnchor; return this; } - /** - * + /** + * . * @return removeStartAnchor - **/ - @ApiModelProperty(example = "null", value = "") - public Boolean getRemoveStartAnchor() { + **/ + @ApiModelProperty(value = "") + public Boolean isRemoveStartAnchor() { return removeStartAnchor; } + /** + * setRemoveStartAnchor. + **/ public void setRemoveStartAnchor(Boolean removeStartAnchor) { this.removeStartAnchor = removeStartAnchor; } + + /** + * startAnchor. + * + * @return SmartSection + **/ public SmartSection startAnchor(String startAnchor) { this.startAnchor = startAnchor; return this; } - /** - * + /** + * . * @return startAnchor - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getStartAnchor() { return startAnchor; } + /** + * setStartAnchor. + **/ public void setStartAnchor(String startAnchor) { this.startAnchor = startAnchor; } + + /** + * startPosition. + * + * @return SmartSection + **/ public SmartSection startPosition(SmartSectionAnchorPosition startPosition) { this.startPosition = startPosition; return this; } - /** - * Get startPosition + /** + * Get startPosition. * @return startPosition - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SmartSectionAnchorPosition getStartPosition() { return startPosition; } + /** + * setStartPosition. + **/ public void setStartPosition(SmartSectionAnchorPosition startPosition) { this.startPosition = startPosition; } + + /** + * status. + * + * @return SmartSection + **/ public SmartSection status(String status) { this.status = status; return this; } - /** - * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. + /** + * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.. * @return status - **/ - @ApiModelProperty(example = "null", value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") + **/ + @ApiModelProperty(value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") public String getStatus() { return status; } + /** + * setStatus. + **/ public void setStatus(String status) { this.status = status; } + + /** + * tabGroupLabels. + * + * @return SmartSection + **/ public SmartSection tabGroupLabels(java.util.List tabGroupLabels) { this.tabGroupLabels = tabGroupLabels; return this; } - + + /** + * addTabGroupLabelsItem. + * + * @return SmartSection + **/ public SmartSection addTabGroupLabelsItem(String tabGroupLabelsItem) { + if (this.tabGroupLabels == null) { + this.tabGroupLabels = new java.util.ArrayList(); + } this.tabGroupLabels.add(tabGroupLabelsItem); return this; } - /** - * + /** + * . * @return tabGroupLabels - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getTabGroupLabels() { return tabGroupLabels; } + /** + * setTabGroupLabels. + **/ public void setTabGroupLabels(java.util.List tabGroupLabels) { this.tabGroupLabels = tabGroupLabels; } + + /** + * tabId. + * + * @return SmartSection + **/ public SmartSection tabId(String tabId) { this.tabId = tabId; return this; } - /** - * The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. + /** + * The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. . * @return tabId - **/ - @ApiModelProperty(example = "null", value = "The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. ") + **/ + @ApiModelProperty(value = "The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. ") public String getTabId() { return tabId; } + /** + * setTabId. + **/ public void setTabId(String tabId) { this.tabId = tabId; } + + /** + * tabOrder. + * + * @return SmartSection + **/ public SmartSection tabOrder(String tabOrder) { this.tabOrder = tabOrder; return this; } - /** - * + /** + * . * @return tabOrder - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTabOrder() { return tabOrder; } + /** + * setTabOrder. + **/ public void setTabOrder(String tabOrder) { this.tabOrder = tabOrder; } + + /** + * templateLocked. + * + * @return SmartSection + **/ public SmartSection templateLocked(String templateLocked) { this.templateLocked = templateLocked; return this; } - /** - * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. . * @return templateLocked - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") + **/ + @ApiModelProperty(value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") public String getTemplateLocked() { return templateLocked; } + /** + * setTemplateLocked. + **/ public void setTemplateLocked(String templateLocked) { this.templateLocked = templateLocked; } + + /** + * templateRequired. + * + * @return SmartSection + **/ public SmartSection templateRequired(String templateRequired) { this.templateRequired = templateRequired; return this; } - /** - * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.. * @return templateRequired - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") + **/ + @ApiModelProperty(value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") public String getTemplateRequired() { return templateRequired; } + /** + * setTemplateRequired. + **/ public void setTemplateRequired(String templateRequired) { this.templateRequired = templateRequired; } + + /** + * tooltip. + * + * @return SmartSection + **/ public SmartSection tooltip(String tooltip) { this.tooltip = tooltip; return this; } - /** - * + /** + * . * @return tooltip - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTooltip() { return tooltip; } + /** + * setTooltip. + **/ public void setTooltip(String tooltip) { this.tooltip = tooltip; } + + /** + * xPosition. + * + * @return SmartSection + **/ public SmartSection xPosition(String xPosition) { this.xPosition = xPosition; return this; } - /** - * This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position. + /** + * This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.. * @return xPosition - **/ - @ApiModelProperty(example = "null", value = "This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.") + **/ + @ApiModelProperty(value = "This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.") public String getXPosition() { return xPosition; } + /** + * setXPosition. + **/ public void setXPosition(String xPosition) { this.xPosition = xPosition; } + + /** + * yPosition. + * + * @return SmartSection + **/ public SmartSection yPosition(String yPosition) { this.yPosition = yPosition; return this; } - /** - * This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position. + /** + * This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. * @return yPosition - **/ - @ApiModelProperty(example = "null", value = "This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.") + **/ + @ApiModelProperty(value = "This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.") public String getYPosition() { return yPosition; } + /** + * setYPosition. + **/ public void setYPosition(String yPosition) { this.yPosition = yPosition; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -758,12 +1071,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.yPosition, smartSection.yPosition); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(anchorCaseSensitive, anchorHorizontalAlignment, anchorIgnoreIfNotPresent, anchorMatchWholeWord, anchorString, anchorUnits, anchorXOffset, anchorYOffset, caseSensitive, conditionalParentLabel, conditionalParentValue, customTabId, displaySettings, documentId, endAnchor, endPosition, errorDetails, mergeField, pageNumber, recipientId, removeEndAnchor, removeStartAnchor, startAnchor, startPosition, status, tabGroupLabels, tabId, tabOrder, templateLocked, templateRequired, tooltip, xPosition, yPosition); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -816,6 +1135,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/SmartSectionAnchorPosition.java b/src/main/java/com/docusign/esign/model/SmartSectionAnchorPosition.java index 44a2ecac..8c0ace56 100644 --- a/src/main/java/com/docusign/esign/model/SmartSectionAnchorPosition.java +++ b/src/main/java/com/docusign/esign/model/SmartSectionAnchorPosition.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * SmartSectionAnchorPosition + * SmartSectionAnchorPosition. + * */ public class SmartSectionAnchorPosition { @@ -20,61 +23,93 @@ public class SmartSectionAnchorPosition { @JsonProperty("yPosition") private Double yPosition = null; + + /** + * pageNumber. + * + * @return SmartSectionAnchorPosition + **/ public SmartSectionAnchorPosition pageNumber(Integer pageNumber) { this.pageNumber = pageNumber; return this; } - /** - * Specifies the page number on which the tab is located. + /** + * Specifies the page number on which the tab is located.. * @return pageNumber - **/ - @ApiModelProperty(example = "null", value = "Specifies the page number on which the tab is located.") + **/ + @ApiModelProperty(value = "Specifies the page number on which the tab is located.") public Integer getPageNumber() { return pageNumber; } + /** + * setPageNumber. + **/ public void setPageNumber(Integer pageNumber) { this.pageNumber = pageNumber; } + + /** + * xPosition. + * + * @return SmartSectionAnchorPosition + **/ public SmartSectionAnchorPosition xPosition(Double xPosition) { this.xPosition = xPosition; return this; } - /** - * This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position. + /** + * This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.. * @return xPosition - **/ - @ApiModelProperty(example = "null", value = "This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.") + **/ + @ApiModelProperty(value = "This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.") public Double getXPosition() { return xPosition; } + /** + * setXPosition. + **/ public void setXPosition(Double xPosition) { this.xPosition = xPosition; } + + /** + * yPosition. + * + * @return SmartSectionAnchorPosition + **/ public SmartSectionAnchorPosition yPosition(Double yPosition) { this.yPosition = yPosition; return this; } - /** - * This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position. + /** + * This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. * @return yPosition - **/ - @ApiModelProperty(example = "null", value = "This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.") + **/ + @ApiModelProperty(value = "This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.") public Double getYPosition() { return yPosition; } + /** + * setYPosition. + **/ public void setYPosition(Double yPosition) { this.yPosition = yPosition; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -89,12 +124,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.yPosition, smartSectionAnchorPosition.yPosition); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(pageNumber, xPosition, yPosition); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -117,6 +158,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/SmartSectionCollapsibleDisplaySettings.java b/src/main/java/com/docusign/esign/model/SmartSectionCollapsibleDisplaySettings.java index c9f76d45..69230941 100644 --- a/src/main/java/com/docusign/esign/model/SmartSectionCollapsibleDisplaySettings.java +++ b/src/main/java/com/docusign/esign/model/SmartSectionCollapsibleDisplaySettings.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * SmartSectionCollapsibleDisplaySettings + * SmartSectionCollapsibleDisplaySettings. + * */ public class SmartSectionCollapsibleDisplaySettings { @@ -41,187 +44,282 @@ public class SmartSectionCollapsibleDisplaySettings { @JsonProperty("outerLabelAndArrowStyle") private String outerLabelAndArrowStyle = null; + + /** + * arrowClosed. + * + * @return SmartSectionCollapsibleDisplaySettings + **/ public SmartSectionCollapsibleDisplaySettings arrowClosed(String arrowClosed) { this.arrowClosed = arrowClosed; return this; } - /** - * + /** + * . * @return arrowClosed - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getArrowClosed() { return arrowClosed; } + /** + * setArrowClosed. + **/ public void setArrowClosed(String arrowClosed) { this.arrowClosed = arrowClosed; } + + /** + * arrowColor. + * + * @return SmartSectionCollapsibleDisplaySettings + **/ public SmartSectionCollapsibleDisplaySettings arrowColor(String arrowColor) { this.arrowColor = arrowColor; return this; } - /** - * + /** + * . * @return arrowColor - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getArrowColor() { return arrowColor; } + /** + * setArrowColor. + **/ public void setArrowColor(String arrowColor) { this.arrowColor = arrowColor; } + + /** + * arrowLocation. + * + * @return SmartSectionCollapsibleDisplaySettings + **/ public SmartSectionCollapsibleDisplaySettings arrowLocation(String arrowLocation) { this.arrowLocation = arrowLocation; return this; } - /** - * + /** + * . * @return arrowLocation - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getArrowLocation() { return arrowLocation; } + /** + * setArrowLocation. + **/ public void setArrowLocation(String arrowLocation) { this.arrowLocation = arrowLocation; } + + /** + * arrowOpen. + * + * @return SmartSectionCollapsibleDisplaySettings + **/ public SmartSectionCollapsibleDisplaySettings arrowOpen(String arrowOpen) { this.arrowOpen = arrowOpen; return this; } - /** - * + /** + * . * @return arrowOpen - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getArrowOpen() { return arrowOpen; } + /** + * setArrowOpen. + **/ public void setArrowOpen(String arrowOpen) { this.arrowOpen = arrowOpen; } + + /** + * arrowSize. + * + * @return SmartSectionCollapsibleDisplaySettings + **/ public SmartSectionCollapsibleDisplaySettings arrowSize(String arrowSize) { this.arrowSize = arrowSize; return this; } - /** - * + /** + * . * @return arrowSize - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getArrowSize() { return arrowSize; } + /** + * setArrowSize. + **/ public void setArrowSize(String arrowSize) { this.arrowSize = arrowSize; } + + /** + * arrowStyle. + * + * @return SmartSectionCollapsibleDisplaySettings + **/ public SmartSectionCollapsibleDisplaySettings arrowStyle(String arrowStyle) { this.arrowStyle = arrowStyle; return this; } - /** - * + /** + * . * @return arrowStyle - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getArrowStyle() { return arrowStyle; } + /** + * setArrowStyle. + **/ public void setArrowStyle(String arrowStyle) { this.arrowStyle = arrowStyle; } + + /** + * containerStyle. + * + * @return SmartSectionCollapsibleDisplaySettings + **/ public SmartSectionCollapsibleDisplaySettings containerStyle(String containerStyle) { this.containerStyle = containerStyle; return this; } - /** - * + /** + * . * @return containerStyle - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getContainerStyle() { return containerStyle; } + /** + * setContainerStyle. + **/ public void setContainerStyle(String containerStyle) { this.containerStyle = containerStyle; } + + /** + * labelStyle. + * + * @return SmartSectionCollapsibleDisplaySettings + **/ public SmartSectionCollapsibleDisplaySettings labelStyle(String labelStyle) { this.labelStyle = labelStyle; return this; } - /** - * + /** + * . * @return labelStyle - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getLabelStyle() { return labelStyle; } + /** + * setLabelStyle. + **/ public void setLabelStyle(String labelStyle) { this.labelStyle = labelStyle; } + + /** + * onlyArrowIsClickable. + * + * @return SmartSectionCollapsibleDisplaySettings + **/ public SmartSectionCollapsibleDisplaySettings onlyArrowIsClickable(Boolean onlyArrowIsClickable) { this.onlyArrowIsClickable = onlyArrowIsClickable; return this; } - /** - * + /** + * . * @return onlyArrowIsClickable - **/ - @ApiModelProperty(example = "null", value = "") - public Boolean getOnlyArrowIsClickable() { + **/ + @ApiModelProperty(value = "") + public Boolean isOnlyArrowIsClickable() { return onlyArrowIsClickable; } + /** + * setOnlyArrowIsClickable. + **/ public void setOnlyArrowIsClickable(Boolean onlyArrowIsClickable) { this.onlyArrowIsClickable = onlyArrowIsClickable; } + + /** + * outerLabelAndArrowStyle. + * + * @return SmartSectionCollapsibleDisplaySettings + **/ public SmartSectionCollapsibleDisplaySettings outerLabelAndArrowStyle(String outerLabelAndArrowStyle) { this.outerLabelAndArrowStyle = outerLabelAndArrowStyle; return this; } - /** - * + /** + * . * @return outerLabelAndArrowStyle - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getOuterLabelAndArrowStyle() { return outerLabelAndArrowStyle; } + /** + * setOuterLabelAndArrowStyle. + **/ public void setOuterLabelAndArrowStyle(String outerLabelAndArrowStyle) { this.outerLabelAndArrowStyle = outerLabelAndArrowStyle; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -243,12 +341,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.outerLabelAndArrowStyle, smartSectionCollapsibleDisplaySettings.outerLabelAndArrowStyle); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(arrowClosed, arrowColor, arrowLocation, arrowOpen, arrowSize, arrowStyle, containerStyle, labelStyle, onlyArrowIsClickable, outerLabelAndArrowStyle); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -278,6 +382,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/SmartSectionDisplaySettings.java b/src/main/java/com/docusign/esign/model/SmartSectionDisplaySettings.java index c6d5018e..caa64e16 100644 --- a/src/main/java/com/docusign/esign/model/SmartSectionDisplaySettings.java +++ b/src/main/java/com/docusign/esign/model/SmartSectionDisplaySettings.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.SmartSectionCollapsibleDisplaySettings; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * SmartSectionDisplaySettings + * SmartSectionDisplaySettings. + * */ public class SmartSectionDisplaySettings { @@ -39,211 +42,345 @@ public class SmartSectionDisplaySettings { @JsonProperty("labelWhenOpened") private String labelWhenOpened = null; + @JsonProperty("preLabel") + private String preLabel = null; + @JsonProperty("scrollToTopWhenOpened") private Boolean scrollToTopWhenOpened = null; @JsonProperty("tableStyle") private String tableStyle = null; + + /** + * cellStyle. + * + * @return SmartSectionDisplaySettings + **/ public SmartSectionDisplaySettings cellStyle(String cellStyle) { this.cellStyle = cellStyle; return this; } - /** - * + /** + * . * @return cellStyle - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getCellStyle() { return cellStyle; } + /** + * setCellStyle. + **/ public void setCellStyle(String cellStyle) { this.cellStyle = cellStyle; } + + /** + * collapsibleSettings. + * + * @return SmartSectionDisplaySettings + **/ public SmartSectionDisplaySettings collapsibleSettings(SmartSectionCollapsibleDisplaySettings collapsibleSettings) { this.collapsibleSettings = collapsibleSettings; return this; } - /** - * Get collapsibleSettings + /** + * Get collapsibleSettings. * @return collapsibleSettings - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SmartSectionCollapsibleDisplaySettings getCollapsibleSettings() { return collapsibleSettings; } + /** + * setCollapsibleSettings. + **/ public void setCollapsibleSettings(SmartSectionCollapsibleDisplaySettings collapsibleSettings) { this.collapsibleSettings = collapsibleSettings; } + + /** + * display. + * + * @return SmartSectionDisplaySettings + **/ public SmartSectionDisplaySettings display(String display) { this.display = display; return this; } - /** - * + /** + * . * @return display - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getDisplay() { return display; } + /** + * setDisplay. + **/ public void setDisplay(String display) { this.display = display; } + + /** + * displayLabel. + * + * @return SmartSectionDisplaySettings + **/ public SmartSectionDisplaySettings displayLabel(String displayLabel) { this.displayLabel = displayLabel; return this; } - /** - * + /** + * . * @return displayLabel - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getDisplayLabel() { return displayLabel; } + /** + * setDisplayLabel. + **/ public void setDisplayLabel(String displayLabel) { this.displayLabel = displayLabel; } + + /** + * displayOrder. + * + * @return SmartSectionDisplaySettings + **/ public SmartSectionDisplaySettings displayOrder(Integer displayOrder) { this.displayOrder = displayOrder; return this; } - /** - * + /** + * . * @return displayOrder - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public Integer getDisplayOrder() { return displayOrder; } + /** + * setDisplayOrder. + **/ public void setDisplayOrder(Integer displayOrder) { this.displayOrder = displayOrder; } + + /** + * displayPageNumber. + * + * @return SmartSectionDisplaySettings + **/ public SmartSectionDisplaySettings displayPageNumber(Integer displayPageNumber) { this.displayPageNumber = displayPageNumber; return this; } - /** - * + /** + * . * @return displayPageNumber - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public Integer getDisplayPageNumber() { return displayPageNumber; } + /** + * setDisplayPageNumber. + **/ public void setDisplayPageNumber(Integer displayPageNumber) { this.displayPageNumber = displayPageNumber; } + + /** + * hideLabelWhenOpened. + * + * @return SmartSectionDisplaySettings + **/ public SmartSectionDisplaySettings hideLabelWhenOpened(Boolean hideLabelWhenOpened) { this.hideLabelWhenOpened = hideLabelWhenOpened; return this; } - /** - * + /** + * . * @return hideLabelWhenOpened - **/ - @ApiModelProperty(example = "null", value = "") - public Boolean getHideLabelWhenOpened() { + **/ + @ApiModelProperty(value = "") + public Boolean isHideLabelWhenOpened() { return hideLabelWhenOpened; } + /** + * setHideLabelWhenOpened. + **/ public void setHideLabelWhenOpened(Boolean hideLabelWhenOpened) { this.hideLabelWhenOpened = hideLabelWhenOpened; } + + /** + * inlineOuterStyle. + * + * @return SmartSectionDisplaySettings + **/ public SmartSectionDisplaySettings inlineOuterStyle(String inlineOuterStyle) { this.inlineOuterStyle = inlineOuterStyle; return this; } - /** - * + /** + * . * @return inlineOuterStyle - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getInlineOuterStyle() { return inlineOuterStyle; } + /** + * setInlineOuterStyle. + **/ public void setInlineOuterStyle(String inlineOuterStyle) { this.inlineOuterStyle = inlineOuterStyle; } + + /** + * labelWhenOpened. + * + * @return SmartSectionDisplaySettings + **/ public SmartSectionDisplaySettings labelWhenOpened(String labelWhenOpened) { this.labelWhenOpened = labelWhenOpened; return this; } - /** - * + /** + * . * @return labelWhenOpened - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getLabelWhenOpened() { return labelWhenOpened; } + /** + * setLabelWhenOpened. + **/ public void setLabelWhenOpened(String labelWhenOpened) { this.labelWhenOpened = labelWhenOpened; } + + /** + * preLabel. + * + * @return SmartSectionDisplaySettings + **/ + public SmartSectionDisplaySettings preLabel(String preLabel) { + this.preLabel = preLabel; + return this; + } + + /** + * . + * @return preLabel + **/ + @ApiModelProperty(value = "") + public String getPreLabel() { + return preLabel; + } + + /** + * setPreLabel. + **/ + public void setPreLabel(String preLabel) { + this.preLabel = preLabel; + } + + + /** + * scrollToTopWhenOpened. + * + * @return SmartSectionDisplaySettings + **/ public SmartSectionDisplaySettings scrollToTopWhenOpened(Boolean scrollToTopWhenOpened) { this.scrollToTopWhenOpened = scrollToTopWhenOpened; return this; } - /** - * + /** + * . * @return scrollToTopWhenOpened - **/ - @ApiModelProperty(example = "null", value = "") - public Boolean getScrollToTopWhenOpened() { + **/ + @ApiModelProperty(value = "") + public Boolean isScrollToTopWhenOpened() { return scrollToTopWhenOpened; } + /** + * setScrollToTopWhenOpened. + **/ public void setScrollToTopWhenOpened(Boolean scrollToTopWhenOpened) { this.scrollToTopWhenOpened = scrollToTopWhenOpened; } + + /** + * tableStyle. + * + * @return SmartSectionDisplaySettings + **/ public SmartSectionDisplaySettings tableStyle(String tableStyle) { this.tableStyle = tableStyle; return this; } - /** - * + /** + * . * @return tableStyle - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTableStyle() { return tableStyle; } + /** + * setTableStyle. + **/ public void setTableStyle(String tableStyle) { this.tableStyle = tableStyle; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -262,16 +399,23 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.hideLabelWhenOpened, smartSectionDisplaySettings.hideLabelWhenOpened) && Objects.equals(this.inlineOuterStyle, smartSectionDisplaySettings.inlineOuterStyle) && Objects.equals(this.labelWhenOpened, smartSectionDisplaySettings.labelWhenOpened) && + Objects.equals(this.preLabel, smartSectionDisplaySettings.preLabel) && Objects.equals(this.scrollToTopWhenOpened, smartSectionDisplaySettings.scrollToTopWhenOpened) && Objects.equals(this.tableStyle, smartSectionDisplaySettings.tableStyle); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { - return Objects.hash(cellStyle, collapsibleSettings, display, displayLabel, displayOrder, displayPageNumber, hideLabelWhenOpened, inlineOuterStyle, labelWhenOpened, scrollToTopWhenOpened, tableStyle); + return Objects.hash(cellStyle, collapsibleSettings, display, displayLabel, displayOrder, displayPageNumber, hideLabelWhenOpened, inlineOuterStyle, labelWhenOpened, preLabel, scrollToTopWhenOpened, tableStyle); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -286,6 +430,7 @@ public String toString() { sb.append(" hideLabelWhenOpened: ").append(toIndentedString(hideLabelWhenOpened)).append("\n"); sb.append(" inlineOuterStyle: ").append(toIndentedString(inlineOuterStyle)).append("\n"); sb.append(" labelWhenOpened: ").append(toIndentedString(labelWhenOpened)).append("\n"); + sb.append(" preLabel: ").append(toIndentedString(preLabel)).append("\n"); sb.append(" scrollToTopWhenOpened: ").append(toIndentedString(scrollToTopWhenOpened)).append("\n"); sb.append(" tableStyle: ").append(toIndentedString(tableStyle)).append("\n"); sb.append("}"); @@ -302,6 +447,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/SocialAccountInformation.java b/src/main/java/com/docusign/esign/model/SocialAccountInformation.java index dcbec8a1..931a7067 100644 --- a/src/main/java/com/docusign/esign/model/SocialAccountInformation.java +++ b/src/main/java/com/docusign/esign/model/SocialAccountInformation.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ErrorDetails; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * SocialAccountInformation + * SocialAccountInformation. + * */ public class SocialAccountInformation { @@ -27,97 +30,147 @@ public class SocialAccountInformation { @JsonProperty("userName") private String userName = null; + + /** + * email. + * + * @return SocialAccountInformation + **/ public SocialAccountInformation email(String email) { this.email = email; return this; } - /** - * The users email address. + /** + * The users email address.. * @return email - **/ - @ApiModelProperty(example = "null", value = "The users email address.") + **/ + @ApiModelProperty(value = "The users email address.") public String getEmail() { return email; } + /** + * setEmail. + **/ public void setEmail(String email) { this.email = email; } + + /** + * errorDetails. + * + * @return SocialAccountInformation + **/ public SocialAccountInformation errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * provider. + * + * @return SocialAccountInformation + **/ public SocialAccountInformation provider(String provider) { this.provider = provider; return this; } - /** - * The social account provider (Facebook, Yahoo, etc.) + /** + * The social account provider (Facebook, Yahoo, etc.). * @return provider - **/ - @ApiModelProperty(example = "null", value = "The social account provider (Facebook, Yahoo, etc.)") + **/ + @ApiModelProperty(value = "The social account provider (Facebook, Yahoo, etc.)") public String getProvider() { return provider; } + /** + * setProvider. + **/ public void setProvider(String provider) { this.provider = provider; } + + /** + * socialId. + * + * @return SocialAccountInformation + **/ public SocialAccountInformation socialId(String socialId) { this.socialId = socialId; return this; } - /** - * The ID provided by the Socal Account. + /** + * The ID provided by the Socal Account.. * @return socialId - **/ - @ApiModelProperty(example = "null", value = "The ID provided by the Socal Account.") + **/ + @ApiModelProperty(value = "The ID provided by the Socal Account.") public String getSocialId() { return socialId; } + /** + * setSocialId. + **/ public void setSocialId(String socialId) { this.socialId = socialId; } + + /** + * userName. + * + * @return SocialAccountInformation + **/ public SocialAccountInformation userName(String userName) { this.userName = userName; return this; } - /** - * The full user name for the account. + /** + * The full user name for the account.. * @return userName - **/ - @ApiModelProperty(example = "null", value = "The full user name for the account.") + **/ + @ApiModelProperty(value = "The full user name for the account.") public String getUserName() { return userName; } + /** + * setUserName. + **/ public void setUserName(String userName) { this.userName = userName; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -134,12 +187,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.userName, socialAccountInformation.userName); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(email, errorDetails, provider, socialId, userName); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -164,6 +223,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/SocialAuthentication.java b/src/main/java/com/docusign/esign/model/SocialAuthentication.java index c3c45241..84b8b528 100644 --- a/src/main/java/com/docusign/esign/model/SocialAuthentication.java +++ b/src/main/java/com/docusign/esign/model/SocialAuthentication.java @@ -1,38 +1,55 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * SocialAuthentication + * SocialAuthentication. + * */ public class SocialAuthentication { @JsonProperty("authentication") private String authentication = null; + + /** + * authentication. + * + * @return SocialAuthentication + **/ public SocialAuthentication authentication(String authentication) { this.authentication = authentication; return this; } - /** - * Reserved: TBD + /** + * Reserved: TBD. * @return authentication - **/ - @ApiModelProperty(example = "null", value = "Reserved: TBD") + **/ + @ApiModelProperty(value = "Reserved: TBD") public String getAuthentication() { return authentication; } + /** + * setAuthentication. + **/ public void setAuthentication(String authentication) { this.authentication = authentication; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -45,12 +62,18 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.authentication, socialAuthentication.authentication); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(authentication); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -71,6 +94,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/Ssn.java b/src/main/java/com/docusign/esign/model/Ssn.java index 58581860..a3c3dc87 100644 --- a/src/main/java/com/docusign/esign/model/Ssn.java +++ b/src/main/java/com/docusign/esign/model/Ssn.java @@ -1,15 +1,18 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ErrorDetails; import com.docusign.esign.model.MergeField; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Ssn + * Ssn. + * */ public class Ssn { @@ -113,7 +116,7 @@ public class Ssn { private String status = null; @JsonProperty("tabGroupLabels") - private java.util.List tabGroupLabels = new java.util.ArrayList(); + private java.util.List tabGroupLabels = null; @JsonProperty("tabId") private String tabId = null; @@ -154,858 +157,1294 @@ public class Ssn { @JsonProperty("yPosition") private String yPosition = null; + + /** + * anchorCaseSensitive. + * + * @return Ssn + **/ public Ssn anchorCaseSensitive(String anchorCaseSensitive) { this.anchorCaseSensitive = anchorCaseSensitive; return this; } - /** - * When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**. + /** + * When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.. * @return anchorCaseSensitive - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.") + **/ + @ApiModelProperty(value = "When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.") public String getAnchorCaseSensitive() { return anchorCaseSensitive; } + /** + * setAnchorCaseSensitive. + **/ public void setAnchorCaseSensitive(String anchorCaseSensitive) { this.anchorCaseSensitive = anchorCaseSensitive; } + + /** + * anchorHorizontalAlignment. + * + * @return Ssn + **/ public Ssn anchorHorizontalAlignment(String anchorHorizontalAlignment) { this.anchorHorizontalAlignment = anchorHorizontalAlignment; return this; } - /** - * Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**. + /** + * Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.. * @return anchorHorizontalAlignment - **/ - @ApiModelProperty(example = "null", value = "Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.") + **/ + @ApiModelProperty(value = "Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.") public String getAnchorHorizontalAlignment() { return anchorHorizontalAlignment; } + /** + * setAnchorHorizontalAlignment. + **/ public void setAnchorHorizontalAlignment(String anchorHorizontalAlignment) { this.anchorHorizontalAlignment = anchorHorizontalAlignment; } + + /** + * anchorIgnoreIfNotPresent. + * + * @return Ssn + **/ public Ssn anchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { this.anchorIgnoreIfNotPresent = anchorIgnoreIfNotPresent; return this; } - /** - * When set to **true**, this tab is ignored if anchorString is not found in the document. + /** + * When set to **true**, this tab is ignored if anchorString is not found in the document.. * @return anchorIgnoreIfNotPresent - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, this tab is ignored if anchorString is not found in the document.") + **/ + @ApiModelProperty(value = "When set to **true**, this tab is ignored if anchorString is not found in the document.") public String getAnchorIgnoreIfNotPresent() { return anchorIgnoreIfNotPresent; } + /** + * setAnchorIgnoreIfNotPresent. + **/ public void setAnchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { this.anchorIgnoreIfNotPresent = anchorIgnoreIfNotPresent; } + + /** + * anchorMatchWholeWord. + * + * @return Ssn + **/ public Ssn anchorMatchWholeWord(String anchorMatchWholeWord) { this.anchorMatchWholeWord = anchorMatchWholeWord; return this; } - /** - * When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**. + /** + * When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.. * @return anchorMatchWholeWord - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.") + **/ + @ApiModelProperty(value = "When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.") public String getAnchorMatchWholeWord() { return anchorMatchWholeWord; } + /** + * setAnchorMatchWholeWord. + **/ public void setAnchorMatchWholeWord(String anchorMatchWholeWord) { this.anchorMatchWholeWord = anchorMatchWholeWord; } + + /** + * anchorString. + * + * @return Ssn + **/ public Ssn anchorString(String anchorString) { this.anchorString = anchorString; return this; } - /** - * Anchor text information for a radio button. + /** + * Anchor text information for a radio button.. * @return anchorString - **/ - @ApiModelProperty(example = "null", value = "Anchor text information for a radio button.") + **/ + @ApiModelProperty(value = "Anchor text information for a radio button.") public String getAnchorString() { return anchorString; } + /** + * setAnchorString. + **/ public void setAnchorString(String anchorString) { this.anchorString = anchorString; } + + /** + * anchorUnits. + * + * @return Ssn + **/ public Ssn anchorUnits(String anchorUnits) { this.anchorUnits = anchorUnits; return this; } - /** - * Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. + /** + * Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. * @return anchorUnits - **/ - @ApiModelProperty(example = "null", value = "Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.") + **/ + @ApiModelProperty(value = "Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.") public String getAnchorUnits() { return anchorUnits; } + /** + * setAnchorUnits. + **/ public void setAnchorUnits(String anchorUnits) { this.anchorUnits = anchorUnits; } + + /** + * anchorXOffset. + * + * @return Ssn + **/ public Ssn anchorXOffset(String anchorXOffset) { this.anchorXOffset = anchorXOffset; return this; } - /** - * Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString. + /** + * Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. * @return anchorXOffset - **/ - @ApiModelProperty(example = "null", value = "Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.") + **/ + @ApiModelProperty(value = "Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.") public String getAnchorXOffset() { return anchorXOffset; } + /** + * setAnchorXOffset. + **/ public void setAnchorXOffset(String anchorXOffset) { this.anchorXOffset = anchorXOffset; } + + /** + * anchorYOffset. + * + * @return Ssn + **/ public Ssn anchorYOffset(String anchorYOffset) { this.anchorYOffset = anchorYOffset; return this; } - /** - * Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString. + /** + * Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.. * @return anchorYOffset - **/ - @ApiModelProperty(example = "null", value = "Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.") + **/ + @ApiModelProperty(value = "Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.") public String getAnchorYOffset() { return anchorYOffset; } + /** + * setAnchorYOffset. + **/ public void setAnchorYOffset(String anchorYOffset) { this.anchorYOffset = anchorYOffset; } + + /** + * bold. + * + * @return Ssn + **/ public Ssn bold(String bold) { this.bold = bold; return this; } - /** - * When set to **true**, the information in the tab is bold. + /** + * When set to **true**, the information in the tab is bold.. * @return bold - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is bold.") + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is bold.") public String getBold() { return bold; } + /** + * setBold. + **/ public void setBold(String bold) { this.bold = bold; } + + /** + * concealValueOnDocument. + * + * @return Ssn + **/ public Ssn concealValueOnDocument(String concealValueOnDocument) { this.concealValueOnDocument = concealValueOnDocument; return this; } - /** - * When set to **true**, the field appears normally while the recipient is adding or modifying the information in the field, but the data is not visible (the characters are hidden by asterisks) to any other signer or the sender. When an envelope is completed the information is available to the sender through the Form Data link in the DocuSign Console. This setting applies only to text boxes and does not affect list boxes, radio buttons, or check boxes. + /** + * When set to **true**, the field appears normally while the recipient is adding or modifying the information in the field, but the data is not visible (the characters are hidden by asterisks) to any other signer or the sender. When an envelope is completed the information is available to the sender through the Form Data link in the DocuSign Console. This setting applies only to text boxes and does not affect list boxes, radio buttons, or check boxes.. * @return concealValueOnDocument - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the field appears normally while the recipient is adding or modifying the information in the field, but the data is not visible (the characters are hidden by asterisks) to any other signer or the sender. When an envelope is completed the information is available to the sender through the Form Data link in the DocuSign Console. This setting applies only to text boxes and does not affect list boxes, radio buttons, or check boxes.") + **/ + @ApiModelProperty(value = "When set to **true**, the field appears normally while the recipient is adding or modifying the information in the field, but the data is not visible (the characters are hidden by asterisks) to any other signer or the sender. When an envelope is completed the information is available to the sender through the Form Data link in the DocuSign Console. This setting applies only to text boxes and does not affect list boxes, radio buttons, or check boxes.") public String getConcealValueOnDocument() { return concealValueOnDocument; } + /** + * setConcealValueOnDocument. + **/ public void setConcealValueOnDocument(String concealValueOnDocument) { this.concealValueOnDocument = concealValueOnDocument; } + + /** + * conditionalParentLabel. + * + * @return Ssn + **/ public Ssn conditionalParentLabel(String conditionalParentLabel) { this.conditionalParentLabel = conditionalParentLabel; return this; } - /** - * For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility. + /** + * For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.. * @return conditionalParentLabel - **/ - @ApiModelProperty(example = "null", value = "For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.") + **/ + @ApiModelProperty(value = "For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.") public String getConditionalParentLabel() { return conditionalParentLabel; } + /** + * setConditionalParentLabel. + **/ public void setConditionalParentLabel(String conditionalParentLabel) { this.conditionalParentLabel = conditionalParentLabel; } + + /** + * conditionalParentValue. + * + * @return Ssn + **/ public Ssn conditionalParentValue(String conditionalParentValue) { this.conditionalParentValue = conditionalParentValue; return this; } - /** - * For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. + /** + * For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. . * @return conditionalParentValue - **/ - @ApiModelProperty(example = "null", value = "For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. ") + **/ + @ApiModelProperty(value = "For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. ") public String getConditionalParentValue() { return conditionalParentValue; } + /** + * setConditionalParentValue. + **/ public void setConditionalParentValue(String conditionalParentValue) { this.conditionalParentValue = conditionalParentValue; } + + /** + * customTabId. + * + * @return Ssn + **/ public Ssn customTabId(String customTabId) { this.customTabId = customTabId; return this; } - /** - * The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties. + /** + * The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.. * @return customTabId - **/ - @ApiModelProperty(example = "null", value = "The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.") + **/ + @ApiModelProperty(value = "The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.") public String getCustomTabId() { return customTabId; } + /** + * setCustomTabId. + **/ public void setCustomTabId(String customTabId) { this.customTabId = customTabId; } + + /** + * disableAutoSize. + * + * @return Ssn + **/ public Ssn disableAutoSize(String disableAutoSize) { this.disableAutoSize = disableAutoSize; return this; } - /** - * When set to **true**, disables the auto sizing of single line text boxes in the signing screen when the signer enters data. If disabled users will only be able enter as much data as the text box can hold. By default this is false. This property only affects single line text boxes. + /** + * When set to **true**, disables the auto sizing of single line text boxes in the signing screen when the signer enters data. If disabled users will only be able enter as much data as the text box can hold. By default this is false. This property only affects single line text boxes.. * @return disableAutoSize - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, disables the auto sizing of single line text boxes in the signing screen when the signer enters data. If disabled users will only be able enter as much data as the text box can hold. By default this is false. This property only affects single line text boxes.") + **/ + @ApiModelProperty(value = "When set to **true**, disables the auto sizing of single line text boxes in the signing screen when the signer enters data. If disabled users will only be able enter as much data as the text box can hold. By default this is false. This property only affects single line text boxes.") public String getDisableAutoSize() { return disableAutoSize; } + /** + * setDisableAutoSize. + **/ public void setDisableAutoSize(String disableAutoSize) { this.disableAutoSize = disableAutoSize; } + + /** + * documentId. + * + * @return Ssn + **/ public Ssn documentId(String documentId) { this.documentId = documentId; return this; } - /** - * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute. + /** + * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.. * @return documentId - **/ - @ApiModelProperty(example = "null", value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") + **/ + @ApiModelProperty(value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") public String getDocumentId() { return documentId; } + /** + * setDocumentId. + **/ public void setDocumentId(String documentId) { this.documentId = documentId; } + + /** + * errorDetails. + * + * @return Ssn + **/ public Ssn errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * font. + * + * @return Ssn + **/ public Ssn font(String font) { this.font = font; return this; } - /** - * The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default. + /** + * The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.. * @return font - **/ - @ApiModelProperty(example = "null", value = "The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.") + **/ + @ApiModelProperty(value = "The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.") public String getFont() { return font; } + /** + * setFont. + **/ public void setFont(String font) { this.font = font; } + + /** + * fontColor. + * + * @return Ssn + **/ public Ssn fontColor(String fontColor) { this.fontColor = fontColor; return this; } - /** - * The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White. + /** + * The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.. * @return fontColor - **/ - @ApiModelProperty(example = "null", value = "The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.") + **/ + @ApiModelProperty(value = "The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.") public String getFontColor() { return fontColor; } + /** + * setFontColor. + **/ public void setFontColor(String fontColor) { this.fontColor = fontColor; } + + /** + * fontSize. + * + * @return Ssn + **/ public Ssn fontSize(String fontSize) { this.fontSize = fontSize; return this; } - /** - * The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72. + /** + * The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.. * @return fontSize - **/ - @ApiModelProperty(example = "null", value = "The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.") + **/ + @ApiModelProperty(value = "The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.") public String getFontSize() { return fontSize; } + /** + * setFontSize. + **/ public void setFontSize(String fontSize) { this.fontSize = fontSize; } + + /** + * italic. + * + * @return Ssn + **/ public Ssn italic(String italic) { this.italic = italic; return this; } - /** - * When set to **true**, the information in the tab is italic. + /** + * When set to **true**, the information in the tab is italic.. * @return italic - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is italic.") + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is italic.") public String getItalic() { return italic; } + /** + * setItalic. + **/ public void setItalic(String italic) { this.italic = italic; } + + /** + * locked. + * + * @return Ssn + **/ public Ssn locked(String locked) { this.locked = locked; return this; } - /** - * When set to **true**, the signer cannot change the data of the custom tab. + /** + * When set to **true**, the signer cannot change the data of the custom tab.. * @return locked - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the signer cannot change the data of the custom tab.") + **/ + @ApiModelProperty(value = "When set to **true**, the signer cannot change the data of the custom tab.") public String getLocked() { return locked; } + /** + * setLocked. + **/ public void setLocked(String locked) { this.locked = locked; } + + /** + * maxLength. + * + * @return Ssn + **/ public Ssn maxLength(Integer maxLength) { this.maxLength = maxLength; return this; } - /** - * An optional value that describes the maximum length of the property when the property is a string. + /** + * An optional value that describes the maximum length of the property when the property is a string.. * @return maxLength - **/ - @ApiModelProperty(example = "null", value = "An optional value that describes the maximum length of the property when the property is a string.") + **/ + @ApiModelProperty(value = "An optional value that describes the maximum length of the property when the property is a string.") public Integer getMaxLength() { return maxLength; } + /** + * setMaxLength. + **/ public void setMaxLength(Integer maxLength) { this.maxLength = maxLength; } + + /** + * mergeField. + * + * @return Ssn + **/ public Ssn mergeField(MergeField mergeField) { this.mergeField = mergeField; return this; } - /** - * Get mergeField + /** + * Get mergeField. * @return mergeField - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public MergeField getMergeField() { return mergeField; } + /** + * setMergeField. + **/ public void setMergeField(MergeField mergeField) { this.mergeField = mergeField; } + + /** + * name. + * + * @return Ssn + **/ public Ssn name(String name) { this.name = name; return this; } - /** - * Specifies the tool tip text for the tab. + /** + * Specifies the tool tip text for the tab.. * @return name - **/ - @ApiModelProperty(example = "null", value = "Specifies the tool tip text for the tab.") + **/ + @ApiModelProperty(value = "Specifies the tool tip text for the tab.") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * originalValue. + * + * @return Ssn + **/ public Ssn originalValue(String originalValue) { this.originalValue = originalValue; return this; } - /** - * The initial value of the tab when it was sent to the recipient. + /** + * The initial value of the tab when it was sent to the recipient. . * @return originalValue - **/ - @ApiModelProperty(example = "null", value = "The initial value of the tab when it was sent to the recipient. ") + **/ + @ApiModelProperty(value = "The initial value of the tab when it was sent to the recipient. ") public String getOriginalValue() { return originalValue; } + /** + * setOriginalValue. + **/ public void setOriginalValue(String originalValue) { this.originalValue = originalValue; } + + /** + * pageNumber. + * + * @return Ssn + **/ public Ssn pageNumber(String pageNumber) { this.pageNumber = pageNumber; return this; } - /** - * Specifies the page number on which the tab is located. + /** + * Specifies the page number on which the tab is located.. * @return pageNumber - **/ - @ApiModelProperty(example = "null", value = "Specifies the page number on which the tab is located.") + **/ + @ApiModelProperty(value = "Specifies the page number on which the tab is located.") public String getPageNumber() { return pageNumber; } + /** + * setPageNumber. + **/ public void setPageNumber(String pageNumber) { this.pageNumber = pageNumber; } + + /** + * recipientId. + * + * @return Ssn + **/ public Ssn recipientId(String recipientId) { this.recipientId = recipientId; return this; } - /** - * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document. + /** + * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.. * @return recipientId - **/ - @ApiModelProperty(example = "null", value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") + **/ + @ApiModelProperty(value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") public String getRecipientId() { return recipientId; } + /** + * setRecipientId. + **/ public void setRecipientId(String recipientId) { this.recipientId = recipientId; } + + /** + * requireAll. + * + * @return Ssn + **/ public Ssn requireAll(String requireAll) { this.requireAll = requireAll; return this; } - /** - * When set to **true** and shared is true, information must be entered in this field to complete the envelope. + /** + * When set to **true** and shared is true, information must be entered in this field to complete the envelope. . * @return requireAll - **/ - @ApiModelProperty(example = "null", value = "When set to **true** and shared is true, information must be entered in this field to complete the envelope. ") + **/ + @ApiModelProperty(value = "When set to **true** and shared is true, information must be entered in this field to complete the envelope. ") public String getRequireAll() { return requireAll; } + /** + * setRequireAll. + **/ public void setRequireAll(String requireAll) { this.requireAll = requireAll; } + + /** + * required. + * + * @return Ssn + **/ public Ssn required(String required) { this.required = required; return this; } - /** - * When set to **true**, the signer is required to fill out this tab + /** + * When set to **true**, the signer is required to fill out this tab. * @return required - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the signer is required to fill out this tab") + **/ + @ApiModelProperty(value = "When set to **true**, the signer is required to fill out this tab") public String getRequired() { return required; } + /** + * setRequired. + **/ public void setRequired(String required) { this.required = required; } + + /** + * requireInitialOnSharedChange. + * + * @return Ssn + **/ public Ssn requireInitialOnSharedChange(String requireInitialOnSharedChange) { this.requireInitialOnSharedChange = requireInitialOnSharedChange; return this; } - /** - * Optional element for field markup. When set to **true**, the signer is required to initial when they modify a shared field. + /** + * Optional element for field markup. When set to **true**, the signer is required to initial when they modify a shared field.. * @return requireInitialOnSharedChange - **/ - @ApiModelProperty(example = "null", value = "Optional element for field markup. When set to **true**, the signer is required to initial when they modify a shared field.") + **/ + @ApiModelProperty(value = "Optional element for field markup. When set to **true**, the signer is required to initial when they modify a shared field.") public String getRequireInitialOnSharedChange() { return requireInitialOnSharedChange; } + /** + * setRequireInitialOnSharedChange. + **/ public void setRequireInitialOnSharedChange(String requireInitialOnSharedChange) { this.requireInitialOnSharedChange = requireInitialOnSharedChange; } + + /** + * senderRequired. + * + * @return Ssn + **/ public Ssn senderRequired(String senderRequired) { this.senderRequired = senderRequired; return this; } - /** - * When set to **true**, the sender must populate the tab before an envelope can be sent using the template. This value tab can only be changed by modifying (PUT) the template. Tabs with a `senderRequired` value of true cannot be deleted from an envelope. + /** + * When set to **true**, the sender must populate the tab before an envelope can be sent using the template. This value tab can only be changed by modifying (PUT) the template. Tabs with a `senderRequired` value of true cannot be deleted from an envelope.. * @return senderRequired - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender must populate the tab before an envelope can be sent using the template. This value tab can only be changed by modifying (PUT) the template. Tabs with a `senderRequired` value of true cannot be deleted from an envelope.") + **/ + @ApiModelProperty(value = "When set to **true**, the sender must populate the tab before an envelope can be sent using the template. This value tab can only be changed by modifying (PUT) the template. Tabs with a `senderRequired` value of true cannot be deleted from an envelope.") public String getSenderRequired() { return senderRequired; } + /** + * setSenderRequired. + **/ public void setSenderRequired(String senderRequired) { this.senderRequired = senderRequired; } + + /** + * shared. + * + * @return Ssn + **/ public Ssn shared(String shared) { this.shared = shared; return this; } - /** - * When set to **true**, this custom tab is shared. + /** + * When set to **true**, this custom tab is shared.. * @return shared - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, this custom tab is shared.") + **/ + @ApiModelProperty(value = "When set to **true**, this custom tab is shared.") public String getShared() { return shared; } + /** + * setShared. + **/ public void setShared(String shared) { this.shared = shared; } + + /** + * status. + * + * @return Ssn + **/ public Ssn status(String status) { this.status = status; return this; } - /** - * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. + /** + * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.. * @return status - **/ - @ApiModelProperty(example = "null", value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") + **/ + @ApiModelProperty(value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") public String getStatus() { return status; } + /** + * setStatus. + **/ public void setStatus(String status) { this.status = status; } + + /** + * tabGroupLabels. + * + * @return Ssn + **/ public Ssn tabGroupLabels(java.util.List tabGroupLabels) { this.tabGroupLabels = tabGroupLabels; return this; } - + + /** + * addTabGroupLabelsItem. + * + * @return Ssn + **/ public Ssn addTabGroupLabelsItem(String tabGroupLabelsItem) { + if (this.tabGroupLabels == null) { + this.tabGroupLabels = new java.util.ArrayList(); + } this.tabGroupLabels.add(tabGroupLabelsItem); return this; } - /** - * + /** + * . * @return tabGroupLabels - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getTabGroupLabels() { return tabGroupLabels; } + /** + * setTabGroupLabels. + **/ public void setTabGroupLabels(java.util.List tabGroupLabels) { this.tabGroupLabels = tabGroupLabels; } + + /** + * tabId. + * + * @return Ssn + **/ public Ssn tabId(String tabId) { this.tabId = tabId; return this; } - /** - * The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. + /** + * The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. . * @return tabId - **/ - @ApiModelProperty(example = "null", value = "The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. ") + **/ + @ApiModelProperty(value = "The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. ") public String getTabId() { return tabId; } + /** + * setTabId. + **/ public void setTabId(String tabId) { this.tabId = tabId; } + + /** + * tabLabel. + * + * @return Ssn + **/ public Ssn tabLabel(String tabLabel) { this.tabLabel = tabLabel; return this; } - /** - * The label string associated with the tab. + /** + * The label string associated with the tab.. * @return tabLabel - **/ - @ApiModelProperty(example = "null", value = "The label string associated with the tab.") + **/ + @ApiModelProperty(value = "The label string associated with the tab.") public String getTabLabel() { return tabLabel; } + /** + * setTabLabel. + **/ public void setTabLabel(String tabLabel) { this.tabLabel = tabLabel; } + + /** + * tabOrder. + * + * @return Ssn + **/ public Ssn tabOrder(String tabOrder) { this.tabOrder = tabOrder; return this; } - /** - * + /** + * . * @return tabOrder - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTabOrder() { return tabOrder; } + /** + * setTabOrder. + **/ public void setTabOrder(String tabOrder) { this.tabOrder = tabOrder; } + + /** + * templateLocked. + * + * @return Ssn + **/ public Ssn templateLocked(String templateLocked) { this.templateLocked = templateLocked; return this; } - /** - * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. . * @return templateLocked - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") + **/ + @ApiModelProperty(value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") public String getTemplateLocked() { return templateLocked; } + /** + * setTemplateLocked. + **/ public void setTemplateLocked(String templateLocked) { this.templateLocked = templateLocked; } + + /** + * templateRequired. + * + * @return Ssn + **/ public Ssn templateRequired(String templateRequired) { this.templateRequired = templateRequired; return this; } - /** - * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.. * @return templateRequired - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") + **/ + @ApiModelProperty(value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") public String getTemplateRequired() { return templateRequired; } + /** + * setTemplateRequired. + **/ public void setTemplateRequired(String templateRequired) { this.templateRequired = templateRequired; } + + /** + * tooltip. + * + * @return Ssn + **/ public Ssn tooltip(String tooltip) { this.tooltip = tooltip; return this; } - /** - * + /** + * . * @return tooltip - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTooltip() { return tooltip; } + /** + * setTooltip. + **/ public void setTooltip(String tooltip) { this.tooltip = tooltip; } + + /** + * underline. + * + * @return Ssn + **/ public Ssn underline(String underline) { this.underline = underline; return this; } - /** - * When set to **true**, the information in the tab is underlined. + /** + * When set to **true**, the information in the tab is underlined.. * @return underline - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is underlined.") + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is underlined.") public String getUnderline() { return underline; } + /** + * setUnderline. + **/ public void setUnderline(String underline) { this.underline = underline; } + + /** + * validationMessage. + * + * @return Ssn + **/ public Ssn validationMessage(String validationMessage) { this.validationMessage = validationMessage; return this; } - /** - * The message displayed if the custom tab fails input validation (either custom of embedded). + /** + * The message displayed if the custom tab fails input validation (either custom of embedded).. * @return validationMessage - **/ - @ApiModelProperty(example = "null", value = "The message displayed if the custom tab fails input validation (either custom of embedded).") + **/ + @ApiModelProperty(value = "The message displayed if the custom tab fails input validation (either custom of embedded).") public String getValidationMessage() { return validationMessage; } + /** + * setValidationMessage. + **/ public void setValidationMessage(String validationMessage) { this.validationMessage = validationMessage; } + + /** + * validationPattern. + * + * @return Ssn + **/ public Ssn validationPattern(String validationPattern) { this.validationPattern = validationPattern; return this; } - /** - * A regular expression used to validate input for the tab. + /** + * A regular expression used to validate input for the tab.. * @return validationPattern - **/ - @ApiModelProperty(example = "null", value = "A regular expression used to validate input for the tab.") + **/ + @ApiModelProperty(value = "A regular expression used to validate input for the tab.") public String getValidationPattern() { return validationPattern; } + /** + * setValidationPattern. + **/ public void setValidationPattern(String validationPattern) { this.validationPattern = validationPattern; } + + /** + * value. + * + * @return Ssn + **/ public Ssn value(String value) { this.value = value; return this; } - /** - * Specifies the value of the tab. + /** + * Specifies the value of the tab. . * @return value - **/ - @ApiModelProperty(example = "null", value = "Specifies the value of the tab. ") + **/ + @ApiModelProperty(value = "Specifies the value of the tab. ") public String getValue() { return value; } + /** + * setValue. + **/ public void setValue(String value) { this.value = value; } + + /** + * width. + * + * @return Ssn + **/ public Ssn width(Integer width) { this.width = width; return this; } - /** - * Width of the tab in pixels. + /** + * Width of the tab in pixels.. * @return width - **/ - @ApiModelProperty(example = "null", value = "Width of the tab in pixels.") + **/ + @ApiModelProperty(value = "Width of the tab in pixels.") public Integer getWidth() { return width; } + /** + * setWidth. + **/ public void setWidth(Integer width) { this.width = width; } + + /** + * xPosition. + * + * @return Ssn + **/ public Ssn xPosition(String xPosition) { this.xPosition = xPosition; return this; } - /** - * This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position. + /** + * This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.. * @return xPosition - **/ - @ApiModelProperty(example = "null", value = "This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.") + **/ + @ApiModelProperty(value = "This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.") public String getXPosition() { return xPosition; } + /** + * setXPosition. + **/ public void setXPosition(String xPosition) { this.xPosition = xPosition; } + + /** + * yPosition. + * + * @return Ssn + **/ public Ssn yPosition(String yPosition) { this.yPosition = yPosition; return this; } - /** - * This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position. + /** + * This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. * @return yPosition - **/ - @ApiModelProperty(example = "null", value = "This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.") + **/ + @ApiModelProperty(value = "This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.") public String getYPosition() { return yPosition; } + /** + * setYPosition. + **/ public void setYPosition(String yPosition) { this.yPosition = yPosition; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -1064,12 +1503,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.yPosition, ssn.yPosition); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(anchorCaseSensitive, anchorHorizontalAlignment, anchorIgnoreIfNotPresent, anchorMatchWholeWord, anchorString, anchorUnits, anchorXOffset, anchorYOffset, bold, concealValueOnDocument, conditionalParentLabel, conditionalParentValue, customTabId, disableAutoSize, documentId, errorDetails, font, fontColor, fontSize, italic, locked, maxLength, mergeField, name, originalValue, pageNumber, recipientId, requireAll, required, requireInitialOnSharedChange, senderRequired, shared, status, tabGroupLabels, tabId, tabLabel, tabOrder, templateLocked, templateRequired, tooltip, underline, validationMessage, validationPattern, value, width, xPosition, yPosition); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -1136,6 +1581,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/Ssn4InformationInput.java b/src/main/java/com/docusign/esign/model/Ssn4InformationInput.java index 825321b8..e33938c5 100644 --- a/src/main/java/com/docusign/esign/model/Ssn4InformationInput.java +++ b/src/main/java/com/docusign/esign/model/Ssn4InformationInput.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Ssn4InformationInput + * Ssn4InformationInput. + * */ public class Ssn4InformationInput { @@ -20,61 +23,93 @@ public class Ssn4InformationInput { @JsonProperty("ssn4") private String ssn4 = null; + + /** + * displayLevelCode. + * + * @return Ssn4InformationInput + **/ public Ssn4InformationInput displayLevelCode(String displayLevelCode) { this.displayLevelCode = displayLevelCode; return this; } - /** - * Specifies the display level for the recipient. Valid values are: * ReadOnly * Editable * DoNotDisplay + /** + * Specifies the display level for the recipient. Valid values are: * ReadOnly * Editable * DoNotDisplay. * @return displayLevelCode - **/ - @ApiModelProperty(example = "null", value = "Specifies the display level for the recipient. Valid values are: * ReadOnly * Editable * DoNotDisplay") + **/ + @ApiModelProperty(value = "Specifies the display level for the recipient. Valid values are: * ReadOnly * Editable * DoNotDisplay") public String getDisplayLevelCode() { return displayLevelCode; } + /** + * setDisplayLevelCode. + **/ public void setDisplayLevelCode(String displayLevelCode) { this.displayLevelCode = displayLevelCode; } + + /** + * receiveInResponse. + * + * @return Ssn4InformationInput + **/ public Ssn4InformationInput receiveInResponse(String receiveInResponse) { this.receiveInResponse = receiveInResponse; return this; } - /** - * When set to **true**, the information needs to be returned in the response. + /** + * When set to **true**, the information needs to be returned in the response.. * @return receiveInResponse - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information needs to be returned in the response.") + **/ + @ApiModelProperty(value = "When set to **true**, the information needs to be returned in the response.") public String getReceiveInResponse() { return receiveInResponse; } + /** + * setReceiveInResponse. + **/ public void setReceiveInResponse(String receiveInResponse) { this.receiveInResponse = receiveInResponse; } + + /** + * ssn4. + * + * @return Ssn4InformationInput + **/ public Ssn4InformationInput ssn4(String ssn4) { this.ssn4 = ssn4; return this; } - /** - * The last four digits of the recipient's Social Security Number (SSN). + /** + * The last four digits of the recipient's Social Security Number (SSN).. * @return ssn4 - **/ - @ApiModelProperty(example = "null", value = "The last four digits of the recipient's Social Security Number (SSN).") + **/ + @ApiModelProperty(value = "The last four digits of the recipient's Social Security Number (SSN).") public String getSsn4() { return ssn4; } + /** + * setSsn4. + **/ public void setSsn4(String ssn4) { this.ssn4 = ssn4; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -89,12 +124,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.ssn4, ssn4InformationInput.ssn4); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(displayLevelCode, receiveInResponse, ssn4); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -117,6 +158,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/Ssn9InformationInput.java b/src/main/java/com/docusign/esign/model/Ssn9InformationInput.java index bbdd7340..c0efc697 100644 --- a/src/main/java/com/docusign/esign/model/Ssn9InformationInput.java +++ b/src/main/java/com/docusign/esign/model/Ssn9InformationInput.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Ssn9InformationInput + * Ssn9InformationInput. + * */ public class Ssn9InformationInput { @@ -17,43 +20,66 @@ public class Ssn9InformationInput { @JsonProperty("ssn9") private String ssn9 = null; + + /** + * displayLevelCode. + * + * @return Ssn9InformationInput + **/ public Ssn9InformationInput displayLevelCode(String displayLevelCode) { this.displayLevelCode = displayLevelCode; return this; } - /** - * Specifies the display level for the recipient. Valid values are: * ReadOnly * Editable * DoNotDisplay + /** + * Specifies the display level for the recipient. Valid values are: * ReadOnly * Editable * DoNotDisplay. * @return displayLevelCode - **/ - @ApiModelProperty(example = "null", value = "Specifies the display level for the recipient. Valid values are: * ReadOnly * Editable * DoNotDisplay") + **/ + @ApiModelProperty(value = "Specifies the display level for the recipient. Valid values are: * ReadOnly * Editable * DoNotDisplay") public String getDisplayLevelCode() { return displayLevelCode; } + /** + * setDisplayLevelCode. + **/ public void setDisplayLevelCode(String displayLevelCode) { this.displayLevelCode = displayLevelCode; } + + /** + * ssn9. + * + * @return Ssn9InformationInput + **/ public Ssn9InformationInput ssn9(String ssn9) { this.ssn9 = ssn9; return this; } - /** - * The recipient's Social Security Number(SSN). + /** + * The recipient's Social Security Number(SSN).. * @return ssn9 - **/ - @ApiModelProperty(example = "null", value = " The recipient's Social Security Number(SSN).") + **/ + @ApiModelProperty(value = " The recipient's Social Security Number(SSN).") public String getSsn9() { return ssn9; } + /** + * setSsn9. + **/ public void setSsn9(String ssn9) { this.ssn9 = ssn9; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -67,12 +93,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.ssn9, ssn9InformationInput.ssn9); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(displayLevelCode, ssn9); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -94,6 +126,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/SupportedLanguages.java b/src/main/java/com/docusign/esign/model/SupportedLanguages.java index 870d20b9..88192443 100644 --- a/src/main/java/com/docusign/esign/model/SupportedLanguages.java +++ b/src/main/java/com/docusign/esign/model/SupportedLanguages.java @@ -1,44 +1,69 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.NameValue; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * SupportedLanguages + * SupportedLanguages. + * */ public class SupportedLanguages { @JsonProperty("languages") - private java.util.List languages = new java.util.ArrayList(); + private java.util.List languages = null; + + /** + * languages. + * + * @return SupportedLanguages + **/ public SupportedLanguages languages(java.util.List languages) { this.languages = languages; return this; } - + + /** + * addLanguagesItem. + * + * @return SupportedLanguages + **/ public SupportedLanguages addLanguagesItem(NameValue languagesItem) { + if (this.languages == null) { + this.languages = new java.util.ArrayList(); + } this.languages.add(languagesItem); return this; } - /** - * + /** + * . * @return languages - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getLanguages() { return languages; } + /** + * setLanguages. + **/ public void setLanguages(java.util.List languages) { this.languages = languages; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -51,12 +76,18 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.languages, supportedLanguages.languages); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(languages); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -77,6 +108,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/TabAccountSettings.java b/src/main/java/com/docusign/esign/model/TabAccountSettings.java index f95e56be..f9d70536 100644 --- a/src/main/java/com/docusign/esign/model/TabAccountSettings.java +++ b/src/main/java/com/docusign/esign/model/TabAccountSettings.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.SettingsMetadata; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * TabAccountSettings + * TabAccountSettings. + * */ public class TabAccountSettings { @@ -126,691 +129,1038 @@ public class TabAccountSettings { @JsonProperty("textTabsMetadata") private SettingsMetadata textTabsMetadata = null; + + /** + * allowTabOrder. + * + * @return TabAccountSettings + **/ public TabAccountSettings allowTabOrder(String allowTabOrder) { this.allowTabOrder = allowTabOrder; return this; } - /** - * + /** + * . * @return allowTabOrder - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAllowTabOrder() { return allowTabOrder; } + /** + * setAllowTabOrder. + **/ public void setAllowTabOrder(String allowTabOrder) { this.allowTabOrder = allowTabOrder; } + + /** + * allowTabOrderMetadata. + * + * @return TabAccountSettings + **/ public TabAccountSettings allowTabOrderMetadata(SettingsMetadata allowTabOrderMetadata) { this.allowTabOrderMetadata = allowTabOrderMetadata; return this; } - /** - * Get allowTabOrderMetadata + /** + * Get allowTabOrderMetadata. * @return allowTabOrderMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getAllowTabOrderMetadata() { return allowTabOrderMetadata; } + /** + * setAllowTabOrderMetadata. + **/ public void setAllowTabOrderMetadata(SettingsMetadata allowTabOrderMetadata) { this.allowTabOrderMetadata = allowTabOrderMetadata; } + + /** + * approveDeclineTabsEnabled. + * + * @return TabAccountSettings + **/ public TabAccountSettings approveDeclineTabsEnabled(String approveDeclineTabsEnabled) { this.approveDeclineTabsEnabled = approveDeclineTabsEnabled; return this; } - /** - * + /** + * . * @return approveDeclineTabsEnabled - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getApproveDeclineTabsEnabled() { return approveDeclineTabsEnabled; } + /** + * setApproveDeclineTabsEnabled. + **/ public void setApproveDeclineTabsEnabled(String approveDeclineTabsEnabled) { this.approveDeclineTabsEnabled = approveDeclineTabsEnabled; } + + /** + * approveDeclineTabsMetadata. + * + * @return TabAccountSettings + **/ public TabAccountSettings approveDeclineTabsMetadata(SettingsMetadata approveDeclineTabsMetadata) { this.approveDeclineTabsMetadata = approveDeclineTabsMetadata; return this; } - /** - * Get approveDeclineTabsMetadata + /** + * Get approveDeclineTabsMetadata. * @return approveDeclineTabsMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getApproveDeclineTabsMetadata() { return approveDeclineTabsMetadata; } + /** + * setApproveDeclineTabsMetadata. + **/ public void setApproveDeclineTabsMetadata(SettingsMetadata approveDeclineTabsMetadata) { this.approveDeclineTabsMetadata = approveDeclineTabsMetadata; } + + /** + * calculatedFieldsEnabled. + * + * @return TabAccountSettings + **/ public TabAccountSettings calculatedFieldsEnabled(String calculatedFieldsEnabled) { this.calculatedFieldsEnabled = calculatedFieldsEnabled; return this; } - /** - * + /** + * . * @return calculatedFieldsEnabled - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getCalculatedFieldsEnabled() { return calculatedFieldsEnabled; } + /** + * setCalculatedFieldsEnabled. + **/ public void setCalculatedFieldsEnabled(String calculatedFieldsEnabled) { this.calculatedFieldsEnabled = calculatedFieldsEnabled; } + + /** + * calculatedFieldsMetadata. + * + * @return TabAccountSettings + **/ public TabAccountSettings calculatedFieldsMetadata(SettingsMetadata calculatedFieldsMetadata) { this.calculatedFieldsMetadata = calculatedFieldsMetadata; return this; } - /** - * Get calculatedFieldsMetadata + /** + * Get calculatedFieldsMetadata. * @return calculatedFieldsMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getCalculatedFieldsMetadata() { return calculatedFieldsMetadata; } + /** + * setCalculatedFieldsMetadata. + **/ public void setCalculatedFieldsMetadata(SettingsMetadata calculatedFieldsMetadata) { this.calculatedFieldsMetadata = calculatedFieldsMetadata; } + + /** + * checkboxTabsEnabled. + * + * @return TabAccountSettings + **/ public TabAccountSettings checkboxTabsEnabled(String checkboxTabsEnabled) { this.checkboxTabsEnabled = checkboxTabsEnabled; return this; } - /** - * + /** + * . * @return checkboxTabsEnabled - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getCheckboxTabsEnabled() { return checkboxTabsEnabled; } + /** + * setCheckboxTabsEnabled. + **/ public void setCheckboxTabsEnabled(String checkboxTabsEnabled) { this.checkboxTabsEnabled = checkboxTabsEnabled; } + + /** + * checkboxTabsMetadata. + * + * @return TabAccountSettings + **/ public TabAccountSettings checkboxTabsMetadata(SettingsMetadata checkboxTabsMetadata) { this.checkboxTabsMetadata = checkboxTabsMetadata; return this; } - /** - * Get checkboxTabsMetadata + /** + * Get checkboxTabsMetadata. * @return checkboxTabsMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getCheckboxTabsMetadata() { return checkboxTabsMetadata; } + /** + * setCheckboxTabsMetadata. + **/ public void setCheckboxTabsMetadata(SettingsMetadata checkboxTabsMetadata) { this.checkboxTabsMetadata = checkboxTabsMetadata; } + + /** + * dataFieldRegexEnabled. + * + * @return TabAccountSettings + **/ public TabAccountSettings dataFieldRegexEnabled(String dataFieldRegexEnabled) { this.dataFieldRegexEnabled = dataFieldRegexEnabled; return this; } - /** - * + /** + * . * @return dataFieldRegexEnabled - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getDataFieldRegexEnabled() { return dataFieldRegexEnabled; } + /** + * setDataFieldRegexEnabled. + **/ public void setDataFieldRegexEnabled(String dataFieldRegexEnabled) { this.dataFieldRegexEnabled = dataFieldRegexEnabled; } + + /** + * dataFieldRegexMetadata. + * + * @return TabAccountSettings + **/ public TabAccountSettings dataFieldRegexMetadata(SettingsMetadata dataFieldRegexMetadata) { this.dataFieldRegexMetadata = dataFieldRegexMetadata; return this; } - /** - * Get dataFieldRegexMetadata + /** + * Get dataFieldRegexMetadata. * @return dataFieldRegexMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getDataFieldRegexMetadata() { return dataFieldRegexMetadata; } + /** + * setDataFieldRegexMetadata. + **/ public void setDataFieldRegexMetadata(SettingsMetadata dataFieldRegexMetadata) { this.dataFieldRegexMetadata = dataFieldRegexMetadata; } + + /** + * dataFieldSizeEnabled. + * + * @return TabAccountSettings + **/ public TabAccountSettings dataFieldSizeEnabled(String dataFieldSizeEnabled) { this.dataFieldSizeEnabled = dataFieldSizeEnabled; return this; } - /** - * + /** + * . * @return dataFieldSizeEnabled - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getDataFieldSizeEnabled() { return dataFieldSizeEnabled; } + /** + * setDataFieldSizeEnabled. + **/ public void setDataFieldSizeEnabled(String dataFieldSizeEnabled) { this.dataFieldSizeEnabled = dataFieldSizeEnabled; } + + /** + * dataFieldSizeMetadata. + * + * @return TabAccountSettings + **/ public TabAccountSettings dataFieldSizeMetadata(SettingsMetadata dataFieldSizeMetadata) { this.dataFieldSizeMetadata = dataFieldSizeMetadata; return this; } - /** - * Get dataFieldSizeMetadata + /** + * Get dataFieldSizeMetadata. * @return dataFieldSizeMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getDataFieldSizeMetadata() { return dataFieldSizeMetadata; } + /** + * setDataFieldSizeMetadata. + **/ public void setDataFieldSizeMetadata(SettingsMetadata dataFieldSizeMetadata) { this.dataFieldSizeMetadata = dataFieldSizeMetadata; } + + /** + * firstLastEmailTabsEnabled. + * + * @return TabAccountSettings + **/ public TabAccountSettings firstLastEmailTabsEnabled(String firstLastEmailTabsEnabled) { this.firstLastEmailTabsEnabled = firstLastEmailTabsEnabled; return this; } - /** - * + /** + * . * @return firstLastEmailTabsEnabled - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getFirstLastEmailTabsEnabled() { return firstLastEmailTabsEnabled; } + /** + * setFirstLastEmailTabsEnabled. + **/ public void setFirstLastEmailTabsEnabled(String firstLastEmailTabsEnabled) { this.firstLastEmailTabsEnabled = firstLastEmailTabsEnabled; } + + /** + * firstLastEmailTabsMetadata. + * + * @return TabAccountSettings + **/ public TabAccountSettings firstLastEmailTabsMetadata(SettingsMetadata firstLastEmailTabsMetadata) { this.firstLastEmailTabsMetadata = firstLastEmailTabsMetadata; return this; } - /** - * Get firstLastEmailTabsMetadata + /** + * Get firstLastEmailTabsMetadata. * @return firstLastEmailTabsMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getFirstLastEmailTabsMetadata() { return firstLastEmailTabsMetadata; } + /** + * setFirstLastEmailTabsMetadata. + **/ public void setFirstLastEmailTabsMetadata(SettingsMetadata firstLastEmailTabsMetadata) { this.firstLastEmailTabsMetadata = firstLastEmailTabsMetadata; } + + /** + * listTabsEnabled. + * + * @return TabAccountSettings + **/ public TabAccountSettings listTabsEnabled(String listTabsEnabled) { this.listTabsEnabled = listTabsEnabled; return this; } - /** - * + /** + * . * @return listTabsEnabled - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getListTabsEnabled() { return listTabsEnabled; } + /** + * setListTabsEnabled. + **/ public void setListTabsEnabled(String listTabsEnabled) { this.listTabsEnabled = listTabsEnabled; } + + /** + * listTabsMetadata. + * + * @return TabAccountSettings + **/ public TabAccountSettings listTabsMetadata(SettingsMetadata listTabsMetadata) { this.listTabsMetadata = listTabsMetadata; return this; } - /** - * Get listTabsMetadata + /** + * Get listTabsMetadata. * @return listTabsMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getListTabsMetadata() { return listTabsMetadata; } + /** + * setListTabsMetadata. + **/ public void setListTabsMetadata(SettingsMetadata listTabsMetadata) { this.listTabsMetadata = listTabsMetadata; } + + /** + * noteTabsEnabled. + * + * @return TabAccountSettings + **/ public TabAccountSettings noteTabsEnabled(String noteTabsEnabled) { this.noteTabsEnabled = noteTabsEnabled; return this; } - /** - * + /** + * . * @return noteTabsEnabled - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getNoteTabsEnabled() { return noteTabsEnabled; } + /** + * setNoteTabsEnabled. + **/ public void setNoteTabsEnabled(String noteTabsEnabled) { this.noteTabsEnabled = noteTabsEnabled; } + + /** + * noteTabsMetadata. + * + * @return TabAccountSettings + **/ public TabAccountSettings noteTabsMetadata(SettingsMetadata noteTabsMetadata) { this.noteTabsMetadata = noteTabsMetadata; return this; } - /** - * Get noteTabsMetadata + /** + * Get noteTabsMetadata. * @return noteTabsMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getNoteTabsMetadata() { return noteTabsMetadata; } + /** + * setNoteTabsMetadata. + **/ public void setNoteTabsMetadata(SettingsMetadata noteTabsMetadata) { this.noteTabsMetadata = noteTabsMetadata; } + + /** + * radioTabsEnabled. + * + * @return TabAccountSettings + **/ public TabAccountSettings radioTabsEnabled(String radioTabsEnabled) { this.radioTabsEnabled = radioTabsEnabled; return this; } - /** - * + /** + * . * @return radioTabsEnabled - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getRadioTabsEnabled() { return radioTabsEnabled; } + /** + * setRadioTabsEnabled. + **/ public void setRadioTabsEnabled(String radioTabsEnabled) { this.radioTabsEnabled = radioTabsEnabled; } + + /** + * radioTabsMetadata. + * + * @return TabAccountSettings + **/ public TabAccountSettings radioTabsMetadata(SettingsMetadata radioTabsMetadata) { this.radioTabsMetadata = radioTabsMetadata; return this; } - /** - * Get radioTabsMetadata + /** + * Get radioTabsMetadata. * @return radioTabsMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getRadioTabsMetadata() { return radioTabsMetadata; } + /** + * setRadioTabsMetadata. + **/ public void setRadioTabsMetadata(SettingsMetadata radioTabsMetadata) { this.radioTabsMetadata = radioTabsMetadata; } + + /** + * savingCustomTabsEnabled. + * + * @return TabAccountSettings + **/ public TabAccountSettings savingCustomTabsEnabled(String savingCustomTabsEnabled) { this.savingCustomTabsEnabled = savingCustomTabsEnabled; return this; } - /** - * + /** + * . * @return savingCustomTabsEnabled - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSavingCustomTabsEnabled() { return savingCustomTabsEnabled; } + /** + * setSavingCustomTabsEnabled. + **/ public void setSavingCustomTabsEnabled(String savingCustomTabsEnabled) { this.savingCustomTabsEnabled = savingCustomTabsEnabled; } + + /** + * savingCustomTabsMetadata. + * + * @return TabAccountSettings + **/ public TabAccountSettings savingCustomTabsMetadata(SettingsMetadata savingCustomTabsMetadata) { this.savingCustomTabsMetadata = savingCustomTabsMetadata; return this; } - /** - * Get savingCustomTabsMetadata + /** + * Get savingCustomTabsMetadata. * @return savingCustomTabsMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getSavingCustomTabsMetadata() { return savingCustomTabsMetadata; } + /** + * setSavingCustomTabsMetadata. + **/ public void setSavingCustomTabsMetadata(SettingsMetadata savingCustomTabsMetadata) { this.savingCustomTabsMetadata = savingCustomTabsMetadata; } + + /** + * senderToChangeTabAssignmentsEnabled. + * + * @return TabAccountSettings + **/ public TabAccountSettings senderToChangeTabAssignmentsEnabled(String senderToChangeTabAssignmentsEnabled) { this.senderToChangeTabAssignmentsEnabled = senderToChangeTabAssignmentsEnabled; return this; } - /** - * + /** + * . * @return senderToChangeTabAssignmentsEnabled - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSenderToChangeTabAssignmentsEnabled() { return senderToChangeTabAssignmentsEnabled; } + /** + * setSenderToChangeTabAssignmentsEnabled. + **/ public void setSenderToChangeTabAssignmentsEnabled(String senderToChangeTabAssignmentsEnabled) { this.senderToChangeTabAssignmentsEnabled = senderToChangeTabAssignmentsEnabled; } + + /** + * senderToChangeTabAssignmentsMetadata. + * + * @return TabAccountSettings + **/ public TabAccountSettings senderToChangeTabAssignmentsMetadata(SettingsMetadata senderToChangeTabAssignmentsMetadata) { this.senderToChangeTabAssignmentsMetadata = senderToChangeTabAssignmentsMetadata; return this; } - /** - * Get senderToChangeTabAssignmentsMetadata + /** + * Get senderToChangeTabAssignmentsMetadata. * @return senderToChangeTabAssignmentsMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getSenderToChangeTabAssignmentsMetadata() { return senderToChangeTabAssignmentsMetadata; } + /** + * setSenderToChangeTabAssignmentsMetadata. + **/ public void setSenderToChangeTabAssignmentsMetadata(SettingsMetadata senderToChangeTabAssignmentsMetadata) { this.senderToChangeTabAssignmentsMetadata = senderToChangeTabAssignmentsMetadata; } + + /** + * sharedCustomTabsEnabled. + * + * @return TabAccountSettings + **/ public TabAccountSettings sharedCustomTabsEnabled(String sharedCustomTabsEnabled) { this.sharedCustomTabsEnabled = sharedCustomTabsEnabled; return this; } - /** - * + /** + * . * @return sharedCustomTabsEnabled - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSharedCustomTabsEnabled() { return sharedCustomTabsEnabled; } + /** + * setSharedCustomTabsEnabled. + **/ public void setSharedCustomTabsEnabled(String sharedCustomTabsEnabled) { this.sharedCustomTabsEnabled = sharedCustomTabsEnabled; } + + /** + * sharedCustomTabsMetadata. + * + * @return TabAccountSettings + **/ public TabAccountSettings sharedCustomTabsMetadata(SettingsMetadata sharedCustomTabsMetadata) { this.sharedCustomTabsMetadata = sharedCustomTabsMetadata; return this; } - /** - * Get sharedCustomTabsMetadata + /** + * Get sharedCustomTabsMetadata. * @return sharedCustomTabsMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getSharedCustomTabsMetadata() { return sharedCustomTabsMetadata; } + /** + * setSharedCustomTabsMetadata. + **/ public void setSharedCustomTabsMetadata(SettingsMetadata sharedCustomTabsMetadata) { this.sharedCustomTabsMetadata = sharedCustomTabsMetadata; } + + /** + * tabDataLabelEnabled. + * + * @return TabAccountSettings + **/ public TabAccountSettings tabDataLabelEnabled(String tabDataLabelEnabled) { this.tabDataLabelEnabled = tabDataLabelEnabled; return this; } - /** - * + /** + * . * @return tabDataLabelEnabled - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTabDataLabelEnabled() { return tabDataLabelEnabled; } + /** + * setTabDataLabelEnabled. + **/ public void setTabDataLabelEnabled(String tabDataLabelEnabled) { this.tabDataLabelEnabled = tabDataLabelEnabled; } + + /** + * tabDataLabelMetadata. + * + * @return TabAccountSettings + **/ public TabAccountSettings tabDataLabelMetadata(SettingsMetadata tabDataLabelMetadata) { this.tabDataLabelMetadata = tabDataLabelMetadata; return this; } - /** - * Get tabDataLabelMetadata + /** + * Get tabDataLabelMetadata. * @return tabDataLabelMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getTabDataLabelMetadata() { return tabDataLabelMetadata; } + /** + * setTabDataLabelMetadata. + **/ public void setTabDataLabelMetadata(SettingsMetadata tabDataLabelMetadata) { this.tabDataLabelMetadata = tabDataLabelMetadata; } + + /** + * tabLocationEnabled. + * + * @return TabAccountSettings + **/ public TabAccountSettings tabLocationEnabled(String tabLocationEnabled) { this.tabLocationEnabled = tabLocationEnabled; return this; } - /** - * + /** + * . * @return tabLocationEnabled - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTabLocationEnabled() { return tabLocationEnabled; } + /** + * setTabLocationEnabled. + **/ public void setTabLocationEnabled(String tabLocationEnabled) { this.tabLocationEnabled = tabLocationEnabled; } + + /** + * tabLocationMetadata. + * + * @return TabAccountSettings + **/ public TabAccountSettings tabLocationMetadata(SettingsMetadata tabLocationMetadata) { this.tabLocationMetadata = tabLocationMetadata; return this; } - /** - * Get tabLocationMetadata + /** + * Get tabLocationMetadata. * @return tabLocationMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getTabLocationMetadata() { return tabLocationMetadata; } + /** + * setTabLocationMetadata. + **/ public void setTabLocationMetadata(SettingsMetadata tabLocationMetadata) { this.tabLocationMetadata = tabLocationMetadata; } + + /** + * tabLockingEnabled. + * + * @return TabAccountSettings + **/ public TabAccountSettings tabLockingEnabled(String tabLockingEnabled) { this.tabLockingEnabled = tabLockingEnabled; return this; } - /** - * + /** + * . * @return tabLockingEnabled - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTabLockingEnabled() { return tabLockingEnabled; } + /** + * setTabLockingEnabled. + **/ public void setTabLockingEnabled(String tabLockingEnabled) { this.tabLockingEnabled = tabLockingEnabled; } + + /** + * tabLockingMetadata. + * + * @return TabAccountSettings + **/ public TabAccountSettings tabLockingMetadata(SettingsMetadata tabLockingMetadata) { this.tabLockingMetadata = tabLockingMetadata; return this; } - /** - * Get tabLockingMetadata + /** + * Get tabLockingMetadata. * @return tabLockingMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getTabLockingMetadata() { return tabLockingMetadata; } + /** + * setTabLockingMetadata. + **/ public void setTabLockingMetadata(SettingsMetadata tabLockingMetadata) { this.tabLockingMetadata = tabLockingMetadata; } + + /** + * tabScaleEnabled. + * + * @return TabAccountSettings + **/ public TabAccountSettings tabScaleEnabled(String tabScaleEnabled) { this.tabScaleEnabled = tabScaleEnabled; return this; } - /** - * + /** + * . * @return tabScaleEnabled - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTabScaleEnabled() { return tabScaleEnabled; } + /** + * setTabScaleEnabled. + **/ public void setTabScaleEnabled(String tabScaleEnabled) { this.tabScaleEnabled = tabScaleEnabled; } + + /** + * tabScaleMetadata. + * + * @return TabAccountSettings + **/ public TabAccountSettings tabScaleMetadata(SettingsMetadata tabScaleMetadata) { this.tabScaleMetadata = tabScaleMetadata; return this; } - /** - * Get tabScaleMetadata + /** + * Get tabScaleMetadata. * @return tabScaleMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getTabScaleMetadata() { return tabScaleMetadata; } + /** + * setTabScaleMetadata. + **/ public void setTabScaleMetadata(SettingsMetadata tabScaleMetadata) { this.tabScaleMetadata = tabScaleMetadata; } + + /** + * tabTextFormattingEnabled. + * + * @return TabAccountSettings + **/ public TabAccountSettings tabTextFormattingEnabled(String tabTextFormattingEnabled) { this.tabTextFormattingEnabled = tabTextFormattingEnabled; return this; } - /** - * + /** + * . * @return tabTextFormattingEnabled - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTabTextFormattingEnabled() { return tabTextFormattingEnabled; } + /** + * setTabTextFormattingEnabled. + **/ public void setTabTextFormattingEnabled(String tabTextFormattingEnabled) { this.tabTextFormattingEnabled = tabTextFormattingEnabled; } + + /** + * tabTextFormattingMetadata. + * + * @return TabAccountSettings + **/ public TabAccountSettings tabTextFormattingMetadata(SettingsMetadata tabTextFormattingMetadata) { this.tabTextFormattingMetadata = tabTextFormattingMetadata; return this; } - /** - * Get tabTextFormattingMetadata + /** + * Get tabTextFormattingMetadata. * @return tabTextFormattingMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getTabTextFormattingMetadata() { return tabTextFormattingMetadata; } + /** + * setTabTextFormattingMetadata. + **/ public void setTabTextFormattingMetadata(SettingsMetadata tabTextFormattingMetadata) { this.tabTextFormattingMetadata = tabTextFormattingMetadata; } + + /** + * textTabsEnabled. + * + * @return TabAccountSettings + **/ public TabAccountSettings textTabsEnabled(String textTabsEnabled) { this.textTabsEnabled = textTabsEnabled; return this; } - /** - * + /** + * . * @return textTabsEnabled - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTextTabsEnabled() { return textTabsEnabled; } + /** + * setTextTabsEnabled. + **/ public void setTextTabsEnabled(String textTabsEnabled) { this.textTabsEnabled = textTabsEnabled; } + + /** + * textTabsMetadata. + * + * @return TabAccountSettings + **/ public TabAccountSettings textTabsMetadata(SettingsMetadata textTabsMetadata) { this.textTabsMetadata = textTabsMetadata; return this; } - /** - * Get textTabsMetadata + /** + * Get textTabsMetadata. * @return textTabsMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getTextTabsMetadata() { return textTabsMetadata; } + /** + * setTextTabsMetadata. + **/ public void setTextTabsMetadata(SettingsMetadata textTabsMetadata) { this.textTabsMetadata = textTabsMetadata; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -860,12 +1210,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.textTabsMetadata, tabAccountSettings.textTabsMetadata); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(allowTabOrder, allowTabOrderMetadata, approveDeclineTabsEnabled, approveDeclineTabsMetadata, calculatedFieldsEnabled, calculatedFieldsMetadata, checkboxTabsEnabled, checkboxTabsMetadata, dataFieldRegexEnabled, dataFieldRegexMetadata, dataFieldSizeEnabled, dataFieldSizeMetadata, firstLastEmailTabsEnabled, firstLastEmailTabsMetadata, listTabsEnabled, listTabsMetadata, noteTabsEnabled, noteTabsMetadata, radioTabsEnabled, radioTabsMetadata, savingCustomTabsEnabled, savingCustomTabsMetadata, senderToChangeTabAssignmentsEnabled, senderToChangeTabAssignmentsMetadata, sharedCustomTabsEnabled, sharedCustomTabsMetadata, tabDataLabelEnabled, tabDataLabelMetadata, tabLocationEnabled, tabLocationMetadata, tabLockingEnabled, tabLockingMetadata, tabScaleEnabled, tabScaleMetadata, tabTextFormattingEnabled, tabTextFormattingMetadata, textTabsEnabled, textTabsMetadata); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -923,6 +1279,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/TabGroup.java b/src/main/java/com/docusign/esign/model/TabGroup.java index 8147a470..958a1975 100644 --- a/src/main/java/com/docusign/esign/model/TabGroup.java +++ b/src/main/java/com/docusign/esign/model/TabGroup.java @@ -2,6 +2,7 @@ import java.util.Objects; import com.docusign.esign.model.ErrorDetails; +import com.docusign.esign.model.MergeField; import com.docusign.esign.model.PropertyMetadata; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; @@ -13,15 +14,105 @@ */ public class TabGroup { - @JsonProperty("childTabLabels") - private java.util.List childTabLabels = new java.util.ArrayList(); + @JsonProperty("anchorCaseSensitive") + private String anchorCaseSensitive = null; - @JsonProperty("childTabLabelsMetadata") - private PropertyMetadata childTabLabelsMetadata = null; + @JsonProperty("anchorCaseSensitiveMetadata") + private PropertyMetadata anchorCaseSensitiveMetadata = null; + + @JsonProperty("anchorHorizontalAlignment") + private String anchorHorizontalAlignment = null; + + @JsonProperty("anchorHorizontalAlignmentMetadata") + private PropertyMetadata anchorHorizontalAlignmentMetadata = null; + + @JsonProperty("anchorIgnoreIfNotPresent") + private String anchorIgnoreIfNotPresent = null; + + @JsonProperty("anchorIgnoreIfNotPresentMetadata") + private PropertyMetadata anchorIgnoreIfNotPresentMetadata = null; + + @JsonProperty("anchorMatchWholeWord") + private String anchorMatchWholeWord = null; + + @JsonProperty("anchorMatchWholeWordMetadata") + private PropertyMetadata anchorMatchWholeWordMetadata = null; + + @JsonProperty("anchorString") + private String anchorString = null; + + @JsonProperty("anchorStringMetadata") + private PropertyMetadata anchorStringMetadata = null; + + @JsonProperty("anchorTabProcessorVersion") + private String anchorTabProcessorVersion = null; + + @JsonProperty("anchorTabProcessorVersionMetadata") + private PropertyMetadata anchorTabProcessorVersionMetadata = null; + + @JsonProperty("anchorUnits") + private String anchorUnits = null; + + @JsonProperty("anchorUnitsMetadata") + private PropertyMetadata anchorUnitsMetadata = null; + + @JsonProperty("anchorXOffset") + private String anchorXOffset = null; + + @JsonProperty("anchorXOffsetMetadata") + private PropertyMetadata anchorXOffsetMetadata = null; + + @JsonProperty("anchorYOffset") + private String anchorYOffset = null; + + @JsonProperty("anchorYOffsetMetadata") + private PropertyMetadata anchorYOffsetMetadata = null; + + @JsonProperty("conditionalParentLabel") + private String conditionalParentLabel = null; + + @JsonProperty("conditionalParentLabelMetadata") + private PropertyMetadata conditionalParentLabelMetadata = null; + + @JsonProperty("conditionalParentValue") + private String conditionalParentValue = null; + + @JsonProperty("conditionalParentValueMetadata") + private PropertyMetadata conditionalParentValueMetadata = null; + + @JsonProperty("customTabId") + private String customTabId = null; + + @JsonProperty("customTabIdMetadata") + private PropertyMetadata customTabIdMetadata = null; + + @JsonProperty("documentId") + private String documentId = null; + + @JsonProperty("documentIdMetadata") + private PropertyMetadata documentIdMetadata = null; @JsonProperty("errorDetails") private ErrorDetails errorDetails = null; + @JsonProperty("formOrder") + private String formOrder = null; + + @JsonProperty("formOrderMetadata") + private PropertyMetadata formOrderMetadata = null; + + @JsonProperty("formPageLabel") + private String formPageLabel = null; + + @JsonProperty("formPageLabelMetadata") + private PropertyMetadata formPageLabelMetadata = null; + + @JsonProperty("formPageNumber") + private String formPageNumber = null; + + @JsonProperty("formPageNumberMetadata") + private PropertyMetadata formPageNumberMetadata = null; + @JsonProperty("groupLabel") private String groupLabel = null; @@ -34,321 +125,1263 @@ public class TabGroup { @JsonProperty("groupRuleMetadata") private PropertyMetadata groupRuleMetadata = null; + @JsonProperty("height") + private String height = null; + + @JsonProperty("heightMetadata") + private PropertyMetadata heightMetadata = null; + @JsonProperty("maximumAllowed") private String maximumAllowed = null; @JsonProperty("maximumAllowedMetadata") private PropertyMetadata maximumAllowedMetadata = null; + @JsonProperty("mergeField") + private MergeField mergeField = null; + + @JsonProperty("mergeFieldXml") + private String mergeFieldXml = null; + @JsonProperty("minimumRequired") private String minimumRequired = null; @JsonProperty("minimumRequiredMetadata") private PropertyMetadata minimumRequiredMetadata = null; + @JsonProperty("pageNumber") + private String pageNumber = null; + + @JsonProperty("pageNumberMetadata") + private PropertyMetadata pageNumberMetadata = null; + @JsonProperty("recipientId") private String recipientId = null; + @JsonProperty("recipientIdGuid") + private String recipientIdGuid = null; + + @JsonProperty("recipientIdGuidMetadata") + private PropertyMetadata recipientIdGuidMetadata = null; + @JsonProperty("recipientIdMetadata") private PropertyMetadata recipientIdMetadata = null; + @JsonProperty("status") + private String status = null; + + @JsonProperty("statusMetadata") + private PropertyMetadata statusMetadata = null; + + @JsonProperty("tabGroupLabels") + private java.util.List tabGroupLabels = new java.util.ArrayList(); + + @JsonProperty("tabGroupLabelsMetadata") + private PropertyMetadata tabGroupLabelsMetadata = null; + @JsonProperty("tabId") private String tabId = null; @JsonProperty("tabIdMetadata") private PropertyMetadata tabIdMetadata = null; - @JsonProperty("templateLocked") - private String templateLocked = null; + @JsonProperty("tabOrder") + private String tabOrder = null; + + @JsonProperty("tabOrderMetadata") + private PropertyMetadata tabOrderMetadata = null; + + @JsonProperty("tabScope") + private String tabScope = null; + + @JsonProperty("tabScopeMetadata") + private PropertyMetadata tabScopeMetadata = null; + + @JsonProperty("tabType") + private String tabType = null; + + @JsonProperty("tabTypeMetadata") + private PropertyMetadata tabTypeMetadata = null; + + @JsonProperty("templateLocked") + private String templateLocked = null; + + @JsonProperty("templateLockedMetadata") + private PropertyMetadata templateLockedMetadata = null; + + @JsonProperty("templateRequired") + private String templateRequired = null; + + @JsonProperty("templateRequiredMetadata") + private PropertyMetadata templateRequiredMetadata = null; + + @JsonProperty("tooltip") + private String tooltip = null; + + @JsonProperty("toolTipMetadata") + private PropertyMetadata toolTipMetadata = null; + + @JsonProperty("validationMessage") + private String validationMessage = null; + + @JsonProperty("validationMessageMetadata") + private PropertyMetadata validationMessageMetadata = null; + + @JsonProperty("width") + private String width = null; + + @JsonProperty("widthMetadata") + private PropertyMetadata widthMetadata = null; + + @JsonProperty("xPosition") + private String xPosition = null; + + @JsonProperty("xPositionMetadata") + private PropertyMetadata xPositionMetadata = null; + + @JsonProperty("yPosition") + private String yPosition = null; + + @JsonProperty("yPositionMetadata") + private PropertyMetadata yPositionMetadata = null; + + public TabGroup anchorCaseSensitive(String anchorCaseSensitive) { + this.anchorCaseSensitive = anchorCaseSensitive; + return this; + } + + /** + * When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**. + * @return anchorCaseSensitive + **/ + @ApiModelProperty(example = "null", value = "When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.") + public String getAnchorCaseSensitive() { + return anchorCaseSensitive; + } + + public void setAnchorCaseSensitive(String anchorCaseSensitive) { + this.anchorCaseSensitive = anchorCaseSensitive; + } + + public TabGroup anchorCaseSensitiveMetadata(PropertyMetadata anchorCaseSensitiveMetadata) { + this.anchorCaseSensitiveMetadata = anchorCaseSensitiveMetadata; + return this; + } + + /** + * Get anchorCaseSensitiveMetadata + * @return anchorCaseSensitiveMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getAnchorCaseSensitiveMetadata() { + return anchorCaseSensitiveMetadata; + } + + public void setAnchorCaseSensitiveMetadata(PropertyMetadata anchorCaseSensitiveMetadata) { + this.anchorCaseSensitiveMetadata = anchorCaseSensitiveMetadata; + } + + public TabGroup anchorHorizontalAlignment(String anchorHorizontalAlignment) { + this.anchorHorizontalAlignment = anchorHorizontalAlignment; + return this; + } + + /** + * Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**. + * @return anchorHorizontalAlignment + **/ + @ApiModelProperty(example = "null", value = "Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.") + public String getAnchorHorizontalAlignment() { + return anchorHorizontalAlignment; + } + + public void setAnchorHorizontalAlignment(String anchorHorizontalAlignment) { + this.anchorHorizontalAlignment = anchorHorizontalAlignment; + } + + public TabGroup anchorHorizontalAlignmentMetadata(PropertyMetadata anchorHorizontalAlignmentMetadata) { + this.anchorHorizontalAlignmentMetadata = anchorHorizontalAlignmentMetadata; + return this; + } + + /** + * Get anchorHorizontalAlignmentMetadata + * @return anchorHorizontalAlignmentMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getAnchorHorizontalAlignmentMetadata() { + return anchorHorizontalAlignmentMetadata; + } + + public void setAnchorHorizontalAlignmentMetadata(PropertyMetadata anchorHorizontalAlignmentMetadata) { + this.anchorHorizontalAlignmentMetadata = anchorHorizontalAlignmentMetadata; + } + + public TabGroup anchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { + this.anchorIgnoreIfNotPresent = anchorIgnoreIfNotPresent; + return this; + } + + /** + * When set to **true**, this tab is ignored if anchorString is not found in the document. + * @return anchorIgnoreIfNotPresent + **/ + @ApiModelProperty(example = "null", value = "When set to **true**, this tab is ignored if anchorString is not found in the document.") + public String getAnchorIgnoreIfNotPresent() { + return anchorIgnoreIfNotPresent; + } + + public void setAnchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { + this.anchorIgnoreIfNotPresent = anchorIgnoreIfNotPresent; + } + + public TabGroup anchorIgnoreIfNotPresentMetadata(PropertyMetadata anchorIgnoreIfNotPresentMetadata) { + this.anchorIgnoreIfNotPresentMetadata = anchorIgnoreIfNotPresentMetadata; + return this; + } + + /** + * Get anchorIgnoreIfNotPresentMetadata + * @return anchorIgnoreIfNotPresentMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getAnchorIgnoreIfNotPresentMetadata() { + return anchorIgnoreIfNotPresentMetadata; + } + + public void setAnchorIgnoreIfNotPresentMetadata(PropertyMetadata anchorIgnoreIfNotPresentMetadata) { + this.anchorIgnoreIfNotPresentMetadata = anchorIgnoreIfNotPresentMetadata; + } + + public TabGroup anchorMatchWholeWord(String anchorMatchWholeWord) { + this.anchorMatchWholeWord = anchorMatchWholeWord; + return this; + } + + /** + * When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**. + * @return anchorMatchWholeWord + **/ + @ApiModelProperty(example = "null", value = "When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.") + public String getAnchorMatchWholeWord() { + return anchorMatchWholeWord; + } + + public void setAnchorMatchWholeWord(String anchorMatchWholeWord) { + this.anchorMatchWholeWord = anchorMatchWholeWord; + } + + public TabGroup anchorMatchWholeWordMetadata(PropertyMetadata anchorMatchWholeWordMetadata) { + this.anchorMatchWholeWordMetadata = anchorMatchWholeWordMetadata; + return this; + } + + /** + * Get anchorMatchWholeWordMetadata + * @return anchorMatchWholeWordMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getAnchorMatchWholeWordMetadata() { + return anchorMatchWholeWordMetadata; + } + + public void setAnchorMatchWholeWordMetadata(PropertyMetadata anchorMatchWholeWordMetadata) { + this.anchorMatchWholeWordMetadata = anchorMatchWholeWordMetadata; + } + + public TabGroup anchorString(String anchorString) { + this.anchorString = anchorString; + return this; + } + + /** + * Anchor text information for a radio button. + * @return anchorString + **/ + @ApiModelProperty(example = "null", value = "Anchor text information for a radio button.") + public String getAnchorString() { + return anchorString; + } + + public void setAnchorString(String anchorString) { + this.anchorString = anchorString; + } + + public TabGroup anchorStringMetadata(PropertyMetadata anchorStringMetadata) { + this.anchorStringMetadata = anchorStringMetadata; + return this; + } + + /** + * Get anchorStringMetadata + * @return anchorStringMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getAnchorStringMetadata() { + return anchorStringMetadata; + } + + public void setAnchorStringMetadata(PropertyMetadata anchorStringMetadata) { + this.anchorStringMetadata = anchorStringMetadata; + } + + public TabGroup anchorTabProcessorVersion(String anchorTabProcessorVersion) { + this.anchorTabProcessorVersion = anchorTabProcessorVersion; + return this; + } + + /** + * + * @return anchorTabProcessorVersion + **/ + @ApiModelProperty(example = "null", value = "") + public String getAnchorTabProcessorVersion() { + return anchorTabProcessorVersion; + } + + public void setAnchorTabProcessorVersion(String anchorTabProcessorVersion) { + this.anchorTabProcessorVersion = anchorTabProcessorVersion; + } + + public TabGroup anchorTabProcessorVersionMetadata(PropertyMetadata anchorTabProcessorVersionMetadata) { + this.anchorTabProcessorVersionMetadata = anchorTabProcessorVersionMetadata; + return this; + } + + /** + * Get anchorTabProcessorVersionMetadata + * @return anchorTabProcessorVersionMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getAnchorTabProcessorVersionMetadata() { + return anchorTabProcessorVersionMetadata; + } + + public void setAnchorTabProcessorVersionMetadata(PropertyMetadata anchorTabProcessorVersionMetadata) { + this.anchorTabProcessorVersionMetadata = anchorTabProcessorVersionMetadata; + } + + public TabGroup anchorUnits(String anchorUnits) { + this.anchorUnits = anchorUnits; + return this; + } + + /** + * Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. + * @return anchorUnits + **/ + @ApiModelProperty(example = "null", value = "Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.") + public String getAnchorUnits() { + return anchorUnits; + } + + public void setAnchorUnits(String anchorUnits) { + this.anchorUnits = anchorUnits; + } + + public TabGroup anchorUnitsMetadata(PropertyMetadata anchorUnitsMetadata) { + this.anchorUnitsMetadata = anchorUnitsMetadata; + return this; + } + + /** + * Get anchorUnitsMetadata + * @return anchorUnitsMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getAnchorUnitsMetadata() { + return anchorUnitsMetadata; + } + + public void setAnchorUnitsMetadata(PropertyMetadata anchorUnitsMetadata) { + this.anchorUnitsMetadata = anchorUnitsMetadata; + } + + public TabGroup anchorXOffset(String anchorXOffset) { + this.anchorXOffset = anchorXOffset; + return this; + } + + /** + * Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString. + * @return anchorXOffset + **/ + @ApiModelProperty(example = "null", value = "Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.") + public String getAnchorXOffset() { + return anchorXOffset; + } + + public void setAnchorXOffset(String anchorXOffset) { + this.anchorXOffset = anchorXOffset; + } + + public TabGroup anchorXOffsetMetadata(PropertyMetadata anchorXOffsetMetadata) { + this.anchorXOffsetMetadata = anchorXOffsetMetadata; + return this; + } + + /** + * Get anchorXOffsetMetadata + * @return anchorXOffsetMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getAnchorXOffsetMetadata() { + return anchorXOffsetMetadata; + } + + public void setAnchorXOffsetMetadata(PropertyMetadata anchorXOffsetMetadata) { + this.anchorXOffsetMetadata = anchorXOffsetMetadata; + } + + public TabGroup anchorYOffset(String anchorYOffset) { + this.anchorYOffset = anchorYOffset; + return this; + } + + /** + * Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString. + * @return anchorYOffset + **/ + @ApiModelProperty(example = "null", value = "Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.") + public String getAnchorYOffset() { + return anchorYOffset; + } + + public void setAnchorYOffset(String anchorYOffset) { + this.anchorYOffset = anchorYOffset; + } + + public TabGroup anchorYOffsetMetadata(PropertyMetadata anchorYOffsetMetadata) { + this.anchorYOffsetMetadata = anchorYOffsetMetadata; + return this; + } + + /** + * Get anchorYOffsetMetadata + * @return anchorYOffsetMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getAnchorYOffsetMetadata() { + return anchorYOffsetMetadata; + } + + public void setAnchorYOffsetMetadata(PropertyMetadata anchorYOffsetMetadata) { + this.anchorYOffsetMetadata = anchorYOffsetMetadata; + } + + public TabGroup conditionalParentLabel(String conditionalParentLabel) { + this.conditionalParentLabel = conditionalParentLabel; + return this; + } + + /** + * For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility. + * @return conditionalParentLabel + **/ + @ApiModelProperty(example = "null", value = "For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.") + public String getConditionalParentLabel() { + return conditionalParentLabel; + } + + public void setConditionalParentLabel(String conditionalParentLabel) { + this.conditionalParentLabel = conditionalParentLabel; + } + + public TabGroup conditionalParentLabelMetadata(PropertyMetadata conditionalParentLabelMetadata) { + this.conditionalParentLabelMetadata = conditionalParentLabelMetadata; + return this; + } + + /** + * Get conditionalParentLabelMetadata + * @return conditionalParentLabelMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getConditionalParentLabelMetadata() { + return conditionalParentLabelMetadata; + } + + public void setConditionalParentLabelMetadata(PropertyMetadata conditionalParentLabelMetadata) { + this.conditionalParentLabelMetadata = conditionalParentLabelMetadata; + } + + public TabGroup conditionalParentValue(String conditionalParentValue) { + this.conditionalParentValue = conditionalParentValue; + return this; + } + + /** + * For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. + * @return conditionalParentValue + **/ + @ApiModelProperty(example = "null", value = "For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. ") + public String getConditionalParentValue() { + return conditionalParentValue; + } + + public void setConditionalParentValue(String conditionalParentValue) { + this.conditionalParentValue = conditionalParentValue; + } + + public TabGroup conditionalParentValueMetadata(PropertyMetadata conditionalParentValueMetadata) { + this.conditionalParentValueMetadata = conditionalParentValueMetadata; + return this; + } + + /** + * Get conditionalParentValueMetadata + * @return conditionalParentValueMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getConditionalParentValueMetadata() { + return conditionalParentValueMetadata; + } + + public void setConditionalParentValueMetadata(PropertyMetadata conditionalParentValueMetadata) { + this.conditionalParentValueMetadata = conditionalParentValueMetadata; + } + + public TabGroup customTabId(String customTabId) { + this.customTabId = customTabId; + return this; + } + + /** + * The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties. + * @return customTabId + **/ + @ApiModelProperty(example = "null", value = "The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.") + public String getCustomTabId() { + return customTabId; + } + + public void setCustomTabId(String customTabId) { + this.customTabId = customTabId; + } + + public TabGroup customTabIdMetadata(PropertyMetadata customTabIdMetadata) { + this.customTabIdMetadata = customTabIdMetadata; + return this; + } + + /** + * Get customTabIdMetadata + * @return customTabIdMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getCustomTabIdMetadata() { + return customTabIdMetadata; + } + + public void setCustomTabIdMetadata(PropertyMetadata customTabIdMetadata) { + this.customTabIdMetadata = customTabIdMetadata; + } + + public TabGroup documentId(String documentId) { + this.documentId = documentId; + return this; + } + + /** + * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute. + * @return documentId + **/ + @ApiModelProperty(example = "null", value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") + public String getDocumentId() { + return documentId; + } + + public void setDocumentId(String documentId) { + this.documentId = documentId; + } + + public TabGroup documentIdMetadata(PropertyMetadata documentIdMetadata) { + this.documentIdMetadata = documentIdMetadata; + return this; + } + + /** + * Get documentIdMetadata + * @return documentIdMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getDocumentIdMetadata() { + return documentIdMetadata; + } + + public void setDocumentIdMetadata(PropertyMetadata documentIdMetadata) { + this.documentIdMetadata = documentIdMetadata; + } + + public TabGroup errorDetails(ErrorDetails errorDetails) { + this.errorDetails = errorDetails; + return this; + } + + /** + * Get errorDetails + * @return errorDetails + **/ + @ApiModelProperty(example = "null", value = "") + public ErrorDetails getErrorDetails() { + return errorDetails; + } + + public void setErrorDetails(ErrorDetails errorDetails) { + this.errorDetails = errorDetails; + } + + public TabGroup formOrder(String formOrder) { + this.formOrder = formOrder; + return this; + } + + /** + * + * @return formOrder + **/ + @ApiModelProperty(example = "null", value = "") + public String getFormOrder() { + return formOrder; + } + + public void setFormOrder(String formOrder) { + this.formOrder = formOrder; + } + + public TabGroup formOrderMetadata(PropertyMetadata formOrderMetadata) { + this.formOrderMetadata = formOrderMetadata; + return this; + } + + /** + * Get formOrderMetadata + * @return formOrderMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getFormOrderMetadata() { + return formOrderMetadata; + } + + public void setFormOrderMetadata(PropertyMetadata formOrderMetadata) { + this.formOrderMetadata = formOrderMetadata; + } + + public TabGroup formPageLabel(String formPageLabel) { + this.formPageLabel = formPageLabel; + return this; + } + + /** + * + * @return formPageLabel + **/ + @ApiModelProperty(example = "null", value = "") + public String getFormPageLabel() { + return formPageLabel; + } + + public void setFormPageLabel(String formPageLabel) { + this.formPageLabel = formPageLabel; + } + + public TabGroup formPageLabelMetadata(PropertyMetadata formPageLabelMetadata) { + this.formPageLabelMetadata = formPageLabelMetadata; + return this; + } + + /** + * Get formPageLabelMetadata + * @return formPageLabelMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getFormPageLabelMetadata() { + return formPageLabelMetadata; + } + + public void setFormPageLabelMetadata(PropertyMetadata formPageLabelMetadata) { + this.formPageLabelMetadata = formPageLabelMetadata; + } + + public TabGroup formPageNumber(String formPageNumber) { + this.formPageNumber = formPageNumber; + return this; + } + + /** + * + * @return formPageNumber + **/ + @ApiModelProperty(example = "null", value = "") + public String getFormPageNumber() { + return formPageNumber; + } + + public void setFormPageNumber(String formPageNumber) { + this.formPageNumber = formPageNumber; + } + + public TabGroup formPageNumberMetadata(PropertyMetadata formPageNumberMetadata) { + this.formPageNumberMetadata = formPageNumberMetadata; + return this; + } + + /** + * Get formPageNumberMetadata + * @return formPageNumberMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getFormPageNumberMetadata() { + return formPageNumberMetadata; + } + + public void setFormPageNumberMetadata(PropertyMetadata formPageNumberMetadata) { + this.formPageNumberMetadata = formPageNumberMetadata; + } + + public TabGroup groupLabel(String groupLabel) { + this.groupLabel = groupLabel; + return this; + } + + /** + * + * @return groupLabel + **/ + @ApiModelProperty(example = "null", value = "") + public String getGroupLabel() { + return groupLabel; + } + + public void setGroupLabel(String groupLabel) { + this.groupLabel = groupLabel; + } + + public TabGroup groupLabelMetadata(PropertyMetadata groupLabelMetadata) { + this.groupLabelMetadata = groupLabelMetadata; + return this; + } + + /** + * Get groupLabelMetadata + * @return groupLabelMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getGroupLabelMetadata() { + return groupLabelMetadata; + } + + public void setGroupLabelMetadata(PropertyMetadata groupLabelMetadata) { + this.groupLabelMetadata = groupLabelMetadata; + } + + public TabGroup groupRule(String groupRule) { + this.groupRule = groupRule; + return this; + } + + /** + * + * @return groupRule + **/ + @ApiModelProperty(example = "null", value = "") + public String getGroupRule() { + return groupRule; + } + + public void setGroupRule(String groupRule) { + this.groupRule = groupRule; + } + + public TabGroup groupRuleMetadata(PropertyMetadata groupRuleMetadata) { + this.groupRuleMetadata = groupRuleMetadata; + return this; + } + + /** + * Get groupRuleMetadata + * @return groupRuleMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getGroupRuleMetadata() { + return groupRuleMetadata; + } + + public void setGroupRuleMetadata(PropertyMetadata groupRuleMetadata) { + this.groupRuleMetadata = groupRuleMetadata; + } + + public TabGroup height(String height) { + this.height = height; + return this; + } + + /** + * Height of the tab in pixels. + * @return height + **/ + @ApiModelProperty(example = "null", value = "Height of the tab in pixels.") + public String getHeight() { + return height; + } + + public void setHeight(String height) { + this.height = height; + } + + public TabGroup heightMetadata(PropertyMetadata heightMetadata) { + this.heightMetadata = heightMetadata; + return this; + } + + /** + * Get heightMetadata + * @return heightMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getHeightMetadata() { + return heightMetadata; + } + + public void setHeightMetadata(PropertyMetadata heightMetadata) { + this.heightMetadata = heightMetadata; + } + + public TabGroup maximumAllowed(String maximumAllowed) { + this.maximumAllowed = maximumAllowed; + return this; + } + + /** + * + * @return maximumAllowed + **/ + @ApiModelProperty(example = "null", value = "") + public String getMaximumAllowed() { + return maximumAllowed; + } + + public void setMaximumAllowed(String maximumAllowed) { + this.maximumAllowed = maximumAllowed; + } + + public TabGroup maximumAllowedMetadata(PropertyMetadata maximumAllowedMetadata) { + this.maximumAllowedMetadata = maximumAllowedMetadata; + return this; + } + + /** + * Get maximumAllowedMetadata + * @return maximumAllowedMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getMaximumAllowedMetadata() { + return maximumAllowedMetadata; + } + + public void setMaximumAllowedMetadata(PropertyMetadata maximumAllowedMetadata) { + this.maximumAllowedMetadata = maximumAllowedMetadata; + } + + public TabGroup mergeField(MergeField mergeField) { + this.mergeField = mergeField; + return this; + } + + /** + * Get mergeField + * @return mergeField + **/ + @ApiModelProperty(example = "null", value = "") + public MergeField getMergeField() { + return mergeField; + } + + public void setMergeField(MergeField mergeField) { + this.mergeField = mergeField; + } + + public TabGroup mergeFieldXml(String mergeFieldXml) { + this.mergeFieldXml = mergeFieldXml; + return this; + } + + /** + * + * @return mergeFieldXml + **/ + @ApiModelProperty(example = "null", value = "") + public String getMergeFieldXml() { + return mergeFieldXml; + } + + public void setMergeFieldXml(String mergeFieldXml) { + this.mergeFieldXml = mergeFieldXml; + } + + public TabGroup minimumRequired(String minimumRequired) { + this.minimumRequired = minimumRequired; + return this; + } + + /** + * + * @return minimumRequired + **/ + @ApiModelProperty(example = "null", value = "") + public String getMinimumRequired() { + return minimumRequired; + } + + public void setMinimumRequired(String minimumRequired) { + this.minimumRequired = minimumRequired; + } + + public TabGroup minimumRequiredMetadata(PropertyMetadata minimumRequiredMetadata) { + this.minimumRequiredMetadata = minimumRequiredMetadata; + return this; + } + + /** + * Get minimumRequiredMetadata + * @return minimumRequiredMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getMinimumRequiredMetadata() { + return minimumRequiredMetadata; + } + + public void setMinimumRequiredMetadata(PropertyMetadata minimumRequiredMetadata) { + this.minimumRequiredMetadata = minimumRequiredMetadata; + } + + public TabGroup pageNumber(String pageNumber) { + this.pageNumber = pageNumber; + return this; + } - @JsonProperty("templateLockedMetadata") - private PropertyMetadata templateLockedMetadata = null; + /** + * Specifies the page number on which the tab is located. + * @return pageNumber + **/ + @ApiModelProperty(example = "null", value = "Specifies the page number on which the tab is located.") + public String getPageNumber() { + return pageNumber; + } - @JsonProperty("templateRequired") - private String templateRequired = null; + public void setPageNumber(String pageNumber) { + this.pageNumber = pageNumber; + } - @JsonProperty("templateRequiredMetadata") - private PropertyMetadata templateRequiredMetadata = null; + public TabGroup pageNumberMetadata(PropertyMetadata pageNumberMetadata) { + this.pageNumberMetadata = pageNumberMetadata; + return this; + } - @JsonProperty("validationMessage") - private String validationMessage = null; + /** + * Get pageNumberMetadata + * @return pageNumberMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getPageNumberMetadata() { + return pageNumberMetadata; + } - @JsonProperty("validationMessageMetadata") - private PropertyMetadata validationMessageMetadata = null; + public void setPageNumberMetadata(PropertyMetadata pageNumberMetadata) { + this.pageNumberMetadata = pageNumberMetadata; + } - public TabGroup childTabLabels(java.util.List childTabLabels) { - this.childTabLabels = childTabLabels; + public TabGroup recipientId(String recipientId) { + this.recipientId = recipientId; return this; } - public TabGroup addChildTabLabelsItem(String childTabLabelsItem) { - this.childTabLabels.add(childTabLabelsItem); + /** + * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document. + * @return recipientId + **/ + @ApiModelProperty(example = "null", value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") + public String getRecipientId() { + return recipientId; + } + + public void setRecipientId(String recipientId) { + this.recipientId = recipientId; + } + + public TabGroup recipientIdGuid(String recipientIdGuid) { + this.recipientIdGuid = recipientIdGuid; return this; } /** * - * @return childTabLabels + * @return recipientIdGuid **/ @ApiModelProperty(example = "null", value = "") - public java.util.List getChildTabLabels() { - return childTabLabels; + public String getRecipientIdGuid() { + return recipientIdGuid; } - public void setChildTabLabels(java.util.List childTabLabels) { - this.childTabLabels = childTabLabels; + public void setRecipientIdGuid(String recipientIdGuid) { + this.recipientIdGuid = recipientIdGuid; } - public TabGroup childTabLabelsMetadata(PropertyMetadata childTabLabelsMetadata) { - this.childTabLabelsMetadata = childTabLabelsMetadata; + public TabGroup recipientIdGuidMetadata(PropertyMetadata recipientIdGuidMetadata) { + this.recipientIdGuidMetadata = recipientIdGuidMetadata; return this; } /** - * Get childTabLabelsMetadata - * @return childTabLabelsMetadata + * Get recipientIdGuidMetadata + * @return recipientIdGuidMetadata **/ @ApiModelProperty(example = "null", value = "") - public PropertyMetadata getChildTabLabelsMetadata() { - return childTabLabelsMetadata; + public PropertyMetadata getRecipientIdGuidMetadata() { + return recipientIdGuidMetadata; } - public void setChildTabLabelsMetadata(PropertyMetadata childTabLabelsMetadata) { - this.childTabLabelsMetadata = childTabLabelsMetadata; + public void setRecipientIdGuidMetadata(PropertyMetadata recipientIdGuidMetadata) { + this.recipientIdGuidMetadata = recipientIdGuidMetadata; } - public TabGroup errorDetails(ErrorDetails errorDetails) { - this.errorDetails = errorDetails; + public TabGroup recipientIdMetadata(PropertyMetadata recipientIdMetadata) { + this.recipientIdMetadata = recipientIdMetadata; return this; } /** - * Get errorDetails - * @return errorDetails + * Get recipientIdMetadata + * @return recipientIdMetadata **/ @ApiModelProperty(example = "null", value = "") - public ErrorDetails getErrorDetails() { - return errorDetails; + public PropertyMetadata getRecipientIdMetadata() { + return recipientIdMetadata; } - public void setErrorDetails(ErrorDetails errorDetails) { - this.errorDetails = errorDetails; + public void setRecipientIdMetadata(PropertyMetadata recipientIdMetadata) { + this.recipientIdMetadata = recipientIdMetadata; } - public TabGroup groupLabel(String groupLabel) { - this.groupLabel = groupLabel; + public TabGroup status(String status) { + this.status = status; return this; } /** - * - * @return groupLabel + * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. + * @return status **/ - @ApiModelProperty(example = "null", value = "") - public String getGroupLabel() { - return groupLabel; + @ApiModelProperty(example = "null", value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") + public String getStatus() { + return status; } - public void setGroupLabel(String groupLabel) { - this.groupLabel = groupLabel; + public void setStatus(String status) { + this.status = status; } - public TabGroup groupLabelMetadata(PropertyMetadata groupLabelMetadata) { - this.groupLabelMetadata = groupLabelMetadata; + public TabGroup statusMetadata(PropertyMetadata statusMetadata) { + this.statusMetadata = statusMetadata; return this; } /** - * Get groupLabelMetadata - * @return groupLabelMetadata + * Get statusMetadata + * @return statusMetadata **/ @ApiModelProperty(example = "null", value = "") - public PropertyMetadata getGroupLabelMetadata() { - return groupLabelMetadata; + public PropertyMetadata getStatusMetadata() { + return statusMetadata; } - public void setGroupLabelMetadata(PropertyMetadata groupLabelMetadata) { - this.groupLabelMetadata = groupLabelMetadata; + public void setStatusMetadata(PropertyMetadata statusMetadata) { + this.statusMetadata = statusMetadata; } - public TabGroup groupRule(String groupRule) { - this.groupRule = groupRule; + public TabGroup tabGroupLabels(java.util.List tabGroupLabels) { + this.tabGroupLabels = tabGroupLabels; + return this; + } + + public TabGroup addTabGroupLabelsItem(String tabGroupLabelsItem) { + this.tabGroupLabels.add(tabGroupLabelsItem); return this; } /** * - * @return groupRule + * @return tabGroupLabels **/ @ApiModelProperty(example = "null", value = "") - public String getGroupRule() { - return groupRule; + public java.util.List getTabGroupLabels() { + return tabGroupLabels; } - public void setGroupRule(String groupRule) { - this.groupRule = groupRule; + public void setTabGroupLabels(java.util.List tabGroupLabels) { + this.tabGroupLabels = tabGroupLabels; } - public TabGroup groupRuleMetadata(PropertyMetadata groupRuleMetadata) { - this.groupRuleMetadata = groupRuleMetadata; + public TabGroup tabGroupLabelsMetadata(PropertyMetadata tabGroupLabelsMetadata) { + this.tabGroupLabelsMetadata = tabGroupLabelsMetadata; return this; } /** - * Get groupRuleMetadata - * @return groupRuleMetadata + * Get tabGroupLabelsMetadata + * @return tabGroupLabelsMetadata **/ @ApiModelProperty(example = "null", value = "") - public PropertyMetadata getGroupRuleMetadata() { - return groupRuleMetadata; + public PropertyMetadata getTabGroupLabelsMetadata() { + return tabGroupLabelsMetadata; } - public void setGroupRuleMetadata(PropertyMetadata groupRuleMetadata) { - this.groupRuleMetadata = groupRuleMetadata; + public void setTabGroupLabelsMetadata(PropertyMetadata tabGroupLabelsMetadata) { + this.tabGroupLabelsMetadata = tabGroupLabelsMetadata; } - public TabGroup maximumAllowed(String maximumAllowed) { - this.maximumAllowed = maximumAllowed; + public TabGroup tabId(String tabId) { + this.tabId = tabId; return this; } /** - * - * @return maximumAllowed + * The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. + * @return tabId **/ - @ApiModelProperty(example = "null", value = "") - public String getMaximumAllowed() { - return maximumAllowed; + @ApiModelProperty(example = "null", value = "The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. ") + public String getTabId() { + return tabId; } - public void setMaximumAllowed(String maximumAllowed) { - this.maximumAllowed = maximumAllowed; + public void setTabId(String tabId) { + this.tabId = tabId; } - public TabGroup maximumAllowedMetadata(PropertyMetadata maximumAllowedMetadata) { - this.maximumAllowedMetadata = maximumAllowedMetadata; + public TabGroup tabIdMetadata(PropertyMetadata tabIdMetadata) { + this.tabIdMetadata = tabIdMetadata; return this; } /** - * Get maximumAllowedMetadata - * @return maximumAllowedMetadata + * Get tabIdMetadata + * @return tabIdMetadata **/ @ApiModelProperty(example = "null", value = "") - public PropertyMetadata getMaximumAllowedMetadata() { - return maximumAllowedMetadata; + public PropertyMetadata getTabIdMetadata() { + return tabIdMetadata; } - public void setMaximumAllowedMetadata(PropertyMetadata maximumAllowedMetadata) { - this.maximumAllowedMetadata = maximumAllowedMetadata; + public void setTabIdMetadata(PropertyMetadata tabIdMetadata) { + this.tabIdMetadata = tabIdMetadata; } - public TabGroup minimumRequired(String minimumRequired) { - this.minimumRequired = minimumRequired; + public TabGroup tabOrder(String tabOrder) { + this.tabOrder = tabOrder; return this; } /** * - * @return minimumRequired + * @return tabOrder **/ @ApiModelProperty(example = "null", value = "") - public String getMinimumRequired() { - return minimumRequired; + public String getTabOrder() { + return tabOrder; } - public void setMinimumRequired(String minimumRequired) { - this.minimumRequired = minimumRequired; + public void setTabOrder(String tabOrder) { + this.tabOrder = tabOrder; } - public TabGroup minimumRequiredMetadata(PropertyMetadata minimumRequiredMetadata) { - this.minimumRequiredMetadata = minimumRequiredMetadata; + public TabGroup tabOrderMetadata(PropertyMetadata tabOrderMetadata) { + this.tabOrderMetadata = tabOrderMetadata; return this; } /** - * Get minimumRequiredMetadata - * @return minimumRequiredMetadata + * Get tabOrderMetadata + * @return tabOrderMetadata **/ @ApiModelProperty(example = "null", value = "") - public PropertyMetadata getMinimumRequiredMetadata() { - return minimumRequiredMetadata; + public PropertyMetadata getTabOrderMetadata() { + return tabOrderMetadata; } - public void setMinimumRequiredMetadata(PropertyMetadata minimumRequiredMetadata) { - this.minimumRequiredMetadata = minimumRequiredMetadata; + public void setTabOrderMetadata(PropertyMetadata tabOrderMetadata) { + this.tabOrderMetadata = tabOrderMetadata; } - public TabGroup recipientId(String recipientId) { - this.recipientId = recipientId; + public TabGroup tabScope(String tabScope) { + this.tabScope = tabScope; return this; } /** - * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document. - * @return recipientId + * + * @return tabScope **/ - @ApiModelProperty(example = "null", value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") - public String getRecipientId() { - return recipientId; + @ApiModelProperty(example = "null", value = "") + public String getTabScope() { + return tabScope; } - public void setRecipientId(String recipientId) { - this.recipientId = recipientId; + public void setTabScope(String tabScope) { + this.tabScope = tabScope; } - public TabGroup recipientIdMetadata(PropertyMetadata recipientIdMetadata) { - this.recipientIdMetadata = recipientIdMetadata; + public TabGroup tabScopeMetadata(PropertyMetadata tabScopeMetadata) { + this.tabScopeMetadata = tabScopeMetadata; return this; } /** - * Get recipientIdMetadata - * @return recipientIdMetadata + * Get tabScopeMetadata + * @return tabScopeMetadata **/ @ApiModelProperty(example = "null", value = "") - public PropertyMetadata getRecipientIdMetadata() { - return recipientIdMetadata; + public PropertyMetadata getTabScopeMetadata() { + return tabScopeMetadata; } - public void setRecipientIdMetadata(PropertyMetadata recipientIdMetadata) { - this.recipientIdMetadata = recipientIdMetadata; + public void setTabScopeMetadata(PropertyMetadata tabScopeMetadata) { + this.tabScopeMetadata = tabScopeMetadata; } - public TabGroup tabId(String tabId) { - this.tabId = tabId; + public TabGroup tabType(String tabType) { + this.tabType = tabType; return this; } /** - * The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. - * @return tabId + * + * @return tabType **/ - @ApiModelProperty(example = "null", value = "The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. ") - public String getTabId() { - return tabId; + @ApiModelProperty(example = "null", value = "") + public String getTabType() { + return tabType; } - public void setTabId(String tabId) { - this.tabId = tabId; + public void setTabType(String tabType) { + this.tabType = tabType; } - public TabGroup tabIdMetadata(PropertyMetadata tabIdMetadata) { - this.tabIdMetadata = tabIdMetadata; + public TabGroup tabTypeMetadata(PropertyMetadata tabTypeMetadata) { + this.tabTypeMetadata = tabTypeMetadata; return this; } /** - * Get tabIdMetadata - * @return tabIdMetadata + * Get tabTypeMetadata + * @return tabTypeMetadata **/ @ApiModelProperty(example = "null", value = "") - public PropertyMetadata getTabIdMetadata() { - return tabIdMetadata; + public PropertyMetadata getTabTypeMetadata() { + return tabTypeMetadata; } - public void setTabIdMetadata(PropertyMetadata tabIdMetadata) { - this.tabIdMetadata = tabIdMetadata; + public void setTabTypeMetadata(PropertyMetadata tabTypeMetadata) { + this.tabTypeMetadata = tabTypeMetadata; } public TabGroup templateLocked(String templateLocked) { @@ -423,6 +1456,42 @@ public void setTemplateRequiredMetadata(PropertyMetadata templateRequiredMetadat this.templateRequiredMetadata = templateRequiredMetadata; } + public TabGroup tooltip(String tooltip) { + this.tooltip = tooltip; + return this; + } + + /** + * + * @return tooltip + **/ + @ApiModelProperty(example = "null", value = "") + public String getTooltip() { + return tooltip; + } + + public void setTooltip(String tooltip) { + this.tooltip = tooltip; + } + + public TabGroup toolTipMetadata(PropertyMetadata toolTipMetadata) { + this.toolTipMetadata = toolTipMetadata; + return this; + } + + /** + * Get toolTipMetadata + * @return toolTipMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getToolTipMetadata() { + return toolTipMetadata; + } + + public void setToolTipMetadata(PropertyMetadata toolTipMetadata) { + this.toolTipMetadata = toolTipMetadata; + } + public TabGroup validationMessage(String validationMessage) { this.validationMessage = validationMessage; return this; @@ -459,6 +1528,114 @@ public void setValidationMessageMetadata(PropertyMetadata validationMessageMetad this.validationMessageMetadata = validationMessageMetadata; } + public TabGroup width(String width) { + this.width = width; + return this; + } + + /** + * Width of the tab in pixels. + * @return width + **/ + @ApiModelProperty(example = "null", value = "Width of the tab in pixels.") + public String getWidth() { + return width; + } + + public void setWidth(String width) { + this.width = width; + } + + public TabGroup widthMetadata(PropertyMetadata widthMetadata) { + this.widthMetadata = widthMetadata; + return this; + } + + /** + * Get widthMetadata + * @return widthMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getWidthMetadata() { + return widthMetadata; + } + + public void setWidthMetadata(PropertyMetadata widthMetadata) { + this.widthMetadata = widthMetadata; + } + + public TabGroup xPosition(String xPosition) { + this.xPosition = xPosition; + return this; + } + + /** + * This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position. + * @return xPosition + **/ + @ApiModelProperty(example = "null", value = "This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.") + public String getXPosition() { + return xPosition; + } + + public void setXPosition(String xPosition) { + this.xPosition = xPosition; + } + + public TabGroup xPositionMetadata(PropertyMetadata xPositionMetadata) { + this.xPositionMetadata = xPositionMetadata; + return this; + } + + /** + * Get xPositionMetadata + * @return xPositionMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getXPositionMetadata() { + return xPositionMetadata; + } + + public void setXPositionMetadata(PropertyMetadata xPositionMetadata) { + this.xPositionMetadata = xPositionMetadata; + } + + public TabGroup yPosition(String yPosition) { + this.yPosition = yPosition; + return this; + } + + /** + * This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position. + * @return yPosition + **/ + @ApiModelProperty(example = "null", value = "This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.") + public String getYPosition() { + return yPosition; + } + + public void setYPosition(String yPosition) { + this.yPosition = yPosition; + } + + public TabGroup yPositionMetadata(PropertyMetadata yPositionMetadata) { + this.yPositionMetadata = yPositionMetadata; + return this; + } + + /** + * Get yPositionMetadata + * @return yPositionMetadata + **/ + @ApiModelProperty(example = "null", value = "") + public PropertyMetadata getYPositionMetadata() { + return yPositionMetadata; + } + + public void setYPositionMetadata(PropertyMetadata yPositionMetadata) { + this.yPositionMetadata = yPositionMetadata; + } + @Override public boolean equals(java.lang.Object o) { @@ -469,32 +1646,88 @@ public boolean equals(java.lang.Object o) { return false; } TabGroup tabGroup = (TabGroup) o; - return Objects.equals(this.childTabLabels, tabGroup.childTabLabels) && - Objects.equals(this.childTabLabelsMetadata, tabGroup.childTabLabelsMetadata) && + return Objects.equals(this.anchorCaseSensitive, tabGroup.anchorCaseSensitive) && + Objects.equals(this.anchorCaseSensitiveMetadata, tabGroup.anchorCaseSensitiveMetadata) && + Objects.equals(this.anchorHorizontalAlignment, tabGroup.anchorHorizontalAlignment) && + Objects.equals(this.anchorHorizontalAlignmentMetadata, tabGroup.anchorHorizontalAlignmentMetadata) && + Objects.equals(this.anchorIgnoreIfNotPresent, tabGroup.anchorIgnoreIfNotPresent) && + Objects.equals(this.anchorIgnoreIfNotPresentMetadata, tabGroup.anchorIgnoreIfNotPresentMetadata) && + Objects.equals(this.anchorMatchWholeWord, tabGroup.anchorMatchWholeWord) && + Objects.equals(this.anchorMatchWholeWordMetadata, tabGroup.anchorMatchWholeWordMetadata) && + Objects.equals(this.anchorString, tabGroup.anchorString) && + Objects.equals(this.anchorStringMetadata, tabGroup.anchorStringMetadata) && + Objects.equals(this.anchorTabProcessorVersion, tabGroup.anchorTabProcessorVersion) && + Objects.equals(this.anchorTabProcessorVersionMetadata, tabGroup.anchorTabProcessorVersionMetadata) && + Objects.equals(this.anchorUnits, tabGroup.anchorUnits) && + Objects.equals(this.anchorUnitsMetadata, tabGroup.anchorUnitsMetadata) && + Objects.equals(this.anchorXOffset, tabGroup.anchorXOffset) && + Objects.equals(this.anchorXOffsetMetadata, tabGroup.anchorXOffsetMetadata) && + Objects.equals(this.anchorYOffset, tabGroup.anchorYOffset) && + Objects.equals(this.anchorYOffsetMetadata, tabGroup.anchorYOffsetMetadata) && + Objects.equals(this.conditionalParentLabel, tabGroup.conditionalParentLabel) && + Objects.equals(this.conditionalParentLabelMetadata, tabGroup.conditionalParentLabelMetadata) && + Objects.equals(this.conditionalParentValue, tabGroup.conditionalParentValue) && + Objects.equals(this.conditionalParentValueMetadata, tabGroup.conditionalParentValueMetadata) && + Objects.equals(this.customTabId, tabGroup.customTabId) && + Objects.equals(this.customTabIdMetadata, tabGroup.customTabIdMetadata) && + Objects.equals(this.documentId, tabGroup.documentId) && + Objects.equals(this.documentIdMetadata, tabGroup.documentIdMetadata) && Objects.equals(this.errorDetails, tabGroup.errorDetails) && + Objects.equals(this.formOrder, tabGroup.formOrder) && + Objects.equals(this.formOrderMetadata, tabGroup.formOrderMetadata) && + Objects.equals(this.formPageLabel, tabGroup.formPageLabel) && + Objects.equals(this.formPageLabelMetadata, tabGroup.formPageLabelMetadata) && + Objects.equals(this.formPageNumber, tabGroup.formPageNumber) && + Objects.equals(this.formPageNumberMetadata, tabGroup.formPageNumberMetadata) && Objects.equals(this.groupLabel, tabGroup.groupLabel) && Objects.equals(this.groupLabelMetadata, tabGroup.groupLabelMetadata) && Objects.equals(this.groupRule, tabGroup.groupRule) && Objects.equals(this.groupRuleMetadata, tabGroup.groupRuleMetadata) && + Objects.equals(this.height, tabGroup.height) && + Objects.equals(this.heightMetadata, tabGroup.heightMetadata) && Objects.equals(this.maximumAllowed, tabGroup.maximumAllowed) && Objects.equals(this.maximumAllowedMetadata, tabGroup.maximumAllowedMetadata) && + Objects.equals(this.mergeField, tabGroup.mergeField) && + Objects.equals(this.mergeFieldXml, tabGroup.mergeFieldXml) && Objects.equals(this.minimumRequired, tabGroup.minimumRequired) && Objects.equals(this.minimumRequiredMetadata, tabGroup.minimumRequiredMetadata) && + Objects.equals(this.pageNumber, tabGroup.pageNumber) && + Objects.equals(this.pageNumberMetadata, tabGroup.pageNumberMetadata) && Objects.equals(this.recipientId, tabGroup.recipientId) && + Objects.equals(this.recipientIdGuid, tabGroup.recipientIdGuid) && + Objects.equals(this.recipientIdGuidMetadata, tabGroup.recipientIdGuidMetadata) && Objects.equals(this.recipientIdMetadata, tabGroup.recipientIdMetadata) && + Objects.equals(this.status, tabGroup.status) && + Objects.equals(this.statusMetadata, tabGroup.statusMetadata) && + Objects.equals(this.tabGroupLabels, tabGroup.tabGroupLabels) && + Objects.equals(this.tabGroupLabelsMetadata, tabGroup.tabGroupLabelsMetadata) && Objects.equals(this.tabId, tabGroup.tabId) && Objects.equals(this.tabIdMetadata, tabGroup.tabIdMetadata) && + Objects.equals(this.tabOrder, tabGroup.tabOrder) && + Objects.equals(this.tabOrderMetadata, tabGroup.tabOrderMetadata) && + Objects.equals(this.tabScope, tabGroup.tabScope) && + Objects.equals(this.tabScopeMetadata, tabGroup.tabScopeMetadata) && + Objects.equals(this.tabType, tabGroup.tabType) && + Objects.equals(this.tabTypeMetadata, tabGroup.tabTypeMetadata) && Objects.equals(this.templateLocked, tabGroup.templateLocked) && Objects.equals(this.templateLockedMetadata, tabGroup.templateLockedMetadata) && Objects.equals(this.templateRequired, tabGroup.templateRequired) && Objects.equals(this.templateRequiredMetadata, tabGroup.templateRequiredMetadata) && + Objects.equals(this.tooltip, tabGroup.tooltip) && + Objects.equals(this.toolTipMetadata, tabGroup.toolTipMetadata) && Objects.equals(this.validationMessage, tabGroup.validationMessage) && - Objects.equals(this.validationMessageMetadata, tabGroup.validationMessageMetadata); + Objects.equals(this.validationMessageMetadata, tabGroup.validationMessageMetadata) && + Objects.equals(this.width, tabGroup.width) && + Objects.equals(this.widthMetadata, tabGroup.widthMetadata) && + Objects.equals(this.xPosition, tabGroup.xPosition) && + Objects.equals(this.xPositionMetadata, tabGroup.xPositionMetadata) && + Objects.equals(this.yPosition, tabGroup.yPosition) && + Objects.equals(this.yPositionMetadata, tabGroup.yPositionMetadata); } @Override public int hashCode() { - return Objects.hash(childTabLabels, childTabLabelsMetadata, errorDetails, groupLabel, groupLabelMetadata, groupRule, groupRuleMetadata, maximumAllowed, maximumAllowedMetadata, minimumRequired, minimumRequiredMetadata, recipientId, recipientIdMetadata, tabId, tabIdMetadata, templateLocked, templateLockedMetadata, templateRequired, templateRequiredMetadata, validationMessage, validationMessageMetadata); + return Objects.hash(anchorCaseSensitive, anchorCaseSensitiveMetadata, anchorHorizontalAlignment, anchorHorizontalAlignmentMetadata, anchorIgnoreIfNotPresent, anchorIgnoreIfNotPresentMetadata, anchorMatchWholeWord, anchorMatchWholeWordMetadata, anchorString, anchorStringMetadata, anchorTabProcessorVersion, anchorTabProcessorVersionMetadata, anchorUnits, anchorUnitsMetadata, anchorXOffset, anchorXOffsetMetadata, anchorYOffset, anchorYOffsetMetadata, conditionalParentLabel, conditionalParentLabelMetadata, conditionalParentValue, conditionalParentValueMetadata, customTabId, customTabIdMetadata, documentId, documentIdMetadata, errorDetails, formOrder, formOrderMetadata, formPageLabel, formPageLabelMetadata, formPageNumber, formPageNumberMetadata, groupLabel, groupLabelMetadata, groupRule, groupRuleMetadata, height, heightMetadata, maximumAllowed, maximumAllowedMetadata, mergeField, mergeFieldXml, minimumRequired, minimumRequiredMetadata, pageNumber, pageNumberMetadata, recipientId, recipientIdGuid, recipientIdGuidMetadata, recipientIdMetadata, status, statusMetadata, tabGroupLabels, tabGroupLabelsMetadata, tabId, tabIdMetadata, tabOrder, tabOrderMetadata, tabScope, tabScopeMetadata, tabType, tabTypeMetadata, templateLocked, templateLockedMetadata, templateRequired, templateRequiredMetadata, tooltip, toolTipMetadata, validationMessage, validationMessageMetadata, width, widthMetadata, xPosition, xPositionMetadata, yPosition, yPositionMetadata); } @@ -503,27 +1736,83 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class TabGroup {\n"); - sb.append(" childTabLabels: ").append(toIndentedString(childTabLabels)).append("\n"); - sb.append(" childTabLabelsMetadata: ").append(toIndentedString(childTabLabelsMetadata)).append("\n"); + sb.append(" anchorCaseSensitive: ").append(toIndentedString(anchorCaseSensitive)).append("\n"); + sb.append(" anchorCaseSensitiveMetadata: ").append(toIndentedString(anchorCaseSensitiveMetadata)).append("\n"); + sb.append(" anchorHorizontalAlignment: ").append(toIndentedString(anchorHorizontalAlignment)).append("\n"); + sb.append(" anchorHorizontalAlignmentMetadata: ").append(toIndentedString(anchorHorizontalAlignmentMetadata)).append("\n"); + sb.append(" anchorIgnoreIfNotPresent: ").append(toIndentedString(anchorIgnoreIfNotPresent)).append("\n"); + sb.append(" anchorIgnoreIfNotPresentMetadata: ").append(toIndentedString(anchorIgnoreIfNotPresentMetadata)).append("\n"); + sb.append(" anchorMatchWholeWord: ").append(toIndentedString(anchorMatchWholeWord)).append("\n"); + sb.append(" anchorMatchWholeWordMetadata: ").append(toIndentedString(anchorMatchWholeWordMetadata)).append("\n"); + sb.append(" anchorString: ").append(toIndentedString(anchorString)).append("\n"); + sb.append(" anchorStringMetadata: ").append(toIndentedString(anchorStringMetadata)).append("\n"); + sb.append(" anchorTabProcessorVersion: ").append(toIndentedString(anchorTabProcessorVersion)).append("\n"); + sb.append(" anchorTabProcessorVersionMetadata: ").append(toIndentedString(anchorTabProcessorVersionMetadata)).append("\n"); + sb.append(" anchorUnits: ").append(toIndentedString(anchorUnits)).append("\n"); + sb.append(" anchorUnitsMetadata: ").append(toIndentedString(anchorUnitsMetadata)).append("\n"); + sb.append(" anchorXOffset: ").append(toIndentedString(anchorXOffset)).append("\n"); + sb.append(" anchorXOffsetMetadata: ").append(toIndentedString(anchorXOffsetMetadata)).append("\n"); + sb.append(" anchorYOffset: ").append(toIndentedString(anchorYOffset)).append("\n"); + sb.append(" anchorYOffsetMetadata: ").append(toIndentedString(anchorYOffsetMetadata)).append("\n"); + sb.append(" conditionalParentLabel: ").append(toIndentedString(conditionalParentLabel)).append("\n"); + sb.append(" conditionalParentLabelMetadata: ").append(toIndentedString(conditionalParentLabelMetadata)).append("\n"); + sb.append(" conditionalParentValue: ").append(toIndentedString(conditionalParentValue)).append("\n"); + sb.append(" conditionalParentValueMetadata: ").append(toIndentedString(conditionalParentValueMetadata)).append("\n"); + sb.append(" customTabId: ").append(toIndentedString(customTabId)).append("\n"); + sb.append(" customTabIdMetadata: ").append(toIndentedString(customTabIdMetadata)).append("\n"); + sb.append(" documentId: ").append(toIndentedString(documentId)).append("\n"); + sb.append(" documentIdMetadata: ").append(toIndentedString(documentIdMetadata)).append("\n"); sb.append(" errorDetails: ").append(toIndentedString(errorDetails)).append("\n"); + sb.append(" formOrder: ").append(toIndentedString(formOrder)).append("\n"); + sb.append(" formOrderMetadata: ").append(toIndentedString(formOrderMetadata)).append("\n"); + sb.append(" formPageLabel: ").append(toIndentedString(formPageLabel)).append("\n"); + sb.append(" formPageLabelMetadata: ").append(toIndentedString(formPageLabelMetadata)).append("\n"); + sb.append(" formPageNumber: ").append(toIndentedString(formPageNumber)).append("\n"); + sb.append(" formPageNumberMetadata: ").append(toIndentedString(formPageNumberMetadata)).append("\n"); sb.append(" groupLabel: ").append(toIndentedString(groupLabel)).append("\n"); sb.append(" groupLabelMetadata: ").append(toIndentedString(groupLabelMetadata)).append("\n"); sb.append(" groupRule: ").append(toIndentedString(groupRule)).append("\n"); sb.append(" groupRuleMetadata: ").append(toIndentedString(groupRuleMetadata)).append("\n"); + sb.append(" height: ").append(toIndentedString(height)).append("\n"); + sb.append(" heightMetadata: ").append(toIndentedString(heightMetadata)).append("\n"); sb.append(" maximumAllowed: ").append(toIndentedString(maximumAllowed)).append("\n"); sb.append(" maximumAllowedMetadata: ").append(toIndentedString(maximumAllowedMetadata)).append("\n"); + sb.append(" mergeField: ").append(toIndentedString(mergeField)).append("\n"); + sb.append(" mergeFieldXml: ").append(toIndentedString(mergeFieldXml)).append("\n"); sb.append(" minimumRequired: ").append(toIndentedString(minimumRequired)).append("\n"); sb.append(" minimumRequiredMetadata: ").append(toIndentedString(minimumRequiredMetadata)).append("\n"); + sb.append(" pageNumber: ").append(toIndentedString(pageNumber)).append("\n"); + sb.append(" pageNumberMetadata: ").append(toIndentedString(pageNumberMetadata)).append("\n"); sb.append(" recipientId: ").append(toIndentedString(recipientId)).append("\n"); + sb.append(" recipientIdGuid: ").append(toIndentedString(recipientIdGuid)).append("\n"); + sb.append(" recipientIdGuidMetadata: ").append(toIndentedString(recipientIdGuidMetadata)).append("\n"); sb.append(" recipientIdMetadata: ").append(toIndentedString(recipientIdMetadata)).append("\n"); + sb.append(" status: ").append(toIndentedString(status)).append("\n"); + sb.append(" statusMetadata: ").append(toIndentedString(statusMetadata)).append("\n"); + sb.append(" tabGroupLabels: ").append(toIndentedString(tabGroupLabels)).append("\n"); + sb.append(" tabGroupLabelsMetadata: ").append(toIndentedString(tabGroupLabelsMetadata)).append("\n"); sb.append(" tabId: ").append(toIndentedString(tabId)).append("\n"); sb.append(" tabIdMetadata: ").append(toIndentedString(tabIdMetadata)).append("\n"); + sb.append(" tabOrder: ").append(toIndentedString(tabOrder)).append("\n"); + sb.append(" tabOrderMetadata: ").append(toIndentedString(tabOrderMetadata)).append("\n"); + sb.append(" tabScope: ").append(toIndentedString(tabScope)).append("\n"); + sb.append(" tabScopeMetadata: ").append(toIndentedString(tabScopeMetadata)).append("\n"); + sb.append(" tabType: ").append(toIndentedString(tabType)).append("\n"); + sb.append(" tabTypeMetadata: ").append(toIndentedString(tabTypeMetadata)).append("\n"); sb.append(" templateLocked: ").append(toIndentedString(templateLocked)).append("\n"); sb.append(" templateLockedMetadata: ").append(toIndentedString(templateLockedMetadata)).append("\n"); sb.append(" templateRequired: ").append(toIndentedString(templateRequired)).append("\n"); sb.append(" templateRequiredMetadata: ").append(toIndentedString(templateRequiredMetadata)).append("\n"); + sb.append(" tooltip: ").append(toIndentedString(tooltip)).append("\n"); + sb.append(" toolTipMetadata: ").append(toIndentedString(toolTipMetadata)).append("\n"); sb.append(" validationMessage: ").append(toIndentedString(validationMessage)).append("\n"); sb.append(" validationMessageMetadata: ").append(toIndentedString(validationMessageMetadata)).append("\n"); + sb.append(" width: ").append(toIndentedString(width)).append("\n"); + sb.append(" widthMetadata: ").append(toIndentedString(widthMetadata)).append("\n"); + sb.append(" xPosition: ").append(toIndentedString(xPosition)).append("\n"); + sb.append(" xPositionMetadata: ").append(toIndentedString(xPositionMetadata)).append("\n"); + sb.append(" yPosition: ").append(toIndentedString(yPosition)).append("\n"); + sb.append(" yPositionMetadata: ").append(toIndentedString(yPositionMetadata)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/com/docusign/esign/model/TabMetadata.java b/src/main/java/com/docusign/esign/model/TabMetadata.java index acd5e030..a64a58bc 100644 --- a/src/main/java/com/docusign/esign/model/TabMetadata.java +++ b/src/main/java/com/docusign/esign/model/TabMetadata.java @@ -1,15 +1,18 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.MergeField; import com.docusign.esign.model.PropertyMetadata; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * TabMetadata + * TabMetadata. + * */ public class TabMetadata { @@ -40,6 +43,9 @@ public class TabMetadata { @JsonProperty("bold") private String bold = null; + @JsonProperty("collaborative") + private String collaborative = null; + @JsonProperty("concealValueOnDocument") private String concealValueOnDocument = null; @@ -80,7 +86,7 @@ public class TabMetadata { private String italic = null; @JsonProperty("items") - private java.util.List items = new java.util.ArrayList(); + private java.util.List items = null; @JsonProperty("lastModified") private String lastModified = null; @@ -112,9 +118,15 @@ public class TabMetadata { @JsonProperty("paymentItemName") private String paymentItemName = null; + @JsonProperty("requireAll") + private String requireAll = null; + @JsonProperty("required") private String required = null; + @JsonProperty("requireInitialOnSharedChange") + private String requireInitialOnSharedChange = null; + @JsonProperty("scaleValue") private String scaleValue = null; @@ -148,822 +160,1321 @@ public class TabMetadata { @JsonProperty("width") private String width = null; + + /** + * anchor. + * + * @return TabMetadata + **/ public TabMetadata anchor(String anchor) { this.anchor = anchor; return this; } - /** - * An optional string that is used to auto-match tabs to strings located in the documents of an envelope. + /** + * An optional string that is used to auto-match tabs to strings located in the documents of an envelope.. * @return anchor - **/ - @ApiModelProperty(example = "null", value = "An optional string that is used to auto-match tabs to strings located in the documents of an envelope.") + **/ + @ApiModelProperty(value = "An optional string that is used to auto-match tabs to strings located in the documents of an envelope.") public String getAnchor() { return anchor; } + /** + * setAnchor. + **/ public void setAnchor(String anchor) { this.anchor = anchor; } + + /** + * anchorCaseSensitive. + * + * @return TabMetadata + **/ public TabMetadata anchorCaseSensitive(String anchorCaseSensitive) { this.anchorCaseSensitive = anchorCaseSensitive; return this; } - /** - * When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**. + /** + * When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.. * @return anchorCaseSensitive - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.") + **/ + @ApiModelProperty(value = "When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.") public String getAnchorCaseSensitive() { return anchorCaseSensitive; } + /** + * setAnchorCaseSensitive. + **/ public void setAnchorCaseSensitive(String anchorCaseSensitive) { this.anchorCaseSensitive = anchorCaseSensitive; } + + /** + * anchorHorizontalAlignment. + * + * @return TabMetadata + **/ public TabMetadata anchorHorizontalAlignment(String anchorHorizontalAlignment) { this.anchorHorizontalAlignment = anchorHorizontalAlignment; return this; } - /** - * Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**. + /** + * Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.. * @return anchorHorizontalAlignment - **/ - @ApiModelProperty(example = "null", value = "Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.") + **/ + @ApiModelProperty(value = "Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.") public String getAnchorHorizontalAlignment() { return anchorHorizontalAlignment; } + /** + * setAnchorHorizontalAlignment. + **/ public void setAnchorHorizontalAlignment(String anchorHorizontalAlignment) { this.anchorHorizontalAlignment = anchorHorizontalAlignment; } + + /** + * anchorIgnoreIfNotPresent. + * + * @return TabMetadata + **/ public TabMetadata anchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { this.anchorIgnoreIfNotPresent = anchorIgnoreIfNotPresent; return this; } - /** - * When set to **true**, this tab is ignored if anchorString is not found in the document. + /** + * When set to **true**, this tab is ignored if anchorString is not found in the document.. * @return anchorIgnoreIfNotPresent - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, this tab is ignored if anchorString is not found in the document.") + **/ + @ApiModelProperty(value = "When set to **true**, this tab is ignored if anchorString is not found in the document.") public String getAnchorIgnoreIfNotPresent() { return anchorIgnoreIfNotPresent; } + /** + * setAnchorIgnoreIfNotPresent. + **/ public void setAnchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { this.anchorIgnoreIfNotPresent = anchorIgnoreIfNotPresent; } + + /** + * anchorMatchWholeWord. + * + * @return TabMetadata + **/ public TabMetadata anchorMatchWholeWord(String anchorMatchWholeWord) { this.anchorMatchWholeWord = anchorMatchWholeWord; return this; } - /** - * When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**. + /** + * When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.. * @return anchorMatchWholeWord - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.") + **/ + @ApiModelProperty(value = "When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.") public String getAnchorMatchWholeWord() { return anchorMatchWholeWord; } + /** + * setAnchorMatchWholeWord. + **/ public void setAnchorMatchWholeWord(String anchorMatchWholeWord) { this.anchorMatchWholeWord = anchorMatchWholeWord; } + + /** + * anchorUnits. + * + * @return TabMetadata + **/ public TabMetadata anchorUnits(String anchorUnits) { this.anchorUnits = anchorUnits; return this; } - /** - * Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. + /** + * Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. * @return anchorUnits - **/ - @ApiModelProperty(example = "null", value = "Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.") + **/ + @ApiModelProperty(value = "Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.") public String getAnchorUnits() { return anchorUnits; } + /** + * setAnchorUnits. + **/ public void setAnchorUnits(String anchorUnits) { this.anchorUnits = anchorUnits; } + + /** + * anchorXOffset. + * + * @return TabMetadata + **/ public TabMetadata anchorXOffset(String anchorXOffset) { this.anchorXOffset = anchorXOffset; return this; } - /** - * Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString. + /** + * Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. * @return anchorXOffset - **/ - @ApiModelProperty(example = "null", value = "Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.") + **/ + @ApiModelProperty(value = "Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.") public String getAnchorXOffset() { return anchorXOffset; } + /** + * setAnchorXOffset. + **/ public void setAnchorXOffset(String anchorXOffset) { this.anchorXOffset = anchorXOffset; } + + /** + * anchorYOffset. + * + * @return TabMetadata + **/ public TabMetadata anchorYOffset(String anchorYOffset) { this.anchorYOffset = anchorYOffset; return this; } - /** - * Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString. + /** + * Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.. * @return anchorYOffset - **/ - @ApiModelProperty(example = "null", value = "Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.") + **/ + @ApiModelProperty(value = "Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.") public String getAnchorYOffset() { return anchorYOffset; } + /** + * setAnchorYOffset. + **/ public void setAnchorYOffset(String anchorYOffset) { this.anchorYOffset = anchorYOffset; } + + /** + * bold. + * + * @return TabMetadata + **/ public TabMetadata bold(String bold) { this.bold = bold; return this; } - /** - * When set to **true**, the information in the tab is bold. + /** + * When set to **true**, the information in the tab is bold.. * @return bold - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is bold.") + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is bold.") public String getBold() { return bold; } + /** + * setBold. + **/ public void setBold(String bold) { this.bold = bold; } + + /** + * collaborative. + * + * @return TabMetadata + **/ + public TabMetadata collaborative(String collaborative) { + this.collaborative = collaborative; + return this; + } + + /** + * . + * @return collaborative + **/ + @ApiModelProperty(value = "") + public String getCollaborative() { + return collaborative; + } + + /** + * setCollaborative. + **/ + public void setCollaborative(String collaborative) { + this.collaborative = collaborative; + } + + + /** + * concealValueOnDocument. + * + * @return TabMetadata + **/ public TabMetadata concealValueOnDocument(String concealValueOnDocument) { this.concealValueOnDocument = concealValueOnDocument; return this; } - /** - * When set to **true**, the field appears normally while the recipient is adding or modifying the information in the field, but the data is not visible (the characters are hidden by asterisks) to any other signer or the sender. When an envelope is completed the information is available to the sender through the Form Data link in the DocuSign Console. This setting applies only to text boxes and does not affect list boxes, radio buttons, or check boxes. + /** + * When set to **true**, the field appears normally while the recipient is adding or modifying the information in the field, but the data is not visible (the characters are hidden by asterisks) to any other signer or the sender. When an envelope is completed the information is available to the sender through the Form Data link in the DocuSign Console. This setting applies only to text boxes and does not affect list boxes, radio buttons, or check boxes.. * @return concealValueOnDocument - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the field appears normally while the recipient is adding or modifying the information in the field, but the data is not visible (the characters are hidden by asterisks) to any other signer or the sender. When an envelope is completed the information is available to the sender through the Form Data link in the DocuSign Console. This setting applies only to text boxes and does not affect list boxes, radio buttons, or check boxes.") + **/ + @ApiModelProperty(value = "When set to **true**, the field appears normally while the recipient is adding or modifying the information in the field, but the data is not visible (the characters are hidden by asterisks) to any other signer or the sender. When an envelope is completed the information is available to the sender through the Form Data link in the DocuSign Console. This setting applies only to text boxes and does not affect list boxes, radio buttons, or check boxes.") public String getConcealValueOnDocument() { return concealValueOnDocument; } + /** + * setConcealValueOnDocument. + **/ public void setConcealValueOnDocument(String concealValueOnDocument) { this.concealValueOnDocument = concealValueOnDocument; } + + /** + * createdByDisplayName. + * + * @return TabMetadata + **/ public TabMetadata createdByDisplayName(String createdByDisplayName) { this.createdByDisplayName = createdByDisplayName; return this; } - /** - * The user name of the DocuSign user who created this object. + /** + * The user name of the DocuSign user who created this object.. * @return createdByDisplayName - **/ - @ApiModelProperty(example = "null", value = "The user name of the DocuSign user who created this object.") + **/ + @ApiModelProperty(value = "The user name of the DocuSign user who created this object.") public String getCreatedByDisplayName() { return createdByDisplayName; } + /** + * setCreatedByDisplayName. + **/ public void setCreatedByDisplayName(String createdByDisplayName) { this.createdByDisplayName = createdByDisplayName; } + + /** + * createdByUserId. + * + * @return TabMetadata + **/ public TabMetadata createdByUserId(String createdByUserId) { this.createdByUserId = createdByUserId; return this; } - /** - * The userId of the DocuSign user who created this object. + /** + * The userId of the DocuSign user who created this object.. * @return createdByUserId - **/ - @ApiModelProperty(example = "null", value = "The userId of the DocuSign user who created this object.") + **/ + @ApiModelProperty(value = "The userId of the DocuSign user who created this object.") public String getCreatedByUserId() { return createdByUserId; } + /** + * setCreatedByUserId. + **/ public void setCreatedByUserId(String createdByUserId) { this.createdByUserId = createdByUserId; } + + /** + * customTabId. + * + * @return TabMetadata + **/ public TabMetadata customTabId(String customTabId) { this.customTabId = customTabId; return this; } - /** - * The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties. + /** + * The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.. * @return customTabId - **/ - @ApiModelProperty(example = "null", value = "The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.") + **/ + @ApiModelProperty(value = "The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.") public String getCustomTabId() { return customTabId; } + /** + * setCustomTabId. + **/ public void setCustomTabId(String customTabId) { this.customTabId = customTabId; } + + /** + * disableAutoSize. + * + * @return TabMetadata + **/ public TabMetadata disableAutoSize(String disableAutoSize) { this.disableAutoSize = disableAutoSize; return this; } - /** - * When set to **true**, disables the auto sizing of single line text boxes in the signing screen when the signer enters data. If disabled users will only be able enter as much data as the text box can hold. By default this is false. This property only affects single line text boxes. + /** + * When set to **true**, disables the auto sizing of single line text boxes in the signing screen when the signer enters data. If disabled users will only be able enter as much data as the text box can hold. By default this is false. This property only affects single line text boxes.. * @return disableAutoSize - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, disables the auto sizing of single line text boxes in the signing screen when the signer enters data. If disabled users will only be able enter as much data as the text box can hold. By default this is false. This property only affects single line text boxes.") + **/ + @ApiModelProperty(value = "When set to **true**, disables the auto sizing of single line text boxes in the signing screen when the signer enters data. If disabled users will only be able enter as much data as the text box can hold. By default this is false. This property only affects single line text boxes.") public String getDisableAutoSize() { return disableAutoSize; } + /** + * setDisableAutoSize. + **/ public void setDisableAutoSize(String disableAutoSize) { this.disableAutoSize = disableAutoSize; } + + /** + * editable. + * + * @return TabMetadata + **/ public TabMetadata editable(String editable) { this.editable = editable; return this; } - /** - * When set to **true**, the custom tab is editable. Otherwise the custom tab cannot be modified. + /** + * When set to **true**, the custom tab is editable. Otherwise the custom tab cannot be modified.. * @return editable - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the custom tab is editable. Otherwise the custom tab cannot be modified.") + **/ + @ApiModelProperty(value = "When set to **true**, the custom tab is editable. Otherwise the custom tab cannot be modified.") public String getEditable() { return editable; } + /** + * setEditable. + **/ public void setEditable(String editable) { this.editable = editable; } + + /** + * font. + * + * @return TabMetadata + **/ public TabMetadata font(String font) { this.font = font; return this; } - /** - * The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default. + /** + * The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.. * @return font - **/ - @ApiModelProperty(example = "null", value = "The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.") + **/ + @ApiModelProperty(value = "The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.") public String getFont() { return font; } + /** + * setFont. + **/ public void setFont(String font) { this.font = font; } + + /** + * fontColor. + * + * @return TabMetadata + **/ public TabMetadata fontColor(String fontColor) { this.fontColor = fontColor; return this; } - /** - * The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White. + /** + * The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.. * @return fontColor - **/ - @ApiModelProperty(example = "null", value = "The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.") + **/ + @ApiModelProperty(value = "The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.") public String getFontColor() { return fontColor; } + /** + * setFontColor. + **/ public void setFontColor(String fontColor) { this.fontColor = fontColor; } + + /** + * fontSize. + * + * @return TabMetadata + **/ public TabMetadata fontSize(String fontSize) { this.fontSize = fontSize; return this; } - /** - * The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72. + /** + * The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.. * @return fontSize - **/ - @ApiModelProperty(example = "null", value = "The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.") + **/ + @ApiModelProperty(value = "The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.") public String getFontSize() { return fontSize; } + /** + * setFontSize. + **/ public void setFontSize(String fontSize) { this.fontSize = fontSize; } + + /** + * height. + * + * @return TabMetadata + **/ public TabMetadata height(String height) { this.height = height; return this; } - /** - * Height of the tab in pixels. + /** + * Height of the tab in pixels.. * @return height - **/ - @ApiModelProperty(example = "null", value = "Height of the tab in pixels.") + **/ + @ApiModelProperty(value = "Height of the tab in pixels.") public String getHeight() { return height; } + /** + * setHeight. + **/ public void setHeight(String height) { this.height = height; } + + /** + * includedInEmail. + * + * @return TabMetadata + **/ public TabMetadata includedInEmail(String includedInEmail) { this.includedInEmail = includedInEmail; return this; } - /** - * When set to **true**, the tab is included in e-mails related to the envelope on which it exists. This applies to only specific tabs. + /** + * When set to **true**, the tab is included in e-mails related to the envelope on which it exists. This applies to only specific tabs.. * @return includedInEmail - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the tab is included in e-mails related to the envelope on which it exists. This applies to only specific tabs.") + **/ + @ApiModelProperty(value = "When set to **true**, the tab is included in e-mails related to the envelope on which it exists. This applies to only specific tabs.") public String getIncludedInEmail() { return includedInEmail; } + /** + * setIncludedInEmail. + **/ public void setIncludedInEmail(String includedInEmail) { this.includedInEmail = includedInEmail; } + + /** + * initialValue. + * + * @return TabMetadata + **/ public TabMetadata initialValue(String initialValue) { this.initialValue = initialValue; return this; } - /** - * The original value of the tab. + /** + * The original value of the tab.. * @return initialValue - **/ - @ApiModelProperty(example = "null", value = "The original value of the tab.") + **/ + @ApiModelProperty(value = "The original value of the tab.") public String getInitialValue() { return initialValue; } + /** + * setInitialValue. + **/ public void setInitialValue(String initialValue) { this.initialValue = initialValue; } + + /** + * italic. + * + * @return TabMetadata + **/ public TabMetadata italic(String italic) { this.italic = italic; return this; } - /** - * When set to **true**, the information in the tab is italic. + /** + * When set to **true**, the information in the tab is italic.. * @return italic - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is italic.") + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is italic.") public String getItalic() { return italic; } + /** + * setItalic. + **/ public void setItalic(String italic) { this.italic = italic; } + + /** + * items. + * + * @return TabMetadata + **/ public TabMetadata items(java.util.List items) { this.items = items; return this; } - + + /** + * addItemsItem. + * + * @return TabMetadata + **/ public TabMetadata addItemsItem(String itemsItem) { + if (this.items == null) { + this.items = new java.util.ArrayList(); + } this.items.add(itemsItem); return this; } - /** - * If the tab is a list, this represents the values that are possible for the tab. + /** + * If the tab is a list, this represents the values that are possible for the tab.. * @return items - **/ - @ApiModelProperty(example = "null", value = "If the tab is a list, this represents the values that are possible for the tab.") + **/ + @ApiModelProperty(value = "If the tab is a list, this represents the values that are possible for the tab.") public java.util.List getItems() { return items; } + /** + * setItems. + **/ public void setItems(java.util.List items) { this.items = items; } + + /** + * lastModified. + * + * @return TabMetadata + **/ public TabMetadata lastModified(String lastModified) { this.lastModified = lastModified; return this; } - /** - * The UTC DateTime this object was last modified. This is in ISO8601 format. + /** + * The UTC DateTime this object was last modified. This is in ISO8601 format.. * @return lastModified - **/ - @ApiModelProperty(example = "null", value = "The UTC DateTime this object was last modified. This is in ISO8601 format.") + **/ + @ApiModelProperty(value = "The UTC DateTime this object was last modified. This is in ISO8601 format.") public String getLastModified() { return lastModified; } + /** + * setLastModified. + **/ public void setLastModified(String lastModified) { this.lastModified = lastModified; } + + /** + * lastModifiedByDisplayName. + * + * @return TabMetadata + **/ public TabMetadata lastModifiedByDisplayName(String lastModifiedByDisplayName) { this.lastModifiedByDisplayName = lastModifiedByDisplayName; return this; } - /** - * The User Name of the DocuSign user who last modified this object. + /** + * The User Name of the DocuSign user who last modified this object.. * @return lastModifiedByDisplayName - **/ - @ApiModelProperty(example = "null", value = "The User Name of the DocuSign user who last modified this object.") + **/ + @ApiModelProperty(value = "The User Name of the DocuSign user who last modified this object.") public String getLastModifiedByDisplayName() { return lastModifiedByDisplayName; } + /** + * setLastModifiedByDisplayName. + **/ public void setLastModifiedByDisplayName(String lastModifiedByDisplayName) { this.lastModifiedByDisplayName = lastModifiedByDisplayName; } + + /** + * lastModifiedByUserId. + * + * @return TabMetadata + **/ public TabMetadata lastModifiedByUserId(String lastModifiedByUserId) { this.lastModifiedByUserId = lastModifiedByUserId; return this; } - /** - * The userId of the DocuSign user who last modified this object. + /** + * The userId of the DocuSign user who last modified this object.. * @return lastModifiedByUserId - **/ - @ApiModelProperty(example = "null", value = "The userId of the DocuSign user who last modified this object.") + **/ + @ApiModelProperty(value = "The userId of the DocuSign user who last modified this object.") public String getLastModifiedByUserId() { return lastModifiedByUserId; } + /** + * setLastModifiedByUserId. + **/ public void setLastModifiedByUserId(String lastModifiedByUserId) { this.lastModifiedByUserId = lastModifiedByUserId; } + + /** + * locked. + * + * @return TabMetadata + **/ public TabMetadata locked(String locked) { this.locked = locked; return this; } - /** - * When set to **true**, the signer cannot change the data of the custom tab. + /** + * When set to **true**, the signer cannot change the data of the custom tab.. * @return locked - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the signer cannot change the data of the custom tab.") + **/ + @ApiModelProperty(value = "When set to **true**, the signer cannot change the data of the custom tab.") public String getLocked() { return locked; } + /** + * setLocked. + **/ public void setLocked(String locked) { this.locked = locked; } + + /** + * maximumLength. + * + * @return TabMetadata + **/ public TabMetadata maximumLength(String maximumLength) { this.maximumLength = maximumLength; return this; } - /** - * The maximum number of entry characters supported by the custom tab. + /** + * The maximum number of entry characters supported by the custom tab.. * @return maximumLength - **/ - @ApiModelProperty(example = "null", value = "The maximum number of entry characters supported by the custom tab.") + **/ + @ApiModelProperty(value = "The maximum number of entry characters supported by the custom tab.") public String getMaximumLength() { return maximumLength; } + /** + * setMaximumLength. + **/ public void setMaximumLength(String maximumLength) { this.maximumLength = maximumLength; } + + /** + * mergeField. + * + * @return TabMetadata + **/ public TabMetadata mergeField(MergeField mergeField) { this.mergeField = mergeField; return this; } - /** - * Get mergeField + /** + * Get mergeField. * @return mergeField - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public MergeField getMergeField() { return mergeField; } + /** + * setMergeField. + **/ public void setMergeField(MergeField mergeField) { this.mergeField = mergeField; } + + /** + * name. + * + * @return TabMetadata + **/ public TabMetadata name(String name) { this.name = name; return this; } - /** - * + /** + * . * @return name - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * paymentItemCode. + * + * @return TabMetadata + **/ public TabMetadata paymentItemCode(String paymentItemCode) { this.paymentItemCode = paymentItemCode; return this; } - /** - * + /** + * . * @return paymentItemCode - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPaymentItemCode() { return paymentItemCode; } + /** + * setPaymentItemCode. + **/ public void setPaymentItemCode(String paymentItemCode) { this.paymentItemCode = paymentItemCode; } + + /** + * paymentItemDescription. + * + * @return TabMetadata + **/ public TabMetadata paymentItemDescription(String paymentItemDescription) { this.paymentItemDescription = paymentItemDescription; return this; } - /** - * + /** + * . * @return paymentItemDescription - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPaymentItemDescription() { return paymentItemDescription; } + /** + * setPaymentItemDescription. + **/ public void setPaymentItemDescription(String paymentItemDescription) { this.paymentItemDescription = paymentItemDescription; } + + /** + * paymentItemName. + * + * @return TabMetadata + **/ public TabMetadata paymentItemName(String paymentItemName) { this.paymentItemName = paymentItemName; return this; } - /** - * + /** + * . * @return paymentItemName - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPaymentItemName() { return paymentItemName; } + /** + * setPaymentItemName. + **/ public void setPaymentItemName(String paymentItemName) { this.paymentItemName = paymentItemName; } + + /** + * requireAll. + * + * @return TabMetadata + **/ + public TabMetadata requireAll(String requireAll) { + this.requireAll = requireAll; + return this; + } + + /** + * When set to **true** and shared is true, information must be entered in this field to complete the envelope. . + * @return requireAll + **/ + @ApiModelProperty(value = "When set to **true** and shared is true, information must be entered in this field to complete the envelope. ") + public String getRequireAll() { + return requireAll; + } + + /** + * setRequireAll. + **/ + public void setRequireAll(String requireAll) { + this.requireAll = requireAll; + } + + + /** + * required. + * + * @return TabMetadata + **/ public TabMetadata required(String required) { this.required = required; return this; } - /** - * When set to **true**, the signer is required to fill out this tab + /** + * When set to **true**, the signer is required to fill out this tab. * @return required - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the signer is required to fill out this tab") + **/ + @ApiModelProperty(value = "When set to **true**, the signer is required to fill out this tab") public String getRequired() { return required; } + /** + * setRequired. + **/ public void setRequired(String required) { this.required = required; } + + /** + * requireInitialOnSharedChange. + * + * @return TabMetadata + **/ + public TabMetadata requireInitialOnSharedChange(String requireInitialOnSharedChange) { + this.requireInitialOnSharedChange = requireInitialOnSharedChange; + return this; + } + + /** + * Optional element for field markup. When set to **true**, the signer is required to initial when they modify a shared field.. + * @return requireInitialOnSharedChange + **/ + @ApiModelProperty(value = "Optional element for field markup. When set to **true**, the signer is required to initial when they modify a shared field.") + public String getRequireInitialOnSharedChange() { + return requireInitialOnSharedChange; + } + + /** + * setRequireInitialOnSharedChange. + **/ + public void setRequireInitialOnSharedChange(String requireInitialOnSharedChange) { + this.requireInitialOnSharedChange = requireInitialOnSharedChange; + } + + + /** + * scaleValue. + * + * @return TabMetadata + **/ public TabMetadata scaleValue(String scaleValue) { this.scaleValue = scaleValue; return this; } - /** - * + /** + * . * @return scaleValue - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getScaleValue() { return scaleValue; } + /** + * setScaleValue. + **/ public void setScaleValue(String scaleValue) { this.scaleValue = scaleValue; } + + /** + * selected. + * + * @return TabMetadata + **/ public TabMetadata selected(String selected) { this.selected = selected; return this; } - /** - * + /** + * . * @return selected - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSelected() { return selected; } + /** + * setSelected. + **/ public void setSelected(String selected) { this.selected = selected; } + + /** + * shared. + * + * @return TabMetadata + **/ public TabMetadata shared(String shared) { this.shared = shared; return this; } - /** - * When set to **true**, this custom tab is shared. + /** + * When set to **true**, this custom tab is shared.. * @return shared - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, this custom tab is shared.") + **/ + @ApiModelProperty(value = "When set to **true**, this custom tab is shared.") public String getShared() { return shared; } + /** + * setShared. + **/ public void setShared(String shared) { this.shared = shared; } + + /** + * stampType. + * + * @return TabMetadata + **/ public TabMetadata stampType(String stampType) { this.stampType = stampType; return this; } - /** - * + /** + * . * @return stampType - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getStampType() { return stampType; } + /** + * setStampType. + **/ public void setStampType(String stampType) { this.stampType = stampType; } + + /** + * stampTypeMetadata. + * + * @return TabMetadata + **/ public TabMetadata stampTypeMetadata(PropertyMetadata stampTypeMetadata) { this.stampTypeMetadata = stampTypeMetadata; return this; } - /** - * Get stampTypeMetadata + /** + * Get stampTypeMetadata. * @return stampTypeMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public PropertyMetadata getStampTypeMetadata() { return stampTypeMetadata; } + /** + * setStampTypeMetadata. + **/ public void setStampTypeMetadata(PropertyMetadata stampTypeMetadata) { this.stampTypeMetadata = stampTypeMetadata; } + + /** + * tabLabel. + * + * @return TabMetadata + **/ public TabMetadata tabLabel(String tabLabel) { this.tabLabel = tabLabel; return this; } - /** - * The label string associated with the tab. + /** + * The label string associated with the tab.. * @return tabLabel - **/ - @ApiModelProperty(example = "null", value = "The label string associated with the tab.") + **/ + @ApiModelProperty(value = "The label string associated with the tab.") public String getTabLabel() { return tabLabel; } + /** + * setTabLabel. + **/ public void setTabLabel(String tabLabel) { this.tabLabel = tabLabel; } + + /** + * type. + * + * @return TabMetadata + **/ public TabMetadata type(String type) { this.type = type; return this; } - /** - * The type of this tab. Values are: Approve, CheckBox, Company, Date, DateSigned, Decline, Email, EmailAddress, EnvelopeId, FirstName, Formula, FullName, InitialHere, InitialHereOptional, LastName, List, Note, Number, Radio, SignerAttachment, SignHere, SignHereOptional, Ssn, Text, Title, Zip5, or Zip5Dash4. + /** + * The type of this tab. Values are: Approve, CheckBox, Company, Date, DateSigned, Decline, Email, EmailAddress, EnvelopeId, FirstName, Formula, FullName, InitialHere, InitialHereOptional, LastName, List, Note, Number, Radio, SignerAttachment, SignHere, SignHereOptional, Ssn, Text, Title, Zip5, or Zip5Dash4.. * @return type - **/ - @ApiModelProperty(example = "null", value = "The type of this tab. Values are: Approve, CheckBox, Company, Date, DateSigned, Decline, Email, EmailAddress, EnvelopeId, FirstName, Formula, FullName, InitialHere, InitialHereOptional, LastName, List, Note, Number, Radio, SignerAttachment, SignHere, SignHereOptional, Ssn, Text, Title, Zip5, or Zip5Dash4.") + **/ + @ApiModelProperty(value = "The type of this tab. Values are: Approve, CheckBox, Company, Date, DateSigned, Decline, Email, EmailAddress, EnvelopeId, FirstName, Formula, FullName, InitialHere, InitialHereOptional, LastName, List, Note, Number, Radio, SignerAttachment, SignHere, SignHereOptional, Ssn, Text, Title, Zip5, or Zip5Dash4.") public String getType() { return type; } + /** + * setType. + **/ public void setType(String type) { this.type = type; } + + /** + * underline. + * + * @return TabMetadata + **/ public TabMetadata underline(String underline) { this.underline = underline; return this; } - /** - * When set to **true**, the information in the tab is underlined. + /** + * When set to **true**, the information in the tab is underlined.. * @return underline - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is underlined.") + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is underlined.") public String getUnderline() { return underline; } + /** + * setUnderline. + **/ public void setUnderline(String underline) { this.underline = underline; } + + /** + * validationMessage. + * + * @return TabMetadata + **/ public TabMetadata validationMessage(String validationMessage) { this.validationMessage = validationMessage; return this; } - /** - * The message displayed if the custom tab fails input validation (either custom of embedded). + /** + * The message displayed if the custom tab fails input validation (either custom of embedded).. * @return validationMessage - **/ - @ApiModelProperty(example = "null", value = "The message displayed if the custom tab fails input validation (either custom of embedded).") + **/ + @ApiModelProperty(value = "The message displayed if the custom tab fails input validation (either custom of embedded).") public String getValidationMessage() { return validationMessage; } + /** + * setValidationMessage. + **/ public void setValidationMessage(String validationMessage) { this.validationMessage = validationMessage; } + + /** + * validationPattern. + * + * @return TabMetadata + **/ public TabMetadata validationPattern(String validationPattern) { this.validationPattern = validationPattern; return this; } - /** - * A regular expression used to validate input for the tab. + /** + * A regular expression used to validate input for the tab.. * @return validationPattern - **/ - @ApiModelProperty(example = "null", value = "A regular expression used to validate input for the tab.") + **/ + @ApiModelProperty(value = "A regular expression used to validate input for the tab.") public String getValidationPattern() { return validationPattern; } + /** + * setValidationPattern. + **/ public void setValidationPattern(String validationPattern) { this.validationPattern = validationPattern; } + + /** + * width. + * + * @return TabMetadata + **/ public TabMetadata width(String width) { this.width = width; return this; } - /** - * Width of the tab in pixels. + /** + * Width of the tab in pixels.. * @return width - **/ - @ApiModelProperty(example = "null", value = "Width of the tab in pixels.") + **/ + @ApiModelProperty(value = "Width of the tab in pixels.") public String getWidth() { return width; } + /** + * setWidth. + **/ public void setWidth(String width) { this.width = width; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -982,6 +1493,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.anchorXOffset, tabMetadata.anchorXOffset) && Objects.equals(this.anchorYOffset, tabMetadata.anchorYOffset) && Objects.equals(this.bold, tabMetadata.bold) && + Objects.equals(this.collaborative, tabMetadata.collaborative) && Objects.equals(this.concealValueOnDocument, tabMetadata.concealValueOnDocument) && Objects.equals(this.createdByDisplayName, tabMetadata.createdByDisplayName) && Objects.equals(this.createdByUserId, tabMetadata.createdByUserId) && @@ -1006,7 +1518,9 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.paymentItemCode, tabMetadata.paymentItemCode) && Objects.equals(this.paymentItemDescription, tabMetadata.paymentItemDescription) && Objects.equals(this.paymentItemName, tabMetadata.paymentItemName) && + Objects.equals(this.requireAll, tabMetadata.requireAll) && Objects.equals(this.required, tabMetadata.required) && + Objects.equals(this.requireInitialOnSharedChange, tabMetadata.requireInitialOnSharedChange) && Objects.equals(this.scaleValue, tabMetadata.scaleValue) && Objects.equals(this.selected, tabMetadata.selected) && Objects.equals(this.shared, tabMetadata.shared) && @@ -1020,12 +1534,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.width, tabMetadata.width); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { - return Objects.hash(anchor, anchorCaseSensitive, anchorHorizontalAlignment, anchorIgnoreIfNotPresent, anchorMatchWholeWord, anchorUnits, anchorXOffset, anchorYOffset, bold, concealValueOnDocument, createdByDisplayName, createdByUserId, customTabId, disableAutoSize, editable, font, fontColor, fontSize, height, includedInEmail, initialValue, italic, items, lastModified, lastModifiedByDisplayName, lastModifiedByUserId, locked, maximumLength, mergeField, name, paymentItemCode, paymentItemDescription, paymentItemName, required, scaleValue, selected, shared, stampType, stampTypeMetadata, tabLabel, type, underline, validationMessage, validationPattern, width); + return Objects.hash(anchor, anchorCaseSensitive, anchorHorizontalAlignment, anchorIgnoreIfNotPresent, anchorMatchWholeWord, anchorUnits, anchorXOffset, anchorYOffset, bold, collaborative, concealValueOnDocument, createdByDisplayName, createdByUserId, customTabId, disableAutoSize, editable, font, fontColor, fontSize, height, includedInEmail, initialValue, italic, items, lastModified, lastModifiedByDisplayName, lastModifiedByUserId, locked, maximumLength, mergeField, name, paymentItemCode, paymentItemDescription, paymentItemName, requireAll, required, requireInitialOnSharedChange, scaleValue, selected, shared, stampType, stampTypeMetadata, tabLabel, type, underline, validationMessage, validationPattern, width); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -1040,6 +1560,7 @@ public String toString() { sb.append(" anchorXOffset: ").append(toIndentedString(anchorXOffset)).append("\n"); sb.append(" anchorYOffset: ").append(toIndentedString(anchorYOffset)).append("\n"); sb.append(" bold: ").append(toIndentedString(bold)).append("\n"); + sb.append(" collaborative: ").append(toIndentedString(collaborative)).append("\n"); sb.append(" concealValueOnDocument: ").append(toIndentedString(concealValueOnDocument)).append("\n"); sb.append(" createdByDisplayName: ").append(toIndentedString(createdByDisplayName)).append("\n"); sb.append(" createdByUserId: ").append(toIndentedString(createdByUserId)).append("\n"); @@ -1064,7 +1585,9 @@ public String toString() { sb.append(" paymentItemCode: ").append(toIndentedString(paymentItemCode)).append("\n"); sb.append(" paymentItemDescription: ").append(toIndentedString(paymentItemDescription)).append("\n"); sb.append(" paymentItemName: ").append(toIndentedString(paymentItemName)).append("\n"); + sb.append(" requireAll: ").append(toIndentedString(requireAll)).append("\n"); sb.append(" required: ").append(toIndentedString(required)).append("\n"); + sb.append(" requireInitialOnSharedChange: ").append(toIndentedString(requireInitialOnSharedChange)).append("\n"); sb.append(" scaleValue: ").append(toIndentedString(scaleValue)).append("\n"); sb.append(" selected: ").append(toIndentedString(selected)).append("\n"); sb.append(" shared: ").append(toIndentedString(shared)).append("\n"); @@ -1090,6 +1613,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/TabMetadataList.java b/src/main/java/com/docusign/esign/model/TabMetadataList.java index 76166fe8..2690ec9b 100644 --- a/src/main/java/com/docusign/esign/model/TabMetadataList.java +++ b/src/main/java/com/docusign/esign/model/TabMetadataList.java @@ -1,44 +1,69 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.TabMetadata; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * TabMetadataList + * TabMetadataList. + * */ public class TabMetadataList { @JsonProperty("tabs") - private java.util.List tabs = new java.util.ArrayList(); + private java.util.List tabs = null; + + /** + * tabs. + * + * @return TabMetadataList + **/ public TabMetadataList tabs(java.util.List tabs) { this.tabs = tabs; return this; } - + + /** + * addTabsItem. + * + * @return TabMetadataList + **/ public TabMetadataList addTabsItem(TabMetadata tabsItem) { + if (this.tabs == null) { + this.tabs = new java.util.ArrayList(); + } this.tabs.add(tabsItem); return this; } - /** - * + /** + * . * @return tabs - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List getTabs() { return tabs; } + /** + * setTabs. + **/ public void setTabs(java.util.List tabs) { this.tabs = tabs; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -51,12 +76,18 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.tabs, tabMetadataList.tabs); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(tabs); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -77,6 +108,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/Tabs.java b/src/main/java/com/docusign/esign/model/Tabs.java index b64e79ec..a2b9ace8 100644 --- a/src/main/java/com/docusign/esign/model/Tabs.java +++ b/src/main/java/com/docusign/esign/model/Tabs.java @@ -1,6 +1,7 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.Approve; import com.docusign.esign.model.Checkbox; import com.docusign.esign.model.Company; @@ -14,7 +15,7 @@ import com.docusign.esign.model.FullName; import com.docusign.esign.model.InitialHere; import com.docusign.esign.model.LastName; -import com.docusign.esign.model.List; +import com.docusign.esign.model.ModelList; import com.docusign.esign.model.Notarize; import com.docusign.esign.model.Note; import com.docusign.esign.model.Number; @@ -29,718 +30,1183 @@ import com.docusign.esign.model.Zip; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; -import org.joda.time.LocalDate; /** - * Tabs + * Tabs. + * */ public class Tabs { @JsonProperty("approveTabs") - private java.util.List approveTabs = new java.util.ArrayList(); + private java.util.List approveTabs = null; @JsonProperty("checkboxTabs") - private java.util.List checkboxTabs = new java.util.ArrayList(); + private java.util.List checkboxTabs = null; @JsonProperty("companyTabs") - private java.util.List companyTabs = new java.util.ArrayList(); + private java.util.List companyTabs = null; @JsonProperty("dateSignedTabs") - private java.util.List dateSignedTabs = new java.util.ArrayList(); + private java.util.List dateSignedTabs = null; @JsonProperty("dateTabs") - private java.util.List dateTabs = new java.util.ArrayList(); + private java.util.List dateTabs = null; @JsonProperty("declineTabs") - private java.util.List declineTabs = new java.util.ArrayList(); + private java.util.List declineTabs = null; @JsonProperty("emailAddressTabs") - private java.util.List emailAddressTabs = new java.util.ArrayList(); + private java.util.List emailAddressTabs = null; @JsonProperty("emailTabs") - private java.util.List emailTabs = new java.util.ArrayList(); + private java.util.List emailTabs = null; @JsonProperty("envelopeIdTabs") - private java.util.List envelopeIdTabs = new java.util.ArrayList(); + private java.util.List envelopeIdTabs = null; @JsonProperty("firstNameTabs") - private java.util.List firstNameTabs = new java.util.ArrayList(); + private java.util.List firstNameTabs = null; @JsonProperty("formulaTabs") - private java.util.List formulaTabs = new java.util.ArrayList(); + private java.util.List formulaTabs = null; @JsonProperty("fullNameTabs") - private java.util.List fullNameTabs = new java.util.ArrayList(); + private java.util.List fullNameTabs = null; @JsonProperty("initialHereTabs") - private java.util.List initialHereTabs = new java.util.ArrayList(); + private java.util.List initialHereTabs = null; @JsonProperty("lastNameTabs") - private java.util.List lastNameTabs = new java.util.ArrayList(); + private java.util.List lastNameTabs = null; @JsonProperty("listTabs") - private java.util.List listTabs = new java.util.ArrayList(); + private java.util.List listTabs = null; @JsonProperty("notarizeTabs") - private java.util.List notarizeTabs = new java.util.ArrayList(); + private java.util.List notarizeTabs = null; @JsonProperty("noteTabs") - private java.util.List noteTabs = new java.util.ArrayList(); + private java.util.List noteTabs = null; @JsonProperty("numberTabs") - private java.util.List numberTabs = new java.util.ArrayList(); + private java.util.List numberTabs = null; @JsonProperty("radioGroupTabs") - private java.util.List radioGroupTabs = new java.util.ArrayList(); + private java.util.List radioGroupTabs = null; @JsonProperty("signerAttachmentTabs") - private java.util.List signerAttachmentTabs = new java.util.ArrayList(); + private java.util.List signerAttachmentTabs = null; @JsonProperty("signHereTabs") - private java.util.List signHereTabs = new java.util.ArrayList(); + private java.util.List signHereTabs = null; @JsonProperty("smartSectionTabs") - private java.util.List smartSectionTabs = new java.util.ArrayList(); + private java.util.List smartSectionTabs = null; @JsonProperty("ssnTabs") - private java.util.List ssnTabs = new java.util.ArrayList(); + private java.util.List ssnTabs = null; @JsonProperty("textTabs") - private java.util.List textTabs = new java.util.ArrayList(); + private java.util.List textTabs = null; @JsonProperty("titleTabs") - private java.util.List titleTabs = new java.util.ArrayList<Title>(); + private java.util.List<Title> titleTabs = null; @JsonProperty("viewTabs") - private java.util.List<View> viewTabs = new java.util.ArrayList<View>(); + private java.util.List<View> viewTabs = null; @JsonProperty("zipTabs") - private java.util.List<Zip> zipTabs = new java.util.ArrayList<Zip>(); + private java.util.List<Zip> zipTabs = null; + + /** + * approveTabs. + * + * @return Tabs + **/ public Tabs approveTabs(java.util.List<Approve> approveTabs) { this.approveTabs = approveTabs; return this; } - + + /** + * addApproveTabsItem. + * + * @return Tabs + **/ public Tabs addApproveTabsItem(Approve approveTabsItem) { + if (this.approveTabs == null) { + this.approveTabs = new java.util.ArrayList<Approve>(); + } this.approveTabs.add(approveTabsItem); return this; } - /** - * Specifies a tag on the document where you want the recipient to approve documents in an envelope without placing a signature or initials on the document. If the recipient clicks the Approve tag during the signing process, the recipient is considered to have signed the document. No information is shown on the document for the approval, but it is recorded as a signature in the envelope history. + /** + * Specifies a tag on the document where you want the recipient to approve documents in an envelope without placing a signature or initials on the document. If the recipient clicks the Approve tag during the signing process, the recipient is considered to have signed the document. No information is shown on the document for the approval, but it is recorded as a signature in the envelope history.. * @return approveTabs - **/ - @ApiModelProperty(example = "null", value = "Specifies a tag on the document where you want the recipient to approve documents in an envelope without placing a signature or initials on the document. If the recipient clicks the Approve tag during the signing process, the recipient is considered to have signed the document. No information is shown on the document for the approval, but it is recorded as a signature in the envelope history.") + **/ + @ApiModelProperty(value = "Specifies a tag on the document where you want the recipient to approve documents in an envelope without placing a signature or initials on the document. If the recipient clicks the Approve tag during the signing process, the recipient is considered to have signed the document. No information is shown on the document for the approval, but it is recorded as a signature in the envelope history.") public java.util.List<Approve> getApproveTabs() { return approveTabs; } + /** + * setApproveTabs. + **/ public void setApproveTabs(java.util.List<Approve> approveTabs) { this.approveTabs = approveTabs; } + + /** + * checkboxTabs. + * + * @return Tabs + **/ public Tabs checkboxTabs(java.util.List<Checkbox> checkboxTabs) { this.checkboxTabs = checkboxTabs; return this; } - + + /** + * addCheckboxTabsItem. + * + * @return Tabs + **/ public Tabs addCheckboxTabsItem(Checkbox checkboxTabsItem) { + if (this.checkboxTabs == null) { + this.checkboxTabs = new java.util.ArrayList<Checkbox>(); + } this.checkboxTabs.add(checkboxTabsItem); return this; } - /** - * Specifies a tag on the document in a location where the recipient can select an option. + /** + * Specifies a tag on the document in a location where the recipient can select an option.. * @return checkboxTabs - **/ - @ApiModelProperty(example = "null", value = "Specifies a tag on the document in a location where the recipient can select an option.") + **/ + @ApiModelProperty(value = "Specifies a tag on the document in a location where the recipient can select an option.") public java.util.List<Checkbox> getCheckboxTabs() { return checkboxTabs; } + /** + * setCheckboxTabs. + **/ public void setCheckboxTabs(java.util.List<Checkbox> checkboxTabs) { this.checkboxTabs = checkboxTabs; } + + /** + * companyTabs. + * + * @return Tabs + **/ public Tabs companyTabs(java.util.List<Company> companyTabs) { this.companyTabs = companyTabs; return this; } - + + /** + * addCompanyTabsItem. + * + * @return Tabs + **/ public Tabs addCompanyTabsItem(Company companyTabsItem) { + if (this.companyTabs == null) { + this.companyTabs = new java.util.ArrayList<Company>(); + } this.companyTabs.add(companyTabsItem); return this; } - /** - * Specifies a tag on the document where you want the recipient's company name to appear. When getting information that includes this tab type, the original value of the tab when the associated envelope was sent is included in the response. + /** + * Specifies a tag on the document where you want the recipient's company name to appear. When getting information that includes this tab type, the original value of the tab when the associated envelope was sent is included in the response.. * @return companyTabs - **/ - @ApiModelProperty(example = "null", value = "Specifies a tag on the document where you want the recipient's company name to appear. When getting information that includes this tab type, the original value of the tab when the associated envelope was sent is included in the response.") + **/ + @ApiModelProperty(value = "Specifies a tag on the document where you want the recipient's company name to appear. When getting information that includes this tab type, the original value of the tab when the associated envelope was sent is included in the response.") public java.util.List<Company> getCompanyTabs() { return companyTabs; } + /** + * setCompanyTabs. + **/ public void setCompanyTabs(java.util.List<Company> companyTabs) { this.companyTabs = companyTabs; } + + /** + * dateSignedTabs. + * + * @return Tabs + **/ public Tabs dateSignedTabs(java.util.List<DateSigned> dateSignedTabs) { this.dateSignedTabs = dateSignedTabs; return this; } - + + /** + * addDateSignedTabsItem. + * + * @return Tabs + **/ public Tabs addDateSignedTabsItem(DateSigned dateSignedTabsItem) { + if (this.dateSignedTabs == null) { + this.dateSignedTabs = new java.util.ArrayList<DateSigned>(); + } this.dateSignedTabs.add(dateSignedTabsItem); return this; } - /** - * Specifies a tab on the document where the date the document was signed will automatically appear. + /** + * Specifies a tab on the document where the date the document was signed will automatically appear.. * @return dateSignedTabs - **/ - @ApiModelProperty(example = "null", value = "Specifies a tab on the document where the date the document was signed will automatically appear.") + **/ + @ApiModelProperty(value = "Specifies a tab on the document where the date the document was signed will automatically appear.") public java.util.List<DateSigned> getDateSignedTabs() { return dateSignedTabs; } + /** + * setDateSignedTabs. + **/ public void setDateSignedTabs(java.util.List<DateSigned> dateSignedTabs) { this.dateSignedTabs = dateSignedTabs; } + + /** + * dateTabs. + * + * @return Tabs + **/ public Tabs dateTabs(java.util.List<com.docusign.esign.model.Date> dateTabs) { this.dateTabs = dateTabs; return this; } - + + /** + * addDateTabsItem. + * + * @return Tabs + **/ public Tabs addDateTabsItem(com.docusign.esign.model.Date dateTabsItem) { + if (this.dateTabs == null) { + this.dateTabs = new java.util.ArrayList<com.docusign.esign.model.Date>(); + } this.dateTabs.add(dateTabsItem); return this; } - /** - * Specifies a tab on the document where you want the recipient to enter a date. Date tabs are single-line fields that allow date information to be entered in any format. The tooltip for this tab recommends entering the date as MM/DD/YYYY, but this is not enforced. The format entered by the signer is retained. If you need a particular date format enforced, DocuSign recommends using a Text tab with a Validation Pattern and Validation Message to enforce the format. + /** + * Specifies a tab on the document where you want the recipient to enter a date. Date tabs are single-line fields that allow date information to be entered in any format. The tooltip for this tab recommends entering the date as MM/DD/YYYY, but this is not enforced. The format entered by the signer is retained. If you need a particular date format enforced, DocuSign recommends using a Text tab with a Validation Pattern and Validation Message to enforce the format.. * @return dateTabs - **/ - @ApiModelProperty(example = "null", value = "Specifies a tab on the document where you want the recipient to enter a date. Date tabs are single-line fields that allow date information to be entered in any format. The tooltip for this tab recommends entering the date as MM/DD/YYYY, but this is not enforced. The format entered by the signer is retained. If you need a particular date format enforced, DocuSign recommends using a Text tab with a Validation Pattern and Validation Message to enforce the format.") + **/ + @ApiModelProperty(value = "Specifies a tab on the document where you want the recipient to enter a date. Date tabs are single-line fields that allow date information to be entered in any format. The tooltip for this tab recommends entering the date as MM/DD/YYYY, but this is not enforced. The format entered by the signer is retained. If you need a particular date format enforced, DocuSign recommends using a Text tab with a Validation Pattern and Validation Message to enforce the format.") public java.util.List<com.docusign.esign.model.Date> getDateTabs() { return dateTabs; } + /** + * setDateTabs. + **/ public void setDateTabs(java.util.List<com.docusign.esign.model.Date> dateTabs) { this.dateTabs = dateTabs; } + + /** + * declineTabs. + * + * @return Tabs + **/ public Tabs declineTabs(java.util.List<Decline> declineTabs) { this.declineTabs = declineTabs; return this; } - + + /** + * addDeclineTabsItem. + * + * @return Tabs + **/ public Tabs addDeclineTabsItem(Decline declineTabsItem) { + if (this.declineTabs == null) { + this.declineTabs = new java.util.ArrayList<Decline>(); + } this.declineTabs.add(declineTabsItem); return this; } - /** - * Specifies a tag on the document where you want to give the recipient the option of declining an envelope. If the recipient clicks the Decline tag during the signing process, the envelope is voided. + /** + * Specifies a tag on the document where you want to give the recipient the option of declining an envelope. If the recipient clicks the Decline tag during the signing process, the envelope is voided.. * @return declineTabs - **/ - @ApiModelProperty(example = "null", value = "Specifies a tag on the document where you want to give the recipient the option of declining an envelope. If the recipient clicks the Decline tag during the signing process, the envelope is voided.") + **/ + @ApiModelProperty(value = "Specifies a tag on the document where you want to give the recipient the option of declining an envelope. If the recipient clicks the Decline tag during the signing process, the envelope is voided.") public java.util.List<Decline> getDeclineTabs() { return declineTabs; } + /** + * setDeclineTabs. + **/ public void setDeclineTabs(java.util.List<Decline> declineTabs) { this.declineTabs = declineTabs; } + + /** + * emailAddressTabs. + * + * @return Tabs + **/ public Tabs emailAddressTabs(java.util.List<EmailAddress> emailAddressTabs) { this.emailAddressTabs = emailAddressTabs; return this; } - + + /** + * addEmailAddressTabsItem. + * + * @return Tabs + **/ public Tabs addEmailAddressTabsItem(EmailAddress emailAddressTabsItem) { + if (this.emailAddressTabs == null) { + this.emailAddressTabs = new java.util.ArrayList<EmailAddress>(); + } this.emailAddressTabs.add(emailAddressTabsItem); return this; } - /** - * Specifies a location on the document where you want where you want the recipient's email, as entered in the recipient information, to display. + /** + * Specifies a location on the document where you want where you want the recipient's email, as entered in the recipient information, to display.. * @return emailAddressTabs - **/ - @ApiModelProperty(example = "null", value = "Specifies a location on the document where you want where you want the recipient's email, as entered in the recipient information, to display.") + **/ + @ApiModelProperty(value = "Specifies a location on the document where you want where you want the recipient's email, as entered in the recipient information, to display.") public java.util.List<EmailAddress> getEmailAddressTabs() { return emailAddressTabs; } + /** + * setEmailAddressTabs. + **/ public void setEmailAddressTabs(java.util.List<EmailAddress> emailAddressTabs) { this.emailAddressTabs = emailAddressTabs; } + + /** + * emailTabs. + * + * @return Tabs + **/ public Tabs emailTabs(java.util.List<Email> emailTabs) { this.emailTabs = emailTabs; return this; } - + + /** + * addEmailTabsItem. + * + * @return Tabs + **/ public Tabs addEmailTabsItem(Email emailTabsItem) { + if (this.emailTabs == null) { + this.emailTabs = new java.util.ArrayList<Email>(); + } this.emailTabs.add(emailTabsItem); return this; } - /** - * Specifies a tag on the document where you want the recipient to enter an email. Email tags are single-line fields that accept any characters. The system checks that a valid email format (i.e. xxx@yyy.zzz) is entered in the tag. It uses the same parameters as a Text tab, with the validation message and pattern set for email information. When getting information that includes this tab type, the original value of the tab when the associated envelope was sent is included in the response. + /** + * Specifies a tag on the document where you want the recipient to enter an email. Email tags are single-line fields that accept any characters. The system checks that a valid email format (i.e. xxx@yyy.zzz) is entered in the tag. It uses the same parameters as a Text tab, with the validation message and pattern set for email information. When getting information that includes this tab type, the original value of the tab when the associated envelope was sent is included in the response.. * @return emailTabs - **/ - @ApiModelProperty(example = "null", value = "Specifies a tag on the document where you want the recipient to enter an email. Email tags are single-line fields that accept any characters. The system checks that a valid email format (i.e. xxx@yyy.zzz) is entered in the tag. It uses the same parameters as a Text tab, with the validation message and pattern set for email information. When getting information that includes this tab type, the original value of the tab when the associated envelope was sent is included in the response.") + **/ + @ApiModelProperty(value = "Specifies a tag on the document where you want the recipient to enter an email. Email tags are single-line fields that accept any characters. The system checks that a valid email format (i.e. xxx@yyy.zzz) is entered in the tag. It uses the same parameters as a Text tab, with the validation message and pattern set for email information. When getting information that includes this tab type, the original value of the tab when the associated envelope was sent is included in the response.") public java.util.List<Email> getEmailTabs() { return emailTabs; } + /** + * setEmailTabs. + **/ public void setEmailTabs(java.util.List<Email> emailTabs) { this.emailTabs = emailTabs; } + + /** + * envelopeIdTabs. + * + * @return Tabs + **/ public Tabs envelopeIdTabs(java.util.List<EnvelopeId> envelopeIdTabs) { this.envelopeIdTabs = envelopeIdTabs; return this; } - + + /** + * addEnvelopeIdTabsItem. + * + * @return Tabs + **/ public Tabs addEnvelopeIdTabsItem(EnvelopeId envelopeIdTabsItem) { + if (this.envelopeIdTabs == null) { + this.envelopeIdTabs = new java.util.ArrayList<EnvelopeId>(); + } this.envelopeIdTabs.add(envelopeIdTabsItem); return this; } - /** - * Specifies a tag on the document where you want the envelope ID for to appear. Recipients cannot enter or change the information in this tab, it is for informational purposes only. + /** + * Specifies a tag on the document where you want the envelope ID for to appear. Recipients cannot enter or change the information in this tab, it is for informational purposes only.. * @return envelopeIdTabs - **/ - @ApiModelProperty(example = "null", value = "Specifies a tag on the document where you want the envelope ID for to appear. Recipients cannot enter or change the information in this tab, it is for informational purposes only.") + **/ + @ApiModelProperty(value = "Specifies a tag on the document where you want the envelope ID for to appear. Recipients cannot enter or change the information in this tab, it is for informational purposes only.") public java.util.List<EnvelopeId> getEnvelopeIdTabs() { return envelopeIdTabs; } + /** + * setEnvelopeIdTabs. + **/ public void setEnvelopeIdTabs(java.util.List<EnvelopeId> envelopeIdTabs) { this.envelopeIdTabs = envelopeIdTabs; } + + /** + * firstNameTabs. + * + * @return Tabs + **/ public Tabs firstNameTabs(java.util.List<FirstName> firstNameTabs) { this.firstNameTabs = firstNameTabs; return this; } - + + /** + * addFirstNameTabsItem. + * + * @return Tabs + **/ public Tabs addFirstNameTabsItem(FirstName firstNameTabsItem) { + if (this.firstNameTabs == null) { + this.firstNameTabs = new java.util.ArrayList<FirstName>(); + } this.firstNameTabs.add(firstNameTabsItem); return this; } - /** - * Specifies tag on a document where you want the recipient's first name to appear. This tag takes the recipient's name, as entered in the recipient information, splits it into sections based on spaces and uses the first section as the first name. + /** + * Specifies tag on a document where you want the recipient's first name to appear. This tag takes the recipient's name, as entered in the recipient information, splits it into sections based on spaces and uses the first section as the first name.. * @return firstNameTabs - **/ - @ApiModelProperty(example = "null", value = "Specifies tag on a document where you want the recipient's first name to appear. This tag takes the recipient's name, as entered in the recipient information, splits it into sections based on spaces and uses the first section as the first name.") + **/ + @ApiModelProperty(value = "Specifies tag on a document where you want the recipient's first name to appear. This tag takes the recipient's name, as entered in the recipient information, splits it into sections based on spaces and uses the first section as the first name.") public java.util.List<FirstName> getFirstNameTabs() { return firstNameTabs; } + /** + * setFirstNameTabs. + **/ public void setFirstNameTabs(java.util.List<FirstName> firstNameTabs) { this.firstNameTabs = firstNameTabs; } + + /** + * formulaTabs. + * + * @return Tabs + **/ public Tabs formulaTabs(java.util.List<FormulaTab> formulaTabs) { this.formulaTabs = formulaTabs; return this; } - + + /** + * addFormulaTabsItem. + * + * @return Tabs + **/ public Tabs addFormulaTabsItem(FormulaTab formulaTabsItem) { + if (this.formulaTabs == null) { + this.formulaTabs = new java.util.ArrayList<FormulaTab>(); + } this.formulaTabs.add(formulaTabsItem); return this; } - /** - * Specifies a tag that is used to add a calculated field to a document. Envelope recipients cannot directly enter information into the tag; the formula tab calculates and displays a new value when changes are made to the reference tag values. The reference tag information and calculation operations are entered in the \"formula\" element. See the [ML:Using the Calculated Fields Feature] quick start guide or [ML:DocuSign Service User Guide] for more information about formulas. + /** + * Specifies a tag that is used to add a calculated field to a document. Envelope recipients cannot directly enter information into the tag; the formula tab calculates and displays a new value when changes are made to the reference tag values. The reference tag information and calculation operations are entered in the \"formula\" element. See the [ML:Using the Calculated Fields Feature] quick start guide or [ML:DocuSign Service User Guide] for more information about formulas.. * @return formulaTabs - **/ - @ApiModelProperty(example = "null", value = "Specifies a tag that is used to add a calculated field to a document. Envelope recipients cannot directly enter information into the tag; the formula tab calculates and displays a new value when changes are made to the reference tag values. The reference tag information and calculation operations are entered in the \"formula\" element. See the [ML:Using the Calculated Fields Feature] quick start guide or [ML:DocuSign Service User Guide] for more information about formulas.") + **/ + @ApiModelProperty(value = "Specifies a tag that is used to add a calculated field to a document. Envelope recipients cannot directly enter information into the tag; the formula tab calculates and displays a new value when changes are made to the reference tag values. The reference tag information and calculation operations are entered in the \"formula\" element. See the [ML:Using the Calculated Fields Feature] quick start guide or [ML:DocuSign Service User Guide] for more information about formulas.") public java.util.List<FormulaTab> getFormulaTabs() { return formulaTabs; } + /** + * setFormulaTabs. + **/ public void setFormulaTabs(java.util.List<FormulaTab> formulaTabs) { this.formulaTabs = formulaTabs; } + + /** + * fullNameTabs. + * + * @return Tabs + **/ public Tabs fullNameTabs(java.util.List<FullName> fullNameTabs) { this.fullNameTabs = fullNameTabs; return this; } - + + /** + * addFullNameTabsItem. + * + * @return Tabs + **/ public Tabs addFullNameTabsItem(FullName fullNameTabsItem) { + if (this.fullNameTabs == null) { + this.fullNameTabs = new java.util.ArrayList<FullName>(); + } this.fullNameTabs.add(fullNameTabsItem); return this; } - /** - * Specifies a tag on the document where you want the recipient's name to appear. + /** + * Specifies a tag on the document where you want the recipient's name to appear.. * @return fullNameTabs - **/ - @ApiModelProperty(example = "null", value = "Specifies a tag on the document where you want the recipient's name to appear.") + **/ + @ApiModelProperty(value = "Specifies a tag on the document where you want the recipient's name to appear.") public java.util.List<FullName> getFullNameTabs() { return fullNameTabs; } + /** + * setFullNameTabs. + **/ public void setFullNameTabs(java.util.List<FullName> fullNameTabs) { this.fullNameTabs = fullNameTabs; } + + /** + * initialHereTabs. + * + * @return Tabs + **/ public Tabs initialHereTabs(java.util.List<InitialHere> initialHereTabs) { this.initialHereTabs = initialHereTabs; return this; } - + + /** + * addInitialHereTabsItem. + * + * @return Tabs + **/ public Tabs addInitialHereTabsItem(InitialHere initialHereTabsItem) { + if (this.initialHereTabs == null) { + this.initialHereTabs = new java.util.ArrayList<InitialHere>(); + } this.initialHereTabs.add(initialHereTabsItem); return this; } - /** - * Specifies a tag location in the document at which a recipient will place their initials. The `optional` parameter specifies whether the initials are required or optional. + /** + * Specifies a tag location in the document at which a recipient will place their initials. The `optional` parameter specifies whether the initials are required or optional.. * @return initialHereTabs - **/ - @ApiModelProperty(example = "null", value = "Specifies a tag location in the document at which a recipient will place their initials. The `optional` parameter specifies whether the initials are required or optional.") + **/ + @ApiModelProperty(value = "Specifies a tag location in the document at which a recipient will place their initials. The `optional` parameter specifies whether the initials are required or optional.") public java.util.List<InitialHere> getInitialHereTabs() { return initialHereTabs; } + /** + * setInitialHereTabs. + **/ public void setInitialHereTabs(java.util.List<InitialHere> initialHereTabs) { this.initialHereTabs = initialHereTabs; } + + /** + * lastNameTabs. + * + * @return Tabs + **/ public Tabs lastNameTabs(java.util.List<LastName> lastNameTabs) { this.lastNameTabs = lastNameTabs; return this; } - + + /** + * addLastNameTabsItem. + * + * @return Tabs + **/ public Tabs addLastNameTabsItem(LastName lastNameTabsItem) { + if (this.lastNameTabs == null) { + this.lastNameTabs = new java.util.ArrayList<LastName>(); + } this.lastNameTabs.add(lastNameTabsItem); return this; } - /** - * Specifies a tag on a document where you want the recipient's last name to appear. This tag takes the recipient's name, as entered in the recipient information, splits it into sections based on spaces and uses the last section as the last name. + /** + * Specifies a tag on a document where you want the recipient's last name to appear. This tag takes the recipient's name, as entered in the recipient information, splits it into sections based on spaces and uses the last section as the last name.. * @return lastNameTabs - **/ - @ApiModelProperty(example = "null", value = "Specifies a tag on a document where you want the recipient's last name to appear. This tag takes the recipient's name, as entered in the recipient information, splits it into sections based on spaces and uses the last section as the last name.") + **/ + @ApiModelProperty(value = "Specifies a tag on a document where you want the recipient's last name to appear. This tag takes the recipient's name, as entered in the recipient information, splits it into sections based on spaces and uses the last section as the last name.") public java.util.List<LastName> getLastNameTabs() { return lastNameTabs; } + /** + * setLastNameTabs. + **/ public void setLastNameTabs(java.util.List<LastName> lastNameTabs) { this.lastNameTabs = lastNameTabs; } - public Tabs listTabs(java.util.List<List> listTabs) { + + /** + * listTabs. + * + * @return Tabs + **/ + public Tabs listTabs(java.util.List<ModelList> listTabs) { this.listTabs = listTabs; return this; } - - public Tabs addListTabsItem(List listTabsItem) { + + /** + * addListTabsItem. + * + * @return Tabs + **/ + public Tabs addListTabsItem(ModelList listTabsItem) { + if (this.listTabs == null) { + this.listTabs = new java.util.ArrayList<ModelList>(); + } this.listTabs.add(listTabsItem); return this; } - /** - * Specify this tag to give your recipient a list of options, presented as a drop-down list, from which they can select. + /** + * Specify this tag to give your recipient a list of options, presented as a drop-down list, from which they can select.. * @return listTabs - **/ - @ApiModelProperty(example = "null", value = "Specify this tag to give your recipient a list of options, presented as a drop-down list, from which they can select.") - public java.util.List<List> getListTabs() { + **/ + @ApiModelProperty(value = "Specify this tag to give your recipient a list of options, presented as a drop-down list, from which they can select.") + public java.util.List<ModelList> getListTabs() { return listTabs; } - public void setListTabs(java.util.List<List> listTabs) { + /** + * setListTabs. + **/ + public void setListTabs(java.util.List<ModelList> listTabs) { this.listTabs = listTabs; } + + /** + * notarizeTabs. + * + * @return Tabs + **/ public Tabs notarizeTabs(java.util.List<Notarize> notarizeTabs) { this.notarizeTabs = notarizeTabs; return this; } - + + /** + * addNotarizeTabsItem. + * + * @return Tabs + **/ public Tabs addNotarizeTabsItem(Notarize notarizeTabsItem) { + if (this.notarizeTabs == null) { + this.notarizeTabs = new java.util.ArrayList<Notarize>(); + } this.notarizeTabs.add(notarizeTabsItem); return this; } - /** - * + /** + * . * @return notarizeTabs - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List<Notarize> getNotarizeTabs() { return notarizeTabs; } + /** + * setNotarizeTabs. + **/ public void setNotarizeTabs(java.util.List<Notarize> notarizeTabs) { this.notarizeTabs = notarizeTabs; } + + /** + * noteTabs. + * + * @return Tabs + **/ public Tabs noteTabs(java.util.List<Note> noteTabs) { this.noteTabs = noteTabs; return this; } - + + /** + * addNoteTabsItem. + * + * @return Tabs + **/ public Tabs addNoteTabsItem(Note noteTabsItem) { + if (this.noteTabs == null) { + this.noteTabs = new java.util.ArrayList<Note>(); + } this.noteTabs.add(noteTabsItem); return this; } - /** - * Specifies a location on the document where you want to place additional information, in the form of a note, for a recipient. + /** + * Specifies a location on the document where you want to place additional information, in the form of a note, for a recipient.. * @return noteTabs - **/ - @ApiModelProperty(example = "null", value = "Specifies a location on the document where you want to place additional information, in the form of a note, for a recipient.") + **/ + @ApiModelProperty(value = "Specifies a location on the document where you want to place additional information, in the form of a note, for a recipient.") public java.util.List<Note> getNoteTabs() { return noteTabs; } + /** + * setNoteTabs. + **/ public void setNoteTabs(java.util.List<Note> noteTabs) { this.noteTabs = noteTabs; } + + /** + * numberTabs. + * + * @return Tabs + **/ public Tabs numberTabs(java.util.List<Number> numberTabs) { this.numberTabs = numberTabs; return this; } - + + /** + * addNumberTabsItem. + * + * @return Tabs + **/ public Tabs addNumberTabsItem(Number numberTabsItem) { + if (this.numberTabs == null) { + this.numberTabs = new java.util.ArrayList<Number>(); + } this.numberTabs.add(numberTabsItem); return this; } - /** - * Specifies a tag on the document where you want the recipient to enter a number. It uses the same parameters as a Text tab, with the validation message and pattern set for number information. When getting information that includes this tab type, the original value of the tab when the associated envelope was sent is included in the response. + /** + * Specifies a tag on the document where you want the recipient to enter a number. It uses the same parameters as a Text tab, with the validation message and pattern set for number information. When getting information that includes this tab type, the original value of the tab when the associated envelope was sent is included in the response. . * @return numberTabs - **/ - @ApiModelProperty(example = "null", value = "Specifies a tag on the document where you want the recipient to enter a number. It uses the same parameters as a Text tab, with the validation message and pattern set for number information. When getting information that includes this tab type, the original value of the tab when the associated envelope was sent is included in the response. ") + **/ + @ApiModelProperty(value = "Specifies a tag on the document where you want the recipient to enter a number. It uses the same parameters as a Text tab, with the validation message and pattern set for number information. When getting information that includes this tab type, the original value of the tab when the associated envelope was sent is included in the response. ") public java.util.List<Number> getNumberTabs() { return numberTabs; } + /** + * setNumberTabs. + **/ public void setNumberTabs(java.util.List<Number> numberTabs) { this.numberTabs = numberTabs; } + + /** + * radioGroupTabs. + * + * @return Tabs + **/ public Tabs radioGroupTabs(java.util.List<RadioGroup> radioGroupTabs) { this.radioGroupTabs = radioGroupTabs; return this; } - + + /** + * addRadioGroupTabsItem. + * + * @return Tabs + **/ public Tabs addRadioGroupTabsItem(RadioGroup radioGroupTabsItem) { + if (this.radioGroupTabs == null) { + this.radioGroupTabs = new java.util.ArrayList<RadioGroup>(); + } this.radioGroupTabs.add(radioGroupTabsItem); return this; } - /** - * Specifies a tag on the document in a location where the recipient can select one option from a group of options using a radio button. The radio buttons do not have to be on the same page in a document. + /** + * Specifies a tag on the document in a location where the recipient can select one option from a group of options using a radio button. The radio buttons do not have to be on the same page in a document.. * @return radioGroupTabs - **/ - @ApiModelProperty(example = "null", value = "Specifies a tag on the document in a location where the recipient can select one option from a group of options using a radio button. The radio buttons do not have to be on the same page in a document.") + **/ + @ApiModelProperty(value = "Specifies a tag on the document in a location where the recipient can select one option from a group of options using a radio button. The radio buttons do not have to be on the same page in a document.") public java.util.List<RadioGroup> getRadioGroupTabs() { return radioGroupTabs; } + /** + * setRadioGroupTabs. + **/ public void setRadioGroupTabs(java.util.List<RadioGroup> radioGroupTabs) { this.radioGroupTabs = radioGroupTabs; } + + /** + * signerAttachmentTabs. + * + * @return Tabs + **/ public Tabs signerAttachmentTabs(java.util.List<SignerAttachment> signerAttachmentTabs) { this.signerAttachmentTabs = signerAttachmentTabs; return this; } - + + /** + * addSignerAttachmentTabsItem. + * + * @return Tabs + **/ public Tabs addSignerAttachmentTabsItem(SignerAttachment signerAttachmentTabsItem) { + if (this.signerAttachmentTabs == null) { + this.signerAttachmentTabs = new java.util.ArrayList<SignerAttachment>(); + } this.signerAttachmentTabs.add(signerAttachmentTabsItem); return this; } - /** - * Specifies a tag on the document when you want the recipient to add supporting documents to an envelope. + /** + * Specifies a tag on the document when you want the recipient to add supporting documents to an envelope.. * @return signerAttachmentTabs - **/ - @ApiModelProperty(example = "null", value = "Specifies a tag on the document when you want the recipient to add supporting documents to an envelope.") + **/ + @ApiModelProperty(value = "Specifies a tag on the document when you want the recipient to add supporting documents to an envelope.") public java.util.List<SignerAttachment> getSignerAttachmentTabs() { return signerAttachmentTabs; } + /** + * setSignerAttachmentTabs. + **/ public void setSignerAttachmentTabs(java.util.List<SignerAttachment> signerAttachmentTabs) { this.signerAttachmentTabs = signerAttachmentTabs; } + + /** + * signHereTabs. + * + * @return Tabs + **/ public Tabs signHereTabs(java.util.List<SignHere> signHereTabs) { this.signHereTabs = signHereTabs; return this; } - + + /** + * addSignHereTabsItem. + * + * @return Tabs + **/ public Tabs addSignHereTabsItem(SignHere signHereTabsItem) { + if (this.signHereTabs == null) { + this.signHereTabs = new java.util.ArrayList<SignHere>(); + } this.signHereTabs.add(signHereTabsItem); return this; } - /** - * A complex type the contains information about the tag that specifies where the recipient places their signature in the document. The \"optional\" parameter sets if the signature is required or optional. + /** + * A complex type the contains information about the tag that specifies where the recipient places their signature in the document. The \"optional\" parameter sets if the signature is required or optional. . * @return signHereTabs - **/ - @ApiModelProperty(example = "null", value = "A complex type the contains information about the tag that specifies where the recipient places their signature in the document. The \"optional\" parameter sets if the signature is required or optional. ") + **/ + @ApiModelProperty(value = "A complex type the contains information about the tag that specifies where the recipient places their signature in the document. The \"optional\" parameter sets if the signature is required or optional. ") public java.util.List<SignHere> getSignHereTabs() { return signHereTabs; } + /** + * setSignHereTabs. + **/ public void setSignHereTabs(java.util.List<SignHere> signHereTabs) { this.signHereTabs = signHereTabs; } + + /** + * smartSectionTabs. + * + * @return Tabs + **/ public Tabs smartSectionTabs(java.util.List<SmartSection> smartSectionTabs) { this.smartSectionTabs = smartSectionTabs; return this; } - + + /** + * addSmartSectionTabsItem. + * + * @return Tabs + **/ public Tabs addSmartSectionTabsItem(SmartSection smartSectionTabsItem) { + if (this.smartSectionTabs == null) { + this.smartSectionTabs = new java.util.ArrayList<SmartSection>(); + } this.smartSectionTabs.add(smartSectionTabsItem); return this; } - /** - * + /** + * . * @return smartSectionTabs - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List<SmartSection> getSmartSectionTabs() { return smartSectionTabs; } + /** + * setSmartSectionTabs. + **/ public void setSmartSectionTabs(java.util.List<SmartSection> smartSectionTabs) { this.smartSectionTabs = smartSectionTabs; } + + /** + * ssnTabs. + * + * @return Tabs + **/ public Tabs ssnTabs(java.util.List<Ssn> ssnTabs) { this.ssnTabs = ssnTabs; return this; } - + + /** + * addSsnTabsItem. + * + * @return Tabs + **/ public Tabs addSsnTabsItem(Ssn ssnTabsItem) { + if (this.ssnTabs == null) { + this.ssnTabs = new java.util.ArrayList<Ssn>(); + } this.ssnTabs.add(ssnTabsItem); return this; } - /** - * Specifies a tag on the document where you want the recipient to enter a Social Security Number (SSN). A SSN can be typed with or without dashes. It uses the same parameters as a Text tab, with the validation message and pattern set for SSN information. When getting information that includes this tab type, the original value of the tab when the associated envelope was sent is included in the response. + /** + * Specifies a tag on the document where you want the recipient to enter a Social Security Number (SSN). A SSN can be typed with or without dashes. It uses the same parameters as a Text tab, with the validation message and pattern set for SSN information. When getting information that includes this tab type, the original value of the tab when the associated envelope was sent is included in the response.. * @return ssnTabs - **/ - @ApiModelProperty(example = "null", value = "Specifies a tag on the document where you want the recipient to enter a Social Security Number (SSN). A SSN can be typed with or without dashes. It uses the same parameters as a Text tab, with the validation message and pattern set for SSN information. When getting information that includes this tab type, the original value of the tab when the associated envelope was sent is included in the response.") + **/ + @ApiModelProperty(value = "Specifies a tag on the document where you want the recipient to enter a Social Security Number (SSN). A SSN can be typed with or without dashes. It uses the same parameters as a Text tab, with the validation message and pattern set for SSN information. When getting information that includes this tab type, the original value of the tab when the associated envelope was sent is included in the response.") public java.util.List<Ssn> getSsnTabs() { return ssnTabs; } + /** + * setSsnTabs. + **/ public void setSsnTabs(java.util.List<Ssn> ssnTabs) { this.ssnTabs = ssnTabs; } + + /** + * textTabs. + * + * @return Tabs + **/ public Tabs textTabs(java.util.List<Text> textTabs) { this.textTabs = textTabs; return this; } - + + /** + * addTextTabsItem. + * + * @return Tabs + **/ public Tabs addTextTabsItem(Text textTabsItem) { + if (this.textTabs == null) { + this.textTabs = new java.util.ArrayList<Text>(); + } this.textTabs.add(textTabsItem); return this; } - /** - * Specifies a that that is an adaptable field that allows the recipient to enter different text information. When getting information that includes this tab type, the original value of the tab when the associated envelope was sent is included in the response. + /** + * Specifies a that that is an adaptable field that allows the recipient to enter different text information. When getting information that includes this tab type, the original value of the tab when the associated envelope was sent is included in the response.. * @return textTabs - **/ - @ApiModelProperty(example = "null", value = "Specifies a that that is an adaptable field that allows the recipient to enter different text information. When getting information that includes this tab type, the original value of the tab when the associated envelope was sent is included in the response.") + **/ + @ApiModelProperty(value = "Specifies a that that is an adaptable field that allows the recipient to enter different text information. When getting information that includes this tab type, the original value of the tab when the associated envelope was sent is included in the response.") public java.util.List<Text> getTextTabs() { return textTabs; } + /** + * setTextTabs. + **/ public void setTextTabs(java.util.List<Text> textTabs) { this.textTabs = textTabs; } + + /** + * titleTabs. + * + * @return Tabs + **/ public Tabs titleTabs(java.util.List<Title> titleTabs) { this.titleTabs = titleTabs; return this; } - + + /** + * addTitleTabsItem. + * + * @return Tabs + **/ public Tabs addTitleTabsItem(Title titleTabsItem) { + if (this.titleTabs == null) { + this.titleTabs = new java.util.ArrayList<Title>(); + } this.titleTabs.add(titleTabsItem); return this; } - /** - * Specifies a tag on the document where you want the recipient's title to appear. When getting information that includes this tab type, the original value of the tab when the associated envelope was sent is included in the response. + /** + * Specifies a tag on the document where you want the recipient's title to appear. When getting information that includes this tab type, the original value of the tab when the associated envelope was sent is included in the response.. * @return titleTabs - **/ - @ApiModelProperty(example = "null", value = "Specifies a tag on the document where you want the recipient's title to appear. When getting information that includes this tab type, the original value of the tab when the associated envelope was sent is included in the response.") + **/ + @ApiModelProperty(value = "Specifies a tag on the document where you want the recipient's title to appear. When getting information that includes this tab type, the original value of the tab when the associated envelope was sent is included in the response.") public java.util.List<Title> getTitleTabs() { return titleTabs; } + /** + * setTitleTabs. + **/ public void setTitleTabs(java.util.List<Title> titleTabs) { this.titleTabs = titleTabs; } + + /** + * viewTabs. + * + * @return Tabs + **/ public Tabs viewTabs(java.util.List<View> viewTabs) { this.viewTabs = viewTabs; return this; } - + + /** + * addViewTabsItem. + * + * @return Tabs + **/ public Tabs addViewTabsItem(View viewTabsItem) { + if (this.viewTabs == null) { + this.viewTabs = new java.util.ArrayList<View>(); + } this.viewTabs.add(viewTabsItem); return this; } - /** - * + /** + * . * @return viewTabs - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List<View> getViewTabs() { return viewTabs; } + /** + * setViewTabs. + **/ public void setViewTabs(java.util.List<View> viewTabs) { this.viewTabs = viewTabs; } + + /** + * zipTabs. + * + * @return Tabs + **/ public Tabs zipTabs(java.util.List<Zip> zipTabs) { this.zipTabs = zipTabs; return this; } - + + /** + * addZipTabsItem. + * + * @return Tabs + **/ public Tabs addZipTabsItem(Zip zipTabsItem) { + if (this.zipTabs == null) { + this.zipTabs = new java.util.ArrayList<Zip>(); + } this.zipTabs.add(zipTabsItem); return this; } - /** - * Specifies a tag on the document where you want the recipient to enter a ZIP code. The ZIP code can be a five numbers or the ZIP+4 format with nine numbers. The zip code can be typed with or without dashes. It uses the same parameters as a Text tab, with the validation message and pattern set for ZIP code information. When getting information that includes this tab type, the original value of the tab when the associated envelope was sent is included in the response. + /** + * Specifies a tag on the document where you want the recipient to enter a ZIP code. The ZIP code can be a five numbers or the ZIP+4 format with nine numbers. The zip code can be typed with or without dashes. It uses the same parameters as a Text tab, with the validation message and pattern set for ZIP code information. When getting information that includes this tab type, the original value of the tab when the associated envelope was sent is included in the response.. * @return zipTabs - **/ - @ApiModelProperty(example = "null", value = "Specifies a tag on the document where you want the recipient to enter a ZIP code. The ZIP code can be a five numbers or the ZIP+4 format with nine numbers. The zip code can be typed with or without dashes. It uses the same parameters as a Text tab, with the validation message and pattern set for ZIP code information. When getting information that includes this tab type, the original value of the tab when the associated envelope was sent is included in the response.") + **/ + @ApiModelProperty(value = "Specifies a tag on the document where you want the recipient to enter a ZIP code. The ZIP code can be a five numbers or the ZIP+4 format with nine numbers. The zip code can be typed with or without dashes. It uses the same parameters as a Text tab, with the validation message and pattern set for ZIP code information. When getting information that includes this tab type, the original value of the tab when the associated envelope was sent is included in the response.") public java.util.List<Zip> getZipTabs() { return zipTabs; } + /** + * setZipTabs. + **/ public void setZipTabs(java.util.List<Zip> zipTabs) { this.zipTabs = zipTabs; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -779,12 +1245,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.zipTabs, tabs.zipTabs); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(approveTabs, checkboxTabs, companyTabs, dateSignedTabs, dateTabs, declineTabs, emailAddressTabs, emailTabs, envelopeIdTabs, firstNameTabs, formulaTabs, fullNameTabs, initialHereTabs, lastNameTabs, listTabs, notarizeTabs, noteTabs, numberTabs, radioGroupTabs, signerAttachmentTabs, signHereTabs, smartSectionTabs, ssnTabs, textTabs, titleTabs, viewTabs, zipTabs); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -831,6 +1303,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/TemplateCustomFields.java b/src/main/java/com/docusign/esign/model/TemplateCustomFields.java index 51189b95..59e6742a 100644 --- a/src/main/java/com/docusign/esign/model/TemplateCustomFields.java +++ b/src/main/java/com/docusign/esign/model/TemplateCustomFields.java @@ -1,71 +1,113 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ListCustomField; import com.docusign.esign.model.TextCustomField; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * TemplateCustomFields + * TemplateCustomFields. + * */ public class TemplateCustomFields { @JsonProperty("listCustomFields") - private java.util.List<ListCustomField> listCustomFields = new java.util.ArrayList<ListCustomField>(); + private java.util.List<ListCustomField> listCustomFields = null; @JsonProperty("textCustomFields") - private java.util.List<TextCustomField> textCustomFields = new java.util.ArrayList<TextCustomField>(); + private java.util.List<TextCustomField> textCustomFields = null; + + /** + * listCustomFields. + * + * @return TemplateCustomFields + **/ public TemplateCustomFields listCustomFields(java.util.List<ListCustomField> listCustomFields) { this.listCustomFields = listCustomFields; return this; } - + + /** + * addListCustomFieldsItem. + * + * @return TemplateCustomFields + **/ public TemplateCustomFields addListCustomFieldsItem(ListCustomField listCustomFieldsItem) { + if (this.listCustomFields == null) { + this.listCustomFields = new java.util.ArrayList<ListCustomField>(); + } this.listCustomFields.add(listCustomFieldsItem); return this; } - /** - * An array of list custom fields. + /** + * An array of list custom fields.. * @return listCustomFields - **/ - @ApiModelProperty(example = "null", value = "An array of list custom fields.") + **/ + @ApiModelProperty(value = "An array of list custom fields.") public java.util.List<ListCustomField> getListCustomFields() { return listCustomFields; } + /** + * setListCustomFields. + **/ public void setListCustomFields(java.util.List<ListCustomField> listCustomFields) { this.listCustomFields = listCustomFields; } + + /** + * textCustomFields. + * + * @return TemplateCustomFields + **/ public TemplateCustomFields textCustomFields(java.util.List<TextCustomField> textCustomFields) { this.textCustomFields = textCustomFields; return this; } - + + /** + * addTextCustomFieldsItem. + * + * @return TemplateCustomFields + **/ public TemplateCustomFields addTextCustomFieldsItem(TextCustomField textCustomFieldsItem) { + if (this.textCustomFields == null) { + this.textCustomFields = new java.util.ArrayList<TextCustomField>(); + } this.textCustomFields.add(textCustomFieldsItem); return this; } - /** - * An array of text custom fields. + /** + * An array of text custom fields.. * @return textCustomFields - **/ - @ApiModelProperty(example = "null", value = "An array of text custom fields.") + **/ + @ApiModelProperty(value = "An array of text custom fields.") public java.util.List<TextCustomField> getTextCustomFields() { return textCustomFields; } + /** + * setTextCustomFields. + **/ public void setTextCustomFields(java.util.List<TextCustomField> textCustomFields) { this.textCustomFields = textCustomFields; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -79,12 +121,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.textCustomFields, templateCustomFields.textCustomFields); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(listCustomFields, textCustomFields); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -106,6 +154,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/TemplateDocumentVisibilityList.java b/src/main/java/com/docusign/esign/model/TemplateDocumentVisibilityList.java index ae97966d..e29b4582 100644 --- a/src/main/java/com/docusign/esign/model/TemplateDocumentVisibilityList.java +++ b/src/main/java/com/docusign/esign/model/TemplateDocumentVisibilityList.java @@ -1,44 +1,69 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.DocumentVisibility; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * TemplateDocumentVisibilityList + * TemplateDocumentVisibilityList. + * */ public class TemplateDocumentVisibilityList { @JsonProperty("documentVisibility") - private java.util.List<DocumentVisibility> documentVisibility = new java.util.ArrayList<DocumentVisibility>(); + private java.util.List<DocumentVisibility> documentVisibility = null; + + /** + * documentVisibility. + * + * @return TemplateDocumentVisibilityList + **/ public TemplateDocumentVisibilityList documentVisibility(java.util.List<DocumentVisibility> documentVisibility) { this.documentVisibility = documentVisibility; return this; } - + + /** + * addDocumentVisibilityItem. + * + * @return TemplateDocumentVisibilityList + **/ public TemplateDocumentVisibilityList addDocumentVisibilityItem(DocumentVisibility documentVisibilityItem) { + if (this.documentVisibility == null) { + this.documentVisibility = new java.util.ArrayList<DocumentVisibility>(); + } this.documentVisibility.add(documentVisibilityItem); return this; } - /** - * + /** + * . * @return documentVisibility - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List<DocumentVisibility> getDocumentVisibility() { return documentVisibility; } + /** + * setDocumentVisibility. + **/ public void setDocumentVisibility(java.util.List<DocumentVisibility> documentVisibility) { this.documentVisibility = documentVisibility; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -51,12 +76,18 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.documentVisibility, templateDocumentVisibilityList.documentVisibility); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(documentVisibility); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -77,6 +108,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/TemplateDocumentsResult.java b/src/main/java/com/docusign/esign/model/TemplateDocumentsResult.java index 9666140c..3817cce6 100644 --- a/src/main/java/com/docusign/esign/model/TemplateDocumentsResult.java +++ b/src/main/java/com/docusign/esign/model/TemplateDocumentsResult.java @@ -1,65 +1,99 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.EnvelopeDocument; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * TemplateDocumentsResult + * TemplateDocumentsResult. + * */ public class TemplateDocumentsResult { @JsonProperty("templateDocuments") - private java.util.List<EnvelopeDocument> templateDocuments = new java.util.ArrayList<EnvelopeDocument>(); + private java.util.List<EnvelopeDocument> templateDocuments = null; @JsonProperty("templateId") private String templateId = null; + + /** + * templateDocuments. + * + * @return TemplateDocumentsResult + **/ public TemplateDocumentsResult templateDocuments(java.util.List<EnvelopeDocument> templateDocuments) { this.templateDocuments = templateDocuments; return this; } - + + /** + * addTemplateDocumentsItem. + * + * @return TemplateDocumentsResult + **/ public TemplateDocumentsResult addTemplateDocumentsItem(EnvelopeDocument templateDocumentsItem) { + if (this.templateDocuments == null) { + this.templateDocuments = new java.util.ArrayList<EnvelopeDocument>(); + } this.templateDocuments.add(templateDocumentsItem); return this; } - /** - * + /** + * . * @return templateDocuments - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List<EnvelopeDocument> getTemplateDocuments() { return templateDocuments; } + /** + * setTemplateDocuments. + **/ public void setTemplateDocuments(java.util.List<EnvelopeDocument> templateDocuments) { this.templateDocuments = templateDocuments; } + + /** + * templateId. + * + * @return TemplateDocumentsResult + **/ public TemplateDocumentsResult templateId(String templateId) { this.templateId = templateId; return this; } - /** - * The unique identifier of the template. If this is not provided, DocuSign will generate a value. + /** + * The unique identifier of the template. If this is not provided, DocuSign will generate a value. . * @return templateId - **/ - @ApiModelProperty(example = "null", value = "The unique identifier of the template. If this is not provided, DocuSign will generate a value. ") + **/ + @ApiModelProperty(value = "The unique identifier of the template. If this is not provided, DocuSign will generate a value. ") public String getTemplateId() { return templateId; } + /** + * setTemplateId. + **/ public void setTemplateId(String templateId) { this.templateId = templateId; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -73,12 +107,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.templateId, templateDocumentsResult.templateId); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(templateDocuments, templateId); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -100,6 +140,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/TemplateInformation.java b/src/main/java/com/docusign/esign/model/TemplateInformation.java index bfe9efd4..08e966ff 100644 --- a/src/main/java/com/docusign/esign/model/TemplateInformation.java +++ b/src/main/java/com/docusign/esign/model/TemplateInformation.java @@ -1,44 +1,69 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.TemplateSummary; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * TemplateInformation + * TemplateInformation. + * */ public class TemplateInformation { @JsonProperty("templates") - private java.util.List<TemplateSummary> templates = new java.util.ArrayList<TemplateSummary>(); + private java.util.List<TemplateSummary> templates = null; + + /** + * templates. + * + * @return TemplateInformation + **/ public TemplateInformation templates(java.util.List<TemplateSummary> templates) { this.templates = templates; return this; } - + + /** + * addTemplatesItem. + * + * @return TemplateInformation + **/ public TemplateInformation addTemplatesItem(TemplateSummary templatesItem) { + if (this.templates == null) { + this.templates = new java.util.ArrayList<TemplateSummary>(); + } this.templates.add(templatesItem); return this; } - /** - * + /** + * . * @return templates - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List<TemplateSummary> getTemplates() { return templates; } + /** + * setTemplates. + **/ public void setTemplates(java.util.List<TemplateSummary> templates) { this.templates = templates; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -51,12 +76,18 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.templates, templateInformation.templates); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(templates); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -77,6 +108,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/TemplateMatch.java b/src/main/java/com/docusign/esign/model/TemplateMatch.java index 9c5ae0d2..838e0a83 100644 --- a/src/main/java/com/docusign/esign/model/TemplateMatch.java +++ b/src/main/java/com/docusign/esign/model/TemplateMatch.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * TemplateMatch + * TemplateMatch. + * */ public class TemplateMatch { @@ -20,61 +23,93 @@ public class TemplateMatch { @JsonProperty("matchPercentage") private String matchPercentage = null; + + /** + * documentEndPage. + * + * @return TemplateMatch + **/ public TemplateMatch documentEndPage(String documentEndPage) { this.documentEndPage = documentEndPage; return this; } - /** - * + /** + * . * @return documentEndPage - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getDocumentEndPage() { return documentEndPage; } + /** + * setDocumentEndPage. + **/ public void setDocumentEndPage(String documentEndPage) { this.documentEndPage = documentEndPage; } + + /** + * documentStartPage. + * + * @return TemplateMatch + **/ public TemplateMatch documentStartPage(String documentStartPage) { this.documentStartPage = documentStartPage; return this; } - /** - * + /** + * . * @return documentStartPage - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getDocumentStartPage() { return documentStartPage; } + /** + * setDocumentStartPage. + **/ public void setDocumentStartPage(String documentStartPage) { this.documentStartPage = documentStartPage; } + + /** + * matchPercentage. + * + * @return TemplateMatch + **/ public TemplateMatch matchPercentage(String matchPercentage) { this.matchPercentage = matchPercentage; return this; } - /** - * + /** + * . * @return matchPercentage - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getMatchPercentage() { return matchPercentage; } + /** + * setMatchPercentage. + **/ public void setMatchPercentage(String matchPercentage) { this.matchPercentage = matchPercentage; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -89,12 +124,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.matchPercentage, templateMatch.matchPercentage); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(documentEndPage, documentStartPage, matchPercentage); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -117,6 +158,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/TemplateNotificationRequest.java b/src/main/java/com/docusign/esign/model/TemplateNotificationRequest.java index 2c187b34..fca0fb24 100644 --- a/src/main/java/com/docusign/esign/model/TemplateNotificationRequest.java +++ b/src/main/java/com/docusign/esign/model/TemplateNotificationRequest.java @@ -1,15 +1,18 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.Expirations; import com.docusign.esign.model.Reminders; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * TemplateNotificationRequest + * TemplateNotificationRequest. + * */ public class TemplateNotificationRequest { @@ -25,79 +28,120 @@ public class TemplateNotificationRequest { @JsonProperty("useAccountDefaults") private String useAccountDefaults = null; + + /** + * expirations. + * + * @return TemplateNotificationRequest + **/ public TemplateNotificationRequest expirations(Expirations expirations) { this.expirations = expirations; return this; } - /** - * Get expirations + /** + * Get expirations. * @return expirations - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public Expirations getExpirations() { return expirations; } + /** + * setExpirations. + **/ public void setExpirations(Expirations expirations) { this.expirations = expirations; } + + /** + * password. + * + * @return TemplateNotificationRequest + **/ public TemplateNotificationRequest password(String password) { this.password = password; return this; } - /** - * + /** + * . * @return password - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPassword() { return password; } + /** + * setPassword. + **/ public void setPassword(String password) { this.password = password; } + + /** + * reminders. + * + * @return TemplateNotificationRequest + **/ public TemplateNotificationRequest reminders(Reminders reminders) { this.reminders = reminders; return this; } - /** - * Get reminders + /** + * Get reminders. * @return reminders - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public Reminders getReminders() { return reminders; } + /** + * setReminders. + **/ public void setReminders(Reminders reminders) { this.reminders = reminders; } + + /** + * useAccountDefaults. + * + * @return TemplateNotificationRequest + **/ public TemplateNotificationRequest useAccountDefaults(String useAccountDefaults) { this.useAccountDefaults = useAccountDefaults; return this; } - /** - * When set to **true**, the account default notification settings are used for the envelope. + /** + * When set to **true**, the account default notification settings are used for the envelope.. * @return useAccountDefaults - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the account default notification settings are used for the envelope.") + **/ + @ApiModelProperty(value = "When set to **true**, the account default notification settings are used for the envelope.") public String getUseAccountDefaults() { return useAccountDefaults; } + /** + * setUseAccountDefaults. + **/ public void setUseAccountDefaults(String useAccountDefaults) { this.useAccountDefaults = useAccountDefaults; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -113,12 +157,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.useAccountDefaults, templateNotificationRequest.useAccountDefaults); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(expirations, password, reminders, useAccountDefaults); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -142,6 +192,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/TemplateRecipients.java b/src/main/java/com/docusign/esign/model/TemplateRecipients.java index 6b0b43d0..f09542b2 100644 --- a/src/main/java/com/docusign/esign/model/TemplateRecipients.java +++ b/src/main/java/com/docusign/esign/model/TemplateRecipients.java @@ -1,6 +1,7 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.Agent; import com.docusign.esign.model.CarbonCopy; import com.docusign.esign.model.CertifiedDelivery; @@ -13,312 +14,499 @@ import com.docusign.esign.model.Witness; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * TemplateRecipients + * TemplateRecipients. + * */ public class TemplateRecipients { @JsonProperty("agents") - private java.util.List<Agent> agents = new java.util.ArrayList<Agent>(); + private java.util.List<Agent> agents = null; @JsonProperty("carbonCopies") - private java.util.List<CarbonCopy> carbonCopies = new java.util.ArrayList<CarbonCopy>(); + private java.util.List<CarbonCopy> carbonCopies = null; @JsonProperty("certifiedDeliveries") - private java.util.List<CertifiedDelivery> certifiedDeliveries = new java.util.ArrayList<CertifiedDelivery>(); + private java.util.List<CertifiedDelivery> certifiedDeliveries = null; @JsonProperty("currentRoutingOrder") private String currentRoutingOrder = null; @JsonProperty("editors") - private java.util.List<Editor> editors = new java.util.ArrayList<Editor>(); + private java.util.List<Editor> editors = null; @JsonProperty("errorDetails") private ErrorDetails errorDetails = null; @JsonProperty("inPersonSigners") - private java.util.List<InPersonSigner> inPersonSigners = new java.util.ArrayList<InPersonSigner>(); + private java.util.List<InPersonSigner> inPersonSigners = null; @JsonProperty("intermediaries") - private java.util.List<Intermediary> intermediaries = new java.util.ArrayList<Intermediary>(); + private java.util.List<Intermediary> intermediaries = null; @JsonProperty("recipientCount") private String recipientCount = null; @JsonProperty("seals") - private java.util.List<SealSign> seals = new java.util.ArrayList<SealSign>(); + private java.util.List<SealSign> seals = null; @JsonProperty("signers") - private java.util.List<Signer> signers = new java.util.ArrayList<Signer>(); + private java.util.List<Signer> signers = null; @JsonProperty("witnesses") - private java.util.List<Witness> witnesses = new java.util.ArrayList<Witness>(); + private java.util.List<Witness> witnesses = null; + + /** + * agents. + * + * @return TemplateRecipients + **/ public TemplateRecipients agents(java.util.List<Agent> agents) { this.agents = agents; return this; } - + + /** + * addAgentsItem. + * + * @return TemplateRecipients + **/ public TemplateRecipients addAgentsItem(Agent agentsItem) { + if (this.agents == null) { + this.agents = new java.util.ArrayList<Agent>(); + } this.agents.add(agentsItem); return this; } - /** - * A complex type defining the management and access rights of a recipient assigned assigned as an agent on the document. + /** + * A complex type defining the management and access rights of a recipient assigned assigned as an agent on the document.. * @return agents - **/ - @ApiModelProperty(example = "null", value = "A complex type defining the management and access rights of a recipient assigned assigned as an agent on the document.") + **/ + @ApiModelProperty(value = "A complex type defining the management and access rights of a recipient assigned assigned as an agent on the document.") public java.util.List<Agent> getAgents() { return agents; } + /** + * setAgents. + **/ public void setAgents(java.util.List<Agent> agents) { this.agents = agents; } + + /** + * carbonCopies. + * + * @return TemplateRecipients + **/ public TemplateRecipients carbonCopies(java.util.List<CarbonCopy> carbonCopies) { this.carbonCopies = carbonCopies; return this; } - + + /** + * addCarbonCopiesItem. + * + * @return TemplateRecipients + **/ public TemplateRecipients addCarbonCopiesItem(CarbonCopy carbonCopiesItem) { + if (this.carbonCopies == null) { + this.carbonCopies = new java.util.ArrayList<CarbonCopy>(); + } this.carbonCopies.add(carbonCopiesItem); return this; } - /** - * A complex type containing information about recipients who should receive a copy of the envelope, but does not need to sign it. + /** + * A complex type containing information about recipients who should receive a copy of the envelope, but does not need to sign it.. * @return carbonCopies - **/ - @ApiModelProperty(example = "null", value = "A complex type containing information about recipients who should receive a copy of the envelope, but does not need to sign it.") + **/ + @ApiModelProperty(value = "A complex type containing information about recipients who should receive a copy of the envelope, but does not need to sign it.") public java.util.List<CarbonCopy> getCarbonCopies() { return carbonCopies; } + /** + * setCarbonCopies. + **/ public void setCarbonCopies(java.util.List<CarbonCopy> carbonCopies) { this.carbonCopies = carbonCopies; } + + /** + * certifiedDeliveries. + * + * @return TemplateRecipients + **/ public TemplateRecipients certifiedDeliveries(java.util.List<CertifiedDelivery> certifiedDeliveries) { this.certifiedDeliveries = certifiedDeliveries; return this; } - + + /** + * addCertifiedDeliveriesItem. + * + * @return TemplateRecipients + **/ public TemplateRecipients addCertifiedDeliveriesItem(CertifiedDelivery certifiedDeliveriesItem) { + if (this.certifiedDeliveries == null) { + this.certifiedDeliveries = new java.util.ArrayList<CertifiedDelivery>(); + } this.certifiedDeliveries.add(certifiedDeliveriesItem); return this; } - /** - * A complex type containing information on a recipient the must receive the completed documents for the envelope to be completed, but the recipient does not need to sign, initial, date, or add information to any of the documents. + /** + * A complex type containing information on a recipient the must receive the completed documents for the envelope to be completed, but the recipient does not need to sign, initial, date, or add information to any of the documents.. * @return certifiedDeliveries - **/ - @ApiModelProperty(example = "null", value = "A complex type containing information on a recipient the must receive the completed documents for the envelope to be completed, but the recipient does not need to sign, initial, date, or add information to any of the documents.") + **/ + @ApiModelProperty(value = "A complex type containing information on a recipient the must receive the completed documents for the envelope to be completed, but the recipient does not need to sign, initial, date, or add information to any of the documents.") public java.util.List<CertifiedDelivery> getCertifiedDeliveries() { return certifiedDeliveries; } + /** + * setCertifiedDeliveries. + **/ public void setCertifiedDeliveries(java.util.List<CertifiedDelivery> certifiedDeliveries) { this.certifiedDeliveries = certifiedDeliveries; } + + /** + * currentRoutingOrder. + * + * @return TemplateRecipients + **/ public TemplateRecipients currentRoutingOrder(String currentRoutingOrder) { this.currentRoutingOrder = currentRoutingOrder; return this; } - /** - * + /** + * . * @return currentRoutingOrder - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getCurrentRoutingOrder() { return currentRoutingOrder; } + /** + * setCurrentRoutingOrder. + **/ public void setCurrentRoutingOrder(String currentRoutingOrder) { this.currentRoutingOrder = currentRoutingOrder; } + + /** + * editors. + * + * @return TemplateRecipients + **/ public TemplateRecipients editors(java.util.List<Editor> editors) { this.editors = editors; return this; } - + + /** + * addEditorsItem. + * + * @return TemplateRecipients + **/ public TemplateRecipients addEditorsItem(Editor editorsItem) { + if (this.editors == null) { + this.editors = new java.util.ArrayList<Editor>(); + } this.editors.add(editorsItem); return this; } - /** - * + /** + * . * @return editors - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List<Editor> getEditors() { return editors; } + /** + * setEditors. + **/ public void setEditors(java.util.List<Editor> editors) { this.editors = editors; } + + /** + * errorDetails. + * + * @return TemplateRecipients + **/ public TemplateRecipients errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * inPersonSigners. + * + * @return TemplateRecipients + **/ public TemplateRecipients inPersonSigners(java.util.List<InPersonSigner> inPersonSigners) { this.inPersonSigners = inPersonSigners; return this; } - + + /** + * addInPersonSignersItem. + * + * @return TemplateRecipients + **/ public TemplateRecipients addInPersonSignersItem(InPersonSigner inPersonSignersItem) { + if (this.inPersonSigners == null) { + this.inPersonSigners = new java.util.ArrayList<InPersonSigner>(); + } this.inPersonSigners.add(inPersonSignersItem); return this; } - /** - * Specifies a signer that is in the same physical location as a DocuSign user who will act as a Signing Host for the transaction. The recipient added is the Signing Host and new separate Signer Name field appears after Sign in person is selected. + /** + * Specifies a signer that is in the same physical location as a DocuSign user who will act as a Signing Host for the transaction. The recipient added is the Signing Host and new separate Signer Name field appears after Sign in person is selected.. * @return inPersonSigners - **/ - @ApiModelProperty(example = "null", value = "Specifies a signer that is in the same physical location as a DocuSign user who will act as a Signing Host for the transaction. The recipient added is the Signing Host and new separate Signer Name field appears after Sign in person is selected.") + **/ + @ApiModelProperty(value = "Specifies a signer that is in the same physical location as a DocuSign user who will act as a Signing Host for the transaction. The recipient added is the Signing Host and new separate Signer Name field appears after Sign in person is selected.") public java.util.List<InPersonSigner> getInPersonSigners() { return inPersonSigners; } + /** + * setInPersonSigners. + **/ public void setInPersonSigners(java.util.List<InPersonSigner> inPersonSigners) { this.inPersonSigners = inPersonSigners; } + + /** + * intermediaries. + * + * @return TemplateRecipients + **/ public TemplateRecipients intermediaries(java.util.List<Intermediary> intermediaries) { this.intermediaries = intermediaries; return this; } - + + /** + * addIntermediariesItem. + * + * @return TemplateRecipients + **/ public TemplateRecipients addIntermediariesItem(Intermediary intermediariesItem) { + if (this.intermediaries == null) { + this.intermediaries = new java.util.ArrayList<Intermediary>(); + } this.intermediaries.add(intermediariesItem); return this; } - /** - * Identifies a recipient that can, but is not required to, add name and email information for recipients at the same or subsequent level in the routing order (until subsequent Agents, Editors or Intermediaries recipient types are added). + /** + * Identifies a recipient that can, but is not required to, add name and email information for recipients at the same or subsequent level in the routing order (until subsequent Agents, Editors or Intermediaries recipient types are added).. * @return intermediaries - **/ - @ApiModelProperty(example = "null", value = "Identifies a recipient that can, but is not required to, add name and email information for recipients at the same or subsequent level in the routing order (until subsequent Agents, Editors or Intermediaries recipient types are added).") + **/ + @ApiModelProperty(value = "Identifies a recipient that can, but is not required to, add name and email information for recipients at the same or subsequent level in the routing order (until subsequent Agents, Editors or Intermediaries recipient types are added).") public java.util.List<Intermediary> getIntermediaries() { return intermediaries; } + /** + * setIntermediaries. + **/ public void setIntermediaries(java.util.List<Intermediary> intermediaries) { this.intermediaries = intermediaries; } + + /** + * recipientCount. + * + * @return TemplateRecipients + **/ public TemplateRecipients recipientCount(String recipientCount) { this.recipientCount = recipientCount; return this; } - /** - * The list of recipient event statuses that will trigger Connect to send updates to the url. It can be a two-part list with: * recipientEventStatusCode - The recipient status, this can be Sent, Delivered, Completed, Declined, AuthenticationFailed, and AutoResponded. * includeDocuments - When set to **true**, the envelope time zone information is included in the message. + /** + * The list of recipient event statuses that will trigger Connect to send updates to the url. It can be a two-part list with: * recipientEventStatusCode - The recipient status, this can be Sent, Delivered, Completed, Declined, AuthenticationFailed, and AutoResponded. * includeDocuments - When set to **true**, the envelope time zone information is included in the message.. * @return recipientCount - **/ - @ApiModelProperty(example = "null", value = "The list of recipient event statuses that will trigger Connect to send updates to the url. It can be a two-part list with: * recipientEventStatusCode - The recipient status, this can be Sent, Delivered, Completed, Declined, AuthenticationFailed, and AutoResponded. * includeDocuments - When set to **true**, the envelope time zone information is included in the message.") + **/ + @ApiModelProperty(value = "The list of recipient event statuses that will trigger Connect to send updates to the url. It can be a two-part list with: * recipientEventStatusCode - The recipient status, this can be Sent, Delivered, Completed, Declined, AuthenticationFailed, and AutoResponded. * includeDocuments - When set to **true**, the envelope time zone information is included in the message.") public String getRecipientCount() { return recipientCount; } + /** + * setRecipientCount. + **/ public void setRecipientCount(String recipientCount) { this.recipientCount = recipientCount; } + + /** + * seals. + * + * @return TemplateRecipients + **/ public TemplateRecipients seals(java.util.List<SealSign> seals) { this.seals = seals; return this; } - + + /** + * addSealsItem. + * + * @return TemplateRecipients + **/ public TemplateRecipients addSealsItem(SealSign sealsItem) { + if (this.seals == null) { + this.seals = new java.util.ArrayList<SealSign>(); + } this.seals.add(sealsItem); return this; } - /** - * + /** + * . * @return seals - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List<SealSign> getSeals() { return seals; } + /** + * setSeals. + **/ public void setSeals(java.util.List<SealSign> seals) { this.seals = seals; } + + /** + * signers. + * + * @return TemplateRecipients + **/ public TemplateRecipients signers(java.util.List<Signer> signers) { this.signers = signers; return this; } - + + /** + * addSignersItem. + * + * @return TemplateRecipients + **/ public TemplateRecipients addSignersItem(Signer signersItem) { + if (this.signers == null) { + this.signers = new java.util.ArrayList<Signer>(); + } this.signers.add(signersItem); return this; } - /** - * A complex type containing information about the Signer recipient. + /** + * A complex type containing information about the Signer recipient.. * @return signers - **/ - @ApiModelProperty(example = "null", value = "A complex type containing information about the Signer recipient.") + **/ + @ApiModelProperty(value = "A complex type containing information about the Signer recipient.") public java.util.List<Signer> getSigners() { return signers; } + /** + * setSigners. + **/ public void setSigners(java.util.List<Signer> signers) { this.signers = signers; } + + /** + * witnesses. + * + * @return TemplateRecipients + **/ public TemplateRecipients witnesses(java.util.List<Witness> witnesses) { this.witnesses = witnesses; return this; } - + + /** + * addWitnessesItem. + * + * @return TemplateRecipients + **/ public TemplateRecipients addWitnessesItem(Witness witnessesItem) { + if (this.witnesses == null) { + this.witnesses = new java.util.ArrayList<Witness>(); + } this.witnesses.add(witnessesItem); return this; } - /** - * + /** + * . * @return witnesses - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List<Witness> getWitnesses() { return witnesses; } + /** + * setWitnesses. + **/ public void setWitnesses(java.util.List<Witness> witnesses) { this.witnesses = witnesses; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -342,12 +530,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.witnesses, templateRecipients.witnesses); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(agents, carbonCopies, certifiedDeliveries, currentRoutingOrder, editors, errorDetails, inPersonSigners, intermediaries, recipientCount, seals, signers, witnesses); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -379,6 +573,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/TemplateRole.java b/src/main/java/com/docusign/esign/model/TemplateRole.java index 32f07199..9ac0f5c1 100644 --- a/src/main/java/com/docusign/esign/model/TemplateRole.java +++ b/src/main/java/com/docusign/esign/model/TemplateRole.java @@ -1,16 +1,19 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.RecipientEmailNotification; import com.docusign.esign.model.RecipientSignatureProvider; import com.docusign.esign.model.Tabs; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * TemplateRole + * TemplateRole. + * */ public class TemplateRole { @@ -39,7 +42,7 @@ public class TemplateRole { private String name = null; @JsonProperty("recipientSignatureProviders") - private java.util.List<RecipientSignatureProvider> recipientSignatureProviders = new java.util.ArrayList<RecipientSignatureProvider>(); + private java.util.List<RecipientSignatureProvider> recipientSignatureProviders = null; @JsonProperty("roleName") private String roleName = null; @@ -53,246 +56,376 @@ public class TemplateRole { @JsonProperty("tabs") private Tabs tabs = null; + + /** + * accessCode. + * + * @return TemplateRole + **/ public TemplateRole accessCode(String accessCode) { this.accessCode = accessCode; return this; } - /** - * If a value is provided, the recipient must enter the value as the access code to view and sign the envelope. Maximum Length: 50 characters and it must conform to the account's access code format setting. If blank, but the signer `accessCode` property is set in the envelope, then that value is used. If blank and the signer `accessCode` property is not set, then the access code is not required. + /** + * If a value is provided, the recipient must enter the value as the access code to view and sign the envelope. Maximum Length: 50 characters and it must conform to the account's access code format setting. If blank, but the signer `accessCode` property is set in the envelope, then that value is used. If blank and the signer `accessCode` property is not set, then the access code is not required.. * @return accessCode - **/ - @ApiModelProperty(example = "null", value = "If a value is provided, the recipient must enter the value as the access code to view and sign the envelope. Maximum Length: 50 characters and it must conform to the account's access code format setting. If blank, but the signer `accessCode` property is set in the envelope, then that value is used. If blank and the signer `accessCode` property is not set, then the access code is not required.") + **/ + @ApiModelProperty(value = "If a value is provided, the recipient must enter the value as the access code to view and sign the envelope. Maximum Length: 50 characters and it must conform to the account's access code format setting. If blank, but the signer `accessCode` property is set in the envelope, then that value is used. If blank and the signer `accessCode` property is not set, then the access code is not required.") public String getAccessCode() { return accessCode; } + /** + * setAccessCode. + **/ public void setAccessCode(String accessCode) { this.accessCode = accessCode; } + + /** + * clientUserId. + * + * @return TemplateRole + **/ public TemplateRole clientUserId(String clientUserId) { this.clientUserId = clientUserId; return this; } - /** - * Specifies whether the recipient is embedded or remote. If the `clientUserId` property is not null then the recipient is embedded. Note that if the `ClientUserId` property is set and either `SignerMustHaveAccount` or `SignerMustLoginToSign` property of the account settings is set to **true**, an error is generated on sending.ng. Maximum length: 100 characters. + /** + * Specifies whether the recipient is embedded or remote. If the `clientUserId` property is not null then the recipient is embedded. Note that if the `ClientUserId` property is set and either `SignerMustHaveAccount` or `SignerMustLoginToSign` property of the account settings is set to **true**, an error is generated on sending.ng. Maximum length: 100 characters. . * @return clientUserId - **/ - @ApiModelProperty(example = "null", value = "Specifies whether the recipient is embedded or remote. If the `clientUserId` property is not null then the recipient is embedded. Note that if the `ClientUserId` property is set and either `SignerMustHaveAccount` or `SignerMustLoginToSign` property of the account settings is set to **true**, an error is generated on sending.ng. Maximum length: 100 characters. ") + **/ + @ApiModelProperty(value = "Specifies whether the recipient is embedded or remote. If the `clientUserId` property is not null then the recipient is embedded. Note that if the `ClientUserId` property is set and either `SignerMustHaveAccount` or `SignerMustLoginToSign` property of the account settings is set to **true**, an error is generated on sending.ng. Maximum length: 100 characters. ") public String getClientUserId() { return clientUserId; } + /** + * setClientUserId. + **/ public void setClientUserId(String clientUserId) { this.clientUserId = clientUserId; } + + /** + * defaultRecipient. + * + * @return TemplateRole + **/ public TemplateRole defaultRecipient(String defaultRecipient) { this.defaultRecipient = defaultRecipient; return this; } - /** - * When set to **true**, this recipient is the default recipient and any tabs generated by the transformPdfFields option are mapped to this recipient. + /** + * When set to **true**, this recipient is the default recipient and any tabs generated by the transformPdfFields option are mapped to this recipient.. * @return defaultRecipient - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, this recipient is the default recipient and any tabs generated by the transformPdfFields option are mapped to this recipient.") + **/ + @ApiModelProperty(value = "When set to **true**, this recipient is the default recipient and any tabs generated by the transformPdfFields option are mapped to this recipient.") public String getDefaultRecipient() { return defaultRecipient; } + /** + * setDefaultRecipient. + **/ public void setDefaultRecipient(String defaultRecipient) { this.defaultRecipient = defaultRecipient; } + + /** + * email. + * + * @return TemplateRole + **/ public TemplateRole email(String email) { this.email = email; return this; } - /** - * Specifies the email associated with a role name. + /** + * Specifies the email associated with a role name.. * @return email - **/ - @ApiModelProperty(example = "null", value = "Specifies the email associated with a role name.") + **/ + @ApiModelProperty(value = "Specifies the email associated with a role name.") public String getEmail() { return email; } + /** + * setEmail. + **/ public void setEmail(String email) { this.email = email; } + + /** + * emailNotification. + * + * @return TemplateRole + **/ public TemplateRole emailNotification(RecipientEmailNotification emailNotification) { this.emailNotification = emailNotification; return this; } - /** - * Get emailNotification + /** + * Get emailNotification. * @return emailNotification - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public RecipientEmailNotification getEmailNotification() { return emailNotification; } + /** + * setEmailNotification. + **/ public void setEmailNotification(RecipientEmailNotification emailNotification) { this.emailNotification = emailNotification; } + + /** + * embeddedRecipientStartURL. + * + * @return TemplateRole + **/ public TemplateRole embeddedRecipientStartURL(String embeddedRecipientStartURL) { this.embeddedRecipientStartURL = embeddedRecipientStartURL; return this; } - /** - * Specifies a sender provided valid URL string for redirecting an embedded recipient. When using this option, the embedded recipient still receives an email from DocuSign, just as a remote recipient would. When the document link in the email is clicked the recipient is redirected, through DocuSign, to the supplied URL to complete their actions. When routing to the URL, the sender's system (the server responding to the URL) must request a recipient token to launch a signing session. If set to `SIGN_AT_DOCUSIGN`, the recipient is directed to an embedded signing or viewing process directly at DocuSign. The signing or viewing action is initiated by the DocuSign system and the transaction activity and Certificate of Completion records will reflect this. In all other ways the process is identical to an embedded signing or viewing operation that is launched by any partner. It is important to remember that in a typical embedded workflow the authentication of an embedded recipient is the responsibility of the sending application, DocuSign expects that senders will follow their own process for establishing the recipient's identity. In this workflow the recipient goes through the sending application before the embedded signing or viewing process in initiated. However, when the sending application sets `EmbeddedRecipientStartURL=SIGN_AT_DOCUSIGN`, the recipient goes directly to the embedded signing or viewing process bypassing the sending application and any authentication steps the sending application would use. In this case, DocuSign recommends that you use one of the normal DocuSign authentication features (Access Code, Phone Authentication, SMS Authentication, etc.) to verify the identity of the recipient. If the `clientUserId` property is NOT set, and the `embeddedRecipientStartURL` is set, DocuSign will ignore the redirect URL and launch the standard signing process for the email recipient. Information can be appended to the embedded recipient start URL using merge fields. The available merge fields items are: envelopeId, recipientId, recipientName, recipientEmail, and customFields. The `customFields` property must be set fort the recipient or envelope. The merge fields are enclosed in double brackets. *Example*: `http://senderHost/[[mergeField1]]/ beginSigningSession? [[mergeField2]]&[[mergeField3]]` + /** + * Specifies a sender provided valid URL string for redirecting an embedded recipient. When using this option, the embedded recipient still receives an email from DocuSign, just as a remote recipient would. When the document link in the email is clicked the recipient is redirected, through DocuSign, to the supplied URL to complete their actions. When routing to the URL, the sender's system (the server responding to the URL) must request a recipient token to launch a signing session. If set to `SIGN_AT_DOCUSIGN`, the recipient is directed to an embedded signing or viewing process directly at DocuSign. The signing or viewing action is initiated by the DocuSign system and the transaction activity and Certificate of Completion records will reflect this. In all other ways the process is identical to an embedded signing or viewing operation that is launched by any partner. It is important to remember that in a typical embedded workflow the authentication of an embedded recipient is the responsibility of the sending application, DocuSign expects that senders will follow their own process for establishing the recipient's identity. In this workflow the recipient goes through the sending application before the embedded signing or viewing process in initiated. However, when the sending application sets `EmbeddedRecipientStartURL=SIGN_AT_DOCUSIGN`, the recipient goes directly to the embedded signing or viewing process bypassing the sending application and any authentication steps the sending application would use. In this case, DocuSign recommends that you use one of the normal DocuSign authentication features (Access Code, Phone Authentication, SMS Authentication, etc.) to verify the identity of the recipient. If the `clientUserId` property is NOT set, and the `embeddedRecipientStartURL` is set, DocuSign will ignore the redirect URL and launch the standard signing process for the email recipient. Information can be appended to the embedded recipient start URL using merge fields. The available merge fields items are: envelopeId, recipientId, recipientName, recipientEmail, and customFields. The `customFields` property must be set fort the recipient or envelope. The merge fields are enclosed in double brackets. *Example*: `http://senderHost/[[mergeField1]]/ beginSigningSession? [[mergeField2]]&[[mergeField3]]` . * @return embeddedRecipientStartURL - **/ - @ApiModelProperty(example = "null", value = "Specifies a sender provided valid URL string for redirecting an embedded recipient. When using this option, the embedded recipient still receives an email from DocuSign, just as a remote recipient would. When the document link in the email is clicked the recipient is redirected, through DocuSign, to the supplied URL to complete their actions. When routing to the URL, the sender's system (the server responding to the URL) must request a recipient token to launch a signing session. If set to `SIGN_AT_DOCUSIGN`, the recipient is directed to an embedded signing or viewing process directly at DocuSign. The signing or viewing action is initiated by the DocuSign system and the transaction activity and Certificate of Completion records will reflect this. In all other ways the process is identical to an embedded signing or viewing operation that is launched by any partner. It is important to remember that in a typical embedded workflow the authentication of an embedded recipient is the responsibility of the sending application, DocuSign expects that senders will follow their own process for establishing the recipient's identity. In this workflow the recipient goes through the sending application before the embedded signing or viewing process in initiated. However, when the sending application sets `EmbeddedRecipientStartURL=SIGN_AT_DOCUSIGN`, the recipient goes directly to the embedded signing or viewing process bypassing the sending application and any authentication steps the sending application would use. In this case, DocuSign recommends that you use one of the normal DocuSign authentication features (Access Code, Phone Authentication, SMS Authentication, etc.) to verify the identity of the recipient. If the `clientUserId` property is NOT set, and the `embeddedRecipientStartURL` is set, DocuSign will ignore the redirect URL and launch the standard signing process for the email recipient. Information can be appended to the embedded recipient start URL using merge fields. The available merge fields items are: envelopeId, recipientId, recipientName, recipientEmail, and customFields. The `customFields` property must be set fort the recipient or envelope. The merge fields are enclosed in double brackets. *Example*: `http://senderHost/[[mergeField1]]/ beginSigningSession? [[mergeField2]]&[[mergeField3]]` ") + **/ + @ApiModelProperty(value = "Specifies a sender provided valid URL string for redirecting an embedded recipient. When using this option, the embedded recipient still receives an email from DocuSign, just as a remote recipient would. When the document link in the email is clicked the recipient is redirected, through DocuSign, to the supplied URL to complete their actions. When routing to the URL, the sender's system (the server responding to the URL) must request a recipient token to launch a signing session. If set to `SIGN_AT_DOCUSIGN`, the recipient is directed to an embedded signing or viewing process directly at DocuSign. The signing or viewing action is initiated by the DocuSign system and the transaction activity and Certificate of Completion records will reflect this. In all other ways the process is identical to an embedded signing or viewing operation that is launched by any partner. It is important to remember that in a typical embedded workflow the authentication of an embedded recipient is the responsibility of the sending application, DocuSign expects that senders will follow their own process for establishing the recipient's identity. In this workflow the recipient goes through the sending application before the embedded signing or viewing process in initiated. However, when the sending application sets `EmbeddedRecipientStartURL=SIGN_AT_DOCUSIGN`, the recipient goes directly to the embedded signing or viewing process bypassing the sending application and any authentication steps the sending application would use. In this case, DocuSign recommends that you use one of the normal DocuSign authentication features (Access Code, Phone Authentication, SMS Authentication, etc.) to verify the identity of the recipient. If the `clientUserId` property is NOT set, and the `embeddedRecipientStartURL` is set, DocuSign will ignore the redirect URL and launch the standard signing process for the email recipient. Information can be appended to the embedded recipient start URL using merge fields. The available merge fields items are: envelopeId, recipientId, recipientName, recipientEmail, and customFields. The `customFields` property must be set fort the recipient or envelope. The merge fields are enclosed in double brackets. *Example*: `http://senderHost/[[mergeField1]]/ beginSigningSession? [[mergeField2]]&[[mergeField3]]` ") public String getEmbeddedRecipientStartURL() { return embeddedRecipientStartURL; } + /** + * setEmbeddedRecipientStartURL. + **/ public void setEmbeddedRecipientStartURL(String embeddedRecipientStartURL) { this.embeddedRecipientStartURL = embeddedRecipientStartURL; } + + /** + * inPersonSignerName. + * + * @return TemplateRole + **/ public TemplateRole inPersonSignerName(String inPersonSignerName) { this.inPersonSignerName = inPersonSignerName; return this; } - /** - * Specifies the full legal name of the signer in person signer template roles. Maximum Length: 100 characters. + /** + * Specifies the full legal name of the signer in person signer template roles. Maximum Length: 100 characters.. * @return inPersonSignerName - **/ - @ApiModelProperty(example = "null", value = "Specifies the full legal name of the signer in person signer template roles. Maximum Length: 100 characters.") + **/ + @ApiModelProperty(value = "Specifies the full legal name of the signer in person signer template roles. Maximum Length: 100 characters.") public String getInPersonSignerName() { return inPersonSignerName; } + /** + * setInPersonSignerName. + **/ public void setInPersonSignerName(String inPersonSignerName) { this.inPersonSignerName = inPersonSignerName; } + + /** + * name. + * + * @return TemplateRole + **/ public TemplateRole name(String name) { this.name = name; return this; } - /** - * Specifies the recipient's name. + /** + * Specifies the recipient's name.. * @return name - **/ - @ApiModelProperty(example = "null", value = "Specifies the recipient's name.") + **/ + @ApiModelProperty(value = "Specifies the recipient's name.") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * recipientSignatureProviders. + * + * @return TemplateRole + **/ public TemplateRole recipientSignatureProviders(java.util.List<RecipientSignatureProvider> recipientSignatureProviders) { this.recipientSignatureProviders = recipientSignatureProviders; return this; } - + + /** + * addRecipientSignatureProvidersItem. + * + * @return TemplateRole + **/ public TemplateRole addRecipientSignatureProvidersItem(RecipientSignatureProvider recipientSignatureProvidersItem) { + if (this.recipientSignatureProviders == null) { + this.recipientSignatureProviders = new java.util.ArrayList<RecipientSignatureProvider>(); + } this.recipientSignatureProviders.add(recipientSignatureProvidersItem); return this; } - /** - * + /** + * . * @return recipientSignatureProviders - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List<RecipientSignatureProvider> getRecipientSignatureProviders() { return recipientSignatureProviders; } + /** + * setRecipientSignatureProviders. + **/ public void setRecipientSignatureProviders(java.util.List<RecipientSignatureProvider> recipientSignatureProviders) { this.recipientSignatureProviders = recipientSignatureProviders; } + + /** + * roleName. + * + * @return TemplateRole + **/ public TemplateRole roleName(String roleName) { this.roleName = roleName; return this; } - /** - * Optional element. Specifies the role name associated with the recipient.<br/><br/>This is required when working with template recipients. + /** + * Optional element. Specifies the role name associated with the recipient.<br/><br/>This is required when working with template recipients.. * @return roleName - **/ - @ApiModelProperty(example = "null", value = "Optional element. Specifies the role name associated with the recipient.<br/><br/>This is required when working with template recipients.") + **/ + @ApiModelProperty(value = "Optional element. Specifies the role name associated with the recipient.<br/><br/>This is required when working with template recipients.") public String getRoleName() { return roleName; } + /** + * setRoleName. + **/ public void setRoleName(String roleName) { this.roleName = roleName; } + + /** + * routingOrder. + * + * @return TemplateRole + **/ public TemplateRole routingOrder(String routingOrder) { this.routingOrder = routingOrder; return this; } - /** - * Specifies the routing order of the recipient in the envelope. + /** + * Specifies the routing order of the recipient in the envelope. . * @return routingOrder - **/ - @ApiModelProperty(example = "null", value = "Specifies the routing order of the recipient in the envelope. ") + **/ + @ApiModelProperty(value = "Specifies the routing order of the recipient in the envelope. ") public String getRoutingOrder() { return routingOrder; } + /** + * setRoutingOrder. + **/ public void setRoutingOrder(String routingOrder) { this.routingOrder = routingOrder; } + + /** + * signingGroupId. + * + * @return TemplateRole + **/ public TemplateRole signingGroupId(String signingGroupId) { this.signingGroupId = signingGroupId; return this; } - /** - * When set to **true** and the feature is enabled in the sender's account, the signing recipient is required to draw signatures and initials at each signature/initial tab ( instead of adopting a signature/initial style or only drawing a signature/initial once). + /** + * When set to **true** and the feature is enabled in the sender's account, the signing recipient is required to draw signatures and initials at each signature/initial tab ( instead of adopting a signature/initial style or only drawing a signature/initial once).. * @return signingGroupId - **/ - @ApiModelProperty(example = "null", value = "When set to **true** and the feature is enabled in the sender's account, the signing recipient is required to draw signatures and initials at each signature/initial tab ( instead of adopting a signature/initial style or only drawing a signature/initial once).") + **/ + @ApiModelProperty(value = "When set to **true** and the feature is enabled in the sender's account, the signing recipient is required to draw signatures and initials at each signature/initial tab ( instead of adopting a signature/initial style or only drawing a signature/initial once).") public String getSigningGroupId() { return signingGroupId; } + /** + * setSigningGroupId. + **/ public void setSigningGroupId(String signingGroupId) { this.signingGroupId = signingGroupId; } + + /** + * tabs. + * + * @return TemplateRole + **/ public TemplateRole tabs(Tabs tabs) { this.tabs = tabs; return this; } - /** - * Get tabs + /** + * Get tabs. * @return tabs - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public Tabs getTabs() { return tabs; } + /** + * setTabs. + **/ public void setTabs(Tabs tabs) { this.tabs = tabs; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -317,12 +450,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.tabs, templateRole.tabs); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(accessCode, clientUserId, defaultRecipient, email, emailNotification, embeddedRecipientStartURL, inPersonSignerName, name, recipientSignatureProviders, roleName, routingOrder, signingGroupId, tabs); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -355,6 +494,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/TemplateSharedItem.java b/src/main/java/com/docusign/esign/model/TemplateSharedItem.java index 10fbd82f..88f6f0f1 100644 --- a/src/main/java/com/docusign/esign/model/TemplateSharedItem.java +++ b/src/main/java/com/docusign/esign/model/TemplateSharedItem.java @@ -1,17 +1,20 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ErrorDetails; import com.docusign.esign.model.MemberGroupSharedItem; import com.docusign.esign.model.UserInfo; import com.docusign.esign.model.UserSharedItem; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * TemplateSharedItem + * TemplateSharedItem. + * */ public class TemplateSharedItem { @@ -25,10 +28,10 @@ public class TemplateSharedItem { private String shared = null; @JsonProperty("sharedGroups") - private java.util.List<MemberGroupSharedItem> sharedGroups = new java.util.ArrayList<MemberGroupSharedItem>(); + private java.util.List<MemberGroupSharedItem> sharedGroups = null; @JsonProperty("sharedUsers") - private java.util.List<UserSharedItem> sharedUsers = new java.util.ArrayList<UserSharedItem>(); + private java.util.List<UserSharedItem> sharedUsers = null; @JsonProperty("templateId") private String templateId = null; @@ -36,143 +39,227 @@ public class TemplateSharedItem { @JsonProperty("templateName") private String templateName = null; + + /** + * errorDetails. + * + * @return TemplateSharedItem + **/ public TemplateSharedItem errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * owner. + * + * @return TemplateSharedItem + **/ public TemplateSharedItem owner(UserInfo owner) { this.owner = owner; return this; } - /** - * Get owner + /** + * Get owner. * @return owner - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public UserInfo getOwner() { return owner; } + /** + * setOwner. + **/ public void setOwner(UserInfo owner) { this.owner = owner; } + + /** + * shared. + * + * @return TemplateSharedItem + **/ public TemplateSharedItem shared(String shared) { this.shared = shared; return this; } - /** - * When set to **true**, this custom tab is shared. + /** + * When set to **true**, this custom tab is shared.. * @return shared - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, this custom tab is shared.") + **/ + @ApiModelProperty(value = "When set to **true**, this custom tab is shared.") public String getShared() { return shared; } + /** + * setShared. + **/ public void setShared(String shared) { this.shared = shared; } + + /** + * sharedGroups. + * + * @return TemplateSharedItem + **/ public TemplateSharedItem sharedGroups(java.util.List<MemberGroupSharedItem> sharedGroups) { this.sharedGroups = sharedGroups; return this; } - + + /** + * addSharedGroupsItem. + * + * @return TemplateSharedItem + **/ public TemplateSharedItem addSharedGroupsItem(MemberGroupSharedItem sharedGroupsItem) { + if (this.sharedGroups == null) { + this.sharedGroups = new java.util.ArrayList<MemberGroupSharedItem>(); + } this.sharedGroups.add(sharedGroupsItem); return this; } - /** - * + /** + * . * @return sharedGroups - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List<MemberGroupSharedItem> getSharedGroups() { return sharedGroups; } + /** + * setSharedGroups. + **/ public void setSharedGroups(java.util.List<MemberGroupSharedItem> sharedGroups) { this.sharedGroups = sharedGroups; } + + /** + * sharedUsers. + * + * @return TemplateSharedItem + **/ public TemplateSharedItem sharedUsers(java.util.List<UserSharedItem> sharedUsers) { this.sharedUsers = sharedUsers; return this; } - + + /** + * addSharedUsersItem. + * + * @return TemplateSharedItem + **/ public TemplateSharedItem addSharedUsersItem(UserSharedItem sharedUsersItem) { + if (this.sharedUsers == null) { + this.sharedUsers = new java.util.ArrayList<UserSharedItem>(); + } this.sharedUsers.add(sharedUsersItem); return this; } - /** - * + /** + * . * @return sharedUsers - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List<UserSharedItem> getSharedUsers() { return sharedUsers; } + /** + * setSharedUsers. + **/ public void setSharedUsers(java.util.List<UserSharedItem> sharedUsers) { this.sharedUsers = sharedUsers; } + + /** + * templateId. + * + * @return TemplateSharedItem + **/ public TemplateSharedItem templateId(String templateId) { this.templateId = templateId; return this; } - /** - * The unique identifier of the template. If this is not provided, DocuSign will generate a value. + /** + * The unique identifier of the template. If this is not provided, DocuSign will generate a value. . * @return templateId - **/ - @ApiModelProperty(example = "null", value = "The unique identifier of the template. If this is not provided, DocuSign will generate a value. ") + **/ + @ApiModelProperty(value = "The unique identifier of the template. If this is not provided, DocuSign will generate a value. ") public String getTemplateId() { return templateId; } + /** + * setTemplateId. + **/ public void setTemplateId(String templateId) { this.templateId = templateId; } + + /** + * templateName. + * + * @return TemplateSharedItem + **/ public TemplateSharedItem templateName(String templateName) { this.templateName = templateName; return this; } - /** - * + /** + * . * @return templateName - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTemplateName() { return templateName; } + /** + * setTemplateName. + **/ public void setTemplateName(String templateName) { this.templateName = templateName; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -191,12 +278,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.templateName, templateSharedItem.templateName); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(errorDetails, owner, shared, sharedGroups, sharedUsers, templateId, templateName); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -223,6 +316,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/TemplateSummary.java b/src/main/java/com/docusign/esign/model/TemplateSummary.java index 627f670b..98924a3b 100644 --- a/src/main/java/com/docusign/esign/model/TemplateSummary.java +++ b/src/main/java/com/docusign/esign/model/TemplateSummary.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.TemplateMatch; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * TemplateSummary + * TemplateSummary. + * */ public class TemplateSummary { @@ -33,133 +36,201 @@ public class TemplateSummary { @JsonProperty("uri") private String uri = null; + + /** + * applied. + * + * @return TemplateSummary + **/ public TemplateSummary applied(String applied) { this.applied = applied; return this; } - /** - * Reserved: TBD + /** + * Reserved: TBD. * @return applied - **/ - @ApiModelProperty(example = "null", value = "Reserved: TBD") + **/ + @ApiModelProperty(value = "Reserved: TBD") public String getApplied() { return applied; } + /** + * setApplied. + **/ public void setApplied(String applied) { this.applied = applied; } + + /** + * documentId. + * + * @return TemplateSummary + **/ public TemplateSummary documentId(String documentId) { this.documentId = documentId; return this; } - /** - * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute. + /** + * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.. * @return documentId - **/ - @ApiModelProperty(example = "null", value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") + **/ + @ApiModelProperty(value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") public String getDocumentId() { return documentId; } + /** + * setDocumentId. + **/ public void setDocumentId(String documentId) { this.documentId = documentId; } + + /** + * documentName. + * + * @return TemplateSummary + **/ public TemplateSummary documentName(String documentName) { this.documentName = documentName; return this; } - /** - * + /** + * . * @return documentName - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getDocumentName() { return documentName; } + /** + * setDocumentName. + **/ public void setDocumentName(String documentName) { this.documentName = documentName; } + + /** + * name. + * + * @return TemplateSummary + **/ public TemplateSummary name(String name) { this.name = name; return this; } - /** - * + /** + * . * @return name - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * templateId. + * + * @return TemplateSummary + **/ public TemplateSummary templateId(String templateId) { this.templateId = templateId; return this; } - /** - * The unique identifier of the template. If this is not provided, DocuSign will generate a value. + /** + * The unique identifier of the template. If this is not provided, DocuSign will generate a value. . * @return templateId - **/ - @ApiModelProperty(example = "null", value = "The unique identifier of the template. If this is not provided, DocuSign will generate a value. ") + **/ + @ApiModelProperty(value = "The unique identifier of the template. If this is not provided, DocuSign will generate a value. ") public String getTemplateId() { return templateId; } + /** + * setTemplateId. + **/ public void setTemplateId(String templateId) { this.templateId = templateId; } + + /** + * templateMatch. + * + * @return TemplateSummary + **/ public TemplateSummary templateMatch(TemplateMatch templateMatch) { this.templateMatch = templateMatch; return this; } - /** - * Get templateMatch + /** + * Get templateMatch. * @return templateMatch - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public TemplateMatch getTemplateMatch() { return templateMatch; } + /** + * setTemplateMatch. + **/ public void setTemplateMatch(TemplateMatch templateMatch) { this.templateMatch = templateMatch; } + + /** + * uri. + * + * @return TemplateSummary + **/ public TemplateSummary uri(String uri) { this.uri = uri; return this; } - /** - * + /** + * . * @return uri - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getUri() { return uri; } + /** + * setUri. + **/ public void setUri(String uri) { this.uri = uri; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -178,12 +249,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.uri, templateSummary.uri); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(applied, documentId, documentName, name, templateId, templateMatch, uri); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -210,6 +287,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/TemplateTabs.java b/src/main/java/com/docusign/esign/model/TemplateTabs.java index 81921e00..810dfb23 100644 --- a/src/main/java/com/docusign/esign/model/TemplateTabs.java +++ b/src/main/java/com/docusign/esign/model/TemplateTabs.java @@ -1,6 +1,7 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.Approve; import com.docusign.esign.model.Checkbox; import com.docusign.esign.model.Company; @@ -14,7 +15,7 @@ import com.docusign.esign.model.FullName; import com.docusign.esign.model.InitialHere; import com.docusign.esign.model.LastName; -import com.docusign.esign.model.List; +import com.docusign.esign.model.ModelList; import com.docusign.esign.model.Notarize; import com.docusign.esign.model.Note; import com.docusign.esign.model.Number; @@ -29,718 +30,1183 @@ import com.docusign.esign.model.Zip; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; -import org.joda.time.LocalDate; /** - * TemplateTabs + * TemplateTabs. + * */ public class TemplateTabs { @JsonProperty("approveTabs") - private java.util.List<Approve> approveTabs = new java.util.ArrayList<Approve>(); + private java.util.List<Approve> approveTabs = null; @JsonProperty("checkboxTabs") - private java.util.List<Checkbox> checkboxTabs = new java.util.ArrayList<Checkbox>(); + private java.util.List<Checkbox> checkboxTabs = null; @JsonProperty("companyTabs") - private java.util.List<Company> companyTabs = new java.util.ArrayList<Company>(); + private java.util.List<Company> companyTabs = null; @JsonProperty("dateSignedTabs") - private java.util.List<DateSigned> dateSignedTabs = new java.util.ArrayList<DateSigned>(); + private java.util.List<DateSigned> dateSignedTabs = null; @JsonProperty("dateTabs") - private java.util.List<com.docusign.esign.model.Date> dateTabs = new java.util.ArrayList<com.docusign.esign.model.Date>(); + private java.util.List<com.docusign.esign.model.Date> dateTabs = null; @JsonProperty("declineTabs") - private java.util.List<Decline> declineTabs = new java.util.ArrayList<Decline>(); + private java.util.List<Decline> declineTabs = null; @JsonProperty("emailAddressTabs") - private java.util.List<EmailAddress> emailAddressTabs = new java.util.ArrayList<EmailAddress>(); + private java.util.List<EmailAddress> emailAddressTabs = null; @JsonProperty("emailTabs") - private java.util.List<Email> emailTabs = new java.util.ArrayList<Email>(); + private java.util.List<Email> emailTabs = null; @JsonProperty("envelopeIdTabs") - private java.util.List<EnvelopeId> envelopeIdTabs = new java.util.ArrayList<EnvelopeId>(); + private java.util.List<EnvelopeId> envelopeIdTabs = null; @JsonProperty("firstNameTabs") - private java.util.List<FirstName> firstNameTabs = new java.util.ArrayList<FirstName>(); + private java.util.List<FirstName> firstNameTabs = null; @JsonProperty("formulaTabs") - private java.util.List<FormulaTab> formulaTabs = new java.util.ArrayList<FormulaTab>(); + private java.util.List<FormulaTab> formulaTabs = null; @JsonProperty("fullNameTabs") - private java.util.List<FullName> fullNameTabs = new java.util.ArrayList<FullName>(); + private java.util.List<FullName> fullNameTabs = null; @JsonProperty("initialHereTabs") - private java.util.List<InitialHere> initialHereTabs = new java.util.ArrayList<InitialHere>(); + private java.util.List<InitialHere> initialHereTabs = null; @JsonProperty("lastNameTabs") - private java.util.List<LastName> lastNameTabs = new java.util.ArrayList<LastName>(); + private java.util.List<LastName> lastNameTabs = null; @JsonProperty("listTabs") - private java.util.List<List> listTabs = new java.util.ArrayList<List>(); + private java.util.List<ModelList> listTabs = null; @JsonProperty("notarizeTabs") - private java.util.List<Notarize> notarizeTabs = new java.util.ArrayList<Notarize>(); + private java.util.List<Notarize> notarizeTabs = null; @JsonProperty("noteTabs") - private java.util.List<Note> noteTabs = new java.util.ArrayList<Note>(); + private java.util.List<Note> noteTabs = null; @JsonProperty("numberTabs") - private java.util.List<Number> numberTabs = new java.util.ArrayList<Number>(); + private java.util.List<Number> numberTabs = null; @JsonProperty("radioGroupTabs") - private java.util.List<RadioGroup> radioGroupTabs = new java.util.ArrayList<RadioGroup>(); + private java.util.List<RadioGroup> radioGroupTabs = null; @JsonProperty("signerAttachmentTabs") - private java.util.List<SignerAttachment> signerAttachmentTabs = new java.util.ArrayList<SignerAttachment>(); + private java.util.List<SignerAttachment> signerAttachmentTabs = null; @JsonProperty("signHereTabs") - private java.util.List<SignHere> signHereTabs = new java.util.ArrayList<SignHere>(); + private java.util.List<SignHere> signHereTabs = null; @JsonProperty("smartSectionTabs") - private java.util.List<SmartSection> smartSectionTabs = new java.util.ArrayList<SmartSection>(); + private java.util.List<SmartSection> smartSectionTabs = null; @JsonProperty("ssnTabs") - private java.util.List<Ssn> ssnTabs = new java.util.ArrayList<Ssn>(); + private java.util.List<Ssn> ssnTabs = null; @JsonProperty("textTabs") - private java.util.List<Text> textTabs = new java.util.ArrayList<Text>(); + private java.util.List<Text> textTabs = null; @JsonProperty("titleTabs") - private java.util.List<Title> titleTabs = new java.util.ArrayList<Title>(); + private java.util.List<Title> titleTabs = null; @JsonProperty("viewTabs") - private java.util.List<View> viewTabs = new java.util.ArrayList<View>(); + private java.util.List<View> viewTabs = null; @JsonProperty("zipTabs") - private java.util.List<Zip> zipTabs = new java.util.ArrayList<Zip>(); + private java.util.List<Zip> zipTabs = null; + + /** + * approveTabs. + * + * @return TemplateTabs + **/ public TemplateTabs approveTabs(java.util.List<Approve> approveTabs) { this.approveTabs = approveTabs; return this; } - + + /** + * addApproveTabsItem. + * + * @return TemplateTabs + **/ public TemplateTabs addApproveTabsItem(Approve approveTabsItem) { + if (this.approveTabs == null) { + this.approveTabs = new java.util.ArrayList<Approve>(); + } this.approveTabs.add(approveTabsItem); return this; } - /** - * Specifies a tag on the document where you want the recipient to approve documents in an envelope without placing a signature or initials on the document. If the recipient clicks the Approve tag during the signing process, the recipient is considered to have signed the document. No information is shown on the document for the approval, but it is recorded as a signature in the envelope history. + /** + * Specifies a tag on the document where you want the recipient to approve documents in an envelope without placing a signature or initials on the document. If the recipient clicks the Approve tag during the signing process, the recipient is considered to have signed the document. No information is shown on the document for the approval, but it is recorded as a signature in the envelope history.. * @return approveTabs - **/ - @ApiModelProperty(example = "null", value = "Specifies a tag on the document where you want the recipient to approve documents in an envelope without placing a signature or initials on the document. If the recipient clicks the Approve tag during the signing process, the recipient is considered to have signed the document. No information is shown on the document for the approval, but it is recorded as a signature in the envelope history.") + **/ + @ApiModelProperty(value = "Specifies a tag on the document where you want the recipient to approve documents in an envelope without placing a signature or initials on the document. If the recipient clicks the Approve tag during the signing process, the recipient is considered to have signed the document. No information is shown on the document for the approval, but it is recorded as a signature in the envelope history.") public java.util.List<Approve> getApproveTabs() { return approveTabs; } + /** + * setApproveTabs. + **/ public void setApproveTabs(java.util.List<Approve> approveTabs) { this.approveTabs = approveTabs; } + + /** + * checkboxTabs. + * + * @return TemplateTabs + **/ public TemplateTabs checkboxTabs(java.util.List<Checkbox> checkboxTabs) { this.checkboxTabs = checkboxTabs; return this; } - + + /** + * addCheckboxTabsItem. + * + * @return TemplateTabs + **/ public TemplateTabs addCheckboxTabsItem(Checkbox checkboxTabsItem) { + if (this.checkboxTabs == null) { + this.checkboxTabs = new java.util.ArrayList<Checkbox>(); + } this.checkboxTabs.add(checkboxTabsItem); return this; } - /** - * Specifies a tag on the document in a location where the recipient can select an option. + /** + * Specifies a tag on the document in a location where the recipient can select an option.. * @return checkboxTabs - **/ - @ApiModelProperty(example = "null", value = "Specifies a tag on the document in a location where the recipient can select an option.") + **/ + @ApiModelProperty(value = "Specifies a tag on the document in a location where the recipient can select an option.") public java.util.List<Checkbox> getCheckboxTabs() { return checkboxTabs; } + /** + * setCheckboxTabs. + **/ public void setCheckboxTabs(java.util.List<Checkbox> checkboxTabs) { this.checkboxTabs = checkboxTabs; } + + /** + * companyTabs. + * + * @return TemplateTabs + **/ public TemplateTabs companyTabs(java.util.List<Company> companyTabs) { this.companyTabs = companyTabs; return this; } - + + /** + * addCompanyTabsItem. + * + * @return TemplateTabs + **/ public TemplateTabs addCompanyTabsItem(Company companyTabsItem) { + if (this.companyTabs == null) { + this.companyTabs = new java.util.ArrayList<Company>(); + } this.companyTabs.add(companyTabsItem); return this; } - /** - * Specifies a tag on the document where you want the recipient's company name to appear. When getting information that includes this tab type, the original value of the tab when the associated envelope was sent is included in the response. + /** + * Specifies a tag on the document where you want the recipient's company name to appear. When getting information that includes this tab type, the original value of the tab when the associated envelope was sent is included in the response.. * @return companyTabs - **/ - @ApiModelProperty(example = "null", value = "Specifies a tag on the document where you want the recipient's company name to appear. When getting information that includes this tab type, the original value of the tab when the associated envelope was sent is included in the response.") + **/ + @ApiModelProperty(value = "Specifies a tag on the document where you want the recipient's company name to appear. When getting information that includes this tab type, the original value of the tab when the associated envelope was sent is included in the response.") public java.util.List<Company> getCompanyTabs() { return companyTabs; } + /** + * setCompanyTabs. + **/ public void setCompanyTabs(java.util.List<Company> companyTabs) { this.companyTabs = companyTabs; } + + /** + * dateSignedTabs. + * + * @return TemplateTabs + **/ public TemplateTabs dateSignedTabs(java.util.List<DateSigned> dateSignedTabs) { this.dateSignedTabs = dateSignedTabs; return this; } - + + /** + * addDateSignedTabsItem. + * + * @return TemplateTabs + **/ public TemplateTabs addDateSignedTabsItem(DateSigned dateSignedTabsItem) { + if (this.dateSignedTabs == null) { + this.dateSignedTabs = new java.util.ArrayList<DateSigned>(); + } this.dateSignedTabs.add(dateSignedTabsItem); return this; } - /** - * Specifies a tab on the document where the date the document was signed will automatically appear. + /** + * Specifies a tab on the document where the date the document was signed will automatically appear.. * @return dateSignedTabs - **/ - @ApiModelProperty(example = "null", value = "Specifies a tab on the document where the date the document was signed will automatically appear.") + **/ + @ApiModelProperty(value = "Specifies a tab on the document where the date the document was signed will automatically appear.") public java.util.List<DateSigned> getDateSignedTabs() { return dateSignedTabs; } + /** + * setDateSignedTabs. + **/ public void setDateSignedTabs(java.util.List<DateSigned> dateSignedTabs) { this.dateSignedTabs = dateSignedTabs; } + + /** + * dateTabs. + * + * @return TemplateTabs + **/ public TemplateTabs dateTabs(java.util.List<com.docusign.esign.model.Date> dateTabs) { this.dateTabs = dateTabs; return this; } - + + /** + * addDateTabsItem. + * + * @return TemplateTabs + **/ public TemplateTabs addDateTabsItem(com.docusign.esign.model.Date dateTabsItem) { + if (this.dateTabs == null) { + this.dateTabs = new java.util.ArrayList<com.docusign.esign.model.Date>(); + } this.dateTabs.add(dateTabsItem); return this; } - /** - * Specifies a tab on the document where you want the recipient to enter a date. Date tabs are single-line fields that allow date information to be entered in any format. The tooltip for this tab recommends entering the date as MM/DD/YYYY, but this is not enforced. The format entered by the signer is retained. If you need a particular date format enforced, DocuSign recommends using a Text tab with a Validation Pattern and Validation Message to enforce the format. + /** + * Specifies a tab on the document where you want the recipient to enter a date. Date tabs are single-line fields that allow date information to be entered in any format. The tooltip for this tab recommends entering the date as MM/DD/YYYY, but this is not enforced. The format entered by the signer is retained. If you need a particular date format enforced, DocuSign recommends using a Text tab with a Validation Pattern and Validation Message to enforce the format.. * @return dateTabs - **/ - @ApiModelProperty(example = "null", value = "Specifies a tab on the document where you want the recipient to enter a date. Date tabs are single-line fields that allow date information to be entered in any format. The tooltip for this tab recommends entering the date as MM/DD/YYYY, but this is not enforced. The format entered by the signer is retained. If you need a particular date format enforced, DocuSign recommends using a Text tab with a Validation Pattern and Validation Message to enforce the format.") + **/ + @ApiModelProperty(value = "Specifies a tab on the document where you want the recipient to enter a date. Date tabs are single-line fields that allow date information to be entered in any format. The tooltip for this tab recommends entering the date as MM/DD/YYYY, but this is not enforced. The format entered by the signer is retained. If you need a particular date format enforced, DocuSign recommends using a Text tab with a Validation Pattern and Validation Message to enforce the format.") public java.util.List<com.docusign.esign.model.Date> getDateTabs() { return dateTabs; } + /** + * setDateTabs. + **/ public void setDateTabs(java.util.List<com.docusign.esign.model.Date> dateTabs) { this.dateTabs = dateTabs; } + + /** + * declineTabs. + * + * @return TemplateTabs + **/ public TemplateTabs declineTabs(java.util.List<Decline> declineTabs) { this.declineTabs = declineTabs; return this; } - + + /** + * addDeclineTabsItem. + * + * @return TemplateTabs + **/ public TemplateTabs addDeclineTabsItem(Decline declineTabsItem) { + if (this.declineTabs == null) { + this.declineTabs = new java.util.ArrayList<Decline>(); + } this.declineTabs.add(declineTabsItem); return this; } - /** - * Specifies a tag on the document where you want to give the recipient the option of declining an envelope. If the recipient clicks the Decline tag during the signing process, the envelope is voided. + /** + * Specifies a tag on the document where you want to give the recipient the option of declining an envelope. If the recipient clicks the Decline tag during the signing process, the envelope is voided.. * @return declineTabs - **/ - @ApiModelProperty(example = "null", value = "Specifies a tag on the document where you want to give the recipient the option of declining an envelope. If the recipient clicks the Decline tag during the signing process, the envelope is voided.") + **/ + @ApiModelProperty(value = "Specifies a tag on the document where you want to give the recipient the option of declining an envelope. If the recipient clicks the Decline tag during the signing process, the envelope is voided.") public java.util.List<Decline> getDeclineTabs() { return declineTabs; } + /** + * setDeclineTabs. + **/ public void setDeclineTabs(java.util.List<Decline> declineTabs) { this.declineTabs = declineTabs; } + + /** + * emailAddressTabs. + * + * @return TemplateTabs + **/ public TemplateTabs emailAddressTabs(java.util.List<EmailAddress> emailAddressTabs) { this.emailAddressTabs = emailAddressTabs; return this; } - + + /** + * addEmailAddressTabsItem. + * + * @return TemplateTabs + **/ public TemplateTabs addEmailAddressTabsItem(EmailAddress emailAddressTabsItem) { + if (this.emailAddressTabs == null) { + this.emailAddressTabs = new java.util.ArrayList<EmailAddress>(); + } this.emailAddressTabs.add(emailAddressTabsItem); return this; } - /** - * Specifies a location on the document where you want where you want the recipient's email, as entered in the recipient information, to display. + /** + * Specifies a location on the document where you want where you want the recipient's email, as entered in the recipient information, to display.. * @return emailAddressTabs - **/ - @ApiModelProperty(example = "null", value = "Specifies a location on the document where you want where you want the recipient's email, as entered in the recipient information, to display.") + **/ + @ApiModelProperty(value = "Specifies a location on the document where you want where you want the recipient's email, as entered in the recipient information, to display.") public java.util.List<EmailAddress> getEmailAddressTabs() { return emailAddressTabs; } + /** + * setEmailAddressTabs. + **/ public void setEmailAddressTabs(java.util.List<EmailAddress> emailAddressTabs) { this.emailAddressTabs = emailAddressTabs; } + + /** + * emailTabs. + * + * @return TemplateTabs + **/ public TemplateTabs emailTabs(java.util.List<Email> emailTabs) { this.emailTabs = emailTabs; return this; } - + + /** + * addEmailTabsItem. + * + * @return TemplateTabs + **/ public TemplateTabs addEmailTabsItem(Email emailTabsItem) { + if (this.emailTabs == null) { + this.emailTabs = new java.util.ArrayList<Email>(); + } this.emailTabs.add(emailTabsItem); return this; } - /** - * Specifies a tag on the document where you want the recipient to enter an email. Email tags are single-line fields that accept any characters. The system checks that a valid email format (i.e. xxx@yyy.zzz) is entered in the tag. It uses the same parameters as a Text tab, with the validation message and pattern set for email information. When getting information that includes this tab type, the original value of the tab when the associated envelope was sent is included in the response. + /** + * Specifies a tag on the document where you want the recipient to enter an email. Email tags are single-line fields that accept any characters. The system checks that a valid email format (i.e. xxx@yyy.zzz) is entered in the tag. It uses the same parameters as a Text tab, with the validation message and pattern set for email information. When getting information that includes this tab type, the original value of the tab when the associated envelope was sent is included in the response.. * @return emailTabs - **/ - @ApiModelProperty(example = "null", value = "Specifies a tag on the document where you want the recipient to enter an email. Email tags are single-line fields that accept any characters. The system checks that a valid email format (i.e. xxx@yyy.zzz) is entered in the tag. It uses the same parameters as a Text tab, with the validation message and pattern set for email information. When getting information that includes this tab type, the original value of the tab when the associated envelope was sent is included in the response.") + **/ + @ApiModelProperty(value = "Specifies a tag on the document where you want the recipient to enter an email. Email tags are single-line fields that accept any characters. The system checks that a valid email format (i.e. xxx@yyy.zzz) is entered in the tag. It uses the same parameters as a Text tab, with the validation message and pattern set for email information. When getting information that includes this tab type, the original value of the tab when the associated envelope was sent is included in the response.") public java.util.List<Email> getEmailTabs() { return emailTabs; } + /** + * setEmailTabs. + **/ public void setEmailTabs(java.util.List<Email> emailTabs) { this.emailTabs = emailTabs; } + + /** + * envelopeIdTabs. + * + * @return TemplateTabs + **/ public TemplateTabs envelopeIdTabs(java.util.List<EnvelopeId> envelopeIdTabs) { this.envelopeIdTabs = envelopeIdTabs; return this; } - + + /** + * addEnvelopeIdTabsItem. + * + * @return TemplateTabs + **/ public TemplateTabs addEnvelopeIdTabsItem(EnvelopeId envelopeIdTabsItem) { + if (this.envelopeIdTabs == null) { + this.envelopeIdTabs = new java.util.ArrayList<EnvelopeId>(); + } this.envelopeIdTabs.add(envelopeIdTabsItem); return this; } - /** - * Specifies a tag on the document where you want the envelope ID for to appear. Recipients cannot enter or change the information in this tab, it is for informational purposes only. + /** + * Specifies a tag on the document where you want the envelope ID for to appear. Recipients cannot enter or change the information in this tab, it is for informational purposes only.. * @return envelopeIdTabs - **/ - @ApiModelProperty(example = "null", value = "Specifies a tag on the document where you want the envelope ID for to appear. Recipients cannot enter or change the information in this tab, it is for informational purposes only.") + **/ + @ApiModelProperty(value = "Specifies a tag on the document where you want the envelope ID for to appear. Recipients cannot enter or change the information in this tab, it is for informational purposes only.") public java.util.List<EnvelopeId> getEnvelopeIdTabs() { return envelopeIdTabs; } + /** + * setEnvelopeIdTabs. + **/ public void setEnvelopeIdTabs(java.util.List<EnvelopeId> envelopeIdTabs) { this.envelopeIdTabs = envelopeIdTabs; } + + /** + * firstNameTabs. + * + * @return TemplateTabs + **/ public TemplateTabs firstNameTabs(java.util.List<FirstName> firstNameTabs) { this.firstNameTabs = firstNameTabs; return this; } - + + /** + * addFirstNameTabsItem. + * + * @return TemplateTabs + **/ public TemplateTabs addFirstNameTabsItem(FirstName firstNameTabsItem) { + if (this.firstNameTabs == null) { + this.firstNameTabs = new java.util.ArrayList<FirstName>(); + } this.firstNameTabs.add(firstNameTabsItem); return this; } - /** - * Specifies tag on a document where you want the recipient's first name to appear. This tag takes the recipient's name, as entered in the recipient information, splits it into sections based on spaces and uses the first section as the first name. + /** + * Specifies tag on a document where you want the recipient's first name to appear. This tag takes the recipient's name, as entered in the recipient information, splits it into sections based on spaces and uses the first section as the first name.. * @return firstNameTabs - **/ - @ApiModelProperty(example = "null", value = "Specifies tag on a document where you want the recipient's first name to appear. This tag takes the recipient's name, as entered in the recipient information, splits it into sections based on spaces and uses the first section as the first name.") + **/ + @ApiModelProperty(value = "Specifies tag on a document where you want the recipient's first name to appear. This tag takes the recipient's name, as entered in the recipient information, splits it into sections based on spaces and uses the first section as the first name.") public java.util.List<FirstName> getFirstNameTabs() { return firstNameTabs; } + /** + * setFirstNameTabs. + **/ public void setFirstNameTabs(java.util.List<FirstName> firstNameTabs) { this.firstNameTabs = firstNameTabs; } + + /** + * formulaTabs. + * + * @return TemplateTabs + **/ public TemplateTabs formulaTabs(java.util.List<FormulaTab> formulaTabs) { this.formulaTabs = formulaTabs; return this; } - + + /** + * addFormulaTabsItem. + * + * @return TemplateTabs + **/ public TemplateTabs addFormulaTabsItem(FormulaTab formulaTabsItem) { + if (this.formulaTabs == null) { + this.formulaTabs = new java.util.ArrayList<FormulaTab>(); + } this.formulaTabs.add(formulaTabsItem); return this; } - /** - * Specifies a tag that is used to add a calculated field to a document. Envelope recipients cannot directly enter information into the tag; the formula tab calculates and displays a new value when changes are made to the reference tag values. The reference tag information and calculation operations are entered in the \"formula\" element. See the [ML:Using the Calculated Fields Feature] quick start guide or [ML:DocuSign Service User Guide] for more information about formulas. + /** + * Specifies a tag that is used to add a calculated field to a document. Envelope recipients cannot directly enter information into the tag; the formula tab calculates and displays a new value when changes are made to the reference tag values. The reference tag information and calculation operations are entered in the \"formula\" element. See the [ML:Using the Calculated Fields Feature] quick start guide or [ML:DocuSign Service User Guide] for more information about formulas.. * @return formulaTabs - **/ - @ApiModelProperty(example = "null", value = "Specifies a tag that is used to add a calculated field to a document. Envelope recipients cannot directly enter information into the tag; the formula tab calculates and displays a new value when changes are made to the reference tag values. The reference tag information and calculation operations are entered in the \"formula\" element. See the [ML:Using the Calculated Fields Feature] quick start guide or [ML:DocuSign Service User Guide] for more information about formulas.") + **/ + @ApiModelProperty(value = "Specifies a tag that is used to add a calculated field to a document. Envelope recipients cannot directly enter information into the tag; the formula tab calculates and displays a new value when changes are made to the reference tag values. The reference tag information and calculation operations are entered in the \"formula\" element. See the [ML:Using the Calculated Fields Feature] quick start guide or [ML:DocuSign Service User Guide] for more information about formulas.") public java.util.List<FormulaTab> getFormulaTabs() { return formulaTabs; } + /** + * setFormulaTabs. + **/ public void setFormulaTabs(java.util.List<FormulaTab> formulaTabs) { this.formulaTabs = formulaTabs; } + + /** + * fullNameTabs. + * + * @return TemplateTabs + **/ public TemplateTabs fullNameTabs(java.util.List<FullName> fullNameTabs) { this.fullNameTabs = fullNameTabs; return this; } - + + /** + * addFullNameTabsItem. + * + * @return TemplateTabs + **/ public TemplateTabs addFullNameTabsItem(FullName fullNameTabsItem) { + if (this.fullNameTabs == null) { + this.fullNameTabs = new java.util.ArrayList<FullName>(); + } this.fullNameTabs.add(fullNameTabsItem); return this; } - /** - * Specifies a tag on the document where you want the recipient's name to appear. + /** + * Specifies a tag on the document where you want the recipient's name to appear.. * @return fullNameTabs - **/ - @ApiModelProperty(example = "null", value = "Specifies a tag on the document where you want the recipient's name to appear.") + **/ + @ApiModelProperty(value = "Specifies a tag on the document where you want the recipient's name to appear.") public java.util.List<FullName> getFullNameTabs() { return fullNameTabs; } + /** + * setFullNameTabs. + **/ public void setFullNameTabs(java.util.List<FullName> fullNameTabs) { this.fullNameTabs = fullNameTabs; } + + /** + * initialHereTabs. + * + * @return TemplateTabs + **/ public TemplateTabs initialHereTabs(java.util.List<InitialHere> initialHereTabs) { this.initialHereTabs = initialHereTabs; return this; } - + + /** + * addInitialHereTabsItem. + * + * @return TemplateTabs + **/ public TemplateTabs addInitialHereTabsItem(InitialHere initialHereTabsItem) { + if (this.initialHereTabs == null) { + this.initialHereTabs = new java.util.ArrayList<InitialHere>(); + } this.initialHereTabs.add(initialHereTabsItem); return this; } - /** - * Specifies a tag location in the document at which a recipient will place their initials. The `optional` parameter specifies whether the initials are required or optional. + /** + * Specifies a tag location in the document at which a recipient will place their initials. The `optional` parameter specifies whether the initials are required or optional.. * @return initialHereTabs - **/ - @ApiModelProperty(example = "null", value = "Specifies a tag location in the document at which a recipient will place their initials. The `optional` parameter specifies whether the initials are required or optional.") + **/ + @ApiModelProperty(value = "Specifies a tag location in the document at which a recipient will place their initials. The `optional` parameter specifies whether the initials are required or optional.") public java.util.List<InitialHere> getInitialHereTabs() { return initialHereTabs; } + /** + * setInitialHereTabs. + **/ public void setInitialHereTabs(java.util.List<InitialHere> initialHereTabs) { this.initialHereTabs = initialHereTabs; } + + /** + * lastNameTabs. + * + * @return TemplateTabs + **/ public TemplateTabs lastNameTabs(java.util.List<LastName> lastNameTabs) { this.lastNameTabs = lastNameTabs; return this; } - + + /** + * addLastNameTabsItem. + * + * @return TemplateTabs + **/ public TemplateTabs addLastNameTabsItem(LastName lastNameTabsItem) { + if (this.lastNameTabs == null) { + this.lastNameTabs = new java.util.ArrayList<LastName>(); + } this.lastNameTabs.add(lastNameTabsItem); return this; } - /** - * Specifies a tag on a document where you want the recipient's last name to appear. This tag takes the recipient's name, as entered in the recipient information, splits it into sections based on spaces and uses the last section as the last name. + /** + * Specifies a tag on a document where you want the recipient's last name to appear. This tag takes the recipient's name, as entered in the recipient information, splits it into sections based on spaces and uses the last section as the last name.. * @return lastNameTabs - **/ - @ApiModelProperty(example = "null", value = "Specifies a tag on a document where you want the recipient's last name to appear. This tag takes the recipient's name, as entered in the recipient information, splits it into sections based on spaces and uses the last section as the last name.") + **/ + @ApiModelProperty(value = "Specifies a tag on a document where you want the recipient's last name to appear. This tag takes the recipient's name, as entered in the recipient information, splits it into sections based on spaces and uses the last section as the last name.") public java.util.List<LastName> getLastNameTabs() { return lastNameTabs; } + /** + * setLastNameTabs. + **/ public void setLastNameTabs(java.util.List<LastName> lastNameTabs) { this.lastNameTabs = lastNameTabs; } - public TemplateTabs listTabs(java.util.List<List> listTabs) { + + /** + * listTabs. + * + * @return TemplateTabs + **/ + public TemplateTabs listTabs(java.util.List<ModelList> listTabs) { this.listTabs = listTabs; return this; } - - public TemplateTabs addListTabsItem(List listTabsItem) { + + /** + * addListTabsItem. + * + * @return TemplateTabs + **/ + public TemplateTabs addListTabsItem(ModelList listTabsItem) { + if (this.listTabs == null) { + this.listTabs = new java.util.ArrayList<ModelList>(); + } this.listTabs.add(listTabsItem); return this; } - /** - * Specify this tag to give your recipient a list of options, presented as a drop-down list, from which they can select. + /** + * Specify this tag to give your recipient a list of options, presented as a drop-down list, from which they can select.. * @return listTabs - **/ - @ApiModelProperty(example = "null", value = "Specify this tag to give your recipient a list of options, presented as a drop-down list, from which they can select.") - public java.util.List<List> getListTabs() { + **/ + @ApiModelProperty(value = "Specify this tag to give your recipient a list of options, presented as a drop-down list, from which they can select.") + public java.util.List<ModelList> getListTabs() { return listTabs; } - public void setListTabs(java.util.List<List> listTabs) { + /** + * setListTabs. + **/ + public void setListTabs(java.util.List<ModelList> listTabs) { this.listTabs = listTabs; } + + /** + * notarizeTabs. + * + * @return TemplateTabs + **/ public TemplateTabs notarizeTabs(java.util.List<Notarize> notarizeTabs) { this.notarizeTabs = notarizeTabs; return this; } - + + /** + * addNotarizeTabsItem. + * + * @return TemplateTabs + **/ public TemplateTabs addNotarizeTabsItem(Notarize notarizeTabsItem) { + if (this.notarizeTabs == null) { + this.notarizeTabs = new java.util.ArrayList<Notarize>(); + } this.notarizeTabs.add(notarizeTabsItem); return this; } - /** - * + /** + * . * @return notarizeTabs - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List<Notarize> getNotarizeTabs() { return notarizeTabs; } + /** + * setNotarizeTabs. + **/ public void setNotarizeTabs(java.util.List<Notarize> notarizeTabs) { this.notarizeTabs = notarizeTabs; } + + /** + * noteTabs. + * + * @return TemplateTabs + **/ public TemplateTabs noteTabs(java.util.List<Note> noteTabs) { this.noteTabs = noteTabs; return this; } - + + /** + * addNoteTabsItem. + * + * @return TemplateTabs + **/ public TemplateTabs addNoteTabsItem(Note noteTabsItem) { + if (this.noteTabs == null) { + this.noteTabs = new java.util.ArrayList<Note>(); + } this.noteTabs.add(noteTabsItem); return this; } - /** - * Specifies a location on the document where you want to place additional information, in the form of a note, for a recipient. + /** + * Specifies a location on the document where you want to place additional information, in the form of a note, for a recipient.. * @return noteTabs - **/ - @ApiModelProperty(example = "null", value = "Specifies a location on the document where you want to place additional information, in the form of a note, for a recipient.") + **/ + @ApiModelProperty(value = "Specifies a location on the document where you want to place additional information, in the form of a note, for a recipient.") public java.util.List<Note> getNoteTabs() { return noteTabs; } + /** + * setNoteTabs. + **/ public void setNoteTabs(java.util.List<Note> noteTabs) { this.noteTabs = noteTabs; } + + /** + * numberTabs. + * + * @return TemplateTabs + **/ public TemplateTabs numberTabs(java.util.List<Number> numberTabs) { this.numberTabs = numberTabs; return this; } - + + /** + * addNumberTabsItem. + * + * @return TemplateTabs + **/ public TemplateTabs addNumberTabsItem(Number numberTabsItem) { + if (this.numberTabs == null) { + this.numberTabs = new java.util.ArrayList<Number>(); + } this.numberTabs.add(numberTabsItem); return this; } - /** - * Specifies a tag on the document where you want the recipient to enter a number. It uses the same parameters as a Text tab, with the validation message and pattern set for number information. When getting information that includes this tab type, the original value of the tab when the associated envelope was sent is included in the response. + /** + * Specifies a tag on the document where you want the recipient to enter a number. It uses the same parameters as a Text tab, with the validation message and pattern set for number information. When getting information that includes this tab type, the original value of the tab when the associated envelope was sent is included in the response. . * @return numberTabs - **/ - @ApiModelProperty(example = "null", value = "Specifies a tag on the document where you want the recipient to enter a number. It uses the same parameters as a Text tab, with the validation message and pattern set for number information. When getting information that includes this tab type, the original value of the tab when the associated envelope was sent is included in the response. ") + **/ + @ApiModelProperty(value = "Specifies a tag on the document where you want the recipient to enter a number. It uses the same parameters as a Text tab, with the validation message and pattern set for number information. When getting information that includes this tab type, the original value of the tab when the associated envelope was sent is included in the response. ") public java.util.List<Number> getNumberTabs() { return numberTabs; } + /** + * setNumberTabs. + **/ public void setNumberTabs(java.util.List<Number> numberTabs) { this.numberTabs = numberTabs; } + + /** + * radioGroupTabs. + * + * @return TemplateTabs + **/ public TemplateTabs radioGroupTabs(java.util.List<RadioGroup> radioGroupTabs) { this.radioGroupTabs = radioGroupTabs; return this; } - + + /** + * addRadioGroupTabsItem. + * + * @return TemplateTabs + **/ public TemplateTabs addRadioGroupTabsItem(RadioGroup radioGroupTabsItem) { + if (this.radioGroupTabs == null) { + this.radioGroupTabs = new java.util.ArrayList<RadioGroup>(); + } this.radioGroupTabs.add(radioGroupTabsItem); return this; } - /** - * Specifies a tag on the document in a location where the recipient can select one option from a group of options using a radio button. The radio buttons do not have to be on the same page in a document. + /** + * Specifies a tag on the document in a location where the recipient can select one option from a group of options using a radio button. The radio buttons do not have to be on the same page in a document.. * @return radioGroupTabs - **/ - @ApiModelProperty(example = "null", value = "Specifies a tag on the document in a location where the recipient can select one option from a group of options using a radio button. The radio buttons do not have to be on the same page in a document.") + **/ + @ApiModelProperty(value = "Specifies a tag on the document in a location where the recipient can select one option from a group of options using a radio button. The radio buttons do not have to be on the same page in a document.") public java.util.List<RadioGroup> getRadioGroupTabs() { return radioGroupTabs; } + /** + * setRadioGroupTabs. + **/ public void setRadioGroupTabs(java.util.List<RadioGroup> radioGroupTabs) { this.radioGroupTabs = radioGroupTabs; } + + /** + * signerAttachmentTabs. + * + * @return TemplateTabs + **/ public TemplateTabs signerAttachmentTabs(java.util.List<SignerAttachment> signerAttachmentTabs) { this.signerAttachmentTabs = signerAttachmentTabs; return this; } - + + /** + * addSignerAttachmentTabsItem. + * + * @return TemplateTabs + **/ public TemplateTabs addSignerAttachmentTabsItem(SignerAttachment signerAttachmentTabsItem) { + if (this.signerAttachmentTabs == null) { + this.signerAttachmentTabs = new java.util.ArrayList<SignerAttachment>(); + } this.signerAttachmentTabs.add(signerAttachmentTabsItem); return this; } - /** - * Specifies a tag on the document when you want the recipient to add supporting documents to an envelope. + /** + * Specifies a tag on the document when you want the recipient to add supporting documents to an envelope.. * @return signerAttachmentTabs - **/ - @ApiModelProperty(example = "null", value = "Specifies a tag on the document when you want the recipient to add supporting documents to an envelope.") + **/ + @ApiModelProperty(value = "Specifies a tag on the document when you want the recipient to add supporting documents to an envelope.") public java.util.List<SignerAttachment> getSignerAttachmentTabs() { return signerAttachmentTabs; } + /** + * setSignerAttachmentTabs. + **/ public void setSignerAttachmentTabs(java.util.List<SignerAttachment> signerAttachmentTabs) { this.signerAttachmentTabs = signerAttachmentTabs; } + + /** + * signHereTabs. + * + * @return TemplateTabs + **/ public TemplateTabs signHereTabs(java.util.List<SignHere> signHereTabs) { this.signHereTabs = signHereTabs; return this; } - + + /** + * addSignHereTabsItem. + * + * @return TemplateTabs + **/ public TemplateTabs addSignHereTabsItem(SignHere signHereTabsItem) { + if (this.signHereTabs == null) { + this.signHereTabs = new java.util.ArrayList<SignHere>(); + } this.signHereTabs.add(signHereTabsItem); return this; } - /** - * A complex type the contains information about the tag that specifies where the recipient places their signature in the document. The \"optional\" parameter sets if the signature is required or optional. + /** + * A complex type the contains information about the tag that specifies where the recipient places their signature in the document. The \"optional\" parameter sets if the signature is required or optional. . * @return signHereTabs - **/ - @ApiModelProperty(example = "null", value = "A complex type the contains information about the tag that specifies where the recipient places their signature in the document. The \"optional\" parameter sets if the signature is required or optional. ") + **/ + @ApiModelProperty(value = "A complex type the contains information about the tag that specifies where the recipient places their signature in the document. The \"optional\" parameter sets if the signature is required or optional. ") public java.util.List<SignHere> getSignHereTabs() { return signHereTabs; } + /** + * setSignHereTabs. + **/ public void setSignHereTabs(java.util.List<SignHere> signHereTabs) { this.signHereTabs = signHereTabs; } + + /** + * smartSectionTabs. + * + * @return TemplateTabs + **/ public TemplateTabs smartSectionTabs(java.util.List<SmartSection> smartSectionTabs) { this.smartSectionTabs = smartSectionTabs; return this; } - + + /** + * addSmartSectionTabsItem. + * + * @return TemplateTabs + **/ public TemplateTabs addSmartSectionTabsItem(SmartSection smartSectionTabsItem) { + if (this.smartSectionTabs == null) { + this.smartSectionTabs = new java.util.ArrayList<SmartSection>(); + } this.smartSectionTabs.add(smartSectionTabsItem); return this; } - /** - * + /** + * . * @return smartSectionTabs - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List<SmartSection> getSmartSectionTabs() { return smartSectionTabs; } + /** + * setSmartSectionTabs. + **/ public void setSmartSectionTabs(java.util.List<SmartSection> smartSectionTabs) { this.smartSectionTabs = smartSectionTabs; } + + /** + * ssnTabs. + * + * @return TemplateTabs + **/ public TemplateTabs ssnTabs(java.util.List<Ssn> ssnTabs) { this.ssnTabs = ssnTabs; return this; } - + + /** + * addSsnTabsItem. + * + * @return TemplateTabs + **/ public TemplateTabs addSsnTabsItem(Ssn ssnTabsItem) { + if (this.ssnTabs == null) { + this.ssnTabs = new java.util.ArrayList<Ssn>(); + } this.ssnTabs.add(ssnTabsItem); return this; } - /** - * Specifies a tag on the document where you want the recipient to enter a Social Security Number (SSN). A SSN can be typed with or without dashes. It uses the same parameters as a Text tab, with the validation message and pattern set for SSN information. When getting information that includes this tab type, the original value of the tab when the associated envelope was sent is included in the response. + /** + * Specifies a tag on the document where you want the recipient to enter a Social Security Number (SSN). A SSN can be typed with or without dashes. It uses the same parameters as a Text tab, with the validation message and pattern set for SSN information. When getting information that includes this tab type, the original value of the tab when the associated envelope was sent is included in the response.. * @return ssnTabs - **/ - @ApiModelProperty(example = "null", value = "Specifies a tag on the document where you want the recipient to enter a Social Security Number (SSN). A SSN can be typed with or without dashes. It uses the same parameters as a Text tab, with the validation message and pattern set for SSN information. When getting information that includes this tab type, the original value of the tab when the associated envelope was sent is included in the response.") + **/ + @ApiModelProperty(value = "Specifies a tag on the document where you want the recipient to enter a Social Security Number (SSN). A SSN can be typed with or without dashes. It uses the same parameters as a Text tab, with the validation message and pattern set for SSN information. When getting information that includes this tab type, the original value of the tab when the associated envelope was sent is included in the response.") public java.util.List<Ssn> getSsnTabs() { return ssnTabs; } + /** + * setSsnTabs. + **/ public void setSsnTabs(java.util.List<Ssn> ssnTabs) { this.ssnTabs = ssnTabs; } + + /** + * textTabs. + * + * @return TemplateTabs + **/ public TemplateTabs textTabs(java.util.List<Text> textTabs) { this.textTabs = textTabs; return this; } - + + /** + * addTextTabsItem. + * + * @return TemplateTabs + **/ public TemplateTabs addTextTabsItem(Text textTabsItem) { + if (this.textTabs == null) { + this.textTabs = new java.util.ArrayList<Text>(); + } this.textTabs.add(textTabsItem); return this; } - /** - * Specifies a that that is an adaptable field that allows the recipient to enter different text information. When getting information that includes this tab type, the original value of the tab when the associated envelope was sent is included in the response. + /** + * Specifies a that that is an adaptable field that allows the recipient to enter different text information. When getting information that includes this tab type, the original value of the tab when the associated envelope was sent is included in the response.. * @return textTabs - **/ - @ApiModelProperty(example = "null", value = "Specifies a that that is an adaptable field that allows the recipient to enter different text information. When getting information that includes this tab type, the original value of the tab when the associated envelope was sent is included in the response.") + **/ + @ApiModelProperty(value = "Specifies a that that is an adaptable field that allows the recipient to enter different text information. When getting information that includes this tab type, the original value of the tab when the associated envelope was sent is included in the response.") public java.util.List<Text> getTextTabs() { return textTabs; } + /** + * setTextTabs. + **/ public void setTextTabs(java.util.List<Text> textTabs) { this.textTabs = textTabs; } + + /** + * titleTabs. + * + * @return TemplateTabs + **/ public TemplateTabs titleTabs(java.util.List<Title> titleTabs) { this.titleTabs = titleTabs; return this; } - + + /** + * addTitleTabsItem. + * + * @return TemplateTabs + **/ public TemplateTabs addTitleTabsItem(Title titleTabsItem) { + if (this.titleTabs == null) { + this.titleTabs = new java.util.ArrayList<Title>(); + } this.titleTabs.add(titleTabsItem); return this; } - /** - * Specifies a tag on the document where you want the recipient's title to appear. When getting information that includes this tab type, the original value of the tab when the associated envelope was sent is included in the response. + /** + * Specifies a tag on the document where you want the recipient's title to appear. When getting information that includes this tab type, the original value of the tab when the associated envelope was sent is included in the response.. * @return titleTabs - **/ - @ApiModelProperty(example = "null", value = "Specifies a tag on the document where you want the recipient's title to appear. When getting information that includes this tab type, the original value of the tab when the associated envelope was sent is included in the response.") + **/ + @ApiModelProperty(value = "Specifies a tag on the document where you want the recipient's title to appear. When getting information that includes this tab type, the original value of the tab when the associated envelope was sent is included in the response.") public java.util.List<Title> getTitleTabs() { return titleTabs; } + /** + * setTitleTabs. + **/ public void setTitleTabs(java.util.List<Title> titleTabs) { this.titleTabs = titleTabs; } + + /** + * viewTabs. + * + * @return TemplateTabs + **/ public TemplateTabs viewTabs(java.util.List<View> viewTabs) { this.viewTabs = viewTabs; return this; } - + + /** + * addViewTabsItem. + * + * @return TemplateTabs + **/ public TemplateTabs addViewTabsItem(View viewTabsItem) { + if (this.viewTabs == null) { + this.viewTabs = new java.util.ArrayList<View>(); + } this.viewTabs.add(viewTabsItem); return this; } - /** - * + /** + * . * @return viewTabs - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List<View> getViewTabs() { return viewTabs; } + /** + * setViewTabs. + **/ public void setViewTabs(java.util.List<View> viewTabs) { this.viewTabs = viewTabs; } + + /** + * zipTabs. + * + * @return TemplateTabs + **/ public TemplateTabs zipTabs(java.util.List<Zip> zipTabs) { this.zipTabs = zipTabs; return this; } - + + /** + * addZipTabsItem. + * + * @return TemplateTabs + **/ public TemplateTabs addZipTabsItem(Zip zipTabsItem) { + if (this.zipTabs == null) { + this.zipTabs = new java.util.ArrayList<Zip>(); + } this.zipTabs.add(zipTabsItem); return this; } - /** - * Specifies a tag on the document where you want the recipient to enter a ZIP code. The ZIP code can be a five numbers or the ZIP+4 format with nine numbers. The zip code can be typed with or without dashes. It uses the same parameters as a Text tab, with the validation message and pattern set for ZIP code information. When getting information that includes this tab type, the original value of the tab when the associated envelope was sent is included in the response. + /** + * Specifies a tag on the document where you want the recipient to enter a ZIP code. The ZIP code can be a five numbers or the ZIP+4 format with nine numbers. The zip code can be typed with or without dashes. It uses the same parameters as a Text tab, with the validation message and pattern set for ZIP code information. When getting information that includes this tab type, the original value of the tab when the associated envelope was sent is included in the response.. * @return zipTabs - **/ - @ApiModelProperty(example = "null", value = "Specifies a tag on the document where you want the recipient to enter a ZIP code. The ZIP code can be a five numbers or the ZIP+4 format with nine numbers. The zip code can be typed with or without dashes. It uses the same parameters as a Text tab, with the validation message and pattern set for ZIP code information. When getting information that includes this tab type, the original value of the tab when the associated envelope was sent is included in the response.") + **/ + @ApiModelProperty(value = "Specifies a tag on the document where you want the recipient to enter a ZIP code. The ZIP code can be a five numbers or the ZIP+4 format with nine numbers. The zip code can be typed with or without dashes. It uses the same parameters as a Text tab, with the validation message and pattern set for ZIP code information. When getting information that includes this tab type, the original value of the tab when the associated envelope was sent is included in the response.") public java.util.List<Zip> getZipTabs() { return zipTabs; } + /** + * setZipTabs. + **/ public void setZipTabs(java.util.List<Zip> zipTabs) { this.zipTabs = zipTabs; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -779,12 +1245,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.zipTabs, templateTabs.zipTabs); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(approveTabs, checkboxTabs, companyTabs, dateSignedTabs, dateTabs, declineTabs, emailAddressTabs, emailTabs, envelopeIdTabs, firstNameTabs, formulaTabs, fullNameTabs, initialHereTabs, lastNameTabs, listTabs, notarizeTabs, noteTabs, numberTabs, radioGroupTabs, signerAttachmentTabs, signHereTabs, smartSectionTabs, ssnTabs, textTabs, titleTabs, viewTabs, zipTabs); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -831,6 +1303,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/TemplateUpdateSummary.java b/src/main/java/com/docusign/esign/model/TemplateUpdateSummary.java index e76659bc..5c25803f 100644 --- a/src/main/java/com/docusign/esign/model/TemplateUpdateSummary.java +++ b/src/main/java/com/docusign/esign/model/TemplateUpdateSummary.java @@ -1,6 +1,7 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.BulkEnvelopeStatus; import com.docusign.esign.model.ErrorDetails; import com.docusign.esign.model.ListCustomField; @@ -10,11 +11,13 @@ import com.docusign.esign.model.TextCustomField; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * TemplateUpdateSummary + * TemplateUpdateSummary. + * */ public class TemplateUpdateSummary { @@ -28,180 +31,281 @@ public class TemplateUpdateSummary { private ErrorDetails errorDetails = null; @JsonProperty("listCustomFieldUpdateResults") - private java.util.List<ListCustomField> listCustomFieldUpdateResults = new java.util.ArrayList<ListCustomField>(); + private java.util.List<ListCustomField> listCustomFieldUpdateResults = null; @JsonProperty("lockInformation") private LockInformation lockInformation = null; @JsonProperty("recipientUpdateResults") - private java.util.List<RecipientUpdateResponse> recipientUpdateResults = new java.util.ArrayList<RecipientUpdateResponse>(); + private java.util.List<RecipientUpdateResponse> recipientUpdateResults = null; @JsonProperty("tabUpdateResults") private Tabs tabUpdateResults = null; @JsonProperty("textCustomFieldUpdateResults") - private java.util.List<TextCustomField> textCustomFieldUpdateResults = new java.util.ArrayList<TextCustomField>(); + private java.util.List<TextCustomField> textCustomFieldUpdateResults = null; + + /** + * bulkEnvelopeStatus. + * + * @return TemplateUpdateSummary + **/ public TemplateUpdateSummary bulkEnvelopeStatus(BulkEnvelopeStatus bulkEnvelopeStatus) { this.bulkEnvelopeStatus = bulkEnvelopeStatus; return this; } - /** - * Get bulkEnvelopeStatus + /** + * Get bulkEnvelopeStatus. * @return bulkEnvelopeStatus - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public BulkEnvelopeStatus getBulkEnvelopeStatus() { return bulkEnvelopeStatus; } + /** + * setBulkEnvelopeStatus. + **/ public void setBulkEnvelopeStatus(BulkEnvelopeStatus bulkEnvelopeStatus) { this.bulkEnvelopeStatus = bulkEnvelopeStatus; } + + /** + * envelopeId. + * + * @return TemplateUpdateSummary + **/ public TemplateUpdateSummary envelopeId(String envelopeId) { this.envelopeId = envelopeId; return this; } - /** - * The envelope ID of the envelope status that failed to post. + /** + * The envelope ID of the envelope status that failed to post.. * @return envelopeId - **/ - @ApiModelProperty(example = "null", value = "The envelope ID of the envelope status that failed to post.") + **/ + @ApiModelProperty(value = "The envelope ID of the envelope status that failed to post.") public String getEnvelopeId() { return envelopeId; } + /** + * setEnvelopeId. + **/ public void setEnvelopeId(String envelopeId) { this.envelopeId = envelopeId; } + + /** + * errorDetails. + * + * @return TemplateUpdateSummary + **/ public TemplateUpdateSummary errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * listCustomFieldUpdateResults. + * + * @return TemplateUpdateSummary + **/ public TemplateUpdateSummary listCustomFieldUpdateResults(java.util.List<ListCustomField> listCustomFieldUpdateResults) { this.listCustomFieldUpdateResults = listCustomFieldUpdateResults; return this; } - + + /** + * addListCustomFieldUpdateResultsItem. + * + * @return TemplateUpdateSummary + **/ public TemplateUpdateSummary addListCustomFieldUpdateResultsItem(ListCustomField listCustomFieldUpdateResultsItem) { + if (this.listCustomFieldUpdateResults == null) { + this.listCustomFieldUpdateResults = new java.util.ArrayList<ListCustomField>(); + } this.listCustomFieldUpdateResults.add(listCustomFieldUpdateResultsItem); return this; } - /** - * + /** + * . * @return listCustomFieldUpdateResults - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List<ListCustomField> getListCustomFieldUpdateResults() { return listCustomFieldUpdateResults; } + /** + * setListCustomFieldUpdateResults. + **/ public void setListCustomFieldUpdateResults(java.util.List<ListCustomField> listCustomFieldUpdateResults) { this.listCustomFieldUpdateResults = listCustomFieldUpdateResults; } + + /** + * lockInformation. + * + * @return TemplateUpdateSummary + **/ public TemplateUpdateSummary lockInformation(LockInformation lockInformation) { this.lockInformation = lockInformation; return this; } - /** - * Get lockInformation + /** + * Get lockInformation. * @return lockInformation - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public LockInformation getLockInformation() { return lockInformation; } + /** + * setLockInformation. + **/ public void setLockInformation(LockInformation lockInformation) { this.lockInformation = lockInformation; } + + /** + * recipientUpdateResults. + * + * @return TemplateUpdateSummary + **/ public TemplateUpdateSummary recipientUpdateResults(java.util.List<RecipientUpdateResponse> recipientUpdateResults) { this.recipientUpdateResults = recipientUpdateResults; return this; } - + + /** + * addRecipientUpdateResultsItem. + * + * @return TemplateUpdateSummary + **/ public TemplateUpdateSummary addRecipientUpdateResultsItem(RecipientUpdateResponse recipientUpdateResultsItem) { + if (this.recipientUpdateResults == null) { + this.recipientUpdateResults = new java.util.ArrayList<RecipientUpdateResponse>(); + } this.recipientUpdateResults.add(recipientUpdateResultsItem); return this; } - /** - * + /** + * . * @return recipientUpdateResults - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List<RecipientUpdateResponse> getRecipientUpdateResults() { return recipientUpdateResults; } + /** + * setRecipientUpdateResults. + **/ public void setRecipientUpdateResults(java.util.List<RecipientUpdateResponse> recipientUpdateResults) { this.recipientUpdateResults = recipientUpdateResults; } + + /** + * tabUpdateResults. + * + * @return TemplateUpdateSummary + **/ public TemplateUpdateSummary tabUpdateResults(Tabs tabUpdateResults) { this.tabUpdateResults = tabUpdateResults; return this; } - /** - * Get tabUpdateResults + /** + * Get tabUpdateResults. * @return tabUpdateResults - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public Tabs getTabUpdateResults() { return tabUpdateResults; } + /** + * setTabUpdateResults. + **/ public void setTabUpdateResults(Tabs tabUpdateResults) { this.tabUpdateResults = tabUpdateResults; } + + /** + * textCustomFieldUpdateResults. + * + * @return TemplateUpdateSummary + **/ public TemplateUpdateSummary textCustomFieldUpdateResults(java.util.List<TextCustomField> textCustomFieldUpdateResults) { this.textCustomFieldUpdateResults = textCustomFieldUpdateResults; return this; } - + + /** + * addTextCustomFieldUpdateResultsItem. + * + * @return TemplateUpdateSummary + **/ public TemplateUpdateSummary addTextCustomFieldUpdateResultsItem(TextCustomField textCustomFieldUpdateResultsItem) { + if (this.textCustomFieldUpdateResults == null) { + this.textCustomFieldUpdateResults = new java.util.ArrayList<TextCustomField>(); + } this.textCustomFieldUpdateResults.add(textCustomFieldUpdateResultsItem); return this; } - /** - * + /** + * . * @return textCustomFieldUpdateResults - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List<TextCustomField> getTextCustomFieldUpdateResults() { return textCustomFieldUpdateResults; } + /** + * setTextCustomFieldUpdateResults. + **/ public void setTextCustomFieldUpdateResults(java.util.List<TextCustomField> textCustomFieldUpdateResults) { this.textCustomFieldUpdateResults = textCustomFieldUpdateResults; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -221,12 +325,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.textCustomFieldUpdateResults, templateUpdateSummary.textCustomFieldUpdateResults); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(bulkEnvelopeStatus, envelopeId, errorDetails, listCustomFieldUpdateResults, lockInformation, recipientUpdateResults, tabUpdateResults, textCustomFieldUpdateResults); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -254,6 +364,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/Text.java b/src/main/java/com/docusign/esign/model/Text.java index 0c9def9a..9b873910 100644 --- a/src/main/java/com/docusign/esign/model/Text.java +++ b/src/main/java/com/docusign/esign/model/Text.java @@ -1,15 +1,18 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ErrorDetails; import com.docusign.esign.model.MergeField; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Text + * Text. + * */ public class Text { @@ -122,7 +125,7 @@ public class Text { private String status = null; @JsonProperty("tabGroupLabels") - private java.util.List<String> tabGroupLabels = new java.util.ArrayList<String>(); + private java.util.List<String> tabGroupLabels = null; @JsonProperty("tabId") private String tabId = null; @@ -163,912 +166,1375 @@ public class Text { @JsonProperty("yPosition") private String yPosition = null; + + /** + * anchorCaseSensitive. + * + * @return Text + **/ public Text anchorCaseSensitive(String anchorCaseSensitive) { this.anchorCaseSensitive = anchorCaseSensitive; return this; } - /** - * When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**. + /** + * When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.. * @return anchorCaseSensitive - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.") + **/ + @ApiModelProperty(value = "When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.") public String getAnchorCaseSensitive() { return anchorCaseSensitive; } + /** + * setAnchorCaseSensitive. + **/ public void setAnchorCaseSensitive(String anchorCaseSensitive) { this.anchorCaseSensitive = anchorCaseSensitive; } + + /** + * anchorHorizontalAlignment. + * + * @return Text + **/ public Text anchorHorizontalAlignment(String anchorHorizontalAlignment) { this.anchorHorizontalAlignment = anchorHorizontalAlignment; return this; } - /** - * Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**. + /** + * Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.. * @return anchorHorizontalAlignment - **/ - @ApiModelProperty(example = "null", value = "Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.") + **/ + @ApiModelProperty(value = "Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.") public String getAnchorHorizontalAlignment() { return anchorHorizontalAlignment; } + /** + * setAnchorHorizontalAlignment. + **/ public void setAnchorHorizontalAlignment(String anchorHorizontalAlignment) { this.anchorHorizontalAlignment = anchorHorizontalAlignment; } + + /** + * anchorIgnoreIfNotPresent. + * + * @return Text + **/ public Text anchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { this.anchorIgnoreIfNotPresent = anchorIgnoreIfNotPresent; return this; } - /** - * When set to **true**, this tab is ignored if anchorString is not found in the document. + /** + * When set to **true**, this tab is ignored if anchorString is not found in the document.. * @return anchorIgnoreIfNotPresent - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, this tab is ignored if anchorString is not found in the document.") + **/ + @ApiModelProperty(value = "When set to **true**, this tab is ignored if anchorString is not found in the document.") public String getAnchorIgnoreIfNotPresent() { return anchorIgnoreIfNotPresent; } + /** + * setAnchorIgnoreIfNotPresent. + **/ public void setAnchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { this.anchorIgnoreIfNotPresent = anchorIgnoreIfNotPresent; } + + /** + * anchorMatchWholeWord. + * + * @return Text + **/ public Text anchorMatchWholeWord(String anchorMatchWholeWord) { this.anchorMatchWholeWord = anchorMatchWholeWord; return this; } - /** - * When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**. + /** + * When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.. * @return anchorMatchWholeWord - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.") + **/ + @ApiModelProperty(value = "When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.") public String getAnchorMatchWholeWord() { return anchorMatchWholeWord; } + /** + * setAnchorMatchWholeWord. + **/ public void setAnchorMatchWholeWord(String anchorMatchWholeWord) { this.anchorMatchWholeWord = anchorMatchWholeWord; } + + /** + * anchorString. + * + * @return Text + **/ public Text anchorString(String anchorString) { this.anchorString = anchorString; return this; } - /** - * Anchor text information for a radio button. + /** + * Anchor text information for a radio button.. * @return anchorString - **/ - @ApiModelProperty(example = "null", value = "Anchor text information for a radio button.") + **/ + @ApiModelProperty(value = "Anchor text information for a radio button.") public String getAnchorString() { return anchorString; } + /** + * setAnchorString. + **/ public void setAnchorString(String anchorString) { this.anchorString = anchorString; } + + /** + * anchorUnits. + * + * @return Text + **/ public Text anchorUnits(String anchorUnits) { this.anchorUnits = anchorUnits; return this; } - /** - * Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. + /** + * Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. * @return anchorUnits - **/ - @ApiModelProperty(example = "null", value = "Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.") + **/ + @ApiModelProperty(value = "Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.") public String getAnchorUnits() { return anchorUnits; } + /** + * setAnchorUnits. + **/ public void setAnchorUnits(String anchorUnits) { this.anchorUnits = anchorUnits; } + + /** + * anchorXOffset. + * + * @return Text + **/ public Text anchorXOffset(String anchorXOffset) { this.anchorXOffset = anchorXOffset; return this; } - /** - * Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString. + /** + * Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. * @return anchorXOffset - **/ - @ApiModelProperty(example = "null", value = "Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.") + **/ + @ApiModelProperty(value = "Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.") public String getAnchorXOffset() { return anchorXOffset; } + /** + * setAnchorXOffset. + **/ public void setAnchorXOffset(String anchorXOffset) { this.anchorXOffset = anchorXOffset; } + + /** + * anchorYOffset. + * + * @return Text + **/ public Text anchorYOffset(String anchorYOffset) { this.anchorYOffset = anchorYOffset; return this; } - /** - * Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString. + /** + * Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.. * @return anchorYOffset - **/ - @ApiModelProperty(example = "null", value = "Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.") + **/ + @ApiModelProperty(value = "Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.") public String getAnchorYOffset() { return anchorYOffset; } + /** + * setAnchorYOffset. + **/ public void setAnchorYOffset(String anchorYOffset) { this.anchorYOffset = anchorYOffset; } + + /** + * bold. + * + * @return Text + **/ public Text bold(String bold) { this.bold = bold; return this; } - /** - * When set to **true**, the information in the tab is bold. + /** + * When set to **true**, the information in the tab is bold.. * @return bold - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is bold.") + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is bold.") public String getBold() { return bold; } + /** + * setBold. + **/ public void setBold(String bold) { this.bold = bold; } + + /** + * concealValueOnDocument. + * + * @return Text + **/ public Text concealValueOnDocument(String concealValueOnDocument) { this.concealValueOnDocument = concealValueOnDocument; return this; } - /** - * When set to **true**, the field appears normally while the recipient is adding or modifying the information in the field, but the data is not visible (the characters are hidden by asterisks) to any other signer or the sender. When an envelope is completed the information is available to the sender through the Form Data link in the DocuSign Console. This setting applies only to text boxes and does not affect list boxes, radio buttons, or check boxes. + /** + * When set to **true**, the field appears normally while the recipient is adding or modifying the information in the field, but the data is not visible (the characters are hidden by asterisks) to any other signer or the sender. When an envelope is completed the information is available to the sender through the Form Data link in the DocuSign Console. This setting applies only to text boxes and does not affect list boxes, radio buttons, or check boxes.. * @return concealValueOnDocument - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the field appears normally while the recipient is adding or modifying the information in the field, but the data is not visible (the characters are hidden by asterisks) to any other signer or the sender. When an envelope is completed the information is available to the sender through the Form Data link in the DocuSign Console. This setting applies only to text boxes and does not affect list boxes, radio buttons, or check boxes.") + **/ + @ApiModelProperty(value = "When set to **true**, the field appears normally while the recipient is adding or modifying the information in the field, but the data is not visible (the characters are hidden by asterisks) to any other signer or the sender. When an envelope is completed the information is available to the sender through the Form Data link in the DocuSign Console. This setting applies only to text boxes and does not affect list boxes, radio buttons, or check boxes.") public String getConcealValueOnDocument() { return concealValueOnDocument; } + /** + * setConcealValueOnDocument. + **/ public void setConcealValueOnDocument(String concealValueOnDocument) { this.concealValueOnDocument = concealValueOnDocument; } + + /** + * conditionalParentLabel. + * + * @return Text + **/ public Text conditionalParentLabel(String conditionalParentLabel) { this.conditionalParentLabel = conditionalParentLabel; return this; } - /** - * For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility. + /** + * For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.. * @return conditionalParentLabel - **/ - @ApiModelProperty(example = "null", value = "For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.") + **/ + @ApiModelProperty(value = "For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.") public String getConditionalParentLabel() { return conditionalParentLabel; } + /** + * setConditionalParentLabel. + **/ public void setConditionalParentLabel(String conditionalParentLabel) { this.conditionalParentLabel = conditionalParentLabel; } + + /** + * conditionalParentValue. + * + * @return Text + **/ public Text conditionalParentValue(String conditionalParentValue) { this.conditionalParentValue = conditionalParentValue; return this; } - /** - * For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. + /** + * For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. . * @return conditionalParentValue - **/ - @ApiModelProperty(example = "null", value = "For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. ") + **/ + @ApiModelProperty(value = "For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. ") public String getConditionalParentValue() { return conditionalParentValue; } + /** + * setConditionalParentValue. + **/ public void setConditionalParentValue(String conditionalParentValue) { this.conditionalParentValue = conditionalParentValue; } + + /** + * customTabId. + * + * @return Text + **/ public Text customTabId(String customTabId) { this.customTabId = customTabId; return this; } - /** - * The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties. + /** + * The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.. * @return customTabId - **/ - @ApiModelProperty(example = "null", value = "The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.") + **/ + @ApiModelProperty(value = "The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.") public String getCustomTabId() { return customTabId; } + /** + * setCustomTabId. + **/ public void setCustomTabId(String customTabId) { this.customTabId = customTabId; } + + /** + * disableAutoSize. + * + * @return Text + **/ public Text disableAutoSize(String disableAutoSize) { this.disableAutoSize = disableAutoSize; return this; } - /** - * When set to **true**, disables the auto sizing of single line text boxes in the signing screen when the signer enters data. If disabled users will only be able enter as much data as the text box can hold. By default this is false. This property only affects single line text boxes. + /** + * When set to **true**, disables the auto sizing of single line text boxes in the signing screen when the signer enters data. If disabled users will only be able enter as much data as the text box can hold. By default this is false. This property only affects single line text boxes.. * @return disableAutoSize - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, disables the auto sizing of single line text boxes in the signing screen when the signer enters data. If disabled users will only be able enter as much data as the text box can hold. By default this is false. This property only affects single line text boxes.") + **/ + @ApiModelProperty(value = "When set to **true**, disables the auto sizing of single line text boxes in the signing screen when the signer enters data. If disabled users will only be able enter as much data as the text box can hold. By default this is false. This property only affects single line text boxes.") public String getDisableAutoSize() { return disableAutoSize; } + /** + * setDisableAutoSize. + **/ public void setDisableAutoSize(String disableAutoSize) { this.disableAutoSize = disableAutoSize; } + + /** + * documentId. + * + * @return Text + **/ public Text documentId(String documentId) { this.documentId = documentId; return this; } - /** - * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute. + /** + * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.. * @return documentId - **/ - @ApiModelProperty(example = "null", value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") + **/ + @ApiModelProperty(value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") public String getDocumentId() { return documentId; } + /** + * setDocumentId. + **/ public void setDocumentId(String documentId) { this.documentId = documentId; } + + /** + * errorDetails. + * + * @return Text + **/ public Text errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * font. + * + * @return Text + **/ public Text font(String font) { this.font = font; return this; } - /** - * The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default. + /** + * The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.. * @return font - **/ - @ApiModelProperty(example = "null", value = "The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.") + **/ + @ApiModelProperty(value = "The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.") public String getFont() { return font; } + /** + * setFont. + **/ public void setFont(String font) { this.font = font; } + + /** + * fontColor. + * + * @return Text + **/ public Text fontColor(String fontColor) { this.fontColor = fontColor; return this; } - /** - * The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White. + /** + * The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.. * @return fontColor - **/ - @ApiModelProperty(example = "null", value = "The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.") + **/ + @ApiModelProperty(value = "The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.") public String getFontColor() { return fontColor; } + /** + * setFontColor. + **/ public void setFontColor(String fontColor) { this.fontColor = fontColor; } + + /** + * fontSize. + * + * @return Text + **/ public Text fontSize(String fontSize) { this.fontSize = fontSize; return this; } - /** - * The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72. + /** + * The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.. * @return fontSize - **/ - @ApiModelProperty(example = "null", value = "The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.") + **/ + @ApiModelProperty(value = "The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.") public String getFontSize() { return fontSize; } + /** + * setFontSize. + **/ public void setFontSize(String fontSize) { this.fontSize = fontSize; } + + /** + * formula. + * + * @return Text + **/ public Text formula(String formula) { this.formula = formula; return this; } - /** - * The Formula string contains the TabLabel for the reference tabs used in the formula and calculation operators. Each TabLabel must be contained in brackets. Maximum Length: 2000 characters. *Example*: Three tabs (TabLabels: Line1, Line2, and Tax) need to be added together. The formula string would be: [Line1]+[Line2]+[Tax] + /** + * The Formula string contains the TabLabel for the reference tabs used in the formula and calculation operators. Each TabLabel must be contained in brackets. Maximum Length: 2000 characters. *Example*: Three tabs (TabLabels: Line1, Line2, and Tax) need to be added together. The formula string would be: [Line1]+[Line2]+[Tax]. * @return formula - **/ - @ApiModelProperty(example = "null", value = "The Formula string contains the TabLabel for the reference tabs used in the formula and calculation operators. Each TabLabel must be contained in brackets. Maximum Length: 2000 characters. *Example*: Three tabs (TabLabels: Line1, Line2, and Tax) need to be added together. The formula string would be: [Line1]+[Line2]+[Tax]") + **/ + @ApiModelProperty(value = "The Formula string contains the TabLabel for the reference tabs used in the formula and calculation operators. Each TabLabel must be contained in brackets. Maximum Length: 2000 characters. *Example*: Three tabs (TabLabels: Line1, Line2, and Tax) need to be added together. The formula string would be: [Line1]+[Line2]+[Tax]") public String getFormula() { return formula; } + /** + * setFormula. + **/ public void setFormula(String formula) { this.formula = formula; } + + /** + * height. + * + * @return Text + **/ public Text height(Integer height) { this.height = height; return this; } - /** - * Height of the tab in pixels. + /** + * Height of the tab in pixels.. * @return height - **/ - @ApiModelProperty(example = "null", value = "Height of the tab in pixels.") + **/ + @ApiModelProperty(value = "Height of the tab in pixels.") public Integer getHeight() { return height; } + /** + * setHeight. + **/ public void setHeight(Integer height) { this.height = height; } + + /** + * isPaymentAmount. + * + * @return Text + **/ public Text isPaymentAmount(String isPaymentAmount) { this.isPaymentAmount = isPaymentAmount; return this; } - /** - * When set to **true**, sets this as a payment tab. Can only be used with Text, Number, Formula, or List tabs. The value of the tab must be a number. + /** + * When set to **true**, sets this as a payment tab. Can only be used with Text, Number, Formula, or List tabs. The value of the tab must be a number. . * @return isPaymentAmount - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, sets this as a payment tab. Can only be used with Text, Number, Formula, or List tabs. The value of the tab must be a number. ") + **/ + @ApiModelProperty(value = "When set to **true**, sets this as a payment tab. Can only be used with Text, Number, Formula, or List tabs. The value of the tab must be a number. ") public String getIsPaymentAmount() { return isPaymentAmount; } + /** + * setIsPaymentAmount. + **/ public void setIsPaymentAmount(String isPaymentAmount) { this.isPaymentAmount = isPaymentAmount; } + + /** + * italic. + * + * @return Text + **/ public Text italic(String italic) { this.italic = italic; return this; } - /** - * When set to **true**, the information in the tab is italic. + /** + * When set to **true**, the information in the tab is italic.. * @return italic - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is italic.") + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is italic.") public String getItalic() { return italic; } + /** + * setItalic. + **/ public void setItalic(String italic) { this.italic = italic; } + + /** + * locked. + * + * @return Text + **/ public Text locked(String locked) { this.locked = locked; return this; } - /** - * When set to **true**, the signer cannot change the data of the custom tab. + /** + * When set to **true**, the signer cannot change the data of the custom tab.. * @return locked - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the signer cannot change the data of the custom tab.") + **/ + @ApiModelProperty(value = "When set to **true**, the signer cannot change the data of the custom tab.") public String getLocked() { return locked; } + /** + * setLocked. + **/ public void setLocked(String locked) { this.locked = locked; } + + /** + * maxLength. + * + * @return Text + **/ public Text maxLength(Integer maxLength) { this.maxLength = maxLength; return this; } - /** - * An optional value that describes the maximum length of the property when the property is a string. + /** + * An optional value that describes the maximum length of the property when the property is a string.. * @return maxLength - **/ - @ApiModelProperty(example = "null", value = "An optional value that describes the maximum length of the property when the property is a string.") + **/ + @ApiModelProperty(value = "An optional value that describes the maximum length of the property when the property is a string.") public Integer getMaxLength() { return maxLength; } + /** + * setMaxLength. + **/ public void setMaxLength(Integer maxLength) { this.maxLength = maxLength; } + + /** + * mergeField. + * + * @return Text + **/ public Text mergeField(MergeField mergeField) { this.mergeField = mergeField; return this; } - /** - * Get mergeField + /** + * Get mergeField. * @return mergeField - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public MergeField getMergeField() { return mergeField; } + /** + * setMergeField. + **/ public void setMergeField(MergeField mergeField) { this.mergeField = mergeField; } + + /** + * name. + * + * @return Text + **/ public Text name(String name) { this.name = name; return this; } - /** - * Specifies the tool tip text for the tab. + /** + * Specifies the tool tip text for the tab.. * @return name - **/ - @ApiModelProperty(example = "null", value = "Specifies the tool tip text for the tab.") + **/ + @ApiModelProperty(value = "Specifies the tool tip text for the tab.") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * originalValue. + * + * @return Text + **/ public Text originalValue(String originalValue) { this.originalValue = originalValue; return this; } - /** - * The initial value of the tab when it was sent to the recipient. + /** + * The initial value of the tab when it was sent to the recipient. . * @return originalValue - **/ - @ApiModelProperty(example = "null", value = "The initial value of the tab when it was sent to the recipient. ") + **/ + @ApiModelProperty(value = "The initial value of the tab when it was sent to the recipient. ") public String getOriginalValue() { return originalValue; } + /** + * setOriginalValue. + **/ public void setOriginalValue(String originalValue) { this.originalValue = originalValue; } + + /** + * pageNumber. + * + * @return Text + **/ public Text pageNumber(String pageNumber) { this.pageNumber = pageNumber; return this; } - /** - * Specifies the page number on which the tab is located. + /** + * Specifies the page number on which the tab is located.. * @return pageNumber - **/ - @ApiModelProperty(example = "null", value = "Specifies the page number on which the tab is located.") + **/ + @ApiModelProperty(value = "Specifies the page number on which the tab is located.") public String getPageNumber() { return pageNumber; } + /** + * setPageNumber. + **/ public void setPageNumber(String pageNumber) { this.pageNumber = pageNumber; } + + /** + * recipientId. + * + * @return Text + **/ public Text recipientId(String recipientId) { this.recipientId = recipientId; return this; } - /** - * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document. + /** + * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.. * @return recipientId - **/ - @ApiModelProperty(example = "null", value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") + **/ + @ApiModelProperty(value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") public String getRecipientId() { return recipientId; } + /** + * setRecipientId. + **/ public void setRecipientId(String recipientId) { this.recipientId = recipientId; } + + /** + * requireAll. + * + * @return Text + **/ public Text requireAll(String requireAll) { this.requireAll = requireAll; return this; } - /** - * When set to **true** and shared is true, information must be entered in this field to complete the envelope. + /** + * When set to **true** and shared is true, information must be entered in this field to complete the envelope. . * @return requireAll - **/ - @ApiModelProperty(example = "null", value = "When set to **true** and shared is true, information must be entered in this field to complete the envelope. ") + **/ + @ApiModelProperty(value = "When set to **true** and shared is true, information must be entered in this field to complete the envelope. ") public String getRequireAll() { return requireAll; } + /** + * setRequireAll. + **/ public void setRequireAll(String requireAll) { this.requireAll = requireAll; } + + /** + * required. + * + * @return Text + **/ public Text required(String required) { this.required = required; return this; } - /** - * When set to **true**, the signer is required to fill out this tab + /** + * When set to **true**, the signer is required to fill out this tab. * @return required - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the signer is required to fill out this tab") + **/ + @ApiModelProperty(value = "When set to **true**, the signer is required to fill out this tab") public String getRequired() { return required; } + /** + * setRequired. + **/ public void setRequired(String required) { this.required = required; } + + /** + * requireInitialOnSharedChange. + * + * @return Text + **/ public Text requireInitialOnSharedChange(String requireInitialOnSharedChange) { this.requireInitialOnSharedChange = requireInitialOnSharedChange; return this; } - /** - * Optional element for field markup. When set to **true**, the signer is required to initial when they modify a shared field. + /** + * Optional element for field markup. When set to **true**, the signer is required to initial when they modify a shared field.. * @return requireInitialOnSharedChange - **/ - @ApiModelProperty(example = "null", value = "Optional element for field markup. When set to **true**, the signer is required to initial when they modify a shared field.") + **/ + @ApiModelProperty(value = "Optional element for field markup. When set to **true**, the signer is required to initial when they modify a shared field.") public String getRequireInitialOnSharedChange() { return requireInitialOnSharedChange; } + /** + * setRequireInitialOnSharedChange. + **/ public void setRequireInitialOnSharedChange(String requireInitialOnSharedChange) { this.requireInitialOnSharedChange = requireInitialOnSharedChange; } + + /** + * senderRequired. + * + * @return Text + **/ public Text senderRequired(String senderRequired) { this.senderRequired = senderRequired; return this; } - /** - * When set to **true**, the sender must populate the tab before an envelope can be sent using the template. This value tab can only be changed by modifying (PUT) the template. Tabs with a `senderRequired` value of true cannot be deleted from an envelope. + /** + * When set to **true**, the sender must populate the tab before an envelope can be sent using the template. This value tab can only be changed by modifying (PUT) the template. Tabs with a `senderRequired` value of true cannot be deleted from an envelope.. * @return senderRequired - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender must populate the tab before an envelope can be sent using the template. This value tab can only be changed by modifying (PUT) the template. Tabs with a `senderRequired` value of true cannot be deleted from an envelope.") + **/ + @ApiModelProperty(value = "When set to **true**, the sender must populate the tab before an envelope can be sent using the template. This value tab can only be changed by modifying (PUT) the template. Tabs with a `senderRequired` value of true cannot be deleted from an envelope.") public String getSenderRequired() { return senderRequired; } + /** + * setSenderRequired. + **/ public void setSenderRequired(String senderRequired) { this.senderRequired = senderRequired; } + + /** + * shared. + * + * @return Text + **/ public Text shared(String shared) { this.shared = shared; return this; } - /** - * When set to **true**, this custom tab is shared. + /** + * When set to **true**, this custom tab is shared.. * @return shared - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, this custom tab is shared.") + **/ + @ApiModelProperty(value = "When set to **true**, this custom tab is shared.") public String getShared() { return shared; } + /** + * setShared. + **/ public void setShared(String shared) { this.shared = shared; } + + /** + * status. + * + * @return Text + **/ public Text status(String status) { this.status = status; return this; } - /** - * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. + /** + * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.. * @return status - **/ - @ApiModelProperty(example = "null", value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") + **/ + @ApiModelProperty(value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") public String getStatus() { return status; } + /** + * setStatus. + **/ public void setStatus(String status) { this.status = status; } + + /** + * tabGroupLabels. + * + * @return Text + **/ public Text tabGroupLabels(java.util.List<String> tabGroupLabels) { this.tabGroupLabels = tabGroupLabels; return this; } - + + /** + * addTabGroupLabelsItem. + * + * @return Text + **/ public Text addTabGroupLabelsItem(String tabGroupLabelsItem) { + if (this.tabGroupLabels == null) { + this.tabGroupLabels = new java.util.ArrayList<String>(); + } this.tabGroupLabels.add(tabGroupLabelsItem); return this; } - /** - * + /** + * . * @return tabGroupLabels - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List<String> getTabGroupLabels() { return tabGroupLabels; } + /** + * setTabGroupLabels. + **/ public void setTabGroupLabels(java.util.List<String> tabGroupLabels) { this.tabGroupLabels = tabGroupLabels; } + + /** + * tabId. + * + * @return Text + **/ public Text tabId(String tabId) { this.tabId = tabId; return this; } - /** - * The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. + /** + * The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. . * @return tabId - **/ - @ApiModelProperty(example = "null", value = "The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. ") + **/ + @ApiModelProperty(value = "The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. ") public String getTabId() { return tabId; } + /** + * setTabId. + **/ public void setTabId(String tabId) { this.tabId = tabId; } + + /** + * tabLabel. + * + * @return Text + **/ public Text tabLabel(String tabLabel) { this.tabLabel = tabLabel; return this; } - /** - * The label string associated with the tab. + /** + * The label string associated with the tab.. * @return tabLabel - **/ - @ApiModelProperty(example = "null", value = "The label string associated with the tab.") + **/ + @ApiModelProperty(value = "The label string associated with the tab.") public String getTabLabel() { return tabLabel; } + /** + * setTabLabel. + **/ public void setTabLabel(String tabLabel) { this.tabLabel = tabLabel; } + + /** + * tabOrder. + * + * @return Text + **/ public Text tabOrder(String tabOrder) { this.tabOrder = tabOrder; return this; } - /** - * + /** + * . * @return tabOrder - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTabOrder() { return tabOrder; } + /** + * setTabOrder. + **/ public void setTabOrder(String tabOrder) { this.tabOrder = tabOrder; } + + /** + * templateLocked. + * + * @return Text + **/ public Text templateLocked(String templateLocked) { this.templateLocked = templateLocked; return this; } - /** - * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. . * @return templateLocked - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") + **/ + @ApiModelProperty(value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") public String getTemplateLocked() { return templateLocked; } + /** + * setTemplateLocked. + **/ public void setTemplateLocked(String templateLocked) { this.templateLocked = templateLocked; } + + /** + * templateRequired. + * + * @return Text + **/ public Text templateRequired(String templateRequired) { this.templateRequired = templateRequired; return this; } - /** - * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.. * @return templateRequired - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") + **/ + @ApiModelProperty(value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") public String getTemplateRequired() { return templateRequired; } + /** + * setTemplateRequired. + **/ public void setTemplateRequired(String templateRequired) { this.templateRequired = templateRequired; } + + /** + * tooltip. + * + * @return Text + **/ public Text tooltip(String tooltip) { this.tooltip = tooltip; return this; } - /** - * + /** + * . * @return tooltip - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTooltip() { return tooltip; } + /** + * setTooltip. + **/ public void setTooltip(String tooltip) { this.tooltip = tooltip; } + + /** + * underline. + * + * @return Text + **/ public Text underline(String underline) { this.underline = underline; return this; } - /** - * When set to **true**, the information in the tab is underlined. + /** + * When set to **true**, the information in the tab is underlined.. * @return underline - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is underlined.") + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is underlined.") public String getUnderline() { return underline; } + /** + * setUnderline. + **/ public void setUnderline(String underline) { this.underline = underline; } + + /** + * validationMessage. + * + * @return Text + **/ public Text validationMessage(String validationMessage) { this.validationMessage = validationMessage; return this; } - /** - * The message displayed if the custom tab fails input validation (either custom of embedded). + /** + * The message displayed if the custom tab fails input validation (either custom of embedded).. * @return validationMessage - **/ - @ApiModelProperty(example = "null", value = "The message displayed if the custom tab fails input validation (either custom of embedded).") + **/ + @ApiModelProperty(value = "The message displayed if the custom tab fails input validation (either custom of embedded).") public String getValidationMessage() { return validationMessage; } + /** + * setValidationMessage. + **/ public void setValidationMessage(String validationMessage) { this.validationMessage = validationMessage; } + + /** + * validationPattern. + * + * @return Text + **/ public Text validationPattern(String validationPattern) { this.validationPattern = validationPattern; return this; } - /** - * A regular expression used to validate input for the tab. + /** + * A regular expression used to validate input for the tab.. * @return validationPattern - **/ - @ApiModelProperty(example = "null", value = "A regular expression used to validate input for the tab.") + **/ + @ApiModelProperty(value = "A regular expression used to validate input for the tab.") public String getValidationPattern() { return validationPattern; } + /** + * setValidationPattern. + **/ public void setValidationPattern(String validationPattern) { this.validationPattern = validationPattern; } + + /** + * value. + * + * @return Text + **/ public Text value(String value) { this.value = value; return this; } - /** - * Specifies the value of the tab. + /** + * Specifies the value of the tab. . * @return value - **/ - @ApiModelProperty(example = "null", value = "Specifies the value of the tab. ") + **/ + @ApiModelProperty(value = "Specifies the value of the tab. ") public String getValue() { return value; } + /** + * setValue. + **/ public void setValue(String value) { this.value = value; } + + /** + * width. + * + * @return Text + **/ public Text width(Integer width) { this.width = width; return this; } - /** - * Width of the tab in pixels. + /** + * Width of the tab in pixels.. * @return width - **/ - @ApiModelProperty(example = "null", value = "Width of the tab in pixels.") + **/ + @ApiModelProperty(value = "Width of the tab in pixels.") public Integer getWidth() { return width; } + /** + * setWidth. + **/ public void setWidth(Integer width) { this.width = width; } + + /** + * xPosition. + * + * @return Text + **/ public Text xPosition(String xPosition) { this.xPosition = xPosition; return this; } - /** - * This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position. + /** + * This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.. * @return xPosition - **/ - @ApiModelProperty(example = "null", value = "This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.") + **/ + @ApiModelProperty(value = "This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.") public String getXPosition() { return xPosition; } + /** + * setXPosition. + **/ public void setXPosition(String xPosition) { this.xPosition = xPosition; } + + /** + * yPosition. + * + * @return Text + **/ public Text yPosition(String yPosition) { this.yPosition = yPosition; return this; } - /** - * This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position. + /** + * This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. * @return yPosition - **/ - @ApiModelProperty(example = "null", value = "This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.") + **/ + @ApiModelProperty(value = "This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.") public String getYPosition() { return yPosition; } + /** + * setYPosition. + **/ public void setYPosition(String yPosition) { this.yPosition = yPosition; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -1130,12 +1596,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.yPosition, text.yPosition); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(anchorCaseSensitive, anchorHorizontalAlignment, anchorIgnoreIfNotPresent, anchorMatchWholeWord, anchorString, anchorUnits, anchorXOffset, anchorYOffset, bold, concealValueOnDocument, conditionalParentLabel, conditionalParentValue, customTabId, disableAutoSize, documentId, errorDetails, font, fontColor, fontSize, formula, height, isPaymentAmount, italic, locked, maxLength, mergeField, name, originalValue, pageNumber, recipientId, requireAll, required, requireInitialOnSharedChange, senderRequired, shared, status, tabGroupLabels, tabId, tabLabel, tabOrder, templateLocked, templateRequired, tooltip, underline, validationMessage, validationPattern, value, width, xPosition, yPosition); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -1205,6 +1677,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/TextCustomField.java b/src/main/java/com/docusign/esign/model/TextCustomField.java index b70f3071..739d964c 100644 --- a/src/main/java/com/docusign/esign/model/TextCustomField.java +++ b/src/main/java/com/docusign/esign/model/TextCustomField.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ErrorDetails; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * TextCustomField + * TextCustomField. + * */ public class TextCustomField { @@ -33,133 +36,201 @@ public class TextCustomField { @JsonProperty("value") private String value = null; + + /** + * configurationType. + * + * @return TextCustomField + **/ public TextCustomField configurationType(String configurationType) { this.configurationType = configurationType; return this; } - /** - * If merge field's are being used, specifies the type of the merge field. The only supported value is **salesforce**. + /** + * If merge field's are being used, specifies the type of the merge field. The only supported value is **salesforce**.. * @return configurationType - **/ - @ApiModelProperty(example = "null", value = "If merge field's are being used, specifies the type of the merge field. The only supported value is **salesforce**.") + **/ + @ApiModelProperty(value = "If merge field's are being used, specifies the type of the merge field. The only supported value is **salesforce**.") public String getConfigurationType() { return configurationType; } + /** + * setConfigurationType. + **/ public void setConfigurationType(String configurationType) { this.configurationType = configurationType; } + + /** + * errorDetails. + * + * @return TextCustomField + **/ public TextCustomField errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * fieldId. + * + * @return TextCustomField + **/ public TextCustomField fieldId(String fieldId) { this.fieldId = fieldId; return this; } - /** - * An ID used to specify a custom field. + /** + * An ID used to specify a custom field.. * @return fieldId - **/ - @ApiModelProperty(example = "null", value = "An ID used to specify a custom field.") + **/ + @ApiModelProperty(value = "An ID used to specify a custom field.") public String getFieldId() { return fieldId; } + /** + * setFieldId. + **/ public void setFieldId(String fieldId) { this.fieldId = fieldId; } + + /** + * name. + * + * @return TextCustomField + **/ public TextCustomField name(String name) { this.name = name; return this; } - /** - * The name of the custom field. + /** + * The name of the custom field.. * @return name - **/ - @ApiModelProperty(example = "null", value = "The name of the custom field.") + **/ + @ApiModelProperty(value = "The name of the custom field.") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * required. + * + * @return TextCustomField + **/ public TextCustomField required(String required) { this.required = required; return this; } - /** - * When set to **true**, the signer is required to fill out this tab + /** + * When set to **true**, the signer is required to fill out this tab. * @return required - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the signer is required to fill out this tab") + **/ + @ApiModelProperty(value = "When set to **true**, the signer is required to fill out this tab") public String getRequired() { return required; } + /** + * setRequired. + **/ public void setRequired(String required) { this.required = required; } + + /** + * show. + * + * @return TextCustomField + **/ public TextCustomField show(String show) { this.show = show; return this; } - /** - * A boolean indicating if the value should be displayed. + /** + * A boolean indicating if the value should be displayed.. * @return show - **/ - @ApiModelProperty(example = "null", value = "A boolean indicating if the value should be displayed.") + **/ + @ApiModelProperty(value = "A boolean indicating if the value should be displayed.") public String getShow() { return show; } + /** + * setShow. + **/ public void setShow(String show) { this.show = show; } + + /** + * value. + * + * @return TextCustomField + **/ public TextCustomField value(String value) { this.value = value; return this; } - /** - * The value of the custom field. + /** + * The value of the custom field.. * @return value - **/ - @ApiModelProperty(example = "null", value = "The value of the custom field.") + **/ + @ApiModelProperty(value = "The value of the custom field.") public String getValue() { return value; } + /** + * setValue. + **/ public void setValue(String value) { this.value = value; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -178,12 +249,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.value, textCustomField.value); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(configurationType, errorDetails, fieldId, name, required, show, value); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -210,6 +287,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/TimeStampField.java b/src/main/java/com/docusign/esign/model/TimeStampField.java index 54d7cd70..4c14959c 100644 --- a/src/main/java/com/docusign/esign/model/TimeStampField.java +++ b/src/main/java/com/docusign/esign/model/TimeStampField.java @@ -1,9 +1,11 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.DocumentSecurityStore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; @@ -30,7 +32,7 @@ public TimeStampField documentSecurityStore(DocumentSecurityStore documentSecuri * Get documentSecurityStore * @return documentSecurityStore **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public DocumentSecurityStore getDocumentSecurityStore() { return documentSecurityStore; } @@ -48,7 +50,7 @@ public TimeStampField maxTimeStampSignatureLength(String maxTimeStampSignatureLe * * @return maxTimeStampSignatureLength **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public String getMaxTimeStampSignatureLength() { return maxTimeStampSignatureLength; } @@ -66,7 +68,7 @@ public TimeStampField timeStampFieldName(String timeStampFieldName) { * * @return timeStampFieldName **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public String getTimeStampFieldName() { return timeStampFieldName; } @@ -118,6 +120,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/Title.java b/src/main/java/com/docusign/esign/model/Title.java index 3096951a..7688860f 100644 --- a/src/main/java/com/docusign/esign/model/Title.java +++ b/src/main/java/com/docusign/esign/model/Title.java @@ -1,15 +1,18 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ErrorDetails; import com.docusign.esign.model.MergeField; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Title + * Title. + * */ public class Title { @@ -101,7 +104,7 @@ public class Title { private String status = null; @JsonProperty("tabGroupLabels") - private java.util.List<String> tabGroupLabels = new java.util.ArrayList<String>(); + private java.util.List<String> tabGroupLabels = null; @JsonProperty("tabId") private String tabId = null; @@ -136,750 +139,1132 @@ public class Title { @JsonProperty("yPosition") private String yPosition = null; + + /** + * anchorCaseSensitive. + * + * @return Title + **/ public Title anchorCaseSensitive(String anchorCaseSensitive) { this.anchorCaseSensitive = anchorCaseSensitive; return this; } - /** - * When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**. + /** + * When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.. * @return anchorCaseSensitive - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.") + **/ + @ApiModelProperty(value = "When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.") public String getAnchorCaseSensitive() { return anchorCaseSensitive; } + /** + * setAnchorCaseSensitive. + **/ public void setAnchorCaseSensitive(String anchorCaseSensitive) { this.anchorCaseSensitive = anchorCaseSensitive; } + + /** + * anchorHorizontalAlignment. + * + * @return Title + **/ public Title anchorHorizontalAlignment(String anchorHorizontalAlignment) { this.anchorHorizontalAlignment = anchorHorizontalAlignment; return this; } - /** - * Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**. + /** + * Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.. * @return anchorHorizontalAlignment - **/ - @ApiModelProperty(example = "null", value = "Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.") + **/ + @ApiModelProperty(value = "Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.") public String getAnchorHorizontalAlignment() { return anchorHorizontalAlignment; } + /** + * setAnchorHorizontalAlignment. + **/ public void setAnchorHorizontalAlignment(String anchorHorizontalAlignment) { this.anchorHorizontalAlignment = anchorHorizontalAlignment; } + + /** + * anchorIgnoreIfNotPresent. + * + * @return Title + **/ public Title anchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { this.anchorIgnoreIfNotPresent = anchorIgnoreIfNotPresent; return this; } - /** - * When set to **true**, this tab is ignored if anchorString is not found in the document. + /** + * When set to **true**, this tab is ignored if anchorString is not found in the document.. * @return anchorIgnoreIfNotPresent - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, this tab is ignored if anchorString is not found in the document.") + **/ + @ApiModelProperty(value = "When set to **true**, this tab is ignored if anchorString is not found in the document.") public String getAnchorIgnoreIfNotPresent() { return anchorIgnoreIfNotPresent; } + /** + * setAnchorIgnoreIfNotPresent. + **/ public void setAnchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { this.anchorIgnoreIfNotPresent = anchorIgnoreIfNotPresent; } + + /** + * anchorMatchWholeWord. + * + * @return Title + **/ public Title anchorMatchWholeWord(String anchorMatchWholeWord) { this.anchorMatchWholeWord = anchorMatchWholeWord; return this; } - /** - * When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**. + /** + * When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.. * @return anchorMatchWholeWord - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.") + **/ + @ApiModelProperty(value = "When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.") public String getAnchorMatchWholeWord() { return anchorMatchWholeWord; } + /** + * setAnchorMatchWholeWord. + **/ public void setAnchorMatchWholeWord(String anchorMatchWholeWord) { this.anchorMatchWholeWord = anchorMatchWholeWord; } + + /** + * anchorString. + * + * @return Title + **/ public Title anchorString(String anchorString) { this.anchorString = anchorString; return this; } - /** - * Anchor text information for a radio button. + /** + * Anchor text information for a radio button.. * @return anchorString - **/ - @ApiModelProperty(example = "null", value = "Anchor text information for a radio button.") + **/ + @ApiModelProperty(value = "Anchor text information for a radio button.") public String getAnchorString() { return anchorString; } + /** + * setAnchorString. + **/ public void setAnchorString(String anchorString) { this.anchorString = anchorString; } + + /** + * anchorUnits. + * + * @return Title + **/ public Title anchorUnits(String anchorUnits) { this.anchorUnits = anchorUnits; return this; } - /** - * Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. + /** + * Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. * @return anchorUnits - **/ - @ApiModelProperty(example = "null", value = "Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.") + **/ + @ApiModelProperty(value = "Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.") public String getAnchorUnits() { return anchorUnits; } + /** + * setAnchorUnits. + **/ public void setAnchorUnits(String anchorUnits) { this.anchorUnits = anchorUnits; } + + /** + * anchorXOffset. + * + * @return Title + **/ public Title anchorXOffset(String anchorXOffset) { this.anchorXOffset = anchorXOffset; return this; } - /** - * Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString. + /** + * Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. * @return anchorXOffset - **/ - @ApiModelProperty(example = "null", value = "Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.") + **/ + @ApiModelProperty(value = "Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.") public String getAnchorXOffset() { return anchorXOffset; } + /** + * setAnchorXOffset. + **/ public void setAnchorXOffset(String anchorXOffset) { this.anchorXOffset = anchorXOffset; } + + /** + * anchorYOffset. + * + * @return Title + **/ public Title anchorYOffset(String anchorYOffset) { this.anchorYOffset = anchorYOffset; return this; } - /** - * Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString. + /** + * Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.. * @return anchorYOffset - **/ - @ApiModelProperty(example = "null", value = "Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.") + **/ + @ApiModelProperty(value = "Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.") public String getAnchorYOffset() { return anchorYOffset; } + /** + * setAnchorYOffset. + **/ public void setAnchorYOffset(String anchorYOffset) { this.anchorYOffset = anchorYOffset; } + + /** + * bold. + * + * @return Title + **/ public Title bold(String bold) { this.bold = bold; return this; } - /** - * When set to **true**, the information in the tab is bold. + /** + * When set to **true**, the information in the tab is bold.. * @return bold - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is bold.") + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is bold.") public String getBold() { return bold; } + /** + * setBold. + **/ public void setBold(String bold) { this.bold = bold; } + + /** + * concealValueOnDocument. + * + * @return Title + **/ public Title concealValueOnDocument(String concealValueOnDocument) { this.concealValueOnDocument = concealValueOnDocument; return this; } - /** - * When set to **true**, the field appears normally while the recipient is adding or modifying the information in the field, but the data is not visible (the characters are hidden by asterisks) to any other signer or the sender. When an envelope is completed the information is available to the sender through the Form Data link in the DocuSign Console. This setting applies only to text boxes and does not affect list boxes, radio buttons, or check boxes. + /** + * When set to **true**, the field appears normally while the recipient is adding or modifying the information in the field, but the data is not visible (the characters are hidden by asterisks) to any other signer or the sender. When an envelope is completed the information is available to the sender through the Form Data link in the DocuSign Console. This setting applies only to text boxes and does not affect list boxes, radio buttons, or check boxes.. * @return concealValueOnDocument - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the field appears normally while the recipient is adding or modifying the information in the field, but the data is not visible (the characters are hidden by asterisks) to any other signer or the sender. When an envelope is completed the information is available to the sender through the Form Data link in the DocuSign Console. This setting applies only to text boxes and does not affect list boxes, radio buttons, or check boxes.") + **/ + @ApiModelProperty(value = "When set to **true**, the field appears normally while the recipient is adding or modifying the information in the field, but the data is not visible (the characters are hidden by asterisks) to any other signer or the sender. When an envelope is completed the information is available to the sender through the Form Data link in the DocuSign Console. This setting applies only to text boxes and does not affect list boxes, radio buttons, or check boxes.") public String getConcealValueOnDocument() { return concealValueOnDocument; } + /** + * setConcealValueOnDocument. + **/ public void setConcealValueOnDocument(String concealValueOnDocument) { this.concealValueOnDocument = concealValueOnDocument; } + + /** + * conditionalParentLabel. + * + * @return Title + **/ public Title conditionalParentLabel(String conditionalParentLabel) { this.conditionalParentLabel = conditionalParentLabel; return this; } - /** - * For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility. + /** + * For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.. * @return conditionalParentLabel - **/ - @ApiModelProperty(example = "null", value = "For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.") + **/ + @ApiModelProperty(value = "For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.") public String getConditionalParentLabel() { return conditionalParentLabel; } + /** + * setConditionalParentLabel. + **/ public void setConditionalParentLabel(String conditionalParentLabel) { this.conditionalParentLabel = conditionalParentLabel; } + + /** + * conditionalParentValue. + * + * @return Title + **/ public Title conditionalParentValue(String conditionalParentValue) { this.conditionalParentValue = conditionalParentValue; return this; } - /** - * For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. + /** + * For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. . * @return conditionalParentValue - **/ - @ApiModelProperty(example = "null", value = "For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. ") + **/ + @ApiModelProperty(value = "For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. ") public String getConditionalParentValue() { return conditionalParentValue; } + /** + * setConditionalParentValue. + **/ public void setConditionalParentValue(String conditionalParentValue) { this.conditionalParentValue = conditionalParentValue; } + + /** + * customTabId. + * + * @return Title + **/ public Title customTabId(String customTabId) { this.customTabId = customTabId; return this; } - /** - * The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties. + /** + * The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.. * @return customTabId - **/ - @ApiModelProperty(example = "null", value = "The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.") + **/ + @ApiModelProperty(value = "The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.") public String getCustomTabId() { return customTabId; } + /** + * setCustomTabId. + **/ public void setCustomTabId(String customTabId) { this.customTabId = customTabId; } + + /** + * disableAutoSize. + * + * @return Title + **/ public Title disableAutoSize(String disableAutoSize) { this.disableAutoSize = disableAutoSize; return this; } - /** - * When set to **true**, disables the auto sizing of single line text boxes in the signing screen when the signer enters data. If disabled users will only be able enter as much data as the text box can hold. By default this is false. This property only affects single line text boxes. + /** + * When set to **true**, disables the auto sizing of single line text boxes in the signing screen when the signer enters data. If disabled users will only be able enter as much data as the text box can hold. By default this is false. This property only affects single line text boxes.. * @return disableAutoSize - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, disables the auto sizing of single line text boxes in the signing screen when the signer enters data. If disabled users will only be able enter as much data as the text box can hold. By default this is false. This property only affects single line text boxes.") + **/ + @ApiModelProperty(value = "When set to **true**, disables the auto sizing of single line text boxes in the signing screen when the signer enters data. If disabled users will only be able enter as much data as the text box can hold. By default this is false. This property only affects single line text boxes.") public String getDisableAutoSize() { return disableAutoSize; } + /** + * setDisableAutoSize. + **/ public void setDisableAutoSize(String disableAutoSize) { this.disableAutoSize = disableAutoSize; } + + /** + * documentId. + * + * @return Title + **/ public Title documentId(String documentId) { this.documentId = documentId; return this; } - /** - * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute. + /** + * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.. * @return documentId - **/ - @ApiModelProperty(example = "null", value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") + **/ + @ApiModelProperty(value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") public String getDocumentId() { return documentId; } + /** + * setDocumentId. + **/ public void setDocumentId(String documentId) { this.documentId = documentId; } + + /** + * errorDetails. + * + * @return Title + **/ public Title errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * font. + * + * @return Title + **/ public Title font(String font) { this.font = font; return this; } - /** - * The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default. + /** + * The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.. * @return font - **/ - @ApiModelProperty(example = "null", value = "The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.") + **/ + @ApiModelProperty(value = "The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.") public String getFont() { return font; } + /** + * setFont. + **/ public void setFont(String font) { this.font = font; } + + /** + * fontColor. + * + * @return Title + **/ public Title fontColor(String fontColor) { this.fontColor = fontColor; return this; } - /** - * The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White. + /** + * The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.. * @return fontColor - **/ - @ApiModelProperty(example = "null", value = "The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.") + **/ + @ApiModelProperty(value = "The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.") public String getFontColor() { return fontColor; } + /** + * setFontColor. + **/ public void setFontColor(String fontColor) { this.fontColor = fontColor; } + + /** + * fontSize. + * + * @return Title + **/ public Title fontSize(String fontSize) { this.fontSize = fontSize; return this; } - /** - * The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72. + /** + * The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.. * @return fontSize - **/ - @ApiModelProperty(example = "null", value = "The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.") + **/ + @ApiModelProperty(value = "The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.") public String getFontSize() { return fontSize; } + /** + * setFontSize. + **/ public void setFontSize(String fontSize) { this.fontSize = fontSize; } + + /** + * italic. + * + * @return Title + **/ public Title italic(String italic) { this.italic = italic; return this; } - /** - * When set to **true**, the information in the tab is italic. + /** + * When set to **true**, the information in the tab is italic.. * @return italic - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is italic.") + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is italic.") public String getItalic() { return italic; } + /** + * setItalic. + **/ public void setItalic(String italic) { this.italic = italic; } + + /** + * locked. + * + * @return Title + **/ public Title locked(String locked) { this.locked = locked; return this; } - /** - * When set to **true**, the signer cannot change the data of the custom tab. + /** + * When set to **true**, the signer cannot change the data of the custom tab.. * @return locked - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the signer cannot change the data of the custom tab.") + **/ + @ApiModelProperty(value = "When set to **true**, the signer cannot change the data of the custom tab.") public String getLocked() { return locked; } + /** + * setLocked. + **/ public void setLocked(String locked) { this.locked = locked; } + + /** + * maxLength. + * + * @return Title + **/ public Title maxLength(Integer maxLength) { this.maxLength = maxLength; return this; } - /** - * An optional value that describes the maximum length of the property when the property is a string. + /** + * An optional value that describes the maximum length of the property when the property is a string.. * @return maxLength - **/ - @ApiModelProperty(example = "null", value = "An optional value that describes the maximum length of the property when the property is a string.") + **/ + @ApiModelProperty(value = "An optional value that describes the maximum length of the property when the property is a string.") public Integer getMaxLength() { return maxLength; } + /** + * setMaxLength. + **/ public void setMaxLength(Integer maxLength) { this.maxLength = maxLength; } + + /** + * mergeField. + * + * @return Title + **/ public Title mergeField(MergeField mergeField) { this.mergeField = mergeField; return this; } - /** - * Get mergeField + /** + * Get mergeField. * @return mergeField - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public MergeField getMergeField() { return mergeField; } + /** + * setMergeField. + **/ public void setMergeField(MergeField mergeField) { this.mergeField = mergeField; } + + /** + * name. + * + * @return Title + **/ public Title name(String name) { this.name = name; return this; } - /** - * + /** + * . * @return name - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * originalValue. + * + * @return Title + **/ public Title originalValue(String originalValue) { this.originalValue = originalValue; return this; } - /** - * The initial value of the tab when it was sent to the recipient. + /** + * The initial value of the tab when it was sent to the recipient. . * @return originalValue - **/ - @ApiModelProperty(example = "null", value = "The initial value of the tab when it was sent to the recipient. ") + **/ + @ApiModelProperty(value = "The initial value of the tab when it was sent to the recipient. ") public String getOriginalValue() { return originalValue; } + /** + * setOriginalValue. + **/ public void setOriginalValue(String originalValue) { this.originalValue = originalValue; } + + /** + * pageNumber. + * + * @return Title + **/ public Title pageNumber(String pageNumber) { this.pageNumber = pageNumber; return this; } - /** - * Specifies the page number on which the tab is located. + /** + * Specifies the page number on which the tab is located.. * @return pageNumber - **/ - @ApiModelProperty(example = "null", value = "Specifies the page number on which the tab is located.") + **/ + @ApiModelProperty(value = "Specifies the page number on which the tab is located.") public String getPageNumber() { return pageNumber; } + /** + * setPageNumber. + **/ public void setPageNumber(String pageNumber) { this.pageNumber = pageNumber; } + + /** + * recipientId. + * + * @return Title + **/ public Title recipientId(String recipientId) { this.recipientId = recipientId; return this; } - /** - * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document. + /** + * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.. * @return recipientId - **/ - @ApiModelProperty(example = "null", value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") + **/ + @ApiModelProperty(value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") public String getRecipientId() { return recipientId; } + /** + * setRecipientId. + **/ public void setRecipientId(String recipientId) { this.recipientId = recipientId; } + + /** + * required. + * + * @return Title + **/ public Title required(String required) { this.required = required; return this; } - /** - * When set to **true**, the signer is required to fill out this tab + /** + * When set to **true**, the signer is required to fill out this tab. * @return required - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the signer is required to fill out this tab") + **/ + @ApiModelProperty(value = "When set to **true**, the signer is required to fill out this tab") public String getRequired() { return required; } + /** + * setRequired. + **/ public void setRequired(String required) { this.required = required; } + + /** + * status. + * + * @return Title + **/ public Title status(String status) { this.status = status; return this; } - /** - * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. + /** + * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.. * @return status - **/ - @ApiModelProperty(example = "null", value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") + **/ + @ApiModelProperty(value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") public String getStatus() { return status; } + /** + * setStatus. + **/ public void setStatus(String status) { this.status = status; } + + /** + * tabGroupLabels. + * + * @return Title + **/ public Title tabGroupLabels(java.util.List<String> tabGroupLabels) { this.tabGroupLabels = tabGroupLabels; return this; } - + + /** + * addTabGroupLabelsItem. + * + * @return Title + **/ public Title addTabGroupLabelsItem(String tabGroupLabelsItem) { + if (this.tabGroupLabels == null) { + this.tabGroupLabels = new java.util.ArrayList<String>(); + } this.tabGroupLabels.add(tabGroupLabelsItem); return this; } - /** - * + /** + * . * @return tabGroupLabels - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List<String> getTabGroupLabels() { return tabGroupLabels; } + /** + * setTabGroupLabels. + **/ public void setTabGroupLabels(java.util.List<String> tabGroupLabels) { this.tabGroupLabels = tabGroupLabels; } + + /** + * tabId. + * + * @return Title + **/ public Title tabId(String tabId) { this.tabId = tabId; return this; } - /** - * The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. + /** + * The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. . * @return tabId - **/ - @ApiModelProperty(example = "null", value = "The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. ") + **/ + @ApiModelProperty(value = "The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. ") public String getTabId() { return tabId; } + /** + * setTabId. + **/ public void setTabId(String tabId) { this.tabId = tabId; } + + /** + * tabLabel. + * + * @return Title + **/ public Title tabLabel(String tabLabel) { this.tabLabel = tabLabel; return this; } - /** - * The label string associated with the tab. + /** + * The label string associated with the tab.. * @return tabLabel - **/ - @ApiModelProperty(example = "null", value = "The label string associated with the tab.") + **/ + @ApiModelProperty(value = "The label string associated with the tab.") public String getTabLabel() { return tabLabel; } + /** + * setTabLabel. + **/ public void setTabLabel(String tabLabel) { this.tabLabel = tabLabel; } + + /** + * tabOrder. + * + * @return Title + **/ public Title tabOrder(String tabOrder) { this.tabOrder = tabOrder; return this; } - /** - * + /** + * . * @return tabOrder - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTabOrder() { return tabOrder; } + /** + * setTabOrder. + **/ public void setTabOrder(String tabOrder) { this.tabOrder = tabOrder; } + + /** + * templateLocked. + * + * @return Title + **/ public Title templateLocked(String templateLocked) { this.templateLocked = templateLocked; return this; } - /** - * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. . * @return templateLocked - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") + **/ + @ApiModelProperty(value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") public String getTemplateLocked() { return templateLocked; } + /** + * setTemplateLocked. + **/ public void setTemplateLocked(String templateLocked) { this.templateLocked = templateLocked; } + + /** + * templateRequired. + * + * @return Title + **/ public Title templateRequired(String templateRequired) { this.templateRequired = templateRequired; return this; } - /** - * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.. * @return templateRequired - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") + **/ + @ApiModelProperty(value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") public String getTemplateRequired() { return templateRequired; } + /** + * setTemplateRequired. + **/ public void setTemplateRequired(String templateRequired) { this.templateRequired = templateRequired; } + + /** + * tooltip. + * + * @return Title + **/ public Title tooltip(String tooltip) { this.tooltip = tooltip; return this; } - /** - * + /** + * . * @return tooltip - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTooltip() { return tooltip; } + /** + * setTooltip. + **/ public void setTooltip(String tooltip) { this.tooltip = tooltip; } + + /** + * underline. + * + * @return Title + **/ public Title underline(String underline) { this.underline = underline; return this; } - /** - * When set to **true**, the information in the tab is underlined. + /** + * When set to **true**, the information in the tab is underlined.. * @return underline - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is underlined.") + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is underlined.") public String getUnderline() { return underline; } + /** + * setUnderline. + **/ public void setUnderline(String underline) { this.underline = underline; } + + /** + * value. + * + * @return Title + **/ public Title value(String value) { this.value = value; return this; } - /** - * Specifies the value of the tab. + /** + * Specifies the value of the tab. . * @return value - **/ - @ApiModelProperty(example = "null", value = "Specifies the value of the tab. ") + **/ + @ApiModelProperty(value = "Specifies the value of the tab. ") public String getValue() { return value; } + /** + * setValue. + **/ public void setValue(String value) { this.value = value; } + + /** + * width. + * + * @return Title + **/ public Title width(Integer width) { this.width = width; return this; } - /** - * Width of the tab in pixels. + /** + * Width of the tab in pixels.. * @return width - **/ - @ApiModelProperty(example = "null", value = "Width of the tab in pixels.") + **/ + @ApiModelProperty(value = "Width of the tab in pixels.") public Integer getWidth() { return width; } + /** + * setWidth. + **/ public void setWidth(Integer width) { this.width = width; } + + /** + * xPosition. + * + * @return Title + **/ public Title xPosition(String xPosition) { this.xPosition = xPosition; return this; } - /** - * This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position. + /** + * This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.. * @return xPosition - **/ - @ApiModelProperty(example = "null", value = "This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.") + **/ + @ApiModelProperty(value = "This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.") public String getXPosition() { return xPosition; } + /** + * setXPosition. + **/ public void setXPosition(String xPosition) { this.xPosition = xPosition; } + + /** + * yPosition. + * + * @return Title + **/ public Title yPosition(String yPosition) { this.yPosition = yPosition; return this; } - /** - * This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position. + /** + * This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. * @return yPosition - **/ - @ApiModelProperty(example = "null", value = "This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.") + **/ + @ApiModelProperty(value = "This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.") public String getYPosition() { return yPosition; } + /** + * setYPosition. + **/ public void setYPosition(String yPosition) { this.yPosition = yPosition; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -932,12 +1317,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.yPosition, title.yPosition); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(anchorCaseSensitive, anchorHorizontalAlignment, anchorIgnoreIfNotPresent, anchorMatchWholeWord, anchorString, anchorUnits, anchorXOffset, anchorYOffset, bold, concealValueOnDocument, conditionalParentLabel, conditionalParentValue, customTabId, disableAutoSize, documentId, errorDetails, font, fontColor, fontSize, italic, locked, maxLength, mergeField, name, originalValue, pageNumber, recipientId, required, status, tabGroupLabels, tabId, tabLabel, tabOrder, templateLocked, templateRequired, tooltip, underline, value, width, xPosition, yPosition); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -998,6 +1389,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/TspHealthCheckRequest.java b/src/main/java/com/docusign/esign/model/TspHealthCheckRequest.java index e50b26d6..f9c3784e 100644 --- a/src/main/java/com/docusign/esign/model/TspHealthCheckRequest.java +++ b/src/main/java/com/docusign/esign/model/TspHealthCheckRequest.java @@ -1,9 +1,11 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.TspHealthCheckStatusDescription; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; @@ -25,7 +27,7 @@ public class TspHealthCheckRequest { private String status = null; @JsonProperty("statusDescription") - private java.util.List<TspHealthCheckStatusDescription> statusDescription = new java.util.ArrayList<TspHealthCheckStatusDescription>(); + private java.util.List<TspHealthCheckStatusDescription> statusDescription = null; public TspHealthCheckRequest appVersion(String appVersion) { this.appVersion = appVersion; @@ -36,7 +38,7 @@ public TspHealthCheckRequest appVersion(String appVersion) { * * @return appVersion **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public String getAppVersion() { return appVersion; } @@ -54,7 +56,7 @@ public TspHealthCheckRequest description(String description) { * * @return description **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public String getDescription() { return description; } @@ -72,7 +74,7 @@ public TspHealthCheckRequest error(String error) { * * @return error **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public String getError() { return error; } @@ -90,7 +92,7 @@ public TspHealthCheckRequest status(String status) { * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. * @return status **/ - @ApiModelProperty(example = "null", value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") + @ApiModelProperty(value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") public String getStatus() { return status; } @@ -105,6 +107,9 @@ public TspHealthCheckRequest statusDescription(java.util.List<TspHealthCheckStat } public TspHealthCheckRequest addStatusDescriptionItem(TspHealthCheckStatusDescription statusDescriptionItem) { + if (this.statusDescription == null) { + this.statusDescription = new java.util.ArrayList<TspHealthCheckStatusDescription>(); + } this.statusDescription.add(statusDescriptionItem); return this; } @@ -113,7 +118,7 @@ public TspHealthCheckRequest addStatusDescriptionItem(TspHealthCheckStatusDescri * * @return statusDescription **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public java.util.List<TspHealthCheckStatusDescription> getStatusDescription() { return statusDescription; } @@ -169,6 +174,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/TspHealthCheckStatusDescription.java b/src/main/java/com/docusign/esign/model/TspHealthCheckStatusDescription.java index c848d392..a1686f1f 100644 --- a/src/main/java/com/docusign/esign/model/TspHealthCheckStatusDescription.java +++ b/src/main/java/com/docusign/esign/model/TspHealthCheckStatusDescription.java @@ -1,8 +1,10 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; @@ -38,7 +40,7 @@ public TspHealthCheckStatusDescription description(String description) { * * @return description **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public String getDescription() { return description; } @@ -56,7 +58,7 @@ public TspHealthCheckStatusDescription error(String error) { * * @return error **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public String getError() { return error; } @@ -74,7 +76,7 @@ public TspHealthCheckStatusDescription hostname(String hostname) { * * @return hostname **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public String getHostname() { return hostname; } @@ -92,7 +94,7 @@ public TspHealthCheckStatusDescription responseSeconds(String responseSeconds) { * * @return responseSeconds **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public String getResponseSeconds() { return responseSeconds; } @@ -110,7 +112,7 @@ public TspHealthCheckStatusDescription status(String status) { * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. * @return status **/ - @ApiModelProperty(example = "null", value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") + @ApiModelProperty(value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") public String getStatus() { return status; } @@ -128,7 +130,7 @@ public TspHealthCheckStatusDescription type(String type) { * * @return type **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public String getType() { return type; } @@ -186,6 +188,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/UpdateTransactionRequest.java b/src/main/java/com/docusign/esign/model/UpdateTransactionRequest.java index 786c7e05..b20e63dc 100644 --- a/src/main/java/com/docusign/esign/model/UpdateTransactionRequest.java +++ b/src/main/java/com/docusign/esign/model/UpdateTransactionRequest.java @@ -1,8 +1,10 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; @@ -29,7 +31,7 @@ public UpdateTransactionRequest code(String code) { * * @return code **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public String getCode() { return code; } @@ -47,7 +49,7 @@ public UpdateTransactionRequest message(String message) { * * @return message **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public String getMessage() { return message; } @@ -65,7 +67,7 @@ public UpdateTransactionRequest state(String state) { * The state or province associated with the address. * @return state **/ - @ApiModelProperty(example = "null", value = "The state or province associated with the address.") + @ApiModelProperty(value = "The state or province associated with the address.") public String getState() { return state; } @@ -117,6 +119,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/UpdateTransactionResponse.java b/src/main/java/com/docusign/esign/model/UpdateTransactionResponse.java index 49382e89..e128374e 100644 --- a/src/main/java/com/docusign/esign/model/UpdateTransactionResponse.java +++ b/src/main/java/com/docusign/esign/model/UpdateTransactionResponse.java @@ -1,8 +1,10 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; @@ -23,7 +25,7 @@ public UpdateTransactionResponse redirectionUrl(String redirectionUrl) { * * @return redirectionUrl **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public String getRedirectionUrl() { return redirectionUrl; } @@ -71,6 +73,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/UsageHistory.java b/src/main/java/com/docusign/esign/model/UsageHistory.java index 9a53d94c..a6b0ecac 100644 --- a/src/main/java/com/docusign/esign/model/UsageHistory.java +++ b/src/main/java/com/docusign/esign/model/UsageHistory.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * A complex element consisting of: * lastSentDateTime - the date and time the user last sent an envelope. * lastSignedDateTime - the date and time the user last signed an envelope. * sentCount - the number of envelopes the user has sent. * signedCount - the number of envelopes the user has signed. + * A complex element consisting of: * lastSentDateTime - the date and time the user last sent an envelope. * lastSignedDateTime - the date and time the user last signed an envelope. * sentCount - the number of envelopes the user has sent. * signedCount - the number of envelopes the user has signed.. + * */ @ApiModel(description = "A complex element consisting of: * lastSentDateTime - the date and time the user last sent an envelope. * lastSignedDateTime - the date and time the user last signed an envelope. * sentCount - the number of envelopes the user has sent. * signedCount - the number of envelopes the user has signed.") @@ -24,79 +27,120 @@ public class UsageHistory { @JsonProperty("signedCount") private Integer signedCount = null; + + /** + * lastSentDateTime. + * + * @return UsageHistory + **/ public UsageHistory lastSentDateTime(String lastSentDateTime) { this.lastSentDateTime = lastSentDateTime; return this; } - /** - * The date and time the user last sent an envelope. + /** + * The date and time the user last sent an envelope. . * @return lastSentDateTime - **/ - @ApiModelProperty(example = "null", value = "The date and time the user last sent an envelope. ") + **/ + @ApiModelProperty(value = "The date and time the user last sent an envelope. ") public String getLastSentDateTime() { return lastSentDateTime; } + /** + * setLastSentDateTime. + **/ public void setLastSentDateTime(String lastSentDateTime) { this.lastSentDateTime = lastSentDateTime; } + + /** + * lastSignedDateTime. + * + * @return UsageHistory + **/ public UsageHistory lastSignedDateTime(String lastSignedDateTime) { this.lastSignedDateTime = lastSignedDateTime; return this; } - /** - * The date and time the user last signed an envelope. + /** + * The date and time the user last signed an envelope.. * @return lastSignedDateTime - **/ - @ApiModelProperty(example = "null", value = "The date and time the user last signed an envelope.") + **/ + @ApiModelProperty(value = "The date and time the user last signed an envelope.") public String getLastSignedDateTime() { return lastSignedDateTime; } + /** + * setLastSignedDateTime. + **/ public void setLastSignedDateTime(String lastSignedDateTime) { this.lastSignedDateTime = lastSignedDateTime; } + + /** + * sentCount. + * + * @return UsageHistory + **/ public UsageHistory sentCount(Integer sentCount) { this.sentCount = sentCount; return this; } - /** - * The number of envelopes the user has sent. + /** + * The number of envelopes the user has sent. . * @return sentCount - **/ - @ApiModelProperty(example = "null", value = "The number of envelopes the user has sent. ") + **/ + @ApiModelProperty(value = "The number of envelopes the user has sent. ") public Integer getSentCount() { return sentCount; } + /** + * setSentCount. + **/ public void setSentCount(Integer sentCount) { this.sentCount = sentCount; } + + /** + * signedCount. + * + * @return UsageHistory + **/ public UsageHistory signedCount(Integer signedCount) { this.signedCount = signedCount; return this; } - /** - * The number of envelopes the user has signed. + /** + * The number of envelopes the user has signed. . * @return signedCount - **/ - @ApiModelProperty(example = "null", value = "The number of envelopes the user has signed. ") + **/ + @ApiModelProperty(value = "The number of envelopes the user has signed. ") public Integer getSignedCount() { return signedCount; } + /** + * setSignedCount. + **/ public void setSignedCount(Integer signedCount) { this.signedCount = signedCount; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -112,12 +156,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.signedCount, usageHistory.signedCount); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(lastSentDateTime, lastSignedDateTime, sentCount, signedCount); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -141,6 +191,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/User.java b/src/main/java/com/docusign/esign/model/User.java index 3aeb6538..40166fdd 100644 --- a/src/main/java/com/docusign/esign/model/User.java +++ b/src/main/java/com/docusign/esign/model/User.java @@ -1,9 +1,11 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.Credential; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; @@ -16,7 +18,7 @@ public class User { private String countryCode = null; @JsonProperty("credentials") - private java.util.List<Credential> credentials = new java.util.ArrayList<Credential>(); + private java.util.List<Credential> credentials = null; @JsonProperty("displayName") private String displayName = null; @@ -33,7 +35,7 @@ public User countryCode(String countryCode) { * * @return countryCode **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public String getCountryCode() { return countryCode; } @@ -48,6 +50,9 @@ public User credentials(java.util.List<Credential> credentials) { } public User addCredentialsItem(Credential credentialsItem) { + if (this.credentials == null) { + this.credentials = new java.util.ArrayList<Credential>(); + } this.credentials.add(credentialsItem); return this; } @@ -56,7 +61,7 @@ public User addCredentialsItem(Credential credentialsItem) { * * @return credentials **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public java.util.List<Credential> getCredentials() { return credentials; } @@ -74,7 +79,7 @@ public User displayName(String displayName) { * * @return displayName **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public String getDisplayName() { return displayName; } @@ -92,7 +97,7 @@ public User email(String email) { * * @return email **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public String getEmail() { return email; } @@ -146,6 +151,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/UserAccountManagementGranularInformation.java b/src/main/java/com/docusign/esign/model/UserAccountManagementGranularInformation.java index be9c9d68..6b9d0a07 100644 --- a/src/main/java/com/docusign/esign/model/UserAccountManagementGranularInformation.java +++ b/src/main/java/com/docusign/esign/model/UserAccountManagementGranularInformation.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.SettingsMetadata; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * UserAccountManagementGranularInformation + * UserAccountManagementGranularInformation. + * */ public class UserAccountManagementGranularInformation { @@ -30,6 +33,18 @@ public class UserAccountManagementGranularInformation { @JsonProperty("canManageAdminsMetadata") private SettingsMetadata canManageAdminsMetadata = null; + @JsonProperty("canManageDocumentRetention") + private String canManageDocumentRetention = null; + + @JsonProperty("canManageDocumentRetentionMetadata") + private SettingsMetadata canManageDocumentRetentionMetadata = null; + + @JsonProperty("canManageEnvelopeTransfer") + private String canManageEnvelopeTransfer = null; + + @JsonProperty("canManageEnvelopeTransferMetadata") + private SettingsMetadata canManageEnvelopeTransferMetadata = null; + @JsonProperty("canManageGroups") private String canManageGroups = null; @@ -60,295 +75,612 @@ public class UserAccountManagementGranularInformation { @JsonProperty("canManageUsersMetadata") private SettingsMetadata canManageUsersMetadata = null; + @JsonProperty("canViewUsers") + private String canViewUsers = null; + + @JsonProperty("canViewUsersMetadata") + private SettingsMetadata canViewUsersMetadata = null; + + + /** + * canManageAccountSecuritySettings. + * + * @return UserAccountManagementGranularInformation + **/ public UserAccountManagementGranularInformation canManageAccountSecuritySettings(String canManageAccountSecuritySettings) { this.canManageAccountSecuritySettings = canManageAccountSecuritySettings; return this; } - /** - * + /** + * . * @return canManageAccountSecuritySettings - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getCanManageAccountSecuritySettings() { return canManageAccountSecuritySettings; } + /** + * setCanManageAccountSecuritySettings. + **/ public void setCanManageAccountSecuritySettings(String canManageAccountSecuritySettings) { this.canManageAccountSecuritySettings = canManageAccountSecuritySettings; } + + /** + * canManageAccountSecuritySettingsMetadata. + * + * @return UserAccountManagementGranularInformation + **/ public UserAccountManagementGranularInformation canManageAccountSecuritySettingsMetadata(SettingsMetadata canManageAccountSecuritySettingsMetadata) { this.canManageAccountSecuritySettingsMetadata = canManageAccountSecuritySettingsMetadata; return this; } - /** - * Get canManageAccountSecuritySettingsMetadata + /** + * Get canManageAccountSecuritySettingsMetadata. * @return canManageAccountSecuritySettingsMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getCanManageAccountSecuritySettingsMetadata() { return canManageAccountSecuritySettingsMetadata; } + /** + * setCanManageAccountSecuritySettingsMetadata. + **/ public void setCanManageAccountSecuritySettingsMetadata(SettingsMetadata canManageAccountSecuritySettingsMetadata) { this.canManageAccountSecuritySettingsMetadata = canManageAccountSecuritySettingsMetadata; } + + /** + * canManageAccountSettings. + * + * @return UserAccountManagementGranularInformation + **/ public UserAccountManagementGranularInformation canManageAccountSettings(String canManageAccountSettings) { this.canManageAccountSettings = canManageAccountSettings; return this; } - /** - * + /** + * . * @return canManageAccountSettings - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getCanManageAccountSettings() { return canManageAccountSettings; } + /** + * setCanManageAccountSettings. + **/ public void setCanManageAccountSettings(String canManageAccountSettings) { this.canManageAccountSettings = canManageAccountSettings; } + + /** + * canManageAccountSettingsMetadata. + * + * @return UserAccountManagementGranularInformation + **/ public UserAccountManagementGranularInformation canManageAccountSettingsMetadata(SettingsMetadata canManageAccountSettingsMetadata) { this.canManageAccountSettingsMetadata = canManageAccountSettingsMetadata; return this; } - /** - * Get canManageAccountSettingsMetadata + /** + * Get canManageAccountSettingsMetadata. * @return canManageAccountSettingsMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getCanManageAccountSettingsMetadata() { return canManageAccountSettingsMetadata; } + /** + * setCanManageAccountSettingsMetadata. + **/ public void setCanManageAccountSettingsMetadata(SettingsMetadata canManageAccountSettingsMetadata) { this.canManageAccountSettingsMetadata = canManageAccountSettingsMetadata; } + + /** + * canManageAdmins. + * + * @return UserAccountManagementGranularInformation + **/ public UserAccountManagementGranularInformation canManageAdmins(String canManageAdmins) { this.canManageAdmins = canManageAdmins; return this; } - /** - * + /** + * . * @return canManageAdmins - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getCanManageAdmins() { return canManageAdmins; } + /** + * setCanManageAdmins. + **/ public void setCanManageAdmins(String canManageAdmins) { this.canManageAdmins = canManageAdmins; } + + /** + * canManageAdminsMetadata. + * + * @return UserAccountManagementGranularInformation + **/ public UserAccountManagementGranularInformation canManageAdminsMetadata(SettingsMetadata canManageAdminsMetadata) { this.canManageAdminsMetadata = canManageAdminsMetadata; return this; } - /** - * Get canManageAdminsMetadata + /** + * Get canManageAdminsMetadata. * @return canManageAdminsMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getCanManageAdminsMetadata() { return canManageAdminsMetadata; } + /** + * setCanManageAdminsMetadata. + **/ public void setCanManageAdminsMetadata(SettingsMetadata canManageAdminsMetadata) { this.canManageAdminsMetadata = canManageAdminsMetadata; } + + /** + * canManageDocumentRetention. + * + * @return UserAccountManagementGranularInformation + **/ + public UserAccountManagementGranularInformation canManageDocumentRetention(String canManageDocumentRetention) { + this.canManageDocumentRetention = canManageDocumentRetention; + return this; + } + + /** + * . + * @return canManageDocumentRetention + **/ + @ApiModelProperty(value = "") + public String getCanManageDocumentRetention() { + return canManageDocumentRetention; + } + + /** + * setCanManageDocumentRetention. + **/ + public void setCanManageDocumentRetention(String canManageDocumentRetention) { + this.canManageDocumentRetention = canManageDocumentRetention; + } + + + /** + * canManageDocumentRetentionMetadata. + * + * @return UserAccountManagementGranularInformation + **/ + public UserAccountManagementGranularInformation canManageDocumentRetentionMetadata(SettingsMetadata canManageDocumentRetentionMetadata) { + this.canManageDocumentRetentionMetadata = canManageDocumentRetentionMetadata; + return this; + } + + /** + * Get canManageDocumentRetentionMetadata. + * @return canManageDocumentRetentionMetadata + **/ + @ApiModelProperty(value = "") + public SettingsMetadata getCanManageDocumentRetentionMetadata() { + return canManageDocumentRetentionMetadata; + } + + /** + * setCanManageDocumentRetentionMetadata. + **/ + public void setCanManageDocumentRetentionMetadata(SettingsMetadata canManageDocumentRetentionMetadata) { + this.canManageDocumentRetentionMetadata = canManageDocumentRetentionMetadata; + } + + + /** + * canManageEnvelopeTransfer. + * + * @return UserAccountManagementGranularInformation + **/ + public UserAccountManagementGranularInformation canManageEnvelopeTransfer(String canManageEnvelopeTransfer) { + this.canManageEnvelopeTransfer = canManageEnvelopeTransfer; + return this; + } + + /** + * . + * @return canManageEnvelopeTransfer + **/ + @ApiModelProperty(value = "") + public String getCanManageEnvelopeTransfer() { + return canManageEnvelopeTransfer; + } + + /** + * setCanManageEnvelopeTransfer. + **/ + public void setCanManageEnvelopeTransfer(String canManageEnvelopeTransfer) { + this.canManageEnvelopeTransfer = canManageEnvelopeTransfer; + } + + + /** + * canManageEnvelopeTransferMetadata. + * + * @return UserAccountManagementGranularInformation + **/ + public UserAccountManagementGranularInformation canManageEnvelopeTransferMetadata(SettingsMetadata canManageEnvelopeTransferMetadata) { + this.canManageEnvelopeTransferMetadata = canManageEnvelopeTransferMetadata; + return this; + } + + /** + * Get canManageEnvelopeTransferMetadata. + * @return canManageEnvelopeTransferMetadata + **/ + @ApiModelProperty(value = "") + public SettingsMetadata getCanManageEnvelopeTransferMetadata() { + return canManageEnvelopeTransferMetadata; + } + + /** + * setCanManageEnvelopeTransferMetadata. + **/ + public void setCanManageEnvelopeTransferMetadata(SettingsMetadata canManageEnvelopeTransferMetadata) { + this.canManageEnvelopeTransferMetadata = canManageEnvelopeTransferMetadata; + } + + + /** + * canManageGroups. + * + * @return UserAccountManagementGranularInformation + **/ public UserAccountManagementGranularInformation canManageGroups(String canManageGroups) { this.canManageGroups = canManageGroups; return this; } - /** - * + /** + * . * @return canManageGroups - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getCanManageGroups() { return canManageGroups; } + /** + * setCanManageGroups. + **/ public void setCanManageGroups(String canManageGroups) { this.canManageGroups = canManageGroups; } + + /** + * canManageGroupsMetadata. + * + * @return UserAccountManagementGranularInformation + **/ public UserAccountManagementGranularInformation canManageGroupsMetadata(SettingsMetadata canManageGroupsMetadata) { this.canManageGroupsMetadata = canManageGroupsMetadata; return this; } - /** - * Get canManageGroupsMetadata + /** + * Get canManageGroupsMetadata. * @return canManageGroupsMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getCanManageGroupsMetadata() { return canManageGroupsMetadata; } + /** + * setCanManageGroupsMetadata. + **/ public void setCanManageGroupsMetadata(SettingsMetadata canManageGroupsMetadata) { this.canManageGroupsMetadata = canManageGroupsMetadata; } + + /** + * canManageReporting. + * + * @return UserAccountManagementGranularInformation + **/ public UserAccountManagementGranularInformation canManageReporting(String canManageReporting) { this.canManageReporting = canManageReporting; return this; } - /** - * + /** + * . * @return canManageReporting - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getCanManageReporting() { return canManageReporting; } + /** + * setCanManageReporting. + **/ public void setCanManageReporting(String canManageReporting) { this.canManageReporting = canManageReporting; } + + /** + * canManageReportingMetadata. + * + * @return UserAccountManagementGranularInformation + **/ public UserAccountManagementGranularInformation canManageReportingMetadata(SettingsMetadata canManageReportingMetadata) { this.canManageReportingMetadata = canManageReportingMetadata; return this; } - /** - * Get canManageReportingMetadata + /** + * Get canManageReportingMetadata. * @return canManageReportingMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getCanManageReportingMetadata() { return canManageReportingMetadata; } + /** + * setCanManageReportingMetadata. + **/ public void setCanManageReportingMetadata(SettingsMetadata canManageReportingMetadata) { this.canManageReportingMetadata = canManageReportingMetadata; } + + /** + * canManageSharing. + * + * @return UserAccountManagementGranularInformation + **/ public UserAccountManagementGranularInformation canManageSharing(String canManageSharing) { this.canManageSharing = canManageSharing; return this; } - /** - * + /** + * . * @return canManageSharing - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getCanManageSharing() { return canManageSharing; } + /** + * setCanManageSharing. + **/ public void setCanManageSharing(String canManageSharing) { this.canManageSharing = canManageSharing; } + + /** + * canManageSharingMetadata. + * + * @return UserAccountManagementGranularInformation + **/ public UserAccountManagementGranularInformation canManageSharingMetadata(SettingsMetadata canManageSharingMetadata) { this.canManageSharingMetadata = canManageSharingMetadata; return this; } - /** - * Get canManageSharingMetadata + /** + * Get canManageSharingMetadata. * @return canManageSharingMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getCanManageSharingMetadata() { return canManageSharingMetadata; } + /** + * setCanManageSharingMetadata. + **/ public void setCanManageSharingMetadata(SettingsMetadata canManageSharingMetadata) { this.canManageSharingMetadata = canManageSharingMetadata; } + + /** + * canManageSigningGroups. + * + * @return UserAccountManagementGranularInformation + **/ public UserAccountManagementGranularInformation canManageSigningGroups(String canManageSigningGroups) { this.canManageSigningGroups = canManageSigningGroups; return this; } - /** - * + /** + * . * @return canManageSigningGroups - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getCanManageSigningGroups() { return canManageSigningGroups; } + /** + * setCanManageSigningGroups. + **/ public void setCanManageSigningGroups(String canManageSigningGroups) { this.canManageSigningGroups = canManageSigningGroups; } + + /** + * canManageSigningGroupsMetadata. + * + * @return UserAccountManagementGranularInformation + **/ public UserAccountManagementGranularInformation canManageSigningGroupsMetadata(SettingsMetadata canManageSigningGroupsMetadata) { this.canManageSigningGroupsMetadata = canManageSigningGroupsMetadata; return this; } - /** - * Get canManageSigningGroupsMetadata + /** + * Get canManageSigningGroupsMetadata. * @return canManageSigningGroupsMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getCanManageSigningGroupsMetadata() { return canManageSigningGroupsMetadata; } + /** + * setCanManageSigningGroupsMetadata. + **/ public void setCanManageSigningGroupsMetadata(SettingsMetadata canManageSigningGroupsMetadata) { this.canManageSigningGroupsMetadata = canManageSigningGroupsMetadata; } + + /** + * canManageUsers. + * + * @return UserAccountManagementGranularInformation + **/ public UserAccountManagementGranularInformation canManageUsers(String canManageUsers) { this.canManageUsers = canManageUsers; return this; } - /** - * + /** + * . * @return canManageUsers - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getCanManageUsers() { return canManageUsers; } + /** + * setCanManageUsers. + **/ public void setCanManageUsers(String canManageUsers) { this.canManageUsers = canManageUsers; } + + /** + * canManageUsersMetadata. + * + * @return UserAccountManagementGranularInformation + **/ public UserAccountManagementGranularInformation canManageUsersMetadata(SettingsMetadata canManageUsersMetadata) { this.canManageUsersMetadata = canManageUsersMetadata; return this; } - /** - * Get canManageUsersMetadata + /** + * Get canManageUsersMetadata. * @return canManageUsersMetadata - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SettingsMetadata getCanManageUsersMetadata() { return canManageUsersMetadata; } + /** + * setCanManageUsersMetadata. + **/ public void setCanManageUsersMetadata(SettingsMetadata canManageUsersMetadata) { this.canManageUsersMetadata = canManageUsersMetadata; } + /** + * canViewUsers. + * + * @return UserAccountManagementGranularInformation + **/ + public UserAccountManagementGranularInformation canViewUsers(String canViewUsers) { + this.canViewUsers = canViewUsers; + return this; + } + + /** + * . + * @return canViewUsers + **/ + @ApiModelProperty(value = "") + public String getCanViewUsers() { + return canViewUsers; + } + + /** + * setCanViewUsers. + **/ + public void setCanViewUsers(String canViewUsers) { + this.canViewUsers = canViewUsers; + } + + + /** + * canViewUsersMetadata. + * + * @return UserAccountManagementGranularInformation + **/ + public UserAccountManagementGranularInformation canViewUsersMetadata(SettingsMetadata canViewUsersMetadata) { + this.canViewUsersMetadata = canViewUsersMetadata; + return this; + } + + /** + * Get canViewUsersMetadata. + * @return canViewUsersMetadata + **/ + @ApiModelProperty(value = "") + public SettingsMetadata getCanViewUsersMetadata() { + return canViewUsersMetadata; + } + + /** + * setCanViewUsersMetadata. + **/ + public void setCanViewUsersMetadata(SettingsMetadata canViewUsersMetadata) { + this.canViewUsersMetadata = canViewUsersMetadata; + } + + + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -364,6 +696,10 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.canManageAccountSettingsMetadata, userAccountManagementGranularInformation.canManageAccountSettingsMetadata) && Objects.equals(this.canManageAdmins, userAccountManagementGranularInformation.canManageAdmins) && Objects.equals(this.canManageAdminsMetadata, userAccountManagementGranularInformation.canManageAdminsMetadata) && + Objects.equals(this.canManageDocumentRetention, userAccountManagementGranularInformation.canManageDocumentRetention) && + Objects.equals(this.canManageDocumentRetentionMetadata, userAccountManagementGranularInformation.canManageDocumentRetentionMetadata) && + Objects.equals(this.canManageEnvelopeTransfer, userAccountManagementGranularInformation.canManageEnvelopeTransfer) && + Objects.equals(this.canManageEnvelopeTransferMetadata, userAccountManagementGranularInformation.canManageEnvelopeTransferMetadata) && Objects.equals(this.canManageGroups, userAccountManagementGranularInformation.canManageGroups) && Objects.equals(this.canManageGroupsMetadata, userAccountManagementGranularInformation.canManageGroupsMetadata) && Objects.equals(this.canManageReporting, userAccountManagementGranularInformation.canManageReporting) && @@ -373,15 +709,23 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.canManageSigningGroups, userAccountManagementGranularInformation.canManageSigningGroups) && Objects.equals(this.canManageSigningGroupsMetadata, userAccountManagementGranularInformation.canManageSigningGroupsMetadata) && Objects.equals(this.canManageUsers, userAccountManagementGranularInformation.canManageUsers) && - Objects.equals(this.canManageUsersMetadata, userAccountManagementGranularInformation.canManageUsersMetadata); + Objects.equals(this.canManageUsersMetadata, userAccountManagementGranularInformation.canManageUsersMetadata) && + Objects.equals(this.canViewUsers, userAccountManagementGranularInformation.canViewUsers) && + Objects.equals(this.canViewUsersMetadata, userAccountManagementGranularInformation.canViewUsersMetadata); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { - return Objects.hash(canManageAccountSecuritySettings, canManageAccountSecuritySettingsMetadata, canManageAccountSettings, canManageAccountSettingsMetadata, canManageAdmins, canManageAdminsMetadata, canManageGroups, canManageGroupsMetadata, canManageReporting, canManageReportingMetadata, canManageSharing, canManageSharingMetadata, canManageSigningGroups, canManageSigningGroupsMetadata, canManageUsers, canManageUsersMetadata); + return Objects.hash(canManageAccountSecuritySettings, canManageAccountSecuritySettingsMetadata, canManageAccountSettings, canManageAccountSettingsMetadata, canManageAdmins, canManageAdminsMetadata, canManageDocumentRetention, canManageDocumentRetentionMetadata, canManageEnvelopeTransfer, canManageEnvelopeTransferMetadata, canManageGroups, canManageGroupsMetadata, canManageReporting, canManageReportingMetadata, canManageSharing, canManageSharingMetadata, canManageSigningGroups, canManageSigningGroupsMetadata, canManageUsers, canManageUsersMetadata, canViewUsers, canViewUsersMetadata); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -393,6 +737,10 @@ public String toString() { sb.append(" canManageAccountSettingsMetadata: ").append(toIndentedString(canManageAccountSettingsMetadata)).append("\n"); sb.append(" canManageAdmins: ").append(toIndentedString(canManageAdmins)).append("\n"); sb.append(" canManageAdminsMetadata: ").append(toIndentedString(canManageAdminsMetadata)).append("\n"); + sb.append(" canManageDocumentRetention: ").append(toIndentedString(canManageDocumentRetention)).append("\n"); + sb.append(" canManageDocumentRetentionMetadata: ").append(toIndentedString(canManageDocumentRetentionMetadata)).append("\n"); + sb.append(" canManageEnvelopeTransfer: ").append(toIndentedString(canManageEnvelopeTransfer)).append("\n"); + sb.append(" canManageEnvelopeTransferMetadata: ").append(toIndentedString(canManageEnvelopeTransferMetadata)).append("\n"); sb.append(" canManageGroups: ").append(toIndentedString(canManageGroups)).append("\n"); sb.append(" canManageGroupsMetadata: ").append(toIndentedString(canManageGroupsMetadata)).append("\n"); sb.append(" canManageReporting: ").append(toIndentedString(canManageReporting)).append("\n"); @@ -403,6 +751,8 @@ public String toString() { sb.append(" canManageSigningGroupsMetadata: ").append(toIndentedString(canManageSigningGroupsMetadata)).append("\n"); sb.append(" canManageUsers: ").append(toIndentedString(canManageUsers)).append("\n"); sb.append(" canManageUsersMetadata: ").append(toIndentedString(canManageUsersMetadata)).append("\n"); + sb.append(" canViewUsers: ").append(toIndentedString(canViewUsers)).append("\n"); + sb.append(" canViewUsersMetadata: ").append(toIndentedString(canViewUsersMetadata)).append("\n"); sb.append("}"); return sb.toString(); } @@ -417,6 +767,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/UserInfo.java b/src/main/java/com/docusign/esign/model/UserInfo.java index 4227c736..31b5aa1a 100644 --- a/src/main/java/com/docusign/esign/model/UserInfo.java +++ b/src/main/java/com/docusign/esign/model/UserInfo.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ErrorDetails; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * UserInfo + * UserInfo. + * */ public class UserInfo { @@ -42,187 +45,282 @@ public class UserInfo { @JsonProperty("userType") private String userType = null; + + /** + * activationAccessCode. + * + * @return UserInfo + **/ public UserInfo activationAccessCode(String activationAccessCode) { this.activationAccessCode = activationAccessCode; return this; } - /** - * + /** + * . * @return activationAccessCode - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getActivationAccessCode() { return activationAccessCode; } + /** + * setActivationAccessCode. + **/ public void setActivationAccessCode(String activationAccessCode) { this.activationAccessCode = activationAccessCode; } + + /** + * email. + * + * @return UserInfo + **/ public UserInfo email(String email) { this.email = email; return this; } - /** - * + /** + * . * @return email - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getEmail() { return email; } + /** + * setEmail. + **/ public void setEmail(String email) { this.email = email; } + + /** + * errorDetails. + * + * @return UserInfo + **/ public UserInfo errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * loginStatus. + * + * @return UserInfo + **/ public UserInfo loginStatus(String loginStatus) { this.loginStatus = loginStatus; return this; } - /** - * + /** + * . * @return loginStatus - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getLoginStatus() { return loginStatus; } + /** + * setLoginStatus. + **/ public void setLoginStatus(String loginStatus) { this.loginStatus = loginStatus; } + + /** + * sendActivationEmail. + * + * @return UserInfo + **/ public UserInfo sendActivationEmail(String sendActivationEmail) { this.sendActivationEmail = sendActivationEmail; return this; } - /** - * + /** + * . * @return sendActivationEmail - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSendActivationEmail() { return sendActivationEmail; } + /** + * setSendActivationEmail. + **/ public void setSendActivationEmail(String sendActivationEmail) { this.sendActivationEmail = sendActivationEmail; } + + /** + * uri. + * + * @return UserInfo + **/ public UserInfo uri(String uri) { this.uri = uri; return this; } - /** - * + /** + * . * @return uri - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getUri() { return uri; } + /** + * setUri. + **/ public void setUri(String uri) { this.uri = uri; } + + /** + * userId. + * + * @return UserInfo + **/ public UserInfo userId(String userId) { this.userId = userId; return this; } - /** - * + /** + * . * @return userId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getUserId() { return userId; } + /** + * setUserId. + **/ public void setUserId(String userId) { this.userId = userId; } + + /** + * userName. + * + * @return UserInfo + **/ public UserInfo userName(String userName) { this.userName = userName; return this; } - /** - * + /** + * . * @return userName - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getUserName() { return userName; } + /** + * setUserName. + **/ public void setUserName(String userName) { this.userName = userName; } + + /** + * userStatus. + * + * @return UserInfo + **/ public UserInfo userStatus(String userStatus) { this.userStatus = userStatus; return this; } - /** - * + /** + * . * @return userStatus - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getUserStatus() { return userStatus; } + /** + * setUserStatus. + **/ public void setUserStatus(String userStatus) { this.userStatus = userStatus; } + + /** + * userType. + * + * @return UserInfo + **/ public UserInfo userType(String userType) { this.userType = userType; return this; } - /** - * + /** + * . * @return userType - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getUserType() { return userType; } + /** + * setUserType. + **/ public void setUserType(String userType) { this.userType = userType; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -244,12 +342,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.userType, userInfo.userType); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(activationAccessCode, email, errorDetails, loginStatus, sendActivationEmail, uri, userId, userName, userStatus, userType); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -279,6 +383,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/UserInfoList.java b/src/main/java/com/docusign/esign/model/UserInfoList.java index 654f42f1..52c4e2c7 100644 --- a/src/main/java/com/docusign/esign/model/UserInfoList.java +++ b/src/main/java/com/docusign/esign/model/UserInfoList.java @@ -1,44 +1,69 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.UserInfo; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * UserInfoList + * UserInfoList. + * */ public class UserInfoList { @JsonProperty("users") - private java.util.List<UserInfo> users = new java.util.ArrayList<UserInfo>(); + private java.util.List<UserInfo> users = null; + + /** + * users. + * + * @return UserInfoList + **/ public UserInfoList users(java.util.List<UserInfo> users) { this.users = users; return this; } - + + /** + * addUsersItem. + * + * @return UserInfoList + **/ public UserInfoList addUsersItem(UserInfo usersItem) { + if (this.users == null) { + this.users = new java.util.ArrayList<UserInfo>(); + } this.users.add(usersItem); return this; } - /** - * + /** + * . * @return users - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List<UserInfo> getUsers() { return users; } + /** + * setUsers. + **/ public void setUsers(java.util.List<UserInfo> users) { this.users = users; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -51,12 +76,18 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.users, userInfoList.users); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(users); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -77,6 +108,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/UserInfoResponse.java b/src/main/java/com/docusign/esign/model/UserInfoResponse.java index 0c707e96..27dedf08 100644 --- a/src/main/java/com/docusign/esign/model/UserInfoResponse.java +++ b/src/main/java/com/docusign/esign/model/UserInfoResponse.java @@ -1,11 +1,13 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.Seal; import com.docusign.esign.model.Sender; import com.docusign.esign.model.User; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; @@ -38,7 +40,7 @@ public UserInfoResponse envelopeId(String envelopeId) { * The envelope ID of the envelope status that failed to post. * @return envelopeId **/ - @ApiModelProperty(example = "null", value = "The envelope ID of the envelope status that failed to post.") + @ApiModelProperty(value = "The envelope ID of the envelope status that failed to post.") public String getEnvelopeId() { return envelopeId; } @@ -56,7 +58,7 @@ public UserInfoResponse language(String language) { * * @return language **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public String getLanguage() { return language; } @@ -74,7 +76,7 @@ public UserInfoResponse seal(Seal seal) { * Get seal * @return seal **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public Seal getSeal() { return seal; } @@ -92,7 +94,7 @@ public UserInfoResponse sender(Sender sender) { * Get sender * @return sender **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public Sender getSender() { return sender; } @@ -110,7 +112,7 @@ public UserInfoResponse user(User user) { * Get user * @return user **/ - @ApiModelProperty(example = "null", value = "") + @ApiModelProperty(value = "") public User getUser() { return user; } @@ -166,6 +168,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/UserInformation.java b/src/main/java/com/docusign/esign/model/UserInformation.java index bea7ea97..18036d43 100644 --- a/src/main/java/com/docusign/esign/model/UserInformation.java +++ b/src/main/java/com/docusign/esign/model/UserInformation.java @@ -1,6 +1,7 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.AddressInformationV2; import com.docusign.esign.model.ErrorDetails; import com.docusign.esign.model.ForgottenPasswordInformation; @@ -9,11 +10,13 @@ import com.docusign.esign.model.UserAccountManagementGranularInformation; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * UserInformation + * UserInformation. + * */ public class UserInformation { @@ -30,7 +33,7 @@ public class UserInformation { private String createdDateTime = null; @JsonProperty("customSettings") - private java.util.List<NameValue> customSettings = new java.util.ArrayList<NameValue>(); + private java.util.List<NameValue> customSettings = null; @JsonProperty("email") private String email = null; @@ -48,7 +51,7 @@ public class UserInformation { private ForgottenPasswordInformation forgottenPasswordInfo = null; @JsonProperty("groupList") - private java.util.List<Group> groupList = new java.util.ArrayList<Group>(); + private java.util.List<Group> groupList = null; @JsonProperty("homeAddress") private AddressInformationV2 homeAddress = null; @@ -120,7 +123,7 @@ public class UserInformation { private String userProfileLastModifiedDate = null; @JsonProperty("userSettings") - private java.util.List<NameValue> userSettings = new java.util.ArrayList<NameValue>(); + private java.util.List<NameValue> userSettings = null; @JsonProperty("userStatus") private String userStatus = null; @@ -131,706 +134,1077 @@ public class UserInformation { @JsonProperty("workAddress") private AddressInformationV2 workAddress = null; + + /** + * accountManagementGranular. + * + * @return UserInformation + **/ public UserInformation accountManagementGranular(UserAccountManagementGranularInformation accountManagementGranular) { this.accountManagementGranular = accountManagementGranular; return this; } - /** - * Get accountManagementGranular + /** + * Get accountManagementGranular. * @return accountManagementGranular - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public UserAccountManagementGranularInformation getAccountManagementGranular() { return accountManagementGranular; } + /** + * setAccountManagementGranular. + **/ public void setAccountManagementGranular(UserAccountManagementGranularInformation accountManagementGranular) { this.accountManagementGranular = accountManagementGranular; } + + /** + * activationAccessCode. + * + * @return UserInformation + **/ public UserInformation activationAccessCode(String activationAccessCode) { this.activationAccessCode = activationAccessCode; return this; } - /** - * The activation code the new user must enter when activating their account. + /** + * The activation code the new user must enter when activating their account.. * @return activationAccessCode - **/ - @ApiModelProperty(example = "null", value = "The activation code the new user must enter when activating their account.") + **/ + @ApiModelProperty(value = "The activation code the new user must enter when activating their account.") public String getActivationAccessCode() { return activationAccessCode; } + /** + * setActivationAccessCode. + **/ public void setActivationAccessCode(String activationAccessCode) { this.activationAccessCode = activationAccessCode; } + + /** + * countryCode. + * + * @return UserInformation + **/ public UserInformation countryCode(String countryCode) { this.countryCode = countryCode; return this; } - /** - * + /** + * . * @return countryCode - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getCountryCode() { return countryCode; } + /** + * setCountryCode. + **/ public void setCountryCode(String countryCode) { this.countryCode = countryCode; } + + /** + * createdDateTime. + * + * @return UserInformation + **/ public UserInformation createdDateTime(String createdDateTime) { this.createdDateTime = createdDateTime; return this; } - /** - * Indicates the date and time the item was created. + /** + * Indicates the date and time the item was created.. * @return createdDateTime - **/ - @ApiModelProperty(example = "null", value = "Indicates the date and time the item was created.") + **/ + @ApiModelProperty(value = "Indicates the date and time the item was created.") public String getCreatedDateTime() { return createdDateTime; } + /** + * setCreatedDateTime. + **/ public void setCreatedDateTime(String createdDateTime) { this.createdDateTime = createdDateTime; } + + /** + * customSettings. + * + * @return UserInformation + **/ public UserInformation customSettings(java.util.List<NameValue> customSettings) { this.customSettings = customSettings; return this; } - + + /** + * addCustomSettingsItem. + * + * @return UserInformation + **/ public UserInformation addCustomSettingsItem(NameValue customSettingsItem) { + if (this.customSettings == null) { + this.customSettings = new java.util.ArrayList<NameValue>(); + } this.customSettings.add(customSettingsItem); return this; } - /** - * The name/value pair information for the user custom setting. + /** + * The name/value pair information for the user custom setting.. * @return customSettings - **/ - @ApiModelProperty(example = "null", value = "The name/value pair information for the user custom setting.") + **/ + @ApiModelProperty(value = "The name/value pair information for the user custom setting.") public java.util.List<NameValue> getCustomSettings() { return customSettings; } + /** + * setCustomSettings. + **/ public void setCustomSettings(java.util.List<NameValue> customSettings) { this.customSettings = customSettings; } + + /** + * email. + * + * @return UserInformation + **/ public UserInformation email(String email) { this.email = email; return this; } - /** - * + /** + * . * @return email - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getEmail() { return email; } + /** + * setEmail. + **/ public void setEmail(String email) { this.email = email; } + + /** + * enableConnectForUser. + * + * @return UserInformation + **/ public UserInformation enableConnectForUser(String enableConnectForUser) { this.enableConnectForUser = enableConnectForUser; return this; } - /** - * Specifies whether the user is enabled for updates from DocuSign Connect. Valid values: true or false. + /** + * Specifies whether the user is enabled for updates from DocuSign Connect. Valid values: true or false.. * @return enableConnectForUser - **/ - @ApiModelProperty(example = "null", value = "Specifies whether the user is enabled for updates from DocuSign Connect. Valid values: true or false.") + **/ + @ApiModelProperty(value = "Specifies whether the user is enabled for updates from DocuSign Connect. Valid values: true or false.") public String getEnableConnectForUser() { return enableConnectForUser; } + /** + * setEnableConnectForUser. + **/ public void setEnableConnectForUser(String enableConnectForUser) { this.enableConnectForUser = enableConnectForUser; } + + /** + * errorDetails. + * + * @return UserInformation + **/ public UserInformation errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * firstName. + * + * @return UserInformation + **/ public UserInformation firstName(String firstName) { this.firstName = firstName; return this; } - /** - * The user's first name. Maximum Length: 50 characters. + /** + * The user's first name. Maximum Length: 50 characters.. * @return firstName - **/ - @ApiModelProperty(example = "null", value = "The user's first name. Maximum Length: 50 characters.") + **/ + @ApiModelProperty(value = "The user's first name. Maximum Length: 50 characters.") public String getFirstName() { return firstName; } + /** + * setFirstName. + **/ public void setFirstName(String firstName) { this.firstName = firstName; } + + /** + * forgottenPasswordInfo. + * + * @return UserInformation + **/ public UserInformation forgottenPasswordInfo(ForgottenPasswordInformation forgottenPasswordInfo) { this.forgottenPasswordInfo = forgottenPasswordInfo; return this; } - /** - * Get forgottenPasswordInfo + /** + * Get forgottenPasswordInfo. * @return forgottenPasswordInfo - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ForgottenPasswordInformation getForgottenPasswordInfo() { return forgottenPasswordInfo; } + /** + * setForgottenPasswordInfo. + **/ public void setForgottenPasswordInfo(ForgottenPasswordInformation forgottenPasswordInfo) { this.forgottenPasswordInfo = forgottenPasswordInfo; } + + /** + * groupList. + * + * @return UserInformation + **/ public UserInformation groupList(java.util.List<Group> groupList) { this.groupList = groupList; return this; } - + + /** + * addGroupListItem. + * + * @return UserInformation + **/ public UserInformation addGroupListItem(Group groupListItem) { + if (this.groupList == null) { + this.groupList = new java.util.ArrayList<Group>(); + } this.groupList.add(groupListItem); return this; } - /** - * A list of the group information for groups to add the user to. Group information can be found by calling [ML:GET group information]. The only required parameter is groupId. The parameters are: * groupId - The DocuSign group ID for the group. * groupName - The name of the group * permissionProfileId - The ID of the permission profile associated with the group. * groupType - The group type. + /** + * A list of the group information for groups to add the user to. Group information can be found by calling [ML:GET group information]. The only required parameter is groupId. The parameters are: * groupId - The DocuSign group ID for the group. * groupName - The name of the group * permissionProfileId - The ID of the permission profile associated with the group. * groupType - The group type. . * @return groupList - **/ - @ApiModelProperty(example = "null", value = "A list of the group information for groups to add the user to. Group information can be found by calling [ML:GET group information]. The only required parameter is groupId. The parameters are: * groupId - The DocuSign group ID for the group. * groupName - The name of the group * permissionProfileId - The ID of the permission profile associated with the group. * groupType - The group type. ") + **/ + @ApiModelProperty(value = "A list of the group information for groups to add the user to. Group information can be found by calling [ML:GET group information]. The only required parameter is groupId. The parameters are: * groupId - The DocuSign group ID for the group. * groupName - The name of the group * permissionProfileId - The ID of the permission profile associated with the group. * groupType - The group type. ") public java.util.List<Group> getGroupList() { return groupList; } + /** + * setGroupList. + **/ public void setGroupList(java.util.List<Group> groupList) { this.groupList = groupList; } + + /** + * homeAddress. + * + * @return UserInformation + **/ public UserInformation homeAddress(AddressInformationV2 homeAddress) { this.homeAddress = homeAddress; return this; } - /** - * Get homeAddress + /** + * Get homeAddress. * @return homeAddress - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public AddressInformationV2 getHomeAddress() { return homeAddress; } + /** + * setHomeAddress. + **/ public void setHomeAddress(AddressInformationV2 homeAddress) { this.homeAddress = homeAddress; } + + /** + * initialsImageUri. + * + * @return UserInformation + **/ public UserInformation initialsImageUri(String initialsImageUri) { this.initialsImageUri = initialsImageUri; return this; } - /** - * Contains the URI for an endpoint that you can use to retrieve the initials image. + /** + * Contains the URI for an endpoint that you can use to retrieve the initials image.. * @return initialsImageUri - **/ - @ApiModelProperty(example = "null", value = "Contains the URI for an endpoint that you can use to retrieve the initials image.") + **/ + @ApiModelProperty(value = "Contains the URI for an endpoint that you can use to retrieve the initials image.") public String getInitialsImageUri() { return initialsImageUri; } + /** + * setInitialsImageUri. + **/ public void setInitialsImageUri(String initialsImageUri) { this.initialsImageUri = initialsImageUri; } + + /** + * isAdmin. + * + * @return UserInformation + **/ public UserInformation isAdmin(String isAdmin) { this.isAdmin = isAdmin; return this; } - /** - * Determines if the feature set is actively set as part of the plan. + /** + * Determines if the feature set is actively set as part of the plan.. * @return isAdmin - **/ - @ApiModelProperty(example = "null", value = "Determines if the feature set is actively set as part of the plan.") + **/ + @ApiModelProperty(value = "Determines if the feature set is actively set as part of the plan.") public String getIsAdmin() { return isAdmin; } + /** + * setIsAdmin. + **/ public void setIsAdmin(String isAdmin) { this.isAdmin = isAdmin; } + + /** + * jobTitle. + * + * @return UserInformation + **/ public UserInformation jobTitle(String jobTitle) { this.jobTitle = jobTitle; return this; } - /** - * + /** + * . * @return jobTitle - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getJobTitle() { return jobTitle; } + /** + * setJobTitle. + **/ public void setJobTitle(String jobTitle) { this.jobTitle = jobTitle; } + + /** + * lastLogin. + * + * @return UserInformation + **/ public UserInformation lastLogin(String lastLogin) { this.lastLogin = lastLogin; return this; } - /** - * Shows the date-time when the user last logged on to the system. + /** + * Shows the date-time when the user last logged on to the system.. * @return lastLogin - **/ - @ApiModelProperty(example = "null", value = "Shows the date-time when the user last logged on to the system.") + **/ + @ApiModelProperty(value = "Shows the date-time when the user last logged on to the system.") public String getLastLogin() { return lastLogin; } + /** + * setLastLogin. + **/ public void setLastLogin(String lastLogin) { this.lastLogin = lastLogin; } + + /** + * lastName. + * + * @return UserInformation + **/ public UserInformation lastName(String lastName) { this.lastName = lastName; return this; } - /** - * The user's last name. Maximum Length: 50 characters. + /** + * The user's last name. Maximum Length: 50 characters.. * @return lastName - **/ - @ApiModelProperty(example = "null", value = "The user's last name. Maximum Length: 50 characters.") + **/ + @ApiModelProperty(value = "The user's last name. Maximum Length: 50 characters.") public String getLastName() { return lastName; } + /** + * setLastName. + **/ public void setLastName(String lastName) { this.lastName = lastName; } + + /** + * loginStatus. + * + * @return UserInformation + **/ public UserInformation loginStatus(String loginStatus) { this.loginStatus = loginStatus; return this; } - /** - * Shows the current status of the user's password. Possible values are: * password_reset * password_active * password_expired * password_locked * password_reset_failed + /** + * Shows the current status of the user's password. Possible values are: * password_reset * password_active * password_expired * password_locked * password_reset_failed . * @return loginStatus - **/ - @ApiModelProperty(example = "null", value = "Shows the current status of the user's password. Possible values are: * password_reset * password_active * password_expired * password_locked * password_reset_failed ") + **/ + @ApiModelProperty(value = "Shows the current status of the user's password. Possible values are: * password_reset * password_active * password_expired * password_locked * password_reset_failed ") public String getLoginStatus() { return loginStatus; } + /** + * setLoginStatus. + **/ public void setLoginStatus(String loginStatus) { this.loginStatus = loginStatus; } + + /** + * middleName. + * + * @return UserInformation + **/ public UserInformation middleName(String middleName) { this.middleName = middleName; return this; } - /** - * The user's middle name. Maximum Length: 50 characters. + /** + * The user's middle name. Maximum Length: 50 characters.. * @return middleName - **/ - @ApiModelProperty(example = "null", value = "The user's middle name. Maximum Length: 50 characters.") + **/ + @ApiModelProperty(value = "The user's middle name. Maximum Length: 50 characters.") public String getMiddleName() { return middleName; } + /** + * setMiddleName. + **/ public void setMiddleName(String middleName) { this.middleName = middleName; } + + /** + * password. + * + * @return UserInformation + **/ public UserInformation password(String password) { this.password = password; return this; } - /** - * + /** + * . * @return password - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPassword() { return password; } + /** + * setPassword. + **/ public void setPassword(String password) { this.password = password; } + + /** + * passwordExpiration. + * + * @return UserInformation + **/ public UserInformation passwordExpiration(String passwordExpiration) { this.passwordExpiration = passwordExpiration; return this; } - /** - * + /** + * . * @return passwordExpiration - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPasswordExpiration() { return passwordExpiration; } + /** + * setPasswordExpiration. + **/ public void setPasswordExpiration(String passwordExpiration) { this.passwordExpiration = passwordExpiration; } + + /** + * permissionProfileId. + * + * @return UserInformation + **/ public UserInformation permissionProfileId(String permissionProfileId) { this.permissionProfileId = permissionProfileId; return this; } - /** - * + /** + * . * @return permissionProfileId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPermissionProfileId() { return permissionProfileId; } + /** + * setPermissionProfileId. + **/ public void setPermissionProfileId(String permissionProfileId) { this.permissionProfileId = permissionProfileId; } + + /** + * permissionProfileName. + * + * @return UserInformation + **/ public UserInformation permissionProfileName(String permissionProfileName) { this.permissionProfileName = permissionProfileName; return this; } - /** - * + /** + * . * @return permissionProfileName - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPermissionProfileName() { return permissionProfileName; } + /** + * setPermissionProfileName. + **/ public void setPermissionProfileName(String permissionProfileName) { this.permissionProfileName = permissionProfileName; } + + /** + * profileImageUri. + * + * @return UserInformation + **/ public UserInformation profileImageUri(String profileImageUri) { this.profileImageUri = profileImageUri; return this; } - /** - * + /** + * . * @return profileImageUri - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getProfileImageUri() { return profileImageUri; } + /** + * setProfileImageUri. + **/ public void setProfileImageUri(String profileImageUri) { this.profileImageUri = profileImageUri; } + + /** + * sendActivationEmail. + * + * @return UserInformation + **/ public UserInformation sendActivationEmail(String sendActivationEmail) { this.sendActivationEmail = sendActivationEmail; return this; } - /** - * + /** + * . * @return sendActivationEmail - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSendActivationEmail() { return sendActivationEmail; } + /** + * setSendActivationEmail. + **/ public void setSendActivationEmail(String sendActivationEmail) { this.sendActivationEmail = sendActivationEmail; } + + /** + * sendActivationOnInvalidLogin. + * + * @return UserInformation + **/ public UserInformation sendActivationOnInvalidLogin(String sendActivationOnInvalidLogin) { this.sendActivationOnInvalidLogin = sendActivationOnInvalidLogin; return this; } - /** - * When set to **true**, specifies that an additional activation email is sent to the user if they fail a log on before activating their account. + /** + * When set to **true**, specifies that an additional activation email is sent to the user if they fail a log on before activating their account. . * @return sendActivationOnInvalidLogin - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, specifies that an additional activation email is sent to the user if they fail a log on before activating their account. ") + **/ + @ApiModelProperty(value = "When set to **true**, specifies that an additional activation email is sent to the user if they fail a log on before activating their account. ") public String getSendActivationOnInvalidLogin() { return sendActivationOnInvalidLogin; } + /** + * setSendActivationOnInvalidLogin. + **/ public void setSendActivationOnInvalidLogin(String sendActivationOnInvalidLogin) { this.sendActivationOnInvalidLogin = sendActivationOnInvalidLogin; } + + /** + * signatureImageUri. + * + * @return UserInformation + **/ public UserInformation signatureImageUri(String signatureImageUri) { this.signatureImageUri = signatureImageUri; return this; } - /** - * Contains the URI for an endpoint that you can use to retrieve the signature image. + /** + * Contains the URI for an endpoint that you can use to retrieve the signature image.. * @return signatureImageUri - **/ - @ApiModelProperty(example = "null", value = "Contains the URI for an endpoint that you can use to retrieve the signature image.") + **/ + @ApiModelProperty(value = "Contains the URI for an endpoint that you can use to retrieve the signature image.") public String getSignatureImageUri() { return signatureImageUri; } + /** + * setSignatureImageUri. + **/ public void setSignatureImageUri(String signatureImageUri) { this.signatureImageUri = signatureImageUri; } + + /** + * subscribe. + * + * @return UserInformation + **/ public UserInformation subscribe(String subscribe) { this.subscribe = subscribe; return this; } - /** - * + /** + * . * @return subscribe - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSubscribe() { return subscribe; } + /** + * setSubscribe. + **/ public void setSubscribe(String subscribe) { this.subscribe = subscribe; } + + /** + * suffixName. + * + * @return UserInformation + **/ public UserInformation suffixName(String suffixName) { this.suffixName = suffixName; return this; } - /** - * The suffix for the user's name. Maximum Length: 50 characters. + /** + * The suffix for the user's name. Maximum Length: 50 characters. . * @return suffixName - **/ - @ApiModelProperty(example = "null", value = "The suffix for the user's name. Maximum Length: 50 characters. ") + **/ + @ApiModelProperty(value = "The suffix for the user's name. Maximum Length: 50 characters. ") public String getSuffixName() { return suffixName; } + /** + * setSuffixName. + **/ public void setSuffixName(String suffixName) { this.suffixName = suffixName; } + + /** + * title. + * + * @return UserInformation + **/ public UserInformation title(String title) { this.title = title; return this; } - /** - * The title of the user. + /** + * The title of the user.. * @return title - **/ - @ApiModelProperty(example = "null", value = "The title of the user.") + **/ + @ApiModelProperty(value = "The title of the user.") public String getTitle() { return title; } + /** + * setTitle. + **/ public void setTitle(String title) { this.title = title; } + + /** + * uri. + * + * @return UserInformation + **/ public UserInformation uri(String uri) { this.uri = uri; return this; } - /** - * + /** + * . * @return uri - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getUri() { return uri; } + /** + * setUri. + **/ public void setUri(String uri) { this.uri = uri; } + + /** + * userId. + * + * @return UserInformation + **/ public UserInformation userId(String userId) { this.userId = userId; return this; } - /** - * + /** + * . * @return userId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getUserId() { return userId; } + /** + * setUserId. + **/ public void setUserId(String userId) { this.userId = userId; } + + /** + * userName. + * + * @return UserInformation + **/ public UserInformation userName(String userName) { this.userName = userName; return this; } - /** - * + /** + * . * @return userName - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getUserName() { return userName; } + /** + * setUserName. + **/ public void setUserName(String userName) { this.userName = userName; } + + /** + * userProfileLastModifiedDate. + * + * @return UserInformation + **/ public UserInformation userProfileLastModifiedDate(String userProfileLastModifiedDate) { this.userProfileLastModifiedDate = userProfileLastModifiedDate; return this; } - /** - * + /** + * . * @return userProfileLastModifiedDate - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getUserProfileLastModifiedDate() { return userProfileLastModifiedDate; } + /** + * setUserProfileLastModifiedDate. + **/ public void setUserProfileLastModifiedDate(String userProfileLastModifiedDate) { this.userProfileLastModifiedDate = userProfileLastModifiedDate; } + + /** + * userSettings. + * + * @return UserInformation + **/ public UserInformation userSettings(java.util.List<NameValue> userSettings) { this.userSettings = userSettings; return this; } - + + /** + * addUserSettingsItem. + * + * @return UserInformation + **/ public UserInformation addUserSettingsItem(NameValue userSettingsItem) { + if (this.userSettings == null) { + this.userSettings = new java.util.ArrayList<NameValue>(); + } this.userSettings.add(userSettingsItem); return this; } - /** - * The name/value pair information for user settings. These determine the actions that a user can take in the account. The `[ML:userSettings]` are listed and described below. + /** + * The name/value pair information for user settings. These determine the actions that a user can take in the account. The `[ML:userSettings]` are listed and described below.. * @return userSettings - **/ - @ApiModelProperty(example = "null", value = " The name/value pair information for user settings. These determine the actions that a user can take in the account. The `[ML:userSettings]` are listed and described below.") + **/ + @ApiModelProperty(value = " The name/value pair information for user settings. These determine the actions that a user can take in the account. The `[ML:userSettings]` are listed and described below.") public java.util.List<NameValue> getUserSettings() { return userSettings; } + /** + * setUserSettings. + **/ public void setUserSettings(java.util.List<NameValue> userSettings) { this.userSettings = userSettings; } + + /** + * userStatus. + * + * @return UserInformation + **/ public UserInformation userStatus(String userStatus) { this.userStatus = userStatus; return this; } - /** - * + /** + * . * @return userStatus - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getUserStatus() { return userStatus; } + /** + * setUserStatus. + **/ public void setUserStatus(String userStatus) { this.userStatus = userStatus; } + + /** + * userType. + * + * @return UserInformation + **/ public UserInformation userType(String userType) { this.userType = userType; return this; } - /** - * + /** + * . * @return userType - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getUserType() { return userType; } + /** + * setUserType. + **/ public void setUserType(String userType) { this.userType = userType; } + + /** + * workAddress. + * + * @return UserInformation + **/ public UserInformation workAddress(AddressInformationV2 workAddress) { this.workAddress = workAddress; return this; } - /** - * Get workAddress + /** + * Get workAddress. * @return workAddress - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public AddressInformationV2 getWorkAddress() { return workAddress; } + /** + * setWorkAddress. + **/ public void setWorkAddress(AddressInformationV2 workAddress) { this.workAddress = workAddress; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -880,12 +1254,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.workAddress, userInformation.workAddress); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(accountManagementGranular, activationAccessCode, countryCode, createdDateTime, customSettings, email, enableConnectForUser, errorDetails, firstName, forgottenPasswordInfo, groupList, homeAddress, initialsImageUri, isAdmin, jobTitle, lastLogin, lastName, loginStatus, middleName, password, passwordExpiration, permissionProfileId, permissionProfileName, profileImageUri, sendActivationEmail, sendActivationOnInvalidLogin, signatureImageUri, subscribe, suffixName, title, uri, userId, userName, userProfileLastModifiedDate, userSettings, userStatus, userType, workAddress); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -943,6 +1323,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/UserInformationList.java b/src/main/java/com/docusign/esign/model/UserInformationList.java index 26895fac..0abe5abb 100644 --- a/src/main/java/com/docusign/esign/model/UserInformationList.java +++ b/src/main/java/com/docusign/esign/model/UserInformationList.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.UserInformation; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * UserInformationList + * UserInformationList. + * */ public class UserInformationList { @@ -31,140 +34,216 @@ public class UserInformationList { private String totalSetSize = null; @JsonProperty("users") - private java.util.List<UserInformation> users = new java.util.ArrayList<UserInformation>(); + private java.util.List<UserInformation> users = null; + + /** + * endPosition. + * + * @return UserInformationList + **/ public UserInformationList endPosition(String endPosition) { this.endPosition = endPosition; return this; } - /** - * The last position in the result set. + /** + * The last position in the result set. . * @return endPosition - **/ - @ApiModelProperty(example = "null", value = "The last position in the result set. ") + **/ + @ApiModelProperty(value = "The last position in the result set. ") public String getEndPosition() { return endPosition; } + /** + * setEndPosition. + **/ public void setEndPosition(String endPosition) { this.endPosition = endPosition; } + + /** + * nextUri. + * + * @return UserInformationList + **/ public UserInformationList nextUri(String nextUri) { this.nextUri = nextUri; return this; } - /** - * The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. + /** + * The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. . * @return nextUri - **/ - @ApiModelProperty(example = "null", value = "The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. ") + **/ + @ApiModelProperty(value = "The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. ") public String getNextUri() { return nextUri; } + /** + * setNextUri. + **/ public void setNextUri(String nextUri) { this.nextUri = nextUri; } + + /** + * previousUri. + * + * @return UserInformationList + **/ public UserInformationList previousUri(String previousUri) { this.previousUri = previousUri; return this; } - /** - * The postal code for the billing address. + /** + * The postal code for the billing address.. * @return previousUri - **/ - @ApiModelProperty(example = "null", value = "The postal code for the billing address.") + **/ + @ApiModelProperty(value = "The postal code for the billing address.") public String getPreviousUri() { return previousUri; } + /** + * setPreviousUri. + **/ public void setPreviousUri(String previousUri) { this.previousUri = previousUri; } + + /** + * resultSetSize. + * + * @return UserInformationList + **/ public UserInformationList resultSetSize(String resultSetSize) { this.resultSetSize = resultSetSize; return this; } - /** - * The number of results returned in this response. + /** + * The number of results returned in this response. . * @return resultSetSize - **/ - @ApiModelProperty(example = "null", value = "The number of results returned in this response. ") + **/ + @ApiModelProperty(value = "The number of results returned in this response. ") public String getResultSetSize() { return resultSetSize; } + /** + * setResultSetSize. + **/ public void setResultSetSize(String resultSetSize) { this.resultSetSize = resultSetSize; } + + /** + * startPosition. + * + * @return UserInformationList + **/ public UserInformationList startPosition(String startPosition) { this.startPosition = startPosition; return this; } - /** - * Starting position of the current result set. + /** + * Starting position of the current result set.. * @return startPosition - **/ - @ApiModelProperty(example = "null", value = "Starting position of the current result set.") + **/ + @ApiModelProperty(value = "Starting position of the current result set.") public String getStartPosition() { return startPosition; } + /** + * setStartPosition. + **/ public void setStartPosition(String startPosition) { this.startPosition = startPosition; } + + /** + * totalSetSize. + * + * @return UserInformationList + **/ public UserInformationList totalSetSize(String totalSetSize) { this.totalSetSize = totalSetSize; return this; } - /** - * The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response. + /** + * The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.. * @return totalSetSize - **/ - @ApiModelProperty(example = "null", value = "The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.") + **/ + @ApiModelProperty(value = "The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.") public String getTotalSetSize() { return totalSetSize; } + /** + * setTotalSetSize. + **/ public void setTotalSetSize(String totalSetSize) { this.totalSetSize = totalSetSize; } + + /** + * users. + * + * @return UserInformationList + **/ public UserInformationList users(java.util.List<UserInformation> users) { this.users = users; return this; } - + + /** + * addUsersItem. + * + * @return UserInformationList + **/ public UserInformationList addUsersItem(UserInformation usersItem) { + if (this.users == null) { + this.users = new java.util.ArrayList<UserInformation>(); + } this.users.add(usersItem); return this; } - /** - * + /** + * . * @return users - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List<UserInformation> getUsers() { return users; } + /** + * setUsers. + **/ public void setUsers(java.util.List<UserInformation> users) { this.users = users; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -183,12 +262,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.users, userInformationList.users); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(endPosition, nextUri, previousUri, resultSetSize, startPosition, totalSetSize, users); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -215,6 +300,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/UserPasswordInformation.java b/src/main/java/com/docusign/esign/model/UserPasswordInformation.java index aa9b4b82..fbba7a33 100644 --- a/src/main/java/com/docusign/esign/model/UserPasswordInformation.java +++ b/src/main/java/com/docusign/esign/model/UserPasswordInformation.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ForgottenPasswordInformation; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * UserPasswordInformation + * UserPasswordInformation. + * */ public class UserPasswordInformation { @@ -24,79 +27,120 @@ public class UserPasswordInformation { @JsonProperty("newPassword") private String newPassword = null; + + /** + * currentPassword. + * + * @return UserPasswordInformation + **/ public UserPasswordInformation currentPassword(String currentPassword) { this.currentPassword = currentPassword; return this; } - /** - * The user's current password to be changed. + /** + * The user's current password to be changed.. * @return currentPassword - **/ - @ApiModelProperty(example = "null", value = "The user's current password to be changed.") + **/ + @ApiModelProperty(value = "The user's current password to be changed.") public String getCurrentPassword() { return currentPassword; } + /** + * setCurrentPassword. + **/ public void setCurrentPassword(String currentPassword) { this.currentPassword = currentPassword; } + + /** + * email. + * + * @return UserPasswordInformation + **/ public UserPasswordInformation email(String email) { this.email = email; return this; } - /** - * The user's email address for the associated account. + /** + * The user's email address for the associated account.. * @return email - **/ - @ApiModelProperty(example = "null", value = "The user's email address for the associated account.") + **/ + @ApiModelProperty(value = "The user's email address for the associated account.") public String getEmail() { return email; } + /** + * setEmail. + **/ public void setEmail(String email) { this.email = email; } + + /** + * forgottenPasswordInfo. + * + * @return UserPasswordInformation + **/ public UserPasswordInformation forgottenPasswordInfo(ForgottenPasswordInformation forgottenPasswordInfo) { this.forgottenPasswordInfo = forgottenPasswordInfo; return this; } - /** - * Get forgottenPasswordInfo + /** + * Get forgottenPasswordInfo. * @return forgottenPasswordInfo - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ForgottenPasswordInformation getForgottenPasswordInfo() { return forgottenPasswordInfo; } + /** + * setForgottenPasswordInfo. + **/ public void setForgottenPasswordInfo(ForgottenPasswordInformation forgottenPasswordInfo) { this.forgottenPasswordInfo = forgottenPasswordInfo; } + + /** + * newPassword. + * + * @return UserPasswordInformation + **/ public UserPasswordInformation newPassword(String newPassword) { this.newPassword = newPassword; return this; } - /** - * The user's new password. + /** + * The user's new password.. * @return newPassword - **/ - @ApiModelProperty(example = "null", value = "The user's new password.") + **/ + @ApiModelProperty(value = "The user's new password.") public String getNewPassword() { return newPassword; } + /** + * setNewPassword. + **/ public void setNewPassword(String newPassword) { this.newPassword = newPassword; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -112,12 +156,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.newPassword, userPasswordInformation.newPassword); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(currentPassword, email, forgottenPasswordInfo, newPassword); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -141,6 +191,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/UserPasswordRules.java b/src/main/java/com/docusign/esign/model/UserPasswordRules.java index 751342de..08df1dec 100644 --- a/src/main/java/com/docusign/esign/model/UserPasswordRules.java +++ b/src/main/java/com/docusign/esign/model/UserPasswordRules.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.AccountPasswordRules; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * UserPasswordRules + * UserPasswordRules. + * */ public class UserPasswordRules { @@ -18,43 +21,66 @@ public class UserPasswordRules { @JsonProperty("userId") private String userId = null; + + /** + * passwordRules. + * + * @return UserPasswordRules + **/ public UserPasswordRules passwordRules(AccountPasswordRules passwordRules) { this.passwordRules = passwordRules; return this; } - /** - * Get passwordRules + /** + * Get passwordRules. * @return passwordRules - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public AccountPasswordRules getPasswordRules() { return passwordRules; } + /** + * setPasswordRules. + **/ public void setPasswordRules(AccountPasswordRules passwordRules) { this.passwordRules = passwordRules; } + + /** + * userId. + * + * @return UserPasswordRules + **/ public UserPasswordRules userId(String userId) { this.userId = userId; return this; } - /** - * + /** + * . * @return userId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getUserId() { return userId; } + /** + * setUserId. + **/ public void setUserId(String userId) { this.userId = userId; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -68,12 +94,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.userId, userPasswordRules.userId); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(passwordRules, userId); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -95,6 +127,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/UserProfile.java b/src/main/java/com/docusign/esign/model/UserProfile.java index e434da1d..79a122a1 100644 --- a/src/main/java/com/docusign/esign/model/UserProfile.java +++ b/src/main/java/com/docusign/esign/model/UserProfile.java @@ -1,17 +1,20 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.AddressInformationV2; import com.docusign.esign.model.AuthenticationMethod; import com.docusign.esign.model.UsageHistory; import com.docusign.esign.model.UserInformation; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * UserProfile + * UserProfile. + * */ public class UserProfile { @@ -19,7 +22,7 @@ public class UserProfile { private AddressInformationV2 address = null; @JsonProperty("authenticationMethods") - private java.util.List<AuthenticationMethod> authenticationMethods = new java.util.ArrayList<AuthenticationMethod>(); + private java.util.List<AuthenticationMethod> authenticationMethods = null; @JsonProperty("companyName") private String companyName = null; @@ -51,228 +54,349 @@ public class UserProfile { @JsonProperty("userProfileLastModifiedDate") private String userProfileLastModifiedDate = null; + + /** + * address. + * + * @return UserProfile + **/ public UserProfile address(AddressInformationV2 address) { this.address = address; return this; } - /** - * Get address + /** + * Get address. * @return address - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public AddressInformationV2 getAddress() { return address; } + /** + * setAddress. + **/ public void setAddress(AddressInformationV2 address) { this.address = address; } + + /** + * authenticationMethods. + * + * @return UserProfile + **/ public UserProfile authenticationMethods(java.util.List<AuthenticationMethod> authenticationMethods) { this.authenticationMethods = authenticationMethods; return this; } - + + /** + * addAuthenticationMethodsItem. + * + * @return UserProfile + **/ public UserProfile addAuthenticationMethodsItem(AuthenticationMethod authenticationMethodsItem) { + if (this.authenticationMethods == null) { + this.authenticationMethods = new java.util.ArrayList<AuthenticationMethod>(); + } this.authenticationMethods.add(authenticationMethodsItem); return this; } - /** - * These properties cannot be modified in the PUT. Indicates the authentication methods used by the user. + /** + * These properties cannot be modified in the PUT. Indicates the authentication methods used by the user.. * @return authenticationMethods - **/ - @ApiModelProperty(example = "null", value = "These properties cannot be modified in the PUT. Indicates the authentication methods used by the user.") + **/ + @ApiModelProperty(value = "These properties cannot be modified in the PUT. Indicates the authentication methods used by the user.") public java.util.List<AuthenticationMethod> getAuthenticationMethods() { return authenticationMethods; } + /** + * setAuthenticationMethods. + **/ public void setAuthenticationMethods(java.util.List<AuthenticationMethod> authenticationMethods) { this.authenticationMethods = authenticationMethods; } + + /** + * companyName. + * + * @return UserProfile + **/ public UserProfile companyName(String companyName) { this.companyName = companyName; return this; } - /** - * The name of the user's Company. + /** + * The name of the user's Company.. * @return companyName - **/ - @ApiModelProperty(example = "null", value = "The name of the user's Company.") + **/ + @ApiModelProperty(value = "The name of the user's Company.") public String getCompanyName() { return companyName; } + /** + * setCompanyName. + **/ public void setCompanyName(String companyName) { this.companyName = companyName; } + + /** + * displayOrganizationInfo. + * + * @return UserProfile + **/ public UserProfile displayOrganizationInfo(String displayOrganizationInfo) { this.displayOrganizationInfo = displayOrganizationInfo; return this; } - /** - * When set to **true**, the user's company and title information are shown on the ID card. + /** + * When set to **true**, the user's company and title information are shown on the ID card. . * @return displayOrganizationInfo - **/ - @ApiModelProperty(example = "null", value = " When set to **true**, the user's company and title information are shown on the ID card. ") + **/ + @ApiModelProperty(value = " When set to **true**, the user's company and title information are shown on the ID card. ") public String getDisplayOrganizationInfo() { return displayOrganizationInfo; } + /** + * setDisplayOrganizationInfo. + **/ public void setDisplayOrganizationInfo(String displayOrganizationInfo) { this.displayOrganizationInfo = displayOrganizationInfo; } + + /** + * displayPersonalInfo. + * + * @return UserProfile + **/ public UserProfile displayPersonalInfo(String displayPersonalInfo) { this.displayPersonalInfo = displayPersonalInfo; return this; } - /** - * When set to **true**, the user's Address and Phone number are shown on the ID card. + /** + * When set to **true**, the user's Address and Phone number are shown on the ID card.. * @return displayPersonalInfo - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the user's Address and Phone number are shown on the ID card.") + **/ + @ApiModelProperty(value = "When set to **true**, the user's Address and Phone number are shown on the ID card.") public String getDisplayPersonalInfo() { return displayPersonalInfo; } + /** + * setDisplayPersonalInfo. + **/ public void setDisplayPersonalInfo(String displayPersonalInfo) { this.displayPersonalInfo = displayPersonalInfo; } + + /** + * displayProfile. + * + * @return UserProfile + **/ public UserProfile displayProfile(String displayProfile) { this.displayProfile = displayProfile; return this; } - /** - * When set to **true**, the user's ID card can be viewed from signed documents and envelope history. + /** + * When set to **true**, the user's ID card can be viewed from signed documents and envelope history.. * @return displayProfile - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the user's ID card can be viewed from signed documents and envelope history.") + **/ + @ApiModelProperty(value = "When set to **true**, the user's ID card can be viewed from signed documents and envelope history.") public String getDisplayProfile() { return displayProfile; } + /** + * setDisplayProfile. + **/ public void setDisplayProfile(String displayProfile) { this.displayProfile = displayProfile; } + + /** + * displayUsageHistory. + * + * @return UserProfile + **/ public UserProfile displayUsageHistory(String displayUsageHistory) { this.displayUsageHistory = displayUsageHistory; return this; } - /** - * When set to **true**, the user's usage information is shown on the ID card. + /** + * When set to **true**, the user's usage information is shown on the ID card.. * @return displayUsageHistory - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the user's usage information is shown on the ID card.") + **/ + @ApiModelProperty(value = "When set to **true**, the user's usage information is shown on the ID card.") public String getDisplayUsageHistory() { return displayUsageHistory; } + /** + * setDisplayUsageHistory. + **/ public void setDisplayUsageHistory(String displayUsageHistory) { this.displayUsageHistory = displayUsageHistory; } + + /** + * profileImageUri. + * + * @return UserProfile + **/ public UserProfile profileImageUri(String profileImageUri) { this.profileImageUri = profileImageUri; return this; } - /** - * + /** + * . * @return profileImageUri - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getProfileImageUri() { return profileImageUri; } + /** + * setProfileImageUri. + **/ public void setProfileImageUri(String profileImageUri) { this.profileImageUri = profileImageUri; } + + /** + * title. + * + * @return UserProfile + **/ public UserProfile title(String title) { this.title = title; return this; } - /** - * + /** + * . * @return title - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTitle() { return title; } + /** + * setTitle. + **/ public void setTitle(String title) { this.title = title; } + + /** + * usageHistory. + * + * @return UserProfile + **/ public UserProfile usageHistory(UsageHistory usageHistory) { this.usageHistory = usageHistory; return this; } - /** - * Get usageHistory + /** + * Get usageHistory. * @return usageHistory - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public UsageHistory getUsageHistory() { return usageHistory; } + /** + * setUsageHistory. + **/ public void setUsageHistory(UsageHistory usageHistory) { this.usageHistory = usageHistory; } + + /** + * userDetails. + * + * @return UserProfile + **/ public UserProfile userDetails(UserInformation userDetails) { this.userDetails = userDetails; return this; } - /** - * Get userDetails + /** + * Get userDetails. * @return userDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public UserInformation getUserDetails() { return userDetails; } + /** + * setUserDetails. + **/ public void setUserDetails(UserInformation userDetails) { this.userDetails = userDetails; } + + /** + * userProfileLastModifiedDate. + * + * @return UserProfile + **/ public UserProfile userProfileLastModifiedDate(String userProfileLastModifiedDate) { this.userProfileLastModifiedDate = userProfileLastModifiedDate; return this; } - /** - * + /** + * . * @return userProfileLastModifiedDate - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getUserProfileLastModifiedDate() { return userProfileLastModifiedDate; } + /** + * setUserProfileLastModifiedDate. + **/ public void setUserProfileLastModifiedDate(String userProfileLastModifiedDate) { this.userProfileLastModifiedDate = userProfileLastModifiedDate; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -296,12 +420,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.userProfileLastModifiedDate, userProfile.userProfileLastModifiedDate); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(address, authenticationMethods, companyName, displayOrganizationInfo, displayPersonalInfo, displayProfile, displayUsageHistory, profileImageUri, title, usageHistory, userDetails, userProfileLastModifiedDate); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -333,6 +463,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/UserSettingsInformation.java b/src/main/java/com/docusign/esign/model/UserSettingsInformation.java index de6dc3b2..3197fb90 100644 --- a/src/main/java/com/docusign/esign/model/UserSettingsInformation.java +++ b/src/main/java/com/docusign/esign/model/UserSettingsInformation.java @@ -1,17 +1,20 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.NameValue; import com.docusign.esign.model.SenderEmailNotifications; import com.docusign.esign.model.SignerEmailNotifications; import com.docusign.esign.model.UserAccountManagementGranularInformation; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * UserSettingsInformation + * UserSettingsInformation. + * */ public class UserSettingsInformation { @@ -25,86 +28,135 @@ public class UserSettingsInformation { private SignerEmailNotifications signerEmailNotifications = null; @JsonProperty("userSettings") - private java.util.List<NameValue> userSettings = new java.util.ArrayList<NameValue>(); + private java.util.List<NameValue> userSettings = null; + + /** + * accountManagementGranular. + * + * @return UserSettingsInformation + **/ public UserSettingsInformation accountManagementGranular(UserAccountManagementGranularInformation accountManagementGranular) { this.accountManagementGranular = accountManagementGranular; return this; } - /** - * Get accountManagementGranular + /** + * Get accountManagementGranular. * @return accountManagementGranular - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public UserAccountManagementGranularInformation getAccountManagementGranular() { return accountManagementGranular; } + /** + * setAccountManagementGranular. + **/ public void setAccountManagementGranular(UserAccountManagementGranularInformation accountManagementGranular) { this.accountManagementGranular = accountManagementGranular; } + + /** + * senderEmailNotifications. + * + * @return UserSettingsInformation + **/ public UserSettingsInformation senderEmailNotifications(SenderEmailNotifications senderEmailNotifications) { this.senderEmailNotifications = senderEmailNotifications; return this; } - /** - * Get senderEmailNotifications + /** + * Get senderEmailNotifications. * @return senderEmailNotifications - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SenderEmailNotifications getSenderEmailNotifications() { return senderEmailNotifications; } + /** + * setSenderEmailNotifications. + **/ public void setSenderEmailNotifications(SenderEmailNotifications senderEmailNotifications) { this.senderEmailNotifications = senderEmailNotifications; } + + /** + * signerEmailNotifications. + * + * @return UserSettingsInformation + **/ public UserSettingsInformation signerEmailNotifications(SignerEmailNotifications signerEmailNotifications) { this.signerEmailNotifications = signerEmailNotifications; return this; } - /** - * Get signerEmailNotifications + /** + * Get signerEmailNotifications. * @return signerEmailNotifications - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public SignerEmailNotifications getSignerEmailNotifications() { return signerEmailNotifications; } + /** + * setSignerEmailNotifications. + **/ public void setSignerEmailNotifications(SignerEmailNotifications signerEmailNotifications) { this.signerEmailNotifications = signerEmailNotifications; } + + /** + * userSettings. + * + * @return UserSettingsInformation + **/ public UserSettingsInformation userSettings(java.util.List<NameValue> userSettings) { this.userSettings = userSettings; return this; } - + + /** + * addUserSettingsItem. + * + * @return UserSettingsInformation + **/ public UserSettingsInformation addUserSettingsItem(NameValue userSettingsItem) { + if (this.userSettings == null) { + this.userSettings = new java.util.ArrayList<NameValue>(); + } this.userSettings.add(userSettingsItem); return this; } - /** - * + /** + * . * @return userSettings - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List<NameValue> getUserSettings() { return userSettings; } + /** + * setUserSettings. + **/ public void setUserSettings(java.util.List<NameValue> userSettings) { this.userSettings = userSettings; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -120,12 +172,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.userSettings, userSettingsInformation.userSettings); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(accountManagementGranular, senderEmailNotifications, signerEmailNotifications, userSettings); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -149,6 +207,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/UserSharedItem.java b/src/main/java/com/docusign/esign/model/UserSharedItem.java index f51932d9..f1ed101d 100644 --- a/src/main/java/com/docusign/esign/model/UserSharedItem.java +++ b/src/main/java/com/docusign/esign/model/UserSharedItem.java @@ -1,15 +1,18 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ErrorDetails; import com.docusign.esign.model.UserInfo; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * UserSharedItem + * UserSharedItem. + * */ public class UserSharedItem { @@ -22,61 +25,93 @@ public class UserSharedItem { @JsonProperty("user") private UserInfo user = null; + + /** + * errorDetails. + * + * @return UserSharedItem + **/ public UserSharedItem errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * shared. + * + * @return UserSharedItem + **/ public UserSharedItem shared(String shared) { this.shared = shared; return this; } - /** - * When set to **true**, this custom tab is shared. + /** + * When set to **true**, this custom tab is shared.. * @return shared - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, this custom tab is shared.") + **/ + @ApiModelProperty(value = "When set to **true**, this custom tab is shared.") public String getShared() { return shared; } + /** + * setShared. + **/ public void setShared(String shared) { this.shared = shared; } + + /** + * user. + * + * @return UserSharedItem + **/ public UserSharedItem user(UserInfo user) { this.user = user; return this; } - /** - * Get user + /** + * Get user. * @return user - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public UserInfo getUser() { return user; } + /** + * setUser. + **/ public void setUser(UserInfo user) { this.user = user; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -91,12 +126,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.user, userSharedItem.user); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(errorDetails, shared, user); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -119,6 +160,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/UserSignature.java b/src/main/java/com/docusign/esign/model/UserSignature.java index 6f28007f..17b94e00 100644 --- a/src/main/java/com/docusign/esign/model/UserSignature.java +++ b/src/main/java/com/docusign/esign/model/UserSignature.java @@ -1,15 +1,18 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.DateStampProperties; import com.docusign.esign.model.ErrorDetails; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * UserSignature + * UserSignature. + * */ public class UserSignature { @@ -76,385 +79,579 @@ public class UserSignature { @JsonProperty("stampType") private String stampType = null; + + /** + * adoptedDateTime. + * + * @return UserSignature + **/ public UserSignature adoptedDateTime(String adoptedDateTime) { this.adoptedDateTime = adoptedDateTime; return this; } - /** - * The date and time the user adopted their signature. + /** + * The date and time the user adopted their signature.. * @return adoptedDateTime - **/ - @ApiModelProperty(example = "null", value = "The date and time the user adopted their signature.") + **/ + @ApiModelProperty(value = "The date and time the user adopted their signature.") public String getAdoptedDateTime() { return adoptedDateTime; } + /** + * setAdoptedDateTime. + **/ public void setAdoptedDateTime(String adoptedDateTime) { this.adoptedDateTime = adoptedDateTime; } + + /** + * createdDateTime. + * + * @return UserSignature + **/ public UserSignature createdDateTime(String createdDateTime) { this.createdDateTime = createdDateTime; return this; } - /** - * Indicates the date and time the item was created. + /** + * Indicates the date and time the item was created.. * @return createdDateTime - **/ - @ApiModelProperty(example = "null", value = "Indicates the date and time the item was created.") + **/ + @ApiModelProperty(value = "Indicates the date and time the item was created.") public String getCreatedDateTime() { return createdDateTime; } + /** + * setCreatedDateTime. + **/ public void setCreatedDateTime(String createdDateTime) { this.createdDateTime = createdDateTime; } + + /** + * dateStampProperties. + * + * @return UserSignature + **/ public UserSignature dateStampProperties(DateStampProperties dateStampProperties) { this.dateStampProperties = dateStampProperties; return this; } - /** - * Get dateStampProperties + /** + * Get dateStampProperties. * @return dateStampProperties - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public DateStampProperties getDateStampProperties() { return dateStampProperties; } + /** + * setDateStampProperties. + **/ public void setDateStampProperties(DateStampProperties dateStampProperties) { this.dateStampProperties = dateStampProperties; } + + /** + * errorDetails. + * + * @return UserSignature + **/ public UserSignature errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * externalID. + * + * @return UserSignature + **/ public UserSignature externalID(String externalID) { this.externalID = externalID; return this; } - /** - * + /** + * . * @return externalID - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getExternalID() { return externalID; } + /** + * setExternalID. + **/ public void setExternalID(String externalID) { this.externalID = externalID; } + + /** + * imageType. + * + * @return UserSignature + **/ public UserSignature imageType(String imageType) { this.imageType = imageType; return this; } - /** - * + /** + * . * @return imageType - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getImageType() { return imageType; } + /** + * setImageType. + **/ public void setImageType(String imageType) { this.imageType = imageType; } + + /** + * initials150ImageId. + * + * @return UserSignature + **/ public UserSignature initials150ImageId(String initials150ImageId) { this.initials150ImageId = initials150ImageId; return this; } - /** - * + /** + * . * @return initials150ImageId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getInitials150ImageId() { return initials150ImageId; } + /** + * setInitials150ImageId. + **/ public void setInitials150ImageId(String initials150ImageId) { this.initials150ImageId = initials150ImageId; } + + /** + * initialsImageUri. + * + * @return UserSignature + **/ public UserSignature initialsImageUri(String initialsImageUri) { this.initialsImageUri = initialsImageUri; return this; } - /** - * Contains the URI for an endpoint that you can use to retrieve the initials image. + /** + * Contains the URI for an endpoint that you can use to retrieve the initials image.. * @return initialsImageUri - **/ - @ApiModelProperty(example = "null", value = "Contains the URI for an endpoint that you can use to retrieve the initials image.") + **/ + @ApiModelProperty(value = "Contains the URI for an endpoint that you can use to retrieve the initials image.") public String getInitialsImageUri() { return initialsImageUri; } + /** + * setInitialsImageUri. + **/ public void setInitialsImageUri(String initialsImageUri) { this.initialsImageUri = initialsImageUri; } + + /** + * isDefault. + * + * @return UserSignature + **/ public UserSignature isDefault(String isDefault) { this.isDefault = isDefault; return this; } - /** - * + /** + * . * @return isDefault - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getIsDefault() { return isDefault; } + /** + * setIsDefault. + **/ public void setIsDefault(String isDefault) { this.isDefault = isDefault; } + + /** + * phoneticName. + * + * @return UserSignature + **/ public UserSignature phoneticName(String phoneticName) { this.phoneticName = phoneticName; return this; } - /** - * + /** + * . * @return phoneticName - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPhoneticName() { return phoneticName; } + /** + * setPhoneticName. + **/ public void setPhoneticName(String phoneticName) { this.phoneticName = phoneticName; } + + /** + * signature150ImageId. + * + * @return UserSignature + **/ public UserSignature signature150ImageId(String signature150ImageId) { this.signature150ImageId = signature150ImageId; return this; } - /** - * + /** + * . * @return signature150ImageId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSignature150ImageId() { return signature150ImageId; } + /** + * setSignature150ImageId. + **/ public void setSignature150ImageId(String signature150ImageId) { this.signature150ImageId = signature150ImageId; } + + /** + * signatureFont. + * + * @return UserSignature + **/ public UserSignature signatureFont(String signatureFont) { this.signatureFont = signatureFont; return this; } - /** - * The font type for the signature, if the signature is not drawn. The supported font types are: \"7_DocuSign\", \"1_DocuSign\", \"6_DocuSign\", \"8_DocuSign\", \"3_DocuSign\", \"Mistral\", \"4_DocuSign\", \"2_DocuSign\", \"5_DocuSign\", \"Rage Italic\" + /** + * The font type for the signature, if the signature is not drawn. The supported font types are: \"7_DocuSign\", \"1_DocuSign\", \"6_DocuSign\", \"8_DocuSign\", \"3_DocuSign\", \"Mistral\", \"4_DocuSign\", \"2_DocuSign\", \"5_DocuSign\", \"Rage Italic\" . * @return signatureFont - **/ - @ApiModelProperty(example = "null", value = "The font type for the signature, if the signature is not drawn. The supported font types are: \"7_DocuSign\", \"1_DocuSign\", \"6_DocuSign\", \"8_DocuSign\", \"3_DocuSign\", \"Mistral\", \"4_DocuSign\", \"2_DocuSign\", \"5_DocuSign\", \"Rage Italic\" ") + **/ + @ApiModelProperty(value = "The font type for the signature, if the signature is not drawn. The supported font types are: \"7_DocuSign\", \"1_DocuSign\", \"6_DocuSign\", \"8_DocuSign\", \"3_DocuSign\", \"Mistral\", \"4_DocuSign\", \"2_DocuSign\", \"5_DocuSign\", \"Rage Italic\" ") public String getSignatureFont() { return signatureFont; } + /** + * setSignatureFont. + **/ public void setSignatureFont(String signatureFont) { this.signatureFont = signatureFont; } + + /** + * signatureId. + * + * @return UserSignature + **/ public UserSignature signatureId(String signatureId) { this.signatureId = signatureId; return this; } - /** - * Specifies the signature ID associated with the signature name. You can use the signature ID in the URI in place of the signature name, and the value stored in the `signatureName` property in the body is used. This allows the use of special characters (such as \"&\", \"<\", \">\") in a the signature name. Note that with each update to signatures, the returned signature ID might change, so the caller will need to trigger off the signature name to get the new signature ID. + /** + * Specifies the signature ID associated with the signature name. You can use the signature ID in the URI in place of the signature name, and the value stored in the `signatureName` property in the body is used. This allows the use of special characters (such as \"&\", \"<\", \">\") in a the signature name. Note that with each update to signatures, the returned signature ID might change, so the caller will need to trigger off the signature name to get the new signature ID.. * @return signatureId - **/ - @ApiModelProperty(example = "null", value = "Specifies the signature ID associated with the signature name. You can use the signature ID in the URI in place of the signature name, and the value stored in the `signatureName` property in the body is used. This allows the use of special characters (such as \"&\", \"<\", \">\") in a the signature name. Note that with each update to signatures, the returned signature ID might change, so the caller will need to trigger off the signature name to get the new signature ID.") + **/ + @ApiModelProperty(value = "Specifies the signature ID associated with the signature name. You can use the signature ID in the URI in place of the signature name, and the value stored in the `signatureName` property in the body is used. This allows the use of special characters (such as \"&\", \"<\", \">\") in a the signature name. Note that with each update to signatures, the returned signature ID might change, so the caller will need to trigger off the signature name to get the new signature ID.") public String getSignatureId() { return signatureId; } + /** + * setSignatureId. + **/ public void setSignatureId(String signatureId) { this.signatureId = signatureId; } + + /** + * signatureImageUri. + * + * @return UserSignature + **/ public UserSignature signatureImageUri(String signatureImageUri) { this.signatureImageUri = signatureImageUri; return this; } - /** - * Contains the URI for an endpoint that you can use to retrieve the signature image. + /** + * Contains the URI for an endpoint that you can use to retrieve the signature image.. * @return signatureImageUri - **/ - @ApiModelProperty(example = "null", value = "Contains the URI for an endpoint that you can use to retrieve the signature image.") + **/ + @ApiModelProperty(value = "Contains the URI for an endpoint that you can use to retrieve the signature image.") public String getSignatureImageUri() { return signatureImageUri; } + /** + * setSignatureImageUri. + **/ public void setSignatureImageUri(String signatureImageUri) { this.signatureImageUri = signatureImageUri; } + + /** + * signatureInitials. + * + * @return UserSignature + **/ public UserSignature signatureInitials(String signatureInitials) { this.signatureInitials = signatureInitials; return this; } - /** - * The initials associated with the signature. + /** + * The initials associated with the signature.. * @return signatureInitials - **/ - @ApiModelProperty(example = "null", value = " The initials associated with the signature.") + **/ + @ApiModelProperty(value = " The initials associated with the signature.") public String getSignatureInitials() { return signatureInitials; } + /** + * setSignatureInitials. + **/ public void setSignatureInitials(String signatureInitials) { this.signatureInitials = signatureInitials; } + + /** + * signatureName. + * + * @return UserSignature + **/ public UserSignature signatureName(String signatureName) { this.signatureName = signatureName; return this; } - /** - * Specifies the user signature name. + /** + * Specifies the user signature name.. * @return signatureName - **/ - @ApiModelProperty(example = "null", value = "Specifies the user signature name.") + **/ + @ApiModelProperty(value = "Specifies the user signature name.") public String getSignatureName() { return signatureName; } + /** + * setSignatureName. + **/ public void setSignatureName(String signatureName) { this.signatureName = signatureName; } + + /** + * signatureType. + * + * @return UserSignature + **/ public UserSignature signatureType(String signatureType) { this.signatureType = signatureType; return this; } - /** - * + /** + * . * @return signatureType - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSignatureType() { return signatureType; } + /** + * setSignatureType. + **/ public void setSignatureType(String signatureType) { this.signatureType = signatureType; } + + /** + * stampFormat. + * + * @return UserSignature + **/ public UserSignature stampFormat(String stampFormat) { this.stampFormat = stampFormat; return this; } - /** - * + /** + * . * @return stampFormat - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getStampFormat() { return stampFormat; } + /** + * setStampFormat. + **/ public void setStampFormat(String stampFormat) { this.stampFormat = stampFormat; } + + /** + * stampImageUri. + * + * @return UserSignature + **/ public UserSignature stampImageUri(String stampImageUri) { this.stampImageUri = stampImageUri; return this; } - /** - * + /** + * . * @return stampImageUri - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getStampImageUri() { return stampImageUri; } + /** + * setStampImageUri. + **/ public void setStampImageUri(String stampImageUri) { this.stampImageUri = stampImageUri; } + + /** + * stampSizeMM. + * + * @return UserSignature + **/ public UserSignature stampSizeMM(String stampSizeMM) { this.stampSizeMM = stampSizeMM; return this; } - /** - * + /** + * . * @return stampSizeMM - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getStampSizeMM() { return stampSizeMM; } + /** + * setStampSizeMM. + **/ public void setStampSizeMM(String stampSizeMM) { this.stampSizeMM = stampSizeMM; } + + /** + * stampType. + * + * @return UserSignature + **/ public UserSignature stampType(String stampType) { this.stampType = stampType; return this; } - /** - * + /** + * . * @return stampType - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getStampType() { return stampType; } + /** + * setStampType. + **/ public void setStampType(String stampType) { this.stampType = stampType; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -487,12 +684,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.stampType, userSignature.stampType); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(adoptedDateTime, createdDateTime, dateStampProperties, errorDetails, externalID, imageType, initials150ImageId, initialsImageUri, isDefault, phoneticName, signature150ImageId, signatureFont, signatureId, signatureImageUri, signatureInitials, signatureName, signatureType, stampFormat, stampImageUri, stampSizeMM, stampType); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -533,6 +736,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/UserSignatureDefinition.java b/src/main/java/com/docusign/esign/model/UserSignatureDefinition.java index 763f397a..fe6638ff 100644 --- a/src/main/java/com/docusign/esign/model/UserSignatureDefinition.java +++ b/src/main/java/com/docusign/esign/model/UserSignatureDefinition.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * UserSignatureDefinition + * UserSignatureDefinition. + * */ public class UserSignatureDefinition { @@ -23,79 +26,120 @@ public class UserSignatureDefinition { @JsonProperty("signatureName") private String signatureName = null; + + /** + * signatureFont. + * + * @return UserSignatureDefinition + **/ public UserSignatureDefinition signatureFont(String signatureFont) { this.signatureFont = signatureFont; return this; } - /** - * + /** + * . * @return signatureFont - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSignatureFont() { return signatureFont; } + /** + * setSignatureFont. + **/ public void setSignatureFont(String signatureFont) { this.signatureFont = signatureFont; } + + /** + * signatureId. + * + * @return UserSignatureDefinition + **/ public UserSignatureDefinition signatureId(String signatureId) { this.signatureId = signatureId; return this; } - /** - * Specifies the signature ID associated with the signature name. You can use the signature ID in the URI in place of the signature name, and the value stored in the `signatureName` property in the body is used. This allows the use of special characters (such as \"&\", \"<\", \">\") in a the signature name. Note that with each update to signatures, the returned signature ID might change, so the caller will need to trigger off the signature name to get the new signature ID. + /** + * Specifies the signature ID associated with the signature name. You can use the signature ID in the URI in place of the signature name, and the value stored in the `signatureName` property in the body is used. This allows the use of special characters (such as \"&\", \"<\", \">\") in a the signature name. Note that with each update to signatures, the returned signature ID might change, so the caller will need to trigger off the signature name to get the new signature ID.. * @return signatureId - **/ - @ApiModelProperty(example = "null", value = "Specifies the signature ID associated with the signature name. You can use the signature ID in the URI in place of the signature name, and the value stored in the `signatureName` property in the body is used. This allows the use of special characters (such as \"&\", \"<\", \">\") in a the signature name. Note that with each update to signatures, the returned signature ID might change, so the caller will need to trigger off the signature name to get the new signature ID.") + **/ + @ApiModelProperty(value = "Specifies the signature ID associated with the signature name. You can use the signature ID in the URI in place of the signature name, and the value stored in the `signatureName` property in the body is used. This allows the use of special characters (such as \"&\", \"<\", \">\") in a the signature name. Note that with each update to signatures, the returned signature ID might change, so the caller will need to trigger off the signature name to get the new signature ID.") public String getSignatureId() { return signatureId; } + /** + * setSignatureId. + **/ public void setSignatureId(String signatureId) { this.signatureId = signatureId; } + + /** + * signatureInitials. + * + * @return UserSignatureDefinition + **/ public UserSignatureDefinition signatureInitials(String signatureInitials) { this.signatureInitials = signatureInitials; return this; } - /** - * + /** + * . * @return signatureInitials - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getSignatureInitials() { return signatureInitials; } + /** + * setSignatureInitials. + **/ public void setSignatureInitials(String signatureInitials) { this.signatureInitials = signatureInitials; } + + /** + * signatureName. + * + * @return UserSignatureDefinition + **/ public UserSignatureDefinition signatureName(String signatureName) { this.signatureName = signatureName; return this; } - /** - * Specifies the user signature name. + /** + * Specifies the user signature name.. * @return signatureName - **/ - @ApiModelProperty(example = "null", value = "Specifies the user signature name.") + **/ + @ApiModelProperty(value = "Specifies the user signature name.") public String getSignatureName() { return signatureName; } + /** + * setSignatureName. + **/ public void setSignatureName(String signatureName) { this.signatureName = signatureName; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -111,12 +155,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.signatureName, userSignatureDefinition.signatureName); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(signatureFont, signatureId, signatureInitials, signatureName); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -140,6 +190,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/UserSignaturesInformation.java b/src/main/java/com/docusign/esign/model/UserSignaturesInformation.java index 04530c1b..a2e0f59f 100644 --- a/src/main/java/com/docusign/esign/model/UserSignaturesInformation.java +++ b/src/main/java/com/docusign/esign/model/UserSignaturesInformation.java @@ -1,44 +1,69 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.UserSignature; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * UserSignaturesInformation + * UserSignaturesInformation. + * */ public class UserSignaturesInformation { @JsonProperty("userSignatures") - private java.util.List<UserSignature> userSignatures = new java.util.ArrayList<UserSignature>(); + private java.util.List<UserSignature> userSignatures = null; + + /** + * userSignatures. + * + * @return UserSignaturesInformation + **/ public UserSignaturesInformation userSignatures(java.util.List<UserSignature> userSignatures) { this.userSignatures = userSignatures; return this; } - + + /** + * addUserSignaturesItem. + * + * @return UserSignaturesInformation + **/ public UserSignaturesInformation addUserSignaturesItem(UserSignature userSignaturesItem) { + if (this.userSignatures == null) { + this.userSignatures = new java.util.ArrayList<UserSignature>(); + } this.userSignatures.add(userSignaturesItem); return this; } - /** - * + /** + * . * @return userSignatures - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List<UserSignature> getUserSignatures() { return userSignatures; } + /** + * setUserSignatures. + **/ public void setUserSignatures(java.util.List<UserSignature> userSignatures) { this.userSignatures = userSignatures; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -51,12 +76,18 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.userSignatures, userSignaturesInformation.userSignatures); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(userSignatures); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -77,6 +108,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/UserSocialIdResult.java b/src/main/java/com/docusign/esign/model/UserSocialIdResult.java index c3091d60..da3cbafb 100644 --- a/src/main/java/com/docusign/esign/model/UserSocialIdResult.java +++ b/src/main/java/com/docusign/esign/model/UserSocialIdResult.java @@ -1,65 +1,99 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.SocialAccountInformation; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * UserSocialIdResult + * UserSocialIdResult. + * */ public class UserSocialIdResult { @JsonProperty("socialAccountInformation") - private java.util.List<SocialAccountInformation> socialAccountInformation = new java.util.ArrayList<SocialAccountInformation>(); + private java.util.List<SocialAccountInformation> socialAccountInformation = null; @JsonProperty("userId") private String userId = null; + + /** + * socialAccountInformation. + * + * @return UserSocialIdResult + **/ public UserSocialIdResult socialAccountInformation(java.util.List<SocialAccountInformation> socialAccountInformation) { this.socialAccountInformation = socialAccountInformation; return this; } - + + /** + * addSocialAccountInformationItem. + * + * @return UserSocialIdResult + **/ public UserSocialIdResult addSocialAccountInformationItem(SocialAccountInformation socialAccountInformationItem) { + if (this.socialAccountInformation == null) { + this.socialAccountInformation = new java.util.ArrayList<SocialAccountInformation>(); + } this.socialAccountInformation.add(socialAccountInformationItem); return this; } - /** - * Contains properties that map a DocuSign user to a social account (Facebook, Yahoo, etc.) + /** + * Contains properties that map a DocuSign user to a social account (Facebook, Yahoo, etc.). * @return socialAccountInformation - **/ - @ApiModelProperty(example = "null", value = "Contains properties that map a DocuSign user to a social account (Facebook, Yahoo, etc.)") + **/ + @ApiModelProperty(value = "Contains properties that map a DocuSign user to a social account (Facebook, Yahoo, etc.)") public java.util.List<SocialAccountInformation> getSocialAccountInformation() { return socialAccountInformation; } + /** + * setSocialAccountInformation. + **/ public void setSocialAccountInformation(java.util.List<SocialAccountInformation> socialAccountInformation) { this.socialAccountInformation = socialAccountInformation; } + + /** + * userId. + * + * @return UserSocialIdResult + **/ public UserSocialIdResult userId(String userId) { this.userId = userId; return this; } - /** - * + /** + * . * @return userId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getUserId() { return userId; } + /** + * setUserId. + **/ public void setUserId(String userId) { this.userId = userId; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -73,12 +107,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.userId, userSocialIdResult.userId); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(socialAccountInformation, userId); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -100,6 +140,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/UsersResponse.java b/src/main/java/com/docusign/esign/model/UsersResponse.java index d19af53f..c6473b16 100644 --- a/src/main/java/com/docusign/esign/model/UsersResponse.java +++ b/src/main/java/com/docusign/esign/model/UsersResponse.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.UserInfo; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * UsersResponse + * UsersResponse. + * */ public class UsersResponse { @@ -31,140 +34,216 @@ public class UsersResponse { private String totalSetSize = null; @JsonProperty("users") - private java.util.List<UserInfo> users = new java.util.ArrayList<UserInfo>(); + private java.util.List<UserInfo> users = null; + + /** + * endPosition. + * + * @return UsersResponse + **/ public UsersResponse endPosition(String endPosition) { this.endPosition = endPosition; return this; } - /** - * The last position in the result set. + /** + * The last position in the result set. . * @return endPosition - **/ - @ApiModelProperty(example = "null", value = "The last position in the result set. ") + **/ + @ApiModelProperty(value = "The last position in the result set. ") public String getEndPosition() { return endPosition; } + /** + * setEndPosition. + **/ public void setEndPosition(String endPosition) { this.endPosition = endPosition; } + + /** + * nextUri. + * + * @return UsersResponse + **/ public UsersResponse nextUri(String nextUri) { this.nextUri = nextUri; return this; } - /** - * The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. + /** + * The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. . * @return nextUri - **/ - @ApiModelProperty(example = "null", value = "The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. ") + **/ + @ApiModelProperty(value = "The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. ") public String getNextUri() { return nextUri; } + /** + * setNextUri. + **/ public void setNextUri(String nextUri) { this.nextUri = nextUri; } + + /** + * previousUri. + * + * @return UsersResponse + **/ public UsersResponse previousUri(String previousUri) { this.previousUri = previousUri; return this; } - /** - * The postal code for the billing address. + /** + * The postal code for the billing address.. * @return previousUri - **/ - @ApiModelProperty(example = "null", value = "The postal code for the billing address.") + **/ + @ApiModelProperty(value = "The postal code for the billing address.") public String getPreviousUri() { return previousUri; } + /** + * setPreviousUri. + **/ public void setPreviousUri(String previousUri) { this.previousUri = previousUri; } + + /** + * resultSetSize. + * + * @return UsersResponse + **/ public UsersResponse resultSetSize(String resultSetSize) { this.resultSetSize = resultSetSize; return this; } - /** - * The number of results returned in this response. + /** + * The number of results returned in this response. . * @return resultSetSize - **/ - @ApiModelProperty(example = "null", value = "The number of results returned in this response. ") + **/ + @ApiModelProperty(value = "The number of results returned in this response. ") public String getResultSetSize() { return resultSetSize; } + /** + * setResultSetSize. + **/ public void setResultSetSize(String resultSetSize) { this.resultSetSize = resultSetSize; } + + /** + * startPosition. + * + * @return UsersResponse + **/ public UsersResponse startPosition(String startPosition) { this.startPosition = startPosition; return this; } - /** - * Starting position of the current result set. + /** + * Starting position of the current result set.. * @return startPosition - **/ - @ApiModelProperty(example = "null", value = "Starting position of the current result set.") + **/ + @ApiModelProperty(value = "Starting position of the current result set.") public String getStartPosition() { return startPosition; } + /** + * setStartPosition. + **/ public void setStartPosition(String startPosition) { this.startPosition = startPosition; } + + /** + * totalSetSize. + * + * @return UsersResponse + **/ public UsersResponse totalSetSize(String totalSetSize) { this.totalSetSize = totalSetSize; return this; } - /** - * The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response. + /** + * The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.. * @return totalSetSize - **/ - @ApiModelProperty(example = "null", value = "The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.") + **/ + @ApiModelProperty(value = "The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.") public String getTotalSetSize() { return totalSetSize; } + /** + * setTotalSetSize. + **/ public void setTotalSetSize(String totalSetSize) { this.totalSetSize = totalSetSize; } + + /** + * users. + * + * @return UsersResponse + **/ public UsersResponse users(java.util.List<UserInfo> users) { this.users = users; return this; } - + + /** + * addUsersItem. + * + * @return UsersResponse + **/ public UsersResponse addUsersItem(UserInfo usersItem) { + if (this.users == null) { + this.users = new java.util.ArrayList<UserInfo>(); + } this.users.add(usersItem); return this; } - /** - * + /** + * . * @return users - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List<UserInfo> getUsers() { return users; } + /** + * setUsers. + **/ public void setUsers(java.util.List<UserInfo> users) { this.users = users; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -183,12 +262,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.users, usersResponse.users); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(endPosition, nextUri, previousUri, resultSetSize, startPosition, totalSetSize, users); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -215,6 +300,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/View.java b/src/main/java/com/docusign/esign/model/View.java index 6a1a6975..8aff021e 100644 --- a/src/main/java/com/docusign/esign/model/View.java +++ b/src/main/java/com/docusign/esign/model/View.java @@ -1,15 +1,18 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ErrorDetails; import com.docusign.esign.model.MergeField; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * View + * View. + * */ public class View { @@ -92,7 +95,7 @@ public class View { private String status = null; @JsonProperty("tabGroupLabels") - private java.util.List<String> tabGroupLabels = new java.util.ArrayList<String>(); + private java.util.List<String> tabGroupLabels = null; @JsonProperty("tabId") private String tabId = null; @@ -124,678 +127,1024 @@ public class View { @JsonProperty("yPosition") private String yPosition = null; + + /** + * anchorCaseSensitive. + * + * @return View + **/ public View anchorCaseSensitive(String anchorCaseSensitive) { this.anchorCaseSensitive = anchorCaseSensitive; return this; } - /** - * When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**. + /** + * When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.. * @return anchorCaseSensitive - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.") + **/ + @ApiModelProperty(value = "When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.") public String getAnchorCaseSensitive() { return anchorCaseSensitive; } + /** + * setAnchorCaseSensitive. + **/ public void setAnchorCaseSensitive(String anchorCaseSensitive) { this.anchorCaseSensitive = anchorCaseSensitive; } + + /** + * anchorHorizontalAlignment. + * + * @return View + **/ public View anchorHorizontalAlignment(String anchorHorizontalAlignment) { this.anchorHorizontalAlignment = anchorHorizontalAlignment; return this; } - /** - * Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**. + /** + * Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.. * @return anchorHorizontalAlignment - **/ - @ApiModelProperty(example = "null", value = "Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.") + **/ + @ApiModelProperty(value = "Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.") public String getAnchorHorizontalAlignment() { return anchorHorizontalAlignment; } + /** + * setAnchorHorizontalAlignment. + **/ public void setAnchorHorizontalAlignment(String anchorHorizontalAlignment) { this.anchorHorizontalAlignment = anchorHorizontalAlignment; } + + /** + * anchorIgnoreIfNotPresent. + * + * @return View + **/ public View anchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { this.anchorIgnoreIfNotPresent = anchorIgnoreIfNotPresent; return this; } - /** - * When set to **true**, this tab is ignored if anchorString is not found in the document. + /** + * When set to **true**, this tab is ignored if anchorString is not found in the document.. * @return anchorIgnoreIfNotPresent - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, this tab is ignored if anchorString is not found in the document.") + **/ + @ApiModelProperty(value = "When set to **true**, this tab is ignored if anchorString is not found in the document.") public String getAnchorIgnoreIfNotPresent() { return anchorIgnoreIfNotPresent; } + /** + * setAnchorIgnoreIfNotPresent. + **/ public void setAnchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { this.anchorIgnoreIfNotPresent = anchorIgnoreIfNotPresent; } + + /** + * anchorMatchWholeWord. + * + * @return View + **/ public View anchorMatchWholeWord(String anchorMatchWholeWord) { this.anchorMatchWholeWord = anchorMatchWholeWord; return this; } - /** - * When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**. + /** + * When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.. * @return anchorMatchWholeWord - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.") + **/ + @ApiModelProperty(value = "When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.") public String getAnchorMatchWholeWord() { return anchorMatchWholeWord; } + /** + * setAnchorMatchWholeWord. + **/ public void setAnchorMatchWholeWord(String anchorMatchWholeWord) { this.anchorMatchWholeWord = anchorMatchWholeWord; } + + /** + * anchorString. + * + * @return View + **/ public View anchorString(String anchorString) { this.anchorString = anchorString; return this; } - /** - * Anchor text information for a radio button. + /** + * Anchor text information for a radio button.. * @return anchorString - **/ - @ApiModelProperty(example = "null", value = "Anchor text information for a radio button.") + **/ + @ApiModelProperty(value = "Anchor text information for a radio button.") public String getAnchorString() { return anchorString; } + /** + * setAnchorString. + **/ public void setAnchorString(String anchorString) { this.anchorString = anchorString; } + + /** + * anchorUnits. + * + * @return View + **/ public View anchorUnits(String anchorUnits) { this.anchorUnits = anchorUnits; return this; } - /** - * Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. + /** + * Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. * @return anchorUnits - **/ - @ApiModelProperty(example = "null", value = "Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.") + **/ + @ApiModelProperty(value = "Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.") public String getAnchorUnits() { return anchorUnits; } + /** + * setAnchorUnits. + **/ public void setAnchorUnits(String anchorUnits) { this.anchorUnits = anchorUnits; } + + /** + * anchorXOffset. + * + * @return View + **/ public View anchorXOffset(String anchorXOffset) { this.anchorXOffset = anchorXOffset; return this; } - /** - * Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString. + /** + * Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. * @return anchorXOffset - **/ - @ApiModelProperty(example = "null", value = "Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.") + **/ + @ApiModelProperty(value = "Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.") public String getAnchorXOffset() { return anchorXOffset; } + /** + * setAnchorXOffset. + **/ public void setAnchorXOffset(String anchorXOffset) { this.anchorXOffset = anchorXOffset; } + + /** + * anchorYOffset. + * + * @return View + **/ public View anchorYOffset(String anchorYOffset) { this.anchorYOffset = anchorYOffset; return this; } - /** - * Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString. + /** + * Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.. * @return anchorYOffset - **/ - @ApiModelProperty(example = "null", value = "Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.") + **/ + @ApiModelProperty(value = "Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.") public String getAnchorYOffset() { return anchorYOffset; } + /** + * setAnchorYOffset. + **/ public void setAnchorYOffset(String anchorYOffset) { this.anchorYOffset = anchorYOffset; } + + /** + * bold. + * + * @return View + **/ public View bold(String bold) { this.bold = bold; return this; } - /** - * When set to **true**, the information in the tab is bold. + /** + * When set to **true**, the information in the tab is bold.. * @return bold - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is bold.") + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is bold.") public String getBold() { return bold; } + /** + * setBold. + **/ public void setBold(String bold) { this.bold = bold; } + + /** + * buttonText. + * + * @return View + **/ public View buttonText(String buttonText) { this.buttonText = buttonText; return this; } - /** - * + /** + * . * @return buttonText - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getButtonText() { return buttonText; } + /** + * setButtonText. + **/ public void setButtonText(String buttonText) { this.buttonText = buttonText; } + + /** + * conditionalParentLabel. + * + * @return View + **/ public View conditionalParentLabel(String conditionalParentLabel) { this.conditionalParentLabel = conditionalParentLabel; return this; } - /** - * For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility. + /** + * For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.. * @return conditionalParentLabel - **/ - @ApiModelProperty(example = "null", value = "For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.") + **/ + @ApiModelProperty(value = "For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.") public String getConditionalParentLabel() { return conditionalParentLabel; } + /** + * setConditionalParentLabel. + **/ public void setConditionalParentLabel(String conditionalParentLabel) { this.conditionalParentLabel = conditionalParentLabel; } + + /** + * conditionalParentValue. + * + * @return View + **/ public View conditionalParentValue(String conditionalParentValue) { this.conditionalParentValue = conditionalParentValue; return this; } - /** - * For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. + /** + * For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. . * @return conditionalParentValue - **/ - @ApiModelProperty(example = "null", value = "For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. ") + **/ + @ApiModelProperty(value = "For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. ") public String getConditionalParentValue() { return conditionalParentValue; } + /** + * setConditionalParentValue. + **/ public void setConditionalParentValue(String conditionalParentValue) { this.conditionalParentValue = conditionalParentValue; } + + /** + * customTabId. + * + * @return View + **/ public View customTabId(String customTabId) { this.customTabId = customTabId; return this; } - /** - * The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties. + /** + * The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.. * @return customTabId - **/ - @ApiModelProperty(example = "null", value = "The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.") + **/ + @ApiModelProperty(value = "The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.") public String getCustomTabId() { return customTabId; } + /** + * setCustomTabId. + **/ public void setCustomTabId(String customTabId) { this.customTabId = customTabId; } + + /** + * documentId. + * + * @return View + **/ public View documentId(String documentId) { this.documentId = documentId; return this; } - /** - * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute. + /** + * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.. * @return documentId - **/ - @ApiModelProperty(example = "null", value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") + **/ + @ApiModelProperty(value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") public String getDocumentId() { return documentId; } + /** + * setDocumentId. + **/ public void setDocumentId(String documentId) { this.documentId = documentId; } + + /** + * errorDetails. + * + * @return View + **/ public View errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * font. + * + * @return View + **/ public View font(String font) { this.font = font; return this; } - /** - * The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default. + /** + * The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.. * @return font - **/ - @ApiModelProperty(example = "null", value = "The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.") + **/ + @ApiModelProperty(value = "The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.") public String getFont() { return font; } + /** + * setFont. + **/ public void setFont(String font) { this.font = font; } + + /** + * fontColor. + * + * @return View + **/ public View fontColor(String fontColor) { this.fontColor = fontColor; return this; } - /** - * The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White. + /** + * The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.. * @return fontColor - **/ - @ApiModelProperty(example = "null", value = "The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.") + **/ + @ApiModelProperty(value = "The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.") public String getFontColor() { return fontColor; } + /** + * setFontColor. + **/ public void setFontColor(String fontColor) { this.fontColor = fontColor; } + + /** + * fontSize. + * + * @return View + **/ public View fontSize(String fontSize) { this.fontSize = fontSize; return this; } - /** - * The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72. + /** + * The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.. * @return fontSize - **/ - @ApiModelProperty(example = "null", value = "The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.") + **/ + @ApiModelProperty(value = "The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.") public String getFontSize() { return fontSize; } + /** + * setFontSize. + **/ public void setFontSize(String fontSize) { this.fontSize = fontSize; } + + /** + * height. + * + * @return View + **/ public View height(Integer height) { this.height = height; return this; } - /** - * Height of the tab in pixels. + /** + * Height of the tab in pixels.. * @return height - **/ - @ApiModelProperty(example = "null", value = "Height of the tab in pixels.") + **/ + @ApiModelProperty(value = "Height of the tab in pixels.") public Integer getHeight() { return height; } + /** + * setHeight. + **/ public void setHeight(Integer height) { this.height = height; } + + /** + * italic. + * + * @return View + **/ public View italic(String italic) { this.italic = italic; return this; } - /** - * When set to **true**, the information in the tab is italic. + /** + * When set to **true**, the information in the tab is italic.. * @return italic - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is italic.") + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is italic.") public String getItalic() { return italic; } + /** + * setItalic. + **/ public void setItalic(String italic) { this.italic = italic; } + + /** + * mergeField. + * + * @return View + **/ public View mergeField(MergeField mergeField) { this.mergeField = mergeField; return this; } - /** - * Get mergeField + /** + * Get mergeField. * @return mergeField - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public MergeField getMergeField() { return mergeField; } + /** + * setMergeField. + **/ public void setMergeField(MergeField mergeField) { this.mergeField = mergeField; } + + /** + * pageNumber. + * + * @return View + **/ public View pageNumber(String pageNumber) { this.pageNumber = pageNumber; return this; } - /** - * Specifies the page number on which the tab is located. + /** + * Specifies the page number on which the tab is located.. * @return pageNumber - **/ - @ApiModelProperty(example = "null", value = "Specifies the page number on which the tab is located.") + **/ + @ApiModelProperty(value = "Specifies the page number on which the tab is located.") public String getPageNumber() { return pageNumber; } + /** + * setPageNumber. + **/ public void setPageNumber(String pageNumber) { this.pageNumber = pageNumber; } + + /** + * recipientId. + * + * @return View + **/ public View recipientId(String recipientId) { this.recipientId = recipientId; return this; } - /** - * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document. + /** + * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.. * @return recipientId - **/ - @ApiModelProperty(example = "null", value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") + **/ + @ApiModelProperty(value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") public String getRecipientId() { return recipientId; } + /** + * setRecipientId. + **/ public void setRecipientId(String recipientId) { this.recipientId = recipientId; } + + /** + * required. + * + * @return View + **/ public View required(String required) { this.required = required; return this; } - /** - * When set to **true**, the signer is required to fill out this tab + /** + * When set to **true**, the signer is required to fill out this tab. * @return required - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the signer is required to fill out this tab") + **/ + @ApiModelProperty(value = "When set to **true**, the signer is required to fill out this tab") public String getRequired() { return required; } + /** + * setRequired. + **/ public void setRequired(String required) { this.required = required; } + + /** + * requiredRead. + * + * @return View + **/ public View requiredRead(String requiredRead) { this.requiredRead = requiredRead; return this; } - /** - * + /** + * . * @return requiredRead - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getRequiredRead() { return requiredRead; } + /** + * setRequiredRead. + **/ public void setRequiredRead(String requiredRead) { this.requiredRead = requiredRead; } + + /** + * status. + * + * @return View + **/ public View status(String status) { this.status = status; return this; } - /** - * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. + /** + * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.. * @return status - **/ - @ApiModelProperty(example = "null", value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") + **/ + @ApiModelProperty(value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") public String getStatus() { return status; } + /** + * setStatus. + **/ public void setStatus(String status) { this.status = status; } + + /** + * tabGroupLabels. + * + * @return View + **/ public View tabGroupLabels(java.util.List<String> tabGroupLabels) { this.tabGroupLabels = tabGroupLabels; return this; } - + + /** + * addTabGroupLabelsItem. + * + * @return View + **/ public View addTabGroupLabelsItem(String tabGroupLabelsItem) { + if (this.tabGroupLabels == null) { + this.tabGroupLabels = new java.util.ArrayList<String>(); + } this.tabGroupLabels.add(tabGroupLabelsItem); return this; } - /** - * + /** + * . * @return tabGroupLabels - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List<String> getTabGroupLabels() { return tabGroupLabels; } + /** + * setTabGroupLabels. + **/ public void setTabGroupLabels(java.util.List<String> tabGroupLabels) { this.tabGroupLabels = tabGroupLabels; } + + /** + * tabId. + * + * @return View + **/ public View tabId(String tabId) { this.tabId = tabId; return this; } - /** - * The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. + /** + * The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. . * @return tabId - **/ - @ApiModelProperty(example = "null", value = "The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. ") + **/ + @ApiModelProperty(value = "The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. ") public String getTabId() { return tabId; } + /** + * setTabId. + **/ public void setTabId(String tabId) { this.tabId = tabId; } + + /** + * tabLabel. + * + * @return View + **/ public View tabLabel(String tabLabel) { this.tabLabel = tabLabel; return this; } - /** - * The label string associated with the tab. + /** + * The label string associated with the tab.. * @return tabLabel - **/ - @ApiModelProperty(example = "null", value = "The label string associated with the tab.") + **/ + @ApiModelProperty(value = "The label string associated with the tab.") public String getTabLabel() { return tabLabel; } + /** + * setTabLabel. + **/ public void setTabLabel(String tabLabel) { this.tabLabel = tabLabel; } + + /** + * tabOrder. + * + * @return View + **/ public View tabOrder(String tabOrder) { this.tabOrder = tabOrder; return this; } - /** - * + /** + * . * @return tabOrder - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTabOrder() { return tabOrder; } + /** + * setTabOrder. + **/ public void setTabOrder(String tabOrder) { this.tabOrder = tabOrder; } + + /** + * templateLocked. + * + * @return View + **/ public View templateLocked(String templateLocked) { this.templateLocked = templateLocked; return this; } - /** - * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. . * @return templateLocked - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") + **/ + @ApiModelProperty(value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") public String getTemplateLocked() { return templateLocked; } + /** + * setTemplateLocked. + **/ public void setTemplateLocked(String templateLocked) { this.templateLocked = templateLocked; } + + /** + * templateRequired. + * + * @return View + **/ public View templateRequired(String templateRequired) { this.templateRequired = templateRequired; return this; } - /** - * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.. * @return templateRequired - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") + **/ + @ApiModelProperty(value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") public String getTemplateRequired() { return templateRequired; } + /** + * setTemplateRequired. + **/ public void setTemplateRequired(String templateRequired) { this.templateRequired = templateRequired; } + + /** + * tooltip. + * + * @return View + **/ public View tooltip(String tooltip) { this.tooltip = tooltip; return this; } - /** - * + /** + * . * @return tooltip - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTooltip() { return tooltip; } + /** + * setTooltip. + **/ public void setTooltip(String tooltip) { this.tooltip = tooltip; } + + /** + * underline. + * + * @return View + **/ public View underline(String underline) { this.underline = underline; return this; } - /** - * When set to **true**, the information in the tab is underlined. + /** + * When set to **true**, the information in the tab is underlined.. * @return underline - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is underlined.") + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is underlined.") public String getUnderline() { return underline; } + /** + * setUnderline. + **/ public void setUnderline(String underline) { this.underline = underline; } + + /** + * width. + * + * @return View + **/ public View width(Integer width) { this.width = width; return this; } - /** - * Width of the tab in pixels. + /** + * Width of the tab in pixels.. * @return width - **/ - @ApiModelProperty(example = "null", value = "Width of the tab in pixels.") + **/ + @ApiModelProperty(value = "Width of the tab in pixels.") public Integer getWidth() { return width; } + /** + * setWidth. + **/ public void setWidth(Integer width) { this.width = width; } + + /** + * xPosition. + * + * @return View + **/ public View xPosition(String xPosition) { this.xPosition = xPosition; return this; } - /** - * This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position. + /** + * This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.. * @return xPosition - **/ - @ApiModelProperty(example = "null", value = "This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.") + **/ + @ApiModelProperty(value = "This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.") public String getXPosition() { return xPosition; } + /** + * setXPosition. + **/ public void setXPosition(String xPosition) { this.xPosition = xPosition; } + + /** + * yPosition. + * + * @return View + **/ public View yPosition(String yPosition) { this.yPosition = yPosition; return this; } - /** - * This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position. + /** + * This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. * @return yPosition - **/ - @ApiModelProperty(example = "null", value = "This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.") + **/ + @ApiModelProperty(value = "This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.") public String getYPosition() { return yPosition; } + /** + * setYPosition. + **/ public void setYPosition(String yPosition) { this.yPosition = yPosition; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -844,12 +1193,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.yPosition, view.yPosition); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(anchorCaseSensitive, anchorHorizontalAlignment, anchorIgnoreIfNotPresent, anchorMatchWholeWord, anchorString, anchorUnits, anchorXOffset, anchorYOffset, bold, buttonText, conditionalParentLabel, conditionalParentValue, customTabId, documentId, errorDetails, font, fontColor, fontSize, height, italic, mergeField, pageNumber, recipientId, required, requiredRead, status, tabGroupLabels, tabId, tabLabel, tabOrder, templateLocked, templateRequired, tooltip, underline, width, xPosition, yPosition); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -906,6 +1261,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/ViewUrl.java b/src/main/java/com/docusign/esign/model/ViewUrl.java index e27b3b81..50d2c9a0 100644 --- a/src/main/java/com/docusign/esign/model/ViewUrl.java +++ b/src/main/java/com/docusign/esign/model/ViewUrl.java @@ -1,38 +1,55 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * ViewUrl + * ViewUrl. + * */ public class ViewUrl { @JsonProperty("url") private String url = null; + + /** + * url. + * + * @return ViewUrl + **/ public ViewUrl url(String url) { this.url = url; return this; } - /** - * The view URL to be navigated to. + /** + * The view URL to be navigated to.. * @return url - **/ - @ApiModelProperty(example = "null", value = "The view URL to be navigated to.") + **/ + @ApiModelProperty(value = "The view URL to be navigated to.") public String getUrl() { return url; } + /** + * setUrl. + **/ public void setUrl(String url) { this.url = url; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -45,12 +62,18 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.url, viewUrl.url); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(url); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -71,6 +94,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/Watermark.java b/src/main/java/com/docusign/esign/model/Watermark.java index da31461b..f67bb61e 100644 --- a/src/main/java/com/docusign/esign/model/Watermark.java +++ b/src/main/java/com/docusign/esign/model/Watermark.java @@ -1,13 +1,16 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Watermark + * Watermark. + * */ public class Watermark { @@ -38,169 +41,255 @@ public class Watermark { @JsonProperty("watermarkText") private String watermarkText = null; + + /** + * displayAngle. + * + * @return Watermark + **/ public Watermark displayAngle(String displayAngle) { this.displayAngle = displayAngle; return this; } - /** - * + /** + * . * @return displayAngle - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getDisplayAngle() { return displayAngle; } + /** + * setDisplayAngle. + **/ public void setDisplayAngle(String displayAngle) { this.displayAngle = displayAngle; } + + /** + * enabled. + * + * @return Watermark + **/ public Watermark enabled(String enabled) { this.enabled = enabled; return this; } - /** - * + /** + * . * @return enabled - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getEnabled() { return enabled; } + /** + * setEnabled. + **/ public void setEnabled(String enabled) { this.enabled = enabled; } + + /** + * font. + * + * @return Watermark + **/ public Watermark font(String font) { this.font = font; return this; } - /** - * The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default. + /** + * The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.. * @return font - **/ - @ApiModelProperty(example = "null", value = "The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.") + **/ + @ApiModelProperty(value = "The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.") public String getFont() { return font; } + /** + * setFont. + **/ public void setFont(String font) { this.font = font; } + + /** + * fontColor. + * + * @return Watermark + **/ public Watermark fontColor(String fontColor) { this.fontColor = fontColor; return this; } - /** - * The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White. + /** + * The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.. * @return fontColor - **/ - @ApiModelProperty(example = "null", value = "The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.") + **/ + @ApiModelProperty(value = "The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.") public String getFontColor() { return fontColor; } + /** + * setFontColor. + **/ public void setFontColor(String fontColor) { this.fontColor = fontColor; } + + /** + * fontSize. + * + * @return Watermark + **/ public Watermark fontSize(String fontSize) { this.fontSize = fontSize; return this; } - /** - * The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72. + /** + * The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.. * @return fontSize - **/ - @ApiModelProperty(example = "null", value = "The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.") + **/ + @ApiModelProperty(value = "The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.") public String getFontSize() { return fontSize; } + /** + * setFontSize. + **/ public void setFontSize(String fontSize) { this.fontSize = fontSize; } + + /** + * id. + * + * @return Watermark + **/ public Watermark id(String id) { this.id = id; return this; } - /** - * + /** + * . * @return id - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getId() { return id; } + /** + * setId. + **/ public void setId(String id) { this.id = id; } + + /** + * imageBase64. + * + * @return Watermark + **/ public Watermark imageBase64(String imageBase64) { this.imageBase64 = imageBase64; return this; } - /** - * + /** + * . * @return imageBase64 - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getImageBase64() { return imageBase64; } + /** + * setImageBase64. + **/ public void setImageBase64(String imageBase64) { this.imageBase64 = imageBase64; } + + /** + * transparency. + * + * @return Watermark + **/ public Watermark transparency(String transparency) { this.transparency = transparency; return this; } - /** - * + /** + * . * @return transparency - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTransparency() { return transparency; } + /** + * setTransparency. + **/ public void setTransparency(String transparency) { this.transparency = transparency; } + + /** + * watermarkText. + * + * @return Watermark + **/ public Watermark watermarkText(String watermarkText) { this.watermarkText = watermarkText; return this; } - /** - * + /** + * . * @return watermarkText - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getWatermarkText() { return watermarkText; } + /** + * setWatermarkText. + **/ public void setWatermarkText(String watermarkText) { this.watermarkText = watermarkText; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -221,12 +310,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.watermarkText, watermark.watermarkText); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(displayAngle, enabled, font, fontColor, fontSize, id, imageBase64, transparency, watermarkText); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -255,6 +350,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/Witness.java b/src/main/java/com/docusign/esign/model/Witness.java index 1d92bc18..fa036f4e 100644 --- a/src/main/java/com/docusign/esign/model/Witness.java +++ b/src/main/java/com/docusign/esign/model/Witness.java @@ -1,6 +1,7 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.AuthenticationStatus; import com.docusign.esign.model.DocumentVisibility; import com.docusign.esign.model.ErrorDetails; @@ -8,7 +9,9 @@ import com.docusign.esign.model.OfflineAttributes; import com.docusign.esign.model.RecipientAttachment; import com.docusign.esign.model.RecipientEmailNotification; +import com.docusign.esign.model.RecipientIdentityVerification; import com.docusign.esign.model.RecipientPhoneAuthentication; +import com.docusign.esign.model.RecipientProofFile; import com.docusign.esign.model.RecipientSAMLAuthentication; import com.docusign.esign.model.RecipientSMSAuthentication; import com.docusign.esign.model.RecipientSignatureInformation; @@ -18,11 +21,13 @@ import com.docusign.esign.model.UserInfo; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Witness + * Witness. + * */ public class Witness { @@ -54,7 +59,7 @@ public class Witness { private String creationReason = null; @JsonProperty("customFields") - private java.util.List<String> customFields = new java.util.ArrayList<String>(); + private java.util.List<String> customFields = null; @JsonProperty("declinedDateTime") private String declinedDateTime = null; @@ -72,7 +77,7 @@ public class Witness { private String deliveryMethod = null; @JsonProperty("documentVisibility") - private java.util.List<DocumentVisibility> documentVisibility = new java.util.ArrayList<DocumentVisibility>(); + private java.util.List<DocumentVisibility> documentVisibility = null; @JsonProperty("email") private String email = null; @@ -90,7 +95,7 @@ public class Witness { private ErrorDetails errorDetails = null; @JsonProperty("excludedDocuments") - private java.util.List<String> excludedDocuments = new java.util.ArrayList<String>(); + private java.util.List<String> excludedDocuments = null; @JsonProperty("faxNumber") private String faxNumber = null; @@ -107,6 +112,9 @@ public class Witness { @JsonProperty("idCheckInformationInput") private IdCheckInformationInput idCheckInformationInput = null; + @JsonProperty("identityVerification") + private RecipientIdentityVerification identityVerification = null; + @JsonProperty("inheritEmailNotificationConfiguration") private String inheritEmailNotificationConfiguration = null; @@ -128,8 +136,11 @@ public class Witness { @JsonProperty("phoneAuthentication") private RecipientPhoneAuthentication phoneAuthentication = null; + @JsonProperty("proofFile") + private RecipientProofFile proofFile = null; + @JsonProperty("recipientAttachments") - private java.util.List<RecipientAttachment> recipientAttachments = new java.util.ArrayList<RecipientAttachment>(); + private java.util.List<RecipientAttachment> recipientAttachments = null; @JsonProperty("recipientAuthenticationStatus") private AuthenticationStatus recipientAuthenticationStatus = null; @@ -141,7 +152,7 @@ public class Witness { private String recipientIdGuid = null; @JsonProperty("recipientSignatureProviders") - private java.util.List<RecipientSignatureProvider> recipientSignatureProviders = new java.util.ArrayList<RecipientSignatureProvider>(); + private java.util.List<RecipientSignatureProvider> recipientSignatureProviders = null; @JsonProperty("recipientSuppliesTabs") private String recipientSuppliesTabs = null; @@ -183,13 +194,13 @@ public class Witness { private String signingGroupName = null; @JsonProperty("signingGroupUsers") - private java.util.List<UserInfo> signingGroupUsers = new java.util.ArrayList<UserInfo>(); + private java.util.List<UserInfo> signingGroupUsers = null; @JsonProperty("smsAuthentication") private RecipientSMSAuthentication smsAuthentication = null; @JsonProperty("socialAuthentications") - private java.util.List<SocialAuthentication> socialAuthentications = new java.util.ArrayList<SocialAuthentication>(); + private java.util.List<SocialAuthentication> socialAuthentications = null; @JsonProperty("status") private String status = null; @@ -215,1176 +226,1858 @@ public class Witness { @JsonProperty("witnessForGuid") private String witnessForGuid = null; + + /** + * accessCode. + * + * @return Witness + **/ public Witness accessCode(String accessCode) { this.accessCode = accessCode; return this; } - /** - * If a value is provided, the recipient must enter the value as the access code to view and sign the envelope. Maximum Length: 50 characters and it must conform to the account's access code format setting. If blank, but the signer `accessCode` property is set in the envelope, then that value is used. If blank and the signer `accessCode` property is not set, then the access code is not required. + /** + * If a value is provided, the recipient must enter the value as the access code to view and sign the envelope. Maximum Length: 50 characters and it must conform to the account's access code format setting. If blank, but the signer `accessCode` property is set in the envelope, then that value is used. If blank and the signer `accessCode` property is not set, then the access code is not required.. * @return accessCode - **/ - @ApiModelProperty(example = "null", value = "If a value is provided, the recipient must enter the value as the access code to view and sign the envelope. Maximum Length: 50 characters and it must conform to the account's access code format setting. If blank, but the signer `accessCode` property is set in the envelope, then that value is used. If blank and the signer `accessCode` property is not set, then the access code is not required.") + **/ + @ApiModelProperty(value = "If a value is provided, the recipient must enter the value as the access code to view and sign the envelope. Maximum Length: 50 characters and it must conform to the account's access code format setting. If blank, but the signer `accessCode` property is set in the envelope, then that value is used. If blank and the signer `accessCode` property is not set, then the access code is not required.") public String getAccessCode() { return accessCode; } + /** + * setAccessCode. + **/ public void setAccessCode(String accessCode) { this.accessCode = accessCode; } + + /** + * addAccessCodeToEmail. + * + * @return Witness + **/ public Witness addAccessCodeToEmail(String addAccessCodeToEmail) { this.addAccessCodeToEmail = addAccessCodeToEmail; return this; } - /** - * This Optional attribute indicates that the access code will be added to the email sent to the recipient; this nullifies the Security measure of Access Code on the recipient. + /** + * This Optional attribute indicates that the access code will be added to the email sent to the recipient; this nullifies the Security measure of Access Code on the recipient.. * @return addAccessCodeToEmail - **/ - @ApiModelProperty(example = "null", value = "This Optional attribute indicates that the access code will be added to the email sent to the recipient; this nullifies the Security measure of Access Code on the recipient.") + **/ + @ApiModelProperty(value = "This Optional attribute indicates that the access code will be added to the email sent to the recipient; this nullifies the Security measure of Access Code on the recipient.") public String getAddAccessCodeToEmail() { return addAccessCodeToEmail; } + /** + * setAddAccessCodeToEmail. + **/ public void setAddAccessCodeToEmail(String addAccessCodeToEmail) { this.addAccessCodeToEmail = addAccessCodeToEmail; } + + /** + * agentCanEditEmail. + * + * @return Witness + **/ public Witness agentCanEditEmail(String agentCanEditEmail) { this.agentCanEditEmail = agentCanEditEmail; return this; } - /** - * + /** + * . * @return agentCanEditEmail - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAgentCanEditEmail() { return agentCanEditEmail; } + /** + * setAgentCanEditEmail. + **/ public void setAgentCanEditEmail(String agentCanEditEmail) { this.agentCanEditEmail = agentCanEditEmail; } + + /** + * agentCanEditName. + * + * @return Witness + **/ public Witness agentCanEditName(String agentCanEditName) { this.agentCanEditName = agentCanEditName; return this; } - /** - * + /** + * . * @return agentCanEditName - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAgentCanEditName() { return agentCanEditName; } + /** + * setAgentCanEditName. + **/ public void setAgentCanEditName(String agentCanEditName) { this.agentCanEditName = agentCanEditName; } + + /** + * autoNavigation. + * + * @return Witness + **/ public Witness autoNavigation(String autoNavigation) { this.autoNavigation = autoNavigation; return this; } - /** - * + /** + * . * @return autoNavigation - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getAutoNavigation() { return autoNavigation; } + /** + * setAutoNavigation. + **/ public void setAutoNavigation(String autoNavigation) { this.autoNavigation = autoNavigation; } + + /** + * bulkRecipientsUri. + * + * @return Witness + **/ public Witness bulkRecipientsUri(String bulkRecipientsUri) { this.bulkRecipientsUri = bulkRecipientsUri; return this; } - /** - * Contains a URI for an endpoint that allows you to easily retrieve bulk recipient information. + /** + * Contains a URI for an endpoint that allows you to easily retrieve bulk recipient information.. * @return bulkRecipientsUri - **/ - @ApiModelProperty(example = "null", value = "Contains a URI for an endpoint that allows you to easily retrieve bulk recipient information.") + **/ + @ApiModelProperty(value = "Contains a URI for an endpoint that allows you to easily retrieve bulk recipient information.") public String getBulkRecipientsUri() { return bulkRecipientsUri; } + /** + * setBulkRecipientsUri. + **/ public void setBulkRecipientsUri(String bulkRecipientsUri) { this.bulkRecipientsUri = bulkRecipientsUri; } + + /** + * canSignOffline. + * + * @return Witness + **/ public Witness canSignOffline(String canSignOffline) { this.canSignOffline = canSignOffline; return this; } - /** - * When set to **true**, specifies that the signer can perform the signing ceremony offline. + /** + * When set to **true**, specifies that the signer can perform the signing ceremony offline.. * @return canSignOffline - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, specifies that the signer can perform the signing ceremony offline.") + **/ + @ApiModelProperty(value = "When set to **true**, specifies that the signer can perform the signing ceremony offline.") public String getCanSignOffline() { return canSignOffline; } + /** + * setCanSignOffline. + **/ public void setCanSignOffline(String canSignOffline) { this.canSignOffline = canSignOffline; } + + /** + * clientUserId. + * + * @return Witness + **/ public Witness clientUserId(String clientUserId) { this.clientUserId = clientUserId; return this; } - /** - * Specifies whether the recipient is embedded or remote. If the `clientUserId` property is not null then the recipient is embedded. Note that if the `ClientUserId` property is set and either `SignerMustHaveAccount` or `SignerMustLoginToSign` property of the account settings is set to **true**, an error is generated on sending.ng. Maximum length: 100 characters. + /** + * Specifies whether the recipient is embedded or remote. If the `clientUserId` property is not null then the recipient is embedded. Note that if the `ClientUserId` property is set and either `SignerMustHaveAccount` or `SignerMustLoginToSign` property of the account settings is set to **true**, an error is generated on sending.ng. Maximum length: 100 characters. . * @return clientUserId - **/ - @ApiModelProperty(example = "null", value = "Specifies whether the recipient is embedded or remote. If the `clientUserId` property is not null then the recipient is embedded. Note that if the `ClientUserId` property is set and either `SignerMustHaveAccount` or `SignerMustLoginToSign` property of the account settings is set to **true**, an error is generated on sending.ng. Maximum length: 100 characters. ") + **/ + @ApiModelProperty(value = "Specifies whether the recipient is embedded or remote. If the `clientUserId` property is not null then the recipient is embedded. Note that if the `ClientUserId` property is set and either `SignerMustHaveAccount` or `SignerMustLoginToSign` property of the account settings is set to **true**, an error is generated on sending.ng. Maximum length: 100 characters. ") public String getClientUserId() { return clientUserId; } + /** + * setClientUserId. + **/ public void setClientUserId(String clientUserId) { this.clientUserId = clientUserId; } + + /** + * creationReason. + * + * @return Witness + **/ public Witness creationReason(String creationReason) { this.creationReason = creationReason; return this; } - /** - * + /** + * . * @return creationReason - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getCreationReason() { return creationReason; } + /** + * setCreationReason. + **/ public void setCreationReason(String creationReason) { this.creationReason = creationReason; } + + /** + * customFields. + * + * @return Witness + **/ public Witness customFields(java.util.List<String> customFields) { this.customFields = customFields; return this; } - + + /** + * addCustomFieldsItem. + * + * @return Witness + **/ public Witness addCustomFieldsItem(String customFieldsItem) { + if (this.customFields == null) { + this.customFields = new java.util.ArrayList<String>(); + } this.customFields.add(customFieldsItem); return this; } - /** - * An optional array of strings that allows the sender to provide custom data about the recipient. This information is returned in the envelope status but otherwise not used by DocuSign. Each customField string can be a maximum of 100 characters. + /** + * An optional array of strings that allows the sender to provide custom data about the recipient. This information is returned in the envelope status but otherwise not used by DocuSign. Each customField string can be a maximum of 100 characters.. * @return customFields - **/ - @ApiModelProperty(example = "null", value = "An optional array of strings that allows the sender to provide custom data about the recipient. This information is returned in the envelope status but otherwise not used by DocuSign. Each customField string can be a maximum of 100 characters.") + **/ + @ApiModelProperty(value = "An optional array of strings that allows the sender to provide custom data about the recipient. This information is returned in the envelope status but otherwise not used by DocuSign. Each customField string can be a maximum of 100 characters.") public java.util.List<String> getCustomFields() { return customFields; } + /** + * setCustomFields. + **/ public void setCustomFields(java.util.List<String> customFields) { this.customFields = customFields; } + + /** + * declinedDateTime. + * + * @return Witness + **/ public Witness declinedDateTime(String declinedDateTime) { this.declinedDateTime = declinedDateTime; return this; } - /** - * The date and time the recipient declined the document. + /** + * The date and time the recipient declined the document.. * @return declinedDateTime - **/ - @ApiModelProperty(example = "null", value = "The date and time the recipient declined the document.") + **/ + @ApiModelProperty(value = "The date and time the recipient declined the document.") public String getDeclinedDateTime() { return declinedDateTime; } + /** + * setDeclinedDateTime. + **/ public void setDeclinedDateTime(String declinedDateTime) { this.declinedDateTime = declinedDateTime; } + + /** + * declinedReason. + * + * @return Witness + **/ public Witness declinedReason(String declinedReason) { this.declinedReason = declinedReason; return this; } - /** - * The reason the recipient declined the document. + /** + * The reason the recipient declined the document.. * @return declinedReason - **/ - @ApiModelProperty(example = "null", value = "The reason the recipient declined the document.") + **/ + @ApiModelProperty(value = "The reason the recipient declined the document.") public String getDeclinedReason() { return declinedReason; } + /** + * setDeclinedReason. + **/ public void setDeclinedReason(String declinedReason) { this.declinedReason = declinedReason; } + + /** + * defaultRecipient. + * + * @return Witness + **/ public Witness defaultRecipient(String defaultRecipient) { this.defaultRecipient = defaultRecipient; return this; } - /** - * + /** + * . * @return defaultRecipient - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getDefaultRecipient() { return defaultRecipient; } + /** + * setDefaultRecipient. + **/ public void setDefaultRecipient(String defaultRecipient) { this.defaultRecipient = defaultRecipient; } + + /** + * deliveredDateTime. + * + * @return Witness + **/ public Witness deliveredDateTime(String deliveredDateTime) { this.deliveredDateTime = deliveredDateTime; return this; } - /** - * Reserved: For DocuSign use only. + /** + * Reserved: For DocuSign use only.. * @return deliveredDateTime - **/ - @ApiModelProperty(example = "null", value = "Reserved: For DocuSign use only.") + **/ + @ApiModelProperty(value = "Reserved: For DocuSign use only.") public String getDeliveredDateTime() { return deliveredDateTime; } + /** + * setDeliveredDateTime. + **/ public void setDeliveredDateTime(String deliveredDateTime) { this.deliveredDateTime = deliveredDateTime; } + + /** + * deliveryMethod. + * + * @return Witness + **/ public Witness deliveryMethod(String deliveryMethod) { this.deliveryMethod = deliveryMethod; return this; } - /** - * Reserved: For DocuSign use only. + /** + * Reserved: For DocuSign use only.. * @return deliveryMethod - **/ - @ApiModelProperty(example = "null", value = "Reserved: For DocuSign use only.") + **/ + @ApiModelProperty(value = "Reserved: For DocuSign use only.") public String getDeliveryMethod() { return deliveryMethod; } + /** + * setDeliveryMethod. + **/ public void setDeliveryMethod(String deliveryMethod) { this.deliveryMethod = deliveryMethod; } + + /** + * documentVisibility. + * + * @return Witness + **/ public Witness documentVisibility(java.util.List<DocumentVisibility> documentVisibility) { this.documentVisibility = documentVisibility; return this; } - + + /** + * addDocumentVisibilityItem. + * + * @return Witness + **/ public Witness addDocumentVisibilityItem(DocumentVisibility documentVisibilityItem) { + if (this.documentVisibility == null) { + this.documentVisibility = new java.util.ArrayList<DocumentVisibility>(); + } this.documentVisibility.add(documentVisibilityItem); return this; } - /** - * + /** + * . * @return documentVisibility - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List<DocumentVisibility> getDocumentVisibility() { return documentVisibility; } + /** + * setDocumentVisibility. + **/ public void setDocumentVisibility(java.util.List<DocumentVisibility> documentVisibility) { this.documentVisibility = documentVisibility; } + + /** + * email. + * + * @return Witness + **/ public Witness email(String email) { this.email = email; return this; } - /** - * + /** + * . * @return email - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getEmail() { return email; } + /** + * setEmail. + **/ public void setEmail(String email) { this.email = email; } + + /** + * emailNotification. + * + * @return Witness + **/ public Witness emailNotification(RecipientEmailNotification emailNotification) { this.emailNotification = emailNotification; return this; } - /** - * Get emailNotification + /** + * Get emailNotification. * @return emailNotification - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public RecipientEmailNotification getEmailNotification() { return emailNotification; } + /** + * setEmailNotification. + **/ public void setEmailNotification(RecipientEmailNotification emailNotification) { this.emailNotification = emailNotification; } + + /** + * emailRecipientPostSigningURL. + * + * @return Witness + **/ public Witness emailRecipientPostSigningURL(String emailRecipientPostSigningURL) { this.emailRecipientPostSigningURL = emailRecipientPostSigningURL; return this; } - /** - * + /** + * . * @return emailRecipientPostSigningURL - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getEmailRecipientPostSigningURL() { return emailRecipientPostSigningURL; } + /** + * setEmailRecipientPostSigningURL. + **/ public void setEmailRecipientPostSigningURL(String emailRecipientPostSigningURL) { this.emailRecipientPostSigningURL = emailRecipientPostSigningURL; } + + /** + * embeddedRecipientStartURL. + * + * @return Witness + **/ public Witness embeddedRecipientStartURL(String embeddedRecipientStartURL) { this.embeddedRecipientStartURL = embeddedRecipientStartURL; return this; } - /** - * Specifies a sender provided valid URL string for redirecting an embedded recipient. When using this option, the embedded recipient still receives an email from DocuSign, just as a remote recipient would. When the document link in the email is clicked the recipient is redirected, through DocuSign, to the supplied URL to complete their actions. When routing to the URL, the sender's system (the server responding to the URL) must request a recipient token to launch a signing session. If set to `SIGN_AT_DOCUSIGN`, the recipient is directed to an embedded signing or viewing process directly at DocuSign. The signing or viewing action is initiated by the DocuSign system and the transaction activity and Certificate of Completion records will reflect this. In all other ways the process is identical to an embedded signing or viewing operation that is launched by any partner. It is important to remember that in a typical embedded workflow the authentication of an embedded recipient is the responsibility of the sending application, DocuSign expects that senders will follow their own process for establishing the recipient's identity. In this workflow the recipient goes through the sending application before the embedded signing or viewing process in initiated. However, when the sending application sets `EmbeddedRecipientStartURL=SIGN_AT_DOCUSIGN`, the recipient goes directly to the embedded signing or viewing process bypassing the sending application and any authentication steps the sending application would use. In this case, DocuSign recommends that you use one of the normal DocuSign authentication features (Access Code, Phone Authentication, SMS Authentication, etc.) to verify the identity of the recipient. If the `clientUserId` property is NOT set, and the `embeddedRecipientStartURL` is set, DocuSign will ignore the redirect URL and launch the standard signing process for the email recipient. Information can be appended to the embedded recipient start URL using merge fields. The available merge fields items are: envelopeId, recipientId, recipientName, recipientEmail, and customFields. The `customFields` property must be set fort the recipient or envelope. The merge fields are enclosed in double brackets. *Example*: `http://senderHost/[[mergeField1]]/ beginSigningSession? [[mergeField2]]&[[mergeField3]]` + /** + * Specifies a sender provided valid URL string for redirecting an embedded recipient. When using this option, the embedded recipient still receives an email from DocuSign, just as a remote recipient would. When the document link in the email is clicked the recipient is redirected, through DocuSign, to the supplied URL to complete their actions. When routing to the URL, the sender's system (the server responding to the URL) must request a recipient token to launch a signing session. If set to `SIGN_AT_DOCUSIGN`, the recipient is directed to an embedded signing or viewing process directly at DocuSign. The signing or viewing action is initiated by the DocuSign system and the transaction activity and Certificate of Completion records will reflect this. In all other ways the process is identical to an embedded signing or viewing operation that is launched by any partner. It is important to remember that in a typical embedded workflow the authentication of an embedded recipient is the responsibility of the sending application, DocuSign expects that senders will follow their own process for establishing the recipient's identity. In this workflow the recipient goes through the sending application before the embedded signing or viewing process in initiated. However, when the sending application sets `EmbeddedRecipientStartURL=SIGN_AT_DOCUSIGN`, the recipient goes directly to the embedded signing or viewing process bypassing the sending application and any authentication steps the sending application would use. In this case, DocuSign recommends that you use one of the normal DocuSign authentication features (Access Code, Phone Authentication, SMS Authentication, etc.) to verify the identity of the recipient. If the `clientUserId` property is NOT set, and the `embeddedRecipientStartURL` is set, DocuSign will ignore the redirect URL and launch the standard signing process for the email recipient. Information can be appended to the embedded recipient start URL using merge fields. The available merge fields items are: envelopeId, recipientId, recipientName, recipientEmail, and customFields. The `customFields` property must be set fort the recipient or envelope. The merge fields are enclosed in double brackets. *Example*: `http://senderHost/[[mergeField1]]/ beginSigningSession? [[mergeField2]]&[[mergeField3]]` . * @return embeddedRecipientStartURL - **/ - @ApiModelProperty(example = "null", value = "Specifies a sender provided valid URL string for redirecting an embedded recipient. When using this option, the embedded recipient still receives an email from DocuSign, just as a remote recipient would. When the document link in the email is clicked the recipient is redirected, through DocuSign, to the supplied URL to complete their actions. When routing to the URL, the sender's system (the server responding to the URL) must request a recipient token to launch a signing session. If set to `SIGN_AT_DOCUSIGN`, the recipient is directed to an embedded signing or viewing process directly at DocuSign. The signing or viewing action is initiated by the DocuSign system and the transaction activity and Certificate of Completion records will reflect this. In all other ways the process is identical to an embedded signing or viewing operation that is launched by any partner. It is important to remember that in a typical embedded workflow the authentication of an embedded recipient is the responsibility of the sending application, DocuSign expects that senders will follow their own process for establishing the recipient's identity. In this workflow the recipient goes through the sending application before the embedded signing or viewing process in initiated. However, when the sending application sets `EmbeddedRecipientStartURL=SIGN_AT_DOCUSIGN`, the recipient goes directly to the embedded signing or viewing process bypassing the sending application and any authentication steps the sending application would use. In this case, DocuSign recommends that you use one of the normal DocuSign authentication features (Access Code, Phone Authentication, SMS Authentication, etc.) to verify the identity of the recipient. If the `clientUserId` property is NOT set, and the `embeddedRecipientStartURL` is set, DocuSign will ignore the redirect URL and launch the standard signing process for the email recipient. Information can be appended to the embedded recipient start URL using merge fields. The available merge fields items are: envelopeId, recipientId, recipientName, recipientEmail, and customFields. The `customFields` property must be set fort the recipient or envelope. The merge fields are enclosed in double brackets. *Example*: `http://senderHost/[[mergeField1]]/ beginSigningSession? [[mergeField2]]&[[mergeField3]]` ") + **/ + @ApiModelProperty(value = "Specifies a sender provided valid URL string for redirecting an embedded recipient. When using this option, the embedded recipient still receives an email from DocuSign, just as a remote recipient would. When the document link in the email is clicked the recipient is redirected, through DocuSign, to the supplied URL to complete their actions. When routing to the URL, the sender's system (the server responding to the URL) must request a recipient token to launch a signing session. If set to `SIGN_AT_DOCUSIGN`, the recipient is directed to an embedded signing or viewing process directly at DocuSign. The signing or viewing action is initiated by the DocuSign system and the transaction activity and Certificate of Completion records will reflect this. In all other ways the process is identical to an embedded signing or viewing operation that is launched by any partner. It is important to remember that in a typical embedded workflow the authentication of an embedded recipient is the responsibility of the sending application, DocuSign expects that senders will follow their own process for establishing the recipient's identity. In this workflow the recipient goes through the sending application before the embedded signing or viewing process in initiated. However, when the sending application sets `EmbeddedRecipientStartURL=SIGN_AT_DOCUSIGN`, the recipient goes directly to the embedded signing or viewing process bypassing the sending application and any authentication steps the sending application would use. In this case, DocuSign recommends that you use one of the normal DocuSign authentication features (Access Code, Phone Authentication, SMS Authentication, etc.) to verify the identity of the recipient. If the `clientUserId` property is NOT set, and the `embeddedRecipientStartURL` is set, DocuSign will ignore the redirect URL and launch the standard signing process for the email recipient. Information can be appended to the embedded recipient start URL using merge fields. The available merge fields items are: envelopeId, recipientId, recipientName, recipientEmail, and customFields. The `customFields` property must be set fort the recipient or envelope. The merge fields are enclosed in double brackets. *Example*: `http://senderHost/[[mergeField1]]/ beginSigningSession? [[mergeField2]]&[[mergeField3]]` ") public String getEmbeddedRecipientStartURL() { return embeddedRecipientStartURL; } + /** + * setEmbeddedRecipientStartURL. + **/ public void setEmbeddedRecipientStartURL(String embeddedRecipientStartURL) { this.embeddedRecipientStartURL = embeddedRecipientStartURL; } + + /** + * errorDetails. + * + * @return Witness + **/ public Witness errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * excludedDocuments. + * + * @return Witness + **/ public Witness excludedDocuments(java.util.List<String> excludedDocuments) { this.excludedDocuments = excludedDocuments; return this; } - + + /** + * addExcludedDocumentsItem. + * + * @return Witness + **/ public Witness addExcludedDocumentsItem(String excludedDocumentsItem) { + if (this.excludedDocuments == null) { + this.excludedDocuments = new java.util.ArrayList<String>(); + } this.excludedDocuments.add(excludedDocumentsItem); return this; } - /** - * Specifies the documents that are not visible to this recipient. Document Visibility must be enabled for the account and the `enforceSignerVisibility` property must be set to **true** for the envelope to use this. When enforce signer visibility is enabled, documents with tabs can only be viewed by signers that have a tab on that document. Recipients that have an administrative role (Agent, Editor, or Intermediaries) or informational role (Certified Deliveries or Carbon Copies) can always see all the documents in an envelope, unless they are specifically excluded using this setting when an envelope is sent. Documents that do not have tabs are always visible to all recipients, unless they are specifically excluded using this setting when an envelope is sent. + /** + * Specifies the documents that are not visible to this recipient. Document Visibility must be enabled for the account and the `enforceSignerVisibility` property must be set to **true** for the envelope to use this. When enforce signer visibility is enabled, documents with tabs can only be viewed by signers that have a tab on that document. Recipients that have an administrative role (Agent, Editor, or Intermediaries) or informational role (Certified Deliveries or Carbon Copies) can always see all the documents in an envelope, unless they are specifically excluded using this setting when an envelope is sent. Documents that do not have tabs are always visible to all recipients, unless they are specifically excluded using this setting when an envelope is sent.. * @return excludedDocuments - **/ - @ApiModelProperty(example = "null", value = "Specifies the documents that are not visible to this recipient. Document Visibility must be enabled for the account and the `enforceSignerVisibility` property must be set to **true** for the envelope to use this. When enforce signer visibility is enabled, documents with tabs can only be viewed by signers that have a tab on that document. Recipients that have an administrative role (Agent, Editor, or Intermediaries) or informational role (Certified Deliveries or Carbon Copies) can always see all the documents in an envelope, unless they are specifically excluded using this setting when an envelope is sent. Documents that do not have tabs are always visible to all recipients, unless they are specifically excluded using this setting when an envelope is sent.") + **/ + @ApiModelProperty(value = "Specifies the documents that are not visible to this recipient. Document Visibility must be enabled for the account and the `enforceSignerVisibility` property must be set to **true** for the envelope to use this. When enforce signer visibility is enabled, documents with tabs can only be viewed by signers that have a tab on that document. Recipients that have an administrative role (Agent, Editor, or Intermediaries) or informational role (Certified Deliveries or Carbon Copies) can always see all the documents in an envelope, unless they are specifically excluded using this setting when an envelope is sent. Documents that do not have tabs are always visible to all recipients, unless they are specifically excluded using this setting when an envelope is sent.") public java.util.List<String> getExcludedDocuments() { return excludedDocuments; } + /** + * setExcludedDocuments. + **/ public void setExcludedDocuments(java.util.List<String> excludedDocuments) { this.excludedDocuments = excludedDocuments; } + + /** + * faxNumber. + * + * @return Witness + **/ public Witness faxNumber(String faxNumber) { this.faxNumber = faxNumber; return this; } - /** - * Reserved: + /** + * Reserved:. * @return faxNumber - **/ - @ApiModelProperty(example = "null", value = "Reserved:") + **/ + @ApiModelProperty(value = "Reserved:") public String getFaxNumber() { return faxNumber; } + /** + * setFaxNumber. + **/ public void setFaxNumber(String faxNumber) { this.faxNumber = faxNumber; } + + /** + * firstName. + * + * @return Witness + **/ public Witness firstName(String firstName) { this.firstName = firstName; return this; } - /** - * The user's first name. Maximum Length: 50 characters. + /** + * The user's first name. Maximum Length: 50 characters.. * @return firstName - **/ - @ApiModelProperty(example = "null", value = "The user's first name. Maximum Length: 50 characters.") + **/ + @ApiModelProperty(value = "The user's first name. Maximum Length: 50 characters.") public String getFirstName() { return firstName; } + /** + * setFirstName. + **/ public void setFirstName(String firstName) { this.firstName = firstName; } + + /** + * fullName. + * + * @return Witness + **/ public Witness fullName(String fullName) { this.fullName = fullName; return this; } - /** - * + /** + * . * @return fullName - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getFullName() { return fullName; } + /** + * setFullName. + **/ public void setFullName(String fullName) { this.fullName = fullName; } + + /** + * idCheckConfigurationName. + * + * @return Witness + **/ public Witness idCheckConfigurationName(String idCheckConfigurationName) { this.idCheckConfigurationName = idCheckConfigurationName; return this; } - /** - * Specifies authentication check by name. The names used here must be the same as the authentication type names used by the account (these name can also be found in the web console sending interface in the Identify list for a recipient,) This overrides any default authentication setting. *Example*: Your account has ID Check and SMS Authentication available and in the web console Identify list these appear as 'ID Check $' and 'SMS Auth $'. To use ID check in an envelope, the idCheckConfigurationName should be 'ID Check '. If you wanted to use SMS, it would be 'SMS Auth $' and you would need to add you would need to add phone number information to the `smsAuthentication` node. + /** + * Specifies authentication check by name. The names used here must be the same as the authentication type names used by the account (these name can also be found in the web console sending interface in the Identify list for a recipient,) This overrides any default authentication setting. *Example*: Your account has ID Check and SMS Authentication available and in the web console Identify list these appear as 'ID Check $' and 'SMS Auth $'. To use ID check in an envelope, the idCheckConfigurationName should be 'ID Check '. If you wanted to use SMS, it would be 'SMS Auth $' and you would need to add you would need to add phone number information to the `smsAuthentication` node.. * @return idCheckConfigurationName - **/ - @ApiModelProperty(example = "null", value = "Specifies authentication check by name. The names used here must be the same as the authentication type names used by the account (these name can also be found in the web console sending interface in the Identify list for a recipient,) This overrides any default authentication setting. *Example*: Your account has ID Check and SMS Authentication available and in the web console Identify list these appear as 'ID Check $' and 'SMS Auth $'. To use ID check in an envelope, the idCheckConfigurationName should be 'ID Check '. If you wanted to use SMS, it would be 'SMS Auth $' and you would need to add you would need to add phone number information to the `smsAuthentication` node.") + **/ + @ApiModelProperty(value = "Specifies authentication check by name. The names used here must be the same as the authentication type names used by the account (these name can also be found in the web console sending interface in the Identify list for a recipient,) This overrides any default authentication setting. *Example*: Your account has ID Check and SMS Authentication available and in the web console Identify list these appear as 'ID Check $' and 'SMS Auth $'. To use ID check in an envelope, the idCheckConfigurationName should be 'ID Check '. If you wanted to use SMS, it would be 'SMS Auth $' and you would need to add you would need to add phone number information to the `smsAuthentication` node.") public String getIdCheckConfigurationName() { return idCheckConfigurationName; } + /** + * setIdCheckConfigurationName. + **/ public void setIdCheckConfigurationName(String idCheckConfigurationName) { this.idCheckConfigurationName = idCheckConfigurationName; } + + /** + * idCheckInformationInput. + * + * @return Witness + **/ public Witness idCheckInformationInput(IdCheckInformationInput idCheckInformationInput) { this.idCheckInformationInput = idCheckInformationInput; return this; } - /** - * Get idCheckInformationInput + /** + * Get idCheckInformationInput. * @return idCheckInformationInput - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public IdCheckInformationInput getIdCheckInformationInput() { return idCheckInformationInput; } + /** + * setIdCheckInformationInput. + **/ public void setIdCheckInformationInput(IdCheckInformationInput idCheckInformationInput) { this.idCheckInformationInput = idCheckInformationInput; } + + /** + * identityVerification. + * + * @return Witness + **/ + public Witness identityVerification(RecipientIdentityVerification identityVerification) { + this.identityVerification = identityVerification; + return this; + } + + /** + * Get identityVerification. + * @return identityVerification + **/ + @ApiModelProperty(value = "") + public RecipientIdentityVerification getIdentityVerification() { + return identityVerification; + } + + /** + * setIdentityVerification. + **/ + public void setIdentityVerification(RecipientIdentityVerification identityVerification) { + this.identityVerification = identityVerification; + } + + + /** + * inheritEmailNotificationConfiguration. + * + * @return Witness + **/ public Witness inheritEmailNotificationConfiguration(String inheritEmailNotificationConfiguration) { this.inheritEmailNotificationConfiguration = inheritEmailNotificationConfiguration; return this; } - /** - * When set to **true** and the envelope recipient creates a DocuSign account after signing, the Manage Account Email Notification settings are used as the default settings for the recipient's account. + /** + * When set to **true** and the envelope recipient creates a DocuSign account after signing, the Manage Account Email Notification settings are used as the default settings for the recipient's account. . * @return inheritEmailNotificationConfiguration - **/ - @ApiModelProperty(example = "null", value = "When set to **true** and the envelope recipient creates a DocuSign account after signing, the Manage Account Email Notification settings are used as the default settings for the recipient's account. ") + **/ + @ApiModelProperty(value = "When set to **true** and the envelope recipient creates a DocuSign account after signing, the Manage Account Email Notification settings are used as the default settings for the recipient's account. ") public String getInheritEmailNotificationConfiguration() { return inheritEmailNotificationConfiguration; } + /** + * setInheritEmailNotificationConfiguration. + **/ public void setInheritEmailNotificationConfiguration(String inheritEmailNotificationConfiguration) { this.inheritEmailNotificationConfiguration = inheritEmailNotificationConfiguration; } + + /** + * isBulkRecipient. + * + * @return Witness + **/ public Witness isBulkRecipient(String isBulkRecipient) { this.isBulkRecipient = isBulkRecipient; return this; } - /** - * + /** + * . * @return isBulkRecipient - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getIsBulkRecipient() { return isBulkRecipient; } + /** + * setIsBulkRecipient. + **/ public void setIsBulkRecipient(String isBulkRecipient) { this.isBulkRecipient = isBulkRecipient; } + + /** + * lastName. + * + * @return Witness + **/ public Witness lastName(String lastName) { this.lastName = lastName; return this; } - /** - * + /** + * . * @return lastName - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getLastName() { return lastName; } + /** + * setLastName. + **/ public void setLastName(String lastName) { this.lastName = lastName; } + + /** + * name. + * + * @return Witness + **/ public Witness name(String name) { this.name = name; return this; } - /** - * + /** + * . * @return name - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * note. + * + * @return Witness + **/ public Witness note(String note) { this.note = note; return this; } - /** - * Specifies a note that is unique to this recipient. This note is sent to the recipient via the signing email. The note displays in the signing UI near the upper left corner of the document on the signing screen. Maximum Length: 1000 characters. + /** + * Specifies a note that is unique to this recipient. This note is sent to the recipient via the signing email. The note displays in the signing UI near the upper left corner of the document on the signing screen. Maximum Length: 1000 characters.. * @return note - **/ - @ApiModelProperty(example = "null", value = "Specifies a note that is unique to this recipient. This note is sent to the recipient via the signing email. The note displays in the signing UI near the upper left corner of the document on the signing screen. Maximum Length: 1000 characters.") + **/ + @ApiModelProperty(value = "Specifies a note that is unique to this recipient. This note is sent to the recipient via the signing email. The note displays in the signing UI near the upper left corner of the document on the signing screen. Maximum Length: 1000 characters.") public String getNote() { return note; } + /** + * setNote. + **/ public void setNote(String note) { this.note = note; } + + /** + * offlineAttributes. + * + * @return Witness + **/ public Witness offlineAttributes(OfflineAttributes offlineAttributes) { this.offlineAttributes = offlineAttributes; return this; } - /** - * Get offlineAttributes + /** + * Get offlineAttributes. * @return offlineAttributes - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public OfflineAttributes getOfflineAttributes() { return offlineAttributes; } + /** + * setOfflineAttributes. + **/ public void setOfflineAttributes(OfflineAttributes offlineAttributes) { this.offlineAttributes = offlineAttributes; } + + /** + * phoneAuthentication. + * + * @return Witness + **/ public Witness phoneAuthentication(RecipientPhoneAuthentication phoneAuthentication) { this.phoneAuthentication = phoneAuthentication; return this; } - /** - * Get phoneAuthentication + /** + * Get phoneAuthentication. * @return phoneAuthentication - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public RecipientPhoneAuthentication getPhoneAuthentication() { return phoneAuthentication; } + /** + * setPhoneAuthentication. + **/ public void setPhoneAuthentication(RecipientPhoneAuthentication phoneAuthentication) { this.phoneAuthentication = phoneAuthentication; } + + /** + * proofFile. + * + * @return Witness + **/ + public Witness proofFile(RecipientProofFile proofFile) { + this.proofFile = proofFile; + return this; + } + + /** + * Get proofFile. + * @return proofFile + **/ + @ApiModelProperty(value = "") + public RecipientProofFile getProofFile() { + return proofFile; + } + + /** + * setProofFile. + **/ + public void setProofFile(RecipientProofFile proofFile) { + this.proofFile = proofFile; + } + + + /** + * recipientAttachments. + * + * @return Witness + **/ public Witness recipientAttachments(java.util.List<RecipientAttachment> recipientAttachments) { this.recipientAttachments = recipientAttachments; return this; } - + + /** + * addRecipientAttachmentsItem. + * + * @return Witness + **/ public Witness addRecipientAttachmentsItem(RecipientAttachment recipientAttachmentsItem) { + if (this.recipientAttachments == null) { + this.recipientAttachments = new java.util.ArrayList<RecipientAttachment>(); + } this.recipientAttachments.add(recipientAttachmentsItem); return this; } - /** - * Reserved: + /** + * Reserved:. * @return recipientAttachments - **/ - @ApiModelProperty(example = "null", value = "Reserved:") + **/ + @ApiModelProperty(value = "Reserved:") public java.util.List<RecipientAttachment> getRecipientAttachments() { return recipientAttachments; } + /** + * setRecipientAttachments. + **/ public void setRecipientAttachments(java.util.List<RecipientAttachment> recipientAttachments) { this.recipientAttachments = recipientAttachments; } + + /** + * recipientAuthenticationStatus. + * + * @return Witness + **/ public Witness recipientAuthenticationStatus(AuthenticationStatus recipientAuthenticationStatus) { this.recipientAuthenticationStatus = recipientAuthenticationStatus; return this; } - /** - * Get recipientAuthenticationStatus + /** + * Get recipientAuthenticationStatus. * @return recipientAuthenticationStatus - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public AuthenticationStatus getRecipientAuthenticationStatus() { return recipientAuthenticationStatus; } + /** + * setRecipientAuthenticationStatus. + **/ public void setRecipientAuthenticationStatus(AuthenticationStatus recipientAuthenticationStatus) { this.recipientAuthenticationStatus = recipientAuthenticationStatus; } + + /** + * recipientId. + * + * @return Witness + **/ public Witness recipientId(String recipientId) { this.recipientId = recipientId; return this; } - /** - * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document. + /** + * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.. * @return recipientId - **/ - @ApiModelProperty(example = "null", value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") + **/ + @ApiModelProperty(value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") public String getRecipientId() { return recipientId; } + /** + * setRecipientId. + **/ public void setRecipientId(String recipientId) { this.recipientId = recipientId; } + + /** + * recipientIdGuid. + * + * @return Witness + **/ public Witness recipientIdGuid(String recipientIdGuid) { this.recipientIdGuid = recipientIdGuid; return this; } - /** - * + /** + * . * @return recipientIdGuid - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getRecipientIdGuid() { return recipientIdGuid; } + /** + * setRecipientIdGuid. + **/ public void setRecipientIdGuid(String recipientIdGuid) { this.recipientIdGuid = recipientIdGuid; } + + /** + * recipientSignatureProviders. + * + * @return Witness + **/ public Witness recipientSignatureProviders(java.util.List<RecipientSignatureProvider> recipientSignatureProviders) { this.recipientSignatureProviders = recipientSignatureProviders; return this; } - + + /** + * addRecipientSignatureProvidersItem. + * + * @return Witness + **/ public Witness addRecipientSignatureProvidersItem(RecipientSignatureProvider recipientSignatureProvidersItem) { + if (this.recipientSignatureProviders == null) { + this.recipientSignatureProviders = new java.util.ArrayList<RecipientSignatureProvider>(); + } this.recipientSignatureProviders.add(recipientSignatureProvidersItem); return this; } - /** - * + /** + * . * @return recipientSignatureProviders - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List<RecipientSignatureProvider> getRecipientSignatureProviders() { return recipientSignatureProviders; } + /** + * setRecipientSignatureProviders. + **/ public void setRecipientSignatureProviders(java.util.List<RecipientSignatureProvider> recipientSignatureProviders) { this.recipientSignatureProviders = recipientSignatureProviders; } + + /** + * recipientSuppliesTabs. + * + * @return Witness + **/ public Witness recipientSuppliesTabs(String recipientSuppliesTabs) { this.recipientSuppliesTabs = recipientSuppliesTabs; return this; } - /** - * + /** + * . * @return recipientSuppliesTabs - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getRecipientSuppliesTabs() { return recipientSuppliesTabs; } + /** + * setRecipientSuppliesTabs. + **/ public void setRecipientSuppliesTabs(String recipientSuppliesTabs) { this.recipientSuppliesTabs = recipientSuppliesTabs; } + + /** + * requireIdLookup. + * + * @return Witness + **/ public Witness requireIdLookup(String requireIdLookup) { this.requireIdLookup = requireIdLookup; return this; } - /** - * When set to **true**, the recipient is required to use the specified ID check method (including Phone and SMS authentication) to validate their identity. + /** + * When set to **true**, the recipient is required to use the specified ID check method (including Phone and SMS authentication) to validate their identity. . * @return requireIdLookup - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the recipient is required to use the specified ID check method (including Phone and SMS authentication) to validate their identity. ") + **/ + @ApiModelProperty(value = "When set to **true**, the recipient is required to use the specified ID check method (including Phone and SMS authentication) to validate their identity. ") public String getRequireIdLookup() { return requireIdLookup; } + /** + * setRequireIdLookup. + **/ public void setRequireIdLookup(String requireIdLookup) { this.requireIdLookup = requireIdLookup; } + + /** + * requireSignerCertificate. + * + * @return Witness + **/ public Witness requireSignerCertificate(String requireSignerCertificate) { this.requireSignerCertificate = requireSignerCertificate; return this; } - /** - * + /** + * . * @return requireSignerCertificate - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getRequireSignerCertificate() { return requireSignerCertificate; } + /** + * setRequireSignerCertificate. + **/ public void setRequireSignerCertificate(String requireSignerCertificate) { this.requireSignerCertificate = requireSignerCertificate; } + + /** + * requireSignOnPaper. + * + * @return Witness + **/ public Witness requireSignOnPaper(String requireSignOnPaper) { this.requireSignOnPaper = requireSignOnPaper; return this; } - /** - * + /** + * . * @return requireSignOnPaper - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getRequireSignOnPaper() { return requireSignOnPaper; } + /** + * setRequireSignOnPaper. + **/ public void setRequireSignOnPaper(String requireSignOnPaper) { this.requireSignOnPaper = requireSignOnPaper; } + + /** + * roleName. + * + * @return Witness + **/ public Witness roleName(String roleName) { this.roleName = roleName; return this; } - /** - * Optional element. Specifies the role name associated with the recipient.<br/><br/>This is required when working with template recipients. + /** + * Optional element. Specifies the role name associated with the recipient.<br/><br/>This is required when working with template recipients.. * @return roleName - **/ - @ApiModelProperty(example = "null", value = "Optional element. Specifies the role name associated with the recipient.<br/><br/>This is required when working with template recipients.") + **/ + @ApiModelProperty(value = "Optional element. Specifies the role name associated with the recipient.<br/><br/>This is required when working with template recipients.") public String getRoleName() { return roleName; } + /** + * setRoleName. + **/ public void setRoleName(String roleName) { this.roleName = roleName; } + + /** + * routingOrder. + * + * @return Witness + **/ public Witness routingOrder(String routingOrder) { this.routingOrder = routingOrder; return this; } - /** - * Specifies the routing order of the recipient in the envelope. + /** + * Specifies the routing order of the recipient in the envelope. . * @return routingOrder - **/ - @ApiModelProperty(example = "null", value = "Specifies the routing order of the recipient in the envelope. ") + **/ + @ApiModelProperty(value = "Specifies the routing order of the recipient in the envelope. ") public String getRoutingOrder() { return routingOrder; } + /** + * setRoutingOrder. + **/ public void setRoutingOrder(String routingOrder) { this.routingOrder = routingOrder; } + + /** + * samlAuthentication. + * + * @return Witness + **/ public Witness samlAuthentication(RecipientSAMLAuthentication samlAuthentication) { this.samlAuthentication = samlAuthentication; return this; } - /** - * Get samlAuthentication + /** + * Get samlAuthentication. * @return samlAuthentication - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public RecipientSAMLAuthentication getSamlAuthentication() { return samlAuthentication; } + /** + * setSamlAuthentication. + **/ public void setSamlAuthentication(RecipientSAMLAuthentication samlAuthentication) { this.samlAuthentication = samlAuthentication; } + + /** + * sentDateTime. + * + * @return Witness + **/ public Witness sentDateTime(String sentDateTime) { this.sentDateTime = sentDateTime; return this; } - /** - * The date and time the envelope was sent. + /** + * The date and time the envelope was sent.. * @return sentDateTime - **/ - @ApiModelProperty(example = "null", value = "The date and time the envelope was sent.") + **/ + @ApiModelProperty(value = "The date and time the envelope was sent.") public String getSentDateTime() { return sentDateTime; } + /** + * setSentDateTime. + **/ public void setSentDateTime(String sentDateTime) { this.sentDateTime = sentDateTime; } + + /** + * signatureInfo. + * + * @return Witness + **/ public Witness signatureInfo(RecipientSignatureInformation signatureInfo) { this.signatureInfo = signatureInfo; return this; } - /** - * Get signatureInfo + /** + * Get signatureInfo. * @return signatureInfo - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public RecipientSignatureInformation getSignatureInfo() { return signatureInfo; } + /** + * setSignatureInfo. + **/ public void setSignatureInfo(RecipientSignatureInformation signatureInfo) { this.signatureInfo = signatureInfo; } + + /** + * signedDateTime. + * + * @return Witness + **/ public Witness signedDateTime(String signedDateTime) { this.signedDateTime = signedDateTime; return this; } - /** - * Reserved: For DocuSign use only. + /** + * Reserved: For DocuSign use only. . * @return signedDateTime - **/ - @ApiModelProperty(example = "null", value = "Reserved: For DocuSign use only. ") + **/ + @ApiModelProperty(value = "Reserved: For DocuSign use only. ") public String getSignedDateTime() { return signedDateTime; } + /** + * setSignedDateTime. + **/ public void setSignedDateTime(String signedDateTime) { this.signedDateTime = signedDateTime; } + + /** + * signInEachLocation. + * + * @return Witness + **/ public Witness signInEachLocation(String signInEachLocation) { this.signInEachLocation = signInEachLocation; return this; } - /** - * When set to **true**, specifies that the signer must sign in all locations. + /** + * When set to **true**, specifies that the signer must sign in all locations.. * @return signInEachLocation - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, specifies that the signer must sign in all locations.") + **/ + @ApiModelProperty(value = "When set to **true**, specifies that the signer must sign in all locations.") public String getSignInEachLocation() { return signInEachLocation; } + /** + * setSignInEachLocation. + **/ public void setSignInEachLocation(String signInEachLocation) { this.signInEachLocation = signInEachLocation; } + + /** + * signingGroupId. + * + * @return Witness + **/ public Witness signingGroupId(String signingGroupId) { this.signingGroupId = signingGroupId; return this; } - /** - * When set to **true** and the feature is enabled in the sender's account, the signing recipient is required to draw signatures and initials at each signature/initial tab ( instead of adopting a signature/initial style or only drawing a signature/initial once). + /** + * When set to **true** and the feature is enabled in the sender's account, the signing recipient is required to draw signatures and initials at each signature/initial tab ( instead of adopting a signature/initial style or only drawing a signature/initial once).. * @return signingGroupId - **/ - @ApiModelProperty(example = "null", value = "When set to **true** and the feature is enabled in the sender's account, the signing recipient is required to draw signatures and initials at each signature/initial tab ( instead of adopting a signature/initial style or only drawing a signature/initial once).") + **/ + @ApiModelProperty(value = "When set to **true** and the feature is enabled in the sender's account, the signing recipient is required to draw signatures and initials at each signature/initial tab ( instead of adopting a signature/initial style or only drawing a signature/initial once).") public String getSigningGroupId() { return signingGroupId; } + /** + * setSigningGroupId. + **/ public void setSigningGroupId(String signingGroupId) { this.signingGroupId = signingGroupId; } + + /** + * signingGroupName. + * + * @return Witness + **/ public Witness signingGroupName(String signingGroupName) { this.signingGroupName = signingGroupName; return this; } - /** - * The display name for the signing group. Maximum Length: 100 characters. + /** + * The display name for the signing group. Maximum Length: 100 characters. . * @return signingGroupName - **/ - @ApiModelProperty(example = "null", value = "The display name for the signing group. Maximum Length: 100 characters. ") + **/ + @ApiModelProperty(value = "The display name for the signing group. Maximum Length: 100 characters. ") public String getSigningGroupName() { return signingGroupName; } + /** + * setSigningGroupName. + **/ public void setSigningGroupName(String signingGroupName) { this.signingGroupName = signingGroupName; } + + /** + * signingGroupUsers. + * + * @return Witness + **/ public Witness signingGroupUsers(java.util.List<UserInfo> signingGroupUsers) { this.signingGroupUsers = signingGroupUsers; return this; } - + + /** + * addSigningGroupUsersItem. + * + * @return Witness + **/ public Witness addSigningGroupUsersItem(UserInfo signingGroupUsersItem) { + if (this.signingGroupUsers == null) { + this.signingGroupUsers = new java.util.ArrayList<UserInfo>(); + } this.signingGroupUsers.add(signingGroupUsersItem); return this; } - /** - * A complex type that contains information about users in the signing group. + /** + * A complex type that contains information about users in the signing group.. * @return signingGroupUsers - **/ - @ApiModelProperty(example = "null", value = "A complex type that contains information about users in the signing group.") + **/ + @ApiModelProperty(value = "A complex type that contains information about users in the signing group.") public java.util.List<UserInfo> getSigningGroupUsers() { return signingGroupUsers; } + /** + * setSigningGroupUsers. + **/ public void setSigningGroupUsers(java.util.List<UserInfo> signingGroupUsers) { this.signingGroupUsers = signingGroupUsers; } + + /** + * smsAuthentication. + * + * @return Witness + **/ public Witness smsAuthentication(RecipientSMSAuthentication smsAuthentication) { this.smsAuthentication = smsAuthentication; return this; } - /** - * Get smsAuthentication + /** + * Get smsAuthentication. * @return smsAuthentication - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public RecipientSMSAuthentication getSmsAuthentication() { return smsAuthentication; } + /** + * setSmsAuthentication. + **/ public void setSmsAuthentication(RecipientSMSAuthentication smsAuthentication) { this.smsAuthentication = smsAuthentication; } + + /** + * socialAuthentications. + * + * @return Witness + **/ public Witness socialAuthentications(java.util.List<SocialAuthentication> socialAuthentications) { this.socialAuthentications = socialAuthentications; return this; } - + + /** + * addSocialAuthenticationsItem. + * + * @return Witness + **/ public Witness addSocialAuthenticationsItem(SocialAuthentication socialAuthenticationsItem) { + if (this.socialAuthentications == null) { + this.socialAuthentications = new java.util.ArrayList<SocialAuthentication>(); + } this.socialAuthentications.add(socialAuthenticationsItem); return this; } - /** - * Lists the social ID type that can be used for recipient authentication. + /** + * Lists the social ID type that can be used for recipient authentication.. * @return socialAuthentications - **/ - @ApiModelProperty(example = "null", value = " Lists the social ID type that can be used for recipient authentication.") + **/ + @ApiModelProperty(value = " Lists the social ID type that can be used for recipient authentication.") public java.util.List<SocialAuthentication> getSocialAuthentications() { return socialAuthentications; } + /** + * setSocialAuthentications. + **/ public void setSocialAuthentications(java.util.List<SocialAuthentication> socialAuthentications) { this.socialAuthentications = socialAuthentications; } + + /** + * status. + * + * @return Witness + **/ public Witness status(String status) { this.status = status; return this; } - /** - * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. + /** + * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.. * @return status - **/ - @ApiModelProperty(example = "null", value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") + **/ + @ApiModelProperty(value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") public String getStatus() { return status; } + /** + * setStatus. + **/ public void setStatus(String status) { this.status = status; } + + /** + * tabs. + * + * @return Witness + **/ public Witness tabs(Tabs tabs) { this.tabs = tabs; return this; } - /** - * Get tabs + /** + * Get tabs. * @return tabs - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public Tabs getTabs() { return tabs; } + /** + * setTabs. + **/ public void setTabs(Tabs tabs) { this.tabs = tabs; } + + /** + * templateLocked. + * + * @return Witness + **/ public Witness templateLocked(String templateLocked) { this.templateLocked = templateLocked; return this; } - /** - * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. . * @return templateLocked - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") + **/ + @ApiModelProperty(value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") public String getTemplateLocked() { return templateLocked; } + /** + * setTemplateLocked. + **/ public void setTemplateLocked(String templateLocked) { this.templateLocked = templateLocked; } + + /** + * templateRequired. + * + * @return Witness + **/ public Witness templateRequired(String templateRequired) { this.templateRequired = templateRequired; return this; } - /** - * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.. * @return templateRequired - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") + **/ + @ApiModelProperty(value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") public String getTemplateRequired() { return templateRequired; } + /** + * setTemplateRequired. + **/ public void setTemplateRequired(String templateRequired) { this.templateRequired = templateRequired; } + + /** + * totalTabCount. + * + * @return Witness + **/ public Witness totalTabCount(String totalTabCount) { this.totalTabCount = totalTabCount; return this; } - /** - * + /** + * . * @return totalTabCount - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTotalTabCount() { return totalTabCount; } + /** + * setTotalTabCount. + **/ public void setTotalTabCount(String totalTabCount) { this.totalTabCount = totalTabCount; } + + /** + * userId. + * + * @return Witness + **/ public Witness userId(String userId) { this.userId = userId; return this; } - /** - * + /** + * . * @return userId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getUserId() { return userId; } + /** + * setUserId. + **/ public void setUserId(String userId) { this.userId = userId; } + + /** + * witnessFor. + * + * @return Witness + **/ public Witness witnessFor(String witnessFor) { this.witnessFor = witnessFor; return this; } - /** - * + /** + * . * @return witnessFor - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getWitnessFor() { return witnessFor; } + /** + * setWitnessFor. + **/ public void setWitnessFor(String witnessFor) { this.witnessFor = witnessFor; } + + /** + * witnessForGuid. + * + * @return Witness + **/ public Witness witnessForGuid(String witnessForGuid) { this.witnessForGuid = witnessForGuid; return this; } - /** - * + /** + * . * @return witnessForGuid - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getWitnessForGuid() { return witnessForGuid; } + /** + * setWitnessForGuid. + **/ public void setWitnessForGuid(String witnessForGuid) { this.witnessForGuid = witnessForGuid; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -1421,6 +2114,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.fullName, witness.fullName) && Objects.equals(this.idCheckConfigurationName, witness.idCheckConfigurationName) && Objects.equals(this.idCheckInformationInput, witness.idCheckInformationInput) && + Objects.equals(this.identityVerification, witness.identityVerification) && Objects.equals(this.inheritEmailNotificationConfiguration, witness.inheritEmailNotificationConfiguration) && Objects.equals(this.isBulkRecipient, witness.isBulkRecipient) && Objects.equals(this.lastName, witness.lastName) && @@ -1428,6 +2122,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.note, witness.note) && Objects.equals(this.offlineAttributes, witness.offlineAttributes) && Objects.equals(this.phoneAuthentication, witness.phoneAuthentication) && + Objects.equals(this.proofFile, witness.proofFile) && Objects.equals(this.recipientAttachments, witness.recipientAttachments) && Objects.equals(this.recipientAuthenticationStatus, witness.recipientAuthenticationStatus) && Objects.equals(this.recipientId, witness.recipientId) && @@ -1459,12 +2154,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.witnessForGuid, witness.witnessForGuid); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { - return Objects.hash(accessCode, addAccessCodeToEmail, agentCanEditEmail, agentCanEditName, autoNavigation, bulkRecipientsUri, canSignOffline, clientUserId, creationReason, customFields, declinedDateTime, declinedReason, defaultRecipient, deliveredDateTime, deliveryMethod, documentVisibility, email, emailNotification, emailRecipientPostSigningURL, embeddedRecipientStartURL, errorDetails, excludedDocuments, faxNumber, firstName, fullName, idCheckConfigurationName, idCheckInformationInput, inheritEmailNotificationConfiguration, isBulkRecipient, lastName, name, note, offlineAttributes, phoneAuthentication, recipientAttachments, recipientAuthenticationStatus, recipientId, recipientIdGuid, recipientSignatureProviders, recipientSuppliesTabs, requireIdLookup, requireSignerCertificate, requireSignOnPaper, roleName, routingOrder, samlAuthentication, sentDateTime, signatureInfo, signedDateTime, signInEachLocation, signingGroupId, signingGroupName, signingGroupUsers, smsAuthentication, socialAuthentications, status, tabs, templateLocked, templateRequired, totalTabCount, userId, witnessFor, witnessForGuid); + return Objects.hash(accessCode, addAccessCodeToEmail, agentCanEditEmail, agentCanEditName, autoNavigation, bulkRecipientsUri, canSignOffline, clientUserId, creationReason, customFields, declinedDateTime, declinedReason, defaultRecipient, deliveredDateTime, deliveryMethod, documentVisibility, email, emailNotification, emailRecipientPostSigningURL, embeddedRecipientStartURL, errorDetails, excludedDocuments, faxNumber, firstName, fullName, idCheckConfigurationName, idCheckInformationInput, identityVerification, inheritEmailNotificationConfiguration, isBulkRecipient, lastName, name, note, offlineAttributes, phoneAuthentication, proofFile, recipientAttachments, recipientAuthenticationStatus, recipientId, recipientIdGuid, recipientSignatureProviders, recipientSuppliesTabs, requireIdLookup, requireSignerCertificate, requireSignOnPaper, roleName, routingOrder, samlAuthentication, sentDateTime, signatureInfo, signedDateTime, signInEachLocation, signingGroupId, signingGroupName, signingGroupUsers, smsAuthentication, socialAuthentications, status, tabs, templateLocked, templateRequired, totalTabCount, userId, witnessFor, witnessForGuid); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -1497,6 +2198,7 @@ public String toString() { sb.append(" fullName: ").append(toIndentedString(fullName)).append("\n"); sb.append(" idCheckConfigurationName: ").append(toIndentedString(idCheckConfigurationName)).append("\n"); sb.append(" idCheckInformationInput: ").append(toIndentedString(idCheckInformationInput)).append("\n"); + sb.append(" identityVerification: ").append(toIndentedString(identityVerification)).append("\n"); sb.append(" inheritEmailNotificationConfiguration: ").append(toIndentedString(inheritEmailNotificationConfiguration)).append("\n"); sb.append(" isBulkRecipient: ").append(toIndentedString(isBulkRecipient)).append("\n"); sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); @@ -1504,6 +2206,7 @@ public String toString() { sb.append(" note: ").append(toIndentedString(note)).append("\n"); sb.append(" offlineAttributes: ").append(toIndentedString(offlineAttributes)).append("\n"); sb.append(" phoneAuthentication: ").append(toIndentedString(phoneAuthentication)).append("\n"); + sb.append(" proofFile: ").append(toIndentedString(proofFile)).append("\n"); sb.append(" recipientAttachments: ").append(toIndentedString(recipientAttachments)).append("\n"); sb.append(" recipientAuthenticationStatus: ").append(toIndentedString(recipientAuthenticationStatus)).append("\n"); sb.append(" recipientId: ").append(toIndentedString(recipientId)).append("\n"); @@ -1547,6 +2250,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/Workspace.java b/src/main/java/com/docusign/esign/model/Workspace.java index 7e1c0a1d..b0596ec0 100644 --- a/src/main/java/com/docusign/esign/model/Workspace.java +++ b/src/main/java/com/docusign/esign/model/Workspace.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.WorkspaceUser; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Provides properties that describe a workspace. + * Provides properties that describe a workspace.. + * */ @ApiModel(description = "Provides properties that describe a workspace.") @@ -46,205 +49,309 @@ public class Workspace { @JsonProperty("workspaceUri") private String workspaceUri = null; + + /** + * billableAccountId. + * + * @return Workspace + **/ public Workspace billableAccountId(String billableAccountId) { this.billableAccountId = billableAccountId; return this; } - /** - * + /** + * . * @return billableAccountId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getBillableAccountId() { return billableAccountId; } + /** + * setBillableAccountId. + **/ public void setBillableAccountId(String billableAccountId) { this.billableAccountId = billableAccountId; } + + /** + * created. + * + * @return Workspace + **/ public Workspace created(String created) { this.created = created; return this; } - /** - * + /** + * . * @return created - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getCreated() { return created; } + /** + * setCreated. + **/ public void setCreated(String created) { this.created = created; } + + /** + * createdByInformation. + * + * @return Workspace + **/ public Workspace createdByInformation(WorkspaceUser createdByInformation) { this.createdByInformation = createdByInformation; return this; } - /** - * Get createdByInformation + /** + * Get createdByInformation. * @return createdByInformation - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public WorkspaceUser getCreatedByInformation() { return createdByInformation; } + /** + * setCreatedByInformation. + **/ public void setCreatedByInformation(WorkspaceUser createdByInformation) { this.createdByInformation = createdByInformation; } + + /** + * lastModified. + * + * @return Workspace + **/ public Workspace lastModified(String lastModified) { this.lastModified = lastModified; return this; } - /** - * Utc date and time the comment was last updated (can only be done by creator.) + /** + * Utc date and time the comment was last updated (can only be done by creator.). * @return lastModified - **/ - @ApiModelProperty(example = "null", value = "Utc date and time the comment was last updated (can only be done by creator.)") + **/ + @ApiModelProperty(value = "Utc date and time the comment was last updated (can only be done by creator.)") public String getLastModified() { return lastModified; } + /** + * setLastModified. + **/ public void setLastModified(String lastModified) { this.lastModified = lastModified; } + + /** + * lastModifiedByInformation. + * + * @return Workspace + **/ public Workspace lastModifiedByInformation(WorkspaceUser lastModifiedByInformation) { this.lastModifiedByInformation = lastModifiedByInformation; return this; } - /** - * Get lastModifiedByInformation + /** + * Get lastModifiedByInformation. * @return lastModifiedByInformation - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public WorkspaceUser getLastModifiedByInformation() { return lastModifiedByInformation; } + /** + * setLastModifiedByInformation. + **/ public void setLastModifiedByInformation(WorkspaceUser lastModifiedByInformation) { this.lastModifiedByInformation = lastModifiedByInformation; } + + /** + * status. + * + * @return Workspace + **/ public Workspace status(String status) { this.status = status; return this; } - /** - * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. + /** + * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.. * @return status - **/ - @ApiModelProperty(example = "null", value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") + **/ + @ApiModelProperty(value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") public String getStatus() { return status; } + /** + * setStatus. + **/ public void setStatus(String status) { this.status = status; } + + /** + * workspaceBaseUrl. + * + * @return Workspace + **/ public Workspace workspaceBaseUrl(String workspaceBaseUrl) { this.workspaceBaseUrl = workspaceBaseUrl; return this; } - /** - * The relative URL that may be used to access the workspace. + /** + * The relative URL that may be used to access the workspace.. * @return workspaceBaseUrl - **/ - @ApiModelProperty(example = "null", value = "The relative URL that may be used to access the workspace.") + **/ + @ApiModelProperty(value = "The relative URL that may be used to access the workspace.") public String getWorkspaceBaseUrl() { return workspaceBaseUrl; } + /** + * setWorkspaceBaseUrl. + **/ public void setWorkspaceBaseUrl(String workspaceBaseUrl) { this.workspaceBaseUrl = workspaceBaseUrl; } + + /** + * workspaceDescription. + * + * @return Workspace + **/ public Workspace workspaceDescription(String workspaceDescription) { this.workspaceDescription = workspaceDescription; return this; } - /** - * Text describing the purpose of the workspace. + /** + * Text describing the purpose of the workspace.. * @return workspaceDescription - **/ - @ApiModelProperty(example = "null", value = "Text describing the purpose of the workspace.") + **/ + @ApiModelProperty(value = "Text describing the purpose of the workspace.") public String getWorkspaceDescription() { return workspaceDescription; } + /** + * setWorkspaceDescription. + **/ public void setWorkspaceDescription(String workspaceDescription) { this.workspaceDescription = workspaceDescription; } + + /** + * workspaceId. + * + * @return Workspace + **/ public Workspace workspaceId(String workspaceId) { this.workspaceId = workspaceId; return this; } - /** - * The id of the workspace, always populated. + /** + * The id of the workspace, always populated.. * @return workspaceId - **/ - @ApiModelProperty(example = "null", value = "The id of the workspace, always populated.") + **/ + @ApiModelProperty(value = "The id of the workspace, always populated.") public String getWorkspaceId() { return workspaceId; } + /** + * setWorkspaceId. + **/ public void setWorkspaceId(String workspaceId) { this.workspaceId = workspaceId; } + + /** + * workspaceName. + * + * @return Workspace + **/ public Workspace workspaceName(String workspaceName) { this.workspaceName = workspaceName; return this; } - /** - * The name of the workspace. + /** + * The name of the workspace.. * @return workspaceName - **/ - @ApiModelProperty(example = "null", value = "The name of the workspace.") + **/ + @ApiModelProperty(value = "The name of the workspace.") public String getWorkspaceName() { return workspaceName; } + /** + * setWorkspaceName. + **/ public void setWorkspaceName(String workspaceName) { this.workspaceName = workspaceName; } + + /** + * workspaceUri. + * + * @return Workspace + **/ public Workspace workspaceUri(String workspaceUri) { this.workspaceUri = workspaceUri; return this; } - /** - * The relative URI that may be used to access the workspace. + /** + * The relative URI that may be used to access the workspace.. * @return workspaceUri - **/ - @ApiModelProperty(example = "null", value = "The relative URI that may be used to access the workspace.") + **/ + @ApiModelProperty(value = "The relative URI that may be used to access the workspace.") public String getWorkspaceUri() { return workspaceUri; } + /** + * setWorkspaceUri. + **/ public void setWorkspaceUri(String workspaceUri) { this.workspaceUri = workspaceUri; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -267,12 +374,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.workspaceUri, workspace.workspaceUri); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(billableAccountId, created, createdByInformation, lastModified, lastModifiedByInformation, status, workspaceBaseUrl, workspaceDescription, workspaceId, workspaceName, workspaceUri); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -303,6 +416,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/WorkspaceFolderContents.java b/src/main/java/com/docusign/esign/model/WorkspaceFolderContents.java index 5a095acc..a8042805 100644 --- a/src/main/java/com/docusign/esign/model/WorkspaceFolderContents.java +++ b/src/main/java/com/docusign/esign/model/WorkspaceFolderContents.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.WorkspaceItem; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Provides properties that describe the contents of a workspace folder. + * Provides properties that describe the contents of a workspace folder.. + * */ @ApiModel(description = "Provides properties that describe the contents of a workspace folder.") @@ -20,10 +23,10 @@ public class WorkspaceFolderContents { private WorkspaceItem folder = null; @JsonProperty("items") - private java.util.List<WorkspaceItem> items = new java.util.ArrayList<WorkspaceItem>(); + private java.util.List<WorkspaceItem> items = null; @JsonProperty("parentFolders") - private java.util.List<WorkspaceItem> parentFolders = new java.util.ArrayList<WorkspaceItem>(); + private java.util.List<WorkspaceItem> parentFolders = null; @JsonProperty("resultSetSize") private String resultSetSize = null; @@ -37,161 +40,254 @@ public class WorkspaceFolderContents { @JsonProperty("workspaceId") private String workspaceId = null; + + /** + * endPosition. + * + * @return WorkspaceFolderContents + **/ public WorkspaceFolderContents endPosition(String endPosition) { this.endPosition = endPosition; return this; } - /** - * The last position in the result set. + /** + * The last position in the result set. . * @return endPosition - **/ - @ApiModelProperty(example = "null", value = "The last position in the result set. ") + **/ + @ApiModelProperty(value = "The last position in the result set. ") public String getEndPosition() { return endPosition; } + /** + * setEndPosition. + **/ public void setEndPosition(String endPosition) { this.endPosition = endPosition; } + + /** + * folder. + * + * @return WorkspaceFolderContents + **/ public WorkspaceFolderContents folder(WorkspaceItem folder) { this.folder = folder; return this; } - /** - * Get folder + /** + * Get folder. * @return folder - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public WorkspaceItem getFolder() { return folder; } + /** + * setFolder. + **/ public void setFolder(WorkspaceItem folder) { this.folder = folder; } + + /** + * items. + * + * @return WorkspaceFolderContents + **/ public WorkspaceFolderContents items(java.util.List<WorkspaceItem> items) { this.items = items; return this; } - + + /** + * addItemsItem. + * + * @return WorkspaceFolderContents + **/ public WorkspaceFolderContents addItemsItem(WorkspaceItem itemsItem) { + if (this.items == null) { + this.items = new java.util.ArrayList<WorkspaceItem>(); + } this.items.add(itemsItem); return this; } - /** - * + /** + * . * @return items - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List<WorkspaceItem> getItems() { return items; } + /** + * setItems. + **/ public void setItems(java.util.List<WorkspaceItem> items) { this.items = items; } + + /** + * parentFolders. + * + * @return WorkspaceFolderContents + **/ public WorkspaceFolderContents parentFolders(java.util.List<WorkspaceItem> parentFolders) { this.parentFolders = parentFolders; return this; } - + + /** + * addParentFoldersItem. + * + * @return WorkspaceFolderContents + **/ public WorkspaceFolderContents addParentFoldersItem(WorkspaceItem parentFoldersItem) { + if (this.parentFolders == null) { + this.parentFolders = new java.util.ArrayList<WorkspaceItem>(); + } this.parentFolders.add(parentFoldersItem); return this; } - /** - * + /** + * . * @return parentFolders - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List<WorkspaceItem> getParentFolders() { return parentFolders; } + /** + * setParentFolders. + **/ public void setParentFolders(java.util.List<WorkspaceItem> parentFolders) { this.parentFolders = parentFolders; } + + /** + * resultSetSize. + * + * @return WorkspaceFolderContents + **/ public WorkspaceFolderContents resultSetSize(String resultSetSize) { this.resultSetSize = resultSetSize; return this; } - /** - * The number of results returned in this response. + /** + * The number of results returned in this response. . * @return resultSetSize - **/ - @ApiModelProperty(example = "null", value = "The number of results returned in this response. ") + **/ + @ApiModelProperty(value = "The number of results returned in this response. ") public String getResultSetSize() { return resultSetSize; } + /** + * setResultSetSize. + **/ public void setResultSetSize(String resultSetSize) { this.resultSetSize = resultSetSize; } + + /** + * startPosition. + * + * @return WorkspaceFolderContents + **/ public WorkspaceFolderContents startPosition(String startPosition) { this.startPosition = startPosition; return this; } - /** - * Starting position of the current result set. + /** + * Starting position of the current result set.. * @return startPosition - **/ - @ApiModelProperty(example = "null", value = "Starting position of the current result set.") + **/ + @ApiModelProperty(value = "Starting position of the current result set.") public String getStartPosition() { return startPosition; } + /** + * setStartPosition. + **/ public void setStartPosition(String startPosition) { this.startPosition = startPosition; } + + /** + * totalSetSize. + * + * @return WorkspaceFolderContents + **/ public WorkspaceFolderContents totalSetSize(String totalSetSize) { this.totalSetSize = totalSetSize; return this; } - /** - * The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response. + /** + * The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.. * @return totalSetSize - **/ - @ApiModelProperty(example = "null", value = "The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.") + **/ + @ApiModelProperty(value = "The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.") public String getTotalSetSize() { return totalSetSize; } + /** + * setTotalSetSize. + **/ public void setTotalSetSize(String totalSetSize) { this.totalSetSize = totalSetSize; } + + /** + * workspaceId. + * + * @return WorkspaceFolderContents + **/ public WorkspaceFolderContents workspaceId(String workspaceId) { this.workspaceId = workspaceId; return this; } - /** - * The id of the workspace, always populated. + /** + * The id of the workspace, always populated.. * @return workspaceId - **/ - @ApiModelProperty(example = "null", value = "The id of the workspace, always populated.") + **/ + @ApiModelProperty(value = "The id of the workspace, always populated.") public String getWorkspaceId() { return workspaceId; } + /** + * setWorkspaceId. + **/ public void setWorkspaceId(String workspaceId) { this.workspaceId = workspaceId; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -211,12 +307,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.workspaceId, workspaceFolderContents.workspaceId); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(endPosition, folder, items, parentFolders, resultSetSize, startPosition, totalSetSize, workspaceId); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -244,6 +346,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/WorkspaceItem.java b/src/main/java/com/docusign/esign/model/WorkspaceItem.java index 0f8a2d27..8c928477 100644 --- a/src/main/java/com/docusign/esign/model/WorkspaceItem.java +++ b/src/main/java/com/docusign/esign/model/WorkspaceItem.java @@ -1,15 +1,18 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.WorkspaceUser; import com.docusign.esign.model.WorkspaceUserAuthorization; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * A workspaceItem (file type only) representing the file. This property is only returned in response to file specific GET call. + * A workspaceItem (file type only) representing the file. This property is only returned in response to file specific GET call.. + * */ @ApiModel(description = "A workspaceItem (file type only) representing the file. This property is only returned in response to file specific GET call.") @@ -71,349 +74,525 @@ public class WorkspaceItem { @JsonProperty("uri") private String uri = null; + + /** + * callerAuthorization. + * + * @return WorkspaceItem + **/ public WorkspaceItem callerAuthorization(WorkspaceUserAuthorization callerAuthorization) { this.callerAuthorization = callerAuthorization; return this; } - /** - * Get callerAuthorization + /** + * Get callerAuthorization. * @return callerAuthorization - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public WorkspaceUserAuthorization getCallerAuthorization() { return callerAuthorization; } + /** + * setCallerAuthorization. + **/ public void setCallerAuthorization(WorkspaceUserAuthorization callerAuthorization) { this.callerAuthorization = callerAuthorization; } + + /** + * contentType. + * + * @return WorkspaceItem + **/ public WorkspaceItem contentType(String contentType) { this.contentType = contentType; return this; } - /** - * + /** + * . * @return contentType - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getContentType() { return contentType; } + /** + * setContentType. + **/ public void setContentType(String contentType) { this.contentType = contentType; } + + /** + * created. + * + * @return WorkspaceItem + **/ public WorkspaceItem created(String created) { this.created = created; return this; } - /** - * The UTC DateTime when the workspace item was created. + /** + * The UTC DateTime when the workspace item was created.. * @return created - **/ - @ApiModelProperty(example = "null", value = "The UTC DateTime when the workspace item was created.") + **/ + @ApiModelProperty(value = "The UTC DateTime when the workspace item was created.") public String getCreated() { return created; } + /** + * setCreated. + **/ public void setCreated(String created) { this.created = created; } + + /** + * createdById. + * + * @return WorkspaceItem + **/ public WorkspaceItem createdById(String createdById) { this.createdById = createdById; return this; } - /** - * + /** + * . * @return createdById - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getCreatedById() { return createdById; } + /** + * setCreatedById. + **/ public void setCreatedById(String createdById) { this.createdById = createdById; } + + /** + * createdByInformation. + * + * @return WorkspaceItem + **/ public WorkspaceItem createdByInformation(WorkspaceUser createdByInformation) { this.createdByInformation = createdByInformation; return this; } - /** - * Get createdByInformation + /** + * Get createdByInformation. * @return createdByInformation - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public WorkspaceUser getCreatedByInformation() { return createdByInformation; } + /** + * setCreatedByInformation. + **/ public void setCreatedByInformation(WorkspaceUser createdByInformation) { this.createdByInformation = createdByInformation; } + + /** + * extension. + * + * @return WorkspaceItem + **/ public WorkspaceItem extension(String extension) { this.extension = extension; return this; } - /** - * + /** + * . * @return extension - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getExtension() { return extension; } + /** + * setExtension. + **/ public void setExtension(String extension) { this.extension = extension; } + + /** + * fileSize. + * + * @return WorkspaceItem + **/ public WorkspaceItem fileSize(String fileSize) { this.fileSize = fileSize; return this; } - /** - * + /** + * . * @return fileSize - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getFileSize() { return fileSize; } + /** + * setFileSize. + **/ public void setFileSize(String fileSize) { this.fileSize = fileSize; } + + /** + * fileUri. + * + * @return WorkspaceItem + **/ public WorkspaceItem fileUri(String fileUri) { this.fileUri = fileUri; return this; } - /** - * + /** + * . * @return fileUri - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getFileUri() { return fileUri; } + /** + * setFileUri. + **/ public void setFileUri(String fileUri) { this.fileUri = fileUri; } + + /** + * id. + * + * @return WorkspaceItem + **/ public WorkspaceItem id(String id) { this.id = id; return this; } - /** - * + /** + * . * @return id - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getId() { return id; } + /** + * setId. + **/ public void setId(String id) { this.id = id; } + + /** + * isPublic. + * + * @return WorkspaceItem + **/ public WorkspaceItem isPublic(String isPublic) { this.isPublic = isPublic; return this; } - /** - * If true, this supersedes need for bit mask permission with workspaceUserAuthorization + /** + * If true, this supersedes need for bit mask permission with workspaceUserAuthorization. * @return isPublic - **/ - @ApiModelProperty(example = "null", value = " If true, this supersedes need for bit mask permission with workspaceUserAuthorization") + **/ + @ApiModelProperty(value = " If true, this supersedes need for bit mask permission with workspaceUserAuthorization") public String getIsPublic() { return isPublic; } + /** + * setIsPublic. + **/ public void setIsPublic(String isPublic) { this.isPublic = isPublic; } + + /** + * lastModified. + * + * @return WorkspaceItem + **/ public WorkspaceItem lastModified(String lastModified) { this.lastModified = lastModified; return this; } - /** - * + /** + * . * @return lastModified - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getLastModified() { return lastModified; } + /** + * setLastModified. + **/ public void setLastModified(String lastModified) { this.lastModified = lastModified; } + + /** + * lastModifiedById. + * + * @return WorkspaceItem + **/ public WorkspaceItem lastModifiedById(String lastModifiedById) { this.lastModifiedById = lastModifiedById; return this; } - /** - * Utc date and time the comment was last updated (can only be done by creator) + /** + * Utc date and time the comment was last updated (can only be done by creator). * @return lastModifiedById - **/ - @ApiModelProperty(example = "null", value = "Utc date and time the comment was last updated (can only be done by creator)") + **/ + @ApiModelProperty(value = "Utc date and time the comment was last updated (can only be done by creator)") public String getLastModifiedById() { return lastModifiedById; } + /** + * setLastModifiedById. + **/ public void setLastModifiedById(String lastModifiedById) { this.lastModifiedById = lastModifiedById; } + + /** + * lastModifiedByInformation. + * + * @return WorkspaceItem + **/ public WorkspaceItem lastModifiedByInformation(WorkspaceUser lastModifiedByInformation) { this.lastModifiedByInformation = lastModifiedByInformation; return this; } - /** - * Get lastModifiedByInformation + /** + * Get lastModifiedByInformation. * @return lastModifiedByInformation - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public WorkspaceUser getLastModifiedByInformation() { return lastModifiedByInformation; } + /** + * setLastModifiedByInformation. + **/ public void setLastModifiedByInformation(WorkspaceUser lastModifiedByInformation) { this.lastModifiedByInformation = lastModifiedByInformation; } + + /** + * name. + * + * @return WorkspaceItem + **/ public WorkspaceItem name(String name) { this.name = name; return this; } - /** - * A simple string description of the item, such as a file name or a folder name. + /** + * A simple string description of the item, such as a file name or a folder name.. * @return name - **/ - @ApiModelProperty(example = "null", value = "A simple string description of the item, such as a file name or a folder name.") + **/ + @ApiModelProperty(value = "A simple string description of the item, such as a file name or a folder name.") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * pageCount. + * + * @return WorkspaceItem + **/ public WorkspaceItem pageCount(String pageCount) { this.pageCount = pageCount; return this; } - /** - * + /** + * . * @return pageCount - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getPageCount() { return pageCount; } + /** + * setPageCount. + **/ public void setPageCount(String pageCount) { this.pageCount = pageCount; } + + /** + * parentFolderId. + * + * @return WorkspaceItem + **/ public WorkspaceItem parentFolderId(String parentFolderId) { this.parentFolderId = parentFolderId; return this; } - /** - * The ID of the parent folder. This is the GUID of the parent folder, or the special value 'root' for the root folder. + /** + * The ID of the parent folder. This is the GUID of the parent folder, or the special value 'root' for the root folder.. * @return parentFolderId - **/ - @ApiModelProperty(example = "null", value = "The ID of the parent folder. This is the GUID of the parent folder, or the special value 'root' for the root folder.") + **/ + @ApiModelProperty(value = "The ID of the parent folder. This is the GUID of the parent folder, or the special value 'root' for the root folder.") public String getParentFolderId() { return parentFolderId; } + /** + * setParentFolderId. + **/ public void setParentFolderId(String parentFolderId) { this.parentFolderId = parentFolderId; } + + /** + * parentFolderUri. + * + * @return WorkspaceItem + **/ public WorkspaceItem parentFolderUri(String parentFolderUri) { this.parentFolderUri = parentFolderUri; return this; } - /** - * + /** + * . * @return parentFolderUri - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getParentFolderUri() { return parentFolderUri; } + /** + * setParentFolderUri. + **/ public void setParentFolderUri(String parentFolderUri) { this.parentFolderUri = parentFolderUri; } + + /** + * type. + * + * @return WorkspaceItem + **/ public WorkspaceItem type(String type) { this.type = type; return this; } - /** - * The type of the workspace item. Valid values are file, folder. + /** + * The type of the workspace item. Valid values are file, folder.. * @return type - **/ - @ApiModelProperty(example = "null", value = "The type of the workspace item. Valid values are file, folder.") + **/ + @ApiModelProperty(value = "The type of the workspace item. Valid values are file, folder.") public String getType() { return type; } + /** + * setType. + **/ public void setType(String type) { this.type = type; } + + /** + * uri. + * + * @return WorkspaceItem + **/ public WorkspaceItem uri(String uri) { this.uri = uri; return this; } - /** - * + /** + * . * @return uri - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getUri() { return uri; } + /** + * setUri. + **/ public void setUri(String uri) { this.uri = uri; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -444,12 +623,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.uri, workspaceItem.uri); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(callerAuthorization, contentType, created, createdById, createdByInformation, extension, fileSize, fileUri, id, isPublic, lastModified, lastModifiedById, lastModifiedByInformation, name, pageCount, parentFolderId, parentFolderUri, type, uri); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -488,6 +673,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/WorkspaceItemList.java b/src/main/java/com/docusign/esign/model/WorkspaceItemList.java index 6f71db30..71f7b325 100644 --- a/src/main/java/com/docusign/esign/model/WorkspaceItemList.java +++ b/src/main/java/com/docusign/esign/model/WorkspaceItemList.java @@ -1,45 +1,70 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.WorkspaceItem; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Provides properties that describe the items contained in a workspace. + * Provides properties that describe the items contained in a workspace.. + * */ @ApiModel(description = "Provides properties that describe the items contained in a workspace.") public class WorkspaceItemList { @JsonProperty("items") - private java.util.List<WorkspaceItem> items = new java.util.ArrayList<WorkspaceItem>(); + private java.util.List<WorkspaceItem> items = null; + + /** + * items. + * + * @return WorkspaceItemList + **/ public WorkspaceItemList items(java.util.List<WorkspaceItem> items) { this.items = items; return this; } - + + /** + * addItemsItem. + * + * @return WorkspaceItemList + **/ public WorkspaceItemList addItemsItem(WorkspaceItem itemsItem) { + if (this.items == null) { + this.items = new java.util.ArrayList<WorkspaceItem>(); + } this.items.add(itemsItem); return this; } - /** - * + /** + * . * @return items - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List<WorkspaceItem> getItems() { return items; } + /** + * setItems. + **/ public void setItems(java.util.List<WorkspaceItem> items) { this.items = items; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -52,12 +77,18 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.items, workspaceItemList.items); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(items); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -78,6 +109,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/WorkspaceList.java b/src/main/java/com/docusign/esign/model/WorkspaceList.java index ba0af743..3c16725f 100644 --- a/src/main/java/com/docusign/esign/model/WorkspaceList.java +++ b/src/main/java/com/docusign/esign/model/WorkspaceList.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.Workspace; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Provides properties that describe the workspaces avaialble. + * Provides properties that describe the workspaces avaialble.. + * */ @ApiModel(description = "Provides properties that describe the workspaces avaialble.") @@ -26,104 +29,162 @@ public class WorkspaceList { private String totalSetSize = null; @JsonProperty("workspaces") - private java.util.List<Workspace> workspaces = new java.util.ArrayList<Workspace>(); + private java.util.List<Workspace> workspaces = null; + + /** + * endPosition. + * + * @return WorkspaceList + **/ public WorkspaceList endPosition(String endPosition) { this.endPosition = endPosition; return this; } - /** - * The last position in the result set. + /** + * The last position in the result set. . * @return endPosition - **/ - @ApiModelProperty(example = "null", value = "The last position in the result set. ") + **/ + @ApiModelProperty(value = "The last position in the result set. ") public String getEndPosition() { return endPosition; } + /** + * setEndPosition. + **/ public void setEndPosition(String endPosition) { this.endPosition = endPosition; } + + /** + * resultSetSize. + * + * @return WorkspaceList + **/ public WorkspaceList resultSetSize(String resultSetSize) { this.resultSetSize = resultSetSize; return this; } - /** - * The number of results returned in this response. + /** + * The number of results returned in this response. . * @return resultSetSize - **/ - @ApiModelProperty(example = "null", value = "The number of results returned in this response. ") + **/ + @ApiModelProperty(value = "The number of results returned in this response. ") public String getResultSetSize() { return resultSetSize; } + /** + * setResultSetSize. + **/ public void setResultSetSize(String resultSetSize) { this.resultSetSize = resultSetSize; } + + /** + * startPosition. + * + * @return WorkspaceList + **/ public WorkspaceList startPosition(String startPosition) { this.startPosition = startPosition; return this; } - /** - * Starting position of the current result set. + /** + * Starting position of the current result set.. * @return startPosition - **/ - @ApiModelProperty(example = "null", value = "Starting position of the current result set.") + **/ + @ApiModelProperty(value = "Starting position of the current result set.") public String getStartPosition() { return startPosition; } + /** + * setStartPosition. + **/ public void setStartPosition(String startPosition) { this.startPosition = startPosition; } + + /** + * totalSetSize. + * + * @return WorkspaceList + **/ public WorkspaceList totalSetSize(String totalSetSize) { this.totalSetSize = totalSetSize; return this; } - /** - * The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response. + /** + * The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.. * @return totalSetSize - **/ - @ApiModelProperty(example = "null", value = "The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.") + **/ + @ApiModelProperty(value = "The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.") public String getTotalSetSize() { return totalSetSize; } + /** + * setTotalSetSize. + **/ public void setTotalSetSize(String totalSetSize) { this.totalSetSize = totalSetSize; } + + /** + * workspaces. + * + * @return WorkspaceList + **/ public WorkspaceList workspaces(java.util.List<Workspace> workspaces) { this.workspaces = workspaces; return this; } - + + /** + * addWorkspacesItem. + * + * @return WorkspaceList + **/ public WorkspaceList addWorkspacesItem(Workspace workspacesItem) { + if (this.workspaces == null) { + this.workspaces = new java.util.ArrayList<Workspace>(); + } this.workspaces.add(workspacesItem); return this; } - /** - * A list of workspaces. + /** + * A list of workspaces.. * @return workspaces - **/ - @ApiModelProperty(example = "null", value = "A list of workspaces.") + **/ + @ApiModelProperty(value = "A list of workspaces.") public java.util.List<Workspace> getWorkspaces() { return workspaces; } + /** + * setWorkspaces. + **/ public void setWorkspaces(java.util.List<Workspace> workspaces) { this.workspaces = workspaces; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -140,12 +201,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.workspaces, workspaceList.workspaces); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(endPosition, resultSetSize, startPosition, totalSetSize, workspaces); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -170,6 +237,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/WorkspaceSettings.java b/src/main/java/com/docusign/esign/model/WorkspaceSettings.java new file mode 100644 index 00000000..ed8ea49c --- /dev/null +++ b/src/main/java/com/docusign/esign/model/WorkspaceSettings.java @@ -0,0 +1,76 @@ +package com.docusign.esign.model; + +import java.util.Objects; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +/** + * WorkspaceSettings + */ + +public class WorkspaceSettings { + @JsonProperty("commentsAllowed") + private String commentsAllowed = null; + + public WorkspaceSettings commentsAllowed(String commentsAllowed) { + this.commentsAllowed = commentsAllowed; + return this; + } + + /** + * + * @return commentsAllowed + **/ + @ApiModelProperty(example = "null", value = "") + public String getCommentsAllowed() { + return commentsAllowed; + } + + public void setCommentsAllowed(String commentsAllowed) { + this.commentsAllowed = commentsAllowed; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + WorkspaceSettings workspaceSettings = (WorkspaceSettings) o; + return Objects.equals(this.commentsAllowed, workspaceSettings.commentsAllowed); + } + + @Override + public int hashCode() { + return Objects.hash(commentsAllowed); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class WorkspaceSettings {\n"); + + sb.append(" commentsAllowed: ").append(toIndentedString(commentsAllowed)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/com/docusign/esign/model/WorkspaceUser.java b/src/main/java/com/docusign/esign/model/WorkspaceUser.java index d89779e4..368e3d0b 100644 --- a/src/main/java/com/docusign/esign/model/WorkspaceUser.java +++ b/src/main/java/com/docusign/esign/model/WorkspaceUser.java @@ -1,14 +1,17 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ErrorDetails; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * A workspaceUser representing the user. This property is only returned in response to user specific GET call. + * A workspaceUser representing the user. This property is only returned in response to user specific GET call. . + * */ @ApiModel(description = "A workspaceUser representing the user. This property is only returned in response to user specific GET call. ") @@ -61,295 +64,444 @@ public class WorkspaceUser { @JsonProperty("workspaceUserId") private String workspaceUserId = null; + + /** + * accountId. + * + * @return WorkspaceUser + **/ public WorkspaceUser accountId(String accountId) { this.accountId = accountId; return this; } - /** - * The account ID associated with the envelope. + /** + * The account ID associated with the envelope.. * @return accountId - **/ - @ApiModelProperty(example = "null", value = "The account ID associated with the envelope.") + **/ + @ApiModelProperty(value = "The account ID associated with the envelope.") public String getAccountId() { return accountId; } + /** + * setAccountId. + **/ public void setAccountId(String accountId) { this.accountId = accountId; } + + /** + * accountName. + * + * @return WorkspaceUser + **/ public WorkspaceUser accountName(String accountName) { this.accountName = accountName; return this; } - /** - * The name of the account that the workspace user belongs to. + /** + * The name of the account that the workspace user belongs to.. * @return accountName - **/ - @ApiModelProperty(example = "null", value = "The name of the account that the workspace user belongs to.") + **/ + @ApiModelProperty(value = "The name of the account that the workspace user belongs to.") public String getAccountName() { return accountName; } + /** + * setAccountName. + **/ public void setAccountName(String accountName) { this.accountName = accountName; } + + /** + * activeSince. + * + * @return WorkspaceUser + **/ public WorkspaceUser activeSince(String activeSince) { this.activeSince = activeSince; return this; } - /** - * + /** + * . * @return activeSince - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getActiveSince() { return activeSince; } + /** + * setActiveSince. + **/ public void setActiveSince(String activeSince) { this.activeSince = activeSince; } + + /** + * created. + * + * @return WorkspaceUser + **/ public WorkspaceUser created(String created) { this.created = created; return this; } - /** - * The UTC DateTime when the workspace user was created. + /** + * The UTC DateTime when the workspace user was created.. * @return created - **/ - @ApiModelProperty(example = "null", value = "The UTC DateTime when the workspace user was created.") + **/ + @ApiModelProperty(value = "The UTC DateTime when the workspace user was created.") public String getCreated() { return created; } + /** + * setCreated. + **/ public void setCreated(String created) { this.created = created; } + + /** + * createdById. + * + * @return WorkspaceUser + **/ public WorkspaceUser createdById(String createdById) { this.createdById = createdById; return this; } - /** - * + /** + * . * @return createdById - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getCreatedById() { return createdById; } + /** + * setCreatedById. + **/ public void setCreatedById(String createdById) { this.createdById = createdById; } + + /** + * email. + * + * @return WorkspaceUser + **/ public WorkspaceUser email(String email) { this.email = email; return this; } - /** - * + /** + * . * @return email - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getEmail() { return email; } + /** + * setEmail. + **/ public void setEmail(String email) { this.email = email; } + + /** + * errorDetails. + * + * @return WorkspaceUser + **/ public WorkspaceUser errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * lastModified. + * + * @return WorkspaceUser + **/ public WorkspaceUser lastModified(String lastModified) { this.lastModified = lastModified; return this; } - /** - * Utc date and time the comment was last updated (can only be done by creator.) + /** + * Utc date and time the comment was last updated (can only be done by creator.). * @return lastModified - **/ - @ApiModelProperty(example = "null", value = "Utc date and time the comment was last updated (can only be done by creator.)") + **/ + @ApiModelProperty(value = "Utc date and time the comment was last updated (can only be done by creator.)") public String getLastModified() { return lastModified; } + /** + * setLastModified. + **/ public void setLastModified(String lastModified) { this.lastModified = lastModified; } + + /** + * lastModifiedById. + * + * @return WorkspaceUser + **/ public WorkspaceUser lastModifiedById(String lastModifiedById) { this.lastModifiedById = lastModifiedById; return this; } - /** - * + /** + * . * @return lastModifiedById - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getLastModifiedById() { return lastModifiedById; } + /** + * setLastModifiedById. + **/ public void setLastModifiedById(String lastModifiedById) { this.lastModifiedById = lastModifiedById; } + + /** + * status. + * + * @return WorkspaceUser + **/ public WorkspaceUser status(String status) { this.status = status; return this; } - /** - * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. + /** + * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.. * @return status - **/ - @ApiModelProperty(example = "null", value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") + **/ + @ApiModelProperty(value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") public String getStatus() { return status; } + /** + * setStatus. + **/ public void setStatus(String status) { this.status = status; } + + /** + * type. + * + * @return WorkspaceUser + **/ public WorkspaceUser type(String type) { this.type = type; return this; } - /** - * Type of the user. Valid values: type_owner, type_participant. + /** + * Type of the user. Valid values: type_owner, type_participant.. * @return type - **/ - @ApiModelProperty(example = "null", value = "Type of the user. Valid values: type_owner, type_participant.") + **/ + @ApiModelProperty(value = "Type of the user. Valid values: type_owner, type_participant.") public String getType() { return type; } + /** + * setType. + **/ public void setType(String type) { this.type = type; } + + /** + * userId. + * + * @return WorkspaceUser + **/ public WorkspaceUser userId(String userId) { this.userId = userId; return this; } - /** - * + /** + * . * @return userId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getUserId() { return userId; } + /** + * setUserId. + **/ public void setUserId(String userId) { this.userId = userId; } + + /** + * userName. + * + * @return WorkspaceUser + **/ public WorkspaceUser userName(String userName) { this.userName = userName; return this; } - /** - * + /** + * . * @return userName - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getUserName() { return userName; } + /** + * setUserName. + **/ public void setUserName(String userName) { this.userName = userName; } + + /** + * workspaceId. + * + * @return WorkspaceUser + **/ public WorkspaceUser workspaceId(String workspaceId) { this.workspaceId = workspaceId; return this; } - /** - * + /** + * . * @return workspaceId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getWorkspaceId() { return workspaceId; } + /** + * setWorkspaceId. + **/ public void setWorkspaceId(String workspaceId) { this.workspaceId = workspaceId; } + + /** + * workspaceUserBaseUrl. + * + * @return WorkspaceUser + **/ public WorkspaceUser workspaceUserBaseUrl(String workspaceUserBaseUrl) { this.workspaceUserBaseUrl = workspaceUserBaseUrl; return this; } - /** - * The relative URI that may be used to access a workspace user. + /** + * The relative URI that may be used to access a workspace user.. * @return workspaceUserBaseUrl - **/ - @ApiModelProperty(example = "null", value = "The relative URI that may be used to access a workspace user.") + **/ + @ApiModelProperty(value = "The relative URI that may be used to access a workspace user.") public String getWorkspaceUserBaseUrl() { return workspaceUserBaseUrl; } + /** + * setWorkspaceUserBaseUrl. + **/ public void setWorkspaceUserBaseUrl(String workspaceUserBaseUrl) { this.workspaceUserBaseUrl = workspaceUserBaseUrl; } + + /** + * workspaceUserId. + * + * @return WorkspaceUser + **/ public WorkspaceUser workspaceUserId(String workspaceUserId) { this.workspaceUserId = workspaceUserId; return this; } - /** - * + /** + * . * @return workspaceUserId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getWorkspaceUserId() { return workspaceUserId; } + /** + * setWorkspaceUserId. + **/ public void setWorkspaceUserId(String workspaceUserId) { this.workspaceUserId = workspaceUserId; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -377,12 +529,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.workspaceUserId, workspaceUser.workspaceUserId); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(accountId, accountName, activeSince, created, createdById, email, errorDetails, lastModified, lastModifiedById, status, type, userId, userName, workspaceId, workspaceUserBaseUrl, workspaceUserId); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -418,6 +576,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/WorkspaceUserAuthorization.java b/src/main/java/com/docusign/esign/model/WorkspaceUserAuthorization.java index 311f01ce..6d168856 100644 --- a/src/main/java/com/docusign/esign/model/WorkspaceUserAuthorization.java +++ b/src/main/java/com/docusign/esign/model/WorkspaceUserAuthorization.java @@ -1,15 +1,18 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ErrorDetails; import com.docusign.esign.model.WorkspaceUser; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Provides properties that describe user authorization to a workspace. + * Provides properties that describe user authorization to a workspace.. + * */ @ApiModel(description = "Provides properties that describe user authorization to a workspace.") @@ -47,205 +50,309 @@ public class WorkspaceUserAuthorization { @JsonProperty("workspaceUserInformation") private WorkspaceUser workspaceUserInformation = null; + + /** + * canDelete. + * + * @return WorkspaceUserAuthorization + **/ public WorkspaceUserAuthorization canDelete(String canDelete) { this.canDelete = canDelete; return this; } - /** - * + /** + * . * @return canDelete - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getCanDelete() { return canDelete; } + /** + * setCanDelete. + **/ public void setCanDelete(String canDelete) { this.canDelete = canDelete; } + + /** + * canMove. + * + * @return WorkspaceUserAuthorization + **/ public WorkspaceUserAuthorization canMove(String canMove) { this.canMove = canMove; return this; } - /** - * + /** + * . * @return canMove - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getCanMove() { return canMove; } + /** + * setCanMove. + **/ public void setCanMove(String canMove) { this.canMove = canMove; } + + /** + * canTransact. + * + * @return WorkspaceUserAuthorization + **/ public WorkspaceUserAuthorization canTransact(String canTransact) { this.canTransact = canTransact; return this; } - /** - * + /** + * . * @return canTransact - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getCanTransact() { return canTransact; } + /** + * setCanTransact. + **/ public void setCanTransact(String canTransact) { this.canTransact = canTransact; } + + /** + * canView. + * + * @return WorkspaceUserAuthorization + **/ public WorkspaceUserAuthorization canView(String canView) { this.canView = canView; return this; } - /** - * + /** + * . * @return canView - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getCanView() { return canView; } + /** + * setCanView. + **/ public void setCanView(String canView) { this.canView = canView; } + + /** + * created. + * + * @return WorkspaceUserAuthorization + **/ public WorkspaceUserAuthorization created(String created) { this.created = created; return this; } - /** - * The UTC DateTime when the workspace user authorization was created. + /** + * The UTC DateTime when the workspace user authorization was created.. * @return created - **/ - @ApiModelProperty(example = "null", value = "The UTC DateTime when the workspace user authorization was created.") + **/ + @ApiModelProperty(value = "The UTC DateTime when the workspace user authorization was created.") public String getCreated() { return created; } + /** + * setCreated. + **/ public void setCreated(String created) { this.created = created; } + + /** + * createdById. + * + * @return WorkspaceUserAuthorization + **/ public WorkspaceUserAuthorization createdById(String createdById) { this.createdById = createdById; return this; } - /** - * + /** + * . * @return createdById - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getCreatedById() { return createdById; } + /** + * setCreatedById. + **/ public void setCreatedById(String createdById) { this.createdById = createdById; } + + /** + * errorDetails. + * + * @return WorkspaceUserAuthorization + **/ public WorkspaceUserAuthorization errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * modified. + * + * @return WorkspaceUserAuthorization + **/ public WorkspaceUserAuthorization modified(String modified) { this.modified = modified; return this; } - /** - * + /** + * . * @return modified - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getModified() { return modified; } + /** + * setModified. + **/ public void setModified(String modified) { this.modified = modified; } + + /** + * modifiedById. + * + * @return WorkspaceUserAuthorization + **/ public WorkspaceUserAuthorization modifiedById(String modifiedById) { this.modifiedById = modifiedById; return this; } - /** - * + /** + * . * @return modifiedById - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getModifiedById() { return modifiedById; } + /** + * setModifiedById. + **/ public void setModifiedById(String modifiedById) { this.modifiedById = modifiedById; } + + /** + * workspaceUserId. + * + * @return WorkspaceUserAuthorization + **/ public WorkspaceUserAuthorization workspaceUserId(String workspaceUserId) { this.workspaceUserId = workspaceUserId; return this; } - /** - * + /** + * . * @return workspaceUserId - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getWorkspaceUserId() { return workspaceUserId; } + /** + * setWorkspaceUserId. + **/ public void setWorkspaceUserId(String workspaceUserId) { this.workspaceUserId = workspaceUserId; } + + /** + * workspaceUserInformation. + * + * @return WorkspaceUserAuthorization + **/ public WorkspaceUserAuthorization workspaceUserInformation(WorkspaceUser workspaceUserInformation) { this.workspaceUserInformation = workspaceUserInformation; return this; } - /** - * Get workspaceUserInformation + /** + * Get workspaceUserInformation. * @return workspaceUserInformation - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public WorkspaceUser getWorkspaceUserInformation() { return workspaceUserInformation; } + /** + * setWorkspaceUserInformation. + **/ public void setWorkspaceUserInformation(WorkspaceUser workspaceUserInformation) { this.workspaceUserInformation = workspaceUserInformation; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -268,12 +375,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.workspaceUserInformation, workspaceUserAuthorization.workspaceUserInformation); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(canDelete, canMove, canTransact, canView, created, createdById, errorDetails, modified, modifiedById, workspaceUserId, workspaceUserInformation); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -304,6 +417,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/main/java/com/docusign/esign/model/Zip.java b/src/main/java/com/docusign/esign/model/Zip.java index 58a6d1ff..6e6a6e1e 100644 --- a/src/main/java/com/docusign/esign/model/Zip.java +++ b/src/main/java/com/docusign/esign/model/Zip.java @@ -1,15 +1,18 @@ package com.docusign.esign.model; import java.util.Objects; +import java.util.Arrays; import com.docusign.esign.model.ErrorDetails; import com.docusign.esign.model.MergeField; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** - * Zip + * Zip. + * */ public class Zip { @@ -113,7 +116,7 @@ public class Zip { private String status = null; @JsonProperty("tabGroupLabels") - private java.util.List<String> tabGroupLabels = new java.util.ArrayList<String>(); + private java.util.List<String> tabGroupLabels = null; @JsonProperty("tabId") private String tabId = null; @@ -157,876 +160,1321 @@ public class Zip { @JsonProperty("yPosition") private String yPosition = null; + + /** + * anchorCaseSensitive. + * + * @return Zip + **/ public Zip anchorCaseSensitive(String anchorCaseSensitive) { this.anchorCaseSensitive = anchorCaseSensitive; return this; } - /** - * When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**. + /** + * When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.. * @return anchorCaseSensitive - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.") + **/ + @ApiModelProperty(value = "When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.") public String getAnchorCaseSensitive() { return anchorCaseSensitive; } + /** + * setAnchorCaseSensitive. + **/ public void setAnchorCaseSensitive(String anchorCaseSensitive) { this.anchorCaseSensitive = anchorCaseSensitive; } + + /** + * anchorHorizontalAlignment. + * + * @return Zip + **/ public Zip anchorHorizontalAlignment(String anchorHorizontalAlignment) { this.anchorHorizontalAlignment = anchorHorizontalAlignment; return this; } - /** - * Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**. + /** + * Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.. * @return anchorHorizontalAlignment - **/ - @ApiModelProperty(example = "null", value = "Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.") + **/ + @ApiModelProperty(value = "Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.") public String getAnchorHorizontalAlignment() { return anchorHorizontalAlignment; } + /** + * setAnchorHorizontalAlignment. + **/ public void setAnchorHorizontalAlignment(String anchorHorizontalAlignment) { this.anchorHorizontalAlignment = anchorHorizontalAlignment; } + + /** + * anchorIgnoreIfNotPresent. + * + * @return Zip + **/ public Zip anchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { this.anchorIgnoreIfNotPresent = anchorIgnoreIfNotPresent; return this; } - /** - * When set to **true**, this tab is ignored if anchorString is not found in the document. + /** + * When set to **true**, this tab is ignored if anchorString is not found in the document.. * @return anchorIgnoreIfNotPresent - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, this tab is ignored if anchorString is not found in the document.") + **/ + @ApiModelProperty(value = "When set to **true**, this tab is ignored if anchorString is not found in the document.") public String getAnchorIgnoreIfNotPresent() { return anchorIgnoreIfNotPresent; } + /** + * setAnchorIgnoreIfNotPresent. + **/ public void setAnchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent) { this.anchorIgnoreIfNotPresent = anchorIgnoreIfNotPresent; } + + /** + * anchorMatchWholeWord. + * + * @return Zip + **/ public Zip anchorMatchWholeWord(String anchorMatchWholeWord) { this.anchorMatchWholeWord = anchorMatchWholeWord; return this; } - /** - * When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**. + /** + * When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.. * @return anchorMatchWholeWord - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.") + **/ + @ApiModelProperty(value = "When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.") public String getAnchorMatchWholeWord() { return anchorMatchWholeWord; } + /** + * setAnchorMatchWholeWord. + **/ public void setAnchorMatchWholeWord(String anchorMatchWholeWord) { this.anchorMatchWholeWord = anchorMatchWholeWord; } + + /** + * anchorString. + * + * @return Zip + **/ public Zip anchorString(String anchorString) { this.anchorString = anchorString; return this; } - /** - * Anchor text information for a radio button. + /** + * Anchor text information for a radio button.. * @return anchorString - **/ - @ApiModelProperty(example = "null", value = "Anchor text information for a radio button.") + **/ + @ApiModelProperty(value = "Anchor text information for a radio button.") public String getAnchorString() { return anchorString; } + /** + * setAnchorString. + **/ public void setAnchorString(String anchorString) { this.anchorString = anchorString; } + + /** + * anchorUnits. + * + * @return Zip + **/ public Zip anchorUnits(String anchorUnits) { this.anchorUnits = anchorUnits; return this; } - /** - * Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. + /** + * Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. * @return anchorUnits - **/ - @ApiModelProperty(example = "null", value = "Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.") + **/ + @ApiModelProperty(value = "Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.") public String getAnchorUnits() { return anchorUnits; } + /** + * setAnchorUnits. + **/ public void setAnchorUnits(String anchorUnits) { this.anchorUnits = anchorUnits; } + + /** + * anchorXOffset. + * + * @return Zip + **/ public Zip anchorXOffset(String anchorXOffset) { this.anchorXOffset = anchorXOffset; return this; } - /** - * Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString. + /** + * Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. * @return anchorXOffset - **/ - @ApiModelProperty(example = "null", value = "Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.") + **/ + @ApiModelProperty(value = "Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.") public String getAnchorXOffset() { return anchorXOffset; } + /** + * setAnchorXOffset. + **/ public void setAnchorXOffset(String anchorXOffset) { this.anchorXOffset = anchorXOffset; } + + /** + * anchorYOffset. + * + * @return Zip + **/ public Zip anchorYOffset(String anchorYOffset) { this.anchorYOffset = anchorYOffset; return this; } - /** - * Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString. + /** + * Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.. * @return anchorYOffset - **/ - @ApiModelProperty(example = "null", value = "Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.") + **/ + @ApiModelProperty(value = "Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.") public String getAnchorYOffset() { return anchorYOffset; } + /** + * setAnchorYOffset. + **/ public void setAnchorYOffset(String anchorYOffset) { this.anchorYOffset = anchorYOffset; } + + /** + * bold. + * + * @return Zip + **/ public Zip bold(String bold) { this.bold = bold; return this; } - /** - * When set to **true**, the information in the tab is bold. + /** + * When set to **true**, the information in the tab is bold.. * @return bold - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is bold.") + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is bold.") public String getBold() { return bold; } + /** + * setBold. + **/ public void setBold(String bold) { this.bold = bold; } + + /** + * concealValueOnDocument. + * + * @return Zip + **/ public Zip concealValueOnDocument(String concealValueOnDocument) { this.concealValueOnDocument = concealValueOnDocument; return this; } - /** - * When set to **true**, the field appears normally while the recipient is adding or modifying the information in the field, but the data is not visible (the characters are hidden by asterisks) to any other signer or the sender. When an envelope is completed the information is available to the sender through the Form Data link in the DocuSign Console. This setting applies only to text boxes and does not affect list boxes, radio buttons, or check boxes. + /** + * When set to **true**, the field appears normally while the recipient is adding or modifying the information in the field, but the data is not visible (the characters are hidden by asterisks) to any other signer or the sender. When an envelope is completed the information is available to the sender through the Form Data link in the DocuSign Console. This setting applies only to text boxes and does not affect list boxes, radio buttons, or check boxes.. * @return concealValueOnDocument - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the field appears normally while the recipient is adding or modifying the information in the field, but the data is not visible (the characters are hidden by asterisks) to any other signer or the sender. When an envelope is completed the information is available to the sender through the Form Data link in the DocuSign Console. This setting applies only to text boxes and does not affect list boxes, radio buttons, or check boxes.") + **/ + @ApiModelProperty(value = "When set to **true**, the field appears normally while the recipient is adding or modifying the information in the field, but the data is not visible (the characters are hidden by asterisks) to any other signer or the sender. When an envelope is completed the information is available to the sender through the Form Data link in the DocuSign Console. This setting applies only to text boxes and does not affect list boxes, radio buttons, or check boxes.") public String getConcealValueOnDocument() { return concealValueOnDocument; } + /** + * setConcealValueOnDocument. + **/ public void setConcealValueOnDocument(String concealValueOnDocument) { this.concealValueOnDocument = concealValueOnDocument; } + + /** + * conditionalParentLabel. + * + * @return Zip + **/ public Zip conditionalParentLabel(String conditionalParentLabel) { this.conditionalParentLabel = conditionalParentLabel; return this; } - /** - * For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility. + /** + * For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.. * @return conditionalParentLabel - **/ - @ApiModelProperty(example = "null", value = "For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.") + **/ + @ApiModelProperty(value = "For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.") public String getConditionalParentLabel() { return conditionalParentLabel; } + /** + * setConditionalParentLabel. + **/ public void setConditionalParentLabel(String conditionalParentLabel) { this.conditionalParentLabel = conditionalParentLabel; } + + /** + * conditionalParentValue. + * + * @return Zip + **/ public Zip conditionalParentValue(String conditionalParentValue) { this.conditionalParentValue = conditionalParentValue; return this; } - /** - * For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. + /** + * For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. . * @return conditionalParentValue - **/ - @ApiModelProperty(example = "null", value = "For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. ") + **/ + @ApiModelProperty(value = "For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. ") public String getConditionalParentValue() { return conditionalParentValue; } + /** + * setConditionalParentValue. + **/ public void setConditionalParentValue(String conditionalParentValue) { this.conditionalParentValue = conditionalParentValue; } + + /** + * customTabId. + * + * @return Zip + **/ public Zip customTabId(String customTabId) { this.customTabId = customTabId; return this; } - /** - * The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties. + /** + * The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.. * @return customTabId - **/ - @ApiModelProperty(example = "null", value = "The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.") + **/ + @ApiModelProperty(value = "The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.") public String getCustomTabId() { return customTabId; } + /** + * setCustomTabId. + **/ public void setCustomTabId(String customTabId) { this.customTabId = customTabId; } + + /** + * disableAutoSize. + * + * @return Zip + **/ public Zip disableAutoSize(String disableAutoSize) { this.disableAutoSize = disableAutoSize; return this; } - /** - * When set to **true**, disables the auto sizing of single line text boxes in the signing screen when the signer enters data. If disabled users will only be able enter as much data as the text box can hold. By default this is false. This property only affects single line text boxes. + /** + * When set to **true**, disables the auto sizing of single line text boxes in the signing screen when the signer enters data. If disabled users will only be able enter as much data as the text box can hold. By default this is false. This property only affects single line text boxes.. * @return disableAutoSize - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, disables the auto sizing of single line text boxes in the signing screen when the signer enters data. If disabled users will only be able enter as much data as the text box can hold. By default this is false. This property only affects single line text boxes.") + **/ + @ApiModelProperty(value = "When set to **true**, disables the auto sizing of single line text boxes in the signing screen when the signer enters data. If disabled users will only be able enter as much data as the text box can hold. By default this is false. This property only affects single line text boxes.") public String getDisableAutoSize() { return disableAutoSize; } + /** + * setDisableAutoSize. + **/ public void setDisableAutoSize(String disableAutoSize) { this.disableAutoSize = disableAutoSize; } + + /** + * documentId. + * + * @return Zip + **/ public Zip documentId(String documentId) { this.documentId = documentId; return this; } - /** - * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute. + /** + * Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.. * @return documentId - **/ - @ApiModelProperty(example = "null", value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") + **/ + @ApiModelProperty(value = "Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.") public String getDocumentId() { return documentId; } + /** + * setDocumentId. + **/ public void setDocumentId(String documentId) { this.documentId = documentId; } + + /** + * errorDetails. + * + * @return Zip + **/ public Zip errorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; return this; } - /** - * Get errorDetails + /** + * Get errorDetails. * @return errorDetails - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public ErrorDetails getErrorDetails() { return errorDetails; } + /** + * setErrorDetails. + **/ public void setErrorDetails(ErrorDetails errorDetails) { this.errorDetails = errorDetails; } + + /** + * font. + * + * @return Zip + **/ public Zip font(String font) { this.font = font; return this; } - /** - * The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default. + /** + * The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.. * @return font - **/ - @ApiModelProperty(example = "null", value = "The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.") + **/ + @ApiModelProperty(value = "The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.") public String getFont() { return font; } + /** + * setFont. + **/ public void setFont(String font) { this.font = font; } + + /** + * fontColor. + * + * @return Zip + **/ public Zip fontColor(String fontColor) { this.fontColor = fontColor; return this; } - /** - * The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White. + /** + * The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.. * @return fontColor - **/ - @ApiModelProperty(example = "null", value = "The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.") + **/ + @ApiModelProperty(value = "The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.") public String getFontColor() { return fontColor; } + /** + * setFontColor. + **/ public void setFontColor(String fontColor) { this.fontColor = fontColor; } + + /** + * fontSize. + * + * @return Zip + **/ public Zip fontSize(String fontSize) { this.fontSize = fontSize; return this; } - /** - * The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72. + /** + * The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.. * @return fontSize - **/ - @ApiModelProperty(example = "null", value = "The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.") + **/ + @ApiModelProperty(value = "The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.") public String getFontSize() { return fontSize; } + /** + * setFontSize. + **/ public void setFontSize(String fontSize) { this.fontSize = fontSize; } + + /** + * italic. + * + * @return Zip + **/ public Zip italic(String italic) { this.italic = italic; return this; } - /** - * When set to **true**, the information in the tab is italic. + /** + * When set to **true**, the information in the tab is italic.. * @return italic - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is italic.") + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is italic.") public String getItalic() { return italic; } + /** + * setItalic. + **/ public void setItalic(String italic) { this.italic = italic; } + + /** + * locked. + * + * @return Zip + **/ public Zip locked(String locked) { this.locked = locked; return this; } - /** - * When set to **true**, the signer cannot change the data of the custom tab. + /** + * When set to **true**, the signer cannot change the data of the custom tab.. * @return locked - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the signer cannot change the data of the custom tab.") + **/ + @ApiModelProperty(value = "When set to **true**, the signer cannot change the data of the custom tab.") public String getLocked() { return locked; } + /** + * setLocked. + **/ public void setLocked(String locked) { this.locked = locked; } + + /** + * maxLength. + * + * @return Zip + **/ public Zip maxLength(Integer maxLength) { this.maxLength = maxLength; return this; } - /** - * An optional value that describes the maximum length of the property when the property is a string. + /** + * An optional value that describes the maximum length of the property when the property is a string.. * @return maxLength - **/ - @ApiModelProperty(example = "null", value = "An optional value that describes the maximum length of the property when the property is a string.") + **/ + @ApiModelProperty(value = "An optional value that describes the maximum length of the property when the property is a string.") public Integer getMaxLength() { return maxLength; } + /** + * setMaxLength. + **/ public void setMaxLength(Integer maxLength) { this.maxLength = maxLength; } + + /** + * mergeField. + * + * @return Zip + **/ public Zip mergeField(MergeField mergeField) { this.mergeField = mergeField; return this; } - /** - * Get mergeField + /** + * Get mergeField. * @return mergeField - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public MergeField getMergeField() { return mergeField; } + /** + * setMergeField. + **/ public void setMergeField(MergeField mergeField) { this.mergeField = mergeField; } + + /** + * name. + * + * @return Zip + **/ public Zip name(String name) { this.name = name; return this; } - /** - * + /** + * . * @return name - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getName() { return name; } + /** + * setName. + **/ public void setName(String name) { this.name = name; } + + /** + * originalValue. + * + * @return Zip + **/ public Zip originalValue(String originalValue) { this.originalValue = originalValue; return this; } - /** - * The initial value of the tab when it was sent to the recipient. + /** + * The initial value of the tab when it was sent to the recipient. . * @return originalValue - **/ - @ApiModelProperty(example = "null", value = "The initial value of the tab when it was sent to the recipient. ") + **/ + @ApiModelProperty(value = "The initial value of the tab when it was sent to the recipient. ") public String getOriginalValue() { return originalValue; } + /** + * setOriginalValue. + **/ public void setOriginalValue(String originalValue) { this.originalValue = originalValue; } + + /** + * pageNumber. + * + * @return Zip + **/ public Zip pageNumber(String pageNumber) { this.pageNumber = pageNumber; return this; } - /** - * Specifies the page number on which the tab is located. + /** + * Specifies the page number on which the tab is located.. * @return pageNumber - **/ - @ApiModelProperty(example = "null", value = "Specifies the page number on which the tab is located.") + **/ + @ApiModelProperty(value = "Specifies the page number on which the tab is located.") public String getPageNumber() { return pageNumber; } + /** + * setPageNumber. + **/ public void setPageNumber(String pageNumber) { this.pageNumber = pageNumber; } + + /** + * recipientId. + * + * @return Zip + **/ public Zip recipientId(String recipientId) { this.recipientId = recipientId; return this; } - /** - * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document. + /** + * Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.. * @return recipientId - **/ - @ApiModelProperty(example = "null", value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") + **/ + @ApiModelProperty(value = "Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.") public String getRecipientId() { return recipientId; } + /** + * setRecipientId. + **/ public void setRecipientId(String recipientId) { this.recipientId = recipientId; } + + /** + * requireAll. + * + * @return Zip + **/ public Zip requireAll(String requireAll) { this.requireAll = requireAll; return this; } - /** - * When set to **true** and shared is true, information must be entered in this field to complete the envelope. + /** + * When set to **true** and shared is true, information must be entered in this field to complete the envelope. . * @return requireAll - **/ - @ApiModelProperty(example = "null", value = "When set to **true** and shared is true, information must be entered in this field to complete the envelope. ") + **/ + @ApiModelProperty(value = "When set to **true** and shared is true, information must be entered in this field to complete the envelope. ") public String getRequireAll() { return requireAll; } + /** + * setRequireAll. + **/ public void setRequireAll(String requireAll) { this.requireAll = requireAll; } + + /** + * required. + * + * @return Zip + **/ public Zip required(String required) { this.required = required; return this; } - /** - * When set to **true**, the signer is required to fill out this tab + /** + * When set to **true**, the signer is required to fill out this tab. * @return required - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the signer is required to fill out this tab") + **/ + @ApiModelProperty(value = "When set to **true**, the signer is required to fill out this tab") public String getRequired() { return required; } + /** + * setRequired. + **/ public void setRequired(String required) { this.required = required; } + + /** + * requireInitialOnSharedChange. + * + * @return Zip + **/ public Zip requireInitialOnSharedChange(String requireInitialOnSharedChange) { this.requireInitialOnSharedChange = requireInitialOnSharedChange; return this; } - /** - * Optional element for field markup. When set to **true**, the signer is required to initial when they modify a shared field. + /** + * Optional element for field markup. When set to **true**, the signer is required to initial when they modify a shared field.. * @return requireInitialOnSharedChange - **/ - @ApiModelProperty(example = "null", value = "Optional element for field markup. When set to **true**, the signer is required to initial when they modify a shared field.") + **/ + @ApiModelProperty(value = "Optional element for field markup. When set to **true**, the signer is required to initial when they modify a shared field.") public String getRequireInitialOnSharedChange() { return requireInitialOnSharedChange; } + /** + * setRequireInitialOnSharedChange. + **/ public void setRequireInitialOnSharedChange(String requireInitialOnSharedChange) { this.requireInitialOnSharedChange = requireInitialOnSharedChange; } + + /** + * senderRequired. + * + * @return Zip + **/ public Zip senderRequired(String senderRequired) { this.senderRequired = senderRequired; return this; } - /** - * When set to **true**, the sender must populate the tab before an envelope can be sent using the template. This value tab can only be changed by modifying (PUT) the template. Tabs with a `senderRequired` value of true cannot be deleted from an envelope. + /** + * When set to **true**, the sender must populate the tab before an envelope can be sent using the template. This value tab can only be changed by modifying (PUT) the template. Tabs with a `senderRequired` value of true cannot be deleted from an envelope.. * @return senderRequired - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender must populate the tab before an envelope can be sent using the template. This value tab can only be changed by modifying (PUT) the template. Tabs with a `senderRequired` value of true cannot be deleted from an envelope.") + **/ + @ApiModelProperty(value = "When set to **true**, the sender must populate the tab before an envelope can be sent using the template. This value tab can only be changed by modifying (PUT) the template. Tabs with a `senderRequired` value of true cannot be deleted from an envelope.") public String getSenderRequired() { return senderRequired; } + /** + * setSenderRequired. + **/ public void setSenderRequired(String senderRequired) { this.senderRequired = senderRequired; } + + /** + * shared. + * + * @return Zip + **/ public Zip shared(String shared) { this.shared = shared; return this; } - /** - * When set to **true**, this custom tab is shared. + /** + * When set to **true**, this custom tab is shared.. * @return shared - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, this custom tab is shared.") + **/ + @ApiModelProperty(value = "When set to **true**, this custom tab is shared.") public String getShared() { return shared; } + /** + * setShared. + **/ public void setShared(String shared) { this.shared = shared; } + + /** + * status. + * + * @return Zip + **/ public Zip status(String status) { this.status = status; return this; } - /** - * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. + /** + * Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.. * @return status - **/ - @ApiModelProperty(example = "null", value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") + **/ + @ApiModelProperty(value = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.") public String getStatus() { return status; } + /** + * setStatus. + **/ public void setStatus(String status) { this.status = status; } + + /** + * tabGroupLabels. + * + * @return Zip + **/ public Zip tabGroupLabels(java.util.List<String> tabGroupLabels) { this.tabGroupLabels = tabGroupLabels; return this; } - + + /** + * addTabGroupLabelsItem. + * + * @return Zip + **/ public Zip addTabGroupLabelsItem(String tabGroupLabelsItem) { + if (this.tabGroupLabels == null) { + this.tabGroupLabels = new java.util.ArrayList<String>(); + } this.tabGroupLabels.add(tabGroupLabelsItem); return this; } - /** - * + /** + * . * @return tabGroupLabels - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public java.util.List<String> getTabGroupLabels() { return tabGroupLabels; } + /** + * setTabGroupLabels. + **/ public void setTabGroupLabels(java.util.List<String> tabGroupLabels) { this.tabGroupLabels = tabGroupLabels; } + + /** + * tabId. + * + * @return Zip + **/ public Zip tabId(String tabId) { this.tabId = tabId; return this; } - /** - * The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. + /** + * The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. . * @return tabId - **/ - @ApiModelProperty(example = "null", value = "The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. ") + **/ + @ApiModelProperty(value = "The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. ") public String getTabId() { return tabId; } + /** + * setTabId. + **/ public void setTabId(String tabId) { this.tabId = tabId; } + + /** + * tabLabel. + * + * @return Zip + **/ public Zip tabLabel(String tabLabel) { this.tabLabel = tabLabel; return this; } - /** - * The label string associated with the tab. + /** + * The label string associated with the tab.. * @return tabLabel - **/ - @ApiModelProperty(example = "null", value = "The label string associated with the tab.") + **/ + @ApiModelProperty(value = "The label string associated with the tab.") public String getTabLabel() { return tabLabel; } + /** + * setTabLabel. + **/ public void setTabLabel(String tabLabel) { this.tabLabel = tabLabel; } + + /** + * tabOrder. + * + * @return Zip + **/ public Zip tabOrder(String tabOrder) { this.tabOrder = tabOrder; return this; } - /** - * + /** + * . * @return tabOrder - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTabOrder() { return tabOrder; } + /** + * setTabOrder. + **/ public void setTabOrder(String tabOrder) { this.tabOrder = tabOrder; } + + /** + * templateLocked. + * + * @return Zip + **/ public Zip templateLocked(String templateLocked) { this.templateLocked = templateLocked; return this; } - /** - * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. . * @return templateLocked - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") + **/ + @ApiModelProperty(value = "When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. ") public String getTemplateLocked() { return templateLocked; } + /** + * setTemplateLocked. + **/ public void setTemplateLocked(String templateLocked) { this.templateLocked = templateLocked; } + + /** + * templateRequired. + * + * @return Zip + **/ public Zip templateRequired(String templateRequired) { this.templateRequired = templateRequired; return this; } - /** - * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients. + /** + * When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.. * @return templateRequired - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") + **/ + @ApiModelProperty(value = "When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.") public String getTemplateRequired() { return templateRequired; } + /** + * setTemplateRequired. + **/ public void setTemplateRequired(String templateRequired) { this.templateRequired = templateRequired; } + + /** + * tooltip. + * + * @return Zip + **/ public Zip tooltip(String tooltip) { this.tooltip = tooltip; return this; } - /** - * + /** + * . * @return tooltip - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getTooltip() { return tooltip; } + /** + * setTooltip. + **/ public void setTooltip(String tooltip) { this.tooltip = tooltip; } + + /** + * underline. + * + * @return Zip + **/ public Zip underline(String underline) { this.underline = underline; return this; } - /** - * When set to **true**, the information in the tab is underlined. + /** + * When set to **true**, the information in the tab is underlined.. * @return underline - **/ - @ApiModelProperty(example = "null", value = "When set to **true**, the information in the tab is underlined.") + **/ + @ApiModelProperty(value = "When set to **true**, the information in the tab is underlined.") public String getUnderline() { return underline; } + /** + * setUnderline. + **/ public void setUnderline(String underline) { this.underline = underline; } + + /** + * useDash4. + * + * @return Zip + **/ public Zip useDash4(String useDash4) { this.useDash4 = useDash4; return this; } - /** - * + /** + * . * @return useDash4 - **/ - @ApiModelProperty(example = "null", value = "") + **/ + @ApiModelProperty(value = "") public String getUseDash4() { return useDash4; } + /** + * setUseDash4. + **/ public void setUseDash4(String useDash4) { this.useDash4 = useDash4; } + + /** + * validationMessage. + * + * @return Zip + **/ public Zip validationMessage(String validationMessage) { this.validationMessage = validationMessage; return this; } - /** - * The message displayed if the custom tab fails input validation (either custom of embedded). + /** + * The message displayed if the custom tab fails input validation (either custom of embedded).. * @return validationMessage - **/ - @ApiModelProperty(example = "null", value = "The message displayed if the custom tab fails input validation (either custom of embedded).") + **/ + @ApiModelProperty(value = "The message displayed if the custom tab fails input validation (either custom of embedded).") public String getValidationMessage() { return validationMessage; } + /** + * setValidationMessage. + **/ public void setValidationMessage(String validationMessage) { this.validationMessage = validationMessage; } + + /** + * validationPattern. + * + * @return Zip + **/ public Zip validationPattern(String validationPattern) { this.validationPattern = validationPattern; return this; } - /** - * A regular expression used to validate input for the tab. + /** + * A regular expression used to validate input for the tab.. * @return validationPattern - **/ - @ApiModelProperty(example = "null", value = "A regular expression used to validate input for the tab.") + **/ + @ApiModelProperty(value = "A regular expression used to validate input for the tab.") public String getValidationPattern() { return validationPattern; } + /** + * setValidationPattern. + **/ public void setValidationPattern(String validationPattern) { this.validationPattern = validationPattern; } + + /** + * value. + * + * @return Zip + **/ public Zip value(String value) { this.value = value; return this; } - /** - * Specifies the value of the tab. + /** + * Specifies the value of the tab. . * @return value - **/ - @ApiModelProperty(example = "null", value = "Specifies the value of the tab. ") + **/ + @ApiModelProperty(value = "Specifies the value of the tab. ") public String getValue() { return value; } + /** + * setValue. + **/ public void setValue(String value) { this.value = value; } + + /** + * width. + * + * @return Zip + **/ public Zip width(Integer width) { this.width = width; return this; } - /** - * Width of the tab in pixels. + /** + * Width of the tab in pixels.. * @return width - **/ - @ApiModelProperty(example = "null", value = "Width of the tab in pixels.") + **/ + @ApiModelProperty(value = "Width of the tab in pixels.") public Integer getWidth() { return width; } + /** + * setWidth. + **/ public void setWidth(Integer width) { this.width = width; } + + /** + * xPosition. + * + * @return Zip + **/ public Zip xPosition(String xPosition) { this.xPosition = xPosition; return this; } - /** - * This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position. + /** + * This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.. * @return xPosition - **/ - @ApiModelProperty(example = "null", value = "This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.") + **/ + @ApiModelProperty(value = "This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.") public String getXPosition() { return xPosition; } + /** + * setXPosition. + **/ public void setXPosition(String xPosition) { this.xPosition = xPosition; } + + /** + * yPosition. + * + * @return Zip + **/ public Zip yPosition(String yPosition) { this.yPosition = yPosition; return this; } - /** - * This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position. + /** + * This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. * @return yPosition - **/ - @ApiModelProperty(example = "null", value = "This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.") + **/ + @ApiModelProperty(value = "This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.") public String getYPosition() { return yPosition; } + /** + * setYPosition. + **/ public void setYPosition(String yPosition) { this.yPosition = yPosition; } + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -1086,12 +1534,18 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.yPosition, zip.yPosition); } + /** + * Returns the HashCode. + */ @Override public int hashCode() { return Objects.hash(anchorCaseSensitive, anchorHorizontalAlignment, anchorIgnoreIfNotPresent, anchorMatchWholeWord, anchorString, anchorUnits, anchorXOffset, anchorYOffset, bold, concealValueOnDocument, conditionalParentLabel, conditionalParentValue, customTabId, disableAutoSize, documentId, errorDetails, font, fontColor, fontSize, italic, locked, maxLength, mergeField, name, originalValue, pageNumber, recipientId, requireAll, required, requireInitialOnSharedChange, senderRequired, shared, status, tabGroupLabels, tabId, tabLabel, tabOrder, templateLocked, templateRequired, tooltip, underline, useDash4, validationMessage, validationPattern, value, width, xPosition, yPosition); } + /** + * Converts the given object to string. + */ @Override public String toString() { StringBuilder sb = new StringBuilder(); @@ -1159,6 +1613,6 @@ private String toIndentedString(java.lang.Object o) { } return o.toString().replace("\n", "\n "); } - + } diff --git a/src/test/java/SdkUnitTests.java b/src/test/java/SdkUnitTests.java index dc595e07..308c0d95 100644 --- a/src/test/java/SdkUnitTests.java +++ b/src/test/java/SdkUnitTests.java @@ -6,7 +6,7 @@ import java.io.File; //import java.awt.Desktop; -import org.joda.time.DateTime; +import java.time.LocalDate; import org.junit.*; import org.junit.runners.MethodSorters; @@ -14,7 +14,7 @@ import java.util.ArrayList; import java.util.Arrays; import java.io.IOException; -import java.net.URI; +//import java.net.URI; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; @@ -30,21 +30,21 @@ @FixMethodOrder(MethodSorters.NAME_ASCENDING) public class SdkUnitTests { - private static final String UserName = "node_sdk@mailinator.com"; - private static final String UserId = "fcc5726c-xxxx-xxxx-xxxx-40bbbe6ca126"; - private static final String IntegratorKey = "ae30ea4e-xxxx-xxxx-xxxx-fcb57d2dc4df"; - private static final String IntegratorKeyImplicit = "68c1711f-xxxx-xxxx-xxxx-b49b4211d831"; - //private static final String ClientSecret = "b4dccdbe-xxxx-xxxx-xxxx-b2f0f7448f8f"; - private static final String RedirectURI = "https://www.docusign.com/api"; + private static final String UserName = System.getenv("USER_NAME"); + private static final String UserId = System.getenv("USER_ID"); + private static final String IntegratorKey = System.getenv("INTEGRATOR_KEY_JWT"); + //private static final String IntegratorKeyImplicit = System.getenv("INTEGRATOR_KEY_IMPLICIT"); + //private static final String ClientSecret = System.getenv("CLIENT_SECRET"); + //private static final String RedirectURI = System.getenv("REDIRECT_URI"); private static final String BaseUrl = "https://demo.docusign.net/restapi"; //private static final String OAuthBaseUrl = "account-d.docusign.com"; - private static final String privateKeyFullPath = System.getProperty("user.dir") + "/src/test/keys/docusign_private_key.txt"; + private static final byte[] privateKeyBytes = Base64.decode(System.getenv("PRIVATE_KEY")); private static final String brandLogoFullPath = System.getProperty("user.dir") + "/src/test/docs/DS.png"; private static final String SignTest1File = "/src/test/docs/SignTest1.pdf"; - private static final String TemplateId = "cf2a46c2-xxxx-xxxx-xxxx-752547b1a419"; - private static final String BrandId = "dbdaedc8-xxxx-xxxx-xxxx-b7cfd55f6b64"; + private static final String TemplateId = System.getenv("TEMPLATE_ID"); + private static final String BrandId = System.getenv("BRAND_ID"); private String[] envelopeIds = new String[0]; // JUnit 4.12 runs test cases in parallel, so the envelope ID needs to be initiated as well. @@ -78,7 +78,7 @@ public void tearDown() { public void JWTLoginTest() { System.out.println("\nJWTLoginTest:\n" + "==========================================="); ApiClient apiClient = new ApiClient(BaseUrl); - //String currentDir = System.getProperty("user.dir"); + //String currentDir = System.getenv("user.dir"); try { // IMPORTANT NOTE: @@ -89,14 +89,6 @@ public void JWTLoginTest() { //Desktop.getDesktop().browse(URI.create(oauthLoginUrl)); // END OF NOTE - byte[] privateKeyBytes = null; - try { - privateKeyBytes = Files.readAllBytes(Paths.get(privateKeyFullPath)); - } catch (IOException ioExcp) { - Assert.assertEquals(null, ioExcp); - } - if (privateKeyBytes == null) return; - java.util.List<String> scopes = new ArrayList<String>(); scopes.add(OAuth.Scope_SIGNATURE); scopes.add(OAuth.Scope_IMPERSONATION); @@ -127,15 +119,15 @@ public void JWTLoginTest() { @Test public void AuthorizationCodeLoginTest() { System.out.println("\nAuthorizationCodeLoginTest:\n" + "==========================================="); - ApiClient apiClient = new ApiClient(BaseUrl); + //ApiClient apiClient = new ApiClient(BaseUrl); try { // after successful login you should compare the value of URI decoded "state" query param // with the one you create here; they should match. - String randomState = "*^.$DGj*)+}Jk"; + //String randomState = "*^.$DGj*)+}Jk"; java.util.List<String> scopes = new ArrayList<String>(); scopes.add(OAuth.Scope_SIGNATURE); // get DocuSign OAuth authorization url - URI oauthLoginUrl = apiClient.getAuthorizationUri(IntegratorKey, scopes, RedirectURI, OAuth.CODE, randomState); + //URI oauthLoginUrl = apiClient.getAuthorizationUri(IntegratorKey, scopes, RedirectURI, OAuth.CODE, randomState); // open DocuSign OAuth login in the browser //Desktop.getDesktop().browse(oauthLoginUrl); // IMPORTANT: after the login, DocuSign will send back a fresh @@ -175,15 +167,15 @@ public void AuthorizationCodeLoginTest() { @Test public void ImplicitLoginTest() { System.out.println("\nImplicitLoginTest:\n" + "==========================================="); - ApiClient apiClient = new ApiClient(BaseUrl); + //ApiClient apiClient = new ApiClient(BaseUrl); try { // after successful login you should compare the value of URI decoded "state" query param // with the one you create here; they should match. - String randomState = "*^.$DGj*)+}Jk"; + //String randomState = "*^.$DGj*)+}Jk"; java.util.List<String> scopes = new ArrayList<String>(); scopes.add(OAuth.Scope_SIGNATURE); // get DocuSign OAuth authorization url - URI oAuthLoginUri = apiClient.getAuthorizationUri(IntegratorKeyImplicit, scopes, RedirectURI, OAuth.TOKEN, randomState); + //URI oAuthLoginUri = apiClient.getAuthorizationUri(IntegratorKeyImplicit, scopes, RedirectURI, OAuth.TOKEN, randomState); // open DocuSign OAuth login in the browser //Desktop.getDesktop().browse(oAuthLoginUri); // IMPORTANT: after the login, DocuSign will send back a new @@ -240,6 +232,7 @@ public void RequestASignatureTest() { doc.setDocumentBase64(base64Doc); doc.setName("TestFile.pdf"); doc.setDocumentId("1"); + //doc.setAssignTabsToRecipientId("false"); List<Document> docs = new ArrayList<Document>(); docs.add(doc); @@ -287,14 +280,6 @@ public void RequestASignatureTest() { //Desktop.getDesktop().browse(URI.create(oauthLoginUrl)); // END OF NOTE - byte[] privateKeyBytes = null; - try { - privateKeyBytes = Files.readAllBytes(Paths.get(privateKeyFullPath)); - } catch (IOException ioExcp) { - Assert.assertEquals(null, ioExcp); - } - if (privateKeyBytes == null) return; - java.util.List<String> scopes = new ArrayList<String>(); scopes.add(OAuth.Scope_SIGNATURE); @@ -376,14 +361,6 @@ public void RequestSignatureFromTemplate() { //Desktop.getDesktop().browse(URI.create(oauthLoginUrl)); // END OF NOTE - byte[] privateKeyBytes = null; - try { - privateKeyBytes = Files.readAllBytes(Paths.get(privateKeyFullPath)); - } catch (IOException ioExcp) { - Assert.assertEquals(null, ioExcp); - } - if (privateKeyBytes == null) return; - java.util.List<String> scopes = new ArrayList<String>(); scopes.add(OAuth.Scope_SIGNATURE); @@ -500,14 +477,6 @@ public void EmbeddedSigningTest() { //Desktop.getDesktop().browse(URI.create(oauthLoginUrl)); // END OF NOTE - byte[] privateKeyBytes = null; - try { - privateKeyBytes = Files.readAllBytes(Paths.get(privateKeyFullPath)); - } catch (IOException ioExcp) { - Assert.assertEquals(null, ioExcp); - } - if (privateKeyBytes == null) return; - java.util.List<String> scopes = new ArrayList<String>(); scopes.add(OAuth.Scope_SIGNATURE); @@ -561,6 +530,129 @@ public void EmbeddedSigningTest() { } + @Test + public void EmbeddedSendingTest() { + System.out.println("\nEmbeddedSendingTest:\n" + "==========================================="); + byte[] fileBytes = null; + try { + // String currentDir = new java.io.File(".").getCononicalPath(); + + String currentDir = System.getProperty("user.dir"); + + Path path = Paths.get(currentDir + SignTest1File); + fileBytes = Files.readAllBytes(path); + } catch (IOException ioExcp) { + Assert.assertEquals(null, ioExcp); + } + + // create an envelope to be signed + EnvelopeDefinition envDef = new EnvelopeDefinition(); + envDef.setEmailSubject("Please Sign my Java SDK Envelope (Embedded Signer)"); + envDef.setEmailBlurb("Hello, Please sign my Java SDK Envelope."); + + // add a document to the envelope + Document doc = new Document(); + String base64Doc = Base64.encodeToString(fileBytes, false); + doc.setDocumentBase64(base64Doc); + doc.setName("TestFile.pdf"); + doc.setDocumentId("1"); + + List<Document> docs = new ArrayList<Document>(); + docs.add(doc); + envDef.setDocuments(docs); + + // Add a recipient to sign the document + Signer signer = new Signer(); + signer.setEmail(UserName); + String name = "Pat Developer"; + signer.setName(name); + signer.setRecipientId("1"); + + // this value represents the client's unique identifier for the signer + String clientUserId = "2939"; + signer.setClientUserId(clientUserId); + + // Create a SignHere tab somewhere on the document for the signer to + // sign + SignHere signHere = new SignHere(); + signHere.setDocumentId("1"); + signHere.setPageNumber("1"); + signHere.setRecipientId("1"); + signHere.setXPosition("100"); + signHere.setYPosition("100"); + signHere.setScaleValue("0.5"); + + List<SignHere> signHereTabs = new ArrayList<SignHere>(); + signHereTabs.add(signHere); + Tabs tabs = new Tabs(); + tabs.setSignHereTabs(signHereTabs); + signer.setTabs(tabs); + + // Above causes issue + envDef.setRecipients(new Recipients()); + envDef.getRecipients().setSigners(new ArrayList<Signer>()); + envDef.getRecipients().getSigners().add(signer); + + // send the envelope (otherwise it will be "created" in the Draft folder + envDef.setStatus("sent"); + + ApiClient apiClient = new ApiClient(BaseUrl); + //String currentDir = System.getProperty("user.dir"); + + try { + // IMPORTANT NOTE: + // the first time you ask for a JWT access token, you should grant access by making the following call + // get DocuSign OAuth authorization url: + //String oauthLoginUrl = apiClient.getJWTUri(IntegratorKey, RedirectURI, OAuthBaseUrl); + // open DocuSign OAuth authorization url in the browser, login and grant access + //Desktop.getDesktop().browse(URI.create(oauthLoginUrl)); + // END OF NOTE + + java.util.List<String> scopes = new ArrayList<String>(); + scopes.add(OAuth.Scope_SIGNATURE); + + OAuth.OAuthToken oAuthToken = apiClient.requestJWTUserToken(IntegratorKey, UserId, scopes, privateKeyBytes, 3600); + Assert.assertNotSame(null, oAuthToken); + // now that the API client has an OAuth token, let's use it in all + // DocuSign APIs + apiClient.setAccessToken(oAuthToken.getAccessToken(), oAuthToken.getExpiresIn()); + UserInfo userInfo = apiClient.getUserInfo(oAuthToken.getAccessToken()); + Assert.assertNotSame(null, userInfo); + Assert.assertNotNull(userInfo.getAccounts()); + Assert.assertTrue(userInfo.getAccounts().size() > 0); + + System.out.println("UserInfo: " + userInfo); + // parse first account's baseUrl + // below code required for production, no effect in demo (same + // domain) + apiClient.setBasePath(userInfo.getAccounts().get(0).getBaseUri() + "/restapi"); + Configuration.setDefaultApiClient(apiClient); + String accountId = userInfo.getAccounts().get(0).getAccountId(); + + EnvelopesApi envelopesApi = new EnvelopesApi(); + EnvelopeSummary envelopeSummary = envelopesApi.createEnvelope(accountId, envDef); + + Assert.assertNotNull(envelopeSummary); + Assert.assertNotNull(envelopeSummary.getEnvelopeId()); + + System.out.println("EnvelopeSummary: " + envelopeSummary); + + ViewUrl viewUrl = envelopesApi.createSenderView(accountId, envelopeSummary.getEnvelopeId(), null); + + Assert.assertNotNull(viewUrl); + Assert.assertNotNull(viewUrl.getUrl()); + //Desktop.getDesktop().browse(URI.create(viewUrl.getUrl())); + // This Url should work in an Iframe or browser to allow signing + System.out.println("ViewUrl is " + viewUrl); + + } catch (ApiException ex) { + Assert.fail("Exception: " + ex); + } catch (Exception e) { + Assert.fail("Exception: " + e.getLocalizedMessage()); + } + + } + @Test public void CreateTemplateTest() { System.out.println("\nCreateTemplateTest:\n" + "==========================================="); @@ -638,14 +730,6 @@ public void CreateTemplateTest() { //Desktop.getDesktop().browse(URI.create(oauthLoginUrl)); // END OF NOTE - byte[] privateKeyBytes = null; - try { - privateKeyBytes = Files.readAllBytes(Paths.get(privateKeyFullPath)); - } catch (IOException ioExcp) { - Assert.assertEquals(null, ioExcp); - } - if (privateKeyBytes == null) return; - java.util.List<String> scopes = new ArrayList<String>(); scopes.add(OAuth.Scope_SIGNATURE); @@ -671,7 +755,6 @@ public void CreateTemplateTest() { TemplateSummary templateSummary = templatesApi.createTemplate(accountId, templateDef); Assert.assertNotNull(templateSummary); - Assert.assertNotNull(templateSummary.getTemplateId()); System.out.println("TemplateSummary: " + templateSummary); @@ -761,14 +844,6 @@ public void DownLoadEnvelopeDocumentsTest() { //Desktop.getDesktop().browse(URI.create(oauthLoginUrl)); // END OF NOTE - byte[] privateKeyBytes = null; - try { - privateKeyBytes = Files.readAllBytes(Paths.get(privateKeyFullPath)); - } catch (IOException ioExcp) { - Assert.assertEquals(null, ioExcp); - } - if (privateKeyBytes == null) return; - java.util.List<String> scopes = new ArrayList<String>(); scopes.add(OAuth.Scope_SIGNATURE); @@ -839,14 +914,6 @@ public void ListDocumentsTest() { //Desktop.getDesktop().browse(URI.create(oauthLoginUrl)); // END OF NOTE - byte[] privateKeyBytes = null; - try { - privateKeyBytes = Files.readAllBytes(Paths.get(privateKeyFullPath)); - } catch (IOException ioExcp) { - Assert.assertEquals(null, ioExcp); - } - if (privateKeyBytes == null) return; - java.util.List<String> scopes = new ArrayList<String>(); scopes.add(OAuth.Scope_SIGNATURE); @@ -960,14 +1027,6 @@ public void ResendEnvelopeTest() { //Desktop.getDesktop().browse(URI.create(oauthLoginUrl)); // END OF NOTE - byte[] privateKeyBytes = null; - try { - privateKeyBytes = Files.readAllBytes(Paths.get(privateKeyFullPath)); - } catch (IOException ioExcp) { - Assert.assertEquals(null, ioExcp); - } - if (privateKeyBytes == null) return; - java.util.List<String> scopes = new ArrayList<String>(); scopes.add(OAuth.Scope_SIGNATURE); @@ -1003,8 +1062,6 @@ public void ResendEnvelopeTest() { envelopeSummary.getEnvelopeId(), recipients, updateRecipientsOptions); Assert.assertNotNull(recipientsUpdateSummary); Assert.assertTrue(recipientsUpdateSummary.getRecipientUpdateResults().size() > 0); - Assert.assertEquals("SUCCESS", - recipientsUpdateSummary.getRecipientUpdateResults().get(0).getErrorDetails().getErrorCode()); System.out.println("RecipientsUpdateSummary: " + recipientsUpdateSummary); } catch (ApiException ex) { Assert.fail("Exception: " + ex); @@ -1091,14 +1148,6 @@ public void GetDiagnosticLogsTest() { //Desktop.getDesktop().browse(URI.create(oauthLoginUrl)); // END OF NOTE - byte[] privateKeyBytes = null; - try { - privateKeyBytes = Files.readAllBytes(Paths.get(privateKeyFullPath)); - } catch (IOException ioExcp) { - Assert.assertEquals(null, ioExcp); - } - if (privateKeyBytes == null) return; - java.util.List<String> scopes = new ArrayList<String>(); scopes.add(OAuth.Scope_SIGNATURE); @@ -1193,14 +1242,6 @@ public void ListStatusChangesTest() { //Desktop.getDesktop().browse(URI.create(oauthLoginUrl)); // END OF NOTE - byte[] privateKeyBytes = null; - try { - privateKeyBytes = Files.readAllBytes(Paths.get(privateKeyFullPath)); - } catch (IOException ioExcp) { - Assert.assertEquals(null, ioExcp); - } - if (privateKeyBytes == null) return; - java.util.List<String> scopes = new ArrayList<String>(); scopes.add(OAuth.Scope_SIGNATURE); @@ -1258,14 +1299,6 @@ public void ListStatusTest() { //Desktop.getDesktop().browse(URI.create(oauthLoginUrl)); // END OF NOTE - byte[] privateKeyBytes = null; - try { - privateKeyBytes = Files.readAllBytes(Paths.get(privateKeyFullPath)); - } catch (IOException ioExcp) { - Assert.assertEquals(null, ioExcp); - } - if (privateKeyBytes == null) return; - java.util.List<String> scopes = new ArrayList<String>(); scopes.add(OAuth.Scope_SIGNATURE); @@ -1325,14 +1358,6 @@ public void UpdateBulkRecipientsTest() { //Desktop.getDesktop().browse(URI.create(oauthLoginUrl)); // END OF NOTE - byte[] privateKeyBytes = null; - try { - privateKeyBytes = Files.readAllBytes(Paths.get(privateKeyFullPath)); - } catch (IOException ioExcp) { - Assert.assertEquals(null, ioExcp); - } - if (privateKeyBytes == null) return; - java.util.List<String> scopes = new ArrayList<String>(); scopes.add(OAuth.Scope_SIGNATURE); @@ -1385,18 +1410,9 @@ public void UpdateBulkRecipientsTest() { EnvelopeSummary envelopeSummary = envelopesApi.createEnvelope(accountId, envDef); BulkEnvelopesApi bulkEnvelopesApi = new BulkEnvelopesApi(); - BulkRecipientsRequest bulkRecipientsRequest = new BulkRecipientsRequest(); - - BulkRecipient bulkRecipient1 = new BulkRecipient(); - bulkRecipient1.setName("John Doe"); - bulkRecipient1.setEmail("john.doe@mailinator.com"); - - BulkRecipient bulkRecipient2 = new BulkRecipient(); - bulkRecipient2.setName("Jane Doe"); - bulkRecipient2.setEmail("jane.doe@mailinator.com"); - - bulkRecipientsRequest.addBulkRecipientsItem(bulkRecipient1); - bulkRecipientsRequest.addBulkRecipientsItem(bulkRecipient2); + // Typically the Bulk Send CSV payload will come from a file, a DB query or an API call + String bulkRecipientsCSV = "name,email\n" + "John Doe,john.doe@mailinator.com\n" + "Jane Doe,jane.doe@mailinator.com"; + byte[] bulkRecipientsRequest = bulkRecipientsCSV.getBytes(); BulkRecipientsSummaryResponse bulkRecipientsSummaryResponse = bulkEnvelopesApi.updateRecipients(accountId, envelopeSummary.getEnvelopeId(), "1", bulkRecipientsRequest); Assert.assertNotNull(bulkRecipientsSummaryResponse); @@ -1491,14 +1507,6 @@ public void UpdateChunkedUpload() { //Desktop.getDesktop().browse(URI.create(oauthLoginUrl)); // END OF NOTE - byte[] privateKeyBytes = null; - try { - privateKeyBytes = Files.readAllBytes(Paths.get(privateKeyFullPath)); - } catch (IOException ioExcp) { - Assert.assertEquals(null, ioExcp); - } - if (privateKeyBytes == null) return; - java.util.List<String> scopes = new ArrayList<String>(); scopes.add(OAuth.Scope_SIGNATURE); @@ -1570,14 +1578,6 @@ public void UpdateBrandLogoByTypeTest() { //Desktop.getDesktop().browse(URI.create(oauthLoginUrl)); // END OF NOTE - byte[] privateKeyBytes = null; - try { - privateKeyBytes = Files.readAllBytes(Paths.get(privateKeyFullPath)); - } catch (IOException ioExcp) { - Assert.assertEquals(null, ioExcp); - } - if (privateKeyBytes == null) return; - java.util.List<String> scopes = new ArrayList<String>(); scopes.add(OAuth.Scope_SIGNATURE); @@ -1615,6 +1615,187 @@ public void UpdateBrandLogoByTypeTest() { Assert.fail("Exception: " + e.getLocalizedMessage()); } } + + @Test + public void DeleteSigningGroupUserTest() + { + System.out.println("\nDeleteSigningGroupUserTest:\n" + "==========================================="); + ApiClient apiClient = new ApiClient(BaseUrl); + //String currentDir = System.getProperty("user.dir"); + + try { + // IMPORTANT NOTE: + // the first time you ask for a JWT access token, you should grant access by making the following call + // get DocuSign OAuth authorization url: + //String oauthLoginUrl = apiClient.getJWTUri(IntegratorKey, RedirectURI, OAuthBaseUrl); + // open DocuSign OAuth authorization url in the browser, login and grant access + //Desktop.getDesktop().browse(URI.create(oauthLoginUrl)); + // END OF NOTE + + java.util.List<String> scopes = new ArrayList<String>(); + scopes.add(OAuth.Scope_SIGNATURE); + + OAuth.OAuthToken oAuthToken = apiClient.requestJWTUserToken(IntegratorKey, UserId, scopes, privateKeyBytes, 3600); + Assert.assertNotSame(null, oAuthToken); + // now that the API client has an OAuth token, let's use it in all + // DocuSign APIs + apiClient.setAccessToken(oAuthToken.getAccessToken(), oAuthToken.getExpiresIn()); + UserInfo userInfo = apiClient.getUserInfo(oAuthToken.getAccessToken()); + Assert.assertNotSame(null, userInfo); + Assert.assertNotNull(userInfo.getAccounts()); + Assert.assertTrue(userInfo.getAccounts().size() > 0); + + System.out.println("UserInfo: " + userInfo); + // parse first account's baseUrl + // below code required for production, no effect in demo (same + // domain) + apiClient.setBasePath(userInfo.getAccounts().get(0).getBaseUri() + "/restapi"); + Configuration.setDefaultApiClient(apiClient); + String accountId = userInfo.getAccounts().get(0).getAccountId(); + + SigningGroupsApi signingGroupsApi = new SigningGroupsApi(); + + SigningGroupUser sgUser = new SigningGroupUser(); + sgUser.setEmail(UserName); + sgUser.setUserName("Pat Developer"); + + // create new signing group with this user + SigningGroupInformation signingGroupInformation = new SigningGroupInformation(); + SigningGroup signingGroup = new SigningGroup(); + signingGroup.setGroupName("temp"); + signingGroup.setGroupType("sharedSigningGroup"); + java.util.List<SigningGroupUser> users = new ArrayList<>(); + users.add(sgUser); + signingGroup.setUsers(users); + signingGroupInformation.addGroupsItem(signingGroup); + SigningGroupInformation retvalSGInformation = signingGroupsApi.createList(accountId, + signingGroupInformation); + + System.out.println("SigningGroupInformation: " + retvalSGInformation); + Assert.assertNotNull(retvalSGInformation); + + // delete the same user from the new signing group + java.util.List<SigningGroup> retvalSGs = retvalSGInformation.getGroups(); + String signingGroupId = null; + for (SigningGroup sg: retvalSGs) { + if ("temp".equals(sg.getGroupName())) { + signingGroupId = sg.getSigningGroupId(); + } + } + + SigningGroupUsers signingGroupUsers = new SigningGroupUsers(); + signingGroupUsers.addUsersItem(sgUser); + SigningGroupUsers retvalSGroupUsers = signingGroupsApi.deleteUsers(accountId, signingGroupId, + signingGroupUsers); + + System.out.println("SigningGroupUsers: " + retvalSGroupUsers); + Assert.assertNotNull(retvalSGroupUsers); + + // delete the new signing group altogether + retvalSGInformation = signingGroupsApi.deleteList(accountId, retvalSGInformation); + + System.out.println("SigningGroupInformation: " + retvalSGInformation); + Assert.assertNotNull(retvalSGInformation); + + } catch (ApiException ex) { + Assert.fail("Exception: " + ex); + } catch (Exception e) { + Assert.fail("Exception: " + e.getLocalizedMessage()); + } + } + + @Test + public void GetFormDataTest() { + System.out.println("\nGetFormDataTest:\n" + "==========================================="); + ApiClient apiClient = new ApiClient(BaseUrl); + //String currentDir = System.getProperty("user.dir"); + + try { + // IMPORTANT NOTE: + // the first time you ask for a JWT access token, you should grant access by making the following call + // get DocuSign OAuth authorization url: + //String oauthLoginUrl = apiClient.getJWTUri(IntegratorKey, RedirectURI, OAuthBaseUrl); + // open DocuSign OAuth authorization url in the browser, login and grant access + //Desktop.getDesktop().browse(URI.create(oauthLoginUrl)); + // END OF NOTE + + java.util.List<String> scopes = new ArrayList<String>(); + scopes.add(OAuth.Scope_SIGNATURE); + + OAuth.OAuthToken oAuthToken = apiClient.requestJWTUserToken(IntegratorKey, UserId, scopes, privateKeyBytes, 3600); + Assert.assertNotSame(null, oAuthToken); + // now that the API client has an OAuth token, let's use it in all + // DocuSign APIs + apiClient.setAccessToken(oAuthToken.getAccessToken(), oAuthToken.getExpiresIn()); + UserInfo userInfo = apiClient.getUserInfo(oAuthToken.getAccessToken()); + Assert.assertNotSame(null, userInfo); + Assert.assertNotNull(userInfo.getAccounts()); + Assert.assertTrue(userInfo.getAccounts().size() > 0); + + System.out.println("UserInfo: " + userInfo); + // parse first account's baseUrl + // below code required for production, no effect in demo (same + // domain) + apiClient.setBasePath(userInfo.getAccounts().get(0).getBaseUri() + "/restapi"); + Configuration.setDefaultApiClient(apiClient); + String accountId = userInfo.getAccounts().get(0).getAccountId(); + + EnvelopesApi envelopesApi = new EnvelopesApi(); + String envelopeId = envelopeIds[0]; + EnvelopeFormData envelopeFormData = envelopesApi.getFormData(accountId, envelopeId); + Assert.assertNotNull(envelopeFormData); + Assert.assertEquals(envelopeFormData.getEnvelopeId(), envelopeId); + + System.out.println("EnvelopeFormData: " + envelopeFormData); + } catch (ApiException ex) { + Assert.fail("Exception: " + ex); + } catch (Exception e) { + Assert.fail("Exception: " + e.getLocalizedMessage()); + } + } + + @Test + public void testRevoke() throws Exception { + ApiClient apiClient = new ApiClient(BaseUrl); + //apiClient.setDebugging(true); + try { + // IMPORTANT NOTE: + // the first time you ask for a JWT access token, you should grant access by making the following call + // get DocuSign OAuth authorization url: + //String oauthLoginUrl = apiClient.getJWTUri(IntegratorKey, RedirectURI, OAuthBaseUrl); + // open DocuSign OAuth authorization url in the browser, login and grant access + //Desktop.getDesktop().browse(URI.create(oauthLoginUrl)); + // END OF NOTE + + /*java.util.List<String> scopes = new ArrayList<String>(); + scopes.add(OAuth.Scope_SIGNATURE); + + OAuth.OAuthToken oAuthToken = apiClient.requestJWTUserToken(IntegratorKey, UserId, scopes, privateKeyBytes, 3600); + Assert.assertNotSame(null, oAuthToken); + // now that the API client has an OAuth token, let's use it in all + // DocuSign APIs + apiClient.setAccessToken(oAuthToken.getAccessToken(), oAuthToken.getExpiresIn()); + UserInfo userInfo = apiClient.getUserInfo(oAuthToken.getAccessToken()); + Assert.assertNotSame(null, userInfo); + Assert.assertNotNull(userInfo.getAccounts()); + Assert.assertTrue(userInfo.getAccounts().size() > 0); + + // parse first account's baseUrl + // below code required for production, no effect in demo (same + // domain) + apiClient.setBasePath(userInfo.getAccounts().get(0).getBaseUri() + "/restapi"); + Configuration.setDefaultApiClient(apiClient); + AuthenticationApi authenticationApi = new AuthenticationApi(apiClient); + AuthenticationApi.RevokeOAuthTokenOptions options = authenticationApi.new RevokeOAuthTokenOptions(); + options.setToken("<token_to_be_revoked_goes_here>"); + authenticationApi.revokeOAuthToken(options ); + } catch (ApiException ex) { + Assert.fail("Exception: " + ex);*/ + } catch (Exception e) { + e.printStackTrace(); + Assert.fail("Exception: " + e.getLocalizedMessage()); + } + } private String[] getLastTenEnvelopeIds() { String [] envelopeIds = new String[0]; @@ -1631,14 +1812,6 @@ private String[] getLastTenEnvelopeIds() { //Desktop.getDesktop().browse(URI.create(oauthLoginUrl)); // END OF NOTE - byte[] privateKeyBytes = null; - try { - privateKeyBytes = Files.readAllBytes(Paths.get(privateKeyFullPath)); - } catch (IOException ioExcp) { - Assert.assertEquals(null, ioExcp); - } - if (privateKeyBytes == null) return envelopeIds; - java.util.List<String> scopes = new ArrayList<String>(); scopes.add(OAuth.Scope_SIGNATURE); @@ -1660,9 +1833,9 @@ private String[] getLastTenEnvelopeIds() { String accountId = userInfo.getAccounts().get(0).getAccountId(); // This example gets statuses of all envelopes in your account going back 1 full month... - DateTime fromDate = new DateTime(); + LocalDate fromDate = LocalDate.now(); fromDate = fromDate.minusDays(30); - String fromDateStr = fromDate.toString("yyyy-MM-dd"); + String fromDateStr = fromDate.toString(); // set a filter for the envelopes we want returned using the fromDate and count properties EnvelopesApi envelopesApi = new EnvelopesApi(); @@ -1692,4 +1865,4 @@ private String[] getLastTenEnvelopeIds() { return envelopeIds; } -} +} \ No newline at end of file diff --git a/src/test/keys/docusign_private_key.txt b/src/test/keys/docusign_private_key.txt deleted file mode 100644 index a016c254..00000000 --- a/src/test/keys/docusign_private_key.txt +++ /dev/null @@ -1,27 +0,0 @@ ------BEGIN RSA PRIVATE KEY----- -MIIEogIBAAKCAQEAh0VLAZe6m36tbthAom/IRzxvm/i66mEpow9AsrFP3EAybtVw -2s13RJ1f0ZJA4sB7SbOtRymIxLlVUWkZLW4NqtECrObqOuke+G2ROWfOhcAyMuiB -lW44mvl8Gil+n6Lwif2+OtUQ88iwPuE6I7jKnBV82lNGDx3H1hqHl7wpQZRyRPCd -zPCrh6TRHj1D40mvrUwqAptj5m71QKA9tWVAQQ1DGKJZVZI4mdz3+I1XCinF8zrx -IUJyEtaJfCHiS086XF3Sw7DkU2o/QIIYbpxlf9Zdjr1QT6/ow7pwJbX2/GSQW2mV -GSY0KSiPFVjbpjKBpVpd4vgnQqn10BzLvLNySwIDAQABAoIBAA2opAm9oeSYlneW -U3RzeBQlWJm1tF39QKCL5jsE52z0eIMzfylAzPW7NFUrgOzEhc5r26fPXFWM5z4I -sDejoLKqVyxRRr57EpsAKUVUI4ji3s7AJnGJxyJy5aKYpQYGhGZSnlY/dG5BSfaX -dHDt9FttWgWLmgvltGt8k0txfvL1nYEQxXxE5gMKNKKoBXE8QF05BmpajApd+hhL -rGLicYpqsrliXr818HvFEKS8ODYfN856osLsvBJDANEW9+OiRQ9QQs5qdStrA5IX -35DktfSs5Tvr8ZkJksQyfIO4WmEVSJIkm00BL1oSWHAM0Zqv23u6H7HtmCBnvbpw -DY33t+ECgYEA4r9rjODMNhuGgrktDsBE+IQcvoWiYiV00OipZzx0l1q3HmRB51Jo -C/pQ+X6YHT3qZN263VksmlbzpvRQTeL97narhpW8ZdW/L0e6g9sOBchewItftfAJ -CdXmzaaPHEzVu56YGwtS1QC6IVdomxgmXNNuUYgyHt6KgDpVuHBi3usCgYEAmLi/ -cLSnIHPT42WFf2IgQWxT7vcBxe4pL0zjzC4NSi8m//g/F/MpQfgsSjreEx5hE6+4 -tAh6J2MZwcejbdCgV6eES84fEGDDYGT3GV9qwCTp6Z374hjP+0ZeGcFnzZLsrPPc -T5K/uaIH7n2dPzNe3aLCslnpStVIUz60mnusoiECgYAUk2A0EXYWdtr248zV6NaZ -YoulMkUw+Msn5eTxbEf8MAwr4tckIZM1ewp8CWPOS38IliJN0bi9bKSBguwClVWL -nRMljFLjPskxhiXDr04PckY+3KbbwKNhVBq0kKet3r8KXnLZCWcD0yQQwHjKkh9x -DvKUzXIW4QTaa/C5YuFl7wKBgHDF68fD/q1+GncOXnfj88GbxpbtGwgXh53//y6k -yvd+viPCIoUC7/Jg2gOuWJJxmmm5FoEKyXkQOtLXIp1SszRG5PA9Mr8bVOp3Y+f+ -h4t/NqNmH7ujauE34wDNymMJHW/RW1v/F0hyl7zKUTV8L48mQvMEZbr2p8OgyChT -LvVBAoGAFPjp50Q3vaZ1aghIjCfSoi0eU5tVbMCAXpwrjLkCGkw8r6U1ILQyMvqw -E57cqoj2hsZ3P7qgQvZox1L7THnAKNYIdM/tj444QmsYudC5wp5hZBEzmmwbIeq8 -3h4V9F7T/1PamwfRhZC3t4wf327HEMu0pZlwARWpuxh4eaXumYM= ------END RSA PRIVATE KEY----- \ No newline at end of file diff --git a/src/test/nbproject/project.properties b/src/test/nbproject/project.properties index 21625446..700278da 100644 --- a/src/test/nbproject/project.properties +++ b/src/test/nbproject/project.properties @@ -33,14 +33,12 @@ file.reference.com.docusign.esign-15.4.0.jar=../../sdk/target/com.docusign.esign file.reference.jackson-annotations-2.4.2.jar=../../sdk/target/lib/jackson-annotations-2.4.2.jar file.reference.jackson-core-2.4.2.jar=../../sdk/target/lib/jackson-core-2.4.2.jar file.reference.jackson-databind-2.4.2.jar=../../sdk/target/lib/jackson-databind-2.4.2.jar -file.reference.jackson-datatype-joda-2.1.5.jar=../../sdk/target/lib/jackson-datatype-joda-2.1.5.jar file.reference.jackson-jaxrs-base-2.4.2.jar=../../sdk/target/lib/jackson-jaxrs-base-2.4.2.jar file.reference.jackson-jaxrs-json-provider-2.4.2.jar=../../sdk/target/lib/jackson-jaxrs-json-provider-2.4.2.jar file.reference.jackson-module-jaxb-annotations-2.4.2.jar=../../sdk/target/lib/jackson-module-jaxb-annotations-2.4.2.jar file.reference.jersey-client-1.18.jar=../../sdk/target/lib/jersey-client-1.18.jar file.reference.jersey-core-1.18.jar=../../sdk/target/lib/jersey-core-1.18.jar file.reference.jersey-multipart-1.18.jar=../../sdk/target/lib/jersey-multipart-1.18.jar -file.reference.joda-time-2.3.jar=../../sdk/target/lib/joda-time-2.3.jar file.reference.junit-4.8.1.jar=../../sdk/target/lib/junit-4.8.1.jar file.reference.migbase64-2.2.jar=../../sdk/target/lib/migbase64-2.2.jar file.reference.mimepull-1.9.3.jar=../../sdk/target/lib/mimepull-1.9.3.jar @@ -50,11 +48,9 @@ javac.classpath=\ ${file.reference.jackson-annotations-2.4.2.jar}:\ ${file.reference.jackson-core-2.4.2.jar}:\ ${file.reference.jackson-databind-2.4.2.jar}:\ - ${file.reference.jackson-datatype-joda-2.1.5.jar}:\ ${file.reference.jersey-client-1.18.jar}:\ ${file.reference.jersey-core-1.18.jar}:\ ${file.reference.jersey-multipart-1.18.jar}:\ - ${file.reference.joda-time-2.3.jar}:\ ${file.reference.junit-4.8.1.jar}:\ ${file.reference.mimepull-1.9.3.jar}:\ ${file.reference.jackson-jaxrs-base-2.4.2.jar}:\ diff --git a/target/classes/com/docusign/esign/api/AccountsApi$1.class b/target/classes/com/docusign/esign/api/AccountsApi$1.class deleted file mode 100644 index 544e6fe1..00000000 Binary files a/target/classes/com/docusign/esign/api/AccountsApi$1.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/AccountsApi$10.class b/target/classes/com/docusign/esign/api/AccountsApi$10.class deleted file mode 100644 index f07526c1..00000000 Binary files a/target/classes/com/docusign/esign/api/AccountsApi$10.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/AccountsApi$11.class b/target/classes/com/docusign/esign/api/AccountsApi$11.class deleted file mode 100644 index 5e86e89b..00000000 Binary files a/target/classes/com/docusign/esign/api/AccountsApi$11.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/AccountsApi$12.class b/target/classes/com/docusign/esign/api/AccountsApi$12.class deleted file mode 100644 index 35b2f1e7..00000000 Binary files a/target/classes/com/docusign/esign/api/AccountsApi$12.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/AccountsApi$13.class b/target/classes/com/docusign/esign/api/AccountsApi$13.class deleted file mode 100644 index b3953f19..00000000 Binary files a/target/classes/com/docusign/esign/api/AccountsApi$13.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/AccountsApi$14.class b/target/classes/com/docusign/esign/api/AccountsApi$14.class deleted file mode 100644 index 5945595d..00000000 Binary files a/target/classes/com/docusign/esign/api/AccountsApi$14.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/AccountsApi$15.class b/target/classes/com/docusign/esign/api/AccountsApi$15.class deleted file mode 100644 index 702e14c4..00000000 Binary files a/target/classes/com/docusign/esign/api/AccountsApi$15.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/AccountsApi$16.class b/target/classes/com/docusign/esign/api/AccountsApi$16.class deleted file mode 100644 index a0223403..00000000 Binary files a/target/classes/com/docusign/esign/api/AccountsApi$16.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/AccountsApi$17.class b/target/classes/com/docusign/esign/api/AccountsApi$17.class deleted file mode 100644 index 09475720..00000000 Binary files a/target/classes/com/docusign/esign/api/AccountsApi$17.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/AccountsApi$18.class b/target/classes/com/docusign/esign/api/AccountsApi$18.class deleted file mode 100644 index dbc970d0..00000000 Binary files a/target/classes/com/docusign/esign/api/AccountsApi$18.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/AccountsApi$19.class b/target/classes/com/docusign/esign/api/AccountsApi$19.class deleted file mode 100644 index cacb783d..00000000 Binary files a/target/classes/com/docusign/esign/api/AccountsApi$19.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/AccountsApi$2.class b/target/classes/com/docusign/esign/api/AccountsApi$2.class deleted file mode 100644 index 8b6e956d..00000000 Binary files a/target/classes/com/docusign/esign/api/AccountsApi$2.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/AccountsApi$20.class b/target/classes/com/docusign/esign/api/AccountsApi$20.class deleted file mode 100644 index 1161519a..00000000 Binary files a/target/classes/com/docusign/esign/api/AccountsApi$20.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/AccountsApi$21.class b/target/classes/com/docusign/esign/api/AccountsApi$21.class deleted file mode 100644 index da171b24..00000000 Binary files a/target/classes/com/docusign/esign/api/AccountsApi$21.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/AccountsApi$22.class b/target/classes/com/docusign/esign/api/AccountsApi$22.class deleted file mode 100644 index 4e2df660..00000000 Binary files a/target/classes/com/docusign/esign/api/AccountsApi$22.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/AccountsApi$23.class b/target/classes/com/docusign/esign/api/AccountsApi$23.class deleted file mode 100644 index b7fbb678..00000000 Binary files a/target/classes/com/docusign/esign/api/AccountsApi$23.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/AccountsApi$24.class b/target/classes/com/docusign/esign/api/AccountsApi$24.class deleted file mode 100644 index e232458d..00000000 Binary files a/target/classes/com/docusign/esign/api/AccountsApi$24.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/AccountsApi$25.class b/target/classes/com/docusign/esign/api/AccountsApi$25.class deleted file mode 100644 index bfaf1db1..00000000 Binary files a/target/classes/com/docusign/esign/api/AccountsApi$25.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/AccountsApi$26.class b/target/classes/com/docusign/esign/api/AccountsApi$26.class deleted file mode 100644 index 935cf06f..00000000 Binary files a/target/classes/com/docusign/esign/api/AccountsApi$26.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/AccountsApi$27.class b/target/classes/com/docusign/esign/api/AccountsApi$27.class deleted file mode 100644 index 6cd11e89..00000000 Binary files a/target/classes/com/docusign/esign/api/AccountsApi$27.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/AccountsApi$28.class b/target/classes/com/docusign/esign/api/AccountsApi$28.class deleted file mode 100644 index a04ff628..00000000 Binary files a/target/classes/com/docusign/esign/api/AccountsApi$28.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/AccountsApi$29.class b/target/classes/com/docusign/esign/api/AccountsApi$29.class deleted file mode 100644 index b92ca5e9..00000000 Binary files a/target/classes/com/docusign/esign/api/AccountsApi$29.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/AccountsApi$3.class b/target/classes/com/docusign/esign/api/AccountsApi$3.class deleted file mode 100644 index e85289f5..00000000 Binary files a/target/classes/com/docusign/esign/api/AccountsApi$3.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/AccountsApi$30.class b/target/classes/com/docusign/esign/api/AccountsApi$30.class deleted file mode 100644 index d0491245..00000000 Binary files a/target/classes/com/docusign/esign/api/AccountsApi$30.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/AccountsApi$4.class b/target/classes/com/docusign/esign/api/AccountsApi$4.class deleted file mode 100644 index 813546b9..00000000 Binary files a/target/classes/com/docusign/esign/api/AccountsApi$4.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/AccountsApi$5.class b/target/classes/com/docusign/esign/api/AccountsApi$5.class deleted file mode 100644 index c591a369..00000000 Binary files a/target/classes/com/docusign/esign/api/AccountsApi$5.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/AccountsApi$6.class b/target/classes/com/docusign/esign/api/AccountsApi$6.class deleted file mode 100644 index d54f6194..00000000 Binary files a/target/classes/com/docusign/esign/api/AccountsApi$6.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/AccountsApi$7.class b/target/classes/com/docusign/esign/api/AccountsApi$7.class deleted file mode 100644 index 2f5af65b..00000000 Binary files a/target/classes/com/docusign/esign/api/AccountsApi$7.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/AccountsApi$8.class b/target/classes/com/docusign/esign/api/AccountsApi$8.class deleted file mode 100644 index 65b980b9..00000000 Binary files a/target/classes/com/docusign/esign/api/AccountsApi$8.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/AccountsApi$9.class b/target/classes/com/docusign/esign/api/AccountsApi$9.class deleted file mode 100644 index 7d9d57f1..00000000 Binary files a/target/classes/com/docusign/esign/api/AccountsApi$9.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/AccountsApi$CreateOptions.class b/target/classes/com/docusign/esign/api/AccountsApi$CreateOptions.class deleted file mode 100644 index 04091c7a..00000000 Binary files a/target/classes/com/docusign/esign/api/AccountsApi$CreateOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/AccountsApi$CreatePermissionProfileOptions.class b/target/classes/com/docusign/esign/api/AccountsApi$CreatePermissionProfileOptions.class deleted file mode 100644 index 907d4e07..00000000 Binary files a/target/classes/com/docusign/esign/api/AccountsApi$CreatePermissionProfileOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/AccountsApi$GetAccountInformationOptions.class b/target/classes/com/docusign/esign/api/AccountsApi$GetAccountInformationOptions.class deleted file mode 100644 index f8663eb5..00000000 Binary files a/target/classes/com/docusign/esign/api/AccountsApi$GetAccountInformationOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/AccountsApi$GetBillingChargesOptions.class b/target/classes/com/docusign/esign/api/AccountsApi$GetBillingChargesOptions.class deleted file mode 100644 index 42e78ba0..00000000 Binary files a/target/classes/com/docusign/esign/api/AccountsApi$GetBillingChargesOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/AccountsApi$GetBrandOptions.class b/target/classes/com/docusign/esign/api/AccountsApi$GetBrandOptions.class deleted file mode 100644 index 520bffb3..00000000 Binary files a/target/classes/com/docusign/esign/api/AccountsApi$GetBrandOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/AccountsApi$GetBrandResourcesByContentTypeOptions.class b/target/classes/com/docusign/esign/api/AccountsApi$GetBrandResourcesByContentTypeOptions.class deleted file mode 100644 index 0cd5719f..00000000 Binary files a/target/classes/com/docusign/esign/api/AccountsApi$GetBrandResourcesByContentTypeOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/AccountsApi$GetConsumerDisclosureDefaultOptions.class b/target/classes/com/docusign/esign/api/AccountsApi$GetConsumerDisclosureDefaultOptions.class deleted file mode 100644 index 3ce0e573..00000000 Binary files a/target/classes/com/docusign/esign/api/AccountsApi$GetConsumerDisclosureDefaultOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/AccountsApi$GetPermissionProfileOptions.class b/target/classes/com/docusign/esign/api/AccountsApi$GetPermissionProfileOptions.class deleted file mode 100644 index ff4827a2..00000000 Binary files a/target/classes/com/docusign/esign/api/AccountsApi$GetPermissionProfileOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/AccountsApi$ListBrandsOptions.class b/target/classes/com/docusign/esign/api/AccountsApi$ListBrandsOptions.class deleted file mode 100644 index 60baa26c..00000000 Binary files a/target/classes/com/docusign/esign/api/AccountsApi$ListBrandsOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/AccountsApi$ListPermissionsOptions.class b/target/classes/com/docusign/esign/api/AccountsApi$ListPermissionsOptions.class deleted file mode 100644 index d5649957..00000000 Binary files a/target/classes/com/docusign/esign/api/AccountsApi$ListPermissionsOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/AccountsApi$ListRecipientNamesByEmailOptions.class b/target/classes/com/docusign/esign/api/AccountsApi$ListRecipientNamesByEmailOptions.class deleted file mode 100644 index 52fd55b2..00000000 Binary files a/target/classes/com/docusign/esign/api/AccountsApi$ListRecipientNamesByEmailOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/AccountsApi$ListSharedAccessOptions.class b/target/classes/com/docusign/esign/api/AccountsApi$ListSharedAccessOptions.class deleted file mode 100644 index c25455af..00000000 Binary files a/target/classes/com/docusign/esign/api/AccountsApi$ListSharedAccessOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/AccountsApi$UpdatePermissionProfileOptions.class b/target/classes/com/docusign/esign/api/AccountsApi$UpdatePermissionProfileOptions.class deleted file mode 100644 index 8821c93a..00000000 Binary files a/target/classes/com/docusign/esign/api/AccountsApi$UpdatePermissionProfileOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/AccountsApi$UpdateSharedAccessOptions.class b/target/classes/com/docusign/esign/api/AccountsApi$UpdateSharedAccessOptions.class deleted file mode 100644 index 8fc0d832..00000000 Binary files a/target/classes/com/docusign/esign/api/AccountsApi$UpdateSharedAccessOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/AccountsApi.class b/target/classes/com/docusign/esign/api/AccountsApi.class deleted file mode 100644 index 0a85ed05..00000000 Binary files a/target/classes/com/docusign/esign/api/AccountsApi.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/AuthenticationApi$1.class b/target/classes/com/docusign/esign/api/AuthenticationApi$1.class deleted file mode 100644 index 0a3f60be..00000000 Binary files a/target/classes/com/docusign/esign/api/AuthenticationApi$1.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/AuthenticationApi$2.class b/target/classes/com/docusign/esign/api/AuthenticationApi$2.class deleted file mode 100644 index 913cb5ca..00000000 Binary files a/target/classes/com/docusign/esign/api/AuthenticationApi$2.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/AuthenticationApi$3.class b/target/classes/com/docusign/esign/api/AuthenticationApi$3.class deleted file mode 100644 index 04a25883..00000000 Binary files a/target/classes/com/docusign/esign/api/AuthenticationApi$3.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/AuthenticationApi$LoginOptions.class b/target/classes/com/docusign/esign/api/AuthenticationApi$LoginOptions.class deleted file mode 100644 index 389edd07..00000000 Binary files a/target/classes/com/docusign/esign/api/AuthenticationApi$LoginOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/AuthenticationApi.class b/target/classes/com/docusign/esign/api/AuthenticationApi.class deleted file mode 100644 index 3bc34629..00000000 Binary files a/target/classes/com/docusign/esign/api/AuthenticationApi.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/BillingApi$1.class b/target/classes/com/docusign/esign/api/BillingApi$1.class deleted file mode 100644 index 11396996..00000000 Binary files a/target/classes/com/docusign/esign/api/BillingApi$1.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/BillingApi$10.class b/target/classes/com/docusign/esign/api/BillingApi$10.class deleted file mode 100644 index 7f1b484a..00000000 Binary files a/target/classes/com/docusign/esign/api/BillingApi$10.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/BillingApi$2.class b/target/classes/com/docusign/esign/api/BillingApi$2.class deleted file mode 100644 index dcf45bab..00000000 Binary files a/target/classes/com/docusign/esign/api/BillingApi$2.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/BillingApi$3.class b/target/classes/com/docusign/esign/api/BillingApi$3.class deleted file mode 100644 index 9a0df022..00000000 Binary files a/target/classes/com/docusign/esign/api/BillingApi$3.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/BillingApi$4.class b/target/classes/com/docusign/esign/api/BillingApi$4.class deleted file mode 100644 index bcb47d74..00000000 Binary files a/target/classes/com/docusign/esign/api/BillingApi$4.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/BillingApi$5.class b/target/classes/com/docusign/esign/api/BillingApi$5.class deleted file mode 100644 index b84869cf..00000000 Binary files a/target/classes/com/docusign/esign/api/BillingApi$5.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/BillingApi$6.class b/target/classes/com/docusign/esign/api/BillingApi$6.class deleted file mode 100644 index df962ef9..00000000 Binary files a/target/classes/com/docusign/esign/api/BillingApi$6.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/BillingApi$7.class b/target/classes/com/docusign/esign/api/BillingApi$7.class deleted file mode 100644 index 8dc68452..00000000 Binary files a/target/classes/com/docusign/esign/api/BillingApi$7.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/BillingApi$8.class b/target/classes/com/docusign/esign/api/BillingApi$8.class deleted file mode 100644 index 313deabc..00000000 Binary files a/target/classes/com/docusign/esign/api/BillingApi$8.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/BillingApi$9.class b/target/classes/com/docusign/esign/api/BillingApi$9.class deleted file mode 100644 index 5297f9dc..00000000 Binary files a/target/classes/com/docusign/esign/api/BillingApi$9.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/BillingApi$GetPlanOptions.class b/target/classes/com/docusign/esign/api/BillingApi$GetPlanOptions.class deleted file mode 100644 index 3f668583..00000000 Binary files a/target/classes/com/docusign/esign/api/BillingApi$GetPlanOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/BillingApi$ListInvoicesOptions.class b/target/classes/com/docusign/esign/api/BillingApi$ListInvoicesOptions.class deleted file mode 100644 index e226f7d0..00000000 Binary files a/target/classes/com/docusign/esign/api/BillingApi$ListInvoicesOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/BillingApi$ListPaymentsOptions.class b/target/classes/com/docusign/esign/api/BillingApi$ListPaymentsOptions.class deleted file mode 100644 index 3749eaaf..00000000 Binary files a/target/classes/com/docusign/esign/api/BillingApi$ListPaymentsOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/BillingApi$UpdatePlanOptions.class b/target/classes/com/docusign/esign/api/BillingApi$UpdatePlanOptions.class deleted file mode 100644 index f5090161..00000000 Binary files a/target/classes/com/docusign/esign/api/BillingApi$UpdatePlanOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/BillingApi.class b/target/classes/com/docusign/esign/api/BillingApi.class deleted file mode 100644 index b4931f08..00000000 Binary files a/target/classes/com/docusign/esign/api/BillingApi.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/BulkEnvelopesApi$1.class b/target/classes/com/docusign/esign/api/BulkEnvelopesApi$1.class deleted file mode 100644 index ad7cf468..00000000 Binary files a/target/classes/com/docusign/esign/api/BulkEnvelopesApi$1.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/BulkEnvelopesApi$2.class b/target/classes/com/docusign/esign/api/BulkEnvelopesApi$2.class deleted file mode 100644 index 2f5223d9..00000000 Binary files a/target/classes/com/docusign/esign/api/BulkEnvelopesApi$2.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/BulkEnvelopesApi$3.class b/target/classes/com/docusign/esign/api/BulkEnvelopesApi$3.class deleted file mode 100644 index c5d0b101..00000000 Binary files a/target/classes/com/docusign/esign/api/BulkEnvelopesApi$3.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/BulkEnvelopesApi$4.class b/target/classes/com/docusign/esign/api/BulkEnvelopesApi$4.class deleted file mode 100644 index eada36fe..00000000 Binary files a/target/classes/com/docusign/esign/api/BulkEnvelopesApi$4.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/BulkEnvelopesApi$5.class b/target/classes/com/docusign/esign/api/BulkEnvelopesApi$5.class deleted file mode 100644 index 30554dd2..00000000 Binary files a/target/classes/com/docusign/esign/api/BulkEnvelopesApi$5.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/BulkEnvelopesApi$GetOptions.class b/target/classes/com/docusign/esign/api/BulkEnvelopesApi$GetOptions.class deleted file mode 100644 index d0f21715..00000000 Binary files a/target/classes/com/docusign/esign/api/BulkEnvelopesApi$GetOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/BulkEnvelopesApi$GetRecipientsOptions.class b/target/classes/com/docusign/esign/api/BulkEnvelopesApi$GetRecipientsOptions.class deleted file mode 100644 index e32262df..00000000 Binary files a/target/classes/com/docusign/esign/api/BulkEnvelopesApi$GetRecipientsOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/BulkEnvelopesApi$ListOptions.class b/target/classes/com/docusign/esign/api/BulkEnvelopesApi$ListOptions.class deleted file mode 100644 index 81b81242..00000000 Binary files a/target/classes/com/docusign/esign/api/BulkEnvelopesApi$ListOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/BulkEnvelopesApi.class b/target/classes/com/docusign/esign/api/BulkEnvelopesApi.class deleted file mode 100644 index 1409b713..00000000 Binary files a/target/classes/com/docusign/esign/api/BulkEnvelopesApi.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/CloudStorageApi$1.class b/target/classes/com/docusign/esign/api/CloudStorageApi$1.class deleted file mode 100644 index eab333ad..00000000 Binary files a/target/classes/com/docusign/esign/api/CloudStorageApi$1.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/CloudStorageApi$2.class b/target/classes/com/docusign/esign/api/CloudStorageApi$2.class deleted file mode 100644 index 53ca7a53..00000000 Binary files a/target/classes/com/docusign/esign/api/CloudStorageApi$2.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/CloudStorageApi$3.class b/target/classes/com/docusign/esign/api/CloudStorageApi$3.class deleted file mode 100644 index 329ceeb8..00000000 Binary files a/target/classes/com/docusign/esign/api/CloudStorageApi$3.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/CloudStorageApi$4.class b/target/classes/com/docusign/esign/api/CloudStorageApi$4.class deleted file mode 100644 index 7fdfdbba..00000000 Binary files a/target/classes/com/docusign/esign/api/CloudStorageApi$4.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/CloudStorageApi$5.class b/target/classes/com/docusign/esign/api/CloudStorageApi$5.class deleted file mode 100644 index 1b2247b8..00000000 Binary files a/target/classes/com/docusign/esign/api/CloudStorageApi$5.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/CloudStorageApi$6.class b/target/classes/com/docusign/esign/api/CloudStorageApi$6.class deleted file mode 100644 index 5077c9af..00000000 Binary files a/target/classes/com/docusign/esign/api/CloudStorageApi$6.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/CloudStorageApi$7.class b/target/classes/com/docusign/esign/api/CloudStorageApi$7.class deleted file mode 100644 index b72917c0..00000000 Binary files a/target/classes/com/docusign/esign/api/CloudStorageApi$7.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/CloudStorageApi$GetProviderOptions.class b/target/classes/com/docusign/esign/api/CloudStorageApi$GetProviderOptions.class deleted file mode 100644 index cc616345..00000000 Binary files a/target/classes/com/docusign/esign/api/CloudStorageApi$GetProviderOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/CloudStorageApi$ListFoldersOptions.class b/target/classes/com/docusign/esign/api/CloudStorageApi$ListFoldersOptions.class deleted file mode 100644 index 5e8884ff..00000000 Binary files a/target/classes/com/docusign/esign/api/CloudStorageApi$ListFoldersOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/CloudStorageApi$ListOptions.class b/target/classes/com/docusign/esign/api/CloudStorageApi$ListOptions.class deleted file mode 100644 index 83e84eda..00000000 Binary files a/target/classes/com/docusign/esign/api/CloudStorageApi$ListOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/CloudStorageApi$ListProvidersOptions.class b/target/classes/com/docusign/esign/api/CloudStorageApi$ListProvidersOptions.class deleted file mode 100644 index c6896db3..00000000 Binary files a/target/classes/com/docusign/esign/api/CloudStorageApi$ListProvidersOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/CloudStorageApi.class b/target/classes/com/docusign/esign/api/CloudStorageApi.class deleted file mode 100644 index 4c32fcc6..00000000 Binary files a/target/classes/com/docusign/esign/api/CloudStorageApi.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/ConnectApi$1.class b/target/classes/com/docusign/esign/api/ConnectApi$1.class deleted file mode 100644 index 9e587d44..00000000 Binary files a/target/classes/com/docusign/esign/api/ConnectApi$1.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/ConnectApi$10.class b/target/classes/com/docusign/esign/api/ConnectApi$10.class deleted file mode 100644 index 21574c2a..00000000 Binary files a/target/classes/com/docusign/esign/api/ConnectApi$10.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/ConnectApi$2.class b/target/classes/com/docusign/esign/api/ConnectApi$2.class deleted file mode 100644 index f599ab1c..00000000 Binary files a/target/classes/com/docusign/esign/api/ConnectApi$2.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/ConnectApi$3.class b/target/classes/com/docusign/esign/api/ConnectApi$3.class deleted file mode 100644 index 9853a47a..00000000 Binary files a/target/classes/com/docusign/esign/api/ConnectApi$3.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/ConnectApi$4.class b/target/classes/com/docusign/esign/api/ConnectApi$4.class deleted file mode 100644 index df6b4582..00000000 Binary files a/target/classes/com/docusign/esign/api/ConnectApi$4.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/ConnectApi$5.class b/target/classes/com/docusign/esign/api/ConnectApi$5.class deleted file mode 100644 index 1b898a6e..00000000 Binary files a/target/classes/com/docusign/esign/api/ConnectApi$5.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/ConnectApi$6.class b/target/classes/com/docusign/esign/api/ConnectApi$6.class deleted file mode 100644 index 7b9665f0..00000000 Binary files a/target/classes/com/docusign/esign/api/ConnectApi$6.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/ConnectApi$7.class b/target/classes/com/docusign/esign/api/ConnectApi$7.class deleted file mode 100644 index 78d47a85..00000000 Binary files a/target/classes/com/docusign/esign/api/ConnectApi$7.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/ConnectApi$8.class b/target/classes/com/docusign/esign/api/ConnectApi$8.class deleted file mode 100644 index 991124bb..00000000 Binary files a/target/classes/com/docusign/esign/api/ConnectApi$8.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/ConnectApi$9.class b/target/classes/com/docusign/esign/api/ConnectApi$9.class deleted file mode 100644 index af36dbf9..00000000 Binary files a/target/classes/com/docusign/esign/api/ConnectApi$9.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/ConnectApi$GetEventLogOptions.class b/target/classes/com/docusign/esign/api/ConnectApi$GetEventLogOptions.class deleted file mode 100644 index fd233fd6..00000000 Binary files a/target/classes/com/docusign/esign/api/ConnectApi$GetEventLogOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/ConnectApi$ListEventFailureLogsOptions.class b/target/classes/com/docusign/esign/api/ConnectApi$ListEventFailureLogsOptions.class deleted file mode 100644 index 37571fda..00000000 Binary files a/target/classes/com/docusign/esign/api/ConnectApi$ListEventFailureLogsOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/ConnectApi$ListEventLogsOptions.class b/target/classes/com/docusign/esign/api/ConnectApi$ListEventLogsOptions.class deleted file mode 100644 index 77e4b58b..00000000 Binary files a/target/classes/com/docusign/esign/api/ConnectApi$ListEventLogsOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/ConnectApi$ListUsersOptions.class b/target/classes/com/docusign/esign/api/ConnectApi$ListUsersOptions.class deleted file mode 100644 index 8ff3bce5..00000000 Binary files a/target/classes/com/docusign/esign/api/ConnectApi$ListUsersOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/ConnectApi.class b/target/classes/com/docusign/esign/api/ConnectApi.class deleted file mode 100644 index 3e4a3efb..00000000 Binary files a/target/classes/com/docusign/esign/api/ConnectApi.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/CustomTabsApi$1.class b/target/classes/com/docusign/esign/api/CustomTabsApi$1.class deleted file mode 100644 index dfe90722..00000000 Binary files a/target/classes/com/docusign/esign/api/CustomTabsApi$1.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/CustomTabsApi$2.class b/target/classes/com/docusign/esign/api/CustomTabsApi$2.class deleted file mode 100644 index 5a430fec..00000000 Binary files a/target/classes/com/docusign/esign/api/CustomTabsApi$2.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/CustomTabsApi$3.class b/target/classes/com/docusign/esign/api/CustomTabsApi$3.class deleted file mode 100644 index 7b3e6f6d..00000000 Binary files a/target/classes/com/docusign/esign/api/CustomTabsApi$3.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/CustomTabsApi$4.class b/target/classes/com/docusign/esign/api/CustomTabsApi$4.class deleted file mode 100644 index cc0e3171..00000000 Binary files a/target/classes/com/docusign/esign/api/CustomTabsApi$4.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/CustomTabsApi$ListOptions.class b/target/classes/com/docusign/esign/api/CustomTabsApi$ListOptions.class deleted file mode 100644 index 965905a7..00000000 Binary files a/target/classes/com/docusign/esign/api/CustomTabsApi$ListOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/CustomTabsApi.class b/target/classes/com/docusign/esign/api/CustomTabsApi.class deleted file mode 100644 index 920b5fbc..00000000 Binary files a/target/classes/com/docusign/esign/api/CustomTabsApi.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/DiagnosticsApi$1.class b/target/classes/com/docusign/esign/api/DiagnosticsApi$1.class deleted file mode 100644 index d8746d0a..00000000 Binary files a/target/classes/com/docusign/esign/api/DiagnosticsApi$1.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/DiagnosticsApi$2.class b/target/classes/com/docusign/esign/api/DiagnosticsApi$2.class deleted file mode 100644 index 17bc6ecd..00000000 Binary files a/target/classes/com/docusign/esign/api/DiagnosticsApi$2.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/DiagnosticsApi$3.class b/target/classes/com/docusign/esign/api/DiagnosticsApi$3.class deleted file mode 100644 index 25145e17..00000000 Binary files a/target/classes/com/docusign/esign/api/DiagnosticsApi$3.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/DiagnosticsApi$4.class b/target/classes/com/docusign/esign/api/DiagnosticsApi$4.class deleted file mode 100644 index 636d63b1..00000000 Binary files a/target/classes/com/docusign/esign/api/DiagnosticsApi$4.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/DiagnosticsApi$5.class b/target/classes/com/docusign/esign/api/DiagnosticsApi$5.class deleted file mode 100644 index f8dfe3a3..00000000 Binary files a/target/classes/com/docusign/esign/api/DiagnosticsApi$5.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/DiagnosticsApi$6.class b/target/classes/com/docusign/esign/api/DiagnosticsApi$6.class deleted file mode 100644 index fbc2579c..00000000 Binary files a/target/classes/com/docusign/esign/api/DiagnosticsApi$6.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/DiagnosticsApi$ListRequestLogsOptions.class b/target/classes/com/docusign/esign/api/DiagnosticsApi$ListRequestLogsOptions.class deleted file mode 100644 index a06cc61f..00000000 Binary files a/target/classes/com/docusign/esign/api/DiagnosticsApi$ListRequestLogsOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/DiagnosticsApi.class b/target/classes/com/docusign/esign/api/DiagnosticsApi.class deleted file mode 100644 index 166e5076..00000000 Binary files a/target/classes/com/docusign/esign/api/DiagnosticsApi.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$1.class b/target/classes/com/docusign/esign/api/EnvelopesApi$1.class deleted file mode 100644 index b5661c66..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$1.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$10.class b/target/classes/com/docusign/esign/api/EnvelopesApi$10.class deleted file mode 100644 index 17740534..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$10.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$11.class b/target/classes/com/docusign/esign/api/EnvelopesApi$11.class deleted file mode 100644 index 21af9421..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$11.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$12.class b/target/classes/com/docusign/esign/api/EnvelopesApi$12.class deleted file mode 100644 index f78b9917..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$12.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$13.class b/target/classes/com/docusign/esign/api/EnvelopesApi$13.class deleted file mode 100644 index 0c9aedcc..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$13.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$14.class b/target/classes/com/docusign/esign/api/EnvelopesApi$14.class deleted file mode 100644 index cadb8a0b..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$14.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$15.class b/target/classes/com/docusign/esign/api/EnvelopesApi$15.class deleted file mode 100644 index 5650206e..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$15.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$16.class b/target/classes/com/docusign/esign/api/EnvelopesApi$16.class deleted file mode 100644 index f7053baf..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$16.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$17.class b/target/classes/com/docusign/esign/api/EnvelopesApi$17.class deleted file mode 100644 index b24afefc..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$17.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$18.class b/target/classes/com/docusign/esign/api/EnvelopesApi$18.class deleted file mode 100644 index d0a8ed16..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$18.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$19.class b/target/classes/com/docusign/esign/api/EnvelopesApi$19.class deleted file mode 100644 index 8f348941..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$19.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$2.class b/target/classes/com/docusign/esign/api/EnvelopesApi$2.class deleted file mode 100644 index 72ac3951..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$2.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$20.class b/target/classes/com/docusign/esign/api/EnvelopesApi$20.class deleted file mode 100644 index 11a826d0..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$20.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$21.class b/target/classes/com/docusign/esign/api/EnvelopesApi$21.class deleted file mode 100644 index fdb35376..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$21.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$22.class b/target/classes/com/docusign/esign/api/EnvelopesApi$22.class deleted file mode 100644 index 2ed3cf96..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$22.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$23.class b/target/classes/com/docusign/esign/api/EnvelopesApi$23.class deleted file mode 100644 index 47c01d80..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$23.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$24.class b/target/classes/com/docusign/esign/api/EnvelopesApi$24.class deleted file mode 100644 index 24ab0ded..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$24.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$25.class b/target/classes/com/docusign/esign/api/EnvelopesApi$25.class deleted file mode 100644 index ba86d52b..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$25.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$26.class b/target/classes/com/docusign/esign/api/EnvelopesApi$26.class deleted file mode 100644 index 7ee948d6..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$26.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$27.class b/target/classes/com/docusign/esign/api/EnvelopesApi$27.class deleted file mode 100644 index 6c86edbf..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$27.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$28.class b/target/classes/com/docusign/esign/api/EnvelopesApi$28.class deleted file mode 100644 index 60b9ec6b..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$28.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$29.class b/target/classes/com/docusign/esign/api/EnvelopesApi$29.class deleted file mode 100644 index 8d3bca63..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$29.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$3.class b/target/classes/com/docusign/esign/api/EnvelopesApi$3.class deleted file mode 100644 index b4b4fcfc..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$3.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$30.class b/target/classes/com/docusign/esign/api/EnvelopesApi$30.class deleted file mode 100644 index a3b0bfb8..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$30.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$31.class b/target/classes/com/docusign/esign/api/EnvelopesApi$31.class deleted file mode 100644 index a144893a..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$31.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$32.class b/target/classes/com/docusign/esign/api/EnvelopesApi$32.class deleted file mode 100644 index a24788c7..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$32.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$33.class b/target/classes/com/docusign/esign/api/EnvelopesApi$33.class deleted file mode 100644 index ed17449b..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$33.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$34.class b/target/classes/com/docusign/esign/api/EnvelopesApi$34.class deleted file mode 100644 index 1dd378a2..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$34.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$35.class b/target/classes/com/docusign/esign/api/EnvelopesApi$35.class deleted file mode 100644 index d0f01d42..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$35.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$36.class b/target/classes/com/docusign/esign/api/EnvelopesApi$36.class deleted file mode 100644 index 69692ff0..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$36.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$37.class b/target/classes/com/docusign/esign/api/EnvelopesApi$37.class deleted file mode 100644 index f0f3c217..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$37.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$38.class b/target/classes/com/docusign/esign/api/EnvelopesApi$38.class deleted file mode 100644 index 86a049ad..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$38.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$39.class b/target/classes/com/docusign/esign/api/EnvelopesApi$39.class deleted file mode 100644 index c960a2e5..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$39.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$4.class b/target/classes/com/docusign/esign/api/EnvelopesApi$4.class deleted file mode 100644 index de9301a5..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$4.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$40.class b/target/classes/com/docusign/esign/api/EnvelopesApi$40.class deleted file mode 100644 index 6fe7eb2d..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$40.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$41.class b/target/classes/com/docusign/esign/api/EnvelopesApi$41.class deleted file mode 100644 index 4b49b113..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$41.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$42.class b/target/classes/com/docusign/esign/api/EnvelopesApi$42.class deleted file mode 100644 index c5fd9881..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$42.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$43.class b/target/classes/com/docusign/esign/api/EnvelopesApi$43.class deleted file mode 100644 index 3b3c077c..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$43.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$44.class b/target/classes/com/docusign/esign/api/EnvelopesApi$44.class deleted file mode 100644 index 339e4cde..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$44.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$45.class b/target/classes/com/docusign/esign/api/EnvelopesApi$45.class deleted file mode 100644 index 9a951509..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$45.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$46.class b/target/classes/com/docusign/esign/api/EnvelopesApi$46.class deleted file mode 100644 index 6dd564fd..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$46.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$47.class b/target/classes/com/docusign/esign/api/EnvelopesApi$47.class deleted file mode 100644 index 8a33c752..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$47.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$48.class b/target/classes/com/docusign/esign/api/EnvelopesApi$48.class deleted file mode 100644 index 0ae7dc98..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$48.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$49.class b/target/classes/com/docusign/esign/api/EnvelopesApi$49.class deleted file mode 100644 index c2055279..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$49.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$5.class b/target/classes/com/docusign/esign/api/EnvelopesApi$5.class deleted file mode 100644 index 78790a40..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$5.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$50.class b/target/classes/com/docusign/esign/api/EnvelopesApi$50.class deleted file mode 100644 index 4553b7e3..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$50.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$51.class b/target/classes/com/docusign/esign/api/EnvelopesApi$51.class deleted file mode 100644 index 6815485f..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$51.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$52.class b/target/classes/com/docusign/esign/api/EnvelopesApi$52.class deleted file mode 100644 index 8d5f6201..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$52.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$53.class b/target/classes/com/docusign/esign/api/EnvelopesApi$53.class deleted file mode 100644 index 91d5953c..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$53.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$54.class b/target/classes/com/docusign/esign/api/EnvelopesApi$54.class deleted file mode 100644 index d05d7132..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$54.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$55.class b/target/classes/com/docusign/esign/api/EnvelopesApi$55.class deleted file mode 100644 index 878e2e51..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$55.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$56.class b/target/classes/com/docusign/esign/api/EnvelopesApi$56.class deleted file mode 100644 index 7160c17b..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$56.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$57.class b/target/classes/com/docusign/esign/api/EnvelopesApi$57.class deleted file mode 100644 index a8a13469..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$57.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$58.class b/target/classes/com/docusign/esign/api/EnvelopesApi$58.class deleted file mode 100644 index 7fb5ce3c..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$58.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$59.class b/target/classes/com/docusign/esign/api/EnvelopesApi$59.class deleted file mode 100644 index af9947e0..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$59.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$6.class b/target/classes/com/docusign/esign/api/EnvelopesApi$6.class deleted file mode 100644 index d2a45664..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$6.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$60.class b/target/classes/com/docusign/esign/api/EnvelopesApi$60.class deleted file mode 100644 index 3d633052..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$60.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$61.class b/target/classes/com/docusign/esign/api/EnvelopesApi$61.class deleted file mode 100644 index b2b8fc0c..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$61.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$62.class b/target/classes/com/docusign/esign/api/EnvelopesApi$62.class deleted file mode 100644 index 6c836162..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$62.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$63.class b/target/classes/com/docusign/esign/api/EnvelopesApi$63.class deleted file mode 100644 index eed0b8b3..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$63.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$64.class b/target/classes/com/docusign/esign/api/EnvelopesApi$64.class deleted file mode 100644 index 831d62d9..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$64.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$65.class b/target/classes/com/docusign/esign/api/EnvelopesApi$65.class deleted file mode 100644 index 0fda0193..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$65.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$66.class b/target/classes/com/docusign/esign/api/EnvelopesApi$66.class deleted file mode 100644 index 9be5399c..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$66.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$67.class b/target/classes/com/docusign/esign/api/EnvelopesApi$67.class deleted file mode 100644 index dc842de7..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$67.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$68.class b/target/classes/com/docusign/esign/api/EnvelopesApi$68.class deleted file mode 100644 index bca0dee1..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$68.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$69.class b/target/classes/com/docusign/esign/api/EnvelopesApi$69.class deleted file mode 100644 index 81fe9804..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$69.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$7.class b/target/classes/com/docusign/esign/api/EnvelopesApi$7.class deleted file mode 100644 index 4e637aed..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$7.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$8.class b/target/classes/com/docusign/esign/api/EnvelopesApi$8.class deleted file mode 100644 index 2f6349e1..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$8.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$9.class b/target/classes/com/docusign/esign/api/EnvelopesApi$9.class deleted file mode 100644 index 02fec205..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$9.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$CreateEnvelopeOptions.class b/target/classes/com/docusign/esign/api/EnvelopesApi$CreateEnvelopeOptions.class deleted file mode 100644 index c3bc4052..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$CreateEnvelopeOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$CreateRecipientOptions.class b/target/classes/com/docusign/esign/api/EnvelopesApi$CreateRecipientOptions.class deleted file mode 100644 index 6bdc8437..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$CreateRecipientOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$GetChunkedUploadOptions.class b/target/classes/com/docusign/esign/api/EnvelopesApi$GetChunkedUploadOptions.class deleted file mode 100644 index ae7fe54b..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$GetChunkedUploadOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$GetConsumerDisclosureDefaultOptions.class b/target/classes/com/docusign/esign/api/EnvelopesApi$GetConsumerDisclosureDefaultOptions.class deleted file mode 100644 index e2074521..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$GetConsumerDisclosureDefaultOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$GetConsumerDisclosureOptions.class b/target/classes/com/docusign/esign/api/EnvelopesApi$GetConsumerDisclosureOptions.class deleted file mode 100644 index 74d70556..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$GetConsumerDisclosureOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$GetDocumentOptions.class b/target/classes/com/docusign/esign/api/EnvelopesApi$GetDocumentOptions.class deleted file mode 100644 index d85216cb..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$GetDocumentOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$GetDocumentPageImageOptions.class b/target/classes/com/docusign/esign/api/EnvelopesApi$GetDocumentPageImageOptions.class deleted file mode 100644 index e3be09f8..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$GetDocumentPageImageOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$GetEnvelopeOptions.class b/target/classes/com/docusign/esign/api/EnvelopesApi$GetEnvelopeOptions.class deleted file mode 100644 index 1ab6ffea..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$GetEnvelopeOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$GetRecipientInitialsImageOptions.class b/target/classes/com/docusign/esign/api/EnvelopesApi$GetRecipientInitialsImageOptions.class deleted file mode 100644 index 5e91cc40..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$GetRecipientInitialsImageOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$GetRecipientSignatureImageOptions.class b/target/classes/com/docusign/esign/api/EnvelopesApi$GetRecipientSignatureImageOptions.class deleted file mode 100644 index 723a783a..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$GetRecipientSignatureImageOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$ListRecipientsOptions.class b/target/classes/com/docusign/esign/api/EnvelopesApi$ListRecipientsOptions.class deleted file mode 100644 index e1edc2c0..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$ListRecipientsOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$ListStatusChangesOptions.class b/target/classes/com/docusign/esign/api/EnvelopesApi$ListStatusChangesOptions.class deleted file mode 100644 index 0ea06e26..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$ListStatusChangesOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$ListStatusOptions.class b/target/classes/com/docusign/esign/api/EnvelopesApi$ListStatusOptions.class deleted file mode 100644 index d7efcf0b..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$ListStatusOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$ListTabsOptions.class b/target/classes/com/docusign/esign/api/EnvelopesApi$ListTabsOptions.class deleted file mode 100644 index 1de14163..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$ListTabsOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$ListTemplatesForDocumentOptions.class b/target/classes/com/docusign/esign/api/EnvelopesApi$ListTemplatesForDocumentOptions.class deleted file mode 100644 index a944a326..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$ListTemplatesForDocumentOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$ListTemplatesOptions.class b/target/classes/com/docusign/esign/api/EnvelopesApi$ListTemplatesOptions.class deleted file mode 100644 index c7784f1c..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$ListTemplatesOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$UpdateChunkedUploadOptions.class b/target/classes/com/docusign/esign/api/EnvelopesApi$UpdateChunkedUploadOptions.class deleted file mode 100644 index bb7e035f..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$UpdateChunkedUploadOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$UpdateDocumentOptions.class b/target/classes/com/docusign/esign/api/EnvelopesApi$UpdateDocumentOptions.class deleted file mode 100644 index b45f0c6d..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$UpdateDocumentOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$UpdateDocumentsOptions.class b/target/classes/com/docusign/esign/api/EnvelopesApi$UpdateDocumentsOptions.class deleted file mode 100644 index a0398f67..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$UpdateDocumentsOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$UpdateOptions.class b/target/classes/com/docusign/esign/api/EnvelopesApi$UpdateOptions.class deleted file mode 100644 index 6b40bb69..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$UpdateOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi$UpdateRecipientsOptions.class b/target/classes/com/docusign/esign/api/EnvelopesApi$UpdateRecipientsOptions.class deleted file mode 100644 index c80b297b..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi$UpdateRecipientsOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/EnvelopesApi.class b/target/classes/com/docusign/esign/api/EnvelopesApi.class deleted file mode 100644 index 567c399f..00000000 Binary files a/target/classes/com/docusign/esign/api/EnvelopesApi.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/FoldersApi$1.class b/target/classes/com/docusign/esign/api/FoldersApi$1.class deleted file mode 100644 index c36a5f68..00000000 Binary files a/target/classes/com/docusign/esign/api/FoldersApi$1.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/FoldersApi$2.class b/target/classes/com/docusign/esign/api/FoldersApi$2.class deleted file mode 100644 index 17a44373..00000000 Binary files a/target/classes/com/docusign/esign/api/FoldersApi$2.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/FoldersApi$3.class b/target/classes/com/docusign/esign/api/FoldersApi$3.class deleted file mode 100644 index 2deafc25..00000000 Binary files a/target/classes/com/docusign/esign/api/FoldersApi$3.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/FoldersApi$ListItemsOptions.class b/target/classes/com/docusign/esign/api/FoldersApi$ListItemsOptions.class deleted file mode 100644 index 2cbd8d63..00000000 Binary files a/target/classes/com/docusign/esign/api/FoldersApi$ListItemsOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/FoldersApi$ListOptions.class b/target/classes/com/docusign/esign/api/FoldersApi$ListOptions.class deleted file mode 100644 index 4164526a..00000000 Binary files a/target/classes/com/docusign/esign/api/FoldersApi$ListOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/FoldersApi$SearchOptions.class b/target/classes/com/docusign/esign/api/FoldersApi$SearchOptions.class deleted file mode 100644 index 865bc07f..00000000 Binary files a/target/classes/com/docusign/esign/api/FoldersApi$SearchOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/FoldersApi.class b/target/classes/com/docusign/esign/api/FoldersApi.class deleted file mode 100644 index b2764f3e..00000000 Binary files a/target/classes/com/docusign/esign/api/FoldersApi.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/GroupsApi$1.class b/target/classes/com/docusign/esign/api/GroupsApi$1.class deleted file mode 100644 index 38756ddb..00000000 Binary files a/target/classes/com/docusign/esign/api/GroupsApi$1.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/GroupsApi$10.class b/target/classes/com/docusign/esign/api/GroupsApi$10.class deleted file mode 100644 index cc1faee3..00000000 Binary files a/target/classes/com/docusign/esign/api/GroupsApi$10.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/GroupsApi$2.class b/target/classes/com/docusign/esign/api/GroupsApi$2.class deleted file mode 100644 index 655ff26e..00000000 Binary files a/target/classes/com/docusign/esign/api/GroupsApi$2.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/GroupsApi$3.class b/target/classes/com/docusign/esign/api/GroupsApi$3.class deleted file mode 100644 index ae4559dc..00000000 Binary files a/target/classes/com/docusign/esign/api/GroupsApi$3.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/GroupsApi$4.class b/target/classes/com/docusign/esign/api/GroupsApi$4.class deleted file mode 100644 index b19b7da3..00000000 Binary files a/target/classes/com/docusign/esign/api/GroupsApi$4.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/GroupsApi$5.class b/target/classes/com/docusign/esign/api/GroupsApi$5.class deleted file mode 100644 index 155d253e..00000000 Binary files a/target/classes/com/docusign/esign/api/GroupsApi$5.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/GroupsApi$6.class b/target/classes/com/docusign/esign/api/GroupsApi$6.class deleted file mode 100644 index dca135db..00000000 Binary files a/target/classes/com/docusign/esign/api/GroupsApi$6.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/GroupsApi$7.class b/target/classes/com/docusign/esign/api/GroupsApi$7.class deleted file mode 100644 index 41f17b5a..00000000 Binary files a/target/classes/com/docusign/esign/api/GroupsApi$7.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/GroupsApi$8.class b/target/classes/com/docusign/esign/api/GroupsApi$8.class deleted file mode 100644 index 079d1b29..00000000 Binary files a/target/classes/com/docusign/esign/api/GroupsApi$8.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/GroupsApi$9.class b/target/classes/com/docusign/esign/api/GroupsApi$9.class deleted file mode 100644 index 8f1ca2e9..00000000 Binary files a/target/classes/com/docusign/esign/api/GroupsApi$9.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/GroupsApi$ListGroupUsersOptions.class b/target/classes/com/docusign/esign/api/GroupsApi$ListGroupUsersOptions.class deleted file mode 100644 index 183df8b4..00000000 Binary files a/target/classes/com/docusign/esign/api/GroupsApi$ListGroupUsersOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/GroupsApi$ListGroupsOptions.class b/target/classes/com/docusign/esign/api/GroupsApi$ListGroupsOptions.class deleted file mode 100644 index ee606683..00000000 Binary files a/target/classes/com/docusign/esign/api/GroupsApi$ListGroupsOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/GroupsApi.class b/target/classes/com/docusign/esign/api/GroupsApi.class deleted file mode 100644 index 9b2e6159..00000000 Binary files a/target/classes/com/docusign/esign/api/GroupsApi.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/PowerFormsApi$1.class b/target/classes/com/docusign/esign/api/PowerFormsApi$1.class deleted file mode 100644 index b1e3490e..00000000 Binary files a/target/classes/com/docusign/esign/api/PowerFormsApi$1.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/PowerFormsApi$2.class b/target/classes/com/docusign/esign/api/PowerFormsApi$2.class deleted file mode 100644 index 34c35271..00000000 Binary files a/target/classes/com/docusign/esign/api/PowerFormsApi$2.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/PowerFormsApi$3.class b/target/classes/com/docusign/esign/api/PowerFormsApi$3.class deleted file mode 100644 index 2018b305..00000000 Binary files a/target/classes/com/docusign/esign/api/PowerFormsApi$3.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/PowerFormsApi$4.class b/target/classes/com/docusign/esign/api/PowerFormsApi$4.class deleted file mode 100644 index bd5a117f..00000000 Binary files a/target/classes/com/docusign/esign/api/PowerFormsApi$4.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/PowerFormsApi$5.class b/target/classes/com/docusign/esign/api/PowerFormsApi$5.class deleted file mode 100644 index a13d342c..00000000 Binary files a/target/classes/com/docusign/esign/api/PowerFormsApi$5.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/PowerFormsApi$6.class b/target/classes/com/docusign/esign/api/PowerFormsApi$6.class deleted file mode 100644 index d379c781..00000000 Binary files a/target/classes/com/docusign/esign/api/PowerFormsApi$6.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/PowerFormsApi$7.class b/target/classes/com/docusign/esign/api/PowerFormsApi$7.class deleted file mode 100644 index e43d7275..00000000 Binary files a/target/classes/com/docusign/esign/api/PowerFormsApi$7.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/PowerFormsApi$GetPowerFormDataOptions.class b/target/classes/com/docusign/esign/api/PowerFormsApi$GetPowerFormDataOptions.class deleted file mode 100644 index 2f91e2d3..00000000 Binary files a/target/classes/com/docusign/esign/api/PowerFormsApi$GetPowerFormDataOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/PowerFormsApi$ListPowerFormSendersOptions.class b/target/classes/com/docusign/esign/api/PowerFormsApi$ListPowerFormSendersOptions.class deleted file mode 100644 index dd6cf2a5..00000000 Binary files a/target/classes/com/docusign/esign/api/PowerFormsApi$ListPowerFormSendersOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/PowerFormsApi$ListPowerFormsOptions.class b/target/classes/com/docusign/esign/api/PowerFormsApi$ListPowerFormsOptions.class deleted file mode 100644 index cbfe8782..00000000 Binary files a/target/classes/com/docusign/esign/api/PowerFormsApi$ListPowerFormsOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/PowerFormsApi.class b/target/classes/com/docusign/esign/api/PowerFormsApi.class deleted file mode 100644 index 65b8a7bb..00000000 Binary files a/target/classes/com/docusign/esign/api/PowerFormsApi.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/SigningGroupsApi$1.class b/target/classes/com/docusign/esign/api/SigningGroupsApi$1.class deleted file mode 100644 index 264623bb..00000000 Binary files a/target/classes/com/docusign/esign/api/SigningGroupsApi$1.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/SigningGroupsApi$2.class b/target/classes/com/docusign/esign/api/SigningGroupsApi$2.class deleted file mode 100644 index 2afbe0fb..00000000 Binary files a/target/classes/com/docusign/esign/api/SigningGroupsApi$2.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/SigningGroupsApi$3.class b/target/classes/com/docusign/esign/api/SigningGroupsApi$3.class deleted file mode 100644 index bc423f26..00000000 Binary files a/target/classes/com/docusign/esign/api/SigningGroupsApi$3.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/SigningGroupsApi$4.class b/target/classes/com/docusign/esign/api/SigningGroupsApi$4.class deleted file mode 100644 index 3fcfa7db..00000000 Binary files a/target/classes/com/docusign/esign/api/SigningGroupsApi$4.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/SigningGroupsApi$5.class b/target/classes/com/docusign/esign/api/SigningGroupsApi$5.class deleted file mode 100644 index b6a241fe..00000000 Binary files a/target/classes/com/docusign/esign/api/SigningGroupsApi$5.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/SigningGroupsApi$6.class b/target/classes/com/docusign/esign/api/SigningGroupsApi$6.class deleted file mode 100644 index 85b5aa0a..00000000 Binary files a/target/classes/com/docusign/esign/api/SigningGroupsApi$6.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/SigningGroupsApi$7.class b/target/classes/com/docusign/esign/api/SigningGroupsApi$7.class deleted file mode 100644 index a55f7c75..00000000 Binary files a/target/classes/com/docusign/esign/api/SigningGroupsApi$7.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/SigningGroupsApi$8.class b/target/classes/com/docusign/esign/api/SigningGroupsApi$8.class deleted file mode 100644 index cdecd87b..00000000 Binary files a/target/classes/com/docusign/esign/api/SigningGroupsApi$8.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/SigningGroupsApi$9.class b/target/classes/com/docusign/esign/api/SigningGroupsApi$9.class deleted file mode 100644 index c8ba7f3a..00000000 Binary files a/target/classes/com/docusign/esign/api/SigningGroupsApi$9.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/SigningGroupsApi$ListOptions.class b/target/classes/com/docusign/esign/api/SigningGroupsApi$ListOptions.class deleted file mode 100644 index 29977bab..00000000 Binary files a/target/classes/com/docusign/esign/api/SigningGroupsApi$ListOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/SigningGroupsApi.class b/target/classes/com/docusign/esign/api/SigningGroupsApi.class deleted file mode 100644 index 4478e59d..00000000 Binary files a/target/classes/com/docusign/esign/api/SigningGroupsApi.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/TemplatesApi$1.class b/target/classes/com/docusign/esign/api/TemplatesApi$1.class deleted file mode 100644 index e6b3de85..00000000 Binary files a/target/classes/com/docusign/esign/api/TemplatesApi$1.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/TemplatesApi$10.class b/target/classes/com/docusign/esign/api/TemplatesApi$10.class deleted file mode 100644 index fa96400f..00000000 Binary files a/target/classes/com/docusign/esign/api/TemplatesApi$10.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/TemplatesApi$11.class b/target/classes/com/docusign/esign/api/TemplatesApi$11.class deleted file mode 100644 index b88ef213..00000000 Binary files a/target/classes/com/docusign/esign/api/TemplatesApi$11.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/TemplatesApi$12.class b/target/classes/com/docusign/esign/api/TemplatesApi$12.class deleted file mode 100644 index ce8c6417..00000000 Binary files a/target/classes/com/docusign/esign/api/TemplatesApi$12.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/TemplatesApi$13.class b/target/classes/com/docusign/esign/api/TemplatesApi$13.class deleted file mode 100644 index 1dc98f36..00000000 Binary files a/target/classes/com/docusign/esign/api/TemplatesApi$13.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/TemplatesApi$14.class b/target/classes/com/docusign/esign/api/TemplatesApi$14.class deleted file mode 100644 index 4744546d..00000000 Binary files a/target/classes/com/docusign/esign/api/TemplatesApi$14.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/TemplatesApi$15.class b/target/classes/com/docusign/esign/api/TemplatesApi$15.class deleted file mode 100644 index cad774ec..00000000 Binary files a/target/classes/com/docusign/esign/api/TemplatesApi$15.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/TemplatesApi$16.class b/target/classes/com/docusign/esign/api/TemplatesApi$16.class deleted file mode 100644 index e5f9bb10..00000000 Binary files a/target/classes/com/docusign/esign/api/TemplatesApi$16.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/TemplatesApi$17.class b/target/classes/com/docusign/esign/api/TemplatesApi$17.class deleted file mode 100644 index 5508d9fc..00000000 Binary files a/target/classes/com/docusign/esign/api/TemplatesApi$17.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/TemplatesApi$18.class b/target/classes/com/docusign/esign/api/TemplatesApi$18.class deleted file mode 100644 index 2c268806..00000000 Binary files a/target/classes/com/docusign/esign/api/TemplatesApi$18.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/TemplatesApi$19.class b/target/classes/com/docusign/esign/api/TemplatesApi$19.class deleted file mode 100644 index df32d3a5..00000000 Binary files a/target/classes/com/docusign/esign/api/TemplatesApi$19.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/TemplatesApi$2.class b/target/classes/com/docusign/esign/api/TemplatesApi$2.class deleted file mode 100644 index a201f5a3..00000000 Binary files a/target/classes/com/docusign/esign/api/TemplatesApi$2.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/TemplatesApi$20.class b/target/classes/com/docusign/esign/api/TemplatesApi$20.class deleted file mode 100644 index b5e60dff..00000000 Binary files a/target/classes/com/docusign/esign/api/TemplatesApi$20.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/TemplatesApi$21.class b/target/classes/com/docusign/esign/api/TemplatesApi$21.class deleted file mode 100644 index b7fb37e4..00000000 Binary files a/target/classes/com/docusign/esign/api/TemplatesApi$21.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/TemplatesApi$22.class b/target/classes/com/docusign/esign/api/TemplatesApi$22.class deleted file mode 100644 index dfe59da4..00000000 Binary files a/target/classes/com/docusign/esign/api/TemplatesApi$22.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/TemplatesApi$23.class b/target/classes/com/docusign/esign/api/TemplatesApi$23.class deleted file mode 100644 index 9e4e5d03..00000000 Binary files a/target/classes/com/docusign/esign/api/TemplatesApi$23.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/TemplatesApi$24.class b/target/classes/com/docusign/esign/api/TemplatesApi$24.class deleted file mode 100644 index fd2987c0..00000000 Binary files a/target/classes/com/docusign/esign/api/TemplatesApi$24.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/TemplatesApi$25.class b/target/classes/com/docusign/esign/api/TemplatesApi$25.class deleted file mode 100644 index 5f6fa0de..00000000 Binary files a/target/classes/com/docusign/esign/api/TemplatesApi$25.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/TemplatesApi$26.class b/target/classes/com/docusign/esign/api/TemplatesApi$26.class deleted file mode 100644 index ad54e350..00000000 Binary files a/target/classes/com/docusign/esign/api/TemplatesApi$26.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/TemplatesApi$27.class b/target/classes/com/docusign/esign/api/TemplatesApi$27.class deleted file mode 100644 index a3dc1342..00000000 Binary files a/target/classes/com/docusign/esign/api/TemplatesApi$27.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/TemplatesApi$28.class b/target/classes/com/docusign/esign/api/TemplatesApi$28.class deleted file mode 100644 index 6483e0bc..00000000 Binary files a/target/classes/com/docusign/esign/api/TemplatesApi$28.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/TemplatesApi$29.class b/target/classes/com/docusign/esign/api/TemplatesApi$29.class deleted file mode 100644 index 23d92bd8..00000000 Binary files a/target/classes/com/docusign/esign/api/TemplatesApi$29.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/TemplatesApi$3.class b/target/classes/com/docusign/esign/api/TemplatesApi$3.class deleted file mode 100644 index 9d4e5e42..00000000 Binary files a/target/classes/com/docusign/esign/api/TemplatesApi$3.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/TemplatesApi$30.class b/target/classes/com/docusign/esign/api/TemplatesApi$30.class deleted file mode 100644 index 195abcee..00000000 Binary files a/target/classes/com/docusign/esign/api/TemplatesApi$30.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/TemplatesApi$31.class b/target/classes/com/docusign/esign/api/TemplatesApi$31.class deleted file mode 100644 index 1a745f92..00000000 Binary files a/target/classes/com/docusign/esign/api/TemplatesApi$31.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/TemplatesApi$32.class b/target/classes/com/docusign/esign/api/TemplatesApi$32.class deleted file mode 100644 index 57eb3344..00000000 Binary files a/target/classes/com/docusign/esign/api/TemplatesApi$32.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/TemplatesApi$33.class b/target/classes/com/docusign/esign/api/TemplatesApi$33.class deleted file mode 100644 index 44103b33..00000000 Binary files a/target/classes/com/docusign/esign/api/TemplatesApi$33.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/TemplatesApi$34.class b/target/classes/com/docusign/esign/api/TemplatesApi$34.class deleted file mode 100644 index d39456cc..00000000 Binary files a/target/classes/com/docusign/esign/api/TemplatesApi$34.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/TemplatesApi$35.class b/target/classes/com/docusign/esign/api/TemplatesApi$35.class deleted file mode 100644 index 71e4d371..00000000 Binary files a/target/classes/com/docusign/esign/api/TemplatesApi$35.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/TemplatesApi$36.class b/target/classes/com/docusign/esign/api/TemplatesApi$36.class deleted file mode 100644 index b61aeb82..00000000 Binary files a/target/classes/com/docusign/esign/api/TemplatesApi$36.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/TemplatesApi$37.class b/target/classes/com/docusign/esign/api/TemplatesApi$37.class deleted file mode 100644 index 48dbf351..00000000 Binary files a/target/classes/com/docusign/esign/api/TemplatesApi$37.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/TemplatesApi$38.class b/target/classes/com/docusign/esign/api/TemplatesApi$38.class deleted file mode 100644 index 5f830d11..00000000 Binary files a/target/classes/com/docusign/esign/api/TemplatesApi$38.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/TemplatesApi$39.class b/target/classes/com/docusign/esign/api/TemplatesApi$39.class deleted file mode 100644 index 944a6592..00000000 Binary files a/target/classes/com/docusign/esign/api/TemplatesApi$39.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/TemplatesApi$4.class b/target/classes/com/docusign/esign/api/TemplatesApi$4.class deleted file mode 100644 index d81e1a14..00000000 Binary files a/target/classes/com/docusign/esign/api/TemplatesApi$4.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/TemplatesApi$5.class b/target/classes/com/docusign/esign/api/TemplatesApi$5.class deleted file mode 100644 index 21527ce1..00000000 Binary files a/target/classes/com/docusign/esign/api/TemplatesApi$5.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/TemplatesApi$6.class b/target/classes/com/docusign/esign/api/TemplatesApi$6.class deleted file mode 100644 index 9573c746..00000000 Binary files a/target/classes/com/docusign/esign/api/TemplatesApi$6.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/TemplatesApi$7.class b/target/classes/com/docusign/esign/api/TemplatesApi$7.class deleted file mode 100644 index 960e7418..00000000 Binary files a/target/classes/com/docusign/esign/api/TemplatesApi$7.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/TemplatesApi$8.class b/target/classes/com/docusign/esign/api/TemplatesApi$8.class deleted file mode 100644 index 104b4557..00000000 Binary files a/target/classes/com/docusign/esign/api/TemplatesApi$8.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/TemplatesApi$9.class b/target/classes/com/docusign/esign/api/TemplatesApi$9.class deleted file mode 100644 index ed210051..00000000 Binary files a/target/classes/com/docusign/esign/api/TemplatesApi$9.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/TemplatesApi$CreateRecipientsOptions.class b/target/classes/com/docusign/esign/api/TemplatesApi$CreateRecipientsOptions.class deleted file mode 100644 index 194da87b..00000000 Binary files a/target/classes/com/docusign/esign/api/TemplatesApi$CreateRecipientsOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/TemplatesApi$GetDocumentOptions.class b/target/classes/com/docusign/esign/api/TemplatesApi$GetDocumentOptions.class deleted file mode 100644 index 10cec7fe..00000000 Binary files a/target/classes/com/docusign/esign/api/TemplatesApi$GetDocumentOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/TemplatesApi$GetDocumentPageImageOptions.class b/target/classes/com/docusign/esign/api/TemplatesApi$GetDocumentPageImageOptions.class deleted file mode 100644 index ccda783f..00000000 Binary files a/target/classes/com/docusign/esign/api/TemplatesApi$GetDocumentPageImageOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/TemplatesApi$GetOptions.class b/target/classes/com/docusign/esign/api/TemplatesApi$GetOptions.class deleted file mode 100644 index 5218b8b1..00000000 Binary files a/target/classes/com/docusign/esign/api/TemplatesApi$GetOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/TemplatesApi$ListBulkRecipientsOptions.class b/target/classes/com/docusign/esign/api/TemplatesApi$ListBulkRecipientsOptions.class deleted file mode 100644 index 1aa14129..00000000 Binary files a/target/classes/com/docusign/esign/api/TemplatesApi$ListBulkRecipientsOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/TemplatesApi$ListRecipientsOptions.class b/target/classes/com/docusign/esign/api/TemplatesApi$ListRecipientsOptions.class deleted file mode 100644 index da2d52af..00000000 Binary files a/target/classes/com/docusign/esign/api/TemplatesApi$ListRecipientsOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/TemplatesApi$ListTabsOptions.class b/target/classes/com/docusign/esign/api/TemplatesApi$ListTabsOptions.class deleted file mode 100644 index 5002cc00..00000000 Binary files a/target/classes/com/docusign/esign/api/TemplatesApi$ListTabsOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/TemplatesApi$ListTemplatesOptions.class b/target/classes/com/docusign/esign/api/TemplatesApi$ListTemplatesOptions.class deleted file mode 100644 index a84c3eb1..00000000 Binary files a/target/classes/com/docusign/esign/api/TemplatesApi$ListTemplatesOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/TemplatesApi$UpdateDocumentOptions.class b/target/classes/com/docusign/esign/api/TemplatesApi$UpdateDocumentOptions.class deleted file mode 100644 index 1c695909..00000000 Binary files a/target/classes/com/docusign/esign/api/TemplatesApi$UpdateDocumentOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/TemplatesApi$UpdateDocumentsOptions.class b/target/classes/com/docusign/esign/api/TemplatesApi$UpdateDocumentsOptions.class deleted file mode 100644 index d7ca46cb..00000000 Binary files a/target/classes/com/docusign/esign/api/TemplatesApi$UpdateDocumentsOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/TemplatesApi$UpdateRecipientsOptions.class b/target/classes/com/docusign/esign/api/TemplatesApi$UpdateRecipientsOptions.class deleted file mode 100644 index 0d5a49cd..00000000 Binary files a/target/classes/com/docusign/esign/api/TemplatesApi$UpdateRecipientsOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/TemplatesApi.class b/target/classes/com/docusign/esign/api/TemplatesApi.class deleted file mode 100644 index dfe43bf1..00000000 Binary files a/target/classes/com/docusign/esign/api/TemplatesApi.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/UsersApi$1.class b/target/classes/com/docusign/esign/api/UsersApi$1.class deleted file mode 100644 index 98863439..00000000 Binary files a/target/classes/com/docusign/esign/api/UsersApi$1.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/UsersApi$10.class b/target/classes/com/docusign/esign/api/UsersApi$10.class deleted file mode 100644 index 55be2273..00000000 Binary files a/target/classes/com/docusign/esign/api/UsersApi$10.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/UsersApi$11.class b/target/classes/com/docusign/esign/api/UsersApi$11.class deleted file mode 100644 index d98612e1..00000000 Binary files a/target/classes/com/docusign/esign/api/UsersApi$11.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/UsersApi$12.class b/target/classes/com/docusign/esign/api/UsersApi$12.class deleted file mode 100644 index a1ee9188..00000000 Binary files a/target/classes/com/docusign/esign/api/UsersApi$12.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/UsersApi$13.class b/target/classes/com/docusign/esign/api/UsersApi$13.class deleted file mode 100644 index 14bd396e..00000000 Binary files a/target/classes/com/docusign/esign/api/UsersApi$13.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/UsersApi$14.class b/target/classes/com/docusign/esign/api/UsersApi$14.class deleted file mode 100644 index 55979b5d..00000000 Binary files a/target/classes/com/docusign/esign/api/UsersApi$14.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/UsersApi$15.class b/target/classes/com/docusign/esign/api/UsersApi$15.class deleted file mode 100644 index e2f7c832..00000000 Binary files a/target/classes/com/docusign/esign/api/UsersApi$15.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/UsersApi$16.class b/target/classes/com/docusign/esign/api/UsersApi$16.class deleted file mode 100644 index 95e85ea2..00000000 Binary files a/target/classes/com/docusign/esign/api/UsersApi$16.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/UsersApi$17.class b/target/classes/com/docusign/esign/api/UsersApi$17.class deleted file mode 100644 index 88a7e5d1..00000000 Binary files a/target/classes/com/docusign/esign/api/UsersApi$17.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/UsersApi$18.class b/target/classes/com/docusign/esign/api/UsersApi$18.class deleted file mode 100644 index ba0ab61e..00000000 Binary files a/target/classes/com/docusign/esign/api/UsersApi$18.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/UsersApi$19.class b/target/classes/com/docusign/esign/api/UsersApi$19.class deleted file mode 100644 index 585580e2..00000000 Binary files a/target/classes/com/docusign/esign/api/UsersApi$19.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/UsersApi$2.class b/target/classes/com/docusign/esign/api/UsersApi$2.class deleted file mode 100644 index b4f2bea2..00000000 Binary files a/target/classes/com/docusign/esign/api/UsersApi$2.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/UsersApi$20.class b/target/classes/com/docusign/esign/api/UsersApi$20.class deleted file mode 100644 index 998f99d2..00000000 Binary files a/target/classes/com/docusign/esign/api/UsersApi$20.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/UsersApi$21.class b/target/classes/com/docusign/esign/api/UsersApi$21.class deleted file mode 100644 index d12242cd..00000000 Binary files a/target/classes/com/docusign/esign/api/UsersApi$21.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/UsersApi$22.class b/target/classes/com/docusign/esign/api/UsersApi$22.class deleted file mode 100644 index 63b7151b..00000000 Binary files a/target/classes/com/docusign/esign/api/UsersApi$22.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/UsersApi$23.class b/target/classes/com/docusign/esign/api/UsersApi$23.class deleted file mode 100644 index 4055dc75..00000000 Binary files a/target/classes/com/docusign/esign/api/UsersApi$23.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/UsersApi$24.class b/target/classes/com/docusign/esign/api/UsersApi$24.class deleted file mode 100644 index 0ddd2161..00000000 Binary files a/target/classes/com/docusign/esign/api/UsersApi$24.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/UsersApi$3.class b/target/classes/com/docusign/esign/api/UsersApi$3.class deleted file mode 100644 index e14b7a2e..00000000 Binary files a/target/classes/com/docusign/esign/api/UsersApi$3.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/UsersApi$4.class b/target/classes/com/docusign/esign/api/UsersApi$4.class deleted file mode 100644 index 04c74b14..00000000 Binary files a/target/classes/com/docusign/esign/api/UsersApi$4.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/UsersApi$5.class b/target/classes/com/docusign/esign/api/UsersApi$5.class deleted file mode 100644 index 81b1e265..00000000 Binary files a/target/classes/com/docusign/esign/api/UsersApi$5.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/UsersApi$6.class b/target/classes/com/docusign/esign/api/UsersApi$6.class deleted file mode 100644 index 104dc099..00000000 Binary files a/target/classes/com/docusign/esign/api/UsersApi$6.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/UsersApi$7.class b/target/classes/com/docusign/esign/api/UsersApi$7.class deleted file mode 100644 index 7d2002c8..00000000 Binary files a/target/classes/com/docusign/esign/api/UsersApi$7.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/UsersApi$8.class b/target/classes/com/docusign/esign/api/UsersApi$8.class deleted file mode 100644 index a8af7f60..00000000 Binary files a/target/classes/com/docusign/esign/api/UsersApi$8.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/UsersApi$9.class b/target/classes/com/docusign/esign/api/UsersApi$9.class deleted file mode 100644 index 7c1428e1..00000000 Binary files a/target/classes/com/docusign/esign/api/UsersApi$9.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/UsersApi$GetInformationOptions.class b/target/classes/com/docusign/esign/api/UsersApi$GetInformationOptions.class deleted file mode 100644 index 3db146f3..00000000 Binary files a/target/classes/com/docusign/esign/api/UsersApi$GetInformationOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/UsersApi$GetProfileImageOptions.class b/target/classes/com/docusign/esign/api/UsersApi$GetProfileImageOptions.class deleted file mode 100644 index 87f0015a..00000000 Binary files a/target/classes/com/docusign/esign/api/UsersApi$GetProfileImageOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/UsersApi$GetSignatureImageOptions.class b/target/classes/com/docusign/esign/api/UsersApi$GetSignatureImageOptions.class deleted file mode 100644 index 0de6565a..00000000 Binary files a/target/classes/com/docusign/esign/api/UsersApi$GetSignatureImageOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/UsersApi$ListOptions.class b/target/classes/com/docusign/esign/api/UsersApi$ListOptions.class deleted file mode 100644 index 54cf708f..00000000 Binary files a/target/classes/com/docusign/esign/api/UsersApi$ListOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/UsersApi$UpdateSignatureOptions.class b/target/classes/com/docusign/esign/api/UsersApi$UpdateSignatureOptions.class deleted file mode 100644 index 1b77e0fc..00000000 Binary files a/target/classes/com/docusign/esign/api/UsersApi$UpdateSignatureOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/UsersApi.class b/target/classes/com/docusign/esign/api/UsersApi.class deleted file mode 100644 index 5bafc014..00000000 Binary files a/target/classes/com/docusign/esign/api/UsersApi.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/WorkspacesApi$1.class b/target/classes/com/docusign/esign/api/WorkspacesApi$1.class deleted file mode 100644 index a733568b..00000000 Binary files a/target/classes/com/docusign/esign/api/WorkspacesApi$1.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/WorkspacesApi$2.class b/target/classes/com/docusign/esign/api/WorkspacesApi$2.class deleted file mode 100644 index 4ab91bb3..00000000 Binary files a/target/classes/com/docusign/esign/api/WorkspacesApi$2.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/WorkspacesApi$3.class b/target/classes/com/docusign/esign/api/WorkspacesApi$3.class deleted file mode 100644 index 72954b5f..00000000 Binary files a/target/classes/com/docusign/esign/api/WorkspacesApi$3.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/WorkspacesApi$4.class b/target/classes/com/docusign/esign/api/WorkspacesApi$4.class deleted file mode 100644 index 422b786f..00000000 Binary files a/target/classes/com/docusign/esign/api/WorkspacesApi$4.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/WorkspacesApi$5.class b/target/classes/com/docusign/esign/api/WorkspacesApi$5.class deleted file mode 100644 index b8407c5e..00000000 Binary files a/target/classes/com/docusign/esign/api/WorkspacesApi$5.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/WorkspacesApi$6.class b/target/classes/com/docusign/esign/api/WorkspacesApi$6.class deleted file mode 100644 index ebb3539b..00000000 Binary files a/target/classes/com/docusign/esign/api/WorkspacesApi$6.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/WorkspacesApi$7.class b/target/classes/com/docusign/esign/api/WorkspacesApi$7.class deleted file mode 100644 index bdc79612..00000000 Binary files a/target/classes/com/docusign/esign/api/WorkspacesApi$7.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/WorkspacesApi$8.class b/target/classes/com/docusign/esign/api/WorkspacesApi$8.class deleted file mode 100644 index f758fc90..00000000 Binary files a/target/classes/com/docusign/esign/api/WorkspacesApi$8.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/WorkspacesApi$9.class b/target/classes/com/docusign/esign/api/WorkspacesApi$9.class deleted file mode 100644 index f004536a..00000000 Binary files a/target/classes/com/docusign/esign/api/WorkspacesApi$9.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/WorkspacesApi$GetWorkspaceFileOptions.class b/target/classes/com/docusign/esign/api/WorkspacesApi$GetWorkspaceFileOptions.class deleted file mode 100644 index 27332803..00000000 Binary files a/target/classes/com/docusign/esign/api/WorkspacesApi$GetWorkspaceFileOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/WorkspacesApi$ListWorkspaceFilePagesOptions.class b/target/classes/com/docusign/esign/api/WorkspacesApi$ListWorkspaceFilePagesOptions.class deleted file mode 100644 index 05e9c23f..00000000 Binary files a/target/classes/com/docusign/esign/api/WorkspacesApi$ListWorkspaceFilePagesOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/WorkspacesApi$ListWorkspaceFolderItemsOptions.class b/target/classes/com/docusign/esign/api/WorkspacesApi$ListWorkspaceFolderItemsOptions.class deleted file mode 100644 index 5a253c61..00000000 Binary files a/target/classes/com/docusign/esign/api/WorkspacesApi$ListWorkspaceFolderItemsOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/api/WorkspacesApi.class b/target/classes/com/docusign/esign/api/WorkspacesApi.class deleted file mode 100644 index 87f294e1..00000000 Binary files a/target/classes/com/docusign/esign/api/WorkspacesApi.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/client/ApiClient.class b/target/classes/com/docusign/esign/client/ApiClient.class deleted file mode 100644 index d734cbe2..00000000 Binary files a/target/classes/com/docusign/esign/client/ApiClient.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/client/ApiException.class b/target/classes/com/docusign/esign/client/ApiException.class deleted file mode 100644 index 9330f1c9..00000000 Binary files a/target/classes/com/docusign/esign/client/ApiException.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/client/Configuration.class b/target/classes/com/docusign/esign/client/Configuration.class deleted file mode 100644 index ca5cabc6..00000000 Binary files a/target/classes/com/docusign/esign/client/Configuration.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/client/Pair.class b/target/classes/com/docusign/esign/client/Pair.class deleted file mode 100644 index 28cd23e3..00000000 Binary files a/target/classes/com/docusign/esign/client/Pair.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/client/StringUtil.class b/target/classes/com/docusign/esign/client/StringUtil.class deleted file mode 100644 index 2d1bb1a6..00000000 Binary files a/target/classes/com/docusign/esign/client/StringUtil.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/client/auth/ApiKeyAuth.class b/target/classes/com/docusign/esign/client/auth/ApiKeyAuth.class deleted file mode 100644 index c139d6be..00000000 Binary files a/target/classes/com/docusign/esign/client/auth/ApiKeyAuth.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/client/auth/Authentication.class b/target/classes/com/docusign/esign/client/auth/Authentication.class deleted file mode 100644 index 428910da..00000000 Binary files a/target/classes/com/docusign/esign/client/auth/Authentication.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/client/auth/HttpBasicAuth.class b/target/classes/com/docusign/esign/client/auth/HttpBasicAuth.class deleted file mode 100644 index a32fc1bb..00000000 Binary files a/target/classes/com/docusign/esign/client/auth/HttpBasicAuth.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/client/auth/OAuth.class b/target/classes/com/docusign/esign/client/auth/OAuth.class deleted file mode 100644 index 16e8f502..00000000 Binary files a/target/classes/com/docusign/esign/client/auth/OAuth.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/client/auth/OAuthFlow.class b/target/classes/com/docusign/esign/client/auth/OAuthFlow.class deleted file mode 100644 index fd423922..00000000 Binary files a/target/classes/com/docusign/esign/client/auth/OAuthFlow.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/AccountAddress.class b/target/classes/com/docusign/esign/model/AccountAddress.class deleted file mode 100644 index 408df660..00000000 Binary files a/target/classes/com/docusign/esign/model/AccountAddress.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/AccountBillingPlan.class b/target/classes/com/docusign/esign/model/AccountBillingPlan.class deleted file mode 100644 index b8d0bc38..00000000 Binary files a/target/classes/com/docusign/esign/model/AccountBillingPlan.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/AccountBillingPlanResponse.class b/target/classes/com/docusign/esign/model/AccountBillingPlanResponse.class deleted file mode 100644 index 6bbd2829..00000000 Binary files a/target/classes/com/docusign/esign/model/AccountBillingPlanResponse.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/AccountInformation.class b/target/classes/com/docusign/esign/model/AccountInformation.class deleted file mode 100644 index 9aa9463d..00000000 Binary files a/target/classes/com/docusign/esign/model/AccountInformation.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/AccountRoleSettings.class b/target/classes/com/docusign/esign/model/AccountRoleSettings.class deleted file mode 100644 index 471002aa..00000000 Binary files a/target/classes/com/docusign/esign/model/AccountRoleSettings.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/AccountSettingsInformation.class b/target/classes/com/docusign/esign/model/AccountSettingsInformation.class deleted file mode 100644 index 20ee4cf8..00000000 Binary files a/target/classes/com/docusign/esign/model/AccountSettingsInformation.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/AccountSharedAccess.class b/target/classes/com/docusign/esign/model/AccountSharedAccess.class deleted file mode 100644 index 91869c27..00000000 Binary files a/target/classes/com/docusign/esign/model/AccountSharedAccess.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/AccountSignatureProvider.class b/target/classes/com/docusign/esign/model/AccountSignatureProvider.class deleted file mode 100644 index 8706111e..00000000 Binary files a/target/classes/com/docusign/esign/model/AccountSignatureProvider.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/AccountSignatureProviderOption.class b/target/classes/com/docusign/esign/model/AccountSignatureProviderOption.class deleted file mode 100644 index 993c5df4..00000000 Binary files a/target/classes/com/docusign/esign/model/AccountSignatureProviderOption.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/AccountSignatureProviders.class b/target/classes/com/docusign/esign/model/AccountSignatureProviders.class deleted file mode 100644 index f3eaafd9..00000000 Binary files a/target/classes/com/docusign/esign/model/AccountSignatureProviders.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/AddOn.class b/target/classes/com/docusign/esign/model/AddOn.class deleted file mode 100644 index 04f6d63a..00000000 Binary files a/target/classes/com/docusign/esign/model/AddOn.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/AddressInformation.class b/target/classes/com/docusign/esign/model/AddressInformation.class deleted file mode 100644 index f7a7be44..00000000 Binary files a/target/classes/com/docusign/esign/model/AddressInformation.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/AddressInformationInput.class b/target/classes/com/docusign/esign/model/AddressInformationInput.class deleted file mode 100644 index c9457efe..00000000 Binary files a/target/classes/com/docusign/esign/model/AddressInformationInput.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/AddressInformationV2.class b/target/classes/com/docusign/esign/model/AddressInformationV2.class deleted file mode 100644 index c7fb5145..00000000 Binary files a/target/classes/com/docusign/esign/model/AddressInformationV2.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/Agent.class b/target/classes/com/docusign/esign/model/Agent.class deleted file mode 100644 index f79ebd65..00000000 Binary files a/target/classes/com/docusign/esign/model/Agent.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/ApiRequestLog.class b/target/classes/com/docusign/esign/model/ApiRequestLog.class deleted file mode 100644 index e877ab59..00000000 Binary files a/target/classes/com/docusign/esign/model/ApiRequestLog.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/ApiRequestLogsResult.class b/target/classes/com/docusign/esign/model/ApiRequestLogsResult.class deleted file mode 100644 index 753e420a..00000000 Binary files a/target/classes/com/docusign/esign/model/ApiRequestLogsResult.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/AppStoreProduct.class b/target/classes/com/docusign/esign/model/AppStoreProduct.class deleted file mode 100644 index 670394c3..00000000 Binary files a/target/classes/com/docusign/esign/model/AppStoreProduct.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/AppStoreReceipt.class b/target/classes/com/docusign/esign/model/AppStoreReceipt.class deleted file mode 100644 index c1575514..00000000 Binary files a/target/classes/com/docusign/esign/model/AppStoreReceipt.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/Approve.class b/target/classes/com/docusign/esign/model/Approve.class deleted file mode 100644 index c8e6d4b0..00000000 Binary files a/target/classes/com/docusign/esign/model/Approve.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/Attachment.class b/target/classes/com/docusign/esign/model/Attachment.class deleted file mode 100644 index deef7a43..00000000 Binary files a/target/classes/com/docusign/esign/model/Attachment.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/AuthenticationMethod.class b/target/classes/com/docusign/esign/model/AuthenticationMethod.class deleted file mode 100644 index f7dad189..00000000 Binary files a/target/classes/com/docusign/esign/model/AuthenticationMethod.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/AuthenticationStatus.class b/target/classes/com/docusign/esign/model/AuthenticationStatus.class deleted file mode 100644 index 61ac7a3c..00000000 Binary files a/target/classes/com/docusign/esign/model/AuthenticationStatus.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/BccEmailAddress.class b/target/classes/com/docusign/esign/model/BccEmailAddress.class deleted file mode 100644 index 6e0dcc53..00000000 Binary files a/target/classes/com/docusign/esign/model/BccEmailAddress.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/BillingCharge.class b/target/classes/com/docusign/esign/model/BillingCharge.class deleted file mode 100644 index 4d220bee..00000000 Binary files a/target/classes/com/docusign/esign/model/BillingCharge.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/BillingChargeResponse.class b/target/classes/com/docusign/esign/model/BillingChargeResponse.class deleted file mode 100644 index d5c5298b..00000000 Binary files a/target/classes/com/docusign/esign/model/BillingChargeResponse.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/BillingDiscount.class b/target/classes/com/docusign/esign/model/BillingDiscount.class deleted file mode 100644 index 2b431cb9..00000000 Binary files a/target/classes/com/docusign/esign/model/BillingDiscount.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/BillingInvoice.class b/target/classes/com/docusign/esign/model/BillingInvoice.class deleted file mode 100644 index d78f8152..00000000 Binary files a/target/classes/com/docusign/esign/model/BillingInvoice.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/BillingInvoiceItem.class b/target/classes/com/docusign/esign/model/BillingInvoiceItem.class deleted file mode 100644 index 5c56824d..00000000 Binary files a/target/classes/com/docusign/esign/model/BillingInvoiceItem.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/BillingInvoicesResponse.class b/target/classes/com/docusign/esign/model/BillingInvoicesResponse.class deleted file mode 100644 index d6b884cc..00000000 Binary files a/target/classes/com/docusign/esign/model/BillingInvoicesResponse.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/BillingInvoicesSummary.class b/target/classes/com/docusign/esign/model/BillingInvoicesSummary.class deleted file mode 100644 index 93b6e67a..00000000 Binary files a/target/classes/com/docusign/esign/model/BillingInvoicesSummary.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/BillingPayment.class b/target/classes/com/docusign/esign/model/BillingPayment.class deleted file mode 100644 index 4a72b8ff..00000000 Binary files a/target/classes/com/docusign/esign/model/BillingPayment.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/BillingPaymentItem.class b/target/classes/com/docusign/esign/model/BillingPaymentItem.class deleted file mode 100644 index afcfc2b7..00000000 Binary files a/target/classes/com/docusign/esign/model/BillingPaymentItem.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/BillingPaymentRequest.class b/target/classes/com/docusign/esign/model/BillingPaymentRequest.class deleted file mode 100644 index 2f485518..00000000 Binary files a/target/classes/com/docusign/esign/model/BillingPaymentRequest.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/BillingPaymentResponse.class b/target/classes/com/docusign/esign/model/BillingPaymentResponse.class deleted file mode 100644 index da9879a6..00000000 Binary files a/target/classes/com/docusign/esign/model/BillingPaymentResponse.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/BillingPaymentsResponse.class b/target/classes/com/docusign/esign/model/BillingPaymentsResponse.class deleted file mode 100644 index 56dc2d94..00000000 Binary files a/target/classes/com/docusign/esign/model/BillingPaymentsResponse.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/BillingPlan.class b/target/classes/com/docusign/esign/model/BillingPlan.class deleted file mode 100644 index 88ef5edf..00000000 Binary files a/target/classes/com/docusign/esign/model/BillingPlan.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/BillingPlanInformation.class b/target/classes/com/docusign/esign/model/BillingPlanInformation.class deleted file mode 100644 index 7c56013a..00000000 Binary files a/target/classes/com/docusign/esign/model/BillingPlanInformation.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/BillingPlanPreview.class b/target/classes/com/docusign/esign/model/BillingPlanPreview.class deleted file mode 100644 index 849df7fa..00000000 Binary files a/target/classes/com/docusign/esign/model/BillingPlanPreview.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/BillingPlanResponse.class b/target/classes/com/docusign/esign/model/BillingPlanResponse.class deleted file mode 100644 index 8df8246b..00000000 Binary files a/target/classes/com/docusign/esign/model/BillingPlanResponse.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/BillingPlanUpdateResponse.class b/target/classes/com/docusign/esign/model/BillingPlanUpdateResponse.class deleted file mode 100644 index 6bbe030a..00000000 Binary files a/target/classes/com/docusign/esign/model/BillingPlanUpdateResponse.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/BillingPlansResponse.class b/target/classes/com/docusign/esign/model/BillingPlansResponse.class deleted file mode 100644 index 6db31b54..00000000 Binary files a/target/classes/com/docusign/esign/model/BillingPlansResponse.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/BillingPrice.class b/target/classes/com/docusign/esign/model/BillingPrice.class deleted file mode 100644 index fefbd204..00000000 Binary files a/target/classes/com/docusign/esign/model/BillingPrice.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/Brand.class b/target/classes/com/docusign/esign/model/Brand.class deleted file mode 100644 index ecec6fc9..00000000 Binary files a/target/classes/com/docusign/esign/model/Brand.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/BrandEmailContent.class b/target/classes/com/docusign/esign/model/BrandEmailContent.class deleted file mode 100644 index df94e2b9..00000000 Binary files a/target/classes/com/docusign/esign/model/BrandEmailContent.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/BrandLink.class b/target/classes/com/docusign/esign/model/BrandLink.class deleted file mode 100644 index 5183682d..00000000 Binary files a/target/classes/com/docusign/esign/model/BrandLink.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/BrandLogos.class b/target/classes/com/docusign/esign/model/BrandLogos.class deleted file mode 100644 index 548e6f4a..00000000 Binary files a/target/classes/com/docusign/esign/model/BrandLogos.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/BrandRequest.class b/target/classes/com/docusign/esign/model/BrandRequest.class deleted file mode 100644 index 069d0fba..00000000 Binary files a/target/classes/com/docusign/esign/model/BrandRequest.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/BrandResourceUrls.class b/target/classes/com/docusign/esign/model/BrandResourceUrls.class deleted file mode 100644 index d0fdf7b9..00000000 Binary files a/target/classes/com/docusign/esign/model/BrandResourceUrls.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/BrandResources.class b/target/classes/com/docusign/esign/model/BrandResources.class deleted file mode 100644 index 1b758383..00000000 Binary files a/target/classes/com/docusign/esign/model/BrandResources.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/BrandResourcesList.class b/target/classes/com/docusign/esign/model/BrandResourcesList.class deleted file mode 100644 index 93cf6145..00000000 Binary files a/target/classes/com/docusign/esign/model/BrandResourcesList.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/BrandsRequest.class b/target/classes/com/docusign/esign/model/BrandsRequest.class deleted file mode 100644 index 39ba2ec3..00000000 Binary files a/target/classes/com/docusign/esign/model/BrandsRequest.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/BrandsResponse.class b/target/classes/com/docusign/esign/model/BrandsResponse.class deleted file mode 100644 index 5431f365..00000000 Binary files a/target/classes/com/docusign/esign/model/BrandsResponse.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/BulkEnvelope.class b/target/classes/com/docusign/esign/model/BulkEnvelope.class deleted file mode 100644 index 761f506f..00000000 Binary files a/target/classes/com/docusign/esign/model/BulkEnvelope.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/BulkEnvelopeStatus.class b/target/classes/com/docusign/esign/model/BulkEnvelopeStatus.class deleted file mode 100644 index 2792690e..00000000 Binary files a/target/classes/com/docusign/esign/model/BulkEnvelopeStatus.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/BulkEnvelopesResponse.class b/target/classes/com/docusign/esign/model/BulkEnvelopesResponse.class deleted file mode 100644 index e5393487..00000000 Binary files a/target/classes/com/docusign/esign/model/BulkEnvelopesResponse.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/BulkRecipient.class b/target/classes/com/docusign/esign/model/BulkRecipient.class deleted file mode 100644 index 06ec26df..00000000 Binary files a/target/classes/com/docusign/esign/model/BulkRecipient.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/BulkRecipientSignatureProvider.class b/target/classes/com/docusign/esign/model/BulkRecipientSignatureProvider.class deleted file mode 100644 index e164d062..00000000 Binary files a/target/classes/com/docusign/esign/model/BulkRecipientSignatureProvider.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/BulkRecipientTabLabel.class b/target/classes/com/docusign/esign/model/BulkRecipientTabLabel.class deleted file mode 100644 index 6f2b8189..00000000 Binary files a/target/classes/com/docusign/esign/model/BulkRecipientTabLabel.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/BulkRecipientsRequest.class b/target/classes/com/docusign/esign/model/BulkRecipientsRequest.class deleted file mode 100644 index 2849b31b..00000000 Binary files a/target/classes/com/docusign/esign/model/BulkRecipientsRequest.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/BulkRecipientsResponse.class b/target/classes/com/docusign/esign/model/BulkRecipientsResponse.class deleted file mode 100644 index c1a58358..00000000 Binary files a/target/classes/com/docusign/esign/model/BulkRecipientsResponse.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/BulkRecipientsSummaryResponse.class b/target/classes/com/docusign/esign/model/BulkRecipientsSummaryResponse.class deleted file mode 100644 index 7cf39943..00000000 Binary files a/target/classes/com/docusign/esign/model/BulkRecipientsSummaryResponse.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/BulkRecipientsUpdateResponse.class b/target/classes/com/docusign/esign/model/BulkRecipientsUpdateResponse.class deleted file mode 100644 index 5f01bbf4..00000000 Binary files a/target/classes/com/docusign/esign/model/BulkRecipientsUpdateResponse.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/CaptiveRecipient.class b/target/classes/com/docusign/esign/model/CaptiveRecipient.class deleted file mode 100644 index ff00b4a4..00000000 Binary files a/target/classes/com/docusign/esign/model/CaptiveRecipient.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/CaptiveRecipientInformation.class b/target/classes/com/docusign/esign/model/CaptiveRecipientInformation.class deleted file mode 100644 index e1dc697c..00000000 Binary files a/target/classes/com/docusign/esign/model/CaptiveRecipientInformation.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/CarbonCopy.class b/target/classes/com/docusign/esign/model/CarbonCopy.class deleted file mode 100644 index 68eab1ab..00000000 Binary files a/target/classes/com/docusign/esign/model/CarbonCopy.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/CertifiedDelivery.class b/target/classes/com/docusign/esign/model/CertifiedDelivery.class deleted file mode 100644 index d63fe74d..00000000 Binary files a/target/classes/com/docusign/esign/model/CertifiedDelivery.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/Checkbox.class b/target/classes/com/docusign/esign/model/Checkbox.class deleted file mode 100644 index b0101282..00000000 Binary files a/target/classes/com/docusign/esign/model/Checkbox.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/ChunkedUploadPart.class b/target/classes/com/docusign/esign/model/ChunkedUploadPart.class deleted file mode 100644 index 18204aab..00000000 Binary files a/target/classes/com/docusign/esign/model/ChunkedUploadPart.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/ChunkedUploadRequest.class b/target/classes/com/docusign/esign/model/ChunkedUploadRequest.class deleted file mode 100644 index ca00af2d..00000000 Binary files a/target/classes/com/docusign/esign/model/ChunkedUploadRequest.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/ChunkedUploadResponse.class b/target/classes/com/docusign/esign/model/ChunkedUploadResponse.class deleted file mode 100644 index f92e0b44..00000000 Binary files a/target/classes/com/docusign/esign/model/ChunkedUploadResponse.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/CloudStorageProvider.class b/target/classes/com/docusign/esign/model/CloudStorageProvider.class deleted file mode 100644 index 06cd4a1d..00000000 Binary files a/target/classes/com/docusign/esign/model/CloudStorageProvider.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/CloudStorageProviders.class b/target/classes/com/docusign/esign/model/CloudStorageProviders.class deleted file mode 100644 index b8ccc3e0..00000000 Binary files a/target/classes/com/docusign/esign/model/CloudStorageProviders.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/Company.class b/target/classes/com/docusign/esign/model/Company.class deleted file mode 100644 index 5d02a810..00000000 Binary files a/target/classes/com/docusign/esign/model/Company.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/CompositeTemplate.class b/target/classes/com/docusign/esign/model/CompositeTemplate.class deleted file mode 100644 index 39da7585..00000000 Binary files a/target/classes/com/docusign/esign/model/CompositeTemplate.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/ConnectConfigResults.class b/target/classes/com/docusign/esign/model/ConnectConfigResults.class deleted file mode 100644 index 2f92fd0d..00000000 Binary files a/target/classes/com/docusign/esign/model/ConnectConfigResults.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/ConnectCustomConfiguration.class b/target/classes/com/docusign/esign/model/ConnectCustomConfiguration.class deleted file mode 100644 index 4af21f11..00000000 Binary files a/target/classes/com/docusign/esign/model/ConnectCustomConfiguration.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/ConnectDebugLog.class b/target/classes/com/docusign/esign/model/ConnectDebugLog.class deleted file mode 100644 index 55de1cd4..00000000 Binary files a/target/classes/com/docusign/esign/model/ConnectDebugLog.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/ConnectFailureFilter.class b/target/classes/com/docusign/esign/model/ConnectFailureFilter.class deleted file mode 100644 index 1c271c7d..00000000 Binary files a/target/classes/com/docusign/esign/model/ConnectFailureFilter.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/ConnectFailureResult.class b/target/classes/com/docusign/esign/model/ConnectFailureResult.class deleted file mode 100644 index 1dbbf915..00000000 Binary files a/target/classes/com/docusign/esign/model/ConnectFailureResult.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/ConnectFailureResults.class b/target/classes/com/docusign/esign/model/ConnectFailureResults.class deleted file mode 100644 index a117bfb9..00000000 Binary files a/target/classes/com/docusign/esign/model/ConnectFailureResults.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/ConnectLog.class b/target/classes/com/docusign/esign/model/ConnectLog.class deleted file mode 100644 index 5ff9e74c..00000000 Binary files a/target/classes/com/docusign/esign/model/ConnectLog.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/ConnectLogs.class b/target/classes/com/docusign/esign/model/ConnectLogs.class deleted file mode 100644 index 0bd81968..00000000 Binary files a/target/classes/com/docusign/esign/model/ConnectLogs.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/ConsoleViewRequest.class b/target/classes/com/docusign/esign/model/ConsoleViewRequest.class deleted file mode 100644 index 0447259a..00000000 Binary files a/target/classes/com/docusign/esign/model/ConsoleViewRequest.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/ConsumerDisclosure.class b/target/classes/com/docusign/esign/model/ConsumerDisclosure.class deleted file mode 100644 index f1968ae0..00000000 Binary files a/target/classes/com/docusign/esign/model/ConsumerDisclosure.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/Contact.class b/target/classes/com/docusign/esign/model/Contact.class deleted file mode 100644 index b79b6dbb..00000000 Binary files a/target/classes/com/docusign/esign/model/Contact.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/ContactGetResponse.class b/target/classes/com/docusign/esign/model/ContactGetResponse.class deleted file mode 100644 index a52b87df..00000000 Binary files a/target/classes/com/docusign/esign/model/ContactGetResponse.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/ContactModRequest.class b/target/classes/com/docusign/esign/model/ContactModRequest.class deleted file mode 100644 index 20157f01..00000000 Binary files a/target/classes/com/docusign/esign/model/ContactModRequest.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/ContactUpdateResponse.class b/target/classes/com/docusign/esign/model/ContactUpdateResponse.class deleted file mode 100644 index f368471c..00000000 Binary files a/target/classes/com/docusign/esign/model/ContactUpdateResponse.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/CorrectViewRequest.class b/target/classes/com/docusign/esign/model/CorrectViewRequest.class deleted file mode 100644 index 676b8d25..00000000 Binary files a/target/classes/com/docusign/esign/model/CorrectViewRequest.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/Country.class b/target/classes/com/docusign/esign/model/Country.class deleted file mode 100644 index 539cdb79..00000000 Binary files a/target/classes/com/docusign/esign/model/Country.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/CreditCardInformation.class b/target/classes/com/docusign/esign/model/CreditCardInformation.class deleted file mode 100644 index 9ba7ce26..00000000 Binary files a/target/classes/com/docusign/esign/model/CreditCardInformation.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/CreditCardTypes.class b/target/classes/com/docusign/esign/model/CreditCardTypes.class deleted file mode 100644 index ca26087b..00000000 Binary files a/target/classes/com/docusign/esign/model/CreditCardTypes.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/CurrencyFeatureSetPrice.class b/target/classes/com/docusign/esign/model/CurrencyFeatureSetPrice.class deleted file mode 100644 index 0e8ac4c7..00000000 Binary files a/target/classes/com/docusign/esign/model/CurrencyFeatureSetPrice.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/CurrencyPlanPrice.class b/target/classes/com/docusign/esign/model/CurrencyPlanPrice.class deleted file mode 100644 index fbf4db48..00000000 Binary files a/target/classes/com/docusign/esign/model/CurrencyPlanPrice.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/CustomFieldV2.class b/target/classes/com/docusign/esign/model/CustomFieldV2.class deleted file mode 100644 index 54160c37..00000000 Binary files a/target/classes/com/docusign/esign/model/CustomFieldV2.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/CustomFields.class b/target/classes/com/docusign/esign/model/CustomFields.class deleted file mode 100644 index 38ea8510..00000000 Binary files a/target/classes/com/docusign/esign/model/CustomFields.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/CustomFieldsEnvelope.class b/target/classes/com/docusign/esign/model/CustomFieldsEnvelope.class deleted file mode 100644 index 2e0492a3..00000000 Binary files a/target/classes/com/docusign/esign/model/CustomFieldsEnvelope.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/CustomSettingsInformation.class b/target/classes/com/docusign/esign/model/CustomSettingsInformation.class deleted file mode 100644 index b1f9f4ff..00000000 Binary files a/target/classes/com/docusign/esign/model/CustomSettingsInformation.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/Date.class b/target/classes/com/docusign/esign/model/Date.class deleted file mode 100644 index a4c9a4b3..00000000 Binary files a/target/classes/com/docusign/esign/model/Date.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/DateSigned.class b/target/classes/com/docusign/esign/model/DateSigned.class deleted file mode 100644 index 43977e4d..00000000 Binary files a/target/classes/com/docusign/esign/model/DateSigned.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/Decline.class b/target/classes/com/docusign/esign/model/Decline.class deleted file mode 100644 index dfee209f..00000000 Binary files a/target/classes/com/docusign/esign/model/Decline.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/DiagnosticsSettingsInformation.class b/target/classes/com/docusign/esign/model/DiagnosticsSettingsInformation.class deleted file mode 100644 index 56550784..00000000 Binary files a/target/classes/com/docusign/esign/model/DiagnosticsSettingsInformation.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/DobInformationInput.class b/target/classes/com/docusign/esign/model/DobInformationInput.class deleted file mode 100644 index b9433d7b..00000000 Binary files a/target/classes/com/docusign/esign/model/DobInformationInput.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/Document.class b/target/classes/com/docusign/esign/model/Document.class deleted file mode 100644 index 759a9c9e..00000000 Binary files a/target/classes/com/docusign/esign/model/Document.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/DocumentFieldsInformation.class b/target/classes/com/docusign/esign/model/DocumentFieldsInformation.class deleted file mode 100644 index 2520b32f..00000000 Binary files a/target/classes/com/docusign/esign/model/DocumentFieldsInformation.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/DocumentTemplate.class b/target/classes/com/docusign/esign/model/DocumentTemplate.class deleted file mode 100644 index 72221e4f..00000000 Binary files a/target/classes/com/docusign/esign/model/DocumentTemplate.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/DocumentTemplateList.class b/target/classes/com/docusign/esign/model/DocumentTemplateList.class deleted file mode 100644 index e440354c..00000000 Binary files a/target/classes/com/docusign/esign/model/DocumentTemplateList.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/DocumentVisibility.class b/target/classes/com/docusign/esign/model/DocumentVisibility.class deleted file mode 100644 index 786e70f8..00000000 Binary files a/target/classes/com/docusign/esign/model/DocumentVisibility.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/DocumentVisibilityList.class b/target/classes/com/docusign/esign/model/DocumentVisibilityList.class deleted file mode 100644 index 7329e239..00000000 Binary files a/target/classes/com/docusign/esign/model/DocumentVisibilityList.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/ENoteConfiguration.class b/target/classes/com/docusign/esign/model/ENoteConfiguration.class deleted file mode 100644 index 1c1d8054..00000000 Binary files a/target/classes/com/docusign/esign/model/ENoteConfiguration.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/Editor.class b/target/classes/com/docusign/esign/model/Editor.class deleted file mode 100644 index 49b9a52e..00000000 Binary files a/target/classes/com/docusign/esign/model/Editor.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/Email.class b/target/classes/com/docusign/esign/model/Email.class deleted file mode 100644 index 5d23fe16..00000000 Binary files a/target/classes/com/docusign/esign/model/Email.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/EmailAddress.class b/target/classes/com/docusign/esign/model/EmailAddress.class deleted file mode 100644 index 9fc4ca2a..00000000 Binary files a/target/classes/com/docusign/esign/model/EmailAddress.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/EmailSettings.class b/target/classes/com/docusign/esign/model/EmailSettings.class deleted file mode 100644 index fb5f6dc1..00000000 Binary files a/target/classes/com/docusign/esign/model/EmailSettings.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/Envelope.class b/target/classes/com/docusign/esign/model/Envelope.class deleted file mode 100644 index 0e78c376..00000000 Binary files a/target/classes/com/docusign/esign/model/Envelope.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/EnvelopeAttachment.class b/target/classes/com/docusign/esign/model/EnvelopeAttachment.class deleted file mode 100644 index d6c8aaee..00000000 Binary files a/target/classes/com/docusign/esign/model/EnvelopeAttachment.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/EnvelopeAttachmentsRequest.class b/target/classes/com/docusign/esign/model/EnvelopeAttachmentsRequest.class deleted file mode 100644 index 2abb2d68..00000000 Binary files a/target/classes/com/docusign/esign/model/EnvelopeAttachmentsRequest.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/EnvelopeAttachmentsResult.class b/target/classes/com/docusign/esign/model/EnvelopeAttachmentsResult.class deleted file mode 100644 index 2198d4f8..00000000 Binary files a/target/classes/com/docusign/esign/model/EnvelopeAttachmentsResult.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/EnvelopeAuditEvent.class b/target/classes/com/docusign/esign/model/EnvelopeAuditEvent.class deleted file mode 100644 index 15d46675..00000000 Binary files a/target/classes/com/docusign/esign/model/EnvelopeAuditEvent.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/EnvelopeAuditEventResponse.class b/target/classes/com/docusign/esign/model/EnvelopeAuditEventResponse.class deleted file mode 100644 index a7cc9230..00000000 Binary files a/target/classes/com/docusign/esign/model/EnvelopeAuditEventResponse.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/EnvelopeDefinition.class b/target/classes/com/docusign/esign/model/EnvelopeDefinition.class deleted file mode 100644 index 9893a296..00000000 Binary files a/target/classes/com/docusign/esign/model/EnvelopeDefinition.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/EnvelopeDocument.class b/target/classes/com/docusign/esign/model/EnvelopeDocument.class deleted file mode 100644 index c6cc97d3..00000000 Binary files a/target/classes/com/docusign/esign/model/EnvelopeDocument.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/EnvelopeDocumentsResult.class b/target/classes/com/docusign/esign/model/EnvelopeDocumentsResult.class deleted file mode 100644 index 45a59314..00000000 Binary files a/target/classes/com/docusign/esign/model/EnvelopeDocumentsResult.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/EnvelopeEvent.class b/target/classes/com/docusign/esign/model/EnvelopeEvent.class deleted file mode 100644 index 1872fc45..00000000 Binary files a/target/classes/com/docusign/esign/model/EnvelopeEvent.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/EnvelopeFormData.class b/target/classes/com/docusign/esign/model/EnvelopeFormData.class deleted file mode 100644 index 20b01d65..00000000 Binary files a/target/classes/com/docusign/esign/model/EnvelopeFormData.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/EnvelopeId.class b/target/classes/com/docusign/esign/model/EnvelopeId.class deleted file mode 100644 index daa1b3c3..00000000 Binary files a/target/classes/com/docusign/esign/model/EnvelopeId.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/EnvelopeIdsRequest.class b/target/classes/com/docusign/esign/model/EnvelopeIdsRequest.class deleted file mode 100644 index 047b6ccd..00000000 Binary files a/target/classes/com/docusign/esign/model/EnvelopeIdsRequest.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/EnvelopeNotificationRequest.class b/target/classes/com/docusign/esign/model/EnvelopeNotificationRequest.class deleted file mode 100644 index 5c2541fa..00000000 Binary files a/target/classes/com/docusign/esign/model/EnvelopeNotificationRequest.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/EnvelopeSummary.class b/target/classes/com/docusign/esign/model/EnvelopeSummary.class deleted file mode 100644 index f464f88d..00000000 Binary files a/target/classes/com/docusign/esign/model/EnvelopeSummary.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/EnvelopeTemplate.class b/target/classes/com/docusign/esign/model/EnvelopeTemplate.class deleted file mode 100644 index e4377521..00000000 Binary files a/target/classes/com/docusign/esign/model/EnvelopeTemplate.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/EnvelopeTemplateDefinition.class b/target/classes/com/docusign/esign/model/EnvelopeTemplateDefinition.class deleted file mode 100644 index 3f500f0f..00000000 Binary files a/target/classes/com/docusign/esign/model/EnvelopeTemplateDefinition.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/EnvelopeTemplateResult.class b/target/classes/com/docusign/esign/model/EnvelopeTemplateResult.class deleted file mode 100644 index 9a736fb6..00000000 Binary files a/target/classes/com/docusign/esign/model/EnvelopeTemplateResult.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/EnvelopeTemplateResults.class b/target/classes/com/docusign/esign/model/EnvelopeTemplateResults.class deleted file mode 100644 index 512c00f3..00000000 Binary files a/target/classes/com/docusign/esign/model/EnvelopeTemplateResults.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/EnvelopeTransactionStatus.class b/target/classes/com/docusign/esign/model/EnvelopeTransactionStatus.class deleted file mode 100644 index 7f5992cc..00000000 Binary files a/target/classes/com/docusign/esign/model/EnvelopeTransactionStatus.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/EnvelopeUpdateSummary.class b/target/classes/com/docusign/esign/model/EnvelopeUpdateSummary.class deleted file mode 100644 index b218ab04..00000000 Binary files a/target/classes/com/docusign/esign/model/EnvelopeUpdateSummary.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/EnvelopesInformation.class b/target/classes/com/docusign/esign/model/EnvelopesInformation.class deleted file mode 100644 index 450623aa..00000000 Binary files a/target/classes/com/docusign/esign/model/EnvelopesInformation.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/ErrorDetails.class b/target/classes/com/docusign/esign/model/ErrorDetails.class deleted file mode 100644 index 1f665b1c..00000000 Binary files a/target/classes/com/docusign/esign/model/ErrorDetails.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/EventNotification.class b/target/classes/com/docusign/esign/model/EventNotification.class deleted file mode 100644 index a0c47a2c..00000000 Binary files a/target/classes/com/docusign/esign/model/EventNotification.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/EventResult.class b/target/classes/com/docusign/esign/model/EventResult.class deleted file mode 100644 index 1cf9642b..00000000 Binary files a/target/classes/com/docusign/esign/model/EventResult.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/Expirations.class b/target/classes/com/docusign/esign/model/Expirations.class deleted file mode 100644 index 388c4eb7..00000000 Binary files a/target/classes/com/docusign/esign/model/Expirations.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/ExternalDocServiceErrorDetails.class b/target/classes/com/docusign/esign/model/ExternalDocServiceErrorDetails.class deleted file mode 100644 index c07c840f..00000000 Binary files a/target/classes/com/docusign/esign/model/ExternalDocServiceErrorDetails.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/ExternalFile.class b/target/classes/com/docusign/esign/model/ExternalFile.class deleted file mode 100644 index 03d57625..00000000 Binary files a/target/classes/com/docusign/esign/model/ExternalFile.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/ExternalFolder.class b/target/classes/com/docusign/esign/model/ExternalFolder.class deleted file mode 100644 index 95d6e5c5..00000000 Binary files a/target/classes/com/docusign/esign/model/ExternalFolder.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/FeatureSet.class b/target/classes/com/docusign/esign/model/FeatureSet.class deleted file mode 100644 index de258928..00000000 Binary files a/target/classes/com/docusign/esign/model/FeatureSet.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/FileType.class b/target/classes/com/docusign/esign/model/FileType.class deleted file mode 100644 index d2b3467c..00000000 Binary files a/target/classes/com/docusign/esign/model/FileType.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/FileTypeList.class b/target/classes/com/docusign/esign/model/FileTypeList.class deleted file mode 100644 index 75cbd36e..00000000 Binary files a/target/classes/com/docusign/esign/model/FileTypeList.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/Filter.class b/target/classes/com/docusign/esign/model/Filter.class deleted file mode 100644 index e9e0ccb6..00000000 Binary files a/target/classes/com/docusign/esign/model/Filter.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/FirstName.class b/target/classes/com/docusign/esign/model/FirstName.class deleted file mode 100644 index 98b4516d..00000000 Binary files a/target/classes/com/docusign/esign/model/FirstName.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/Folder.class b/target/classes/com/docusign/esign/model/Folder.class deleted file mode 100644 index a56f27bf..00000000 Binary files a/target/classes/com/docusign/esign/model/Folder.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/FolderItem.class b/target/classes/com/docusign/esign/model/FolderItem.class deleted file mode 100644 index 0dd1633b..00000000 Binary files a/target/classes/com/docusign/esign/model/FolderItem.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/FolderItemResponse.class b/target/classes/com/docusign/esign/model/FolderItemResponse.class deleted file mode 100644 index 55983f83..00000000 Binary files a/target/classes/com/docusign/esign/model/FolderItemResponse.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/FolderItemV2.class b/target/classes/com/docusign/esign/model/FolderItemV2.class deleted file mode 100644 index 873fdef5..00000000 Binary files a/target/classes/com/docusign/esign/model/FolderItemV2.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/FolderItemsResponse.class b/target/classes/com/docusign/esign/model/FolderItemsResponse.class deleted file mode 100644 index 2b4e2946..00000000 Binary files a/target/classes/com/docusign/esign/model/FolderItemsResponse.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/FoldersRequest.class b/target/classes/com/docusign/esign/model/FoldersRequest.class deleted file mode 100644 index 2669635c..00000000 Binary files a/target/classes/com/docusign/esign/model/FoldersRequest.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/FoldersResponse.class b/target/classes/com/docusign/esign/model/FoldersResponse.class deleted file mode 100644 index f42f030b..00000000 Binary files a/target/classes/com/docusign/esign/model/FoldersResponse.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/ForgottenPasswordInformation.class b/target/classes/com/docusign/esign/model/ForgottenPasswordInformation.class deleted file mode 100644 index f99ecaf1..00000000 Binary files a/target/classes/com/docusign/esign/model/ForgottenPasswordInformation.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/FormulaTab.class b/target/classes/com/docusign/esign/model/FormulaTab.class deleted file mode 100644 index 48239c7e..00000000 Binary files a/target/classes/com/docusign/esign/model/FormulaTab.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/FullName.class b/target/classes/com/docusign/esign/model/FullName.class deleted file mode 100644 index bcb0f13f..00000000 Binary files a/target/classes/com/docusign/esign/model/FullName.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/Group.class b/target/classes/com/docusign/esign/model/Group.class deleted file mode 100644 index 49b87a3c..00000000 Binary files a/target/classes/com/docusign/esign/model/Group.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/GroupInformation.class b/target/classes/com/docusign/esign/model/GroupInformation.class deleted file mode 100644 index cf6ecc4e..00000000 Binary files a/target/classes/com/docusign/esign/model/GroupInformation.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/IdCheckInformationInput.class b/target/classes/com/docusign/esign/model/IdCheckInformationInput.class deleted file mode 100644 index 831ca8c3..00000000 Binary files a/target/classes/com/docusign/esign/model/IdCheckInformationInput.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/InPersonSigner.class b/target/classes/com/docusign/esign/model/InPersonSigner.class deleted file mode 100644 index 77a450a9..00000000 Binary files a/target/classes/com/docusign/esign/model/InPersonSigner.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/InitialHere.class b/target/classes/com/docusign/esign/model/InitialHere.class deleted file mode 100644 index b75840a5..00000000 Binary files a/target/classes/com/docusign/esign/model/InitialHere.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/InlineTemplate.class b/target/classes/com/docusign/esign/model/InlineTemplate.class deleted file mode 100644 index 9341325d..00000000 Binary files a/target/classes/com/docusign/esign/model/InlineTemplate.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/IntegratedUserInfoList.class b/target/classes/com/docusign/esign/model/IntegratedUserInfoList.class deleted file mode 100644 index d448d4f8..00000000 Binary files a/target/classes/com/docusign/esign/model/IntegratedUserInfoList.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/Intermediary.class b/target/classes/com/docusign/esign/model/Intermediary.class deleted file mode 100644 index 0c0aa92e..00000000 Binary files a/target/classes/com/docusign/esign/model/Intermediary.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/LastName.class b/target/classes/com/docusign/esign/model/LastName.class deleted file mode 100644 index 6416d0cc..00000000 Binary files a/target/classes/com/docusign/esign/model/LastName.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/List.class b/target/classes/com/docusign/esign/model/List.class deleted file mode 100644 index 8bdbc059..00000000 Binary files a/target/classes/com/docusign/esign/model/List.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/ListCustomField.class b/target/classes/com/docusign/esign/model/ListCustomField.class deleted file mode 100644 index 415acdb7..00000000 Binary files a/target/classes/com/docusign/esign/model/ListCustomField.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/ListItem.class b/target/classes/com/docusign/esign/model/ListItem.class deleted file mode 100644 index e8fb78ce..00000000 Binary files a/target/classes/com/docusign/esign/model/ListItem.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/LockInformation.class b/target/classes/com/docusign/esign/model/LockInformation.class deleted file mode 100644 index 6052b6fa..00000000 Binary files a/target/classes/com/docusign/esign/model/LockInformation.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/LockRequest.class b/target/classes/com/docusign/esign/model/LockRequest.class deleted file mode 100644 index 7e03ec92..00000000 Binary files a/target/classes/com/docusign/esign/model/LockRequest.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/LoginAccount.class b/target/classes/com/docusign/esign/model/LoginAccount.class deleted file mode 100644 index 62f8bbae..00000000 Binary files a/target/classes/com/docusign/esign/model/LoginAccount.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/LoginInformation.class b/target/classes/com/docusign/esign/model/LoginInformation.class deleted file mode 100644 index 8ca97fd5..00000000 Binary files a/target/classes/com/docusign/esign/model/LoginInformation.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/MatchBox.class b/target/classes/com/docusign/esign/model/MatchBox.class deleted file mode 100644 index fa035d41..00000000 Binary files a/target/classes/com/docusign/esign/model/MatchBox.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/MemberGroupSharedItem.class b/target/classes/com/docusign/esign/model/MemberGroupSharedItem.class deleted file mode 100644 index f7f90878..00000000 Binary files a/target/classes/com/docusign/esign/model/MemberGroupSharedItem.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/MemberSharedItems.class b/target/classes/com/docusign/esign/model/MemberSharedItems.class deleted file mode 100644 index 5e968445..00000000 Binary files a/target/classes/com/docusign/esign/model/MemberSharedItems.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/MergeField.class b/target/classes/com/docusign/esign/model/MergeField.class deleted file mode 100644 index 1ef9a742..00000000 Binary files a/target/classes/com/docusign/esign/model/MergeField.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/MobileNotifierConfiguration.class b/target/classes/com/docusign/esign/model/MobileNotifierConfiguration.class deleted file mode 100644 index 3074092f..00000000 Binary files a/target/classes/com/docusign/esign/model/MobileNotifierConfiguration.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/MobileNotifierConfigurationInformation.class b/target/classes/com/docusign/esign/model/MobileNotifierConfigurationInformation.class deleted file mode 100644 index 7b4c862c..00000000 Binary files a/target/classes/com/docusign/esign/model/MobileNotifierConfigurationInformation.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/Money.class b/target/classes/com/docusign/esign/model/Money.class deleted file mode 100644 index 6b79e763..00000000 Binary files a/target/classes/com/docusign/esign/model/Money.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/NameValue.class b/target/classes/com/docusign/esign/model/NameValue.class deleted file mode 100644 index 07645c0d..00000000 Binary files a/target/classes/com/docusign/esign/model/NameValue.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/NewAccountDefinition.class b/target/classes/com/docusign/esign/model/NewAccountDefinition.class deleted file mode 100644 index 7a3aa563..00000000 Binary files a/target/classes/com/docusign/esign/model/NewAccountDefinition.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/NewAccountSummary.class b/target/classes/com/docusign/esign/model/NewAccountSummary.class deleted file mode 100644 index d529ad6e..00000000 Binary files a/target/classes/com/docusign/esign/model/NewAccountSummary.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/NewUser.class b/target/classes/com/docusign/esign/model/NewUser.class deleted file mode 100644 index 5258a9e7..00000000 Binary files a/target/classes/com/docusign/esign/model/NewUser.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/NewUsersDefinition.class b/target/classes/com/docusign/esign/model/NewUsersDefinition.class deleted file mode 100644 index 3752c260..00000000 Binary files a/target/classes/com/docusign/esign/model/NewUsersDefinition.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/NewUsersSummary.class b/target/classes/com/docusign/esign/model/NewUsersSummary.class deleted file mode 100644 index db63b924..00000000 Binary files a/target/classes/com/docusign/esign/model/NewUsersSummary.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/NotaryHost.class b/target/classes/com/docusign/esign/model/NotaryHost.class deleted file mode 100644 index 2cc1fae0..00000000 Binary files a/target/classes/com/docusign/esign/model/NotaryHost.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/Note.class b/target/classes/com/docusign/esign/model/Note.class deleted file mode 100644 index ca79eb0a..00000000 Binary files a/target/classes/com/docusign/esign/model/Note.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/Notification.class b/target/classes/com/docusign/esign/model/Notification.class deleted file mode 100644 index 0e0fed42..00000000 Binary files a/target/classes/com/docusign/esign/model/Notification.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/Number.class b/target/classes/com/docusign/esign/model/Number.class deleted file mode 100644 index a00edc43..00000000 Binary files a/target/classes/com/docusign/esign/model/Number.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/OauthAccess.class b/target/classes/com/docusign/esign/model/OauthAccess.class deleted file mode 100644 index 767c6807..00000000 Binary files a/target/classes/com/docusign/esign/model/OauthAccess.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/OfflineAttributes.class b/target/classes/com/docusign/esign/model/OfflineAttributes.class deleted file mode 100644 index b9295e64..00000000 Binary files a/target/classes/com/docusign/esign/model/OfflineAttributes.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/Page.class b/target/classes/com/docusign/esign/model/Page.class deleted file mode 100644 index c918adb0..00000000 Binary files a/target/classes/com/docusign/esign/model/Page.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/PageImages.class b/target/classes/com/docusign/esign/model/PageImages.class deleted file mode 100644 index 7405a907..00000000 Binary files a/target/classes/com/docusign/esign/model/PageImages.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/PageRequest.class b/target/classes/com/docusign/esign/model/PageRequest.class deleted file mode 100644 index 764f3254..00000000 Binary files a/target/classes/com/docusign/esign/model/PageRequest.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/PaymentDetails.class b/target/classes/com/docusign/esign/model/PaymentDetails.class deleted file mode 100644 index 56f33e3c..00000000 Binary files a/target/classes/com/docusign/esign/model/PaymentDetails.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/PaymentLineItem.class b/target/classes/com/docusign/esign/model/PaymentLineItem.class deleted file mode 100644 index 364715b0..00000000 Binary files a/target/classes/com/docusign/esign/model/PaymentLineItem.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/PermissionProfile.class b/target/classes/com/docusign/esign/model/PermissionProfile.class deleted file mode 100644 index 45a7baea..00000000 Binary files a/target/classes/com/docusign/esign/model/PermissionProfile.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/PermissionProfileInformation.class b/target/classes/com/docusign/esign/model/PermissionProfileInformation.class deleted file mode 100644 index b5b5f07f..00000000 Binary files a/target/classes/com/docusign/esign/model/PermissionProfileInformation.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/PlanInformation.class b/target/classes/com/docusign/esign/model/PlanInformation.class deleted file mode 100644 index ed58ead6..00000000 Binary files a/target/classes/com/docusign/esign/model/PlanInformation.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/PowerForm.class b/target/classes/com/docusign/esign/model/PowerForm.class deleted file mode 100644 index abaa9b4a..00000000 Binary files a/target/classes/com/docusign/esign/model/PowerForm.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/PowerFormFormDataEnvelope.class b/target/classes/com/docusign/esign/model/PowerFormFormDataEnvelope.class deleted file mode 100644 index 8ba1f0f1..00000000 Binary files a/target/classes/com/docusign/esign/model/PowerFormFormDataEnvelope.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/PowerFormFormDataRecipient.class b/target/classes/com/docusign/esign/model/PowerFormFormDataRecipient.class deleted file mode 100644 index 5ba3bb43..00000000 Binary files a/target/classes/com/docusign/esign/model/PowerFormFormDataRecipient.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/PowerFormRecipient.class b/target/classes/com/docusign/esign/model/PowerFormRecipient.class deleted file mode 100644 index 29a5063f..00000000 Binary files a/target/classes/com/docusign/esign/model/PowerFormRecipient.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/PowerFormSendersResponse.class b/target/classes/com/docusign/esign/model/PowerFormSendersResponse.class deleted file mode 100644 index 3a73cd55..00000000 Binary files a/target/classes/com/docusign/esign/model/PowerFormSendersResponse.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/PowerFormsFormDataResponse.class b/target/classes/com/docusign/esign/model/PowerFormsFormDataResponse.class deleted file mode 100644 index 51ba5244..00000000 Binary files a/target/classes/com/docusign/esign/model/PowerFormsFormDataResponse.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/PowerFormsRequest.class b/target/classes/com/docusign/esign/model/PowerFormsRequest.class deleted file mode 100644 index e86d177f..00000000 Binary files a/target/classes/com/docusign/esign/model/PowerFormsRequest.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/PowerFormsResponse.class b/target/classes/com/docusign/esign/model/PowerFormsResponse.class deleted file mode 100644 index d98535ed..00000000 Binary files a/target/classes/com/docusign/esign/model/PowerFormsResponse.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/PropertyMetadata.class b/target/classes/com/docusign/esign/model/PropertyMetadata.class deleted file mode 100644 index d4c301e1..00000000 Binary files a/target/classes/com/docusign/esign/model/PropertyMetadata.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/Province.class b/target/classes/com/docusign/esign/model/Province.class deleted file mode 100644 index 157fda9b..00000000 Binary files a/target/classes/com/docusign/esign/model/Province.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/ProvisioningInformation.class b/target/classes/com/docusign/esign/model/ProvisioningInformation.class deleted file mode 100644 index 0ee17fa9..00000000 Binary files a/target/classes/com/docusign/esign/model/ProvisioningInformation.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/PurchasedEnvelopesInformation.class b/target/classes/com/docusign/esign/model/PurchasedEnvelopesInformation.class deleted file mode 100644 index 013855fa..00000000 Binary files a/target/classes/com/docusign/esign/model/PurchasedEnvelopesInformation.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/Radio.class b/target/classes/com/docusign/esign/model/Radio.class deleted file mode 100644 index e62ca001..00000000 Binary files a/target/classes/com/docusign/esign/model/Radio.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/RadioGroup.class b/target/classes/com/docusign/esign/model/RadioGroup.class deleted file mode 100644 index 4ae71c9d..00000000 Binary files a/target/classes/com/docusign/esign/model/RadioGroup.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/RecipientAttachment.class b/target/classes/com/docusign/esign/model/RecipientAttachment.class deleted file mode 100644 index 8599da63..00000000 Binary files a/target/classes/com/docusign/esign/model/RecipientAttachment.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/RecipientDomain.class b/target/classes/com/docusign/esign/model/RecipientDomain.class deleted file mode 100644 index 4c69338a..00000000 Binary files a/target/classes/com/docusign/esign/model/RecipientDomain.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/RecipientEmailNotification.class b/target/classes/com/docusign/esign/model/RecipientEmailNotification.class deleted file mode 100644 index 46a00493..00000000 Binary files a/target/classes/com/docusign/esign/model/RecipientEmailNotification.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/RecipientEvent.class b/target/classes/com/docusign/esign/model/RecipientEvent.class deleted file mode 100644 index b9f61052..00000000 Binary files a/target/classes/com/docusign/esign/model/RecipientEvent.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/RecipientFormData.class b/target/classes/com/docusign/esign/model/RecipientFormData.class deleted file mode 100644 index 7f36621c..00000000 Binary files a/target/classes/com/docusign/esign/model/RecipientFormData.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/RecipientNamesResponse.class b/target/classes/com/docusign/esign/model/RecipientNamesResponse.class deleted file mode 100644 index f1c2f9f1..00000000 Binary files a/target/classes/com/docusign/esign/model/RecipientNamesResponse.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/RecipientPhoneAuthentication.class b/target/classes/com/docusign/esign/model/RecipientPhoneAuthentication.class deleted file mode 100644 index 8a5cf53a..00000000 Binary files a/target/classes/com/docusign/esign/model/RecipientPhoneAuthentication.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/RecipientSAMLAuthentication.class b/target/classes/com/docusign/esign/model/RecipientSAMLAuthentication.class deleted file mode 100644 index f9460710..00000000 Binary files a/target/classes/com/docusign/esign/model/RecipientSAMLAuthentication.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/RecipientSMSAuthentication.class b/target/classes/com/docusign/esign/model/RecipientSMSAuthentication.class deleted file mode 100644 index 43905670..00000000 Binary files a/target/classes/com/docusign/esign/model/RecipientSMSAuthentication.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/RecipientSignatureInformation.class b/target/classes/com/docusign/esign/model/RecipientSignatureInformation.class deleted file mode 100644 index a1ba3020..00000000 Binary files a/target/classes/com/docusign/esign/model/RecipientSignatureInformation.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/RecipientSignatureProvider.class b/target/classes/com/docusign/esign/model/RecipientSignatureProvider.class deleted file mode 100644 index 7db3fdb3..00000000 Binary files a/target/classes/com/docusign/esign/model/RecipientSignatureProvider.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/RecipientSignatureProviderOptions.class b/target/classes/com/docusign/esign/model/RecipientSignatureProviderOptions.class deleted file mode 100644 index e86b5951..00000000 Binary files a/target/classes/com/docusign/esign/model/RecipientSignatureProviderOptions.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/RecipientUpdateResponse.class b/target/classes/com/docusign/esign/model/RecipientUpdateResponse.class deleted file mode 100644 index cddfd536..00000000 Binary files a/target/classes/com/docusign/esign/model/RecipientUpdateResponse.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/RecipientViewRequest.class b/target/classes/com/docusign/esign/model/RecipientViewRequest.class deleted file mode 100644 index b3bb5303..00000000 Binary files a/target/classes/com/docusign/esign/model/RecipientViewRequest.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/Recipients.class b/target/classes/com/docusign/esign/model/Recipients.class deleted file mode 100644 index 7da0cebf..00000000 Binary files a/target/classes/com/docusign/esign/model/Recipients.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/RecipientsUpdateSummary.class b/target/classes/com/docusign/esign/model/RecipientsUpdateSummary.class deleted file mode 100644 index e9f87571..00000000 Binary files a/target/classes/com/docusign/esign/model/RecipientsUpdateSummary.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/ReferralInformation.class b/target/classes/com/docusign/esign/model/ReferralInformation.class deleted file mode 100644 index 6be38bff..00000000 Binary files a/target/classes/com/docusign/esign/model/ReferralInformation.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/Reminders.class b/target/classes/com/docusign/esign/model/Reminders.class deleted file mode 100644 index e5f9da0b..00000000 Binary files a/target/classes/com/docusign/esign/model/Reminders.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/ResourceInformation.class b/target/classes/com/docusign/esign/model/ResourceInformation.class deleted file mode 100644 index a360e55e..00000000 Binary files a/target/classes/com/docusign/esign/model/ResourceInformation.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/ReturnUrlRequest.class b/target/classes/com/docusign/esign/model/ReturnUrlRequest.class deleted file mode 100644 index 5071b9f6..00000000 Binary files a/target/classes/com/docusign/esign/model/ReturnUrlRequest.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/SamlAssertionAttribute.class b/target/classes/com/docusign/esign/model/SamlAssertionAttribute.class deleted file mode 100644 index da2b634f..00000000 Binary files a/target/classes/com/docusign/esign/model/SamlAssertionAttribute.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/SeatDiscount.class b/target/classes/com/docusign/esign/model/SeatDiscount.class deleted file mode 100644 index 9c799134..00000000 Binary files a/target/classes/com/docusign/esign/model/SeatDiscount.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/SenderEmailNotifications.class b/target/classes/com/docusign/esign/model/SenderEmailNotifications.class deleted file mode 100644 index c462f04a..00000000 Binary files a/target/classes/com/docusign/esign/model/SenderEmailNotifications.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/ServerTemplate.class b/target/classes/com/docusign/esign/model/ServerTemplate.class deleted file mode 100644 index e0c3eeac..00000000 Binary files a/target/classes/com/docusign/esign/model/ServerTemplate.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/ServiceInformation.class b/target/classes/com/docusign/esign/model/ServiceInformation.class deleted file mode 100644 index badcf4e5..00000000 Binary files a/target/classes/com/docusign/esign/model/ServiceInformation.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/ServiceVersion.class b/target/classes/com/docusign/esign/model/ServiceVersion.class deleted file mode 100644 index 990eadac..00000000 Binary files a/target/classes/com/docusign/esign/model/ServiceVersion.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/SettingsMetadata.class b/target/classes/com/docusign/esign/model/SettingsMetadata.class deleted file mode 100644 index 8f37a369..00000000 Binary files a/target/classes/com/docusign/esign/model/SettingsMetadata.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/SharedItem.class b/target/classes/com/docusign/esign/model/SharedItem.class deleted file mode 100644 index d485ded0..00000000 Binary files a/target/classes/com/docusign/esign/model/SharedItem.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/SignHere.class b/target/classes/com/docusign/esign/model/SignHere.class deleted file mode 100644 index 13d06407..00000000 Binary files a/target/classes/com/docusign/esign/model/SignHere.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/SignatureProviderRequiredOption.class b/target/classes/com/docusign/esign/model/SignatureProviderRequiredOption.class deleted file mode 100644 index 4ab698c1..00000000 Binary files a/target/classes/com/docusign/esign/model/SignatureProviderRequiredOption.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/SignatureType.class b/target/classes/com/docusign/esign/model/SignatureType.class deleted file mode 100644 index d6af17df..00000000 Binary files a/target/classes/com/docusign/esign/model/SignatureType.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/Signer.class b/target/classes/com/docusign/esign/model/Signer.class deleted file mode 100644 index a355029a..00000000 Binary files a/target/classes/com/docusign/esign/model/Signer.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/SignerAttachment.class b/target/classes/com/docusign/esign/model/SignerAttachment.class deleted file mode 100644 index 11d7173c..00000000 Binary files a/target/classes/com/docusign/esign/model/SignerAttachment.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/SignerEmailNotifications.class b/target/classes/com/docusign/esign/model/SignerEmailNotifications.class deleted file mode 100644 index b3ea728a..00000000 Binary files a/target/classes/com/docusign/esign/model/SignerEmailNotifications.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/SigningGroup.class b/target/classes/com/docusign/esign/model/SigningGroup.class deleted file mode 100644 index 645136c0..00000000 Binary files a/target/classes/com/docusign/esign/model/SigningGroup.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/SigningGroupInformation.class b/target/classes/com/docusign/esign/model/SigningGroupInformation.class deleted file mode 100644 index de8cd74f..00000000 Binary files a/target/classes/com/docusign/esign/model/SigningGroupInformation.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/SigningGroupUser.class b/target/classes/com/docusign/esign/model/SigningGroupUser.class deleted file mode 100644 index 151e1113..00000000 Binary files a/target/classes/com/docusign/esign/model/SigningGroupUser.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/SigningGroupUsers.class b/target/classes/com/docusign/esign/model/SigningGroupUsers.class deleted file mode 100644 index e2139125..00000000 Binary files a/target/classes/com/docusign/esign/model/SigningGroupUsers.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/SocialAccountInformation.class b/target/classes/com/docusign/esign/model/SocialAccountInformation.class deleted file mode 100644 index 10bb0731..00000000 Binary files a/target/classes/com/docusign/esign/model/SocialAccountInformation.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/SocialAuthentication.class b/target/classes/com/docusign/esign/model/SocialAuthentication.class deleted file mode 100644 index 4e2fb9a7..00000000 Binary files a/target/classes/com/docusign/esign/model/SocialAuthentication.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/Ssn.class b/target/classes/com/docusign/esign/model/Ssn.class deleted file mode 100644 index 5c8dd256..00000000 Binary files a/target/classes/com/docusign/esign/model/Ssn.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/Ssn4InformationInput.class b/target/classes/com/docusign/esign/model/Ssn4InformationInput.class deleted file mode 100644 index 78b16254..00000000 Binary files a/target/classes/com/docusign/esign/model/Ssn4InformationInput.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/Ssn9InformationInput.class b/target/classes/com/docusign/esign/model/Ssn9InformationInput.class deleted file mode 100644 index fd9023db..00000000 Binary files a/target/classes/com/docusign/esign/model/Ssn9InformationInput.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/TabAccountSettings.class b/target/classes/com/docusign/esign/model/TabAccountSettings.class deleted file mode 100644 index 2cc75535..00000000 Binary files a/target/classes/com/docusign/esign/model/TabAccountSettings.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/TabMetadata.class b/target/classes/com/docusign/esign/model/TabMetadata.class deleted file mode 100644 index 12224a57..00000000 Binary files a/target/classes/com/docusign/esign/model/TabMetadata.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/TabMetadataList.class b/target/classes/com/docusign/esign/model/TabMetadataList.class deleted file mode 100644 index 20ab0571..00000000 Binary files a/target/classes/com/docusign/esign/model/TabMetadataList.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/Tabs.class b/target/classes/com/docusign/esign/model/Tabs.class deleted file mode 100644 index 631f920a..00000000 Binary files a/target/classes/com/docusign/esign/model/Tabs.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/TemplateCustomFields.class b/target/classes/com/docusign/esign/model/TemplateCustomFields.class deleted file mode 100644 index addbfb06..00000000 Binary files a/target/classes/com/docusign/esign/model/TemplateCustomFields.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/TemplateDocumentVisibilityList.class b/target/classes/com/docusign/esign/model/TemplateDocumentVisibilityList.class deleted file mode 100644 index 253fae64..00000000 Binary files a/target/classes/com/docusign/esign/model/TemplateDocumentVisibilityList.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/TemplateDocumentsResult.class b/target/classes/com/docusign/esign/model/TemplateDocumentsResult.class deleted file mode 100644 index 82452582..00000000 Binary files a/target/classes/com/docusign/esign/model/TemplateDocumentsResult.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/TemplateInformation.class b/target/classes/com/docusign/esign/model/TemplateInformation.class deleted file mode 100644 index 4fbb675e..00000000 Binary files a/target/classes/com/docusign/esign/model/TemplateInformation.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/TemplateMatch.class b/target/classes/com/docusign/esign/model/TemplateMatch.class deleted file mode 100644 index 4dcc1277..00000000 Binary files a/target/classes/com/docusign/esign/model/TemplateMatch.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/TemplateNotificationRequest.class b/target/classes/com/docusign/esign/model/TemplateNotificationRequest.class deleted file mode 100644 index 895ba8db..00000000 Binary files a/target/classes/com/docusign/esign/model/TemplateNotificationRequest.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/TemplateRecipients.class b/target/classes/com/docusign/esign/model/TemplateRecipients.class deleted file mode 100644 index 5b6f2af4..00000000 Binary files a/target/classes/com/docusign/esign/model/TemplateRecipients.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/TemplateRole.class b/target/classes/com/docusign/esign/model/TemplateRole.class deleted file mode 100644 index 0ef7f1f8..00000000 Binary files a/target/classes/com/docusign/esign/model/TemplateRole.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/TemplateSharedItem.class b/target/classes/com/docusign/esign/model/TemplateSharedItem.class deleted file mode 100644 index 1ddfab33..00000000 Binary files a/target/classes/com/docusign/esign/model/TemplateSharedItem.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/TemplateSummary.class b/target/classes/com/docusign/esign/model/TemplateSummary.class deleted file mode 100644 index 3e58c0ed..00000000 Binary files a/target/classes/com/docusign/esign/model/TemplateSummary.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/TemplateTabs.class b/target/classes/com/docusign/esign/model/TemplateTabs.class deleted file mode 100644 index 9ad5cd47..00000000 Binary files a/target/classes/com/docusign/esign/model/TemplateTabs.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/TemplateUpdateSummary.class b/target/classes/com/docusign/esign/model/TemplateUpdateSummary.class deleted file mode 100644 index 53d9aec0..00000000 Binary files a/target/classes/com/docusign/esign/model/TemplateUpdateSummary.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/Text.class b/target/classes/com/docusign/esign/model/Text.class deleted file mode 100644 index 2551afab..00000000 Binary files a/target/classes/com/docusign/esign/model/Text.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/TextCustomField.class b/target/classes/com/docusign/esign/model/TextCustomField.class deleted file mode 100644 index 45ea8be6..00000000 Binary files a/target/classes/com/docusign/esign/model/TextCustomField.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/Title.class b/target/classes/com/docusign/esign/model/Title.class deleted file mode 100644 index f8e52c9f..00000000 Binary files a/target/classes/com/docusign/esign/model/Title.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/UsageHistory.class b/target/classes/com/docusign/esign/model/UsageHistory.class deleted file mode 100644 index ac522cee..00000000 Binary files a/target/classes/com/docusign/esign/model/UsageHistory.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/UserAccountManagementGranularInformation.class b/target/classes/com/docusign/esign/model/UserAccountManagementGranularInformation.class deleted file mode 100644 index abafba0f..00000000 Binary files a/target/classes/com/docusign/esign/model/UserAccountManagementGranularInformation.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/UserInfo.class b/target/classes/com/docusign/esign/model/UserInfo.class deleted file mode 100644 index 43eb5d19..00000000 Binary files a/target/classes/com/docusign/esign/model/UserInfo.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/UserInfoList.class b/target/classes/com/docusign/esign/model/UserInfoList.class deleted file mode 100644 index 9e3af39a..00000000 Binary files a/target/classes/com/docusign/esign/model/UserInfoList.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/UserInformation.class b/target/classes/com/docusign/esign/model/UserInformation.class deleted file mode 100644 index 2ae21dd4..00000000 Binary files a/target/classes/com/docusign/esign/model/UserInformation.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/UserInformationList.class b/target/classes/com/docusign/esign/model/UserInformationList.class deleted file mode 100644 index 5b110e18..00000000 Binary files a/target/classes/com/docusign/esign/model/UserInformationList.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/UserPasswordInformation.class b/target/classes/com/docusign/esign/model/UserPasswordInformation.class deleted file mode 100644 index 91c6a352..00000000 Binary files a/target/classes/com/docusign/esign/model/UserPasswordInformation.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/UserProfile.class b/target/classes/com/docusign/esign/model/UserProfile.class deleted file mode 100644 index 6e1bcc90..00000000 Binary files a/target/classes/com/docusign/esign/model/UserProfile.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/UserSettingsInformation.class b/target/classes/com/docusign/esign/model/UserSettingsInformation.class deleted file mode 100644 index 4c3d771c..00000000 Binary files a/target/classes/com/docusign/esign/model/UserSettingsInformation.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/UserSharedItem.class b/target/classes/com/docusign/esign/model/UserSharedItem.class deleted file mode 100644 index 922228cf..00000000 Binary files a/target/classes/com/docusign/esign/model/UserSharedItem.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/UserSignature.class b/target/classes/com/docusign/esign/model/UserSignature.class deleted file mode 100644 index 251fdac7..00000000 Binary files a/target/classes/com/docusign/esign/model/UserSignature.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/UserSignatureDefinition.class b/target/classes/com/docusign/esign/model/UserSignatureDefinition.class deleted file mode 100644 index fd609a4c..00000000 Binary files a/target/classes/com/docusign/esign/model/UserSignatureDefinition.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/UserSignaturesInformation.class b/target/classes/com/docusign/esign/model/UserSignaturesInformation.class deleted file mode 100644 index abbe2dde..00000000 Binary files a/target/classes/com/docusign/esign/model/UserSignaturesInformation.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/UserSocialIdResult.class b/target/classes/com/docusign/esign/model/UserSocialIdResult.class deleted file mode 100644 index 7988e7ba..00000000 Binary files a/target/classes/com/docusign/esign/model/UserSocialIdResult.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/UsersResponse.class b/target/classes/com/docusign/esign/model/UsersResponse.class deleted file mode 100644 index a2616fee..00000000 Binary files a/target/classes/com/docusign/esign/model/UsersResponse.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/View.class b/target/classes/com/docusign/esign/model/View.class deleted file mode 100644 index 26dec54f..00000000 Binary files a/target/classes/com/docusign/esign/model/View.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/ViewLinkRequest.class b/target/classes/com/docusign/esign/model/ViewLinkRequest.class deleted file mode 100644 index bf6e2dee..00000000 Binary files a/target/classes/com/docusign/esign/model/ViewLinkRequest.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/ViewUrl.class b/target/classes/com/docusign/esign/model/ViewUrl.class deleted file mode 100644 index dac01f53..00000000 Binary files a/target/classes/com/docusign/esign/model/ViewUrl.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/Workspace.class b/target/classes/com/docusign/esign/model/Workspace.class deleted file mode 100644 index 34436ca4..00000000 Binary files a/target/classes/com/docusign/esign/model/Workspace.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/WorkspaceFolderContents.class b/target/classes/com/docusign/esign/model/WorkspaceFolderContents.class deleted file mode 100644 index a051b76f..00000000 Binary files a/target/classes/com/docusign/esign/model/WorkspaceFolderContents.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/WorkspaceItem.class b/target/classes/com/docusign/esign/model/WorkspaceItem.class deleted file mode 100644 index 4d929e1b..00000000 Binary files a/target/classes/com/docusign/esign/model/WorkspaceItem.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/WorkspaceItemList.class b/target/classes/com/docusign/esign/model/WorkspaceItemList.class deleted file mode 100644 index b7fe365b..00000000 Binary files a/target/classes/com/docusign/esign/model/WorkspaceItemList.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/WorkspaceList.class b/target/classes/com/docusign/esign/model/WorkspaceList.class deleted file mode 100644 index 63fc7adf..00000000 Binary files a/target/classes/com/docusign/esign/model/WorkspaceList.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/WorkspaceUser.class b/target/classes/com/docusign/esign/model/WorkspaceUser.class deleted file mode 100644 index 17bdfb77..00000000 Binary files a/target/classes/com/docusign/esign/model/WorkspaceUser.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/WorkspaceUserAuthorization.class b/target/classes/com/docusign/esign/model/WorkspaceUserAuthorization.class deleted file mode 100644 index 062a4bdc..00000000 Binary files a/target/classes/com/docusign/esign/model/WorkspaceUserAuthorization.class and /dev/null differ diff --git a/target/classes/com/docusign/esign/model/Zip.class b/target/classes/com/docusign/esign/model/Zip.class deleted file mode 100644 index 0bb7c503..00000000 Binary files a/target/classes/com/docusign/esign/model/Zip.class and /dev/null differ diff --git a/target/javadoc-bundle-options/javadoc-options-javadoc-resources.xml b/target/javadoc-bundle-options/javadoc-options-javadoc-resources.xml deleted file mode 100644 index 8b89c977..00000000 --- a/target/javadoc-bundle-options/javadoc-options-javadoc-resources.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<javadocOptions> - <docletArtifacts> - <docletArtifact /> - </docletArtifacts> - <tagletArtifacts> - <tagletArtifact /> - </tagletArtifacts> - <javadocResourcesDirectory>src/main/javadoc</javadocResourcesDirectory> -</javadocOptions> diff --git a/target/javadoc-bundle-options/package-list b/target/javadoc-bundle-options/package-list deleted file mode 100644 index b52fe94b..00000000 --- a/target/javadoc-bundle-options/package-list +++ /dev/null @@ -1,209 +0,0 @@ -java.applet -java.awt -java.awt.color -java.awt.datatransfer -java.awt.dnd -java.awt.event -java.awt.font -java.awt.geom -java.awt.im -java.awt.im.spi -java.awt.image -java.awt.image.renderable -java.awt.print -java.beans -java.beans.beancontext -java.io -java.lang -java.lang.annotation -java.lang.instrument -java.lang.invoke -java.lang.management -java.lang.ref -java.lang.reflect -java.math -java.net -java.nio -java.nio.channels -java.nio.channels.spi -java.nio.charset -java.nio.charset.spi -java.nio.file -java.nio.file.attribute -java.nio.file.spi -java.rmi -java.rmi.activation -java.rmi.dgc -java.rmi.registry -java.rmi.server -java.security -java.security.acl -java.security.cert -java.security.interfaces -java.security.spec -java.sql -java.text -java.text.spi -java.util -java.util.concurrent -java.util.concurrent.atomic -java.util.concurrent.locks -java.util.jar -java.util.logging -java.util.prefs -java.util.regex -java.util.spi -java.util.zip -javax.accessibility -javax.activation -javax.activity -javax.annotation -javax.annotation.processing -javax.crypto -javax.crypto.interfaces -javax.crypto.spec -javax.imageio -javax.imageio.event -javax.imageio.metadata -javax.imageio.plugins.bmp -javax.imageio.plugins.jpeg -javax.imageio.spi -javax.imageio.stream -javax.jws -javax.jws.soap -javax.lang.model -javax.lang.model.element -javax.lang.model.type -javax.lang.model.util -javax.management -javax.management.loading -javax.management.modelmbean -javax.management.monitor -javax.management.openmbean -javax.management.relation -javax.management.remote -javax.management.remote.rmi -javax.management.timer -javax.naming -javax.naming.directory -javax.naming.event -javax.naming.ldap -javax.naming.spi -javax.net -javax.net.ssl -javax.print -javax.print.attribute -javax.print.attribute.standard -javax.print.event -javax.rmi -javax.rmi.CORBA -javax.rmi.ssl -javax.script -javax.security.auth -javax.security.auth.callback -javax.security.auth.kerberos -javax.security.auth.login -javax.security.auth.spi -javax.security.auth.x500 -javax.security.cert -javax.security.sasl -javax.sound.midi -javax.sound.midi.spi -javax.sound.sampled -javax.sound.sampled.spi -javax.sql -javax.sql.rowset -javax.sql.rowset.serial -javax.sql.rowset.spi -javax.swing -javax.swing.border -javax.swing.colorchooser -javax.swing.event -javax.swing.filechooser -javax.swing.plaf -javax.swing.plaf.basic -javax.swing.plaf.metal -javax.swing.plaf.multi -javax.swing.plaf.nimbus -javax.swing.plaf.synth -javax.swing.table -javax.swing.text -javax.swing.text.html -javax.swing.text.html.parser -javax.swing.text.rtf -javax.swing.tree -javax.swing.undo -javax.tools -javax.transaction -javax.transaction.xa -javax.xml -javax.xml.bind -javax.xml.bind.annotation -javax.xml.bind.annotation.adapters -javax.xml.bind.attachment -javax.xml.bind.helpers -javax.xml.bind.util -javax.xml.crypto -javax.xml.crypto.dom -javax.xml.crypto.dsig -javax.xml.crypto.dsig.dom -javax.xml.crypto.dsig.keyinfo -javax.xml.crypto.dsig.spec -javax.xml.datatype -javax.xml.namespace -javax.xml.parsers -javax.xml.soap -javax.xml.stream -javax.xml.stream.events -javax.xml.stream.util -javax.xml.transform -javax.xml.transform.dom -javax.xml.transform.sax -javax.xml.transform.stax -javax.xml.transform.stream -javax.xml.validation -javax.xml.ws -javax.xml.ws.handler -javax.xml.ws.handler.soap -javax.xml.ws.http -javax.xml.ws.soap -javax.xml.ws.spi -javax.xml.ws.spi.http -javax.xml.ws.wsaddressing -javax.xml.xpath -org.ietf.jgss -org.omg.CORBA -org.omg.CORBA.DynAnyPackage -org.omg.CORBA.ORBPackage -org.omg.CORBA.TypeCodePackage -org.omg.CORBA.portable -org.omg.CORBA_2_3 -org.omg.CORBA_2_3.portable -org.omg.CosNaming -org.omg.CosNaming.NamingContextExtPackage -org.omg.CosNaming.NamingContextPackage -org.omg.Dynamic -org.omg.DynamicAny -org.omg.DynamicAny.DynAnyFactoryPackage -org.omg.DynamicAny.DynAnyPackage -org.omg.IOP -org.omg.IOP.CodecFactoryPackage -org.omg.IOP.CodecPackage -org.omg.Messaging -org.omg.PortableInterceptor -org.omg.PortableInterceptor.ORBInitInfoPackage -org.omg.PortableServer -org.omg.PortableServer.CurrentPackage -org.omg.PortableServer.POAManagerPackage -org.omg.PortableServer.POAPackage -org.omg.PortableServer.ServantLocatorPackage -org.omg.PortableServer.portable -org.omg.SendingContext -org.omg.stub.java.rmi -org.w3c.dom -org.w3c.dom.bootstrap -org.w3c.dom.events -org.w3c.dom.ls -org.xml.sax -org.xml.sax.ext -org.xml.sax.helpers diff --git a/target/lib/hamcrest-core-1.3.jar b/target/lib/hamcrest-core-1.3.jar deleted file mode 100644 index 9d5fe16e..00000000 Binary files a/target/lib/hamcrest-core-1.3.jar and /dev/null differ diff --git a/target/lib/jackson-datatype-joda-2.1.5.jar b/target/lib/jackson-datatype-joda-2.1.5.jar deleted file mode 100644 index ee0c1327..00000000 Binary files a/target/lib/jackson-datatype-joda-2.1.5.jar and /dev/null differ diff --git a/target/lib/jersey-client-1.19.1.jar b/target/lib/jersey-client-1.19.1.jar deleted file mode 100644 index 455a7f28..00000000 Binary files a/target/lib/jersey-client-1.19.1.jar and /dev/null differ diff --git a/target/lib/jersey-core-1.19.1.jar b/target/lib/jersey-core-1.19.1.jar deleted file mode 100644 index 8e5185d2..00000000 Binary files a/target/lib/jersey-core-1.19.1.jar and /dev/null differ diff --git a/target/lib/jersey-multipart-1.19.1.jar b/target/lib/jersey-multipart-1.19.1.jar deleted file mode 100644 index 3f72c1e0..00000000 Binary files a/target/lib/jersey-multipart-1.19.1.jar and /dev/null differ diff --git a/target/lib/joda-time-2.9.3.jar b/target/lib/joda-time-2.9.3.jar deleted file mode 100644 index 4d54b262..00000000 Binary files a/target/lib/joda-time-2.9.3.jar and /dev/null differ diff --git a/target/lib/json-20140107.jar b/target/lib/json-20140107.jar deleted file mode 100644 index 40a325db..00000000 Binary files a/target/lib/json-20140107.jar and /dev/null differ diff --git a/target/lib/jsr311-api-1.1.1.jar b/target/lib/jsr311-api-1.1.1.jar deleted file mode 100644 index ec8bc818..00000000 Binary files a/target/lib/jsr311-api-1.1.1.jar and /dev/null differ diff --git a/target/lib/junit-4.12.jar b/target/lib/junit-4.12.jar deleted file mode 100644 index 3a7fc266..00000000 Binary files a/target/lib/junit-4.12.jar and /dev/null differ diff --git a/target/lib/migbase64-2.2.jar b/target/lib/migbase64-2.2.jar deleted file mode 100644 index 4edf20a7..00000000 Binary files a/target/lib/migbase64-2.2.jar and /dev/null differ diff --git a/target/lib/mimepull-1.9.3.jar b/target/lib/mimepull-1.9.3.jar deleted file mode 100644 index c3234556..00000000 Binary files a/target/lib/mimepull-1.9.3.jar and /dev/null differ diff --git a/target/lib/org.apache.oltu.oauth2.client-1.0.2.jar b/target/lib/org.apache.oltu.oauth2.client-1.0.2.jar deleted file mode 100644 index 180af4d2..00000000 Binary files a/target/lib/org.apache.oltu.oauth2.client-1.0.2.jar and /dev/null differ diff --git a/target/lib/org.apache.oltu.oauth2.common-1.0.2.jar b/target/lib/org.apache.oltu.oauth2.common-1.0.2.jar deleted file mode 100644 index 2b945b86..00000000 Binary files a/target/lib/org.apache.oltu.oauth2.common-1.0.2.jar and /dev/null differ diff --git a/target/lib/slf4j-api-1.7.7.jar b/target/lib/slf4j-api-1.7.7.jar deleted file mode 100644 index bebabd96..00000000 Binary files a/target/lib/slf4j-api-1.7.7.jar and /dev/null differ diff --git a/target/lib/swagger-annotations-1.5.8.jar b/target/lib/swagger-annotations-1.5.8.jar deleted file mode 100644 index d042d461..00000000 Binary files a/target/lib/swagger-annotations-1.5.8.jar and /dev/null differ diff --git a/target/maven-archiver/pom.properties b/target/maven-archiver/pom.properties deleted file mode 100644 index 26d39d16..00000000 --- a/target/maven-archiver/pom.properties +++ /dev/null @@ -1,4 +0,0 @@ -#Created by Apache Maven 3.6.0 -version=2.10.1 -groupId=com.docusign -artifactId=docusign-esign-java diff --git a/target/surefire-reports/SdkUnitTests.txt b/target/surefire-reports/SdkUnitTests.txt deleted file mode 100644 index 73bb6ba7..00000000 --- a/target/surefire-reports/SdkUnitTests.txt +++ /dev/null @@ -1,4 +0,0 @@ -------------------------------------------------------------------------------- -Test set: SdkUnitTests -------------------------------------------------------------------------------- -Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.728 s - in SdkUnitTests diff --git a/target/surefire-reports/TEST-SdkUnitTests.xml b/target/surefire-reports/TEST-SdkUnitTests.xml deleted file mode 100644 index b86f5934..00000000 --- a/target/surefire-reports/TEST-SdkUnitTests.xml +++ /dev/null @@ -1,82 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<testsuite xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://maven.apache.org/surefire/maven-surefire-plugin/xsd/surefire-test-report-3.0.xsd" version="3.0" name="SdkUnitTests" time="9.728" tests="16" errors="0" skipped="0" failures="0"> - <properties> - <property name="java.vm.info" value="mixed mode"/> - <property name="file.encoding.pkg" value="sun.io"/> - <property name="file.encoding" value="UTF-8"/> - <property name="java.specification.name" value="Java Platform API Specification"/> - <property name="sun.os.patch.level" value="unknown"/> - <property name="user.dir" value="/Users/majid.mallis/dev/docusign-java-client"/> - <property name="line.separator" value=" "/> - <property name="java.home" value="/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/jre"/> - <property name="user.name" value="majid.mallis"/> - <property name="sun.boot.library.path" value="/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/jre/lib"/> - <property name="user.home" value="/Users/majid.mallis"/> - <property name="localRepository" value="/Users/majid.mallis/.m2/repository"/> - <property name="sun.java.launcher" value="SUN_STANDARD"/> - <property name="java.class.version" value="51.0"/> - <property name="user.language" value="en"/> - <property name="java.vendor.url.bug" value="http://bugreport.sun.com/bugreport/"/> - <property name="sun.jnu.encoding" value="UTF-8"/> - <property name="java.io.tmpdir" value="/var/folders/mt/_48yycpn37933hslwqwzxkzcl98j3v/T/"/> - <property name="java.specification.vendor" value="Oracle Corporation"/> - <property name="file.separator" value="/"/> - <property name="java.class.path" value="/Users/majid.mallis/dev/docusign-java-client/target/test-classes:/Users/majid.mallis/dev/docusign-java-client/target/classes:/Users/majid.mallis/.m2/repository/io/swagger/swagger-annotations/1.5.8/swagger-annotations-1.5.8.jar:/Users/majid.mallis/.m2/repository/com/sun/jersey/jersey-client/1.19.1/jersey-client-1.19.1.jar:/Users/majid.mallis/.m2/repository/com/sun/jersey/jersey-core/1.19.1/jersey-core-1.19.1.jar:/Users/majid.mallis/.m2/repository/javax/ws/rs/jsr311-api/1.1.1/jsr311-api-1.1.1.jar:/Users/majid.mallis/.m2/repository/com/sun/jersey/contribs/jersey-multipart/1.19.1/jersey-multipart-1.19.1.jar:/Users/majid.mallis/.m2/repository/org/jvnet/mimepull/mimepull/1.9.3/mimepull-1.9.3.jar:/Users/majid.mallis/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.9.9/jackson-core-2.9.9.jar:/Users/majid.mallis/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.9.9/jackson-annotations-2.9.9.jar:/Users/majid.mallis/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.9.9/jackson-databind-2.9.9.jar:/Users/majid.mallis/.m2/repository/com/fasterxml/jackson/jaxrs/jackson-jaxrs-json-provider/2.9.9/jackson-jaxrs-json-provider-2.9.9.jar:/Users/majid.mallis/.m2/repository/com/fasterxml/jackson/jaxrs/jackson-jaxrs-base/2.9.9/jackson-jaxrs-base-2.9.9.jar:/Users/majid.mallis/.m2/repository/com/fasterxml/jackson/module/jackson-module-jaxb-annotations/2.9.9/jackson-module-jaxb-annotations-2.9.9.jar:/Users/majid.mallis/.m2/repository/com/fasterxml/jackson/dataformat/jackson-dataformat-csv/2.9.9/jackson-dataformat-csv-2.9.9.jar:/Users/majid.mallis/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-joda/2.1.5/jackson-datatype-joda-2.1.5.jar:/Users/majid.mallis/.m2/repository/joda-time/joda-time/2.9.3/joda-time-2.9.3.jar:/Users/majid.mallis/.m2/repository/org/apache/oltu/oauth2/org.apache.oltu.oauth2.client/1.0.2/org.apache.oltu.oauth2.client-1.0.2.jar:/Users/majid.mallis/.m2/repository/org/apache/oltu/oauth2/org.apache.oltu.oauth2.common/1.0.2/org.apache.oltu.oauth2.common-1.0.2.jar:/Users/majid.mallis/.m2/repository/org/json/json/20140107/json-20140107.jar:/Users/majid.mallis/.m2/repository/org/slf4j/slf4j-api/1.7.7/slf4j-api-1.7.7.jar:/Users/majid.mallis/.m2/repository/com/auth0/java-jwt/3.4.1/java-jwt-3.4.1.jar:/Users/majid.mallis/.m2/repository/commons-codec/commons-codec/1.11/commons-codec-1.11.jar:/Users/majid.mallis/.m2/repository/org/bouncycastle/bcprov-jdk15on/1.60/bcprov-jdk15on-1.60.jar:/Users/majid.mallis/.m2/repository/com/brsanthu/migbase64/2.2/migbase64-2.2.jar:/Users/majid.mallis/.m2/repository/junit/junit/4.12/junit-4.12.jar:/Users/majid.mallis/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:"/> - <property name="java.vm.vendor" value="Oracle Corporation"/> - <property name="sun.cpu.endian" value="little"/> - <property name="ftp.nonProxyHosts" value="local|*.local|169.254/16|*.169.254/16"/> - <property name="java.vm.specification.vendor" value="Oracle Corporation"/> - <property name="java.specification.version" value="1.7"/> - <property name="awt.toolkit" value="sun.lwawt.macosx.LWCToolkit"/> - <property name="sun.java.command" value="/Users/majid.mallis/dev/docusign-java-client/target/surefire/surefirebooter3125300834140527126.jar /Users/majid.mallis/dev/docusign-java-client/target/surefire 2019-05-23T11-05-26_111-jvmRun1 surefire4001382374400140714tmp surefire_06275233439676645455tmp"/> - <property name="user.timezone" value="America/Los_Angeles"/> - <property name="surefire.test.class.path" value="/Users/majid.mallis/dev/docusign-java-client/target/test-classes:/Users/majid.mallis/dev/docusign-java-client/target/classes:/Users/majid.mallis/.m2/repository/io/swagger/swagger-annotations/1.5.8/swagger-annotations-1.5.8.jar:/Users/majid.mallis/.m2/repository/com/sun/jersey/jersey-client/1.19.1/jersey-client-1.19.1.jar:/Users/majid.mallis/.m2/repository/com/sun/jersey/jersey-core/1.19.1/jersey-core-1.19.1.jar:/Users/majid.mallis/.m2/repository/javax/ws/rs/jsr311-api/1.1.1/jsr311-api-1.1.1.jar:/Users/majid.mallis/.m2/repository/com/sun/jersey/contribs/jersey-multipart/1.19.1/jersey-multipart-1.19.1.jar:/Users/majid.mallis/.m2/repository/org/jvnet/mimepull/mimepull/1.9.3/mimepull-1.9.3.jar:/Users/majid.mallis/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.9.9/jackson-core-2.9.9.jar:/Users/majid.mallis/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.9.9/jackson-annotations-2.9.9.jar:/Users/majid.mallis/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.9.9/jackson-databind-2.9.9.jar:/Users/majid.mallis/.m2/repository/com/fasterxml/jackson/jaxrs/jackson-jaxrs-json-provider/2.9.9/jackson-jaxrs-json-provider-2.9.9.jar:/Users/majid.mallis/.m2/repository/com/fasterxml/jackson/jaxrs/jackson-jaxrs-base/2.9.9/jackson-jaxrs-base-2.9.9.jar:/Users/majid.mallis/.m2/repository/com/fasterxml/jackson/module/jackson-module-jaxb-annotations/2.9.9/jackson-module-jaxb-annotations-2.9.9.jar:/Users/majid.mallis/.m2/repository/com/fasterxml/jackson/dataformat/jackson-dataformat-csv/2.9.9/jackson-dataformat-csv-2.9.9.jar:/Users/majid.mallis/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-joda/2.1.5/jackson-datatype-joda-2.1.5.jar:/Users/majid.mallis/.m2/repository/joda-time/joda-time/2.9.3/joda-time-2.9.3.jar:/Users/majid.mallis/.m2/repository/org/apache/oltu/oauth2/org.apache.oltu.oauth2.client/1.0.2/org.apache.oltu.oauth2.client-1.0.2.jar:/Users/majid.mallis/.m2/repository/org/apache/oltu/oauth2/org.apache.oltu.oauth2.common/1.0.2/org.apache.oltu.oauth2.common-1.0.2.jar:/Users/majid.mallis/.m2/repository/org/json/json/20140107/json-20140107.jar:/Users/majid.mallis/.m2/repository/org/slf4j/slf4j-api/1.7.7/slf4j-api-1.7.7.jar:/Users/majid.mallis/.m2/repository/com/auth0/java-jwt/3.4.1/java-jwt-3.4.1.jar:/Users/majid.mallis/.m2/repository/commons-codec/commons-codec/1.11/commons-codec-1.11.jar:/Users/majid.mallis/.m2/repository/org/bouncycastle/bcprov-jdk15on/1.60/bcprov-jdk15on-1.60.jar:/Users/majid.mallis/.m2/repository/com/brsanthu/migbase64/2.2/migbase64-2.2.jar:/Users/majid.mallis/.m2/repository/junit/junit/4.12/junit-4.12.jar:/Users/majid.mallis/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:"/> - <property name="java.runtime.version" value="1.7.0_79-b15"/> - <property name="https.protocols" value="TLSv1.2"/> - <property name="java.vendor" value="Oracle Corporation"/> - <property name="http.nonProxyHosts" value="local|*.local|169.254/16|*.169.254/16"/> - <property name="sun.management.compiler" value="HotSpot 64-Bit Tiered Compilers"/> - <property name="sun.arch.data.model" value="64"/> - <property name="os.arch" value="x86_64"/> - <property name="sun.io.unicode.encoding" value="UnicodeBig"/> - <property name="java.awt.printerjob" value="sun.lwawt.macosx.CPrinterJob"/> - <property name="path.separator" value=":"/> - <property name="java.runtime.name" value="Java(TM) SE Runtime Environment"/> - <property name="java.vendor.url" value="http://java.oracle.com/"/> - <property name="sun.boot.class.path" value="/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/jre/lib/resources.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/jre/lib/rt.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/jre/lib/sunrsasign.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/jre/lib/jsse.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/jre/lib/jce.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/jre/lib/jfr.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/jre/classes"/> - <property name="surefire.real.class.path" value="/Users/majid.mallis/dev/docusign-java-client/target/surefire/surefirebooter3125300834140527126.jar"/> - <property name="java.endorsed.dirs" value="/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/jre/lib/endorsed"/> - <property name="socksNonProxyHosts" value="local|*.local|169.254/16|*.169.254/16"/> - <property name="gopherProxySet" value="false"/> - <property name="loggerPath" value="conf/log4j.properties"/> - <property name="java.vm.version" value="24.79-b02"/> - <property name="os.name" value="Mac OS X"/> - <property name="java.vm.specification.version" value="1.7"/> - <property name="sun.cpu.isalist" value=""/> - <property name="java.version" value="1.7.0_79"/> - <property name="java.vm.specification.name" value="Java Virtual Machine Specification"/> - <property name="java.ext.dirs" value="/Users/majid.mallis/Library/Java/Extensions:/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/jre/lib/ext:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java"/> - <property name="os.version" value="10.13.6"/> - <property name="basedir" value="/Users/majid.mallis/dev/docusign-java-client"/> - <property name="java.library.path" value="/Users/majid.mallis/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:."/> - <property name="java.awt.graphicsenv" value="sun.awt.CGraphicsEnvironment"/> - <property name="java.vm.name" value="Java HotSpot(TM) 64-Bit Server VM"/> - <property name="user.country" value="US"/> - </properties> - <testcase name="CreateTemplateTest" classname="SdkUnitTests" time="7.371"/> - <testcase name="UpdateBrandLogoByTypeTest" classname="SdkUnitTests" time="6.708"/> - <testcase name="UpdateBulkRecipientsTest" classname="SdkUnitTests" time="8.64"/> - <testcase name="ResendEnvelopeTest" classname="SdkUnitTests" time="8.909"/> - <testcase name="RequestSignatureFromTemplate" classname="SdkUnitTests" time="8.379"/> - <testcase name="RequestASignatureTest" classname="SdkUnitTests" time="8.569"/> - <testcase name="ListStatusTest" classname="SdkUnitTests" time="6.869"/> - <testcase name="ListStatusChangesTest" classname="SdkUnitTests" time="6.832"/> - <testcase name="AuthorizationCodeLoginTest" classname="SdkUnitTests" time="5.172"/> - <testcase name="ListDocumentsTest" classname="SdkUnitTests" time="6.658"/> - <testcase name="GetDiagnosticLogsTest" classname="SdkUnitTests" time="8.891"/> - <testcase name="UpdateChunkedUpload" classname="SdkUnitTests" time="9.727"/> - <testcase name="JWTLoginTest" classname="SdkUnitTests" time="6.463"/> - <testcase name="EmbeddedSigningTest" classname="SdkUnitTests" time="8.528"/> - <testcase name="DownLoadEnvelopeDocumentsTest" classname="SdkUnitTests" time="9.25"/> - <testcase name="ImplicitLoginTest" classname="SdkUnitTests" time="5.178"/> -</testsuite> \ No newline at end of file diff --git a/target/test-classes/SdkUnitTests.class b/target/test-classes/SdkUnitTests.class deleted file mode 100644 index 92f057ed..00000000 Binary files a/target/test-classes/SdkUnitTests.class and /dev/null differ