├── .swagger-codegen └── VERSION ├── settings.gradle ├── src ├── test │ ├── docs │ │ ├── DS.png │ │ ├── SignTest1.docx │ │ ├── SignTest1.pdf │ │ └── WordDocTest.docx │ ├── manifest.mf │ ├── nbproject │ │ ├── genfiles.properties │ │ └── project.xml │ └── dist │ │ └── README.TXT └── main │ ├── AndroidManifest.xml │ └── java │ └── com │ └── docusign │ └── esign │ ├── client │ ├── auth │ │ ├── OAuthFlow.java │ │ ├── AccessTokenListener.java │ │ ├── Authentication.java │ │ ├── HttpBasicAuth.java │ │ └── ApiKeyAuth.java │ ├── RFC3339DateFormat.java │ ├── Configuration.java │ ├── Pair.java │ ├── ApiResponse.java │ ├── StringUtil.java │ └── JSON.java │ └── model │ ├── DisplayApplianceInfo.java │ ├── DisplayAppliancePdf.java │ ├── DisplayApplianceSignerAttachment.java │ ├── ConnectDeleteFailureResult.java │ ├── UpdateTransactionResponse.java │ ├── ProofServiceViewLink.java │ ├── EnvelopeFormDataPrefillFormData.java │ ├── ViewLinkRequest.java │ ├── PageSize.java │ ├── SignatureProperties.java │ ├── ViewUrl.java │ ├── ReportInProductSaveResponse.java │ ├── Sender.java │ ├── IdEvidenceViewLink.java │ ├── IdCheckSecurityStep.java │ ├── BulkSendBatchRequest.java │ ├── ReportInProductList.java │ ├── BulkRecipientsUpdateResponse.java │ ├── PaymentSignerValues.java │ ├── PostTransactionsResponse.java │ ├── BrandRequest.java │ ├── RecipientRouting.java │ ├── SocialAuthentication.java │ ├── WorkspaceSettings.java │ ├── Seal.java │ ├── UserInfoList.java │ ├── TabMetadataList.java │ ├── AccountSeals.java │ ├── BillingPaymentRequest.java │ ├── BulkRecipientsRequest.java │ ├── SigningGroupUsers.java │ ├── FileTypeList.java │ ├── CreditCardTypes.java │ ├── BrandsRequest.java │ ├── NewUsersDefinition.java │ ├── PowerFormsRequest.java │ ├── ResourceInformation.java │ ├── NewUsersSummary.java │ ├── TemplateInformation.java │ ├── EnvelopeAuditEvent.java │ ├── WorkspaceItemList.java │ ├── AccountPasswordLockoutDurationType.java │ ├── Province.java │ ├── SupportedLanguages.java │ ├── ConnectFailureResults.java │ ├── ReservedDomainExistence.java │ ├── ContactUpdateResponse.java │ ├── UpdateTransactionRequest.java │ ├── SigningGroupInformation.java │ ├── DocumentHtmlDefinitions.java │ ├── EnvelopeAttachmentsRequest.java │ ├── RecipientSAMLAuthentication.java │ ├── ContactModRequest.java │ ├── BulkProcessingLists.java │ ├── EnvelopeAttachmentsResult.java │ ├── PowerFormsFormDataResponse.java │ ├── AccountPasswordStrengthType.java │ ├── CommentsPublish.java │ ├── SmartContractInformation.java │ ├── CustomSettingsInformation.java │ ├── EnvelopeAuditEventResponse.java │ ├── ProofServiceResourceToken.java │ ├── BillingPlansResponse.java │ ├── SignatureGroupDef.java │ ├── UserSignaturesInformation.java │ ├── BulkRecipientTabLabel.java │ ├── EnvelopeDelayRule.java │ ├── DocumentTemplateList.java │ ├── BulkSendBatchError.java │ └── ApiRequestLogsResult.java ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── .gitignore ├── .travis.yml ├── LICENSE └── .swagger-codegen-ignore /.swagger-codegen/VERSION: -------------------------------------------------------------------------------- 1 | 2.4.21-SNAPSHOT -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = "docusign-esign-java" -------------------------------------------------------------------------------- /src/test/docs/DS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/docusign/docusign-esign-java-client-1/master/src/test/docs/DS.png -------------------------------------------------------------------------------- /src/test/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /src/test/docs/SignTest1.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/docusign/docusign-esign-java-client-1/master/src/test/docs/SignTest1.docx -------------------------------------------------------------------------------- /src/test/docs/SignTest1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/docusign/docusign-esign-java-client-1/master/src/test/docs/SignTest1.pdf -------------------------------------------------------------------------------- /src/test/docs/WordDocTest.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/docusign/docusign-esign-java-client-1/master/src/test/docs/WordDocTest.docx -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/docusign/docusign-esign-java-client-1/master/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/client/auth/OAuthFlow.java: -------------------------------------------------------------------------------- 1 | 2 | 3 | package com.docusign.esign.client.auth; 4 | 5 | /** 6 | * enum. 7 | * 8 | */ 9 | 10 | public enum OAuthFlow { 11 | accessCode, implicit, password, application 12 | } 13 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/client/auth/AccessTokenListener.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.client.auth; 2 | 3 | import org.apache.oltu.oauth2.common.token.BasicOAuthToken; 4 | 5 | public interface AccessTokenListener { 6 | void notify(BasicOAuthToken token); 7 | } 8 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Tue May 17 23:08:05 CST 2016 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.6-bin.zip 7 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Mobile Tools for Java (J2ME) 2 | .mtj.tmp/ 3 | 4 | # Package Files # 5 | *.jar 6 | *.war 7 | *.ear 8 | 9 | # exclude jar for gradle wrapper 10 | !gradle/wrapper/*.jar 11 | 12 | # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml 13 | hs_err_pid* 14 | 15 | # build files 16 | **/target 17 | target 18 | .gradle 19 | build 20 | *.class 21 | .classpath 22 | .settings 23 | .project 24 | 25 | # others 26 | .idea/ 27 | *.iml 28 | .DS_Store -------------------------------------------------------------------------------- /src/test/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=f04d81fd 2 | build.xml.script.CRC32=1b83c451 3 | build.xml.stylesheet.CRC32=8064a381@1.75.2.48 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=f04d81fd 7 | nbproject/build-impl.xml.script.CRC32=dcf6b1d8 8 | nbproject/build-impl.xml.stylesheet.CRC32=876e7a8f@1.75.2.48 9 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/client/auth/Authentication.java: -------------------------------------------------------------------------------- 1 | 2 | 3 | package com.docusign.esign.client.auth; 4 | 5 | import com.docusign.esign.client.Pair; 6 | 7 | import java.util.Map; 8 | import java.util.List; 9 | 10 | public interface Authentication { 11 | /** 12 | * Apply authentication settings to header and query params. 13 | * 14 | * @param queryParams List of query parameters 15 | * @param headerParams Map of header parameters 16 | */ 17 | void applyToParams(List queryParams, Map headerParams); 18 | } 19 | -------------------------------------------------------------------------------- /src/test/nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.java.j2seproject 4 | 5 | 6 | SdkTests 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: required 2 | dist: trusty 3 | install: true 4 | 5 | branches: 6 | only: 7 | - master 8 | 9 | language: java 10 | 11 | notifications: 12 | email: 13 | recipients: 14 | - devcenter@docusign.com 15 | on_success: never 16 | on_failure: change 17 | 18 | jdk: 19 | - oraclejdk11 20 | - oraclejdk12 21 | - oraclejdk13 22 | 23 | script: mvn clean test 24 | 25 | 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" 26 | 27 | cache: 28 | directories: 29 | - $HOME/.m2 -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/client/RFC3339DateFormat.java: -------------------------------------------------------------------------------- 1 | 2 | package com.docusign.esign.client; 3 | 4 | import com.fasterxml.jackson.databind.util.ISO8601DateFormat; 5 | import com.fasterxml.jackson.databind.util.ISO8601Utils; 6 | 7 | import java.text.FieldPosition; 8 | import java.util.Date; 9 | 10 | /** 11 | * RFC3339DateFormat class. 12 | * 13 | **/ 14 | public class RFC3339DateFormat extends ISO8601DateFormat { 15 | 16 | // Same as ISO8601DateFormat but serializing milliseconds. 17 | @Override 18 | public StringBuffer format(Date date, StringBuffer toAppendTo, FieldPosition fieldPosition) { 19 | String value = ISO8601Utils.format(date, true); 20 | toAppendTo.append(value); 21 | return toAppendTo; 22 | } 23 | 24 | } -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/client/Configuration.java: -------------------------------------------------------------------------------- 1 | 2 | 3 | package com.docusign.esign.client; 4 | 5 | 6 | /** 7 | * Configuration class. 8 | * 9 | **/ 10 | public class Configuration { 11 | private static ApiClient defaultApiClient = new ApiClient(); 12 | 13 | /** 14 | * Get the default API client, which would be used when creating API 15 | * instances without providing an API client. 16 | * 17 | * @return Default API client 18 | */ 19 | public static ApiClient getDefaultApiClient() { 20 | return defaultApiClient; 21 | } 22 | 23 | /** 24 | * Set the default API client, which would be used when creating API 25 | * instances without providing an API client. 26 | * 27 | * @param apiClient API client 28 | */ 29 | public static void setDefaultApiClient(ApiClient apiClient) { 30 | defaultApiClient = apiClient; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/DisplayApplianceInfo.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import java.util.Objects; 4 | 5 | /** DisplayApplianceInfo */ 6 | public class DisplayApplianceInfo { 7 | 8 | @Override 9 | public boolean equals(java.lang.Object o) { 10 | if (this == o) { 11 | return true; 12 | } 13 | if (o == null || getClass() != o.getClass()) { 14 | return false; 15 | } 16 | return true; 17 | } 18 | 19 | @Override 20 | public int hashCode() { 21 | return Objects.hash(); 22 | } 23 | 24 | @Override 25 | public String toString() { 26 | StringBuilder sb = new StringBuilder(); 27 | sb.append("class DisplayApplianceInfo {\n"); 28 | 29 | sb.append("}"); 30 | return sb.toString(); 31 | } 32 | 33 | /** 34 | * Convert the given object to string with each line indented by 4 spaces (except the first line). 35 | */ 36 | private String toIndentedString(java.lang.Object o) { 37 | if (o == null) { 38 | return "null"; 39 | } 40 | return o.toString().replace("\n", "\n "); 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/DisplayAppliancePdf.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import java.util.Objects; 4 | 5 | /** DisplayAppliancePdf */ 6 | public class DisplayAppliancePdf { 7 | 8 | @Override 9 | public boolean equals(java.lang.Object o) { 10 | if (this == o) { 11 | return true; 12 | } 13 | if (o == null || getClass() != o.getClass()) { 14 | return false; 15 | } 16 | return true; 17 | } 18 | 19 | @Override 20 | public int hashCode() { 21 | return Objects.hash(); 22 | } 23 | 24 | @Override 25 | public String toString() { 26 | StringBuilder sb = new StringBuilder(); 27 | sb.append("class DisplayAppliancePdf {\n"); 28 | 29 | sb.append("}"); 30 | return sb.toString(); 31 | } 32 | 33 | /** 34 | * Convert the given object to string with each line indented by 4 spaces (except the first line). 35 | */ 36 | private String toIndentedString(java.lang.Object o) { 37 | if (o == null) { 38 | return "null"; 39 | } 40 | return o.toString().replace("\n", "\n "); 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/DisplayApplianceSignerAttachment.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import java.util.Objects; 4 | 5 | /** DisplayApplianceSignerAttachment */ 6 | public class DisplayApplianceSignerAttachment { 7 | 8 | @Override 9 | public boolean equals(java.lang.Object o) { 10 | if (this == o) { 11 | return true; 12 | } 13 | if (o == null || getClass() != o.getClass()) { 14 | return false; 15 | } 16 | return true; 17 | } 18 | 19 | @Override 20 | public int hashCode() { 21 | return Objects.hash(); 22 | } 23 | 24 | @Override 25 | public String toString() { 26 | StringBuilder sb = new StringBuilder(); 27 | sb.append("class DisplayApplianceSignerAttachment {\n"); 28 | 29 | sb.append("}"); 30 | return sb.toString(); 31 | } 32 | 33 | /** 34 | * Convert the given object to string with each line indented by 4 spaces (except the first line). 35 | */ 36 | private String toIndentedString(java.lang.Object o) { 37 | if (o == null) { 38 | return "null"; 39 | } 40 | return o.toString().replace("\n", "\n "); 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License 2 | 3 | Copyright (c) 2016- DocuSign, Inc. (https://www.docusign.com) 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /.swagger-codegen-ignore: -------------------------------------------------------------------------------- 1 | # Swagger Codegen Ignore 2 | 3 | # Use this file to prevent files from being overwritten by the generator. 4 | # The patterns follow closely to .gitignore or .dockerignore. 5 | 6 | # As an example, the C# client generator defines ApiClient.cs. 7 | # You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line: 8 | #ApiClient.cs 9 | 10 | # You can match any string of characters against a directory, file or extension with a single asterisk (*): 11 | #foo/*/qux 12 | # The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux 13 | 14 | # You can recursively match patterns against a directory, file or extension with a double asterisk (**): 15 | #foo/**/qux 16 | # This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux 17 | 18 | # You can also negate patterns with an exclamation (!). 19 | # For example, you can ignore all files in a docs folder with the file extension .md: 20 | #docs/*.md 21 | # Then explicitly reverse the ignore rule for a single file: 22 | #!docs/README.md 23 | 24 | # Swagger and Git files 25 | .swagger-codegen-ignore 26 | git_push.sh 27 | 28 | # Project files 29 | LICENSE 30 | gradle* 31 | build.sbt 32 | .travis.yml 33 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/ConnectDeleteFailureResult.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import java.util.Objects; 4 | import java.util.Arrays; 5 | 6 | /** 7 | * ConnectDeleteFailureResult. 8 | * 9 | */ 10 | 11 | public class ConnectDeleteFailureResult { 12 | 13 | /** 14 | * Compares objects. 15 | * 16 | * @return true or false depending on comparison result. 17 | */ 18 | @Override 19 | public boolean equals(java.lang.Object o) { 20 | if (this == o) { 21 | return true; 22 | } 23 | if (o == null || getClass() != o.getClass()) { 24 | return false; 25 | } 26 | return true; 27 | } 28 | 29 | /** 30 | * Returns the HashCode. 31 | */ 32 | @Override 33 | public int hashCode() { 34 | return Objects.hash(); 35 | } 36 | 37 | 38 | /** 39 | * Converts the given object to string. 40 | */ 41 | @Override 42 | public String toString() { 43 | StringBuilder sb = new StringBuilder(); 44 | sb.append("class ConnectDeleteFailureResult {\n"); 45 | 46 | sb.append("}"); 47 | return sb.toString(); 48 | } 49 | 50 | /** 51 | * Convert the given object to string with each line indented by 4 spaces 52 | * (except the first line). 53 | */ 54 | private String toIndentedString(java.lang.Object o) { 55 | if (o == null) { 56 | return "null"; 57 | } 58 | return o.toString().replace("\n", "\n "); 59 | } 60 | 61 | } 62 | 63 | -------------------------------------------------------------------------------- /src/test/dist/README.TXT: -------------------------------------------------------------------------------- 1 | ======================== 2 | BUILD OUTPUT DESCRIPTION 3 | ======================== 4 | 5 | When you build an Java application project that has a main class, the IDE 6 | automatically copies all of the JAR 7 | files on the projects classpath to your projects dist/lib folder. The IDE 8 | also adds each of the JAR files to the Class-Path element in the application 9 | JAR files manifest file (MANIFEST.MF). 10 | 11 | To run the project from the command line, go to the dist folder and 12 | type the following: 13 | 14 | java -jar "SdkTests.jar" 15 | 16 | To distribute this project, zip up the dist folder (including the lib folder) 17 | and distribute the ZIP file. 18 | 19 | Notes: 20 | 21 | * If two JAR files on the project classpath have the same name, only the first 22 | JAR file is copied to the lib folder. 23 | * Only JAR files are copied to the lib folder. 24 | If the classpath contains other types of files or folders, these files (folders) 25 | are not copied. 26 | * If a library on the projects classpath also has a Class-Path element 27 | specified in the manifest,the content of the Class-Path element has to be on 28 | the projects runtime path. 29 | * To set a main class in a standard Java project, right-click the project node 30 | in the Projects window and choose Properties. Then click Run and enter the 31 | class name in the Main Class field. Alternatively, you can manually type the 32 | class name in the manifest Main-Class element. 33 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/client/Pair.java: -------------------------------------------------------------------------------- 1 | 2 | 3 | package com.docusign.esign.client; 4 | 5 | 6 | 7 | /** 8 | * Pair class. 9 | */ 10 | public class Pair { 11 | private String name = ""; 12 | private String value = ""; 13 | 14 | /** 15 | * Pair constructor. 16 | * 17 | * @param name The pair name 18 | * @param value The pair value 19 | */ 20 | public Pair (String name, String value) { 21 | setName(name); 22 | setValue(value); 23 | } 24 | 25 | private void setName(String name) { 26 | if (!isValidString(name)) { 27 | return; 28 | } 29 | 30 | this.name = name; 31 | } 32 | 33 | private void setValue(String value) { 34 | if (!isValidString(value)) { 35 | return; 36 | } 37 | 38 | this.value = value; 39 | } 40 | 41 | /** 42 | * getName method. 43 | * 44 | * @return String 45 | */ 46 | public String getName() { 47 | return this.name; 48 | } 49 | 50 | /** 51 | * getValue method. 52 | * 53 | * @return String 54 | */ 55 | public String getValue() { 56 | return this.value; 57 | } 58 | 59 | private boolean isValidString(String arg) { 60 | if (arg == null) { 61 | return false; 62 | } 63 | 64 | if (arg.trim().isEmpty()) { 65 | return false; 66 | } 67 | 68 | return true; 69 | } 70 | } 71 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/client/ApiResponse.java: -------------------------------------------------------------------------------- 1 | 2 | 3 | package com.docusign.esign.client; 4 | 5 | import java.util.List; 6 | import java.util.Map; 7 | 8 | /** 9 | * API response returned by API call. 10 | * 11 | * @param The type of data that is deserialized from response body 12 | */ 13 | public class ApiResponse { 14 | private final int statusCode; 15 | private final Map> headers; 16 | private final T data; 17 | 18 | /** 19 | * ApiResponse method. 20 | * 21 | * @param statusCode The status code of HTTP response 22 | * @param headers The headers of HTTP response 23 | */ 24 | public ApiResponse(int statusCode, Map> headers) { 25 | this(statusCode, headers, null); 26 | } 27 | 28 | /** 29 | * ApiResponse method. 30 | * 31 | * @param statusCode The status code of HTTP response 32 | * @param headers The headers of HTTP response 33 | * @param data The object deserialized from response bod 34 | */ 35 | public ApiResponse(int statusCode, Map> headers, T data) { 36 | this.statusCode = statusCode; 37 | this.headers = headers; 38 | this.data = data; 39 | } 40 | 41 | public int getStatusCode() { 42 | return statusCode; 43 | } 44 | 45 | public Map> getHeaders() { 46 | return headers; 47 | } 48 | 49 | public T getData() { 50 | return data; 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/client/StringUtil.java: -------------------------------------------------------------------------------- 1 | 2 | 3 | package com.docusign.esign.client; 4 | 5 | 6 | /** 7 | * StringUtil class. 8 | * 9 | **/ 10 | public class StringUtil { 11 | /** 12 | * Check if the given array contains the given value (with case-insensitive comparison). 13 | * 14 | * @param array The array 15 | * @param value The value to search 16 | * @return true if the array contains the value 17 | */ 18 | public static boolean containsIgnoreCase(String[] array, String value) { 19 | for (String str : array) { 20 | if (value == null && str == null) { 21 | return true; 22 | } 23 | 24 | if (value != null && value.equalsIgnoreCase(str)) { 25 | return true; 26 | } 27 | } 28 | return false; 29 | } 30 | 31 | /** 32 | * Join an array of strings with the given separator. 33 | *

34 | * Note: This might be replaced by utility method from commons-lang or guava someday 35 | * if one of those libraries is added as dependency. 36 | *

37 | * 38 | * @param array The array of strings 39 | * @param separator The separator 40 | * @return the resulting string 41 | */ 42 | public static String join(String[] array, String separator) { 43 | int len = array.length; 44 | if (len == 0) { 45 | return ""; 46 | } 47 | 48 | StringBuilder out = new StringBuilder(); 49 | out.append(array[0]); 50 | for (int i = 1; i < len; i++) { 51 | out.append(separator).append(array[i]); 52 | } 53 | return out.toString(); 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/client/auth/HttpBasicAuth.java: -------------------------------------------------------------------------------- 1 | 2 | 3 | package com.docusign.esign.client.auth; 4 | 5 | import com.docusign.esign.client.Pair; 6 | 7 | import java.util.Base64; 8 | import java.nio.charset.StandardCharsets; 9 | 10 | import java.util.Map; 11 | import java.util.List; 12 | 13 | 14 | 15 | 16 | /** 17 | * HttpBasicAuth class. 18 | * 19 | */ 20 | public class HttpBasicAuth implements Authentication { 21 | private String username; 22 | private String password; 23 | 24 | /** 25 | * getUsername method. 26 | * 27 | * @return String 28 | */ 29 | public String getUsername() { 30 | return username; 31 | } 32 | 33 | /** 34 | * setUsername method. 35 | * 36 | * @param username Sets username 37 | */ 38 | public void setUsername(String username) { 39 | this.username = username; 40 | } 41 | 42 | /** 43 | * getPassword method. 44 | * 45 | * @return String 46 | */ 47 | public String getPassword() { 48 | return password; 49 | } 50 | 51 | /** 52 | * setPassword method. 53 | * 54 | * @param password Sets password 55 | */ 56 | public void setPassword(String password) { 57 | this.password = password; 58 | } 59 | 60 | /** 61 | * applyToParams method. 62 | * 63 | * @param queryParams The query params 64 | * @param headerParams The header params 65 | */ 66 | @Override 67 | public void applyToParams(List queryParams, Map headerParams) { 68 | if (username == null && password == null) { 69 | return; 70 | } 71 | String str = (username == null ? "" : username) + ":" + (password == null ? "" : password); 72 | headerParams.put("Authorization", "Basic " + Base64.getEncoder().encodeToString(str.getBytes(StandardCharsets.UTF_8))); 73 | } 74 | } 75 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/client/JSON.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.client; 2 | 3 | import com.fasterxml.jackson.annotation.*; 4 | import com.fasterxml.jackson.databind.*; 5 | 6 | import java.text.DateFormat; 7 | 8 | import javax.ws.rs.ext.ContextResolver; 9 | 10 | 11 | 12 | /** 13 | * JSON Class. 14 | * 15 | **/ 16 | 17 | public class JSON implements ContextResolver { 18 | private ObjectMapper mapper; 19 | 20 | /** 21 | * JSON Class constructor doc. 22 | * 23 | **/ 24 | public JSON() { 25 | mapper = new ObjectMapper(); 26 | mapper.setSerializationInclusion(JsonInclude.Include.NON_NULL); 27 | mapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false); 28 | mapper.configure(DeserializationFeature.FAIL_ON_INVALID_SUBTYPE, false); 29 | mapper.disable(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS); 30 | mapper.enable(SerializationFeature.WRITE_ENUMS_USING_TO_STRING); 31 | mapper.enable(DeserializationFeature.READ_ENUMS_USING_TO_STRING); 32 | mapper.setDateFormat(new RFC3339DateFormat()); 33 | } 34 | 35 | /** 36 | * Returns the current object mapper used for JSON serialization/deserialization. 37 | *

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

41 | * @return Object mapper 42 | */ 43 | public ObjectMapper getObjectMapper() { 44 | return mapper; 45 | } 46 | 47 | public JSON setObjectMapper(ObjectMapper mapper) { 48 | this.mapper = mapper; 49 | return this; 50 | } 51 | 52 | /** 53 | * Set the date format for JSON (de)serialization with Date properties. 54 | * @param dateFormat Date format 55 | */ 56 | public void setDateFormat(DateFormat dateFormat) { 57 | mapper.setDateFormat(dateFormat); 58 | } 59 | 60 | @Override 61 | public ObjectMapper getContext(Class type) { 62 | return mapper; 63 | } 64 | } 65 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/UpdateTransactionResponse.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import com.fasterxml.jackson.annotation.JsonProperty; 4 | import io.swagger.annotations.ApiModelProperty; 5 | import java.util.Objects; 6 | 7 | /** UpdateTransactionResponse */ 8 | public class UpdateTransactionResponse { 9 | @JsonProperty("redirectionUrl") 10 | private String redirectionUrl = null; 11 | 12 | public UpdateTransactionResponse redirectionUrl(String redirectionUrl) { 13 | this.redirectionUrl = redirectionUrl; 14 | return this; 15 | } 16 | 17 | /** @return redirectionUrl */ 18 | @ApiModelProperty(value = "") 19 | public String getRedirectionUrl() { 20 | return redirectionUrl; 21 | } 22 | 23 | public void setRedirectionUrl(String redirectionUrl) { 24 | this.redirectionUrl = redirectionUrl; 25 | } 26 | 27 | @Override 28 | public boolean equals(java.lang.Object o) { 29 | if (this == o) { 30 | return true; 31 | } 32 | if (o == null || getClass() != o.getClass()) { 33 | return false; 34 | } 35 | UpdateTransactionResponse updateTransactionResponse = (UpdateTransactionResponse) o; 36 | return Objects.equals(this.redirectionUrl, updateTransactionResponse.redirectionUrl); 37 | } 38 | 39 | @Override 40 | public int hashCode() { 41 | return Objects.hash(redirectionUrl); 42 | } 43 | 44 | @Override 45 | public String toString() { 46 | StringBuilder sb = new StringBuilder(); 47 | sb.append("class UpdateTransactionResponse {\n"); 48 | 49 | sb.append(" redirectionUrl: ").append(toIndentedString(redirectionUrl)).append("\n"); 50 | sb.append("}"); 51 | return sb.toString(); 52 | } 53 | 54 | /** 55 | * Convert the given object to string with each line indented by 4 spaces (except the first line). 56 | */ 57 | private String toIndentedString(java.lang.Object o) { 58 | if (o == null) { 59 | return "null"; 60 | } 61 | return o.toString().replace("\n", "\n "); 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/ProofServiceViewLink.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import com.fasterxml.jackson.annotation.JsonProperty; 4 | import io.swagger.annotations.ApiModelProperty; 5 | import java.util.Objects; 6 | 7 | /** ProofServiceViewLink. */ 8 | public class ProofServiceViewLink { 9 | @JsonProperty("ViewLink") 10 | private String viewLink = null; 11 | 12 | /** 13 | * viewLink. 14 | * 15 | * @return ProofServiceViewLink 16 | */ 17 | public ProofServiceViewLink viewLink(String viewLink) { 18 | this.viewLink = viewLink; 19 | return this; 20 | } 21 | 22 | /** 23 | * . 24 | * 25 | * @return viewLink 26 | */ 27 | @ApiModelProperty(value = "") 28 | public String getViewLink() { 29 | return viewLink; 30 | } 31 | 32 | /** setViewLink. */ 33 | public void setViewLink(String viewLink) { 34 | this.viewLink = viewLink; 35 | } 36 | 37 | /** 38 | * Compares objects. 39 | * 40 | * @return true or false depending on comparison result. 41 | */ 42 | @Override 43 | public boolean equals(java.lang.Object o) { 44 | if (this == o) { 45 | return true; 46 | } 47 | if (o == null || getClass() != o.getClass()) { 48 | return false; 49 | } 50 | ProofServiceViewLink proofServiceViewLink = (ProofServiceViewLink) o; 51 | return Objects.equals(this.viewLink, proofServiceViewLink.viewLink); 52 | } 53 | 54 | /** Returns the HashCode. */ 55 | @Override 56 | public int hashCode() { 57 | return Objects.hash(viewLink); 58 | } 59 | 60 | /** Converts the given object to string. */ 61 | @Override 62 | public String toString() { 63 | StringBuilder sb = new StringBuilder(); 64 | sb.append("class ProofServiceViewLink {\n"); 65 | 66 | sb.append(" viewLink: ").append(toIndentedString(viewLink)).append("\n"); 67 | sb.append("}"); 68 | return sb.toString(); 69 | } 70 | 71 | /** 72 | * Convert the given object to string with each line indented by 4 spaces (except the first line). 73 | */ 74 | private String toIndentedString(java.lang.Object o) { 75 | if (o == null) { 76 | return "null"; 77 | } 78 | return o.toString().replace("\n", "\n "); 79 | } 80 | } 81 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/EnvelopeFormDataPrefillFormData.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import com.fasterxml.jackson.annotation.JsonProperty; 4 | import io.swagger.annotations.ApiModelProperty; 5 | import java.util.Objects; 6 | 7 | /** EnvelopeFormDataPrefillFormData */ 8 | public class EnvelopeFormDataPrefillFormData { 9 | @JsonProperty("formData") 10 | private java.util.List formData = null; 11 | 12 | public EnvelopeFormDataPrefillFormData formData(java.util.List formData) { 13 | this.formData = formData; 14 | return this; 15 | } 16 | 17 | public EnvelopeFormDataPrefillFormData addFormDataItem(FormDataItem formDataItem) { 18 | if (this.formData == null) { 19 | this.formData = new java.util.ArrayList(); 20 | } 21 | this.formData.add(formDataItem); 22 | return this; 23 | } 24 | 25 | /** @return formData */ 26 | @ApiModelProperty(value = "") 27 | public java.util.List getFormData() { 28 | return formData; 29 | } 30 | 31 | public void setFormData(java.util.List formData) { 32 | this.formData = formData; 33 | } 34 | 35 | @Override 36 | public boolean equals(java.lang.Object o) { 37 | if (this == o) { 38 | return true; 39 | } 40 | if (o == null || getClass() != o.getClass()) { 41 | return false; 42 | } 43 | EnvelopeFormDataPrefillFormData envelopeFormDataPrefillFormData = 44 | (EnvelopeFormDataPrefillFormData) o; 45 | return Objects.equals(this.formData, envelopeFormDataPrefillFormData.formData); 46 | } 47 | 48 | @Override 49 | public int hashCode() { 50 | return Objects.hash(formData); 51 | } 52 | 53 | @Override 54 | public String toString() { 55 | StringBuilder sb = new StringBuilder(); 56 | sb.append("class EnvelopeFormDataPrefillFormData {\n"); 57 | 58 | sb.append(" formData: ").append(toIndentedString(formData)).append("\n"); 59 | sb.append("}"); 60 | return sb.toString(); 61 | } 62 | 63 | /** 64 | * Convert the given object to string with each line indented by 4 spaces (except the first line). 65 | */ 66 | private String toIndentedString(java.lang.Object o) { 67 | if (o == null) { 68 | return "null"; 69 | } 70 | return o.toString().replace("\n", "\n "); 71 | } 72 | } 73 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/ViewLinkRequest.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import com.fasterxml.jackson.annotation.JsonProperty; 4 | import io.swagger.annotations.ApiModelProperty; 5 | import java.util.Objects; 6 | 7 | /** ViewLinkRequest */ 8 | public class ViewLinkRequest { 9 | @JsonProperty("email") 10 | private String email = null; 11 | 12 | @JsonProperty("returnUrl") 13 | private String returnUrl = null; 14 | 15 | public ViewLinkRequest email(String email) { 16 | this.email = email; 17 | return this; 18 | } 19 | 20 | /** @return email */ 21 | @ApiModelProperty(example = "null", value = "") 22 | public String getEmail() { 23 | return email; 24 | } 25 | 26 | public void setEmail(String email) { 27 | this.email = email; 28 | } 29 | 30 | public ViewLinkRequest returnUrl(String returnUrl) { 31 | this.returnUrl = returnUrl; 32 | return this; 33 | } 34 | 35 | /** @return returnUrl */ 36 | @ApiModelProperty(example = "null", value = "") 37 | public String getReturnUrl() { 38 | return returnUrl; 39 | } 40 | 41 | public void setReturnUrl(String returnUrl) { 42 | this.returnUrl = returnUrl; 43 | } 44 | 45 | @Override 46 | public boolean equals(java.lang.Object o) { 47 | if (this == o) { 48 | return true; 49 | } 50 | if (o == null || getClass() != o.getClass()) { 51 | return false; 52 | } 53 | ViewLinkRequest viewLinkRequest = (ViewLinkRequest) o; 54 | return Objects.equals(this.email, viewLinkRequest.email) 55 | && Objects.equals(this.returnUrl, viewLinkRequest.returnUrl); 56 | } 57 | 58 | @Override 59 | public int hashCode() { 60 | return Objects.hash(email, returnUrl); 61 | } 62 | 63 | @Override 64 | public String toString() { 65 | StringBuilder sb = new StringBuilder(); 66 | sb.append("class ViewLinkRequest {\n"); 67 | 68 | sb.append(" email: ").append(toIndentedString(email)).append("\n"); 69 | sb.append(" returnUrl: ").append(toIndentedString(returnUrl)).append("\n"); 70 | sb.append("}"); 71 | return sb.toString(); 72 | } 73 | 74 | /** 75 | * Convert the given object to string with each line indented by 4 spaces (except the first line). 76 | */ 77 | private String toIndentedString(java.lang.Object o) { 78 | if (o == null) { 79 | return "null"; 80 | } 81 | return o.toString().replace("\n", "\n "); 82 | } 83 | } 84 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/PageSize.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import com.fasterxml.jackson.annotation.JsonProperty; 4 | import io.swagger.annotations.ApiModelProperty; 5 | import java.util.Objects; 6 | 7 | /** PageSize */ 8 | public class PageSize { 9 | @JsonProperty("pageHeight") 10 | private String pageHeight = null; 11 | 12 | @JsonProperty("pageWidth") 13 | private String pageWidth = null; 14 | 15 | public PageSize pageHeight(String pageHeight) { 16 | this.pageHeight = pageHeight; 17 | return this; 18 | } 19 | 20 | /** @return pageHeight */ 21 | @ApiModelProperty(example = "null", value = "") 22 | public String getPageHeight() { 23 | return pageHeight; 24 | } 25 | 26 | public void setPageHeight(String pageHeight) { 27 | this.pageHeight = pageHeight; 28 | } 29 | 30 | public PageSize pageWidth(String pageWidth) { 31 | this.pageWidth = pageWidth; 32 | return this; 33 | } 34 | 35 | /** @return pageWidth */ 36 | @ApiModelProperty(example = "null", value = "") 37 | public String getPageWidth() { 38 | return pageWidth; 39 | } 40 | 41 | public void setPageWidth(String pageWidth) { 42 | this.pageWidth = pageWidth; 43 | } 44 | 45 | @Override 46 | public boolean equals(java.lang.Object o) { 47 | if (this == o) { 48 | return true; 49 | } 50 | if (o == null || getClass() != o.getClass()) { 51 | return false; 52 | } 53 | PageSize pageSize = (PageSize) o; 54 | return Objects.equals(this.pageHeight, pageSize.pageHeight) 55 | && Objects.equals(this.pageWidth, pageSize.pageWidth); 56 | } 57 | 58 | @Override 59 | public int hashCode() { 60 | return Objects.hash(pageHeight, pageWidth); 61 | } 62 | 63 | @Override 64 | public String toString() { 65 | StringBuilder sb = new StringBuilder(); 66 | sb.append("class PageSize {\n"); 67 | 68 | sb.append(" pageHeight: ").append(toIndentedString(pageHeight)).append("\n"); 69 | sb.append(" pageWidth: ").append(toIndentedString(pageWidth)).append("\n"); 70 | sb.append("}"); 71 | return sb.toString(); 72 | } 73 | 74 | /** 75 | * Convert the given object to string with each line indented by 4 spaces (except the first line). 76 | */ 77 | private String toIndentedString(java.lang.Object o) { 78 | if (o == null) { 79 | return "null"; 80 | } 81 | return o.toString().replace("\n", "\n "); 82 | } 83 | } 84 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/SignatureProperties.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import com.fasterxml.jackson.annotation.JsonProperty; 4 | import io.swagger.annotations.ApiModelProperty; 5 | import java.util.Objects; 6 | 7 | /** SignatureProperties */ 8 | public class SignatureProperties { 9 | @JsonProperty("filter") 10 | private String filter = null; 11 | 12 | @JsonProperty("subFilter") 13 | private String subFilter = null; 14 | 15 | public SignatureProperties filter(String filter) { 16 | this.filter = filter; 17 | return this; 18 | } 19 | 20 | /** @return filter */ 21 | @ApiModelProperty(value = "") 22 | public String getFilter() { 23 | return filter; 24 | } 25 | 26 | public void setFilter(String filter) { 27 | this.filter = filter; 28 | } 29 | 30 | public SignatureProperties subFilter(String subFilter) { 31 | this.subFilter = subFilter; 32 | return this; 33 | } 34 | 35 | /** @return subFilter */ 36 | @ApiModelProperty(value = "") 37 | public String getSubFilter() { 38 | return subFilter; 39 | } 40 | 41 | public void setSubFilter(String subFilter) { 42 | this.subFilter = subFilter; 43 | } 44 | 45 | @Override 46 | public boolean equals(java.lang.Object o) { 47 | if (this == o) { 48 | return true; 49 | } 50 | if (o == null || getClass() != o.getClass()) { 51 | return false; 52 | } 53 | SignatureProperties signatureProperties = (SignatureProperties) o; 54 | return Objects.equals(this.filter, signatureProperties.filter) 55 | && Objects.equals(this.subFilter, signatureProperties.subFilter); 56 | } 57 | 58 | @Override 59 | public int hashCode() { 60 | return Objects.hash(filter, subFilter); 61 | } 62 | 63 | @Override 64 | public String toString() { 65 | StringBuilder sb = new StringBuilder(); 66 | sb.append("class SignatureProperties {\n"); 67 | 68 | sb.append(" filter: ").append(toIndentedString(filter)).append("\n"); 69 | sb.append(" subFilter: ").append(toIndentedString(subFilter)).append("\n"); 70 | sb.append("}"); 71 | return sb.toString(); 72 | } 73 | 74 | /** 75 | * Convert the given object to string with each line indented by 4 spaces (except the first line). 76 | */ 77 | private String toIndentedString(java.lang.Object o) { 78 | if (o == null) { 79 | return "null"; 80 | } 81 | return o.toString().replace("\n", "\n "); 82 | } 83 | } 84 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/ViewUrl.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import java.util.Objects; 4 | import java.util.Arrays; 5 | import com.fasterxml.jackson.annotation.JsonProperty; 6 | import com.fasterxml.jackson.annotation.JsonCreator; 7 | import com.fasterxml.jackson.annotation.JsonValue; 8 | import io.swagger.annotations.ApiModel; 9 | import io.swagger.annotations.ApiModelProperty; 10 | 11 | /** 12 | * ViewUrl. 13 | * 14 | */ 15 | 16 | public class ViewUrl { 17 | @JsonProperty("url") 18 | private String url = null; 19 | 20 | 21 | /** 22 | * url. 23 | * 24 | * @return ViewUrl 25 | **/ 26 | public ViewUrl url(String url) { 27 | this.url = url; 28 | return this; 29 | } 30 | 31 | /** 32 | * The view URL to be navigated to.. 33 | * @return url 34 | **/ 35 | @ApiModelProperty(value = "The view URL to be navigated to.") 36 | public String getUrl() { 37 | return url; 38 | } 39 | 40 | /** 41 | * setUrl. 42 | **/ 43 | public void setUrl(String url) { 44 | this.url = url; 45 | } 46 | 47 | 48 | /** 49 | * Compares objects. 50 | * 51 | * @return true or false depending on comparison result. 52 | */ 53 | @Override 54 | public boolean equals(java.lang.Object o) { 55 | if (this == o) { 56 | return true; 57 | } 58 | if (o == null || getClass() != o.getClass()) { 59 | return false; 60 | } 61 | ViewUrl viewUrl = (ViewUrl) o; 62 | return Objects.equals(this.url, viewUrl.url); 63 | } 64 | 65 | /** 66 | * Returns the HashCode. 67 | */ 68 | @Override 69 | public int hashCode() { 70 | return Objects.hash(url); 71 | } 72 | 73 | 74 | /** 75 | * Converts the given object to string. 76 | */ 77 | @Override 78 | public String toString() { 79 | StringBuilder sb = new StringBuilder(); 80 | sb.append("class ViewUrl {\n"); 81 | 82 | sb.append(" url: ").append(toIndentedString(url)).append("\n"); 83 | sb.append("}"); 84 | return sb.toString(); 85 | } 86 | 87 | /** 88 | * Convert the given object to string with each line indented by 4 spaces 89 | * (except the first line). 90 | */ 91 | private String toIndentedString(java.lang.Object o) { 92 | if (o == null) { 93 | return "null"; 94 | } 95 | return o.toString().replace("\n", "\n "); 96 | } 97 | 98 | } 99 | 100 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/ReportInProductSaveResponse.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import com.fasterxml.jackson.annotation.JsonProperty; 4 | import io.swagger.annotations.ApiModelProperty; 5 | import java.util.Objects; 6 | 7 | /** ReportInProductSaveResponse. */ 8 | public class ReportInProductSaveResponse { 9 | @JsonProperty("reportCustomizedId") 10 | private String reportCustomizedId = null; 11 | 12 | /** 13 | * reportCustomizedId. 14 | * 15 | * @return ReportInProductSaveResponse 16 | */ 17 | public ReportInProductSaveResponse reportCustomizedId(String reportCustomizedId) { 18 | this.reportCustomizedId = reportCustomizedId; 19 | return this; 20 | } 21 | 22 | /** 23 | * . 24 | * 25 | * @return reportCustomizedId 26 | */ 27 | @ApiModelProperty(value = "") 28 | public String getReportCustomizedId() { 29 | return reportCustomizedId; 30 | } 31 | 32 | /** setReportCustomizedId. */ 33 | public void setReportCustomizedId(String reportCustomizedId) { 34 | this.reportCustomizedId = reportCustomizedId; 35 | } 36 | 37 | /** 38 | * Compares objects. 39 | * 40 | * @return true or false depending on comparison result. 41 | */ 42 | @Override 43 | public boolean equals(java.lang.Object o) { 44 | if (this == o) { 45 | return true; 46 | } 47 | if (o == null || getClass() != o.getClass()) { 48 | return false; 49 | } 50 | ReportInProductSaveResponse reportInProductSaveResponse = (ReportInProductSaveResponse) o; 51 | return Objects.equals(this.reportCustomizedId, reportInProductSaveResponse.reportCustomizedId); 52 | } 53 | 54 | /** Returns the HashCode. */ 55 | @Override 56 | public int hashCode() { 57 | return Objects.hash(reportCustomizedId); 58 | } 59 | 60 | /** Converts the given object to string. */ 61 | @Override 62 | public String toString() { 63 | StringBuilder sb = new StringBuilder(); 64 | sb.append("class ReportInProductSaveResponse {\n"); 65 | 66 | sb.append(" reportCustomizedId: ").append(toIndentedString(reportCustomizedId)).append("\n"); 67 | sb.append("}"); 68 | return sb.toString(); 69 | } 70 | 71 | /** 72 | * Convert the given object to string with each line indented by 4 spaces (except the first line). 73 | */ 74 | private String toIndentedString(java.lang.Object o) { 75 | if (o == null) { 76 | return "null"; 77 | } 78 | return o.toString().replace("\n", "\n "); 79 | } 80 | } 81 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/Sender.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import com.fasterxml.jackson.annotation.JsonProperty; 4 | import io.swagger.annotations.ApiModelProperty; 5 | import java.util.Objects; 6 | 7 | /** Sender */ 8 | public class Sender { 9 | @JsonProperty("accountIdGuid") 10 | private String accountIdGuid = null; 11 | 12 | @JsonProperty("companyName") 13 | private String companyName = null; 14 | 15 | public Sender accountIdGuid(String accountIdGuid) { 16 | this.accountIdGuid = accountIdGuid; 17 | return this; 18 | } 19 | 20 | /** 21 | * The GUID associated with the account ID. 22 | * 23 | * @return accountIdGuid 24 | */ 25 | @ApiModelProperty(value = "The GUID associated with the account ID.") 26 | public String getAccountIdGuid() { 27 | return accountIdGuid; 28 | } 29 | 30 | public void setAccountIdGuid(String accountIdGuid) { 31 | this.accountIdGuid = accountIdGuid; 32 | } 33 | 34 | public Sender companyName(String companyName) { 35 | this.companyName = companyName; 36 | return this; 37 | } 38 | 39 | /** @return companyName */ 40 | @ApiModelProperty(value = "") 41 | public String getCompanyName() { 42 | return companyName; 43 | } 44 | 45 | public void setCompanyName(String companyName) { 46 | this.companyName = companyName; 47 | } 48 | 49 | @Override 50 | public boolean equals(java.lang.Object o) { 51 | if (this == o) { 52 | return true; 53 | } 54 | if (o == null || getClass() != o.getClass()) { 55 | return false; 56 | } 57 | Sender sender = (Sender) o; 58 | return Objects.equals(this.accountIdGuid, sender.accountIdGuid) 59 | && Objects.equals(this.companyName, sender.companyName); 60 | } 61 | 62 | @Override 63 | public int hashCode() { 64 | return Objects.hash(accountIdGuid, companyName); 65 | } 66 | 67 | @Override 68 | public String toString() { 69 | StringBuilder sb = new StringBuilder(); 70 | sb.append("class Sender {\n"); 71 | 72 | sb.append(" accountIdGuid: ").append(toIndentedString(accountIdGuid)).append("\n"); 73 | sb.append(" companyName: ").append(toIndentedString(companyName)).append("\n"); 74 | sb.append("}"); 75 | return sb.toString(); 76 | } 77 | 78 | /** 79 | * Convert the given object to string with each line indented by 4 spaces (except the first line). 80 | */ 81 | private String toIndentedString(java.lang.Object o) { 82 | if (o == null) { 83 | return "null"; 84 | } 85 | return o.toString().replace("\n", "\n "); 86 | } 87 | } 88 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/client/auth/ApiKeyAuth.java: -------------------------------------------------------------------------------- 1 | 2 | 3 | package com.docusign.esign.client.auth; 4 | 5 | import com.docusign.esign.client.Pair; 6 | 7 | import java.util.Map; 8 | import java.util.List; 9 | 10 | 11 | /** 12 | * ApiKeyAuth class. 13 | * 14 | */ 15 | public class ApiKeyAuth implements Authentication { 16 | private final String location; 17 | private final String paramName; 18 | 19 | private String apiKey; 20 | private String apiKeyPrefix; 21 | 22 | /** 23 | * ApiKeyAuth constructor. 24 | * 25 | * @param location Sets location 26 | * @param paramName Sets paramName 27 | */ 28 | public ApiKeyAuth(String location, String paramName) { 29 | this.location = location; 30 | this.paramName = paramName; 31 | } 32 | 33 | /** 34 | * getLocation method. 35 | * 36 | * @return String 37 | */ 38 | public String getLocation() { 39 | return location; 40 | } 41 | 42 | /** 43 | * getParamName method. 44 | * 45 | * @return String 46 | */ 47 | public String getParamName() { 48 | return paramName; 49 | } 50 | 51 | /** 52 | * getApiKey method. 53 | * 54 | * @return String 55 | */ 56 | public String getApiKey() { 57 | return apiKey; 58 | } 59 | 60 | /** 61 | * setApiKey method. 62 | * 63 | * @param apiKey The apiKey 64 | */ 65 | public void setApiKey(String apiKey) { 66 | this.apiKey = apiKey; 67 | } 68 | 69 | /** 70 | * getApiKeyPrefix method. 71 | * 72 | * @return String 73 | */ 74 | public String getApiKeyPrefix() { 75 | return apiKeyPrefix; 76 | } 77 | 78 | /** 79 | * setApiKeyPrefix method. 80 | * 81 | * @param apiKeyPrefix The apiKeyPrefix 82 | */ 83 | public void setApiKeyPrefix(String apiKeyPrefix) { 84 | this.apiKeyPrefix = apiKeyPrefix; 85 | } 86 | 87 | /** 88 | * applyToParams method. 89 | * 90 | * @param queryParams The query params 91 | * @param headerParams The header params 92 | */ 93 | @Override 94 | public void applyToParams(List queryParams, Map headerParams) { 95 | if (apiKey == null) { 96 | return; 97 | } 98 | String value; 99 | if (apiKeyPrefix != null) { 100 | value = apiKeyPrefix + " " + apiKey; 101 | } else { 102 | value = apiKey; 103 | } 104 | if ("query".equals(location)) { 105 | queryParams.add(new Pair(paramName, value)); 106 | } else if ("header".equals(location)) { 107 | headerParams.put(paramName, value); 108 | } 109 | } 110 | } 111 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/IdEvidenceViewLink.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import java.util.Objects; 4 | import java.util.Arrays; 5 | import com.fasterxml.jackson.annotation.JsonProperty; 6 | import com.fasterxml.jackson.annotation.JsonCreator; 7 | import com.fasterxml.jackson.annotation.JsonValue; 8 | import io.swagger.annotations.ApiModel; 9 | import io.swagger.annotations.ApiModelProperty; 10 | 11 | /** 12 | * IdEvidenceViewLink. 13 | * 14 | */ 15 | 16 | public class IdEvidenceViewLink { 17 | @JsonProperty("ViewLink") 18 | private String viewLink = null; 19 | 20 | 21 | /** 22 | * viewLink. 23 | * 24 | * @return IdEvidenceViewLink 25 | **/ 26 | public IdEvidenceViewLink viewLink(String viewLink) { 27 | this.viewLink = viewLink; 28 | return this; 29 | } 30 | 31 | /** 32 | * . 33 | * @return viewLink 34 | **/ 35 | @ApiModelProperty(value = "") 36 | public String getViewLink() { 37 | return viewLink; 38 | } 39 | 40 | /** 41 | * setViewLink. 42 | **/ 43 | public void setViewLink(String viewLink) { 44 | this.viewLink = viewLink; 45 | } 46 | 47 | 48 | /** 49 | * Compares objects. 50 | * 51 | * @return true or false depending on comparison result. 52 | */ 53 | @Override 54 | public boolean equals(java.lang.Object o) { 55 | if (this == o) { 56 | return true; 57 | } 58 | if (o == null || getClass() != o.getClass()) { 59 | return false; 60 | } 61 | IdEvidenceViewLink idEvidenceViewLink = (IdEvidenceViewLink) o; 62 | return Objects.equals(this.viewLink, idEvidenceViewLink.viewLink); 63 | } 64 | 65 | /** 66 | * Returns the HashCode. 67 | */ 68 | @Override 69 | public int hashCode() { 70 | return Objects.hash(viewLink); 71 | } 72 | 73 | 74 | /** 75 | * Converts the given object to string. 76 | */ 77 | @Override 78 | public String toString() { 79 | StringBuilder sb = new StringBuilder(); 80 | sb.append("class IdEvidenceViewLink {\n"); 81 | 82 | sb.append(" viewLink: ").append(toIndentedString(viewLink)).append("\n"); 83 | sb.append("}"); 84 | return sb.toString(); 85 | } 86 | 87 | /** 88 | * Convert the given object to string with each line indented by 4 spaces 89 | * (except the first line). 90 | */ 91 | private String toIndentedString(java.lang.Object o) { 92 | if (o == null) { 93 | return "null"; 94 | } 95 | return o.toString().replace("\n", "\n "); 96 | } 97 | 98 | } 99 | 100 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/IdCheckSecurityStep.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import java.util.Objects; 4 | import java.util.Arrays; 5 | import com.fasterxml.jackson.annotation.JsonProperty; 6 | import com.fasterxml.jackson.annotation.JsonCreator; 7 | import com.fasterxml.jackson.annotation.JsonValue; 8 | import io.swagger.annotations.ApiModel; 9 | import io.swagger.annotations.ApiModelProperty; 10 | 11 | /** 12 | * IdCheckSecurityStep. 13 | * 14 | */ 15 | 16 | public class IdCheckSecurityStep { 17 | @JsonProperty("authType") 18 | private String authType = null; 19 | 20 | 21 | /** 22 | * authType. 23 | * 24 | * @return IdCheckSecurityStep 25 | **/ 26 | public IdCheckSecurityStep authType(String authType) { 27 | this.authType = authType; 28 | return this; 29 | } 30 | 31 | /** 32 | * . 33 | * @return authType 34 | **/ 35 | @ApiModelProperty(value = "") 36 | public String getAuthType() { 37 | return authType; 38 | } 39 | 40 | /** 41 | * setAuthType. 42 | **/ 43 | public void setAuthType(String authType) { 44 | this.authType = authType; 45 | } 46 | 47 | 48 | /** 49 | * Compares objects. 50 | * 51 | * @return true or false depending on comparison result. 52 | */ 53 | @Override 54 | public boolean equals(java.lang.Object o) { 55 | if (this == o) { 56 | return true; 57 | } 58 | if (o == null || getClass() != o.getClass()) { 59 | return false; 60 | } 61 | IdCheckSecurityStep idCheckSecurityStep = (IdCheckSecurityStep) o; 62 | return Objects.equals(this.authType, idCheckSecurityStep.authType); 63 | } 64 | 65 | /** 66 | * Returns the HashCode. 67 | */ 68 | @Override 69 | public int hashCode() { 70 | return Objects.hash(authType); 71 | } 72 | 73 | 74 | /** 75 | * Converts the given object to string. 76 | */ 77 | @Override 78 | public String toString() { 79 | StringBuilder sb = new StringBuilder(); 80 | sb.append("class IdCheckSecurityStep {\n"); 81 | 82 | sb.append(" authType: ").append(toIndentedString(authType)).append("\n"); 83 | sb.append("}"); 84 | return sb.toString(); 85 | } 86 | 87 | /** 88 | * Convert the given object to string with each line indented by 4 spaces 89 | * (except the first line). 90 | */ 91 | private String toIndentedString(java.lang.Object o) { 92 | if (o == null) { 93 | return "null"; 94 | } 95 | return o.toString().replace("\n", "\n "); 96 | } 97 | 98 | } 99 | 100 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/BulkSendBatchRequest.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import java.util.Objects; 4 | import java.util.Arrays; 5 | import com.fasterxml.jackson.annotation.JsonProperty; 6 | import com.fasterxml.jackson.annotation.JsonCreator; 7 | import com.fasterxml.jackson.annotation.JsonValue; 8 | import io.swagger.annotations.ApiModel; 9 | import io.swagger.annotations.ApiModelProperty; 10 | 11 | /** 12 | * BulkSendBatchRequest. 13 | * 14 | */ 15 | 16 | public class BulkSendBatchRequest { 17 | @JsonProperty("batchName") 18 | private String batchName = null; 19 | 20 | 21 | /** 22 | * batchName. 23 | * 24 | * @return BulkSendBatchRequest 25 | **/ 26 | public BulkSendBatchRequest batchName(String batchName) { 27 | this.batchName = batchName; 28 | return this; 29 | } 30 | 31 | /** 32 | * . 33 | * @return batchName 34 | **/ 35 | @ApiModelProperty(value = "") 36 | public String getBatchName() { 37 | return batchName; 38 | } 39 | 40 | /** 41 | * setBatchName. 42 | **/ 43 | public void setBatchName(String batchName) { 44 | this.batchName = batchName; 45 | } 46 | 47 | 48 | /** 49 | * Compares objects. 50 | * 51 | * @return true or false depending on comparison result. 52 | */ 53 | @Override 54 | public boolean equals(java.lang.Object o) { 55 | if (this == o) { 56 | return true; 57 | } 58 | if (o == null || getClass() != o.getClass()) { 59 | return false; 60 | } 61 | BulkSendBatchRequest bulkSendBatchRequest = (BulkSendBatchRequest) o; 62 | return Objects.equals(this.batchName, bulkSendBatchRequest.batchName); 63 | } 64 | 65 | /** 66 | * Returns the HashCode. 67 | */ 68 | @Override 69 | public int hashCode() { 70 | return Objects.hash(batchName); 71 | } 72 | 73 | 74 | /** 75 | * Converts the given object to string. 76 | */ 77 | @Override 78 | public String toString() { 79 | StringBuilder sb = new StringBuilder(); 80 | sb.append("class BulkSendBatchRequest {\n"); 81 | 82 | sb.append(" batchName: ").append(toIndentedString(batchName)).append("\n"); 83 | sb.append("}"); 84 | return sb.toString(); 85 | } 86 | 87 | /** 88 | * Convert the given object to string with each line indented by 4 spaces 89 | * (except the first line). 90 | */ 91 | private String toIndentedString(java.lang.Object o) { 92 | if (o == null) { 93 | return "null"; 94 | } 95 | return o.toString().replace("\n", "\n "); 96 | } 97 | 98 | } 99 | 100 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/ReportInProductList.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import com.fasterxml.jackson.annotation.JsonProperty; 4 | import io.swagger.annotations.ApiModelProperty; 5 | import java.util.Objects; 6 | 7 | /** ReportInProductList. */ 8 | public class ReportInProductList { 9 | @JsonProperty("reports") 10 | private java.util.List reports = null; 11 | 12 | /** 13 | * reports. 14 | * 15 | * @return ReportInProductList 16 | */ 17 | public ReportInProductList reports(java.util.List reports) { 18 | this.reports = reports; 19 | return this; 20 | } 21 | 22 | /** 23 | * addReportsItem. 24 | * 25 | * @return ReportInProductList 26 | */ 27 | public ReportInProductList addReportsItem(ReportInProductListItem reportsItem) { 28 | if (this.reports == null) { 29 | this.reports = new java.util.ArrayList(); 30 | } 31 | this.reports.add(reportsItem); 32 | return this; 33 | } 34 | 35 | /** 36 | * . 37 | * 38 | * @return reports 39 | */ 40 | @ApiModelProperty(value = "") 41 | public java.util.List getReports() { 42 | return reports; 43 | } 44 | 45 | /** setReports. */ 46 | public void setReports(java.util.List reports) { 47 | this.reports = reports; 48 | } 49 | 50 | /** 51 | * Compares objects. 52 | * 53 | * @return true or false depending on comparison result. 54 | */ 55 | @Override 56 | public boolean equals(java.lang.Object o) { 57 | if (this == o) { 58 | return true; 59 | } 60 | if (o == null || getClass() != o.getClass()) { 61 | return false; 62 | } 63 | ReportInProductList reportInProductList = (ReportInProductList) o; 64 | return Objects.equals(this.reports, reportInProductList.reports); 65 | } 66 | 67 | /** Returns the HashCode. */ 68 | @Override 69 | public int hashCode() { 70 | return Objects.hash(reports); 71 | } 72 | 73 | /** Converts the given object to string. */ 74 | @Override 75 | public String toString() { 76 | StringBuilder sb = new StringBuilder(); 77 | sb.append("class ReportInProductList {\n"); 78 | 79 | sb.append(" reports: ").append(toIndentedString(reports)).append("\n"); 80 | sb.append("}"); 81 | return sb.toString(); 82 | } 83 | 84 | /** 85 | * Convert the given object to string with each line indented by 4 spaces (except the first line). 86 | */ 87 | private String toIndentedString(java.lang.Object o) { 88 | if (o == null) { 89 | return "null"; 90 | } 91 | return o.toString().replace("\n", "\n "); 92 | } 93 | } 94 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/BulkRecipientsUpdateResponse.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import java.util.Objects; 4 | import java.util.Arrays; 5 | import com.docusign.esign.model.Signer; 6 | import com.fasterxml.jackson.annotation.JsonProperty; 7 | import com.fasterxml.jackson.annotation.JsonCreator; 8 | import com.fasterxml.jackson.annotation.JsonValue; 9 | import io.swagger.annotations.ApiModel; 10 | import io.swagger.annotations.ApiModelProperty; 11 | 12 | /** 13 | * BulkRecipientsUpdateResponse. 14 | * 15 | */ 16 | 17 | public class BulkRecipientsUpdateResponse { 18 | @JsonProperty("signer") 19 | private Signer signer = null; 20 | 21 | 22 | /** 23 | * signer. 24 | * 25 | * @return BulkRecipientsUpdateResponse 26 | **/ 27 | public BulkRecipientsUpdateResponse signer(Signer signer) { 28 | this.signer = signer; 29 | return this; 30 | } 31 | 32 | /** 33 | * . 34 | * @return signer 35 | **/ 36 | @ApiModelProperty(value = "") 37 | public Signer getSigner() { 38 | return signer; 39 | } 40 | 41 | /** 42 | * setSigner. 43 | **/ 44 | public void setSigner(Signer signer) { 45 | this.signer = signer; 46 | } 47 | 48 | 49 | /** 50 | * Compares objects. 51 | * 52 | * @return true or false depending on comparison result. 53 | */ 54 | @Override 55 | public boolean equals(java.lang.Object o) { 56 | if (this == o) { 57 | return true; 58 | } 59 | if (o == null || getClass() != o.getClass()) { 60 | return false; 61 | } 62 | BulkRecipientsUpdateResponse bulkRecipientsUpdateResponse = (BulkRecipientsUpdateResponse) o; 63 | return Objects.equals(this.signer, bulkRecipientsUpdateResponse.signer); 64 | } 65 | 66 | /** 67 | * Returns the HashCode. 68 | */ 69 | @Override 70 | public int hashCode() { 71 | return Objects.hash(signer); 72 | } 73 | 74 | 75 | /** 76 | * Converts the given object to string. 77 | */ 78 | @Override 79 | public String toString() { 80 | StringBuilder sb = new StringBuilder(); 81 | sb.append("class BulkRecipientsUpdateResponse {\n"); 82 | 83 | sb.append(" signer: ").append(toIndentedString(signer)).append("\n"); 84 | sb.append("}"); 85 | return sb.toString(); 86 | } 87 | 88 | /** 89 | * Convert the given object to string with each line indented by 4 spaces 90 | * (except the first line). 91 | */ 92 | private String toIndentedString(java.lang.Object o) { 93 | if (o == null) { 94 | return "null"; 95 | } 96 | return o.toString().replace("\n", "\n "); 97 | } 98 | 99 | } 100 | 101 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/PaymentSignerValues.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import java.util.Objects; 4 | import java.util.Arrays; 5 | import com.fasterxml.jackson.annotation.JsonProperty; 6 | import com.fasterxml.jackson.annotation.JsonCreator; 7 | import com.fasterxml.jackson.annotation.JsonValue; 8 | import io.swagger.annotations.ApiModel; 9 | import io.swagger.annotations.ApiModelProperty; 10 | 11 | /** 12 | * PaymentSignerValues. 13 | * 14 | */ 15 | 16 | public class PaymentSignerValues { 17 | @JsonProperty("paymentOption") 18 | private String paymentOption = null; 19 | 20 | 21 | /** 22 | * paymentOption. 23 | * 24 | * @return PaymentSignerValues 25 | **/ 26 | public PaymentSignerValues paymentOption(String paymentOption) { 27 | this.paymentOption = paymentOption; 28 | return this; 29 | } 30 | 31 | /** 32 | * . 33 | * @return paymentOption 34 | **/ 35 | @ApiModelProperty(value = "") 36 | public String getPaymentOption() { 37 | return paymentOption; 38 | } 39 | 40 | /** 41 | * setPaymentOption. 42 | **/ 43 | public void setPaymentOption(String paymentOption) { 44 | this.paymentOption = paymentOption; 45 | } 46 | 47 | 48 | /** 49 | * Compares objects. 50 | * 51 | * @return true or false depending on comparison result. 52 | */ 53 | @Override 54 | public boolean equals(java.lang.Object o) { 55 | if (this == o) { 56 | return true; 57 | } 58 | if (o == null || getClass() != o.getClass()) { 59 | return false; 60 | } 61 | PaymentSignerValues paymentSignerValues = (PaymentSignerValues) o; 62 | return Objects.equals(this.paymentOption, paymentSignerValues.paymentOption); 63 | } 64 | 65 | /** 66 | * Returns the HashCode. 67 | */ 68 | @Override 69 | public int hashCode() { 70 | return Objects.hash(paymentOption); 71 | } 72 | 73 | 74 | /** 75 | * Converts the given object to string. 76 | */ 77 | @Override 78 | public String toString() { 79 | StringBuilder sb = new StringBuilder(); 80 | sb.append("class PaymentSignerValues {\n"); 81 | 82 | sb.append(" paymentOption: ").append(toIndentedString(paymentOption)).append("\n"); 83 | sb.append("}"); 84 | return sb.toString(); 85 | } 86 | 87 | /** 88 | * Convert the given object to string with each line indented by 4 spaces 89 | * (except the first line). 90 | */ 91 | private String toIndentedString(java.lang.Object o) { 92 | if (o == null) { 93 | return "null"; 94 | } 95 | return o.toString().replace("\n", "\n "); 96 | } 97 | 98 | } 99 | 100 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/PostTransactionsResponse.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import com.fasterxml.jackson.annotation.JsonProperty; 4 | import io.swagger.annotations.ApiModelProperty; 5 | import java.util.Objects; 6 | 7 | /** PostTransactionsResponse */ 8 | public class PostTransactionsResponse { 9 | @JsonProperty("documentData") 10 | private String documentData = null; 11 | 12 | @JsonProperty("transactionSid") 13 | private String transactionSid = null; 14 | 15 | public PostTransactionsResponse documentData(String documentData) { 16 | this.documentData = documentData; 17 | return this; 18 | } 19 | 20 | /** @return documentData */ 21 | @ApiModelProperty(example = "null", value = "") 22 | public String getDocumentData() { 23 | return documentData; 24 | } 25 | 26 | public void setDocumentData(String documentData) { 27 | this.documentData = documentData; 28 | } 29 | 30 | public PostTransactionsResponse transactionSid(String transactionSid) { 31 | this.transactionSid = transactionSid; 32 | return this; 33 | } 34 | 35 | /** @return transactionSid */ 36 | @ApiModelProperty(example = "null", value = "") 37 | public String getTransactionSid() { 38 | return transactionSid; 39 | } 40 | 41 | public void setTransactionSid(String transactionSid) { 42 | this.transactionSid = transactionSid; 43 | } 44 | 45 | @Override 46 | public boolean equals(java.lang.Object o) { 47 | if (this == o) { 48 | return true; 49 | } 50 | if (o == null || getClass() != o.getClass()) { 51 | return false; 52 | } 53 | PostTransactionsResponse postTransactionsResponse = (PostTransactionsResponse) o; 54 | return Objects.equals(this.documentData, postTransactionsResponse.documentData) 55 | && Objects.equals(this.transactionSid, postTransactionsResponse.transactionSid); 56 | } 57 | 58 | @Override 59 | public int hashCode() { 60 | return Objects.hash(documentData, transactionSid); 61 | } 62 | 63 | @Override 64 | public String toString() { 65 | StringBuilder sb = new StringBuilder(); 66 | sb.append("class PostTransactionsResponse {\n"); 67 | 68 | sb.append(" documentData: ").append(toIndentedString(documentData)).append("\n"); 69 | sb.append(" transactionSid: ").append(toIndentedString(transactionSid)).append("\n"); 70 | sb.append("}"); 71 | return sb.toString(); 72 | } 73 | 74 | /** 75 | * Convert the given object to string with each line indented by 4 spaces (except the first line). 76 | */ 77 | private String toIndentedString(java.lang.Object o) { 78 | if (o == null) { 79 | return "null"; 80 | } 81 | return o.toString().replace("\n", "\n "); 82 | } 83 | } 84 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/BrandRequest.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import java.util.Objects; 4 | import java.util.Arrays; 5 | import com.fasterxml.jackson.annotation.JsonProperty; 6 | import com.fasterxml.jackson.annotation.JsonCreator; 7 | import com.fasterxml.jackson.annotation.JsonValue; 8 | import io.swagger.annotations.ApiModel; 9 | import io.swagger.annotations.ApiModelProperty; 10 | 11 | /** 12 | * This request object contains information about a specific brand.. 13 | * 14 | */ 15 | @ApiModel(description = "This request object contains information about a specific brand.") 16 | 17 | public class BrandRequest { 18 | @JsonProperty("brandId") 19 | private String brandId = null; 20 | 21 | 22 | /** 23 | * brandId. 24 | * 25 | * @return BrandRequest 26 | **/ 27 | public BrandRequest brandId(String brandId) { 28 | this.brandId = brandId; 29 | return this; 30 | } 31 | 32 | /** 33 | * The ID of the brand used in API calls. 34 | * @return brandId 35 | **/ 36 | @ApiModelProperty(value = "The ID of the brand used in API calls") 37 | public String getBrandId() { 38 | return brandId; 39 | } 40 | 41 | /** 42 | * setBrandId. 43 | **/ 44 | public void setBrandId(String brandId) { 45 | this.brandId = brandId; 46 | } 47 | 48 | 49 | /** 50 | * Compares objects. 51 | * 52 | * @return true or false depending on comparison result. 53 | */ 54 | @Override 55 | public boolean equals(java.lang.Object o) { 56 | if (this == o) { 57 | return true; 58 | } 59 | if (o == null || getClass() != o.getClass()) { 60 | return false; 61 | } 62 | BrandRequest brandRequest = (BrandRequest) o; 63 | return Objects.equals(this.brandId, brandRequest.brandId); 64 | } 65 | 66 | /** 67 | * Returns the HashCode. 68 | */ 69 | @Override 70 | public int hashCode() { 71 | return Objects.hash(brandId); 72 | } 73 | 74 | 75 | /** 76 | * Converts the given object to string. 77 | */ 78 | @Override 79 | public String toString() { 80 | StringBuilder sb = new StringBuilder(); 81 | sb.append("class BrandRequest {\n"); 82 | 83 | sb.append(" brandId: ").append(toIndentedString(brandId)).append("\n"); 84 | sb.append("}"); 85 | return sb.toString(); 86 | } 87 | 88 | /** 89 | * Convert the given object to string with each line indented by 4 spaces 90 | * (except the first line). 91 | */ 92 | private String toIndentedString(java.lang.Object o) { 93 | if (o == null) { 94 | return "null"; 95 | } 96 | return o.toString().replace("\n", "\n "); 97 | } 98 | 99 | } 100 | 101 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/RecipientRouting.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import java.util.Objects; 4 | import java.util.Arrays; 5 | import com.docusign.esign.model.RecipientRules; 6 | import com.fasterxml.jackson.annotation.JsonProperty; 7 | import com.fasterxml.jackson.annotation.JsonCreator; 8 | import com.fasterxml.jackson.annotation.JsonValue; 9 | import io.swagger.annotations.ApiModel; 10 | import io.swagger.annotations.ApiModelProperty; 11 | 12 | /** 13 | * Describes the recipient routing rules.. 14 | * 15 | */ 16 | @ApiModel(description = "Describes the recipient routing rules.") 17 | 18 | public class RecipientRouting { 19 | @JsonProperty("rules") 20 | private RecipientRules rules = null; 21 | 22 | 23 | /** 24 | * rules. 25 | * 26 | * @return RecipientRouting 27 | **/ 28 | public RecipientRouting rules(RecipientRules rules) { 29 | this.rules = rules; 30 | return this; 31 | } 32 | 33 | /** 34 | * The recipient routing rules.. 35 | * @return rules 36 | **/ 37 | @ApiModelProperty(value = "The recipient routing rules.") 38 | public RecipientRules getRules() { 39 | return rules; 40 | } 41 | 42 | /** 43 | * setRules. 44 | **/ 45 | public void setRules(RecipientRules rules) { 46 | this.rules = rules; 47 | } 48 | 49 | 50 | /** 51 | * Compares objects. 52 | * 53 | * @return true or false depending on comparison result. 54 | */ 55 | @Override 56 | public boolean equals(java.lang.Object o) { 57 | if (this == o) { 58 | return true; 59 | } 60 | if (o == null || getClass() != o.getClass()) { 61 | return false; 62 | } 63 | RecipientRouting recipientRouting = (RecipientRouting) o; 64 | return Objects.equals(this.rules, recipientRouting.rules); 65 | } 66 | 67 | /** 68 | * Returns the HashCode. 69 | */ 70 | @Override 71 | public int hashCode() { 72 | return Objects.hash(rules); 73 | } 74 | 75 | 76 | /** 77 | * Converts the given object to string. 78 | */ 79 | @Override 80 | public String toString() { 81 | StringBuilder sb = new StringBuilder(); 82 | sb.append("class RecipientRouting {\n"); 83 | 84 | sb.append(" rules: ").append(toIndentedString(rules)).append("\n"); 85 | sb.append("}"); 86 | return sb.toString(); 87 | } 88 | 89 | /** 90 | * Convert the given object to string with each line indented by 4 spaces 91 | * (except the first line). 92 | */ 93 | private String toIndentedString(java.lang.Object o) { 94 | if (o == null) { 95 | return "null"; 96 | } 97 | return o.toString().replace("\n", "\n "); 98 | } 99 | 100 | } 101 | 102 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/SocialAuthentication.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import java.util.Objects; 4 | import java.util.Arrays; 5 | import com.fasterxml.jackson.annotation.JsonProperty; 6 | import com.fasterxml.jackson.annotation.JsonCreator; 7 | import com.fasterxml.jackson.annotation.JsonValue; 8 | import io.swagger.annotations.ApiModel; 9 | import io.swagger.annotations.ApiModelProperty; 10 | 11 | /** 12 | * SocialAuthentication. 13 | * 14 | */ 15 | 16 | public class SocialAuthentication { 17 | @JsonProperty("authentication") 18 | private String authentication = null; 19 | 20 | 21 | /** 22 | * authentication. 23 | * 24 | * @return SocialAuthentication 25 | **/ 26 | public SocialAuthentication authentication(String authentication) { 27 | this.authentication = authentication; 28 | return this; 29 | } 30 | 31 | /** 32 | * Reserved: TBD. 33 | * @return authentication 34 | **/ 35 | @ApiModelProperty(value = "Reserved: TBD") 36 | public String getAuthentication() { 37 | return authentication; 38 | } 39 | 40 | /** 41 | * setAuthentication. 42 | **/ 43 | public void setAuthentication(String authentication) { 44 | this.authentication = authentication; 45 | } 46 | 47 | 48 | /** 49 | * Compares objects. 50 | * 51 | * @return true or false depending on comparison result. 52 | */ 53 | @Override 54 | public boolean equals(java.lang.Object o) { 55 | if (this == o) { 56 | return true; 57 | } 58 | if (o == null || getClass() != o.getClass()) { 59 | return false; 60 | } 61 | SocialAuthentication socialAuthentication = (SocialAuthentication) o; 62 | return Objects.equals(this.authentication, socialAuthentication.authentication); 63 | } 64 | 65 | /** 66 | * Returns the HashCode. 67 | */ 68 | @Override 69 | public int hashCode() { 70 | return Objects.hash(authentication); 71 | } 72 | 73 | 74 | /** 75 | * Converts the given object to string. 76 | */ 77 | @Override 78 | public String toString() { 79 | StringBuilder sb = new StringBuilder(); 80 | sb.append("class SocialAuthentication {\n"); 81 | 82 | sb.append(" authentication: ").append(toIndentedString(authentication)).append("\n"); 83 | sb.append("}"); 84 | return sb.toString(); 85 | } 86 | 87 | /** 88 | * Convert the given object to string with each line indented by 4 spaces 89 | * (except the first line). 90 | */ 91 | private String toIndentedString(java.lang.Object o) { 92 | if (o == null) { 93 | return "null"; 94 | } 95 | return o.toString().replace("\n", "\n "); 96 | } 97 | 98 | } 99 | 100 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/WorkspaceSettings.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import java.util.Objects; 4 | import java.util.Arrays; 5 | import com.fasterxml.jackson.annotation.JsonProperty; 6 | import com.fasterxml.jackson.annotation.JsonCreator; 7 | import com.fasterxml.jackson.annotation.JsonValue; 8 | import io.swagger.annotations.ApiModel; 9 | import io.swagger.annotations.ApiModelProperty; 10 | 11 | /** 12 | * This object provides information about the settings for the workspace.. 13 | * 14 | */ 15 | @ApiModel(description = "This object provides information about the settings for the workspace.") 16 | 17 | public class WorkspaceSettings { 18 | @JsonProperty("commentsAllowed") 19 | private String commentsAllowed = null; 20 | 21 | 22 | /** 23 | * commentsAllowed. 24 | * 25 | * @return WorkspaceSettings 26 | **/ 27 | public WorkspaceSettings commentsAllowed(String commentsAllowed) { 28 | this.commentsAllowed = commentsAllowed; 29 | return this; 30 | } 31 | 32 | /** 33 | * . 34 | * @return commentsAllowed 35 | **/ 36 | @ApiModelProperty(value = "") 37 | public String getCommentsAllowed() { 38 | return commentsAllowed; 39 | } 40 | 41 | /** 42 | * setCommentsAllowed. 43 | **/ 44 | public void setCommentsAllowed(String commentsAllowed) { 45 | this.commentsAllowed = commentsAllowed; 46 | } 47 | 48 | 49 | /** 50 | * Compares objects. 51 | * 52 | * @return true or false depending on comparison result. 53 | */ 54 | @Override 55 | public boolean equals(java.lang.Object o) { 56 | if (this == o) { 57 | return true; 58 | } 59 | if (o == null || getClass() != o.getClass()) { 60 | return false; 61 | } 62 | WorkspaceSettings workspaceSettings = (WorkspaceSettings) o; 63 | return Objects.equals(this.commentsAllowed, workspaceSettings.commentsAllowed); 64 | } 65 | 66 | /** 67 | * Returns the HashCode. 68 | */ 69 | @Override 70 | public int hashCode() { 71 | return Objects.hash(commentsAllowed); 72 | } 73 | 74 | 75 | /** 76 | * Converts the given object to string. 77 | */ 78 | @Override 79 | public String toString() { 80 | StringBuilder sb = new StringBuilder(); 81 | sb.append("class WorkspaceSettings {\n"); 82 | 83 | sb.append(" commentsAllowed: ").append(toIndentedString(commentsAllowed)).append("\n"); 84 | sb.append("}"); 85 | return sb.toString(); 86 | } 87 | 88 | /** 89 | * Convert the given object to string with each line indented by 4 spaces 90 | * (except the first line). 91 | */ 92 | private String toIndentedString(java.lang.Object o) { 93 | if (o == null) { 94 | return "null"; 95 | } 96 | return o.toString().replace("\n", "\n "); 97 | } 98 | 99 | } 100 | 101 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/Seal.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import com.fasterxml.jackson.annotation.JsonProperty; 4 | import io.swagger.annotations.ApiModelProperty; 5 | import java.util.Objects; 6 | 7 | /** Seal */ 8 | public class Seal { 9 | @JsonProperty("configuration") 10 | private java.util.Map _configuration = null; 11 | 12 | @JsonProperty("sealIdentifier") 13 | private String sealIdentifier = null; 14 | 15 | public Seal _configuration(java.util.Map _configuration) { 16 | this._configuration = _configuration; 17 | return this; 18 | } 19 | 20 | public Seal putConfigurationItem(String key, String _configurationItem) { 21 | if (this._configuration == null) { 22 | this._configuration = new java.util.HashMap(); 23 | } 24 | this._configuration.put(key, _configurationItem); 25 | return this; 26 | } 27 | 28 | /** @return _configuration */ 29 | @ApiModelProperty(value = "") 30 | public java.util.Map getConfiguration() { 31 | return _configuration; 32 | } 33 | 34 | public void setConfiguration(java.util.Map _configuration) { 35 | this._configuration = _configuration; 36 | } 37 | 38 | public Seal sealIdentifier(String sealIdentifier) { 39 | this.sealIdentifier = sealIdentifier; 40 | return this; 41 | } 42 | 43 | /** @return sealIdentifier */ 44 | @ApiModelProperty(value = "") 45 | public String getSealIdentifier() { 46 | return sealIdentifier; 47 | } 48 | 49 | public void setSealIdentifier(String sealIdentifier) { 50 | this.sealIdentifier = sealIdentifier; 51 | } 52 | 53 | @Override 54 | public boolean equals(java.lang.Object o) { 55 | if (this == o) { 56 | return true; 57 | } 58 | if (o == null || getClass() != o.getClass()) { 59 | return false; 60 | } 61 | Seal seal = (Seal) o; 62 | return Objects.equals(this._configuration, seal._configuration) 63 | && Objects.equals(this.sealIdentifier, seal.sealIdentifier); 64 | } 65 | 66 | @Override 67 | public int hashCode() { 68 | return Objects.hash(_configuration, sealIdentifier); 69 | } 70 | 71 | @Override 72 | public String toString() { 73 | StringBuilder sb = new StringBuilder(); 74 | sb.append("class Seal {\n"); 75 | 76 | sb.append(" _configuration: ").append(toIndentedString(_configuration)).append("\n"); 77 | sb.append(" sealIdentifier: ").append(toIndentedString(sealIdentifier)).append("\n"); 78 | sb.append("}"); 79 | return sb.toString(); 80 | } 81 | 82 | /** 83 | * Convert the given object to string with each line indented by 4 spaces (except the first line). 84 | */ 85 | private String toIndentedString(java.lang.Object o) { 86 | if (o == null) { 87 | return "null"; 88 | } 89 | return o.toString().replace("\n", "\n "); 90 | } 91 | } 92 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/UserInfoList.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import java.util.Objects; 4 | import java.util.Arrays; 5 | import com.docusign.esign.model.UserInfo; 6 | import com.fasterxml.jackson.annotation.JsonProperty; 7 | import com.fasterxml.jackson.annotation.JsonCreator; 8 | import com.fasterxml.jackson.annotation.JsonValue; 9 | import io.swagger.annotations.ApiModel; 10 | import io.swagger.annotations.ApiModelProperty; 11 | 12 | /** 13 | * UserInfoList. 14 | * 15 | */ 16 | 17 | public class UserInfoList { 18 | @JsonProperty("users") 19 | private java.util.List users = null; 20 | 21 | 22 | /** 23 | * users. 24 | * 25 | * @return UserInfoList 26 | **/ 27 | public UserInfoList users(java.util.List users) { 28 | this.users = users; 29 | return this; 30 | } 31 | 32 | /** 33 | * addUsersItem. 34 | * 35 | * @return UserInfoList 36 | **/ 37 | public UserInfoList addUsersItem(UserInfo usersItem) { 38 | if (this.users == null) { 39 | this.users = new java.util.ArrayList<>(); 40 | } 41 | this.users.add(usersItem); 42 | return this; 43 | } 44 | 45 | /** 46 | * . 47 | * @return users 48 | **/ 49 | @ApiModelProperty(value = "") 50 | public java.util.List getUsers() { 51 | return users; 52 | } 53 | 54 | /** 55 | * setUsers. 56 | **/ 57 | public void setUsers(java.util.List users) { 58 | this.users = users; 59 | } 60 | 61 | 62 | /** 63 | * Compares objects. 64 | * 65 | * @return true or false depending on comparison result. 66 | */ 67 | @Override 68 | public boolean equals(java.lang.Object o) { 69 | if (this == o) { 70 | return true; 71 | } 72 | if (o == null || getClass() != o.getClass()) { 73 | return false; 74 | } 75 | UserInfoList userInfoList = (UserInfoList) o; 76 | return Objects.equals(this.users, userInfoList.users); 77 | } 78 | 79 | /** 80 | * Returns the HashCode. 81 | */ 82 | @Override 83 | public int hashCode() { 84 | return Objects.hash(users); 85 | } 86 | 87 | 88 | /** 89 | * Converts the given object to string. 90 | */ 91 | @Override 92 | public String toString() { 93 | StringBuilder sb = new StringBuilder(); 94 | sb.append("class UserInfoList {\n"); 95 | 96 | sb.append(" users: ").append(toIndentedString(users)).append("\n"); 97 | sb.append("}"); 98 | return sb.toString(); 99 | } 100 | 101 | /** 102 | * Convert the given object to string with each line indented by 4 spaces 103 | * (except the first line). 104 | */ 105 | private String toIndentedString(java.lang.Object o) { 106 | if (o == null) { 107 | return "null"; 108 | } 109 | return o.toString().replace("\n", "\n "); 110 | } 111 | 112 | } 113 | 114 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/TabMetadataList.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import java.util.Objects; 4 | import java.util.Arrays; 5 | import com.docusign.esign.model.TabMetadata; 6 | import com.fasterxml.jackson.annotation.JsonProperty; 7 | import com.fasterxml.jackson.annotation.JsonCreator; 8 | import com.fasterxml.jackson.annotation.JsonValue; 9 | import io.swagger.annotations.ApiModel; 10 | import io.swagger.annotations.ApiModelProperty; 11 | 12 | /** 13 | * TabMetadataList. 14 | * 15 | */ 16 | 17 | public class TabMetadataList { 18 | @JsonProperty("tabs") 19 | private java.util.List tabs = null; 20 | 21 | 22 | /** 23 | * tabs. 24 | * 25 | * @return TabMetadataList 26 | **/ 27 | public TabMetadataList tabs(java.util.List tabs) { 28 | this.tabs = tabs; 29 | return this; 30 | } 31 | 32 | /** 33 | * addTabsItem. 34 | * 35 | * @return TabMetadataList 36 | **/ 37 | public TabMetadataList addTabsItem(TabMetadata tabsItem) { 38 | if (this.tabs == null) { 39 | this.tabs = new java.util.ArrayList<>(); 40 | } 41 | this.tabs.add(tabsItem); 42 | return this; 43 | } 44 | 45 | /** 46 | * . 47 | * @return tabs 48 | **/ 49 | @ApiModelProperty(value = "") 50 | public java.util.List getTabs() { 51 | return tabs; 52 | } 53 | 54 | /** 55 | * setTabs. 56 | **/ 57 | public void setTabs(java.util.List tabs) { 58 | this.tabs = tabs; 59 | } 60 | 61 | 62 | /** 63 | * Compares objects. 64 | * 65 | * @return true or false depending on comparison result. 66 | */ 67 | @Override 68 | public boolean equals(java.lang.Object o) { 69 | if (this == o) { 70 | return true; 71 | } 72 | if (o == null || getClass() != o.getClass()) { 73 | return false; 74 | } 75 | TabMetadataList tabMetadataList = (TabMetadataList) o; 76 | return Objects.equals(this.tabs, tabMetadataList.tabs); 77 | } 78 | 79 | /** 80 | * Returns the HashCode. 81 | */ 82 | @Override 83 | public int hashCode() { 84 | return Objects.hash(tabs); 85 | } 86 | 87 | 88 | /** 89 | * Converts the given object to string. 90 | */ 91 | @Override 92 | public String toString() { 93 | StringBuilder sb = new StringBuilder(); 94 | sb.append("class TabMetadataList {\n"); 95 | 96 | sb.append(" tabs: ").append(toIndentedString(tabs)).append("\n"); 97 | sb.append("}"); 98 | return sb.toString(); 99 | } 100 | 101 | /** 102 | * Convert the given object to string with each line indented by 4 spaces 103 | * (except the first line). 104 | */ 105 | private String toIndentedString(java.lang.Object o) { 106 | if (o == null) { 107 | return "null"; 108 | } 109 | return o.toString().replace("\n", "\n "); 110 | } 111 | 112 | } 113 | 114 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/AccountSeals.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import java.util.Objects; 4 | import java.util.Arrays; 5 | import com.docusign.esign.model.SealIdentifier; 6 | import com.fasterxml.jackson.annotation.JsonProperty; 7 | import com.fasterxml.jackson.annotation.JsonCreator; 8 | import com.fasterxml.jackson.annotation.JsonValue; 9 | import io.swagger.annotations.ApiModel; 10 | import io.swagger.annotations.ApiModelProperty; 11 | 12 | /** 13 | * AccountSeals. 14 | * 15 | */ 16 | 17 | public class AccountSeals { 18 | @JsonProperty("seals") 19 | private java.util.List seals = null; 20 | 21 | 22 | /** 23 | * seals. 24 | * 25 | * @return AccountSeals 26 | **/ 27 | public AccountSeals seals(java.util.List seals) { 28 | this.seals = seals; 29 | return this; 30 | } 31 | 32 | /** 33 | * addSealsItem. 34 | * 35 | * @return AccountSeals 36 | **/ 37 | public AccountSeals addSealsItem(SealIdentifier sealsItem) { 38 | if (this.seals == null) { 39 | this.seals = new java.util.ArrayList<>(); 40 | } 41 | this.seals.add(sealsItem); 42 | return this; 43 | } 44 | 45 | /** 46 | * . 47 | * @return seals 48 | **/ 49 | @ApiModelProperty(value = "") 50 | public java.util.List getSeals() { 51 | return seals; 52 | } 53 | 54 | /** 55 | * setSeals. 56 | **/ 57 | public void setSeals(java.util.List seals) { 58 | this.seals = seals; 59 | } 60 | 61 | 62 | /** 63 | * Compares objects. 64 | * 65 | * @return true or false depending on comparison result. 66 | */ 67 | @Override 68 | public boolean equals(java.lang.Object o) { 69 | if (this == o) { 70 | return true; 71 | } 72 | if (o == null || getClass() != o.getClass()) { 73 | return false; 74 | } 75 | AccountSeals accountSeals = (AccountSeals) o; 76 | return Objects.equals(this.seals, accountSeals.seals); 77 | } 78 | 79 | /** 80 | * Returns the HashCode. 81 | */ 82 | @Override 83 | public int hashCode() { 84 | return Objects.hash(seals); 85 | } 86 | 87 | 88 | /** 89 | * Converts the given object to string. 90 | */ 91 | @Override 92 | public String toString() { 93 | StringBuilder sb = new StringBuilder(); 94 | sb.append("class AccountSeals {\n"); 95 | 96 | sb.append(" seals: ").append(toIndentedString(seals)).append("\n"); 97 | sb.append("}"); 98 | return sb.toString(); 99 | } 100 | 101 | /** 102 | * Convert the given object to string with each line indented by 4 spaces 103 | * (except the first line). 104 | */ 105 | private String toIndentedString(java.lang.Object o) { 106 | if (o == null) { 107 | return "null"; 108 | } 109 | return o.toString().replace("\n", "\n "); 110 | } 111 | 112 | } 113 | 114 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/BillingPaymentRequest.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import java.util.Objects; 4 | import java.util.Arrays; 5 | import com.fasterxml.jackson.annotation.JsonProperty; 6 | import com.fasterxml.jackson.annotation.JsonCreator; 7 | import com.fasterxml.jackson.annotation.JsonValue; 8 | import io.swagger.annotations.ApiModel; 9 | import io.swagger.annotations.ApiModelProperty; 10 | 11 | /** 12 | * BillingPaymentRequest. 13 | * 14 | */ 15 | 16 | public class BillingPaymentRequest { 17 | @JsonProperty("paymentAmount") 18 | private String paymentAmount = null; 19 | 20 | 21 | /** 22 | * paymentAmount. 23 | * 24 | * @return BillingPaymentRequest 25 | **/ 26 | public BillingPaymentRequest paymentAmount(String paymentAmount) { 27 | this.paymentAmount = paymentAmount; 28 | return this; 29 | } 30 | 31 | /** 32 | * The payment amount for the past due invoices. This value must match the pastDueBalance value retrieved using Get Past Due Invoices.. 33 | * @return paymentAmount 34 | **/ 35 | @ApiModelProperty(value = "The payment amount for the past due invoices. This value must match the pastDueBalance value retrieved using Get Past Due Invoices.") 36 | public String getPaymentAmount() { 37 | return paymentAmount; 38 | } 39 | 40 | /** 41 | * setPaymentAmount. 42 | **/ 43 | public void setPaymentAmount(String paymentAmount) { 44 | this.paymentAmount = paymentAmount; 45 | } 46 | 47 | 48 | /** 49 | * Compares objects. 50 | * 51 | * @return true or false depending on comparison result. 52 | */ 53 | @Override 54 | public boolean equals(java.lang.Object o) { 55 | if (this == o) { 56 | return true; 57 | } 58 | if (o == null || getClass() != o.getClass()) { 59 | return false; 60 | } 61 | BillingPaymentRequest billingPaymentRequest = (BillingPaymentRequest) o; 62 | return Objects.equals(this.paymentAmount, billingPaymentRequest.paymentAmount); 63 | } 64 | 65 | /** 66 | * Returns the HashCode. 67 | */ 68 | @Override 69 | public int hashCode() { 70 | return Objects.hash(paymentAmount); 71 | } 72 | 73 | 74 | /** 75 | * Converts the given object to string. 76 | */ 77 | @Override 78 | public String toString() { 79 | StringBuilder sb = new StringBuilder(); 80 | sb.append("class BillingPaymentRequest {\n"); 81 | 82 | sb.append(" paymentAmount: ").append(toIndentedString(paymentAmount)).append("\n"); 83 | sb.append("}"); 84 | return sb.toString(); 85 | } 86 | 87 | /** 88 | * Convert the given object to string with each line indented by 4 spaces 89 | * (except the first line). 90 | */ 91 | private String toIndentedString(java.lang.Object o) { 92 | if (o == null) { 93 | return "null"; 94 | } 95 | return o.toString().replace("\n", "\n "); 96 | } 97 | 98 | } 99 | 100 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/BulkRecipientsRequest.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import com.fasterxml.jackson.annotation.JsonProperty; 4 | import io.swagger.annotations.ApiModelProperty; 5 | import java.util.Objects; 6 | 7 | /** BulkRecipientsRequest. */ 8 | public class BulkRecipientsRequest { 9 | @JsonProperty("bulkRecipients") 10 | private java.util.List bulkRecipients = null; 11 | 12 | /** 13 | * bulkRecipients. 14 | * 15 | * @return BulkRecipientsRequest 16 | */ 17 | public BulkRecipientsRequest bulkRecipients(java.util.List bulkRecipients) { 18 | this.bulkRecipients = bulkRecipients; 19 | return this; 20 | } 21 | 22 | /** 23 | * addBulkRecipientsItem. 24 | * 25 | * @return BulkRecipientsRequest 26 | */ 27 | public BulkRecipientsRequest addBulkRecipientsItem(BulkRecipient bulkRecipientsItem) { 28 | if (this.bulkRecipients == null) { 29 | this.bulkRecipients = new java.util.ArrayList(); 30 | } 31 | this.bulkRecipients.add(bulkRecipientsItem); 32 | return this; 33 | } 34 | 35 | /** 36 | * A complex type containing information about the bulk recipients in the request.. 37 | * 38 | * @return bulkRecipients 39 | */ 40 | @ApiModelProperty( 41 | value = "A complex type containing information about the bulk recipients in the request.") 42 | public java.util.List getBulkRecipients() { 43 | return bulkRecipients; 44 | } 45 | 46 | /** setBulkRecipients. */ 47 | public void setBulkRecipients(java.util.List bulkRecipients) { 48 | this.bulkRecipients = bulkRecipients; 49 | } 50 | 51 | /** 52 | * Compares objects. 53 | * 54 | * @return true or false depending on comparison result. 55 | */ 56 | @Override 57 | public boolean equals(java.lang.Object o) { 58 | if (this == o) { 59 | return true; 60 | } 61 | if (o == null || getClass() != o.getClass()) { 62 | return false; 63 | } 64 | BulkRecipientsRequest bulkRecipientsRequest = (BulkRecipientsRequest) o; 65 | return Objects.equals(this.bulkRecipients, bulkRecipientsRequest.bulkRecipients); 66 | } 67 | 68 | /** Returns the HashCode. */ 69 | @Override 70 | public int hashCode() { 71 | return Objects.hash(bulkRecipients); 72 | } 73 | 74 | /** Converts the given object to string. */ 75 | @Override 76 | public String toString() { 77 | StringBuilder sb = new StringBuilder(); 78 | sb.append("class BulkRecipientsRequest {\n"); 79 | 80 | sb.append(" bulkRecipients: ").append(toIndentedString(bulkRecipients)).append("\n"); 81 | sb.append("}"); 82 | return sb.toString(); 83 | } 84 | 85 | /** 86 | * Convert the given object to string with each line indented by 4 spaces (except the first line). 87 | */ 88 | private String toIndentedString(java.lang.Object o) { 89 | if (o == null) { 90 | return "null"; 91 | } 92 | return o.toString().replace("\n", "\n "); 93 | } 94 | } 95 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/SigningGroupUsers.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import java.util.Objects; 4 | import java.util.Arrays; 5 | import com.docusign.esign.model.SigningGroupUser; 6 | import com.fasterxml.jackson.annotation.JsonProperty; 7 | import com.fasterxml.jackson.annotation.JsonCreator; 8 | import com.fasterxml.jackson.annotation.JsonValue; 9 | import io.swagger.annotations.ApiModel; 10 | import io.swagger.annotations.ApiModelProperty; 11 | 12 | /** 13 | * SigningGroupUsers. 14 | * 15 | */ 16 | 17 | public class SigningGroupUsers { 18 | @JsonProperty("users") 19 | private java.util.List users = null; 20 | 21 | 22 | /** 23 | * users. 24 | * 25 | * @return SigningGroupUsers 26 | **/ 27 | public SigningGroupUsers users(java.util.List users) { 28 | this.users = users; 29 | return this; 30 | } 31 | 32 | /** 33 | * addUsersItem. 34 | * 35 | * @return SigningGroupUsers 36 | **/ 37 | public SigningGroupUsers addUsersItem(SigningGroupUser usersItem) { 38 | if (this.users == null) { 39 | this.users = new java.util.ArrayList<>(); 40 | } 41 | this.users.add(usersItem); 42 | return this; 43 | } 44 | 45 | /** 46 | * . 47 | * @return users 48 | **/ 49 | @ApiModelProperty(value = "") 50 | public java.util.List getUsers() { 51 | return users; 52 | } 53 | 54 | /** 55 | * setUsers. 56 | **/ 57 | public void setUsers(java.util.List users) { 58 | this.users = users; 59 | } 60 | 61 | 62 | /** 63 | * Compares objects. 64 | * 65 | * @return true or false depending on comparison result. 66 | */ 67 | @Override 68 | public boolean equals(java.lang.Object o) { 69 | if (this == o) { 70 | return true; 71 | } 72 | if (o == null || getClass() != o.getClass()) { 73 | return false; 74 | } 75 | SigningGroupUsers signingGroupUsers = (SigningGroupUsers) o; 76 | return Objects.equals(this.users, signingGroupUsers.users); 77 | } 78 | 79 | /** 80 | * Returns the HashCode. 81 | */ 82 | @Override 83 | public int hashCode() { 84 | return Objects.hash(users); 85 | } 86 | 87 | 88 | /** 89 | * Converts the given object to string. 90 | */ 91 | @Override 92 | public String toString() { 93 | StringBuilder sb = new StringBuilder(); 94 | sb.append("class SigningGroupUsers {\n"); 95 | 96 | sb.append(" users: ").append(toIndentedString(users)).append("\n"); 97 | sb.append("}"); 98 | return sb.toString(); 99 | } 100 | 101 | /** 102 | * Convert the given object to string with each line indented by 4 spaces 103 | * (except the first line). 104 | */ 105 | private String toIndentedString(java.lang.Object o) { 106 | if (o == null) { 107 | return "null"; 108 | } 109 | return o.toString().replace("\n", "\n "); 110 | } 111 | 112 | } 113 | 114 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/FileTypeList.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import java.util.Objects; 4 | import java.util.Arrays; 5 | import com.docusign.esign.model.FileType; 6 | import com.fasterxml.jackson.annotation.JsonProperty; 7 | import com.fasterxml.jackson.annotation.JsonCreator; 8 | import com.fasterxml.jackson.annotation.JsonValue; 9 | import io.swagger.annotations.ApiModel; 10 | import io.swagger.annotations.ApiModelProperty; 11 | 12 | /** 13 | * FileTypeList. 14 | * 15 | */ 16 | 17 | public class FileTypeList { 18 | @JsonProperty("fileTypes") 19 | private java.util.List fileTypes = null; 20 | 21 | 22 | /** 23 | * fileTypes. 24 | * 25 | * @return FileTypeList 26 | **/ 27 | public FileTypeList fileTypes(java.util.List fileTypes) { 28 | this.fileTypes = fileTypes; 29 | return this; 30 | } 31 | 32 | /** 33 | * addFileTypesItem. 34 | * 35 | * @return FileTypeList 36 | **/ 37 | public FileTypeList addFileTypesItem(FileType fileTypesItem) { 38 | if (this.fileTypes == null) { 39 | this.fileTypes = new java.util.ArrayList<>(); 40 | } 41 | this.fileTypes.add(fileTypesItem); 42 | return this; 43 | } 44 | 45 | /** 46 | * A collection of file types.. 47 | * @return fileTypes 48 | **/ 49 | @ApiModelProperty(value = "A collection of file types.") 50 | public java.util.List getFileTypes() { 51 | return fileTypes; 52 | } 53 | 54 | /** 55 | * setFileTypes. 56 | **/ 57 | public void setFileTypes(java.util.List fileTypes) { 58 | this.fileTypes = fileTypes; 59 | } 60 | 61 | 62 | /** 63 | * Compares objects. 64 | * 65 | * @return true or false depending on comparison result. 66 | */ 67 | @Override 68 | public boolean equals(java.lang.Object o) { 69 | if (this == o) { 70 | return true; 71 | } 72 | if (o == null || getClass() != o.getClass()) { 73 | return false; 74 | } 75 | FileTypeList fileTypeList = (FileTypeList) o; 76 | return Objects.equals(this.fileTypes, fileTypeList.fileTypes); 77 | } 78 | 79 | /** 80 | * Returns the HashCode. 81 | */ 82 | @Override 83 | public int hashCode() { 84 | return Objects.hash(fileTypes); 85 | } 86 | 87 | 88 | /** 89 | * Converts the given object to string. 90 | */ 91 | @Override 92 | public String toString() { 93 | StringBuilder sb = new StringBuilder(); 94 | sb.append("class FileTypeList {\n"); 95 | 96 | sb.append(" fileTypes: ").append(toIndentedString(fileTypes)).append("\n"); 97 | sb.append("}"); 98 | return sb.toString(); 99 | } 100 | 101 | /** 102 | * Convert the given object to string with each line indented by 4 spaces 103 | * (except the first line). 104 | */ 105 | private String toIndentedString(java.lang.Object o) { 106 | if (o == null) { 107 | return "null"; 108 | } 109 | return o.toString().replace("\n", "\n "); 110 | } 111 | 112 | } 113 | 114 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/CreditCardTypes.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import java.util.Objects; 4 | import java.util.Arrays; 5 | import com.fasterxml.jackson.annotation.JsonProperty; 6 | import com.fasterxml.jackson.annotation.JsonCreator; 7 | import com.fasterxml.jackson.annotation.JsonValue; 8 | import io.swagger.annotations.ApiModel; 9 | import io.swagger.annotations.ApiModelProperty; 10 | 11 | /** 12 | * CreditCardTypes. 13 | * 14 | */ 15 | 16 | public class CreditCardTypes { 17 | @JsonProperty("cardTypes") 18 | private java.util.List cardTypes = null; 19 | 20 | 21 | /** 22 | * cardTypes. 23 | * 24 | * @return CreditCardTypes 25 | **/ 26 | public CreditCardTypes cardTypes(java.util.List cardTypes) { 27 | this.cardTypes = cardTypes; 28 | return this; 29 | } 30 | 31 | /** 32 | * addCardTypesItem. 33 | * 34 | * @return CreditCardTypes 35 | **/ 36 | public CreditCardTypes addCardTypesItem(String cardTypesItem) { 37 | if (this.cardTypes == null) { 38 | this.cardTypes = new java.util.ArrayList<>(); 39 | } 40 | this.cardTypes.add(cardTypesItem); 41 | return this; 42 | } 43 | 44 | /** 45 | * An array containing supported credit card types.. 46 | * @return cardTypes 47 | **/ 48 | @ApiModelProperty(value = "An array containing supported credit card types.") 49 | public java.util.List getCardTypes() { 50 | return cardTypes; 51 | } 52 | 53 | /** 54 | * setCardTypes. 55 | **/ 56 | public void setCardTypes(java.util.List cardTypes) { 57 | this.cardTypes = cardTypes; 58 | } 59 | 60 | 61 | /** 62 | * Compares objects. 63 | * 64 | * @return true or false depending on comparison result. 65 | */ 66 | @Override 67 | public boolean equals(java.lang.Object o) { 68 | if (this == o) { 69 | return true; 70 | } 71 | if (o == null || getClass() != o.getClass()) { 72 | return false; 73 | } 74 | CreditCardTypes creditCardTypes = (CreditCardTypes) o; 75 | return Objects.equals(this.cardTypes, creditCardTypes.cardTypes); 76 | } 77 | 78 | /** 79 | * Returns the HashCode. 80 | */ 81 | @Override 82 | public int hashCode() { 83 | return Objects.hash(cardTypes); 84 | } 85 | 86 | 87 | /** 88 | * Converts the given object to string. 89 | */ 90 | @Override 91 | public String toString() { 92 | StringBuilder sb = new StringBuilder(); 93 | sb.append("class CreditCardTypes {\n"); 94 | 95 | sb.append(" cardTypes: ").append(toIndentedString(cardTypes)).append("\n"); 96 | sb.append("}"); 97 | return sb.toString(); 98 | } 99 | 100 | /** 101 | * Convert the given object to string with each line indented by 4 spaces 102 | * (except the first line). 103 | */ 104 | private String toIndentedString(java.lang.Object o) { 105 | if (o == null) { 106 | return "null"; 107 | } 108 | return o.toString().replace("\n", "\n "); 109 | } 110 | 111 | } 112 | 113 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/BrandsRequest.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import java.util.Objects; 4 | import java.util.Arrays; 5 | import com.docusign.esign.model.BrandRequest; 6 | import com.fasterxml.jackson.annotation.JsonProperty; 7 | import com.fasterxml.jackson.annotation.JsonCreator; 8 | import com.fasterxml.jackson.annotation.JsonValue; 9 | import io.swagger.annotations.ApiModel; 10 | import io.swagger.annotations.ApiModelProperty; 11 | 12 | /** 13 | * Details about one or more brands.. 14 | * 15 | */ 16 | @ApiModel(description = "Details about one or more brands.") 17 | 18 | public class BrandsRequest { 19 | @JsonProperty("brands") 20 | private java.util.List brands = null; 21 | 22 | 23 | /** 24 | * brands. 25 | * 26 | * @return BrandsRequest 27 | **/ 28 | public BrandsRequest brands(java.util.List brands) { 29 | this.brands = brands; 30 | return this; 31 | } 32 | 33 | /** 34 | * addBrandsItem. 35 | * 36 | * @return BrandsRequest 37 | **/ 38 | public BrandsRequest addBrandsItem(BrandRequest brandsItem) { 39 | if (this.brands == null) { 40 | this.brands = new java.util.ArrayList<>(); 41 | } 42 | this.brands.add(brandsItem); 43 | return this; 44 | } 45 | 46 | /** 47 | * The list of brands.. 48 | * @return brands 49 | **/ 50 | @ApiModelProperty(value = "The list of brands.") 51 | public java.util.List getBrands() { 52 | return brands; 53 | } 54 | 55 | /** 56 | * setBrands. 57 | **/ 58 | public void setBrands(java.util.List brands) { 59 | this.brands = brands; 60 | } 61 | 62 | 63 | /** 64 | * Compares objects. 65 | * 66 | * @return true or false depending on comparison result. 67 | */ 68 | @Override 69 | public boolean equals(java.lang.Object o) { 70 | if (this == o) { 71 | return true; 72 | } 73 | if (o == null || getClass() != o.getClass()) { 74 | return false; 75 | } 76 | BrandsRequest brandsRequest = (BrandsRequest) o; 77 | return Objects.equals(this.brands, brandsRequest.brands); 78 | } 79 | 80 | /** 81 | * Returns the HashCode. 82 | */ 83 | @Override 84 | public int hashCode() { 85 | return Objects.hash(brands); 86 | } 87 | 88 | 89 | /** 90 | * Converts the given object to string. 91 | */ 92 | @Override 93 | public String toString() { 94 | StringBuilder sb = new StringBuilder(); 95 | sb.append("class BrandsRequest {\n"); 96 | 97 | sb.append(" brands: ").append(toIndentedString(brands)).append("\n"); 98 | sb.append("}"); 99 | return sb.toString(); 100 | } 101 | 102 | /** 103 | * Convert the given object to string with each line indented by 4 spaces 104 | * (except the first line). 105 | */ 106 | private String toIndentedString(java.lang.Object o) { 107 | if (o == null) { 108 | return "null"; 109 | } 110 | return o.toString().replace("\n", "\n "); 111 | } 112 | 113 | } 114 | 115 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/NewUsersDefinition.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import java.util.Objects; 4 | import java.util.Arrays; 5 | import com.docusign.esign.model.UserInformation; 6 | import com.fasterxml.jackson.annotation.JsonProperty; 7 | import com.fasterxml.jackson.annotation.JsonCreator; 8 | import com.fasterxml.jackson.annotation.JsonValue; 9 | import io.swagger.annotations.ApiModel; 10 | import io.swagger.annotations.ApiModelProperty; 11 | 12 | /** 13 | * NewUsersDefinition. 14 | * 15 | */ 16 | 17 | public class NewUsersDefinition { 18 | @JsonProperty("newUsers") 19 | private java.util.List newUsers = null; 20 | 21 | 22 | /** 23 | * newUsers. 24 | * 25 | * @return NewUsersDefinition 26 | **/ 27 | public NewUsersDefinition newUsers(java.util.List newUsers) { 28 | this.newUsers = newUsers; 29 | return this; 30 | } 31 | 32 | /** 33 | * addNewUsersItem. 34 | * 35 | * @return NewUsersDefinition 36 | **/ 37 | public NewUsersDefinition addNewUsersItem(UserInformation newUsersItem) { 38 | if (this.newUsers == null) { 39 | this.newUsers = new java.util.ArrayList<>(); 40 | } 41 | this.newUsers.add(newUsersItem); 42 | return this; 43 | } 44 | 45 | /** 46 | * . 47 | * @return newUsers 48 | **/ 49 | @ApiModelProperty(value = "") 50 | public java.util.List getNewUsers() { 51 | return newUsers; 52 | } 53 | 54 | /** 55 | * setNewUsers. 56 | **/ 57 | public void setNewUsers(java.util.List newUsers) { 58 | this.newUsers = newUsers; 59 | } 60 | 61 | 62 | /** 63 | * Compares objects. 64 | * 65 | * @return true or false depending on comparison result. 66 | */ 67 | @Override 68 | public boolean equals(java.lang.Object o) { 69 | if (this == o) { 70 | return true; 71 | } 72 | if (o == null || getClass() != o.getClass()) { 73 | return false; 74 | } 75 | NewUsersDefinition newUsersDefinition = (NewUsersDefinition) o; 76 | return Objects.equals(this.newUsers, newUsersDefinition.newUsers); 77 | } 78 | 79 | /** 80 | * Returns the HashCode. 81 | */ 82 | @Override 83 | public int hashCode() { 84 | return Objects.hash(newUsers); 85 | } 86 | 87 | 88 | /** 89 | * Converts the given object to string. 90 | */ 91 | @Override 92 | public String toString() { 93 | StringBuilder sb = new StringBuilder(); 94 | sb.append("class NewUsersDefinition {\n"); 95 | 96 | sb.append(" newUsers: ").append(toIndentedString(newUsers)).append("\n"); 97 | sb.append("}"); 98 | return sb.toString(); 99 | } 100 | 101 | /** 102 | * Convert the given object to string with each line indented by 4 spaces 103 | * (except the first line). 104 | */ 105 | private String toIndentedString(java.lang.Object o) { 106 | if (o == null) { 107 | return "null"; 108 | } 109 | return o.toString().replace("\n", "\n "); 110 | } 111 | 112 | } 113 | 114 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/PowerFormsRequest.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import java.util.Objects; 4 | import java.util.Arrays; 5 | import com.docusign.esign.model.PowerForm; 6 | import com.fasterxml.jackson.annotation.JsonProperty; 7 | import com.fasterxml.jackson.annotation.JsonCreator; 8 | import com.fasterxml.jackson.annotation.JsonValue; 9 | import io.swagger.annotations.ApiModel; 10 | import io.swagger.annotations.ApiModelProperty; 11 | 12 | /** 13 | * PowerFormsRequest. 14 | * 15 | */ 16 | 17 | public class PowerFormsRequest { 18 | @JsonProperty("powerForms") 19 | private java.util.List powerForms = null; 20 | 21 | 22 | /** 23 | * powerForms. 24 | * 25 | * @return PowerFormsRequest 26 | **/ 27 | public PowerFormsRequest powerForms(java.util.List powerForms) { 28 | this.powerForms = powerForms; 29 | return this; 30 | } 31 | 32 | /** 33 | * addPowerFormsItem. 34 | * 35 | * @return PowerFormsRequest 36 | **/ 37 | public PowerFormsRequest addPowerFormsItem(PowerForm powerFormsItem) { 38 | if (this.powerForms == null) { 39 | this.powerForms = new java.util.ArrayList<>(); 40 | } 41 | this.powerForms.add(powerFormsItem); 42 | return this; 43 | } 44 | 45 | /** 46 | * . 47 | * @return powerForms 48 | **/ 49 | @ApiModelProperty(value = "") 50 | public java.util.List getPowerForms() { 51 | return powerForms; 52 | } 53 | 54 | /** 55 | * setPowerForms. 56 | **/ 57 | public void setPowerForms(java.util.List powerForms) { 58 | this.powerForms = powerForms; 59 | } 60 | 61 | 62 | /** 63 | * Compares objects. 64 | * 65 | * @return true or false depending on comparison result. 66 | */ 67 | @Override 68 | public boolean equals(java.lang.Object o) { 69 | if (this == o) { 70 | return true; 71 | } 72 | if (o == null || getClass() != o.getClass()) { 73 | return false; 74 | } 75 | PowerFormsRequest powerFormsRequest = (PowerFormsRequest) o; 76 | return Objects.equals(this.powerForms, powerFormsRequest.powerForms); 77 | } 78 | 79 | /** 80 | * Returns the HashCode. 81 | */ 82 | @Override 83 | public int hashCode() { 84 | return Objects.hash(powerForms); 85 | } 86 | 87 | 88 | /** 89 | * Converts the given object to string. 90 | */ 91 | @Override 92 | public String toString() { 93 | StringBuilder sb = new StringBuilder(); 94 | sb.append("class PowerFormsRequest {\n"); 95 | 96 | sb.append(" powerForms: ").append(toIndentedString(powerForms)).append("\n"); 97 | sb.append("}"); 98 | return sb.toString(); 99 | } 100 | 101 | /** 102 | * Convert the given object to string with each line indented by 4 spaces 103 | * (except the first line). 104 | */ 105 | private String toIndentedString(java.lang.Object o) { 106 | if (o == null) { 107 | return "null"; 108 | } 109 | return o.toString().replace("\n", "\n "); 110 | } 111 | 112 | } 113 | 114 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/ResourceInformation.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import java.util.Objects; 4 | import java.util.Arrays; 5 | import com.docusign.esign.model.NameValue; 6 | import com.fasterxml.jackson.annotation.JsonProperty; 7 | import com.fasterxml.jackson.annotation.JsonCreator; 8 | import com.fasterxml.jackson.annotation.JsonValue; 9 | import io.swagger.annotations.ApiModel; 10 | import io.swagger.annotations.ApiModelProperty; 11 | 12 | /** 13 | * ResourceInformation. 14 | * 15 | */ 16 | 17 | public class ResourceInformation { 18 | @JsonProperty("resources") 19 | private java.util.List resources = null; 20 | 21 | 22 | /** 23 | * resources. 24 | * 25 | * @return ResourceInformation 26 | **/ 27 | public ResourceInformation resources(java.util.List resources) { 28 | this.resources = resources; 29 | return this; 30 | } 31 | 32 | /** 33 | * addResourcesItem. 34 | * 35 | * @return ResourceInformation 36 | **/ 37 | public ResourceInformation addResourcesItem(NameValue resourcesItem) { 38 | if (this.resources == null) { 39 | this.resources = new java.util.ArrayList<>(); 40 | } 41 | this.resources.add(resourcesItem); 42 | return this; 43 | } 44 | 45 | /** 46 | * . 47 | * @return resources 48 | **/ 49 | @ApiModelProperty(value = "") 50 | public java.util.List getResources() { 51 | return resources; 52 | } 53 | 54 | /** 55 | * setResources. 56 | **/ 57 | public void setResources(java.util.List resources) { 58 | this.resources = resources; 59 | } 60 | 61 | 62 | /** 63 | * Compares objects. 64 | * 65 | * @return true or false depending on comparison result. 66 | */ 67 | @Override 68 | public boolean equals(java.lang.Object o) { 69 | if (this == o) { 70 | return true; 71 | } 72 | if (o == null || getClass() != o.getClass()) { 73 | return false; 74 | } 75 | ResourceInformation resourceInformation = (ResourceInformation) o; 76 | return Objects.equals(this.resources, resourceInformation.resources); 77 | } 78 | 79 | /** 80 | * Returns the HashCode. 81 | */ 82 | @Override 83 | public int hashCode() { 84 | return Objects.hash(resources); 85 | } 86 | 87 | 88 | /** 89 | * Converts the given object to string. 90 | */ 91 | @Override 92 | public String toString() { 93 | StringBuilder sb = new StringBuilder(); 94 | sb.append("class ResourceInformation {\n"); 95 | 96 | sb.append(" resources: ").append(toIndentedString(resources)).append("\n"); 97 | sb.append("}"); 98 | return sb.toString(); 99 | } 100 | 101 | /** 102 | * Convert the given object to string with each line indented by 4 spaces 103 | * (except the first line). 104 | */ 105 | private String toIndentedString(java.lang.Object o) { 106 | if (o == null) { 107 | return "null"; 108 | } 109 | return o.toString().replace("\n", "\n "); 110 | } 111 | 112 | } 113 | 114 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/NewUsersSummary.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import java.util.Objects; 4 | import java.util.Arrays; 5 | import com.docusign.esign.model.NewUser; 6 | import com.fasterxml.jackson.annotation.JsonProperty; 7 | import com.fasterxml.jackson.annotation.JsonCreator; 8 | import com.fasterxml.jackson.annotation.JsonValue; 9 | import io.swagger.annotations.ApiModel; 10 | import io.swagger.annotations.ApiModelProperty; 11 | 12 | /** 13 | * Object representing a summary of data for new users.. 14 | * 15 | */ 16 | @ApiModel(description = "Object representing a summary of data for new users.") 17 | 18 | public class NewUsersSummary { 19 | @JsonProperty("newUsers") 20 | private java.util.List newUsers = null; 21 | 22 | 23 | /** 24 | * newUsers. 25 | * 26 | * @return NewUsersSummary 27 | **/ 28 | public NewUsersSummary newUsers(java.util.List newUsers) { 29 | this.newUsers = newUsers; 30 | return this; 31 | } 32 | 33 | /** 34 | * addNewUsersItem. 35 | * 36 | * @return NewUsersSummary 37 | **/ 38 | public NewUsersSummary addNewUsersItem(NewUser newUsersItem) { 39 | if (this.newUsers == null) { 40 | this.newUsers = new java.util.ArrayList<>(); 41 | } 42 | this.newUsers.add(newUsersItem); 43 | return this; 44 | } 45 | 46 | /** 47 | * . 48 | * @return newUsers 49 | **/ 50 | @ApiModelProperty(value = "") 51 | public java.util.List getNewUsers() { 52 | return newUsers; 53 | } 54 | 55 | /** 56 | * setNewUsers. 57 | **/ 58 | public void setNewUsers(java.util.List newUsers) { 59 | this.newUsers = newUsers; 60 | } 61 | 62 | 63 | /** 64 | * Compares objects. 65 | * 66 | * @return true or false depending on comparison result. 67 | */ 68 | @Override 69 | public boolean equals(java.lang.Object o) { 70 | if (this == o) { 71 | return true; 72 | } 73 | if (o == null || getClass() != o.getClass()) { 74 | return false; 75 | } 76 | NewUsersSummary newUsersSummary = (NewUsersSummary) o; 77 | return Objects.equals(this.newUsers, newUsersSummary.newUsers); 78 | } 79 | 80 | /** 81 | * Returns the HashCode. 82 | */ 83 | @Override 84 | public int hashCode() { 85 | return Objects.hash(newUsers); 86 | } 87 | 88 | 89 | /** 90 | * Converts the given object to string. 91 | */ 92 | @Override 93 | public String toString() { 94 | StringBuilder sb = new StringBuilder(); 95 | sb.append("class NewUsersSummary {\n"); 96 | 97 | sb.append(" newUsers: ").append(toIndentedString(newUsers)).append("\n"); 98 | sb.append("}"); 99 | return sb.toString(); 100 | } 101 | 102 | /** 103 | * Convert the given object to string with each line indented by 4 spaces 104 | * (except the first line). 105 | */ 106 | private String toIndentedString(java.lang.Object o) { 107 | if (o == null) { 108 | return "null"; 109 | } 110 | return o.toString().replace("\n", "\n "); 111 | } 112 | 113 | } 114 | 115 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/TemplateInformation.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import java.util.Objects; 4 | import java.util.Arrays; 5 | import com.docusign.esign.model.TemplateSummary; 6 | import com.fasterxml.jackson.annotation.JsonProperty; 7 | import com.fasterxml.jackson.annotation.JsonCreator; 8 | import com.fasterxml.jackson.annotation.JsonValue; 9 | import io.swagger.annotations.ApiModel; 10 | import io.swagger.annotations.ApiModelProperty; 11 | 12 | /** 13 | * TemplateInformation. 14 | * 15 | */ 16 | 17 | public class TemplateInformation { 18 | @JsonProperty("templates") 19 | private java.util.List templates = null; 20 | 21 | 22 | /** 23 | * templates. 24 | * 25 | * @return TemplateInformation 26 | **/ 27 | public TemplateInformation templates(java.util.List templates) { 28 | this.templates = templates; 29 | return this; 30 | } 31 | 32 | /** 33 | * addTemplatesItem. 34 | * 35 | * @return TemplateInformation 36 | **/ 37 | public TemplateInformation addTemplatesItem(TemplateSummary templatesItem) { 38 | if (this.templates == null) { 39 | this.templates = new java.util.ArrayList<>(); 40 | } 41 | this.templates.add(templatesItem); 42 | return this; 43 | } 44 | 45 | /** 46 | * . 47 | * @return templates 48 | **/ 49 | @ApiModelProperty(value = "") 50 | public java.util.List getTemplates() { 51 | return templates; 52 | } 53 | 54 | /** 55 | * setTemplates. 56 | **/ 57 | public void setTemplates(java.util.List templates) { 58 | this.templates = templates; 59 | } 60 | 61 | 62 | /** 63 | * Compares objects. 64 | * 65 | * @return true or false depending on comparison result. 66 | */ 67 | @Override 68 | public boolean equals(java.lang.Object o) { 69 | if (this == o) { 70 | return true; 71 | } 72 | if (o == null || getClass() != o.getClass()) { 73 | return false; 74 | } 75 | TemplateInformation templateInformation = (TemplateInformation) o; 76 | return Objects.equals(this.templates, templateInformation.templates); 77 | } 78 | 79 | /** 80 | * Returns the HashCode. 81 | */ 82 | @Override 83 | public int hashCode() { 84 | return Objects.hash(templates); 85 | } 86 | 87 | 88 | /** 89 | * Converts the given object to string. 90 | */ 91 | @Override 92 | public String toString() { 93 | StringBuilder sb = new StringBuilder(); 94 | sb.append("class TemplateInformation {\n"); 95 | 96 | sb.append(" templates: ").append(toIndentedString(templates)).append("\n"); 97 | sb.append("}"); 98 | return sb.toString(); 99 | } 100 | 101 | /** 102 | * Convert the given object to string with each line indented by 4 spaces 103 | * (except the first line). 104 | */ 105 | private String toIndentedString(java.lang.Object o) { 106 | if (o == null) { 107 | return "null"; 108 | } 109 | return o.toString().replace("\n", "\n "); 110 | } 111 | 112 | } 113 | 114 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/EnvelopeAuditEvent.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import java.util.Objects; 4 | import java.util.Arrays; 5 | import com.docusign.esign.model.NameValue; 6 | import com.fasterxml.jackson.annotation.JsonProperty; 7 | import com.fasterxml.jackson.annotation.JsonCreator; 8 | import com.fasterxml.jackson.annotation.JsonValue; 9 | import io.swagger.annotations.ApiModel; 10 | import io.swagger.annotations.ApiModelProperty; 11 | 12 | /** 13 | * EnvelopeAuditEvent. 14 | * 15 | */ 16 | 17 | public class EnvelopeAuditEvent { 18 | @JsonProperty("eventFields") 19 | private java.util.List eventFields = null; 20 | 21 | 22 | /** 23 | * eventFields. 24 | * 25 | * @return EnvelopeAuditEvent 26 | **/ 27 | public EnvelopeAuditEvent eventFields(java.util.List eventFields) { 28 | this.eventFields = eventFields; 29 | return this; 30 | } 31 | 32 | /** 33 | * addEventFieldsItem. 34 | * 35 | * @return EnvelopeAuditEvent 36 | **/ 37 | public EnvelopeAuditEvent addEventFieldsItem(NameValue eventFieldsItem) { 38 | if (this.eventFields == null) { 39 | this.eventFields = new java.util.ArrayList<>(); 40 | } 41 | this.eventFields.add(eventFieldsItem); 42 | return this; 43 | } 44 | 45 | /** 46 | * . 47 | * @return eventFields 48 | **/ 49 | @ApiModelProperty(value = "") 50 | public java.util.List getEventFields() { 51 | return eventFields; 52 | } 53 | 54 | /** 55 | * setEventFields. 56 | **/ 57 | public void setEventFields(java.util.List eventFields) { 58 | this.eventFields = eventFields; 59 | } 60 | 61 | 62 | /** 63 | * Compares objects. 64 | * 65 | * @return true or false depending on comparison result. 66 | */ 67 | @Override 68 | public boolean equals(java.lang.Object o) { 69 | if (this == o) { 70 | return true; 71 | } 72 | if (o == null || getClass() != o.getClass()) { 73 | return false; 74 | } 75 | EnvelopeAuditEvent envelopeAuditEvent = (EnvelopeAuditEvent) o; 76 | return Objects.equals(this.eventFields, envelopeAuditEvent.eventFields); 77 | } 78 | 79 | /** 80 | * Returns the HashCode. 81 | */ 82 | @Override 83 | public int hashCode() { 84 | return Objects.hash(eventFields); 85 | } 86 | 87 | 88 | /** 89 | * Converts the given object to string. 90 | */ 91 | @Override 92 | public String toString() { 93 | StringBuilder sb = new StringBuilder(); 94 | sb.append("class EnvelopeAuditEvent {\n"); 95 | 96 | sb.append(" eventFields: ").append(toIndentedString(eventFields)).append("\n"); 97 | sb.append("}"); 98 | return sb.toString(); 99 | } 100 | 101 | /** 102 | * Convert the given object to string with each line indented by 4 spaces 103 | * (except the first line). 104 | */ 105 | private String toIndentedString(java.lang.Object o) { 106 | if (o == null) { 107 | return "null"; 108 | } 109 | return o.toString().replace("\n", "\n "); 110 | } 111 | 112 | } 113 | 114 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/WorkspaceItemList.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import java.util.Objects; 4 | import java.util.Arrays; 5 | import com.docusign.esign.model.WorkspaceItem; 6 | import com.fasterxml.jackson.annotation.JsonProperty; 7 | import com.fasterxml.jackson.annotation.JsonCreator; 8 | import com.fasterxml.jackson.annotation.JsonValue; 9 | import io.swagger.annotations.ApiModel; 10 | import io.swagger.annotations.ApiModelProperty; 11 | 12 | /** 13 | * Provides properties that describe the items contained in a workspace.. 14 | * 15 | */ 16 | @ApiModel(description = "Provides properties that describe the items contained in a workspace.") 17 | 18 | public class WorkspaceItemList { 19 | @JsonProperty("items") 20 | private java.util.List items = null; 21 | 22 | 23 | /** 24 | * items. 25 | * 26 | * @return WorkspaceItemList 27 | **/ 28 | public WorkspaceItemList items(java.util.List items) { 29 | this.items = items; 30 | return this; 31 | } 32 | 33 | /** 34 | * addItemsItem. 35 | * 36 | * @return WorkspaceItemList 37 | **/ 38 | public WorkspaceItemList addItemsItem(WorkspaceItem itemsItem) { 39 | if (this.items == null) { 40 | this.items = new java.util.ArrayList<>(); 41 | } 42 | this.items.add(itemsItem); 43 | return this; 44 | } 45 | 46 | /** 47 | * . 48 | * @return items 49 | **/ 50 | @ApiModelProperty(value = "") 51 | public java.util.List getItems() { 52 | return items; 53 | } 54 | 55 | /** 56 | * setItems. 57 | **/ 58 | public void setItems(java.util.List items) { 59 | this.items = items; 60 | } 61 | 62 | 63 | /** 64 | * Compares objects. 65 | * 66 | * @return true or false depending on comparison result. 67 | */ 68 | @Override 69 | public boolean equals(java.lang.Object o) { 70 | if (this == o) { 71 | return true; 72 | } 73 | if (o == null || getClass() != o.getClass()) { 74 | return false; 75 | } 76 | WorkspaceItemList workspaceItemList = (WorkspaceItemList) o; 77 | return Objects.equals(this.items, workspaceItemList.items); 78 | } 79 | 80 | /** 81 | * Returns the HashCode. 82 | */ 83 | @Override 84 | public int hashCode() { 85 | return Objects.hash(items); 86 | } 87 | 88 | 89 | /** 90 | * Converts the given object to string. 91 | */ 92 | @Override 93 | public String toString() { 94 | StringBuilder sb = new StringBuilder(); 95 | sb.append("class WorkspaceItemList {\n"); 96 | 97 | sb.append(" items: ").append(toIndentedString(items)).append("\n"); 98 | sb.append("}"); 99 | return sb.toString(); 100 | } 101 | 102 | /** 103 | * Convert the given object to string with each line indented by 4 spaces 104 | * (except the first line). 105 | */ 106 | private String toIndentedString(java.lang.Object o) { 107 | if (o == null) { 108 | return "null"; 109 | } 110 | return o.toString().replace("\n", "\n "); 111 | } 112 | 113 | } 114 | 115 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/AccountPasswordLockoutDurationType.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import java.util.Objects; 4 | import java.util.Arrays; 5 | import com.fasterxml.jackson.annotation.JsonProperty; 6 | import com.fasterxml.jackson.annotation.JsonCreator; 7 | import com.fasterxml.jackson.annotation.JsonValue; 8 | import io.swagger.annotations.ApiModel; 9 | import io.swagger.annotations.ApiModelProperty; 10 | 11 | /** 12 | * AccountPasswordLockoutDurationType. 13 | * 14 | */ 15 | 16 | public class AccountPasswordLockoutDurationType { 17 | @JsonProperty("options") 18 | private java.util.List options = null; 19 | 20 | 21 | /** 22 | * options. 23 | * 24 | * @return AccountPasswordLockoutDurationType 25 | **/ 26 | public AccountPasswordLockoutDurationType options(java.util.List options) { 27 | this.options = options; 28 | return this; 29 | } 30 | 31 | /** 32 | * addOptionsItem. 33 | * 34 | * @return AccountPasswordLockoutDurationType 35 | **/ 36 | public AccountPasswordLockoutDurationType addOptionsItem(String optionsItem) { 37 | if (this.options == null) { 38 | this.options = new java.util.ArrayList<>(); 39 | } 40 | this.options.add(optionsItem); 41 | return this; 42 | } 43 | 44 | /** 45 | * . 46 | * @return options 47 | **/ 48 | @ApiModelProperty(value = "") 49 | public java.util.List getOptions() { 50 | return options; 51 | } 52 | 53 | /** 54 | * setOptions. 55 | **/ 56 | public void setOptions(java.util.List options) { 57 | this.options = options; 58 | } 59 | 60 | 61 | /** 62 | * Compares objects. 63 | * 64 | * @return true or false depending on comparison result. 65 | */ 66 | @Override 67 | public boolean equals(java.lang.Object o) { 68 | if (this == o) { 69 | return true; 70 | } 71 | if (o == null || getClass() != o.getClass()) { 72 | return false; 73 | } 74 | AccountPasswordLockoutDurationType accountPasswordLockoutDurationType = (AccountPasswordLockoutDurationType) o; 75 | return Objects.equals(this.options, accountPasswordLockoutDurationType.options); 76 | } 77 | 78 | /** 79 | * Returns the HashCode. 80 | */ 81 | @Override 82 | public int hashCode() { 83 | return Objects.hash(options); 84 | } 85 | 86 | 87 | /** 88 | * Converts the given object to string. 89 | */ 90 | @Override 91 | public String toString() { 92 | StringBuilder sb = new StringBuilder(); 93 | sb.append("class AccountPasswordLockoutDurationType {\n"); 94 | 95 | sb.append(" options: ").append(toIndentedString(options)).append("\n"); 96 | sb.append("}"); 97 | return sb.toString(); 98 | } 99 | 100 | /** 101 | * Convert the given object to string with each line indented by 4 spaces 102 | * (except the first line). 103 | */ 104 | private String toIndentedString(java.lang.Object o) { 105 | if (o == null) { 106 | return "null"; 107 | } 108 | return o.toString().replace("\n", "\n "); 109 | } 110 | 111 | } 112 | 113 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/Province.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import java.util.Objects; 4 | import java.util.Arrays; 5 | import com.fasterxml.jackson.annotation.JsonProperty; 6 | import com.fasterxml.jackson.annotation.JsonCreator; 7 | import com.fasterxml.jackson.annotation.JsonValue; 8 | import io.swagger.annotations.ApiModel; 9 | import io.swagger.annotations.ApiModelProperty; 10 | 11 | /** 12 | * Province. 13 | * 14 | */ 15 | 16 | public class Province { 17 | @JsonProperty("isoCode") 18 | private String isoCode = null; 19 | 20 | @JsonProperty("name") 21 | private String name = null; 22 | 23 | 24 | /** 25 | * isoCode. 26 | * 27 | * @return Province 28 | **/ 29 | public Province isoCode(String isoCode) { 30 | this.isoCode = isoCode; 31 | return this; 32 | } 33 | 34 | /** 35 | * . 36 | * @return isoCode 37 | **/ 38 | @ApiModelProperty(value = "") 39 | public String getIsoCode() { 40 | return isoCode; 41 | } 42 | 43 | /** 44 | * setIsoCode. 45 | **/ 46 | public void setIsoCode(String isoCode) { 47 | this.isoCode = isoCode; 48 | } 49 | 50 | 51 | /** 52 | * name. 53 | * 54 | * @return Province 55 | **/ 56 | public Province name(String name) { 57 | this.name = name; 58 | return this; 59 | } 60 | 61 | /** 62 | * . 63 | * @return name 64 | **/ 65 | @ApiModelProperty(value = "") 66 | public String getName() { 67 | return name; 68 | } 69 | 70 | /** 71 | * setName. 72 | **/ 73 | public void setName(String name) { 74 | this.name = name; 75 | } 76 | 77 | 78 | /** 79 | * Compares objects. 80 | * 81 | * @return true or false depending on comparison result. 82 | */ 83 | @Override 84 | public boolean equals(java.lang.Object o) { 85 | if (this == o) { 86 | return true; 87 | } 88 | if (o == null || getClass() != o.getClass()) { 89 | return false; 90 | } 91 | Province province = (Province) o; 92 | return Objects.equals(this.isoCode, province.isoCode) && 93 | Objects.equals(this.name, province.name); 94 | } 95 | 96 | /** 97 | * Returns the HashCode. 98 | */ 99 | @Override 100 | public int hashCode() { 101 | return Objects.hash(isoCode, name); 102 | } 103 | 104 | 105 | /** 106 | * Converts the given object to string. 107 | */ 108 | @Override 109 | public String toString() { 110 | StringBuilder sb = new StringBuilder(); 111 | sb.append("class Province {\n"); 112 | 113 | sb.append(" isoCode: ").append(toIndentedString(isoCode)).append("\n"); 114 | sb.append(" name: ").append(toIndentedString(name)).append("\n"); 115 | sb.append("}"); 116 | return sb.toString(); 117 | } 118 | 119 | /** 120 | * Convert the given object to string with each line indented by 4 spaces 121 | * (except the first line). 122 | */ 123 | private String toIndentedString(java.lang.Object o) { 124 | if (o == null) { 125 | return "null"; 126 | } 127 | return o.toString().replace("\n", "\n "); 128 | } 129 | 130 | } 131 | 132 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/SupportedLanguages.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import java.util.Objects; 4 | import java.util.Arrays; 5 | import com.docusign.esign.model.NameValue; 6 | import com.fasterxml.jackson.annotation.JsonProperty; 7 | import com.fasterxml.jackson.annotation.JsonCreator; 8 | import com.fasterxml.jackson.annotation.JsonValue; 9 | import io.swagger.annotations.ApiModel; 10 | import io.swagger.annotations.ApiModelProperty; 11 | 12 | /** 13 | * A list of supported languages.. 14 | * 15 | */ 16 | @ApiModel(description = "A list of supported languages.") 17 | 18 | public class SupportedLanguages { 19 | @JsonProperty("languages") 20 | private java.util.List languages = null; 21 | 22 | 23 | /** 24 | * languages. 25 | * 26 | * @return SupportedLanguages 27 | **/ 28 | public SupportedLanguages languages(java.util.List languages) { 29 | this.languages = languages; 30 | return this; 31 | } 32 | 33 | /** 34 | * addLanguagesItem. 35 | * 36 | * @return SupportedLanguages 37 | **/ 38 | public SupportedLanguages addLanguagesItem(NameValue languagesItem) { 39 | if (this.languages == null) { 40 | this.languages = new java.util.ArrayList<>(); 41 | } 42 | this.languages.add(languagesItem); 43 | return this; 44 | } 45 | 46 | /** 47 | * . 48 | * @return languages 49 | **/ 50 | @ApiModelProperty(value = "") 51 | public java.util.List getLanguages() { 52 | return languages; 53 | } 54 | 55 | /** 56 | * setLanguages. 57 | **/ 58 | public void setLanguages(java.util.List languages) { 59 | this.languages = languages; 60 | } 61 | 62 | 63 | /** 64 | * Compares objects. 65 | * 66 | * @return true or false depending on comparison result. 67 | */ 68 | @Override 69 | public boolean equals(java.lang.Object o) { 70 | if (this == o) { 71 | return true; 72 | } 73 | if (o == null || getClass() != o.getClass()) { 74 | return false; 75 | } 76 | SupportedLanguages supportedLanguages = (SupportedLanguages) o; 77 | return Objects.equals(this.languages, supportedLanguages.languages); 78 | } 79 | 80 | /** 81 | * Returns the HashCode. 82 | */ 83 | @Override 84 | public int hashCode() { 85 | return Objects.hash(languages); 86 | } 87 | 88 | 89 | /** 90 | * Converts the given object to string. 91 | */ 92 | @Override 93 | public String toString() { 94 | StringBuilder sb = new StringBuilder(); 95 | sb.append("class SupportedLanguages {\n"); 96 | 97 | sb.append(" languages: ").append(toIndentedString(languages)).append("\n"); 98 | sb.append("}"); 99 | return sb.toString(); 100 | } 101 | 102 | /** 103 | * Convert the given object to string with each line indented by 4 spaces 104 | * (except the first line). 105 | */ 106 | private String toIndentedString(java.lang.Object o) { 107 | if (o == null) { 108 | return "null"; 109 | } 110 | return o.toString().replace("\n", "\n "); 111 | } 112 | 113 | } 114 | 115 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/ConnectFailureResults.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import java.util.Objects; 4 | import java.util.Arrays; 5 | import com.docusign.esign.model.ConnectFailureResult; 6 | import com.fasterxml.jackson.annotation.JsonProperty; 7 | import com.fasterxml.jackson.annotation.JsonCreator; 8 | import com.fasterxml.jackson.annotation.JsonValue; 9 | import io.swagger.annotations.ApiModel; 10 | import io.swagger.annotations.ApiModelProperty; 11 | 12 | /** 13 | * ConnectFailureResults. 14 | * 15 | */ 16 | 17 | public class ConnectFailureResults { 18 | @JsonProperty("retryQueue") 19 | private java.util.List retryQueue = null; 20 | 21 | 22 | /** 23 | * retryQueue. 24 | * 25 | * @return ConnectFailureResults 26 | **/ 27 | public ConnectFailureResults retryQueue(java.util.List retryQueue) { 28 | this.retryQueue = retryQueue; 29 | return this; 30 | } 31 | 32 | /** 33 | * addRetryQueueItem. 34 | * 35 | * @return ConnectFailureResults 36 | **/ 37 | public ConnectFailureResults addRetryQueueItem(ConnectFailureResult retryQueueItem) { 38 | if (this.retryQueue == null) { 39 | this.retryQueue = new java.util.ArrayList<>(); 40 | } 41 | this.retryQueue.add(retryQueueItem); 42 | return this; 43 | } 44 | 45 | /** 46 | * . 47 | * @return retryQueue 48 | **/ 49 | @ApiModelProperty(value = "") 50 | public java.util.List getRetryQueue() { 51 | return retryQueue; 52 | } 53 | 54 | /** 55 | * setRetryQueue. 56 | **/ 57 | public void setRetryQueue(java.util.List retryQueue) { 58 | this.retryQueue = retryQueue; 59 | } 60 | 61 | 62 | /** 63 | * Compares objects. 64 | * 65 | * @return true or false depending on comparison result. 66 | */ 67 | @Override 68 | public boolean equals(java.lang.Object o) { 69 | if (this == o) { 70 | return true; 71 | } 72 | if (o == null || getClass() != o.getClass()) { 73 | return false; 74 | } 75 | ConnectFailureResults connectFailureResults = (ConnectFailureResults) o; 76 | return Objects.equals(this.retryQueue, connectFailureResults.retryQueue); 77 | } 78 | 79 | /** 80 | * Returns the HashCode. 81 | */ 82 | @Override 83 | public int hashCode() { 84 | return Objects.hash(retryQueue); 85 | } 86 | 87 | 88 | /** 89 | * Converts the given object to string. 90 | */ 91 | @Override 92 | public String toString() { 93 | StringBuilder sb = new StringBuilder(); 94 | sb.append("class ConnectFailureResults {\n"); 95 | 96 | sb.append(" retryQueue: ").append(toIndentedString(retryQueue)).append("\n"); 97 | sb.append("}"); 98 | return sb.toString(); 99 | } 100 | 101 | /** 102 | * Convert the given object to string with each line indented by 4 spaces 103 | * (except the first line). 104 | */ 105 | private String toIndentedString(java.lang.Object o) { 106 | if (o == null) { 107 | return "null"; 108 | } 109 | return o.toString().replace("\n", "\n "); 110 | } 111 | 112 | } 113 | 114 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/ReservedDomainExistence.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import com.fasterxml.jackson.annotation.JsonProperty; 4 | import io.swagger.annotations.ApiModelProperty; 5 | import java.util.Objects; 6 | 7 | /** ReservedDomainExistence. */ 8 | public class ReservedDomainExistence { 9 | @JsonProperty("emailDomain") 10 | private String emailDomain = null; 11 | 12 | @JsonProperty("isReserved") 13 | private String isReserved = null; 14 | 15 | /** 16 | * emailDomain. 17 | * 18 | * @return ReservedDomainExistence 19 | */ 20 | public ReservedDomainExistence emailDomain(String emailDomain) { 21 | this.emailDomain = emailDomain; 22 | return this; 23 | } 24 | 25 | /** 26 | * . 27 | * 28 | * @return emailDomain 29 | */ 30 | @ApiModelProperty(value = "") 31 | public String getEmailDomain() { 32 | return emailDomain; 33 | } 34 | 35 | /** setEmailDomain. */ 36 | public void setEmailDomain(String emailDomain) { 37 | this.emailDomain = emailDomain; 38 | } 39 | 40 | /** 41 | * isReserved. 42 | * 43 | * @return ReservedDomainExistence 44 | */ 45 | public ReservedDomainExistence isReserved(String isReserved) { 46 | this.isReserved = isReserved; 47 | return this; 48 | } 49 | 50 | /** 51 | * . 52 | * 53 | * @return isReserved 54 | */ 55 | @ApiModelProperty(value = "") 56 | public String getIsReserved() { 57 | return isReserved; 58 | } 59 | 60 | /** setIsReserved. */ 61 | public void setIsReserved(String isReserved) { 62 | this.isReserved = isReserved; 63 | } 64 | 65 | /** 66 | * Compares objects. 67 | * 68 | * @return true or false depending on comparison result. 69 | */ 70 | @Override 71 | public boolean equals(java.lang.Object o) { 72 | if (this == o) { 73 | return true; 74 | } 75 | if (o == null || getClass() != o.getClass()) { 76 | return false; 77 | } 78 | ReservedDomainExistence reservedDomainExistence = (ReservedDomainExistence) o; 79 | return Objects.equals(this.emailDomain, reservedDomainExistence.emailDomain) 80 | && Objects.equals(this.isReserved, reservedDomainExistence.isReserved); 81 | } 82 | 83 | /** Returns the HashCode. */ 84 | @Override 85 | public int hashCode() { 86 | return Objects.hash(emailDomain, isReserved); 87 | } 88 | 89 | /** Converts the given object to string. */ 90 | @Override 91 | public String toString() { 92 | StringBuilder sb = new StringBuilder(); 93 | sb.append("class ReservedDomainExistence {\n"); 94 | 95 | sb.append(" emailDomain: ").append(toIndentedString(emailDomain)).append("\n"); 96 | sb.append(" isReserved: ").append(toIndentedString(isReserved)).append("\n"); 97 | sb.append("}"); 98 | return sb.toString(); 99 | } 100 | 101 | /** 102 | * Convert the given object to string with each line indented by 4 spaces (except the first line). 103 | */ 104 | private String toIndentedString(java.lang.Object o) { 105 | if (o == null) { 106 | return "null"; 107 | } 108 | return o.toString().replace("\n", "\n "); 109 | } 110 | } 111 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/ContactUpdateResponse.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import java.util.Objects; 4 | import java.util.Arrays; 5 | import com.docusign.esign.model.Contact; 6 | import com.fasterxml.jackson.annotation.JsonProperty; 7 | import com.fasterxml.jackson.annotation.JsonCreator; 8 | import com.fasterxml.jackson.annotation.JsonValue; 9 | import io.swagger.annotations.ApiModel; 10 | import io.swagger.annotations.ApiModelProperty; 11 | 12 | /** 13 | * This response objects shows the updated details for the contacts.. 14 | * 15 | */ 16 | @ApiModel(description = "This response objects shows the updated details for the contacts.") 17 | 18 | public class ContactUpdateResponse { 19 | @JsonProperty("contacts") 20 | private java.util.List contacts = null; 21 | 22 | 23 | /** 24 | * contacts. 25 | * 26 | * @return ContactUpdateResponse 27 | **/ 28 | public ContactUpdateResponse contacts(java.util.List contacts) { 29 | this.contacts = contacts; 30 | return this; 31 | } 32 | 33 | /** 34 | * addContactsItem. 35 | * 36 | * @return ContactUpdateResponse 37 | **/ 38 | public ContactUpdateResponse addContactsItem(Contact contactsItem) { 39 | if (this.contacts == null) { 40 | this.contacts = new java.util.ArrayList<>(); 41 | } 42 | this.contacts.add(contactsItem); 43 | return this; 44 | } 45 | 46 | /** 47 | * . 48 | * @return contacts 49 | **/ 50 | @ApiModelProperty(value = "") 51 | public java.util.List getContacts() { 52 | return contacts; 53 | } 54 | 55 | /** 56 | * setContacts. 57 | **/ 58 | public void setContacts(java.util.List contacts) { 59 | this.contacts = contacts; 60 | } 61 | 62 | 63 | /** 64 | * Compares objects. 65 | * 66 | * @return true or false depending on comparison result. 67 | */ 68 | @Override 69 | public boolean equals(java.lang.Object o) { 70 | if (this == o) { 71 | return true; 72 | } 73 | if (o == null || getClass() != o.getClass()) { 74 | return false; 75 | } 76 | ContactUpdateResponse contactUpdateResponse = (ContactUpdateResponse) o; 77 | return Objects.equals(this.contacts, contactUpdateResponse.contacts); 78 | } 79 | 80 | /** 81 | * Returns the HashCode. 82 | */ 83 | @Override 84 | public int hashCode() { 85 | return Objects.hash(contacts); 86 | } 87 | 88 | 89 | /** 90 | * Converts the given object to string. 91 | */ 92 | @Override 93 | public String toString() { 94 | StringBuilder sb = new StringBuilder(); 95 | sb.append("class ContactUpdateResponse {\n"); 96 | 97 | sb.append(" contacts: ").append(toIndentedString(contacts)).append("\n"); 98 | sb.append("}"); 99 | return sb.toString(); 100 | } 101 | 102 | /** 103 | * Convert the given object to string with each line indented by 4 spaces 104 | * (except the first line). 105 | */ 106 | private String toIndentedString(java.lang.Object o) { 107 | if (o == null) { 108 | return "null"; 109 | } 110 | return o.toString().replace("\n", "\n "); 111 | } 112 | 113 | } 114 | 115 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/UpdateTransactionRequest.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import com.fasterxml.jackson.annotation.JsonProperty; 4 | import io.swagger.annotations.ApiModelProperty; 5 | import java.util.Objects; 6 | 7 | /** UpdateTransactionRequest */ 8 | public class UpdateTransactionRequest { 9 | @JsonProperty("code") 10 | private String code = null; 11 | 12 | @JsonProperty("message") 13 | private String message = null; 14 | 15 | @JsonProperty("state") 16 | private String state = null; 17 | 18 | public UpdateTransactionRequest code(String code) { 19 | this.code = code; 20 | return this; 21 | } 22 | 23 | /** @return code */ 24 | @ApiModelProperty(value = "") 25 | public String getCode() { 26 | return code; 27 | } 28 | 29 | public void setCode(String code) { 30 | this.code = code; 31 | } 32 | 33 | public UpdateTransactionRequest message(String message) { 34 | this.message = message; 35 | return this; 36 | } 37 | 38 | /** @return message */ 39 | @ApiModelProperty(value = "") 40 | public String getMessage() { 41 | return message; 42 | } 43 | 44 | public void setMessage(String message) { 45 | this.message = message; 46 | } 47 | 48 | public UpdateTransactionRequest state(String state) { 49 | this.state = state; 50 | return this; 51 | } 52 | 53 | /** 54 | * The state or province associated with the address. 55 | * 56 | * @return state 57 | */ 58 | @ApiModelProperty(value = "The state or province associated with the address.") 59 | public String getState() { 60 | return state; 61 | } 62 | 63 | public void setState(String state) { 64 | this.state = state; 65 | } 66 | 67 | @Override 68 | public boolean equals(java.lang.Object o) { 69 | if (this == o) { 70 | return true; 71 | } 72 | if (o == null || getClass() != o.getClass()) { 73 | return false; 74 | } 75 | UpdateTransactionRequest updateTransactionRequest = (UpdateTransactionRequest) o; 76 | return Objects.equals(this.code, updateTransactionRequest.code) 77 | && Objects.equals(this.message, updateTransactionRequest.message) 78 | && Objects.equals(this.state, updateTransactionRequest.state); 79 | } 80 | 81 | @Override 82 | public int hashCode() { 83 | return Objects.hash(code, message, state); 84 | } 85 | 86 | @Override 87 | public String toString() { 88 | StringBuilder sb = new StringBuilder(); 89 | sb.append("class UpdateTransactionRequest {\n"); 90 | 91 | sb.append(" code: ").append(toIndentedString(code)).append("\n"); 92 | sb.append(" message: ").append(toIndentedString(message)).append("\n"); 93 | sb.append(" state: ").append(toIndentedString(state)).append("\n"); 94 | sb.append("}"); 95 | return sb.toString(); 96 | } 97 | 98 | /** 99 | * Convert the given object to string with each line indented by 4 spaces (except the first line). 100 | */ 101 | private String toIndentedString(java.lang.Object o) { 102 | if (o == null) { 103 | return "null"; 104 | } 105 | return o.toString().replace("\n", "\n "); 106 | } 107 | } 108 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/SigningGroupInformation.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import java.util.Objects; 4 | import java.util.Arrays; 5 | import com.docusign.esign.model.SigningGroup; 6 | import com.fasterxml.jackson.annotation.JsonProperty; 7 | import com.fasterxml.jackson.annotation.JsonCreator; 8 | import com.fasterxml.jackson.annotation.JsonValue; 9 | import io.swagger.annotations.ApiModel; 10 | import io.swagger.annotations.ApiModelProperty; 11 | 12 | /** 13 | * SigningGroupInformation. 14 | * 15 | */ 16 | 17 | public class SigningGroupInformation { 18 | @JsonProperty("groups") 19 | private java.util.List groups = null; 20 | 21 | 22 | /** 23 | * groups. 24 | * 25 | * @return SigningGroupInformation 26 | **/ 27 | public SigningGroupInformation groups(java.util.List groups) { 28 | this.groups = groups; 29 | return this; 30 | } 31 | 32 | /** 33 | * addGroupsItem. 34 | * 35 | * @return SigningGroupInformation 36 | **/ 37 | public SigningGroupInformation addGroupsItem(SigningGroup groupsItem) { 38 | if (this.groups == null) { 39 | this.groups = new java.util.ArrayList<>(); 40 | } 41 | this.groups.add(groupsItem); 42 | return this; 43 | } 44 | 45 | /** 46 | * A collection group objects containing information about the groups returned.. 47 | * @return groups 48 | **/ 49 | @ApiModelProperty(value = "A collection group objects containing information about the groups returned.") 50 | public java.util.List getGroups() { 51 | return groups; 52 | } 53 | 54 | /** 55 | * setGroups. 56 | **/ 57 | public void setGroups(java.util.List groups) { 58 | this.groups = groups; 59 | } 60 | 61 | 62 | /** 63 | * Compares objects. 64 | * 65 | * @return true or false depending on comparison result. 66 | */ 67 | @Override 68 | public boolean equals(java.lang.Object o) { 69 | if (this == o) { 70 | return true; 71 | } 72 | if (o == null || getClass() != o.getClass()) { 73 | return false; 74 | } 75 | SigningGroupInformation signingGroupInformation = (SigningGroupInformation) o; 76 | return Objects.equals(this.groups, signingGroupInformation.groups); 77 | } 78 | 79 | /** 80 | * Returns the HashCode. 81 | */ 82 | @Override 83 | public int hashCode() { 84 | return Objects.hash(groups); 85 | } 86 | 87 | 88 | /** 89 | * Converts the given object to string. 90 | */ 91 | @Override 92 | public String toString() { 93 | StringBuilder sb = new StringBuilder(); 94 | sb.append("class SigningGroupInformation {\n"); 95 | 96 | sb.append(" groups: ").append(toIndentedString(groups)).append("\n"); 97 | sb.append("}"); 98 | return sb.toString(); 99 | } 100 | 101 | /** 102 | * Convert the given object to string with each line indented by 4 spaces 103 | * (except the first line). 104 | */ 105 | private String toIndentedString(java.lang.Object o) { 106 | if (o == null) { 107 | return "null"; 108 | } 109 | return o.toString().replace("\n", "\n "); 110 | } 111 | 112 | } 113 | 114 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/DocumentHtmlDefinitions.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import java.util.Objects; 4 | import java.util.Arrays; 5 | import com.fasterxml.jackson.annotation.JsonProperty; 6 | import com.fasterxml.jackson.annotation.JsonCreator; 7 | import com.fasterxml.jackson.annotation.JsonValue; 8 | import io.swagger.annotations.ApiModel; 9 | import io.swagger.annotations.ApiModelProperty; 10 | 11 | /** 12 | * DocumentHtmlDefinitions. 13 | * 14 | */ 15 | 16 | public class DocumentHtmlDefinitions { 17 | @JsonProperty("htmlDefinitions") 18 | private java.util.List htmlDefinitions = null; 19 | 20 | 21 | /** 22 | * htmlDefinitions. 23 | * 24 | * @return DocumentHtmlDefinitions 25 | **/ 26 | public DocumentHtmlDefinitions htmlDefinitions(java.util.List htmlDefinitions) { 27 | this.htmlDefinitions = htmlDefinitions; 28 | return this; 29 | } 30 | 31 | /** 32 | * addHtmlDefinitionsItem. 33 | * 34 | * @return DocumentHtmlDefinitions 35 | **/ 36 | public DocumentHtmlDefinitions addHtmlDefinitionsItem(String htmlDefinitionsItem) { 37 | if (this.htmlDefinitions == null) { 38 | this.htmlDefinitions = new java.util.ArrayList<>(); 39 | } 40 | this.htmlDefinitions.add(htmlDefinitionsItem); 41 | return this; 42 | } 43 | 44 | /** 45 | * . 46 | * @return htmlDefinitions 47 | **/ 48 | @ApiModelProperty(value = "") 49 | public java.util.List getHtmlDefinitions() { 50 | return htmlDefinitions; 51 | } 52 | 53 | /** 54 | * setHtmlDefinitions. 55 | **/ 56 | public void setHtmlDefinitions(java.util.List htmlDefinitions) { 57 | this.htmlDefinitions = htmlDefinitions; 58 | } 59 | 60 | 61 | /** 62 | * Compares objects. 63 | * 64 | * @return true or false depending on comparison result. 65 | */ 66 | @Override 67 | public boolean equals(java.lang.Object o) { 68 | if (this == o) { 69 | return true; 70 | } 71 | if (o == null || getClass() != o.getClass()) { 72 | return false; 73 | } 74 | DocumentHtmlDefinitions documentHtmlDefinitions = (DocumentHtmlDefinitions) o; 75 | return Objects.equals(this.htmlDefinitions, documentHtmlDefinitions.htmlDefinitions); 76 | } 77 | 78 | /** 79 | * Returns the HashCode. 80 | */ 81 | @Override 82 | public int hashCode() { 83 | return Objects.hash(htmlDefinitions); 84 | } 85 | 86 | 87 | /** 88 | * Converts the given object to string. 89 | */ 90 | @Override 91 | public String toString() { 92 | StringBuilder sb = new StringBuilder(); 93 | sb.append("class DocumentHtmlDefinitions {\n"); 94 | 95 | sb.append(" htmlDefinitions: ").append(toIndentedString(htmlDefinitions)).append("\n"); 96 | sb.append("}"); 97 | return sb.toString(); 98 | } 99 | 100 | /** 101 | * Convert the given object to string with each line indented by 4 spaces 102 | * (except the first line). 103 | */ 104 | private String toIndentedString(java.lang.Object o) { 105 | if (o == null) { 106 | return "null"; 107 | } 108 | return o.toString().replace("\n", "\n "); 109 | } 110 | 111 | } 112 | 113 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/EnvelopeAttachmentsRequest.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import java.util.Objects; 4 | import java.util.Arrays; 5 | import com.docusign.esign.model.Attachment; 6 | import com.fasterxml.jackson.annotation.JsonProperty; 7 | import com.fasterxml.jackson.annotation.JsonCreator; 8 | import com.fasterxml.jackson.annotation.JsonValue; 9 | import io.swagger.annotations.ApiModel; 10 | import io.swagger.annotations.ApiModelProperty; 11 | 12 | /** 13 | * EnvelopeAttachmentsRequest. 14 | * 15 | */ 16 | 17 | public class EnvelopeAttachmentsRequest { 18 | @JsonProperty("attachments") 19 | private java.util.List attachments = null; 20 | 21 | 22 | /** 23 | * attachments. 24 | * 25 | * @return EnvelopeAttachmentsRequest 26 | **/ 27 | public EnvelopeAttachmentsRequest attachments(java.util.List attachments) { 28 | this.attachments = attachments; 29 | return this; 30 | } 31 | 32 | /** 33 | * addAttachmentsItem. 34 | * 35 | * @return EnvelopeAttachmentsRequest 36 | **/ 37 | public EnvelopeAttachmentsRequest addAttachmentsItem(Attachment attachmentsItem) { 38 | if (this.attachments == null) { 39 | this.attachments = new java.util.ArrayList<>(); 40 | } 41 | this.attachments.add(attachmentsItem); 42 | return this; 43 | } 44 | 45 | /** 46 | * . 47 | * @return attachments 48 | **/ 49 | @ApiModelProperty(value = "") 50 | public java.util.List getAttachments() { 51 | return attachments; 52 | } 53 | 54 | /** 55 | * setAttachments. 56 | **/ 57 | public void setAttachments(java.util.List attachments) { 58 | this.attachments = attachments; 59 | } 60 | 61 | 62 | /** 63 | * Compares objects. 64 | * 65 | * @return true or false depending on comparison result. 66 | */ 67 | @Override 68 | public boolean equals(java.lang.Object o) { 69 | if (this == o) { 70 | return true; 71 | } 72 | if (o == null || getClass() != o.getClass()) { 73 | return false; 74 | } 75 | EnvelopeAttachmentsRequest envelopeAttachmentsRequest = (EnvelopeAttachmentsRequest) o; 76 | return Objects.equals(this.attachments, envelopeAttachmentsRequest.attachments); 77 | } 78 | 79 | /** 80 | * Returns the HashCode. 81 | */ 82 | @Override 83 | public int hashCode() { 84 | return Objects.hash(attachments); 85 | } 86 | 87 | 88 | /** 89 | * Converts the given object to string. 90 | */ 91 | @Override 92 | public String toString() { 93 | StringBuilder sb = new StringBuilder(); 94 | sb.append("class EnvelopeAttachmentsRequest {\n"); 95 | 96 | sb.append(" attachments: ").append(toIndentedString(attachments)).append("\n"); 97 | sb.append("}"); 98 | return sb.toString(); 99 | } 100 | 101 | /** 102 | * Convert the given object to string with each line indented by 4 spaces 103 | * (except the first line). 104 | */ 105 | private String toIndentedString(java.lang.Object o) { 106 | if (o == null) { 107 | return "null"; 108 | } 109 | return o.toString().replace("\n", "\n "); 110 | } 111 | 112 | } 113 | 114 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/RecipientSAMLAuthentication.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import com.fasterxml.jackson.annotation.JsonProperty; 4 | import io.swagger.annotations.ApiModel; 5 | import io.swagger.annotations.ApiModelProperty; 6 | import java.util.Objects; 7 | 8 | /** 9 | * Contains the name/value pair information for the SAML assertion attributes: * name - The name of 10 | * the SAML assertion attribute. * value - The value associated with the named SAML assertion 11 | * attribute. Your account must be set up to use SSO to use this. 12 | */ 13 | @ApiModel( 14 | description = 15 | "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.") 16 | public class RecipientSAMLAuthentication { 17 | @JsonProperty("samlAssertionAttributes") 18 | private java.util.List samlAssertionAttributes = 19 | new java.util.ArrayList(); 20 | 21 | public RecipientSAMLAuthentication samlAssertionAttributes( 22 | java.util.List samlAssertionAttributes) { 23 | this.samlAssertionAttributes = samlAssertionAttributes; 24 | return this; 25 | } 26 | 27 | public RecipientSAMLAuthentication addSamlAssertionAttributesItem( 28 | SamlAssertionAttribute samlAssertionAttributesItem) { 29 | this.samlAssertionAttributes.add(samlAssertionAttributesItem); 30 | return this; 31 | } 32 | 33 | /** @return samlAssertionAttributes */ 34 | @ApiModelProperty(example = "null", value = "") 35 | public java.util.List getSamlAssertionAttributes() { 36 | return samlAssertionAttributes; 37 | } 38 | 39 | public void setSamlAssertionAttributes( 40 | java.util.List samlAssertionAttributes) { 41 | this.samlAssertionAttributes = samlAssertionAttributes; 42 | } 43 | 44 | @Override 45 | public boolean equals(java.lang.Object o) { 46 | if (this == o) { 47 | return true; 48 | } 49 | if (o == null || getClass() != o.getClass()) { 50 | return false; 51 | } 52 | RecipientSAMLAuthentication recipientSAMLAuthentication = (RecipientSAMLAuthentication) o; 53 | return Objects.equals( 54 | this.samlAssertionAttributes, recipientSAMLAuthentication.samlAssertionAttributes); 55 | } 56 | 57 | @Override 58 | public int hashCode() { 59 | return Objects.hash(samlAssertionAttributes); 60 | } 61 | 62 | @Override 63 | public String toString() { 64 | StringBuilder sb = new StringBuilder(); 65 | sb.append("class RecipientSAMLAuthentication {\n"); 66 | 67 | sb.append(" samlAssertionAttributes: ") 68 | .append(toIndentedString(samlAssertionAttributes)) 69 | .append("\n"); 70 | sb.append("}"); 71 | return sb.toString(); 72 | } 73 | 74 | /** 75 | * Convert the given object to string with each line indented by 4 spaces (except the first line). 76 | */ 77 | private String toIndentedString(java.lang.Object o) { 78 | if (o == null) { 79 | return "null"; 80 | } 81 | return o.toString().replace("\n", "\n "); 82 | } 83 | } 84 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/ContactModRequest.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import java.util.Objects; 4 | import java.util.Arrays; 5 | import com.docusign.esign.model.Contact; 6 | import com.fasterxml.jackson.annotation.JsonProperty; 7 | import com.fasterxml.jackson.annotation.JsonCreator; 8 | import com.fasterxml.jackson.annotation.JsonValue; 9 | import io.swagger.annotations.ApiModel; 10 | import io.swagger.annotations.ApiModelProperty; 11 | 12 | /** 13 | * The request object containing the new information for the contacts.. 14 | * 15 | */ 16 | @ApiModel(description = "The request object containing the new information for the contacts.") 17 | 18 | public class ContactModRequest { 19 | @JsonProperty("contactList") 20 | private java.util.List contactList = null; 21 | 22 | 23 | /** 24 | * contactList. 25 | * 26 | * @return ContactModRequest 27 | **/ 28 | public ContactModRequest contactList(java.util.List contactList) { 29 | this.contactList = contactList; 30 | return this; 31 | } 32 | 33 | /** 34 | * addContactListItem. 35 | * 36 | * @return ContactModRequest 37 | **/ 38 | public ContactModRequest addContactListItem(Contact contactListItem) { 39 | if (this.contactList == null) { 40 | this.contactList = new java.util.ArrayList<>(); 41 | } 42 | this.contactList.add(contactListItem); 43 | return this; 44 | } 45 | 46 | /** 47 | * . 48 | * @return contactList 49 | **/ 50 | @ApiModelProperty(value = "") 51 | public java.util.List getContactList() { 52 | return contactList; 53 | } 54 | 55 | /** 56 | * setContactList. 57 | **/ 58 | public void setContactList(java.util.List contactList) { 59 | this.contactList = contactList; 60 | } 61 | 62 | 63 | /** 64 | * Compares objects. 65 | * 66 | * @return true or false depending on comparison result. 67 | */ 68 | @Override 69 | public boolean equals(java.lang.Object o) { 70 | if (this == o) { 71 | return true; 72 | } 73 | if (o == null || getClass() != o.getClass()) { 74 | return false; 75 | } 76 | ContactModRequest contactModRequest = (ContactModRequest) o; 77 | return Objects.equals(this.contactList, contactModRequest.contactList); 78 | } 79 | 80 | /** 81 | * Returns the HashCode. 82 | */ 83 | @Override 84 | public int hashCode() { 85 | return Objects.hash(contactList); 86 | } 87 | 88 | 89 | /** 90 | * Converts the given object to string. 91 | */ 92 | @Override 93 | public String toString() { 94 | StringBuilder sb = new StringBuilder(); 95 | sb.append("class ContactModRequest {\n"); 96 | 97 | sb.append(" contactList: ").append(toIndentedString(contactList)).append("\n"); 98 | sb.append("}"); 99 | return sb.toString(); 100 | } 101 | 102 | /** 103 | * Convert the given object to string with each line indented by 4 spaces 104 | * (except the first line). 105 | */ 106 | private String toIndentedString(java.lang.Object o) { 107 | if (o == null) { 108 | return "null"; 109 | } 110 | return o.toString().replace("\n", "\n "); 111 | } 112 | 113 | } 114 | 115 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/BulkProcessingLists.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import java.util.Objects; 4 | import java.util.Arrays; 5 | import com.fasterxml.jackson.annotation.JsonProperty; 6 | import com.fasterxml.jackson.annotation.JsonCreator; 7 | import com.fasterxml.jackson.annotation.JsonValue; 8 | import io.swagger.annotations.ApiModel; 9 | import io.swagger.annotations.ApiModelProperty; 10 | 11 | /** 12 | * BulkProcessingLists. 13 | * 14 | */ 15 | 16 | public class BulkProcessingLists { 17 | @JsonProperty("bulkProcessListIds") 18 | private java.util.List bulkProcessListIds = null; 19 | 20 | 21 | /** 22 | * bulkProcessListIds. 23 | * 24 | * @return BulkProcessingLists 25 | **/ 26 | public BulkProcessingLists bulkProcessListIds(java.util.List bulkProcessListIds) { 27 | this.bulkProcessListIds = bulkProcessListIds; 28 | return this; 29 | } 30 | 31 | /** 32 | * addBulkProcessListIdsItem. 33 | * 34 | * @return BulkProcessingLists 35 | **/ 36 | public BulkProcessingLists addBulkProcessListIdsItem(String bulkProcessListIdsItem) { 37 | if (this.bulkProcessListIds == null) { 38 | this.bulkProcessListIds = new java.util.ArrayList<>(); 39 | } 40 | this.bulkProcessListIds.add(bulkProcessListIdsItem); 41 | return this; 42 | } 43 | 44 | /** 45 | * . 46 | * @return bulkProcessListIds 47 | **/ 48 | @ApiModelProperty(value = "") 49 | public java.util.List getBulkProcessListIds() { 50 | return bulkProcessListIds; 51 | } 52 | 53 | /** 54 | * setBulkProcessListIds. 55 | **/ 56 | public void setBulkProcessListIds(java.util.List bulkProcessListIds) { 57 | this.bulkProcessListIds = bulkProcessListIds; 58 | } 59 | 60 | 61 | /** 62 | * Compares objects. 63 | * 64 | * @return true or false depending on comparison result. 65 | */ 66 | @Override 67 | public boolean equals(java.lang.Object o) { 68 | if (this == o) { 69 | return true; 70 | } 71 | if (o == null || getClass() != o.getClass()) { 72 | return false; 73 | } 74 | BulkProcessingLists bulkProcessingLists = (BulkProcessingLists) o; 75 | return Objects.equals(this.bulkProcessListIds, bulkProcessingLists.bulkProcessListIds); 76 | } 77 | 78 | /** 79 | * Returns the HashCode. 80 | */ 81 | @Override 82 | public int hashCode() { 83 | return Objects.hash(bulkProcessListIds); 84 | } 85 | 86 | 87 | /** 88 | * Converts the given object to string. 89 | */ 90 | @Override 91 | public String toString() { 92 | StringBuilder sb = new StringBuilder(); 93 | sb.append("class BulkProcessingLists {\n"); 94 | 95 | sb.append(" bulkProcessListIds: ").append(toIndentedString(bulkProcessListIds)).append("\n"); 96 | sb.append("}"); 97 | return sb.toString(); 98 | } 99 | 100 | /** 101 | * Convert the given object to string with each line indented by 4 spaces 102 | * (except the first line). 103 | */ 104 | private String toIndentedString(java.lang.Object o) { 105 | if (o == null) { 106 | return "null"; 107 | } 108 | return o.toString().replace("\n", "\n "); 109 | } 110 | 111 | } 112 | 113 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/EnvelopeAttachmentsResult.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import java.util.Objects; 4 | import java.util.Arrays; 5 | import com.docusign.esign.model.EnvelopeAttachment; 6 | import com.fasterxml.jackson.annotation.JsonProperty; 7 | import com.fasterxml.jackson.annotation.JsonCreator; 8 | import com.fasterxml.jackson.annotation.JsonValue; 9 | import io.swagger.annotations.ApiModel; 10 | import io.swagger.annotations.ApiModelProperty; 11 | 12 | /** 13 | * EnvelopeAttachmentsResult. 14 | * 15 | */ 16 | 17 | public class EnvelopeAttachmentsResult { 18 | @JsonProperty("attachments") 19 | private java.util.List attachments = null; 20 | 21 | 22 | /** 23 | * attachments. 24 | * 25 | * @return EnvelopeAttachmentsResult 26 | **/ 27 | public EnvelopeAttachmentsResult attachments(java.util.List attachments) { 28 | this.attachments = attachments; 29 | return this; 30 | } 31 | 32 | /** 33 | * addAttachmentsItem. 34 | * 35 | * @return EnvelopeAttachmentsResult 36 | **/ 37 | public EnvelopeAttachmentsResult addAttachmentsItem(EnvelopeAttachment attachmentsItem) { 38 | if (this.attachments == null) { 39 | this.attachments = new java.util.ArrayList<>(); 40 | } 41 | this.attachments.add(attachmentsItem); 42 | return this; 43 | } 44 | 45 | /** 46 | * . 47 | * @return attachments 48 | **/ 49 | @ApiModelProperty(value = "") 50 | public java.util.List getAttachments() { 51 | return attachments; 52 | } 53 | 54 | /** 55 | * setAttachments. 56 | **/ 57 | public void setAttachments(java.util.List attachments) { 58 | this.attachments = attachments; 59 | } 60 | 61 | 62 | /** 63 | * Compares objects. 64 | * 65 | * @return true or false depending on comparison result. 66 | */ 67 | @Override 68 | public boolean equals(java.lang.Object o) { 69 | if (this == o) { 70 | return true; 71 | } 72 | if (o == null || getClass() != o.getClass()) { 73 | return false; 74 | } 75 | EnvelopeAttachmentsResult envelopeAttachmentsResult = (EnvelopeAttachmentsResult) o; 76 | return Objects.equals(this.attachments, envelopeAttachmentsResult.attachments); 77 | } 78 | 79 | /** 80 | * Returns the HashCode. 81 | */ 82 | @Override 83 | public int hashCode() { 84 | return Objects.hash(attachments); 85 | } 86 | 87 | 88 | /** 89 | * Converts the given object to string. 90 | */ 91 | @Override 92 | public String toString() { 93 | StringBuilder sb = new StringBuilder(); 94 | sb.append("class EnvelopeAttachmentsResult {\n"); 95 | 96 | sb.append(" attachments: ").append(toIndentedString(attachments)).append("\n"); 97 | sb.append("}"); 98 | return sb.toString(); 99 | } 100 | 101 | /** 102 | * Convert the given object to string with each line indented by 4 spaces 103 | * (except the first line). 104 | */ 105 | private String toIndentedString(java.lang.Object o) { 106 | if (o == null) { 107 | return "null"; 108 | } 109 | return o.toString().replace("\n", "\n "); 110 | } 111 | 112 | } 113 | 114 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/PowerFormsFormDataResponse.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import java.util.Objects; 4 | import java.util.Arrays; 5 | import com.docusign.esign.model.PowerFormFormDataEnvelope; 6 | import com.fasterxml.jackson.annotation.JsonProperty; 7 | import com.fasterxml.jackson.annotation.JsonCreator; 8 | import com.fasterxml.jackson.annotation.JsonValue; 9 | import io.swagger.annotations.ApiModel; 10 | import io.swagger.annotations.ApiModelProperty; 11 | 12 | /** 13 | * PowerFormsFormDataResponse. 14 | * 15 | */ 16 | 17 | public class PowerFormsFormDataResponse { 18 | @JsonProperty("envelopes") 19 | private java.util.List envelopes = null; 20 | 21 | 22 | /** 23 | * envelopes. 24 | * 25 | * @return PowerFormsFormDataResponse 26 | **/ 27 | public PowerFormsFormDataResponse envelopes(java.util.List envelopes) { 28 | this.envelopes = envelopes; 29 | return this; 30 | } 31 | 32 | /** 33 | * addEnvelopesItem. 34 | * 35 | * @return PowerFormsFormDataResponse 36 | **/ 37 | public PowerFormsFormDataResponse addEnvelopesItem(PowerFormFormDataEnvelope envelopesItem) { 38 | if (this.envelopes == null) { 39 | this.envelopes = new java.util.ArrayList<>(); 40 | } 41 | this.envelopes.add(envelopesItem); 42 | return this; 43 | } 44 | 45 | /** 46 | * . 47 | * @return envelopes 48 | **/ 49 | @ApiModelProperty(value = "") 50 | public java.util.List getEnvelopes() { 51 | return envelopes; 52 | } 53 | 54 | /** 55 | * setEnvelopes. 56 | **/ 57 | public void setEnvelopes(java.util.List envelopes) { 58 | this.envelopes = envelopes; 59 | } 60 | 61 | 62 | /** 63 | * Compares objects. 64 | * 65 | * @return true or false depending on comparison result. 66 | */ 67 | @Override 68 | public boolean equals(java.lang.Object o) { 69 | if (this == o) { 70 | return true; 71 | } 72 | if (o == null || getClass() != o.getClass()) { 73 | return false; 74 | } 75 | PowerFormsFormDataResponse powerFormsFormDataResponse = (PowerFormsFormDataResponse) o; 76 | return Objects.equals(this.envelopes, powerFormsFormDataResponse.envelopes); 77 | } 78 | 79 | /** 80 | * Returns the HashCode. 81 | */ 82 | @Override 83 | public int hashCode() { 84 | return Objects.hash(envelopes); 85 | } 86 | 87 | 88 | /** 89 | * Converts the given object to string. 90 | */ 91 | @Override 92 | public String toString() { 93 | StringBuilder sb = new StringBuilder(); 94 | sb.append("class PowerFormsFormDataResponse {\n"); 95 | 96 | sb.append(" envelopes: ").append(toIndentedString(envelopes)).append("\n"); 97 | sb.append("}"); 98 | return sb.toString(); 99 | } 100 | 101 | /** 102 | * Convert the given object to string with each line indented by 4 spaces 103 | * (except the first line). 104 | */ 105 | private String toIndentedString(java.lang.Object o) { 106 | if (o == null) { 107 | return "null"; 108 | } 109 | return o.toString().replace("\n", "\n "); 110 | } 111 | 112 | } 113 | 114 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/AccountPasswordStrengthType.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import java.util.Objects; 4 | import java.util.Arrays; 5 | import com.docusign.esign.model.AccountPasswordStrengthTypeOption; 6 | import com.fasterxml.jackson.annotation.JsonProperty; 7 | import com.fasterxml.jackson.annotation.JsonCreator; 8 | import com.fasterxml.jackson.annotation.JsonValue; 9 | import io.swagger.annotations.ApiModel; 10 | import io.swagger.annotations.ApiModelProperty; 11 | 12 | /** 13 | * AccountPasswordStrengthType. 14 | * 15 | */ 16 | 17 | public class AccountPasswordStrengthType { 18 | @JsonProperty("options") 19 | private java.util.List options = null; 20 | 21 | 22 | /** 23 | * options. 24 | * 25 | * @return AccountPasswordStrengthType 26 | **/ 27 | public AccountPasswordStrengthType options(java.util.List options) { 28 | this.options = options; 29 | return this; 30 | } 31 | 32 | /** 33 | * addOptionsItem. 34 | * 35 | * @return AccountPasswordStrengthType 36 | **/ 37 | public AccountPasswordStrengthType addOptionsItem(AccountPasswordStrengthTypeOption optionsItem) { 38 | if (this.options == null) { 39 | this.options = new java.util.ArrayList<>(); 40 | } 41 | this.options.add(optionsItem); 42 | return this; 43 | } 44 | 45 | /** 46 | * . 47 | * @return options 48 | **/ 49 | @ApiModelProperty(value = "") 50 | public java.util.List getOptions() { 51 | return options; 52 | } 53 | 54 | /** 55 | * setOptions. 56 | **/ 57 | public void setOptions(java.util.List options) { 58 | this.options = options; 59 | } 60 | 61 | 62 | /** 63 | * Compares objects. 64 | * 65 | * @return true or false depending on comparison result. 66 | */ 67 | @Override 68 | public boolean equals(java.lang.Object o) { 69 | if (this == o) { 70 | return true; 71 | } 72 | if (o == null || getClass() != o.getClass()) { 73 | return false; 74 | } 75 | AccountPasswordStrengthType accountPasswordStrengthType = (AccountPasswordStrengthType) o; 76 | return Objects.equals(this.options, accountPasswordStrengthType.options); 77 | } 78 | 79 | /** 80 | * Returns the HashCode. 81 | */ 82 | @Override 83 | public int hashCode() { 84 | return Objects.hash(options); 85 | } 86 | 87 | 88 | /** 89 | * Converts the given object to string. 90 | */ 91 | @Override 92 | public String toString() { 93 | StringBuilder sb = new StringBuilder(); 94 | sb.append("class AccountPasswordStrengthType {\n"); 95 | 96 | sb.append(" options: ").append(toIndentedString(options)).append("\n"); 97 | sb.append("}"); 98 | return sb.toString(); 99 | } 100 | 101 | /** 102 | * Convert the given object to string with each line indented by 4 spaces 103 | * (except the first line). 104 | */ 105 | private String toIndentedString(java.lang.Object o) { 106 | if (o == null) { 107 | return "null"; 108 | } 109 | return o.toString().replace("\n", "\n "); 110 | } 111 | 112 | } 113 | 114 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/CommentsPublish.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import java.util.Objects; 4 | import java.util.Arrays; 5 | import com.docusign.esign.model.CommentPublish; 6 | import com.fasterxml.jackson.annotation.JsonProperty; 7 | import com.fasterxml.jackson.annotation.JsonCreator; 8 | import com.fasterxml.jackson.annotation.JsonValue; 9 | import io.swagger.annotations.ApiModel; 10 | import io.swagger.annotations.ApiModelProperty; 11 | 12 | /** 13 | * CommentsPublish. 14 | * 15 | */ 16 | 17 | public class CommentsPublish { 18 | @JsonProperty("commentsToPublish") 19 | private java.util.List commentsToPublish = null; 20 | 21 | 22 | /** 23 | * commentsToPublish. 24 | * 25 | * @return CommentsPublish 26 | **/ 27 | public CommentsPublish commentsToPublish(java.util.List commentsToPublish) { 28 | this.commentsToPublish = commentsToPublish; 29 | return this; 30 | } 31 | 32 | /** 33 | * addCommentsToPublishItem. 34 | * 35 | * @return CommentsPublish 36 | **/ 37 | public CommentsPublish addCommentsToPublishItem(CommentPublish commentsToPublishItem) { 38 | if (this.commentsToPublish == null) { 39 | this.commentsToPublish = new java.util.ArrayList<>(); 40 | } 41 | this.commentsToPublish.add(commentsToPublishItem); 42 | return this; 43 | } 44 | 45 | /** 46 | * . 47 | * @return commentsToPublish 48 | **/ 49 | @ApiModelProperty(value = "") 50 | public java.util.List getCommentsToPublish() { 51 | return commentsToPublish; 52 | } 53 | 54 | /** 55 | * setCommentsToPublish. 56 | **/ 57 | public void setCommentsToPublish(java.util.List commentsToPublish) { 58 | this.commentsToPublish = commentsToPublish; 59 | } 60 | 61 | 62 | /** 63 | * Compares objects. 64 | * 65 | * @return true or false depending on comparison result. 66 | */ 67 | @Override 68 | public boolean equals(java.lang.Object o) { 69 | if (this == o) { 70 | return true; 71 | } 72 | if (o == null || getClass() != o.getClass()) { 73 | return false; 74 | } 75 | CommentsPublish commentsPublish = (CommentsPublish) o; 76 | return Objects.equals(this.commentsToPublish, commentsPublish.commentsToPublish); 77 | } 78 | 79 | /** 80 | * Returns the HashCode. 81 | */ 82 | @Override 83 | public int hashCode() { 84 | return Objects.hash(commentsToPublish); 85 | } 86 | 87 | 88 | /** 89 | * Converts the given object to string. 90 | */ 91 | @Override 92 | public String toString() { 93 | StringBuilder sb = new StringBuilder(); 94 | sb.append("class CommentsPublish {\n"); 95 | 96 | sb.append(" commentsToPublish: ").append(toIndentedString(commentsToPublish)).append("\n"); 97 | sb.append("}"); 98 | return sb.toString(); 99 | } 100 | 101 | /** 102 | * Convert the given object to string with each line indented by 4 spaces 103 | * (except the first line). 104 | */ 105 | private String toIndentedString(java.lang.Object o) { 106 | if (o == null) { 107 | return "null"; 108 | } 109 | return o.toString().replace("\n", "\n "); 110 | } 111 | 112 | } 113 | 114 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/SmartContractInformation.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import java.util.Objects; 4 | import java.util.Arrays; 5 | import com.fasterxml.jackson.annotation.JsonProperty; 6 | import com.fasterxml.jackson.annotation.JsonCreator; 7 | import com.fasterxml.jackson.annotation.JsonValue; 8 | import io.swagger.annotations.ApiModel; 9 | import io.swagger.annotations.ApiModelProperty; 10 | 11 | /** 12 | * SmartContractInformation. 13 | * 14 | */ 15 | 16 | public class SmartContractInformation { 17 | @JsonProperty("code") 18 | private String code = null; 19 | 20 | @JsonProperty("uri") 21 | private String uri = null; 22 | 23 | 24 | /** 25 | * code. 26 | * 27 | * @return SmartContractInformation 28 | **/ 29 | public SmartContractInformation code(String code) { 30 | this.code = code; 31 | return this; 32 | } 33 | 34 | /** 35 | * . 36 | * @return code 37 | **/ 38 | @ApiModelProperty(value = "") 39 | public String getCode() { 40 | return code; 41 | } 42 | 43 | /** 44 | * setCode. 45 | **/ 46 | public void setCode(String code) { 47 | this.code = code; 48 | } 49 | 50 | 51 | /** 52 | * uri. 53 | * 54 | * @return SmartContractInformation 55 | **/ 56 | public SmartContractInformation uri(String uri) { 57 | this.uri = uri; 58 | return this; 59 | } 60 | 61 | /** 62 | * . 63 | * @return uri 64 | **/ 65 | @ApiModelProperty(value = "") 66 | public String getUri() { 67 | return uri; 68 | } 69 | 70 | /** 71 | * setUri. 72 | **/ 73 | public void setUri(String uri) { 74 | this.uri = uri; 75 | } 76 | 77 | 78 | /** 79 | * Compares objects. 80 | * 81 | * @return true or false depending on comparison result. 82 | */ 83 | @Override 84 | public boolean equals(java.lang.Object o) { 85 | if (this == o) { 86 | return true; 87 | } 88 | if (o == null || getClass() != o.getClass()) { 89 | return false; 90 | } 91 | SmartContractInformation smartContractInformation = (SmartContractInformation) o; 92 | return Objects.equals(this.code, smartContractInformation.code) && 93 | Objects.equals(this.uri, smartContractInformation.uri); 94 | } 95 | 96 | /** 97 | * Returns the HashCode. 98 | */ 99 | @Override 100 | public int hashCode() { 101 | return Objects.hash(code, uri); 102 | } 103 | 104 | 105 | /** 106 | * Converts the given object to string. 107 | */ 108 | @Override 109 | public String toString() { 110 | StringBuilder sb = new StringBuilder(); 111 | sb.append("class SmartContractInformation {\n"); 112 | 113 | sb.append(" code: ").append(toIndentedString(code)).append("\n"); 114 | sb.append(" uri: ").append(toIndentedString(uri)).append("\n"); 115 | sb.append("}"); 116 | return sb.toString(); 117 | } 118 | 119 | /** 120 | * Convert the given object to string with each line indented by 4 spaces 121 | * (except the first line). 122 | */ 123 | private String toIndentedString(java.lang.Object o) { 124 | if (o == null) { 125 | return "null"; 126 | } 127 | return o.toString().replace("\n", "\n "); 128 | } 129 | 130 | } 131 | 132 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/CustomSettingsInformation.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import java.util.Objects; 4 | import java.util.Arrays; 5 | import com.docusign.esign.model.NameValue; 6 | import com.fasterxml.jackson.annotation.JsonProperty; 7 | import com.fasterxml.jackson.annotation.JsonCreator; 8 | import com.fasterxml.jackson.annotation.JsonValue; 9 | import io.swagger.annotations.ApiModel; 10 | import io.swagger.annotations.ApiModelProperty; 11 | 12 | /** 13 | * CustomSettingsInformation. 14 | * 15 | */ 16 | 17 | public class CustomSettingsInformation { 18 | @JsonProperty("customSettings") 19 | private java.util.List customSettings = null; 20 | 21 | 22 | /** 23 | * customSettings. 24 | * 25 | * @return CustomSettingsInformation 26 | **/ 27 | public CustomSettingsInformation customSettings(java.util.List customSettings) { 28 | this.customSettings = customSettings; 29 | return this; 30 | } 31 | 32 | /** 33 | * addCustomSettingsItem. 34 | * 35 | * @return CustomSettingsInformation 36 | **/ 37 | public CustomSettingsInformation addCustomSettingsItem(NameValue customSettingsItem) { 38 | if (this.customSettings == null) { 39 | this.customSettings = new java.util.ArrayList<>(); 40 | } 41 | this.customSettings.add(customSettingsItem); 42 | return this; 43 | } 44 | 45 | /** 46 | * . 47 | * @return customSettings 48 | **/ 49 | @ApiModelProperty(value = "") 50 | public java.util.List getCustomSettings() { 51 | return customSettings; 52 | } 53 | 54 | /** 55 | * setCustomSettings. 56 | **/ 57 | public void setCustomSettings(java.util.List customSettings) { 58 | this.customSettings = customSettings; 59 | } 60 | 61 | 62 | /** 63 | * Compares objects. 64 | * 65 | * @return true or false depending on comparison result. 66 | */ 67 | @Override 68 | public boolean equals(java.lang.Object o) { 69 | if (this == o) { 70 | return true; 71 | } 72 | if (o == null || getClass() != o.getClass()) { 73 | return false; 74 | } 75 | CustomSettingsInformation customSettingsInformation = (CustomSettingsInformation) o; 76 | return Objects.equals(this.customSettings, customSettingsInformation.customSettings); 77 | } 78 | 79 | /** 80 | * Returns the HashCode. 81 | */ 82 | @Override 83 | public int hashCode() { 84 | return Objects.hash(customSettings); 85 | } 86 | 87 | 88 | /** 89 | * Converts the given object to string. 90 | */ 91 | @Override 92 | public String toString() { 93 | StringBuilder sb = new StringBuilder(); 94 | sb.append("class CustomSettingsInformation {\n"); 95 | 96 | sb.append(" customSettings: ").append(toIndentedString(customSettings)).append("\n"); 97 | sb.append("}"); 98 | return sb.toString(); 99 | } 100 | 101 | /** 102 | * Convert the given object to string with each line indented by 4 spaces 103 | * (except the first line). 104 | */ 105 | private String toIndentedString(java.lang.Object o) { 106 | if (o == null) { 107 | return "null"; 108 | } 109 | return o.toString().replace("\n", "\n "); 110 | } 111 | 112 | } 113 | 114 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/EnvelopeAuditEventResponse.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import java.util.Objects; 4 | import java.util.Arrays; 5 | import com.docusign.esign.model.EnvelopeAuditEvent; 6 | import com.fasterxml.jackson.annotation.JsonProperty; 7 | import com.fasterxml.jackson.annotation.JsonCreator; 8 | import com.fasterxml.jackson.annotation.JsonValue; 9 | import io.swagger.annotations.ApiModel; 10 | import io.swagger.annotations.ApiModelProperty; 11 | 12 | /** 13 | * EnvelopeAuditEventResponse. 14 | * 15 | */ 16 | 17 | public class EnvelopeAuditEventResponse { 18 | @JsonProperty("auditEvents") 19 | private java.util.List auditEvents = null; 20 | 21 | 22 | /** 23 | * auditEvents. 24 | * 25 | * @return EnvelopeAuditEventResponse 26 | **/ 27 | public EnvelopeAuditEventResponse auditEvents(java.util.List auditEvents) { 28 | this.auditEvents = auditEvents; 29 | return this; 30 | } 31 | 32 | /** 33 | * addAuditEventsItem. 34 | * 35 | * @return EnvelopeAuditEventResponse 36 | **/ 37 | public EnvelopeAuditEventResponse addAuditEventsItem(EnvelopeAuditEvent auditEventsItem) { 38 | if (this.auditEvents == null) { 39 | this.auditEvents = new java.util.ArrayList<>(); 40 | } 41 | this.auditEvents.add(auditEventsItem); 42 | return this; 43 | } 44 | 45 | /** 46 | * Reserved: TBD. 47 | * @return auditEvents 48 | **/ 49 | @ApiModelProperty(value = "Reserved: TBD") 50 | public java.util.List getAuditEvents() { 51 | return auditEvents; 52 | } 53 | 54 | /** 55 | * setAuditEvents. 56 | **/ 57 | public void setAuditEvents(java.util.List auditEvents) { 58 | this.auditEvents = auditEvents; 59 | } 60 | 61 | 62 | /** 63 | * Compares objects. 64 | * 65 | * @return true or false depending on comparison result. 66 | */ 67 | @Override 68 | public boolean equals(java.lang.Object o) { 69 | if (this == o) { 70 | return true; 71 | } 72 | if (o == null || getClass() != o.getClass()) { 73 | return false; 74 | } 75 | EnvelopeAuditEventResponse envelopeAuditEventResponse = (EnvelopeAuditEventResponse) o; 76 | return Objects.equals(this.auditEvents, envelopeAuditEventResponse.auditEvents); 77 | } 78 | 79 | /** 80 | * Returns the HashCode. 81 | */ 82 | @Override 83 | public int hashCode() { 84 | return Objects.hash(auditEvents); 85 | } 86 | 87 | 88 | /** 89 | * Converts the given object to string. 90 | */ 91 | @Override 92 | public String toString() { 93 | StringBuilder sb = new StringBuilder(); 94 | sb.append("class EnvelopeAuditEventResponse {\n"); 95 | 96 | sb.append(" auditEvents: ").append(toIndentedString(auditEvents)).append("\n"); 97 | sb.append("}"); 98 | return sb.toString(); 99 | } 100 | 101 | /** 102 | * Convert the given object to string with each line indented by 4 spaces 103 | * (except the first line). 104 | */ 105 | private String toIndentedString(java.lang.Object o) { 106 | if (o == null) { 107 | return "null"; 108 | } 109 | return o.toString().replace("\n", "\n "); 110 | } 111 | 112 | } 113 | 114 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/ProofServiceResourceToken.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import com.fasterxml.jackson.annotation.JsonProperty; 4 | import io.swagger.annotations.ApiModelProperty; 5 | import java.util.Objects; 6 | 7 | /** ProofServiceResourceToken. */ 8 | public class ProofServiceResourceToken { 9 | @JsonProperty("proofBaseURI") 10 | private String proofBaseURI = null; 11 | 12 | @JsonProperty("resourceToken") 13 | private String resourceToken = null; 14 | 15 | /** 16 | * proofBaseURI. 17 | * 18 | * @return ProofServiceResourceToken 19 | */ 20 | public ProofServiceResourceToken proofBaseURI(String proofBaseURI) { 21 | this.proofBaseURI = proofBaseURI; 22 | return this; 23 | } 24 | 25 | /** 26 | * . 27 | * 28 | * @return proofBaseURI 29 | */ 30 | @ApiModelProperty(value = "") 31 | public String getProofBaseURI() { 32 | return proofBaseURI; 33 | } 34 | 35 | /** setProofBaseURI. */ 36 | public void setProofBaseURI(String proofBaseURI) { 37 | this.proofBaseURI = proofBaseURI; 38 | } 39 | 40 | /** 41 | * resourceToken. 42 | * 43 | * @return ProofServiceResourceToken 44 | */ 45 | public ProofServiceResourceToken resourceToken(String resourceToken) { 46 | this.resourceToken = resourceToken; 47 | return this; 48 | } 49 | 50 | /** 51 | * . 52 | * 53 | * @return resourceToken 54 | */ 55 | @ApiModelProperty(value = "") 56 | public String getResourceToken() { 57 | return resourceToken; 58 | } 59 | 60 | /** setResourceToken. */ 61 | public void setResourceToken(String resourceToken) { 62 | this.resourceToken = resourceToken; 63 | } 64 | 65 | /** 66 | * Compares objects. 67 | * 68 | * @return true or false depending on comparison result. 69 | */ 70 | @Override 71 | public boolean equals(java.lang.Object o) { 72 | if (this == o) { 73 | return true; 74 | } 75 | if (o == null || getClass() != o.getClass()) { 76 | return false; 77 | } 78 | ProofServiceResourceToken proofServiceResourceToken = (ProofServiceResourceToken) o; 79 | return Objects.equals(this.proofBaseURI, proofServiceResourceToken.proofBaseURI) 80 | && Objects.equals(this.resourceToken, proofServiceResourceToken.resourceToken); 81 | } 82 | 83 | /** Returns the HashCode. */ 84 | @Override 85 | public int hashCode() { 86 | return Objects.hash(proofBaseURI, resourceToken); 87 | } 88 | 89 | /** Converts the given object to string. */ 90 | @Override 91 | public String toString() { 92 | StringBuilder sb = new StringBuilder(); 93 | sb.append("class ProofServiceResourceToken {\n"); 94 | 95 | sb.append(" proofBaseURI: ").append(toIndentedString(proofBaseURI)).append("\n"); 96 | sb.append(" resourceToken: ").append(toIndentedString(resourceToken)).append("\n"); 97 | sb.append("}"); 98 | return sb.toString(); 99 | } 100 | 101 | /** 102 | * Convert the given object to string with each line indented by 4 spaces (except the first line). 103 | */ 104 | private String toIndentedString(java.lang.Object o) { 105 | if (o == null) { 106 | return "null"; 107 | } 108 | return o.toString().replace("\n", "\n "); 109 | } 110 | } 111 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/BillingPlansResponse.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import java.util.Objects; 4 | import java.util.Arrays; 5 | import com.docusign.esign.model.BillingPlan; 6 | import com.fasterxml.jackson.annotation.JsonProperty; 7 | import com.fasterxml.jackson.annotation.JsonCreator; 8 | import com.fasterxml.jackson.annotation.JsonValue; 9 | import io.swagger.annotations.ApiModel; 10 | import io.swagger.annotations.ApiModelProperty; 11 | 12 | /** 13 | * Defines a billing plans response object.. 14 | * 15 | */ 16 | @ApiModel(description = "Defines a billing plans response object.") 17 | 18 | public class BillingPlansResponse { 19 | @JsonProperty("billingPlans") 20 | private java.util.List billingPlans = null; 21 | 22 | 23 | /** 24 | * billingPlans. 25 | * 26 | * @return BillingPlansResponse 27 | **/ 28 | public BillingPlansResponse billingPlans(java.util.List billingPlans) { 29 | this.billingPlans = billingPlans; 30 | return this; 31 | } 32 | 33 | /** 34 | * addBillingPlansItem. 35 | * 36 | * @return BillingPlansResponse 37 | **/ 38 | public BillingPlansResponse addBillingPlansItem(BillingPlan billingPlansItem) { 39 | if (this.billingPlans == null) { 40 | this.billingPlans = new java.util.ArrayList<>(); 41 | } 42 | this.billingPlans.add(billingPlansItem); 43 | return this; 44 | } 45 | 46 | /** 47 | * Reserved: TBD. 48 | * @return billingPlans 49 | **/ 50 | @ApiModelProperty(value = "Reserved: TBD") 51 | public java.util.List getBillingPlans() { 52 | return billingPlans; 53 | } 54 | 55 | /** 56 | * setBillingPlans. 57 | **/ 58 | public void setBillingPlans(java.util.List billingPlans) { 59 | this.billingPlans = billingPlans; 60 | } 61 | 62 | 63 | /** 64 | * Compares objects. 65 | * 66 | * @return true or false depending on comparison result. 67 | */ 68 | @Override 69 | public boolean equals(java.lang.Object o) { 70 | if (this == o) { 71 | return true; 72 | } 73 | if (o == null || getClass() != o.getClass()) { 74 | return false; 75 | } 76 | BillingPlansResponse billingPlansResponse = (BillingPlansResponse) o; 77 | return Objects.equals(this.billingPlans, billingPlansResponse.billingPlans); 78 | } 79 | 80 | /** 81 | * Returns the HashCode. 82 | */ 83 | @Override 84 | public int hashCode() { 85 | return Objects.hash(billingPlans); 86 | } 87 | 88 | 89 | /** 90 | * Converts the given object to string. 91 | */ 92 | @Override 93 | public String toString() { 94 | StringBuilder sb = new StringBuilder(); 95 | sb.append("class BillingPlansResponse {\n"); 96 | 97 | sb.append(" billingPlans: ").append(toIndentedString(billingPlans)).append("\n"); 98 | sb.append("}"); 99 | return sb.toString(); 100 | } 101 | 102 | /** 103 | * Convert the given object to string with each line indented by 4 spaces 104 | * (except the first line). 105 | */ 106 | private String toIndentedString(java.lang.Object o) { 107 | if (o == null) { 108 | return "null"; 109 | } 110 | return o.toString().replace("\n", "\n "); 111 | } 112 | 113 | } 114 | 115 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/SignatureGroupDef.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import java.util.Objects; 4 | import java.util.Arrays; 5 | import com.fasterxml.jackson.annotation.JsonProperty; 6 | import com.fasterxml.jackson.annotation.JsonCreator; 7 | import com.fasterxml.jackson.annotation.JsonValue; 8 | import io.swagger.annotations.ApiModel; 9 | import io.swagger.annotations.ApiModelProperty; 10 | 11 | /** 12 | * SignatureGroupDef. 13 | * 14 | */ 15 | 16 | public class SignatureGroupDef { 17 | @JsonProperty("groupId") 18 | private String groupId = null; 19 | 20 | @JsonProperty("rights") 21 | private String rights = null; 22 | 23 | 24 | /** 25 | * groupId. 26 | * 27 | * @return SignatureGroupDef 28 | **/ 29 | public SignatureGroupDef groupId(String groupId) { 30 | this.groupId = groupId; 31 | return this; 32 | } 33 | 34 | /** 35 | * . 36 | * @return groupId 37 | **/ 38 | @ApiModelProperty(value = "") 39 | public String getGroupId() { 40 | return groupId; 41 | } 42 | 43 | /** 44 | * setGroupId. 45 | **/ 46 | public void setGroupId(String groupId) { 47 | this.groupId = groupId; 48 | } 49 | 50 | 51 | /** 52 | * rights. 53 | * 54 | * @return SignatureGroupDef 55 | **/ 56 | public SignatureGroupDef rights(String rights) { 57 | this.rights = rights; 58 | return this; 59 | } 60 | 61 | /** 62 | * . 63 | * @return rights 64 | **/ 65 | @ApiModelProperty(value = "") 66 | public String getRights() { 67 | return rights; 68 | } 69 | 70 | /** 71 | * setRights. 72 | **/ 73 | public void setRights(String rights) { 74 | this.rights = rights; 75 | } 76 | 77 | 78 | /** 79 | * Compares objects. 80 | * 81 | * @return true or false depending on comparison result. 82 | */ 83 | @Override 84 | public boolean equals(java.lang.Object o) { 85 | if (this == o) { 86 | return true; 87 | } 88 | if (o == null || getClass() != o.getClass()) { 89 | return false; 90 | } 91 | SignatureGroupDef signatureGroupDef = (SignatureGroupDef) o; 92 | return Objects.equals(this.groupId, signatureGroupDef.groupId) && 93 | Objects.equals(this.rights, signatureGroupDef.rights); 94 | } 95 | 96 | /** 97 | * Returns the HashCode. 98 | */ 99 | @Override 100 | public int hashCode() { 101 | return Objects.hash(groupId, rights); 102 | } 103 | 104 | 105 | /** 106 | * Converts the given object to string. 107 | */ 108 | @Override 109 | public String toString() { 110 | StringBuilder sb = new StringBuilder(); 111 | sb.append("class SignatureGroupDef {\n"); 112 | 113 | sb.append(" groupId: ").append(toIndentedString(groupId)).append("\n"); 114 | sb.append(" rights: ").append(toIndentedString(rights)).append("\n"); 115 | sb.append("}"); 116 | return sb.toString(); 117 | } 118 | 119 | /** 120 | * Convert the given object to string with each line indented by 4 spaces 121 | * (except the first line). 122 | */ 123 | private String toIndentedString(java.lang.Object o) { 124 | if (o == null) { 125 | return "null"; 126 | } 127 | return o.toString().replace("\n", "\n "); 128 | } 129 | 130 | } 131 | 132 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/UserSignaturesInformation.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import java.util.Objects; 4 | import java.util.Arrays; 5 | import com.docusign.esign.model.UserSignature; 6 | import com.fasterxml.jackson.annotation.JsonProperty; 7 | import com.fasterxml.jackson.annotation.JsonCreator; 8 | import com.fasterxml.jackson.annotation.JsonValue; 9 | import io.swagger.annotations.ApiModel; 10 | import io.swagger.annotations.ApiModelProperty; 11 | 12 | /** 13 | * UserSignaturesInformation. 14 | * 15 | */ 16 | 17 | public class UserSignaturesInformation { 18 | @JsonProperty("userSignatures") 19 | private java.util.List userSignatures = null; 20 | 21 | 22 | /** 23 | * userSignatures. 24 | * 25 | * @return UserSignaturesInformation 26 | **/ 27 | public UserSignaturesInformation userSignatures(java.util.List userSignatures) { 28 | this.userSignatures = userSignatures; 29 | return this; 30 | } 31 | 32 | /** 33 | * addUserSignaturesItem. 34 | * 35 | * @return UserSignaturesInformation 36 | **/ 37 | public UserSignaturesInformation addUserSignaturesItem(UserSignature userSignaturesItem) { 38 | if (this.userSignatures == null) { 39 | this.userSignatures = new java.util.ArrayList<>(); 40 | } 41 | this.userSignatures.add(userSignaturesItem); 42 | return this; 43 | } 44 | 45 | /** 46 | * . 47 | * @return userSignatures 48 | **/ 49 | @ApiModelProperty(value = "") 50 | public java.util.List getUserSignatures() { 51 | return userSignatures; 52 | } 53 | 54 | /** 55 | * setUserSignatures. 56 | **/ 57 | public void setUserSignatures(java.util.List userSignatures) { 58 | this.userSignatures = userSignatures; 59 | } 60 | 61 | 62 | /** 63 | * Compares objects. 64 | * 65 | * @return true or false depending on comparison result. 66 | */ 67 | @Override 68 | public boolean equals(java.lang.Object o) { 69 | if (this == o) { 70 | return true; 71 | } 72 | if (o == null || getClass() != o.getClass()) { 73 | return false; 74 | } 75 | UserSignaturesInformation userSignaturesInformation = (UserSignaturesInformation) o; 76 | return Objects.equals(this.userSignatures, userSignaturesInformation.userSignatures); 77 | } 78 | 79 | /** 80 | * Returns the HashCode. 81 | */ 82 | @Override 83 | public int hashCode() { 84 | return Objects.hash(userSignatures); 85 | } 86 | 87 | 88 | /** 89 | * Converts the given object to string. 90 | */ 91 | @Override 92 | public String toString() { 93 | StringBuilder sb = new StringBuilder(); 94 | sb.append("class UserSignaturesInformation {\n"); 95 | 96 | sb.append(" userSignatures: ").append(toIndentedString(userSignatures)).append("\n"); 97 | sb.append("}"); 98 | return sb.toString(); 99 | } 100 | 101 | /** 102 | * Convert the given object to string with each line indented by 4 spaces 103 | * (except the first line). 104 | */ 105 | private String toIndentedString(java.lang.Object o) { 106 | if (o == null) { 107 | return "null"; 108 | } 109 | return o.toString().replace("\n", "\n "); 110 | } 111 | 112 | } 113 | 114 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/BulkRecipientTabLabel.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import java.util.Objects; 4 | import java.util.Arrays; 5 | import com.fasterxml.jackson.annotation.JsonProperty; 6 | import com.fasterxml.jackson.annotation.JsonCreator; 7 | import com.fasterxml.jackson.annotation.JsonValue; 8 | import io.swagger.annotations.ApiModel; 9 | import io.swagger.annotations.ApiModelProperty; 10 | 11 | /** 12 | * BulkRecipientTabLabel. 13 | * 14 | */ 15 | 16 | public class BulkRecipientTabLabel { 17 | @JsonProperty("name") 18 | private String name = null; 19 | 20 | @JsonProperty("value") 21 | private String value = null; 22 | 23 | 24 | /** 25 | * name. 26 | * 27 | * @return BulkRecipientTabLabel 28 | **/ 29 | public BulkRecipientTabLabel name(String name) { 30 | this.name = name; 31 | return this; 32 | } 33 | 34 | /** 35 | * . 36 | * @return name 37 | **/ 38 | @ApiModelProperty(value = "") 39 | public String getName() { 40 | return name; 41 | } 42 | 43 | /** 44 | * setName. 45 | **/ 46 | public void setName(String name) { 47 | this.name = name; 48 | } 49 | 50 | 51 | /** 52 | * value. 53 | * 54 | * @return BulkRecipientTabLabel 55 | **/ 56 | public BulkRecipientTabLabel value(String value) { 57 | this.value = value; 58 | return this; 59 | } 60 | 61 | /** 62 | * Specifies the value of the tab. . 63 | * @return value 64 | **/ 65 | @ApiModelProperty(value = "Specifies the value of the tab. ") 66 | public String getValue() { 67 | return value; 68 | } 69 | 70 | /** 71 | * setValue. 72 | **/ 73 | public void setValue(String value) { 74 | this.value = value; 75 | } 76 | 77 | 78 | /** 79 | * Compares objects. 80 | * 81 | * @return true or false depending on comparison result. 82 | */ 83 | @Override 84 | public boolean equals(java.lang.Object o) { 85 | if (this == o) { 86 | return true; 87 | } 88 | if (o == null || getClass() != o.getClass()) { 89 | return false; 90 | } 91 | BulkRecipientTabLabel bulkRecipientTabLabel = (BulkRecipientTabLabel) o; 92 | return Objects.equals(this.name, bulkRecipientTabLabel.name) && 93 | Objects.equals(this.value, bulkRecipientTabLabel.value); 94 | } 95 | 96 | /** 97 | * Returns the HashCode. 98 | */ 99 | @Override 100 | public int hashCode() { 101 | return Objects.hash(name, value); 102 | } 103 | 104 | 105 | /** 106 | * Converts the given object to string. 107 | */ 108 | @Override 109 | public String toString() { 110 | StringBuilder sb = new StringBuilder(); 111 | sb.append("class BulkRecipientTabLabel {\n"); 112 | 113 | sb.append(" name: ").append(toIndentedString(name)).append("\n"); 114 | sb.append(" value: ").append(toIndentedString(value)).append("\n"); 115 | sb.append("}"); 116 | return sb.toString(); 117 | } 118 | 119 | /** 120 | * Convert the given object to string with each line indented by 4 spaces 121 | * (except the first line). 122 | */ 123 | private String toIndentedString(java.lang.Object o) { 124 | if (o == null) { 125 | return "null"; 126 | } 127 | return o.toString().replace("\n", "\n "); 128 | } 129 | 130 | } 131 | 132 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/EnvelopeDelayRule.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import java.util.Objects; 4 | import java.util.Arrays; 5 | import com.fasterxml.jackson.annotation.JsonProperty; 6 | import com.fasterxml.jackson.annotation.JsonCreator; 7 | import com.fasterxml.jackson.annotation.JsonValue; 8 | import io.swagger.annotations.ApiModel; 9 | import io.swagger.annotations.ApiModelProperty; 10 | 11 | /** 12 | * EnvelopeDelayRule. 13 | * 14 | */ 15 | 16 | public class EnvelopeDelayRule { 17 | @JsonProperty("delay") 18 | private String delay = null; 19 | 20 | @JsonProperty("resumeDate") 21 | private String resumeDate = null; 22 | 23 | 24 | /** 25 | * delay. 26 | * 27 | * @return EnvelopeDelayRule 28 | **/ 29 | public EnvelopeDelayRule delay(String delay) { 30 | this.delay = delay; 31 | return this; 32 | } 33 | 34 | /** 35 | * . 36 | * @return delay 37 | **/ 38 | @ApiModelProperty(value = "") 39 | public String getDelay() { 40 | return delay; 41 | } 42 | 43 | /** 44 | * setDelay. 45 | **/ 46 | public void setDelay(String delay) { 47 | this.delay = delay; 48 | } 49 | 50 | 51 | /** 52 | * resumeDate. 53 | * 54 | * @return EnvelopeDelayRule 55 | **/ 56 | public EnvelopeDelayRule resumeDate(String resumeDate) { 57 | this.resumeDate = resumeDate; 58 | return this; 59 | } 60 | 61 | /** 62 | * . 63 | * @return resumeDate 64 | **/ 65 | @ApiModelProperty(value = "") 66 | public String getResumeDate() { 67 | return resumeDate; 68 | } 69 | 70 | /** 71 | * setResumeDate. 72 | **/ 73 | public void setResumeDate(String resumeDate) { 74 | this.resumeDate = resumeDate; 75 | } 76 | 77 | 78 | /** 79 | * Compares objects. 80 | * 81 | * @return true or false depending on comparison result. 82 | */ 83 | @Override 84 | public boolean equals(java.lang.Object o) { 85 | if (this == o) { 86 | return true; 87 | } 88 | if (o == null || getClass() != o.getClass()) { 89 | return false; 90 | } 91 | EnvelopeDelayRule envelopeDelayRule = (EnvelopeDelayRule) o; 92 | return Objects.equals(this.delay, envelopeDelayRule.delay) && 93 | Objects.equals(this.resumeDate, envelopeDelayRule.resumeDate); 94 | } 95 | 96 | /** 97 | * Returns the HashCode. 98 | */ 99 | @Override 100 | public int hashCode() { 101 | return Objects.hash(delay, resumeDate); 102 | } 103 | 104 | 105 | /** 106 | * Converts the given object to string. 107 | */ 108 | @Override 109 | public String toString() { 110 | StringBuilder sb = new StringBuilder(); 111 | sb.append("class EnvelopeDelayRule {\n"); 112 | 113 | sb.append(" delay: ").append(toIndentedString(delay)).append("\n"); 114 | sb.append(" resumeDate: ").append(toIndentedString(resumeDate)).append("\n"); 115 | sb.append("}"); 116 | return sb.toString(); 117 | } 118 | 119 | /** 120 | * Convert the given object to string with each line indented by 4 spaces 121 | * (except the first line). 122 | */ 123 | private String toIndentedString(java.lang.Object o) { 124 | if (o == null) { 125 | return "null"; 126 | } 127 | return o.toString().replace("\n", "\n "); 128 | } 129 | 130 | } 131 | 132 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/DocumentTemplateList.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import java.util.Objects; 4 | import java.util.Arrays; 5 | import com.docusign.esign.model.DocumentTemplate; 6 | import com.fasterxml.jackson.annotation.JsonProperty; 7 | import com.fasterxml.jackson.annotation.JsonCreator; 8 | import com.fasterxml.jackson.annotation.JsonValue; 9 | import io.swagger.annotations.ApiModel; 10 | import io.swagger.annotations.ApiModelProperty; 11 | 12 | /** 13 | * DocumentTemplateList. 14 | * 15 | */ 16 | 17 | public class DocumentTemplateList { 18 | @JsonProperty("documentTemplates") 19 | private java.util.List documentTemplates = null; 20 | 21 | 22 | /** 23 | * documentTemplates. 24 | * 25 | * @return DocumentTemplateList 26 | **/ 27 | public DocumentTemplateList documentTemplates(java.util.List documentTemplates) { 28 | this.documentTemplates = documentTemplates; 29 | return this; 30 | } 31 | 32 | /** 33 | * addDocumentTemplatesItem. 34 | * 35 | * @return DocumentTemplateList 36 | **/ 37 | public DocumentTemplateList addDocumentTemplatesItem(DocumentTemplate documentTemplatesItem) { 38 | if (this.documentTemplates == null) { 39 | this.documentTemplates = new java.util.ArrayList<>(); 40 | } 41 | this.documentTemplates.add(documentTemplatesItem); 42 | return this; 43 | } 44 | 45 | /** 46 | * . 47 | * @return documentTemplates 48 | **/ 49 | @ApiModelProperty(value = "") 50 | public java.util.List getDocumentTemplates() { 51 | return documentTemplates; 52 | } 53 | 54 | /** 55 | * setDocumentTemplates. 56 | **/ 57 | public void setDocumentTemplates(java.util.List documentTemplates) { 58 | this.documentTemplates = documentTemplates; 59 | } 60 | 61 | 62 | /** 63 | * Compares objects. 64 | * 65 | * @return true or false depending on comparison result. 66 | */ 67 | @Override 68 | public boolean equals(java.lang.Object o) { 69 | if (this == o) { 70 | return true; 71 | } 72 | if (o == null || getClass() != o.getClass()) { 73 | return false; 74 | } 75 | DocumentTemplateList documentTemplateList = (DocumentTemplateList) o; 76 | return Objects.equals(this.documentTemplates, documentTemplateList.documentTemplates); 77 | } 78 | 79 | /** 80 | * Returns the HashCode. 81 | */ 82 | @Override 83 | public int hashCode() { 84 | return Objects.hash(documentTemplates); 85 | } 86 | 87 | 88 | /** 89 | * Converts the given object to string. 90 | */ 91 | @Override 92 | public String toString() { 93 | StringBuilder sb = new StringBuilder(); 94 | sb.append("class DocumentTemplateList {\n"); 95 | 96 | sb.append(" documentTemplates: ").append(toIndentedString(documentTemplates)).append("\n"); 97 | sb.append("}"); 98 | return sb.toString(); 99 | } 100 | 101 | /** 102 | * Convert the given object to string with each line indented by 4 spaces 103 | * (except the first line). 104 | */ 105 | private String toIndentedString(java.lang.Object o) { 106 | if (o == null) { 107 | return "null"; 108 | } 109 | return o.toString().replace("\n", "\n "); 110 | } 111 | 112 | } 113 | 114 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/BulkSendBatchError.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import java.util.Objects; 4 | import java.util.Arrays; 5 | import com.fasterxml.jackson.annotation.JsonProperty; 6 | import com.fasterxml.jackson.annotation.JsonCreator; 7 | import com.fasterxml.jackson.annotation.JsonValue; 8 | import io.swagger.annotations.ApiModel; 9 | import io.swagger.annotations.ApiModelProperty; 10 | 11 | /** 12 | * BulkSendBatchError. 13 | * 14 | */ 15 | 16 | public class BulkSendBatchError { 17 | @JsonProperty("error") 18 | private String error = null; 19 | 20 | @JsonProperty("errorDetail") 21 | private String errorDetail = null; 22 | 23 | 24 | /** 25 | * error. 26 | * 27 | * @return BulkSendBatchError 28 | **/ 29 | public BulkSendBatchError error(String error) { 30 | this.error = error; 31 | return this; 32 | } 33 | 34 | /** 35 | * . 36 | * @return error 37 | **/ 38 | @ApiModelProperty(value = "") 39 | public String getError() { 40 | return error; 41 | } 42 | 43 | /** 44 | * setError. 45 | **/ 46 | public void setError(String error) { 47 | this.error = error; 48 | } 49 | 50 | 51 | /** 52 | * errorDetail. 53 | * 54 | * @return BulkSendBatchError 55 | **/ 56 | public BulkSendBatchError errorDetail(String errorDetail) { 57 | this.errorDetail = errorDetail; 58 | return this; 59 | } 60 | 61 | /** 62 | * . 63 | * @return errorDetail 64 | **/ 65 | @ApiModelProperty(value = "") 66 | public String getErrorDetail() { 67 | return errorDetail; 68 | } 69 | 70 | /** 71 | * setErrorDetail. 72 | **/ 73 | public void setErrorDetail(String errorDetail) { 74 | this.errorDetail = errorDetail; 75 | } 76 | 77 | 78 | /** 79 | * Compares objects. 80 | * 81 | * @return true or false depending on comparison result. 82 | */ 83 | @Override 84 | public boolean equals(java.lang.Object o) { 85 | if (this == o) { 86 | return true; 87 | } 88 | if (o == null || getClass() != o.getClass()) { 89 | return false; 90 | } 91 | BulkSendBatchError bulkSendBatchError = (BulkSendBatchError) o; 92 | return Objects.equals(this.error, bulkSendBatchError.error) && 93 | Objects.equals(this.errorDetail, bulkSendBatchError.errorDetail); 94 | } 95 | 96 | /** 97 | * Returns the HashCode. 98 | */ 99 | @Override 100 | public int hashCode() { 101 | return Objects.hash(error, errorDetail); 102 | } 103 | 104 | 105 | /** 106 | * Converts the given object to string. 107 | */ 108 | @Override 109 | public String toString() { 110 | StringBuilder sb = new StringBuilder(); 111 | sb.append("class BulkSendBatchError {\n"); 112 | 113 | sb.append(" error: ").append(toIndentedString(error)).append("\n"); 114 | sb.append(" errorDetail: ").append(toIndentedString(errorDetail)).append("\n"); 115 | sb.append("}"); 116 | return sb.toString(); 117 | } 118 | 119 | /** 120 | * Convert the given object to string with each line indented by 4 spaces 121 | * (except the first line). 122 | */ 123 | private String toIndentedString(java.lang.Object o) { 124 | if (o == null) { 125 | return "null"; 126 | } 127 | return o.toString().replace("\n", "\n "); 128 | } 129 | 130 | } 131 | 132 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/ApiRequestLogsResult.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import java.util.Objects; 4 | import java.util.Arrays; 5 | import com.docusign.esign.model.ApiRequestLog; 6 | import com.fasterxml.jackson.annotation.JsonProperty; 7 | import com.fasterxml.jackson.annotation.JsonCreator; 8 | import com.fasterxml.jackson.annotation.JsonValue; 9 | import io.swagger.annotations.ApiModel; 10 | import io.swagger.annotations.ApiModelProperty; 11 | 12 | /** 13 | * Contains information about mutiple API request logs.. 14 | * 15 | */ 16 | @ApiModel(description = "Contains information about mutiple API request logs.") 17 | 18 | public class ApiRequestLogsResult { 19 | @JsonProperty("apiRequestLogs") 20 | private java.util.List apiRequestLogs = null; 21 | 22 | 23 | /** 24 | * apiRequestLogs. 25 | * 26 | * @return ApiRequestLogsResult 27 | **/ 28 | public ApiRequestLogsResult apiRequestLogs(java.util.List apiRequestLogs) { 29 | this.apiRequestLogs = apiRequestLogs; 30 | return this; 31 | } 32 | 33 | /** 34 | * addApiRequestLogsItem. 35 | * 36 | * @return ApiRequestLogsResult 37 | **/ 38 | public ApiRequestLogsResult addApiRequestLogsItem(ApiRequestLog apiRequestLogsItem) { 39 | if (this.apiRequestLogs == null) { 40 | this.apiRequestLogs = new java.util.ArrayList<>(); 41 | } 42 | this.apiRequestLogs.add(apiRequestLogsItem); 43 | return this; 44 | } 45 | 46 | /** 47 | * Reserved: TBD. 48 | * @return apiRequestLogs 49 | **/ 50 | @ApiModelProperty(value = "Reserved: TBD") 51 | public java.util.List getApiRequestLogs() { 52 | return apiRequestLogs; 53 | } 54 | 55 | /** 56 | * setApiRequestLogs. 57 | **/ 58 | public void setApiRequestLogs(java.util.List apiRequestLogs) { 59 | this.apiRequestLogs = apiRequestLogs; 60 | } 61 | 62 | 63 | /** 64 | * Compares objects. 65 | * 66 | * @return true or false depending on comparison result. 67 | */ 68 | @Override 69 | public boolean equals(java.lang.Object o) { 70 | if (this == o) { 71 | return true; 72 | } 73 | if (o == null || getClass() != o.getClass()) { 74 | return false; 75 | } 76 | ApiRequestLogsResult apiRequestLogsResult = (ApiRequestLogsResult) o; 77 | return Objects.equals(this.apiRequestLogs, apiRequestLogsResult.apiRequestLogs); 78 | } 79 | 80 | /** 81 | * Returns the HashCode. 82 | */ 83 | @Override 84 | public int hashCode() { 85 | return Objects.hash(apiRequestLogs); 86 | } 87 | 88 | 89 | /** 90 | * Converts the given object to string. 91 | */ 92 | @Override 93 | public String toString() { 94 | StringBuilder sb = new StringBuilder(); 95 | sb.append("class ApiRequestLogsResult {\n"); 96 | 97 | sb.append(" apiRequestLogs: ").append(toIndentedString(apiRequestLogs)).append("\n"); 98 | sb.append("}"); 99 | return sb.toString(); 100 | } 101 | 102 | /** 103 | * Convert the given object to string with each line indented by 4 spaces 104 | * (except the first line). 105 | */ 106 | private String toIndentedString(java.lang.Object o) { 107 | if (o == null) { 108 | return "null"; 109 | } 110 | return o.toString().replace("\n", "\n "); 111 | } 112 | 113 | } 114 | 115 | --------------------------------------------------------------------------------