├── .swagger-codegen └── VERSION ├── settings.gradle ├── src ├── test │ ├── docs │ │ ├── DS.png │ │ ├── SignTest1.pdf │ │ ├── SignTest1.docx │ │ └── WordDocTest.docx │ ├── manifest.mf │ ├── nbproject │ │ ├── genfiles.properties │ │ └── project.xml │ └── dist │ │ └── README.TXT └── main │ ├── AndroidManifest.xml │ └── java │ └── com │ └── docusign │ └── esign │ ├── client │ ├── auth │ │ ├── AccessTokenListener.java │ │ ├── OAuthFlow.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 │ ├── ReportInProductSaveResponse.java │ ├── ViewUrl.java │ ├── Sender.java │ ├── BulkRecipientsUpdateResponse.java │ ├── PaletteItemSettings.java │ ├── IdEvidenceViewLink.java │ ├── IdCheckSecurityStep.java │ ├── ReportInProductList.java │ ├── BulkSendBatchRequest.java │ ├── ConnectedObjectDetails.java │ ├── PostTransactionsResponse.java │ ├── PaymentSignerValues.java │ ├── BrandRequest.java │ ├── RecipientRouting.java │ ├── SocialAuthentication.java │ ├── Seal.java │ ├── WorkspaceSettings.java │ ├── UserInfoList.java │ ├── BulkRecipientsRequest.java │ ├── TabMetadataList.java │ ├── AccountSeals.java │ ├── BillingPaymentRequest.java │ ├── SigningGroupUsers.java │ ├── EnvelopeViewTemplateSettings.java │ ├── FileTypeList.java │ ├── CreditCardTypes.java │ ├── BrandsRequest.java │ ├── EnvelopeViewEnvelopeCustomFieldSettings.java │ ├── NewUsersDefinition.java │ ├── ResourceInformation.java │ ├── PowerFormsRequest.java │ ├── NewUsersSummary.java │ ├── TemplateInformation.java │ ├── EnvelopeAuditEvent.java │ ├── ReservedDomainExistence.java │ ├── WorkspaceItemList.java │ ├── UpdateTransactionRequest.java │ ├── AccountPasswordLockoutDurationType.java │ ├── SupportedLanguages.java │ ├── Province.java │ ├── TemplateAutoMatchList.java │ ├── RecipientSAMLAuthentication.java │ ├── ConnectFailureResults.java │ ├── ContactUpdateResponse.java │ ├── SigningGroupInformation.java │ ├── UserAuthorizationsResponse.java │ ├── DocumentHtmlDefinitions.java │ ├── EnvelopeAttachmentsRequest.java │ ├── ProofServiceResourceToken.java │ ├── ContactModRequest.java │ ├── BulkRecipientTabLabel.java │ ├── BulkProcessingLists.java │ ├── EnvelopeAttachmentsResult.java │ ├── PowerFormsFormDataResponse.java │ ├── AccountPasswordStrengthType.java │ ├── SmartContractInformation.java │ ├── CommentsPublish.java │ ├── CustomSettingsInformation.java │ └── UserAuthorizationsDeleteRequest.java ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── .gitignore ├── .travis.yml ├── LICENSE └── .swagger-codegen-ignore /.swagger-codegen/VERSION: -------------------------------------------------------------------------------- 1 | 2.4.21 -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = "docusign-esign-java" -------------------------------------------------------------------------------- /src/test/docs/DS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/docusign/docusign-esign-java-client/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.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/docusign/docusign-esign-java-client/master/src/test/docs/SignTest1.pdf -------------------------------------------------------------------------------- /src/test/docs/SignTest1.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/docusign/docusign-esign-java-client/master/src/test/docs/SignTest1.docx -------------------------------------------------------------------------------- /src/test/docs/WordDocTest.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/docusign/docusign-esign-java-client/master/src/test/docs/WordDocTest.docx -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/docusign/docusign-esign-java-client/master/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/client/auth/AccessTokenListener.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.client.auth; 2 | 3 | import com.docusign.esign.client.auth.OAuth.OAuthToken; 4 | 5 | public interface AccessTokenListener { 6 | void notify(OAuthToken token); 7 | } -------------------------------------------------------------------------------- /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, jwt 12 | } 13 | -------------------------------------------------------------------------------- /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 -X 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 | -------------------------------------------------------------------------------- /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/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/model/ConnectDeleteFailureResult.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import java.util.Objects; 4 | import java.util.Arrays; 5 | import java.io.Serializable; 6 | 7 | /** 8 | * ConnectDeleteFailureResult. 9 | * 10 | */ 11 | 12 | public class ConnectDeleteFailureResult implements Serializable { 13 | private static final long serialVersionUID = 1L; 14 | 15 | 16 | /** 17 | * Compares objects. 18 | * 19 | * @return true or false depending on comparison result. 20 | */ 21 | @Override 22 | public boolean equals(java.lang.Object o) { 23 | if (this == o) { 24 | return true; 25 | } 26 | if (o == null || getClass() != o.getClass()) { 27 | return false; 28 | } 29 | return true; 30 | } 31 | 32 | /** 33 | * Returns the HashCode. 34 | */ 35 | @Override 36 | public int hashCode() { 37 | return Objects.hash(); 38 | } 39 | 40 | 41 | /** 42 | * Converts the given object to string. 43 | */ 44 | @Override 45 | public String toString() { 46 | StringBuilder sb = new StringBuilder(); 47 | sb.append("class ConnectDeleteFailureResult {\n"); 48 | 49 | sb.append("}"); 50 | return sb.toString(); 51 | } 52 | 53 | /** 54 | * Convert the given object to string with each line indented by 4 spaces 55 | * (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 | } 65 | 66 | -------------------------------------------------------------------------------- /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 jakarta.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.v3.oas.annotations.media.Schema; 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 | @Schema(description = "") 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 56 | * (except the first line). 57 | */ 58 | private String toIndentedString(java.lang.Object o) { 59 | if (o == null) { 60 | return "null"; 61 | } 62 | return o.toString().replace("\n", "\n "); 63 | } 64 | } 65 | -------------------------------------------------------------------------------- /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.v3.oas.annotations.media.Schema; 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 | @Schema(description = "") 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 73 | * (except the first line). 74 | */ 75 | private String toIndentedString(java.lang.Object o) { 76 | if (o == null) { 77 | return "null"; 78 | } 79 | return o.toString().replace("\n", "\n "); 80 | } 81 | } 82 | -------------------------------------------------------------------------------- /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.v3.oas.annotations.media.Schema; 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 | @Schema(description = "") 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 = (EnvelopeFormDataPrefillFormData) o; 44 | return Objects.equals(this.formData, envelopeFormDataPrefillFormData.formData); 45 | } 46 | 47 | @Override 48 | public int hashCode() { 49 | return Objects.hash(formData); 50 | } 51 | 52 | @Override 53 | public String toString() { 54 | StringBuilder sb = new StringBuilder(); 55 | sb.append("class EnvelopeFormDataPrefillFormData {\n"); 56 | 57 | sb.append(" formData: ").append(toIndentedString(formData)).append("\n"); 58 | sb.append("}"); 59 | return sb.toString(); 60 | } 61 | 62 | /** 63 | * Convert the given object to string with each line indented by 4 spaces 64 | * (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.v3.oas.annotations.media.Schema; 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 | @Schema(example = "null", description = "") 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 | @Schema(example = "null", description = "") 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 76 | * (except the first line). 77 | */ 78 | private String toIndentedString(java.lang.Object o) { 79 | if (o == null) { 80 | return "null"; 81 | } 82 | return o.toString().replace("\n", "\n "); 83 | } 84 | } 85 | -------------------------------------------------------------------------------- /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.v3.oas.annotations.media.Schema; 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 | @Schema(example = "null", description = "") 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 | @Schema(example = "null", description = "") 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 76 | * (except the first line). 77 | */ 78 | private String toIndentedString(java.lang.Object o) { 79 | if (o == null) { 80 | return "null"; 81 | } 82 | return o.toString().replace("\n", "\n "); 83 | } 84 | } 85 | -------------------------------------------------------------------------------- /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.v3.oas.annotations.media.Schema; 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 | @Schema(description = "") 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 | @Schema(description = "") 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 76 | * (except the first line). 77 | */ 78 | private String toIndentedString(java.lang.Object o) { 79 | if (o == null) { 80 | return "null"; 81 | } 82 | return o.toString().replace("\n", "\n "); 83 | } 84 | } 85 | -------------------------------------------------------------------------------- /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.v3.oas.annotations.media.Schema; 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 | @Schema(description = "") 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 73 | * (except the first line). 74 | */ 75 | private String toIndentedString(java.lang.Object o) { 76 | if (o == null) { 77 | return "null"; 78 | } 79 | return o.toString().replace("\n", "\n "); 80 | } 81 | } 82 | -------------------------------------------------------------------------------- /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.v3.oas.annotations.media.Schema; 9 | import java.io.Serializable; 10 | 11 | /** 12 | * ViewUrl. 13 | * 14 | */ 15 | 16 | public class ViewUrl implements Serializable { 17 | private static final long serialVersionUID = 1L; 18 | 19 | @JsonProperty("url") 20 | private String url = null; 21 | 22 | 23 | /** 24 | * url. 25 | * 26 | * @return ViewUrl 27 | **/ 28 | public ViewUrl url(String url) { 29 | this.url = url; 30 | return this; 31 | } 32 | 33 | /** 34 | * The view URL to be navigated to.. 35 | * @return url 36 | **/ 37 | @Schema(description = "The view URL to be navigated to.") 38 | public String getUrl() { 39 | return url; 40 | } 41 | 42 | /** 43 | * setUrl. 44 | **/ 45 | public void setUrl(String url) { 46 | this.url = url; 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 | ViewUrl viewUrl = (ViewUrl) o; 64 | return Objects.equals(this.url, viewUrl.url); 65 | } 66 | 67 | /** 68 | * Returns the HashCode. 69 | */ 70 | @Override 71 | public int hashCode() { 72 | return Objects.hash(url); 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 ViewUrl {\n"); 83 | 84 | sb.append(" url: ").append(toIndentedString(url)).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/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/Sender.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import com.fasterxml.jackson.annotation.JsonProperty; 4 | import io.swagger.v3.oas.annotations.media.Schema; 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 | @Schema(description = "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 | @Schema(description = "") 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 80 | * (except the first line). 81 | */ 82 | private String toIndentedString(java.lang.Object o) { 83 | if (o == null) { 84 | return "null"; 85 | } 86 | return o.toString().replace("\n", "\n "); 87 | } 88 | } 89 | -------------------------------------------------------------------------------- /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.v3.oas.annotations.media.Schema; 10 | import io.swagger.v3.oas.annotations.media.Schema; 11 | 12 | /** 13 | * BulkRecipientsUpdateResponse. 14 | * 15 | */ 16 | 17 | public class BulkRecipientsUpdateResponse { 18 | @JsonProperty("signer") 19 | private Signer signer = null; 20 | 21 | /** 22 | * signer. 23 | * 24 | * @return BulkRecipientsUpdateResponse 25 | **/ 26 | public BulkRecipientsUpdateResponse signer(Signer signer) { 27 | this.signer = signer; 28 | return this; 29 | } 30 | 31 | /** 32 | * . 33 | * 34 | * @return signer 35 | **/ 36 | @Schema(description = "") 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 | * 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 | BulkRecipientsUpdateResponse bulkRecipientsUpdateResponse = (BulkRecipientsUpdateResponse) o; 62 | return Objects.equals(this.signer, bulkRecipientsUpdateResponse.signer); 63 | } 64 | 65 | /** 66 | * Returns the HashCode. 67 | */ 68 | @Override 69 | public int hashCode() { 70 | return Objects.hash(signer); 71 | } 72 | 73 | /** 74 | * Converts the given object to string. 75 | */ 76 | @Override 77 | public String toString() { 78 | StringBuilder sb = new StringBuilder(); 79 | sb.append("class BulkRecipientsUpdateResponse {\n"); 80 | 81 | sb.append(" signer: ").append(toIndentedString(signer)).append("\n"); 82 | sb.append("}"); 83 | return sb.toString(); 84 | } 85 | 86 | /** 87 | * Convert the given object to string with each line indented by 4 spaces 88 | * (except the first line). 89 | */ 90 | private String toIndentedString(java.lang.Object o) { 91 | if (o == null) { 92 | return "null"; 93 | } 94 | return o.toString().replace("\n", "\n "); 95 | } 96 | 97 | } 98 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/PaletteItemSettings.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.v3.oas.annotations.media.Schema; 9 | import java.io.Serializable; 10 | 11 | /** 12 | * PaletteItemSettings. 13 | * 14 | */ 15 | 16 | public class PaletteItemSettings implements Serializable { 17 | private static final long serialVersionUID = 1L; 18 | 19 | @JsonProperty("show") 20 | private String show = null; 21 | 22 | 23 | /** 24 | * show. 25 | * 26 | * @return PaletteItemSettings 27 | **/ 28 | public PaletteItemSettings show(String show) { 29 | this.show = show; 30 | return this; 31 | } 32 | 33 | /** 34 | * . 35 | * @return show 36 | **/ 37 | @Schema(description = "") 38 | public String getShow() { 39 | return show; 40 | } 41 | 42 | /** 43 | * setShow. 44 | **/ 45 | public void setShow(String show) { 46 | this.show = show; 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 | PaletteItemSettings paletteItemSettings = (PaletteItemSettings) o; 64 | return Objects.equals(this.show, paletteItemSettings.show); 65 | } 66 | 67 | /** 68 | * Returns the HashCode. 69 | */ 70 | @Override 71 | public int hashCode() { 72 | return Objects.hash(show); 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 PaletteItemSettings {\n"); 83 | 84 | sb.append(" show: ").append(toIndentedString(show)).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/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.v3.oas.annotations.media.Schema; 9 | import java.io.Serializable; 10 | 11 | /** 12 | * IdEvidenceViewLink. 13 | * 14 | */ 15 | 16 | public class IdEvidenceViewLink implements Serializable { 17 | private static final long serialVersionUID = 1L; 18 | 19 | @JsonProperty("viewLink") 20 | private String viewLink = null; 21 | 22 | 23 | /** 24 | * viewLink. 25 | * 26 | * @return IdEvidenceViewLink 27 | **/ 28 | public IdEvidenceViewLink viewLink(String viewLink) { 29 | this.viewLink = viewLink; 30 | return this; 31 | } 32 | 33 | /** 34 | * . 35 | * @return viewLink 36 | **/ 37 | @Schema(description = "") 38 | public String getViewLink() { 39 | return viewLink; 40 | } 41 | 42 | /** 43 | * setViewLink. 44 | **/ 45 | public void setViewLink(String viewLink) { 46 | this.viewLink = viewLink; 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 | IdEvidenceViewLink idEvidenceViewLink = (IdEvidenceViewLink) o; 64 | return Objects.equals(this.viewLink, idEvidenceViewLink.viewLink); 65 | } 66 | 67 | /** 68 | * Returns the HashCode. 69 | */ 70 | @Override 71 | public int hashCode() { 72 | return Objects.hash(viewLink); 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 IdEvidenceViewLink {\n"); 83 | 84 | sb.append(" viewLink: ").append(toIndentedString(viewLink)).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/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.v3.oas.annotations.media.Schema; 9 | import java.io.Serializable; 10 | 11 | /** 12 | * IdCheckSecurityStep. 13 | * 14 | */ 15 | 16 | public class IdCheckSecurityStep implements Serializable { 17 | private static final long serialVersionUID = 1L; 18 | 19 | @JsonProperty("authType") 20 | private String authType = null; 21 | 22 | 23 | /** 24 | * authType. 25 | * 26 | * @return IdCheckSecurityStep 27 | **/ 28 | public IdCheckSecurityStep authType(String authType) { 29 | this.authType = authType; 30 | return this; 31 | } 32 | 33 | /** 34 | * . 35 | * @return authType 36 | **/ 37 | @Schema(description = "") 38 | public String getAuthType() { 39 | return authType; 40 | } 41 | 42 | /** 43 | * setAuthType. 44 | **/ 45 | public void setAuthType(String authType) { 46 | this.authType = authType; 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 | IdCheckSecurityStep idCheckSecurityStep = (IdCheckSecurityStep) o; 64 | return Objects.equals(this.authType, idCheckSecurityStep.authType); 65 | } 66 | 67 | /** 68 | * Returns the HashCode. 69 | */ 70 | @Override 71 | public int hashCode() { 72 | return Objects.hash(authType); 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 IdCheckSecurityStep {\n"); 83 | 84 | sb.append(" authType: ").append(toIndentedString(authType)).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/ReportInProductList.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import com.fasterxml.jackson.annotation.JsonProperty; 4 | import io.swagger.v3.oas.annotations.media.Schema; 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 | @Schema(description = "") 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 86 | * (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/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.v3.oas.annotations.media.Schema; 9 | import java.io.Serializable; 10 | 11 | /** 12 | * BulkSendBatchRequest. 13 | * 14 | */ 15 | 16 | public class BulkSendBatchRequest implements Serializable { 17 | private static final long serialVersionUID = 1L; 18 | 19 | @JsonProperty("batchName") 20 | private String batchName = null; 21 | 22 | 23 | /** 24 | * batchName. 25 | * 26 | * @return BulkSendBatchRequest 27 | **/ 28 | public BulkSendBatchRequest batchName(String batchName) { 29 | this.batchName = batchName; 30 | return this; 31 | } 32 | 33 | /** 34 | * . 35 | * @return batchName 36 | **/ 37 | @Schema(description = "") 38 | public String getBatchName() { 39 | return batchName; 40 | } 41 | 42 | /** 43 | * setBatchName. 44 | **/ 45 | public void setBatchName(String batchName) { 46 | this.batchName = batchName; 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 | BulkSendBatchRequest bulkSendBatchRequest = (BulkSendBatchRequest) o; 64 | return Objects.equals(this.batchName, bulkSendBatchRequest.batchName); 65 | } 66 | 67 | /** 68 | * Returns the HashCode. 69 | */ 70 | @Override 71 | public int hashCode() { 72 | return Objects.hash(batchName); 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 BulkSendBatchRequest {\n"); 83 | 84 | sb.append(" batchName: ").append(toIndentedString(batchName)).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/ConnectedObjectDetails.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.v3.oas.annotations.media.Schema; 9 | import java.io.Serializable; 10 | 11 | /** 12 | * ConnectedObjectDetails. 13 | * 14 | */ 15 | 16 | public class ConnectedObjectDetails implements Serializable { 17 | private static final long serialVersionUID = 1L; 18 | 19 | @JsonProperty("recordId") 20 | private String recordId = null; 21 | 22 | 23 | /** 24 | * recordId. 25 | * 26 | * @return ConnectedObjectDetails 27 | **/ 28 | public ConnectedObjectDetails recordId(String recordId) { 29 | this.recordId = recordId; 30 | return this; 31 | } 32 | 33 | /** 34 | * . 35 | * @return recordId 36 | **/ 37 | @Schema(description = "") 38 | public String getRecordId() { 39 | return recordId; 40 | } 41 | 42 | /** 43 | * setRecordId. 44 | **/ 45 | public void setRecordId(String recordId) { 46 | this.recordId = recordId; 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 | ConnectedObjectDetails connectedObjectDetails = (ConnectedObjectDetails) o; 64 | return Objects.equals(this.recordId, connectedObjectDetails.recordId); 65 | } 66 | 67 | /** 68 | * Returns the HashCode. 69 | */ 70 | @Override 71 | public int hashCode() { 72 | return Objects.hash(recordId); 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 ConnectedObjectDetails {\n"); 83 | 84 | sb.append(" recordId: ").append(toIndentedString(recordId)).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/PostTransactionsResponse.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import com.fasterxml.jackson.annotation.JsonProperty; 4 | import io.swagger.v3.oas.annotations.media.Schema; 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 | @Schema(example = "null", description = "") 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 | @Schema(example = "null", description = "") 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 76 | * (except the first line). 77 | */ 78 | private String toIndentedString(java.lang.Object o) { 79 | if (o == null) { 80 | return "null"; 81 | } 82 | return o.toString().replace("\n", "\n "); 83 | } 84 | } 85 | -------------------------------------------------------------------------------- /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.v3.oas.annotations.media.Schema; 9 | import java.io.Serializable; 10 | 11 | /** 12 | * PaymentSignerValues. 13 | * 14 | */ 15 | 16 | public class PaymentSignerValues implements Serializable { 17 | private static final long serialVersionUID = 1L; 18 | 19 | @JsonProperty("paymentOption") 20 | private String paymentOption = null; 21 | 22 | 23 | /** 24 | * paymentOption. 25 | * 26 | * @return PaymentSignerValues 27 | **/ 28 | public PaymentSignerValues paymentOption(String paymentOption) { 29 | this.paymentOption = paymentOption; 30 | return this; 31 | } 32 | 33 | /** 34 | * . 35 | * @return paymentOption 36 | **/ 37 | @Schema(description = "") 38 | public String getPaymentOption() { 39 | return paymentOption; 40 | } 41 | 42 | /** 43 | * setPaymentOption. 44 | **/ 45 | public void setPaymentOption(String paymentOption) { 46 | this.paymentOption = paymentOption; 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 | PaymentSignerValues paymentSignerValues = (PaymentSignerValues) o; 64 | return Objects.equals(this.paymentOption, paymentSignerValues.paymentOption); 65 | } 66 | 67 | /** 68 | * Returns the HashCode. 69 | */ 70 | @Override 71 | public int hashCode() { 72 | return Objects.hash(paymentOption); 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 PaymentSignerValues {\n"); 83 | 84 | sb.append(" paymentOption: ").append(toIndentedString(paymentOption)).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/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.v3.oas.annotations.media.Schema; 9 | import java.io.Serializable; 10 | 11 | /** 12 | * This request object contains information about a specific brand.. 13 | * 14 | */ 15 | @Schema(description = "This request object contains information about a specific brand.") 16 | 17 | public class BrandRequest implements Serializable { 18 | private static final long serialVersionUID = 1L; 19 | 20 | @JsonProperty("brandId") 21 | private String brandId = null; 22 | 23 | 24 | /** 25 | * brandId. 26 | * 27 | * @return BrandRequest 28 | **/ 29 | public BrandRequest brandId(String brandId) { 30 | this.brandId = brandId; 31 | return this; 32 | } 33 | 34 | /** 35 | * The ID of the brand used in API calls. 36 | * @return brandId 37 | **/ 38 | @Schema(description = "The ID of the brand used in API calls") 39 | public String getBrandId() { 40 | return brandId; 41 | } 42 | 43 | /** 44 | * setBrandId. 45 | **/ 46 | public void setBrandId(String brandId) { 47 | this.brandId = brandId; 48 | } 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 | BrandRequest brandRequest = (BrandRequest) o; 65 | return Objects.equals(this.brandId, brandRequest.brandId); 66 | } 67 | 68 | /** 69 | * Returns the HashCode. 70 | */ 71 | @Override 72 | public int hashCode() { 73 | return Objects.hash(brandId); 74 | } 75 | 76 | 77 | /** 78 | * Converts the given object to string. 79 | */ 80 | @Override 81 | public String toString() { 82 | StringBuilder sb = new StringBuilder(); 83 | sb.append("class BrandRequest {\n"); 84 | 85 | sb.append(" brandId: ").append(toIndentedString(brandId)).append("\n"); 86 | sb.append("}"); 87 | return sb.toString(); 88 | } 89 | 90 | /** 91 | * Convert the given object to string with each line indented by 4 spaces 92 | * (except the first line). 93 | */ 94 | private String toIndentedString(java.lang.Object o) { 95 | if (o == null) { 96 | return "null"; 97 | } 98 | return o.toString().replace("\n", "\n "); 99 | } 100 | 101 | } 102 | 103 | -------------------------------------------------------------------------------- /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.v3.oas.annotations.media.Schema; 10 | import java.io.Serializable; 11 | 12 | /** 13 | * Describes the recipient routing rules.. 14 | * 15 | */ 16 | @Schema(description = "Describes the recipient routing rules.") 17 | 18 | public class RecipientRouting implements Serializable { 19 | private static final long serialVersionUID = 1L; 20 | 21 | @JsonProperty("rules") 22 | private RecipientRules rules = null; 23 | 24 | 25 | /** 26 | * rules. 27 | * 28 | * @return RecipientRouting 29 | **/ 30 | public RecipientRouting rules(RecipientRules rules) { 31 | this.rules = rules; 32 | return this; 33 | } 34 | 35 | /** 36 | * The recipient routing rules.. 37 | * @return rules 38 | **/ 39 | @Schema(description = "The recipient routing rules.") 40 | public RecipientRules getRules() { 41 | return rules; 42 | } 43 | 44 | /** 45 | * setRules. 46 | **/ 47 | public void setRules(RecipientRules rules) { 48 | this.rules = rules; 49 | } 50 | 51 | 52 | /** 53 | * Compares objects. 54 | * 55 | * @return true or false depending on comparison result. 56 | */ 57 | @Override 58 | public boolean equals(java.lang.Object o) { 59 | if (this == o) { 60 | return true; 61 | } 62 | if (o == null || getClass() != o.getClass()) { 63 | return false; 64 | } 65 | RecipientRouting recipientRouting = (RecipientRouting) o; 66 | return Objects.equals(this.rules, recipientRouting.rules); 67 | } 68 | 69 | /** 70 | * Returns the HashCode. 71 | */ 72 | @Override 73 | public int hashCode() { 74 | return Objects.hash(rules); 75 | } 76 | 77 | 78 | /** 79 | * Converts the given object to string. 80 | */ 81 | @Override 82 | public String toString() { 83 | StringBuilder sb = new StringBuilder(); 84 | sb.append("class RecipientRouting {\n"); 85 | 86 | sb.append(" rules: ").append(toIndentedString(rules)).append("\n"); 87 | sb.append("}"); 88 | return sb.toString(); 89 | } 90 | 91 | /** 92 | * Convert the given object to string with each line indented by 4 spaces 93 | * (except the first line). 94 | */ 95 | private String toIndentedString(java.lang.Object o) { 96 | if (o == null) { 97 | return "null"; 98 | } 99 | return o.toString().replace("\n", "\n "); 100 | } 101 | 102 | } 103 | 104 | -------------------------------------------------------------------------------- /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.v3.oas.annotations.media.Schema; 9 | import java.io.Serializable; 10 | 11 | /** 12 | * SocialAuthentication. 13 | * 14 | */ 15 | 16 | public class SocialAuthentication implements Serializable { 17 | private static final long serialVersionUID = 1L; 18 | 19 | @JsonProperty("authentication") 20 | private String authentication = null; 21 | 22 | 23 | /** 24 | * authentication. 25 | * 26 | * @return SocialAuthentication 27 | **/ 28 | public SocialAuthentication authentication(String authentication) { 29 | this.authentication = authentication; 30 | return this; 31 | } 32 | 33 | /** 34 | * Reserved: TBD. 35 | * @return authentication 36 | **/ 37 | @Schema(description = "Reserved: TBD") 38 | public String getAuthentication() { 39 | return authentication; 40 | } 41 | 42 | /** 43 | * setAuthentication. 44 | **/ 45 | public void setAuthentication(String authentication) { 46 | this.authentication = authentication; 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 | SocialAuthentication socialAuthentication = (SocialAuthentication) o; 64 | return Objects.equals(this.authentication, socialAuthentication.authentication); 65 | } 66 | 67 | /** 68 | * Returns the HashCode. 69 | */ 70 | @Override 71 | public int hashCode() { 72 | return Objects.hash(authentication); 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 SocialAuthentication {\n"); 83 | 84 | sb.append(" authentication: ").append(toIndentedString(authentication)).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/Seal.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import com.fasterxml.jackson.annotation.JsonProperty; 4 | import io.swagger.v3.oas.annotations.media.Schema; 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 | @Schema(description = "") 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 | @Schema(description = "") 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 84 | * (except the first line). 85 | */ 86 | private String toIndentedString(java.lang.Object o) { 87 | if (o == null) { 88 | return "null"; 89 | } 90 | return o.toString().replace("\n", "\n "); 91 | } 92 | } 93 | -------------------------------------------------------------------------------- /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.v3.oas.annotations.media.Schema; 9 | import java.io.Serializable; 10 | 11 | /** 12 | * This object provides information about the settings for the workspace.. 13 | * 14 | */ 15 | @Schema(description = "This object provides information about the settings for the workspace.") 16 | 17 | public class WorkspaceSettings implements Serializable { 18 | private static final long serialVersionUID = 1L; 19 | 20 | @JsonProperty("commentsAllowed") 21 | private String commentsAllowed = null; 22 | 23 | 24 | /** 25 | * commentsAllowed. 26 | * 27 | * @return WorkspaceSettings 28 | **/ 29 | public WorkspaceSettings commentsAllowed(String commentsAllowed) { 30 | this.commentsAllowed = commentsAllowed; 31 | return this; 32 | } 33 | 34 | /** 35 | * . 36 | * @return commentsAllowed 37 | **/ 38 | @Schema(description = "") 39 | public String getCommentsAllowed() { 40 | return commentsAllowed; 41 | } 42 | 43 | /** 44 | * setCommentsAllowed. 45 | **/ 46 | public void setCommentsAllowed(String commentsAllowed) { 47 | this.commentsAllowed = commentsAllowed; 48 | } 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 | WorkspaceSettings workspaceSettings = (WorkspaceSettings) o; 65 | return Objects.equals(this.commentsAllowed, workspaceSettings.commentsAllowed); 66 | } 67 | 68 | /** 69 | * Returns the HashCode. 70 | */ 71 | @Override 72 | public int hashCode() { 73 | return Objects.hash(commentsAllowed); 74 | } 75 | 76 | 77 | /** 78 | * Converts the given object to string. 79 | */ 80 | @Override 81 | public String toString() { 82 | StringBuilder sb = new StringBuilder(); 83 | sb.append("class WorkspaceSettings {\n"); 84 | 85 | sb.append(" commentsAllowed: ").append(toIndentedString(commentsAllowed)).append("\n"); 86 | sb.append("}"); 87 | return sb.toString(); 88 | } 89 | 90 | /** 91 | * Convert the given object to string with each line indented by 4 spaces 92 | * (except the first line). 93 | */ 94 | private String toIndentedString(java.lang.Object o) { 95 | if (o == null) { 96 | return "null"; 97 | } 98 | return o.toString().replace("\n", "\n "); 99 | } 100 | 101 | } 102 | 103 | -------------------------------------------------------------------------------- /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.v3.oas.annotations.media.Schema; 10 | import java.io.Serializable; 11 | 12 | /** 13 | * UserInfoList. 14 | * 15 | */ 16 | 17 | public class UserInfoList implements Serializable { 18 | private static final long serialVersionUID = 1L; 19 | 20 | @JsonProperty("users") 21 | private java.util.List users = null; 22 | 23 | 24 | /** 25 | * users. 26 | * 27 | * @return UserInfoList 28 | **/ 29 | public UserInfoList users(java.util.List users) { 30 | this.users = users; 31 | return this; 32 | } 33 | 34 | /** 35 | * addUsersItem. 36 | * 37 | * @return UserInfoList 38 | **/ 39 | public UserInfoList addUsersItem(UserInfo usersItem) { 40 | if (this.users == null) { 41 | this.users = new java.util.ArrayList<>(); 42 | } 43 | this.users.add(usersItem); 44 | return this; 45 | } 46 | 47 | /** 48 | * . 49 | * @return users 50 | **/ 51 | @Schema(description = "") 52 | public java.util.List getUsers() { 53 | return users; 54 | } 55 | 56 | /** 57 | * setUsers. 58 | **/ 59 | public void setUsers(java.util.List users) { 60 | this.users = users; 61 | } 62 | 63 | 64 | /** 65 | * Compares objects. 66 | * 67 | * @return true or false depending on comparison result. 68 | */ 69 | @Override 70 | public boolean equals(java.lang.Object o) { 71 | if (this == o) { 72 | return true; 73 | } 74 | if (o == null || getClass() != o.getClass()) { 75 | return false; 76 | } 77 | UserInfoList userInfoList = (UserInfoList) o; 78 | return Objects.equals(this.users, userInfoList.users); 79 | } 80 | 81 | /** 82 | * Returns the HashCode. 83 | */ 84 | @Override 85 | public int hashCode() { 86 | return Objects.hash(users); 87 | } 88 | 89 | 90 | /** 91 | * Converts the given object to string. 92 | */ 93 | @Override 94 | public String toString() { 95 | StringBuilder sb = new StringBuilder(); 96 | sb.append("class UserInfoList {\n"); 97 | 98 | sb.append(" users: ").append(toIndentedString(users)).append("\n"); 99 | sb.append("}"); 100 | return sb.toString(); 101 | } 102 | 103 | /** 104 | * Convert the given object to string with each line indented by 4 spaces 105 | * (except the first line). 106 | */ 107 | private String toIndentedString(java.lang.Object o) { 108 | if (o == null) { 109 | return "null"; 110 | } 111 | return o.toString().replace("\n", "\n "); 112 | } 113 | 114 | } 115 | 116 | -------------------------------------------------------------------------------- /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.v3.oas.annotations.media.Schema; 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 37 | * request.. 38 | * 39 | * @return bulkRecipients 40 | */ 41 | @Schema(description = "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 87 | * (except the first line). 88 | */ 89 | private String toIndentedString(java.lang.Object o) { 90 | if (o == null) { 91 | return "null"; 92 | } 93 | return o.toString().replace("\n", "\n "); 94 | } 95 | } 96 | -------------------------------------------------------------------------------- /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.v3.oas.annotations.media.Schema; 10 | import java.io.Serializable; 11 | 12 | /** 13 | * TabMetadataList. 14 | * 15 | */ 16 | 17 | public class TabMetadataList implements Serializable { 18 | private static final long serialVersionUID = 1L; 19 | 20 | @JsonProperty("tabs") 21 | private java.util.List tabs = null; 22 | 23 | 24 | /** 25 | * tabs. 26 | * 27 | * @return TabMetadataList 28 | **/ 29 | public TabMetadataList tabs(java.util.List tabs) { 30 | this.tabs = tabs; 31 | return this; 32 | } 33 | 34 | /** 35 | * addTabsItem. 36 | * 37 | * @return TabMetadataList 38 | **/ 39 | public TabMetadataList addTabsItem(TabMetadata tabsItem) { 40 | if (this.tabs == null) { 41 | this.tabs = new java.util.ArrayList<>(); 42 | } 43 | this.tabs.add(tabsItem); 44 | return this; 45 | } 46 | 47 | /** 48 | * . 49 | * @return tabs 50 | **/ 51 | @Schema(description = "") 52 | public java.util.List getTabs() { 53 | return tabs; 54 | } 55 | 56 | /** 57 | * setTabs. 58 | **/ 59 | public void setTabs(java.util.List tabs) { 60 | this.tabs = tabs; 61 | } 62 | 63 | 64 | /** 65 | * Compares objects. 66 | * 67 | * @return true or false depending on comparison result. 68 | */ 69 | @Override 70 | public boolean equals(java.lang.Object o) { 71 | if (this == o) { 72 | return true; 73 | } 74 | if (o == null || getClass() != o.getClass()) { 75 | return false; 76 | } 77 | TabMetadataList tabMetadataList = (TabMetadataList) o; 78 | return Objects.equals(this.tabs, tabMetadataList.tabs); 79 | } 80 | 81 | /** 82 | * Returns the HashCode. 83 | */ 84 | @Override 85 | public int hashCode() { 86 | return Objects.hash(tabs); 87 | } 88 | 89 | 90 | /** 91 | * Converts the given object to string. 92 | */ 93 | @Override 94 | public String toString() { 95 | StringBuilder sb = new StringBuilder(); 96 | sb.append("class TabMetadataList {\n"); 97 | 98 | sb.append(" tabs: ").append(toIndentedString(tabs)).append("\n"); 99 | sb.append("}"); 100 | return sb.toString(); 101 | } 102 | 103 | /** 104 | * Convert the given object to string with each line indented by 4 spaces 105 | * (except the first line). 106 | */ 107 | private String toIndentedString(java.lang.Object o) { 108 | if (o == null) { 109 | return "null"; 110 | } 111 | return o.toString().replace("\n", "\n "); 112 | } 113 | 114 | } 115 | 116 | -------------------------------------------------------------------------------- /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.v3.oas.annotations.media.Schema; 10 | import java.io.Serializable; 11 | 12 | /** 13 | * AccountSeals. 14 | * 15 | */ 16 | 17 | public class AccountSeals implements Serializable { 18 | private static final long serialVersionUID = 1L; 19 | 20 | @JsonProperty("seals") 21 | private java.util.List seals = null; 22 | 23 | 24 | /** 25 | * seals. 26 | * 27 | * @return AccountSeals 28 | **/ 29 | public AccountSeals seals(java.util.List seals) { 30 | this.seals = seals; 31 | return this; 32 | } 33 | 34 | /** 35 | * addSealsItem. 36 | * 37 | * @return AccountSeals 38 | **/ 39 | public AccountSeals addSealsItem(SealIdentifier sealsItem) { 40 | if (this.seals == null) { 41 | this.seals = new java.util.ArrayList<>(); 42 | } 43 | this.seals.add(sealsItem); 44 | return this; 45 | } 46 | 47 | /** 48 | * . 49 | * @return seals 50 | **/ 51 | @Schema(description = "") 52 | public java.util.List getSeals() { 53 | return seals; 54 | } 55 | 56 | /** 57 | * setSeals. 58 | **/ 59 | public void setSeals(java.util.List seals) { 60 | this.seals = seals; 61 | } 62 | 63 | 64 | /** 65 | * Compares objects. 66 | * 67 | * @return true or false depending on comparison result. 68 | */ 69 | @Override 70 | public boolean equals(java.lang.Object o) { 71 | if (this == o) { 72 | return true; 73 | } 74 | if (o == null || getClass() != o.getClass()) { 75 | return false; 76 | } 77 | AccountSeals accountSeals = (AccountSeals) o; 78 | return Objects.equals(this.seals, accountSeals.seals); 79 | } 80 | 81 | /** 82 | * Returns the HashCode. 83 | */ 84 | @Override 85 | public int hashCode() { 86 | return Objects.hash(seals); 87 | } 88 | 89 | 90 | /** 91 | * Converts the given object to string. 92 | */ 93 | @Override 94 | public String toString() { 95 | StringBuilder sb = new StringBuilder(); 96 | sb.append("class AccountSeals {\n"); 97 | 98 | sb.append(" seals: ").append(toIndentedString(seals)).append("\n"); 99 | sb.append("}"); 100 | return sb.toString(); 101 | } 102 | 103 | /** 104 | * Convert the given object to string with each line indented by 4 spaces 105 | * (except the first line). 106 | */ 107 | private String toIndentedString(java.lang.Object o) { 108 | if (o == null) { 109 | return "null"; 110 | } 111 | return o.toString().replace("\n", "\n "); 112 | } 113 | 114 | } 115 | 116 | -------------------------------------------------------------------------------- /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.v3.oas.annotations.media.Schema; 9 | import java.io.Serializable; 10 | 11 | /** 12 | * BillingPaymentRequest. 13 | * 14 | */ 15 | 16 | public class BillingPaymentRequest implements Serializable { 17 | private static final long serialVersionUID = 1L; 18 | 19 | @JsonProperty("paymentAmount") 20 | private String paymentAmount = null; 21 | 22 | 23 | /** 24 | * paymentAmount. 25 | * 26 | * @return BillingPaymentRequest 27 | **/ 28 | public BillingPaymentRequest paymentAmount(String paymentAmount) { 29 | this.paymentAmount = paymentAmount; 30 | return this; 31 | } 32 | 33 | /** 34 | * The payment amount for the past due invoices. This value must match the pastDueBalance value retrieved using Get Past Due Invoices.. 35 | * @return paymentAmount 36 | **/ 37 | @Schema(description = "The payment amount for the past due invoices. This value must match the pastDueBalance value retrieved using Get Past Due Invoices.") 38 | public String getPaymentAmount() { 39 | return paymentAmount; 40 | } 41 | 42 | /** 43 | * setPaymentAmount. 44 | **/ 45 | public void setPaymentAmount(String paymentAmount) { 46 | this.paymentAmount = paymentAmount; 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 | BillingPaymentRequest billingPaymentRequest = (BillingPaymentRequest) o; 64 | return Objects.equals(this.paymentAmount, billingPaymentRequest.paymentAmount); 65 | } 66 | 67 | /** 68 | * Returns the HashCode. 69 | */ 70 | @Override 71 | public int hashCode() { 72 | return Objects.hash(paymentAmount); 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 BillingPaymentRequest {\n"); 83 | 84 | sb.append(" paymentAmount: ").append(toIndentedString(paymentAmount)).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/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.v3.oas.annotations.media.Schema; 10 | import java.io.Serializable; 11 | 12 | /** 13 | * SigningGroupUsers. 14 | * 15 | */ 16 | 17 | public class SigningGroupUsers implements Serializable { 18 | private static final long serialVersionUID = 1L; 19 | 20 | @JsonProperty("users") 21 | private java.util.List users = null; 22 | 23 | 24 | /** 25 | * users. 26 | * 27 | * @return SigningGroupUsers 28 | **/ 29 | public SigningGroupUsers users(java.util.List users) { 30 | this.users = users; 31 | return this; 32 | } 33 | 34 | /** 35 | * addUsersItem. 36 | * 37 | * @return SigningGroupUsers 38 | **/ 39 | public SigningGroupUsers addUsersItem(SigningGroupUser usersItem) { 40 | if (this.users == null) { 41 | this.users = new java.util.ArrayList<>(); 42 | } 43 | this.users.add(usersItem); 44 | return this; 45 | } 46 | 47 | /** 48 | * . 49 | * @return users 50 | **/ 51 | @Schema(description = "") 52 | public java.util.List getUsers() { 53 | return users; 54 | } 55 | 56 | /** 57 | * setUsers. 58 | **/ 59 | public void setUsers(java.util.List users) { 60 | this.users = users; 61 | } 62 | 63 | 64 | /** 65 | * Compares objects. 66 | * 67 | * @return true or false depending on comparison result. 68 | */ 69 | @Override 70 | public boolean equals(java.lang.Object o) { 71 | if (this == o) { 72 | return true; 73 | } 74 | if (o == null || getClass() != o.getClass()) { 75 | return false; 76 | } 77 | SigningGroupUsers signingGroupUsers = (SigningGroupUsers) o; 78 | return Objects.equals(this.users, signingGroupUsers.users); 79 | } 80 | 81 | /** 82 | * Returns the HashCode. 83 | */ 84 | @Override 85 | public int hashCode() { 86 | return Objects.hash(users); 87 | } 88 | 89 | 90 | /** 91 | * Converts the given object to string. 92 | */ 93 | @Override 94 | public String toString() { 95 | StringBuilder sb = new StringBuilder(); 96 | sb.append("class SigningGroupUsers {\n"); 97 | 98 | sb.append(" users: ").append(toIndentedString(users)).append("\n"); 99 | sb.append("}"); 100 | return sb.toString(); 101 | } 102 | 103 | /** 104 | * Convert the given object to string with each line indented by 4 spaces 105 | * (except the first line). 106 | */ 107 | private String toIndentedString(java.lang.Object o) { 108 | if (o == null) { 109 | return "null"; 110 | } 111 | return o.toString().replace("\n", "\n "); 112 | } 113 | 114 | } 115 | 116 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/EnvelopeViewTemplateSettings.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.v3.oas.annotations.media.Schema; 9 | import java.io.Serializable; 10 | 11 | /** 12 | * EnvelopeViewTemplateSettings. 13 | * 14 | */ 15 | 16 | public class EnvelopeViewTemplateSettings implements Serializable { 17 | private static final long serialVersionUID = 1L; 18 | 19 | @JsonProperty("showMatchingTemplatesPrompt") 20 | private String showMatchingTemplatesPrompt = null; 21 | 22 | 23 | /** 24 | * showMatchingTemplatesPrompt. 25 | * 26 | * @return EnvelopeViewTemplateSettings 27 | **/ 28 | public EnvelopeViewTemplateSettings showMatchingTemplatesPrompt(String showMatchingTemplatesPrompt) { 29 | this.showMatchingTemplatesPrompt = showMatchingTemplatesPrompt; 30 | return this; 31 | } 32 | 33 | /** 34 | * . 35 | * @return showMatchingTemplatesPrompt 36 | **/ 37 | @Schema(description = "") 38 | public String getShowMatchingTemplatesPrompt() { 39 | return showMatchingTemplatesPrompt; 40 | } 41 | 42 | /** 43 | * setShowMatchingTemplatesPrompt. 44 | **/ 45 | public void setShowMatchingTemplatesPrompt(String showMatchingTemplatesPrompt) { 46 | this.showMatchingTemplatesPrompt = showMatchingTemplatesPrompt; 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 | EnvelopeViewTemplateSettings envelopeViewTemplateSettings = (EnvelopeViewTemplateSettings) o; 64 | return Objects.equals(this.showMatchingTemplatesPrompt, envelopeViewTemplateSettings.showMatchingTemplatesPrompt); 65 | } 66 | 67 | /** 68 | * Returns the HashCode. 69 | */ 70 | @Override 71 | public int hashCode() { 72 | return Objects.hash(showMatchingTemplatesPrompt); 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 EnvelopeViewTemplateSettings {\n"); 83 | 84 | sb.append(" showMatchingTemplatesPrompt: ").append(toIndentedString(showMatchingTemplatesPrompt)).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/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.v3.oas.annotations.media.Schema; 10 | import java.io.Serializable; 11 | 12 | /** 13 | * FileTypeList. 14 | * 15 | */ 16 | 17 | public class FileTypeList implements Serializable { 18 | private static final long serialVersionUID = 1L; 19 | 20 | @JsonProperty("fileTypes") 21 | private java.util.List fileTypes = null; 22 | 23 | 24 | /** 25 | * fileTypes. 26 | * 27 | * @return FileTypeList 28 | **/ 29 | public FileTypeList fileTypes(java.util.List fileTypes) { 30 | this.fileTypes = fileTypes; 31 | return this; 32 | } 33 | 34 | /** 35 | * addFileTypesItem. 36 | * 37 | * @return FileTypeList 38 | **/ 39 | public FileTypeList addFileTypesItem(FileType fileTypesItem) { 40 | if (this.fileTypes == null) { 41 | this.fileTypes = new java.util.ArrayList<>(); 42 | } 43 | this.fileTypes.add(fileTypesItem); 44 | return this; 45 | } 46 | 47 | /** 48 | * A collection of file types.. 49 | * @return fileTypes 50 | **/ 51 | @Schema(description = "A collection of file types.") 52 | public java.util.List getFileTypes() { 53 | return fileTypes; 54 | } 55 | 56 | /** 57 | * setFileTypes. 58 | **/ 59 | public void setFileTypes(java.util.List fileTypes) { 60 | this.fileTypes = fileTypes; 61 | } 62 | 63 | 64 | /** 65 | * Compares objects. 66 | * 67 | * @return true or false depending on comparison result. 68 | */ 69 | @Override 70 | public boolean equals(java.lang.Object o) { 71 | if (this == o) { 72 | return true; 73 | } 74 | if (o == null || getClass() != o.getClass()) { 75 | return false; 76 | } 77 | FileTypeList fileTypeList = (FileTypeList) o; 78 | return Objects.equals(this.fileTypes, fileTypeList.fileTypes); 79 | } 80 | 81 | /** 82 | * Returns the HashCode. 83 | */ 84 | @Override 85 | public int hashCode() { 86 | return Objects.hash(fileTypes); 87 | } 88 | 89 | 90 | /** 91 | * Converts the given object to string. 92 | */ 93 | @Override 94 | public String toString() { 95 | StringBuilder sb = new StringBuilder(); 96 | sb.append("class FileTypeList {\n"); 97 | 98 | sb.append(" fileTypes: ").append(toIndentedString(fileTypes)).append("\n"); 99 | sb.append("}"); 100 | return sb.toString(); 101 | } 102 | 103 | /** 104 | * Convert the given object to string with each line indented by 4 spaces 105 | * (except the first line). 106 | */ 107 | private String toIndentedString(java.lang.Object o) { 108 | if (o == null) { 109 | return "null"; 110 | } 111 | return o.toString().replace("\n", "\n "); 112 | } 113 | 114 | } 115 | 116 | -------------------------------------------------------------------------------- /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.v3.oas.annotations.media.Schema; 9 | import java.io.Serializable; 10 | 11 | /** 12 | * CreditCardTypes. 13 | * 14 | */ 15 | 16 | public class CreditCardTypes implements Serializable { 17 | private static final long serialVersionUID = 1L; 18 | 19 | @JsonProperty("cardTypes") 20 | private java.util.List cardTypes = null; 21 | 22 | 23 | /** 24 | * cardTypes. 25 | * 26 | * @return CreditCardTypes 27 | **/ 28 | public CreditCardTypes cardTypes(java.util.List cardTypes) { 29 | this.cardTypes = cardTypes; 30 | return this; 31 | } 32 | 33 | /** 34 | * addCardTypesItem. 35 | * 36 | * @return CreditCardTypes 37 | **/ 38 | public CreditCardTypes addCardTypesItem(String cardTypesItem) { 39 | if (this.cardTypes == null) { 40 | this.cardTypes = new java.util.ArrayList<>(); 41 | } 42 | this.cardTypes.add(cardTypesItem); 43 | return this; 44 | } 45 | 46 | /** 47 | * An array containing supported credit card types.. 48 | * @return cardTypes 49 | **/ 50 | @Schema(description = "An array containing supported credit card types.") 51 | public java.util.List getCardTypes() { 52 | return cardTypes; 53 | } 54 | 55 | /** 56 | * setCardTypes. 57 | **/ 58 | public void setCardTypes(java.util.List cardTypes) { 59 | this.cardTypes = cardTypes; 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 | CreditCardTypes creditCardTypes = (CreditCardTypes) o; 77 | return Objects.equals(this.cardTypes, creditCardTypes.cardTypes); 78 | } 79 | 80 | /** 81 | * Returns the HashCode. 82 | */ 83 | @Override 84 | public int hashCode() { 85 | return Objects.hash(cardTypes); 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 CreditCardTypes {\n"); 96 | 97 | sb.append(" cardTypes: ").append(toIndentedString(cardTypes)).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/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.v3.oas.annotations.media.Schema; 10 | import java.io.Serializable; 11 | 12 | /** 13 | * Details about one or more brands.. 14 | * 15 | */ 16 | @Schema(description = "Details about one or more brands.") 17 | 18 | public class BrandsRequest implements Serializable { 19 | private static final long serialVersionUID = 1L; 20 | 21 | @JsonProperty("brands") 22 | private java.util.List brands = null; 23 | 24 | 25 | /** 26 | * brands. 27 | * 28 | * @return BrandsRequest 29 | **/ 30 | public BrandsRequest brands(java.util.List brands) { 31 | this.brands = brands; 32 | return this; 33 | } 34 | 35 | /** 36 | * addBrandsItem. 37 | * 38 | * @return BrandsRequest 39 | **/ 40 | public BrandsRequest addBrandsItem(BrandRequest brandsItem) { 41 | if (this.brands == null) { 42 | this.brands = new java.util.ArrayList<>(); 43 | } 44 | this.brands.add(brandsItem); 45 | return this; 46 | } 47 | 48 | /** 49 | * The list of brands.. 50 | * @return brands 51 | **/ 52 | @Schema(description = "The list of brands.") 53 | public java.util.List getBrands() { 54 | return brands; 55 | } 56 | 57 | /** 58 | * setBrands. 59 | **/ 60 | public void setBrands(java.util.List brands) { 61 | this.brands = brands; 62 | } 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 | BrandsRequest brandsRequest = (BrandsRequest) o; 79 | return Objects.equals(this.brands, brandsRequest.brands); 80 | } 81 | 82 | /** 83 | * Returns the HashCode. 84 | */ 85 | @Override 86 | public int hashCode() { 87 | return Objects.hash(brands); 88 | } 89 | 90 | 91 | /** 92 | * Converts the given object to string. 93 | */ 94 | @Override 95 | public String toString() { 96 | StringBuilder sb = new StringBuilder(); 97 | sb.append("class BrandsRequest {\n"); 98 | 99 | sb.append(" brands: ").append(toIndentedString(brands)).append("\n"); 100 | sb.append("}"); 101 | return sb.toString(); 102 | } 103 | 104 | /** 105 | * Convert the given object to string with each line indented by 4 spaces 106 | * (except the first line). 107 | */ 108 | private String toIndentedString(java.lang.Object o) { 109 | if (o == null) { 110 | return "null"; 111 | } 112 | return o.toString().replace("\n", "\n "); 113 | } 114 | 115 | } 116 | 117 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/EnvelopeViewEnvelopeCustomFieldSettings.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.v3.oas.annotations.media.Schema; 9 | import java.io.Serializable; 10 | 11 | /** 12 | * EnvelopeViewEnvelopeCustomFieldSettings. 13 | * 14 | */ 15 | 16 | public class EnvelopeViewEnvelopeCustomFieldSettings implements Serializable { 17 | private static final long serialVersionUID = 1L; 18 | 19 | @JsonProperty("showEnvelopeCustomFields") 20 | private String showEnvelopeCustomFields = null; 21 | 22 | 23 | /** 24 | * showEnvelopeCustomFields. 25 | * 26 | * @return EnvelopeViewEnvelopeCustomFieldSettings 27 | **/ 28 | public EnvelopeViewEnvelopeCustomFieldSettings showEnvelopeCustomFields(String showEnvelopeCustomFields) { 29 | this.showEnvelopeCustomFields = showEnvelopeCustomFields; 30 | return this; 31 | } 32 | 33 | /** 34 | * . 35 | * @return showEnvelopeCustomFields 36 | **/ 37 | @Schema(description = "") 38 | public String getShowEnvelopeCustomFields() { 39 | return showEnvelopeCustomFields; 40 | } 41 | 42 | /** 43 | * setShowEnvelopeCustomFields. 44 | **/ 45 | public void setShowEnvelopeCustomFields(String showEnvelopeCustomFields) { 46 | this.showEnvelopeCustomFields = showEnvelopeCustomFields; 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 | EnvelopeViewEnvelopeCustomFieldSettings envelopeViewEnvelopeCustomFieldSettings = (EnvelopeViewEnvelopeCustomFieldSettings) o; 64 | return Objects.equals(this.showEnvelopeCustomFields, envelopeViewEnvelopeCustomFieldSettings.showEnvelopeCustomFields); 65 | } 66 | 67 | /** 68 | * Returns the HashCode. 69 | */ 70 | @Override 71 | public int hashCode() { 72 | return Objects.hash(showEnvelopeCustomFields); 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 EnvelopeViewEnvelopeCustomFieldSettings {\n"); 83 | 84 | sb.append(" showEnvelopeCustomFields: ").append(toIndentedString(showEnvelopeCustomFields)).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/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.v3.oas.annotations.media.Schema; 10 | import java.io.Serializable; 11 | 12 | /** 13 | * NewUsersDefinition. 14 | * 15 | */ 16 | 17 | public class NewUsersDefinition implements Serializable { 18 | private static final long serialVersionUID = 1L; 19 | 20 | @JsonProperty("newUsers") 21 | private java.util.List newUsers = null; 22 | 23 | 24 | /** 25 | * newUsers. 26 | * 27 | * @return NewUsersDefinition 28 | **/ 29 | public NewUsersDefinition newUsers(java.util.List newUsers) { 30 | this.newUsers = newUsers; 31 | return this; 32 | } 33 | 34 | /** 35 | * addNewUsersItem. 36 | * 37 | * @return NewUsersDefinition 38 | **/ 39 | public NewUsersDefinition addNewUsersItem(UserInformation newUsersItem) { 40 | if (this.newUsers == null) { 41 | this.newUsers = new java.util.ArrayList<>(); 42 | } 43 | this.newUsers.add(newUsersItem); 44 | return this; 45 | } 46 | 47 | /** 48 | * . 49 | * @return newUsers 50 | **/ 51 | @Schema(description = "") 52 | public java.util.List getNewUsers() { 53 | return newUsers; 54 | } 55 | 56 | /** 57 | * setNewUsers. 58 | **/ 59 | public void setNewUsers(java.util.List newUsers) { 60 | this.newUsers = newUsers; 61 | } 62 | 63 | 64 | /** 65 | * Compares objects. 66 | * 67 | * @return true or false depending on comparison result. 68 | */ 69 | @Override 70 | public boolean equals(java.lang.Object o) { 71 | if (this == o) { 72 | return true; 73 | } 74 | if (o == null || getClass() != o.getClass()) { 75 | return false; 76 | } 77 | NewUsersDefinition newUsersDefinition = (NewUsersDefinition) o; 78 | return Objects.equals(this.newUsers, newUsersDefinition.newUsers); 79 | } 80 | 81 | /** 82 | * Returns the HashCode. 83 | */ 84 | @Override 85 | public int hashCode() { 86 | return Objects.hash(newUsers); 87 | } 88 | 89 | 90 | /** 91 | * Converts the given object to string. 92 | */ 93 | @Override 94 | public String toString() { 95 | StringBuilder sb = new StringBuilder(); 96 | sb.append("class NewUsersDefinition {\n"); 97 | 98 | sb.append(" newUsers: ").append(toIndentedString(newUsers)).append("\n"); 99 | sb.append("}"); 100 | return sb.toString(); 101 | } 102 | 103 | /** 104 | * Convert the given object to string with each line indented by 4 spaces 105 | * (except the first line). 106 | */ 107 | private String toIndentedString(java.lang.Object o) { 108 | if (o == null) { 109 | return "null"; 110 | } 111 | return o.toString().replace("\n", "\n "); 112 | } 113 | 114 | } 115 | 116 | -------------------------------------------------------------------------------- /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.v3.oas.annotations.media.Schema; 10 | import java.io.Serializable; 11 | 12 | /** 13 | * ResourceInformation. 14 | * 15 | */ 16 | 17 | public class ResourceInformation implements Serializable { 18 | private static final long serialVersionUID = 1L; 19 | 20 | @JsonProperty("resources") 21 | private java.util.List resources = null; 22 | 23 | 24 | /** 25 | * resources. 26 | * 27 | * @return ResourceInformation 28 | **/ 29 | public ResourceInformation resources(java.util.List resources) { 30 | this.resources = resources; 31 | return this; 32 | } 33 | 34 | /** 35 | * addResourcesItem. 36 | * 37 | * @return ResourceInformation 38 | **/ 39 | public ResourceInformation addResourcesItem(NameValue resourcesItem) { 40 | if (this.resources == null) { 41 | this.resources = new java.util.ArrayList<>(); 42 | } 43 | this.resources.add(resourcesItem); 44 | return this; 45 | } 46 | 47 | /** 48 | * . 49 | * @return resources 50 | **/ 51 | @Schema(description = "") 52 | public java.util.List getResources() { 53 | return resources; 54 | } 55 | 56 | /** 57 | * setResources. 58 | **/ 59 | public void setResources(java.util.List resources) { 60 | this.resources = resources; 61 | } 62 | 63 | 64 | /** 65 | * Compares objects. 66 | * 67 | * @return true or false depending on comparison result. 68 | */ 69 | @Override 70 | public boolean equals(java.lang.Object o) { 71 | if (this == o) { 72 | return true; 73 | } 74 | if (o == null || getClass() != o.getClass()) { 75 | return false; 76 | } 77 | ResourceInformation resourceInformation = (ResourceInformation) o; 78 | return Objects.equals(this.resources, resourceInformation.resources); 79 | } 80 | 81 | /** 82 | * Returns the HashCode. 83 | */ 84 | @Override 85 | public int hashCode() { 86 | return Objects.hash(resources); 87 | } 88 | 89 | 90 | /** 91 | * Converts the given object to string. 92 | */ 93 | @Override 94 | public String toString() { 95 | StringBuilder sb = new StringBuilder(); 96 | sb.append("class ResourceInformation {\n"); 97 | 98 | sb.append(" resources: ").append(toIndentedString(resources)).append("\n"); 99 | sb.append("}"); 100 | return sb.toString(); 101 | } 102 | 103 | /** 104 | * Convert the given object to string with each line indented by 4 spaces 105 | * (except the first line). 106 | */ 107 | private String toIndentedString(java.lang.Object o) { 108 | if (o == null) { 109 | return "null"; 110 | } 111 | return o.toString().replace("\n", "\n "); 112 | } 113 | 114 | } 115 | 116 | -------------------------------------------------------------------------------- /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.v3.oas.annotations.media.Schema; 10 | import java.io.Serializable; 11 | 12 | /** 13 | * PowerFormsRequest. 14 | * 15 | */ 16 | 17 | public class PowerFormsRequest implements Serializable { 18 | private static final long serialVersionUID = 1L; 19 | 20 | @JsonProperty("powerForms") 21 | private java.util.List powerForms = null; 22 | 23 | 24 | /** 25 | * powerForms. 26 | * 27 | * @return PowerFormsRequest 28 | **/ 29 | public PowerFormsRequest powerForms(java.util.List powerForms) { 30 | this.powerForms = powerForms; 31 | return this; 32 | } 33 | 34 | /** 35 | * addPowerFormsItem. 36 | * 37 | * @return PowerFormsRequest 38 | **/ 39 | public PowerFormsRequest addPowerFormsItem(PowerForm powerFormsItem) { 40 | if (this.powerForms == null) { 41 | this.powerForms = new java.util.ArrayList<>(); 42 | } 43 | this.powerForms.add(powerFormsItem); 44 | return this; 45 | } 46 | 47 | /** 48 | * . 49 | * @return powerForms 50 | **/ 51 | @Schema(description = "") 52 | public java.util.List getPowerForms() { 53 | return powerForms; 54 | } 55 | 56 | /** 57 | * setPowerForms. 58 | **/ 59 | public void setPowerForms(java.util.List powerForms) { 60 | this.powerForms = powerForms; 61 | } 62 | 63 | 64 | /** 65 | * Compares objects. 66 | * 67 | * @return true or false depending on comparison result. 68 | */ 69 | @Override 70 | public boolean equals(java.lang.Object o) { 71 | if (this == o) { 72 | return true; 73 | } 74 | if (o == null || getClass() != o.getClass()) { 75 | return false; 76 | } 77 | PowerFormsRequest powerFormsRequest = (PowerFormsRequest) o; 78 | return Objects.equals(this.powerForms, powerFormsRequest.powerForms); 79 | } 80 | 81 | /** 82 | * Returns the HashCode. 83 | */ 84 | @Override 85 | public int hashCode() { 86 | return Objects.hash(powerForms); 87 | } 88 | 89 | 90 | /** 91 | * Converts the given object to string. 92 | */ 93 | @Override 94 | public String toString() { 95 | StringBuilder sb = new StringBuilder(); 96 | sb.append("class PowerFormsRequest {\n"); 97 | 98 | sb.append(" powerForms: ").append(toIndentedString(powerForms)).append("\n"); 99 | sb.append("}"); 100 | return sb.toString(); 101 | } 102 | 103 | /** 104 | * Convert the given object to string with each line indented by 4 spaces 105 | * (except the first line). 106 | */ 107 | private String toIndentedString(java.lang.Object o) { 108 | if (o == null) { 109 | return "null"; 110 | } 111 | return o.toString().replace("\n", "\n "); 112 | } 113 | 114 | } 115 | 116 | -------------------------------------------------------------------------------- /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.v3.oas.annotations.media.Schema; 10 | import java.io.Serializable; 11 | 12 | /** 13 | * Object representing a summary of data for new users.. 14 | * 15 | */ 16 | @Schema(description = "Object representing a summary of data for new users.") 17 | 18 | public class NewUsersSummary implements Serializable { 19 | private static final long serialVersionUID = 1L; 20 | 21 | @JsonProperty("newUsers") 22 | private java.util.List newUsers = null; 23 | 24 | 25 | /** 26 | * newUsers. 27 | * 28 | * @return NewUsersSummary 29 | **/ 30 | public NewUsersSummary newUsers(java.util.List newUsers) { 31 | this.newUsers = newUsers; 32 | return this; 33 | } 34 | 35 | /** 36 | * addNewUsersItem. 37 | * 38 | * @return NewUsersSummary 39 | **/ 40 | public NewUsersSummary addNewUsersItem(NewUser newUsersItem) { 41 | if (this.newUsers == null) { 42 | this.newUsers = new java.util.ArrayList<>(); 43 | } 44 | this.newUsers.add(newUsersItem); 45 | return this; 46 | } 47 | 48 | /** 49 | * . 50 | * @return newUsers 51 | **/ 52 | @Schema(description = "") 53 | public java.util.List getNewUsers() { 54 | return newUsers; 55 | } 56 | 57 | /** 58 | * setNewUsers. 59 | **/ 60 | public void setNewUsers(java.util.List newUsers) { 61 | this.newUsers = newUsers; 62 | } 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 | NewUsersSummary newUsersSummary = (NewUsersSummary) o; 79 | return Objects.equals(this.newUsers, newUsersSummary.newUsers); 80 | } 81 | 82 | /** 83 | * Returns the HashCode. 84 | */ 85 | @Override 86 | public int hashCode() { 87 | return Objects.hash(newUsers); 88 | } 89 | 90 | 91 | /** 92 | * Converts the given object to string. 93 | */ 94 | @Override 95 | public String toString() { 96 | StringBuilder sb = new StringBuilder(); 97 | sb.append("class NewUsersSummary {\n"); 98 | 99 | sb.append(" newUsers: ").append(toIndentedString(newUsers)).append("\n"); 100 | sb.append("}"); 101 | return sb.toString(); 102 | } 103 | 104 | /** 105 | * Convert the given object to string with each line indented by 4 spaces 106 | * (except the first line). 107 | */ 108 | private String toIndentedString(java.lang.Object o) { 109 | if (o == null) { 110 | return "null"; 111 | } 112 | return o.toString().replace("\n", "\n "); 113 | } 114 | 115 | } 116 | 117 | -------------------------------------------------------------------------------- /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.v3.oas.annotations.media.Schema; 10 | import java.io.Serializable; 11 | 12 | /** 13 | * TemplateInformation. 14 | * 15 | */ 16 | 17 | public class TemplateInformation implements Serializable { 18 | private static final long serialVersionUID = 1L; 19 | 20 | @JsonProperty("templates") 21 | private java.util.List templates = null; 22 | 23 | 24 | /** 25 | * templates. 26 | * 27 | * @return TemplateInformation 28 | **/ 29 | public TemplateInformation templates(java.util.List templates) { 30 | this.templates = templates; 31 | return this; 32 | } 33 | 34 | /** 35 | * addTemplatesItem. 36 | * 37 | * @return TemplateInformation 38 | **/ 39 | public TemplateInformation addTemplatesItem(TemplateSummary templatesItem) { 40 | if (this.templates == null) { 41 | this.templates = new java.util.ArrayList<>(); 42 | } 43 | this.templates.add(templatesItem); 44 | return this; 45 | } 46 | 47 | /** 48 | * . 49 | * @return templates 50 | **/ 51 | @Schema(description = "") 52 | public java.util.List getTemplates() { 53 | return templates; 54 | } 55 | 56 | /** 57 | * setTemplates. 58 | **/ 59 | public void setTemplates(java.util.List templates) { 60 | this.templates = templates; 61 | } 62 | 63 | 64 | /** 65 | * Compares objects. 66 | * 67 | * @return true or false depending on comparison result. 68 | */ 69 | @Override 70 | public boolean equals(java.lang.Object o) { 71 | if (this == o) { 72 | return true; 73 | } 74 | if (o == null || getClass() != o.getClass()) { 75 | return false; 76 | } 77 | TemplateInformation templateInformation = (TemplateInformation) o; 78 | return Objects.equals(this.templates, templateInformation.templates); 79 | } 80 | 81 | /** 82 | * Returns the HashCode. 83 | */ 84 | @Override 85 | public int hashCode() { 86 | return Objects.hash(templates); 87 | } 88 | 89 | 90 | /** 91 | * Converts the given object to string. 92 | */ 93 | @Override 94 | public String toString() { 95 | StringBuilder sb = new StringBuilder(); 96 | sb.append("class TemplateInformation {\n"); 97 | 98 | sb.append(" templates: ").append(toIndentedString(templates)).append("\n"); 99 | sb.append("}"); 100 | return sb.toString(); 101 | } 102 | 103 | /** 104 | * Convert the given object to string with each line indented by 4 spaces 105 | * (except the first line). 106 | */ 107 | private String toIndentedString(java.lang.Object o) { 108 | if (o == null) { 109 | return "null"; 110 | } 111 | return o.toString().replace("\n", "\n "); 112 | } 113 | 114 | } 115 | 116 | -------------------------------------------------------------------------------- /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.v3.oas.annotations.media.Schema; 10 | import java.io.Serializable; 11 | 12 | /** 13 | * EnvelopeAuditEvent. 14 | * 15 | */ 16 | 17 | public class EnvelopeAuditEvent implements Serializable { 18 | private static final long serialVersionUID = 1L; 19 | 20 | @JsonProperty("eventFields") 21 | private java.util.List eventFields = null; 22 | 23 | 24 | /** 25 | * eventFields. 26 | * 27 | * @return EnvelopeAuditEvent 28 | **/ 29 | public EnvelopeAuditEvent eventFields(java.util.List eventFields) { 30 | this.eventFields = eventFields; 31 | return this; 32 | } 33 | 34 | /** 35 | * addEventFieldsItem. 36 | * 37 | * @return EnvelopeAuditEvent 38 | **/ 39 | public EnvelopeAuditEvent addEventFieldsItem(NameValue eventFieldsItem) { 40 | if (this.eventFields == null) { 41 | this.eventFields = new java.util.ArrayList<>(); 42 | } 43 | this.eventFields.add(eventFieldsItem); 44 | return this; 45 | } 46 | 47 | /** 48 | * . 49 | * @return eventFields 50 | **/ 51 | @Schema(description = "") 52 | public java.util.List getEventFields() { 53 | return eventFields; 54 | } 55 | 56 | /** 57 | * setEventFields. 58 | **/ 59 | public void setEventFields(java.util.List eventFields) { 60 | this.eventFields = eventFields; 61 | } 62 | 63 | 64 | /** 65 | * Compares objects. 66 | * 67 | * @return true or false depending on comparison result. 68 | */ 69 | @Override 70 | public boolean equals(java.lang.Object o) { 71 | if (this == o) { 72 | return true; 73 | } 74 | if (o == null || getClass() != o.getClass()) { 75 | return false; 76 | } 77 | EnvelopeAuditEvent envelopeAuditEvent = (EnvelopeAuditEvent) o; 78 | return Objects.equals(this.eventFields, envelopeAuditEvent.eventFields); 79 | } 80 | 81 | /** 82 | * Returns the HashCode. 83 | */ 84 | @Override 85 | public int hashCode() { 86 | return Objects.hash(eventFields); 87 | } 88 | 89 | 90 | /** 91 | * Converts the given object to string. 92 | */ 93 | @Override 94 | public String toString() { 95 | StringBuilder sb = new StringBuilder(); 96 | sb.append("class EnvelopeAuditEvent {\n"); 97 | 98 | sb.append(" eventFields: ").append(toIndentedString(eventFields)).append("\n"); 99 | sb.append("}"); 100 | return sb.toString(); 101 | } 102 | 103 | /** 104 | * Convert the given object to string with each line indented by 4 spaces 105 | * (except the first line). 106 | */ 107 | private String toIndentedString(java.lang.Object o) { 108 | if (o == null) { 109 | return "null"; 110 | } 111 | return o.toString().replace("\n", "\n "); 112 | } 113 | 114 | } 115 | 116 | -------------------------------------------------------------------------------- /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.v3.oas.annotations.media.Schema; 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 | @Schema(description = "") 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 | @Schema(description = "") 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 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 | -------------------------------------------------------------------------------- /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.v3.oas.annotations.media.Schema; 10 | import java.io.Serializable; 11 | 12 | /** 13 | * Provides properties that describe the items contained in a workspace.. 14 | * 15 | */ 16 | @Schema(description = "Provides properties that describe the items contained in a workspace.") 17 | 18 | public class WorkspaceItemList implements Serializable { 19 | private static final long serialVersionUID = 1L; 20 | 21 | @JsonProperty("items") 22 | private java.util.List items = null; 23 | 24 | 25 | /** 26 | * items. 27 | * 28 | * @return WorkspaceItemList 29 | **/ 30 | public WorkspaceItemList items(java.util.List items) { 31 | this.items = items; 32 | return this; 33 | } 34 | 35 | /** 36 | * addItemsItem. 37 | * 38 | * @return WorkspaceItemList 39 | **/ 40 | public WorkspaceItemList addItemsItem(WorkspaceItem itemsItem) { 41 | if (this.items == null) { 42 | this.items = new java.util.ArrayList<>(); 43 | } 44 | this.items.add(itemsItem); 45 | return this; 46 | } 47 | 48 | /** 49 | * . 50 | * @return items 51 | **/ 52 | @Schema(description = "") 53 | public java.util.List getItems() { 54 | return items; 55 | } 56 | 57 | /** 58 | * setItems. 59 | **/ 60 | public void setItems(java.util.List items) { 61 | this.items = items; 62 | } 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 | WorkspaceItemList workspaceItemList = (WorkspaceItemList) o; 79 | return Objects.equals(this.items, workspaceItemList.items); 80 | } 81 | 82 | /** 83 | * Returns the HashCode. 84 | */ 85 | @Override 86 | public int hashCode() { 87 | return Objects.hash(items); 88 | } 89 | 90 | 91 | /** 92 | * Converts the given object to string. 93 | */ 94 | @Override 95 | public String toString() { 96 | StringBuilder sb = new StringBuilder(); 97 | sb.append("class WorkspaceItemList {\n"); 98 | 99 | sb.append(" items: ").append(toIndentedString(items)).append("\n"); 100 | sb.append("}"); 101 | return sb.toString(); 102 | } 103 | 104 | /** 105 | * Convert the given object to string with each line indented by 4 spaces 106 | * (except the first line). 107 | */ 108 | private String toIndentedString(java.lang.Object o) { 109 | if (o == null) { 110 | return "null"; 111 | } 112 | return o.toString().replace("\n", "\n "); 113 | } 114 | 115 | } 116 | 117 | -------------------------------------------------------------------------------- /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.v3.oas.annotations.media.Schema; 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 | @Schema(description = "") 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 | @Schema(description = "") 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 | @Schema(description = "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 100 | * (except the first line). 101 | */ 102 | private String toIndentedString(java.lang.Object o) { 103 | if (o == null) { 104 | return "null"; 105 | } 106 | return o.toString().replace("\n", "\n "); 107 | } 108 | } 109 | -------------------------------------------------------------------------------- /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.v3.oas.annotations.media.Schema; 9 | import java.io.Serializable; 10 | 11 | /** 12 | * AccountPasswordLockoutDurationType. 13 | * 14 | */ 15 | 16 | public class AccountPasswordLockoutDurationType implements Serializable { 17 | private static final long serialVersionUID = 1L; 18 | 19 | @JsonProperty("options") 20 | private java.util.List options = null; 21 | 22 | 23 | /** 24 | * options. 25 | * 26 | * @return AccountPasswordLockoutDurationType 27 | **/ 28 | public AccountPasswordLockoutDurationType options(java.util.List options) { 29 | this.options = options; 30 | return this; 31 | } 32 | 33 | /** 34 | * addOptionsItem. 35 | * 36 | * @return AccountPasswordLockoutDurationType 37 | **/ 38 | public AccountPasswordLockoutDurationType addOptionsItem(String optionsItem) { 39 | if (this.options == null) { 40 | this.options = new java.util.ArrayList<>(); 41 | } 42 | this.options.add(optionsItem); 43 | return this; 44 | } 45 | 46 | /** 47 | * . 48 | * @return options 49 | **/ 50 | @Schema(description = "") 51 | public java.util.List getOptions() { 52 | return options; 53 | } 54 | 55 | /** 56 | * setOptions. 57 | **/ 58 | public void setOptions(java.util.List options) { 59 | this.options = options; 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 | AccountPasswordLockoutDurationType accountPasswordLockoutDurationType = (AccountPasswordLockoutDurationType) o; 77 | return Objects.equals(this.options, accountPasswordLockoutDurationType.options); 78 | } 79 | 80 | /** 81 | * Returns the HashCode. 82 | */ 83 | @Override 84 | public int hashCode() { 85 | return Objects.hash(options); 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 AccountPasswordLockoutDurationType {\n"); 96 | 97 | sb.append(" options: ").append(toIndentedString(options)).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/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.v3.oas.annotations.media.Schema; 10 | import java.io.Serializable; 11 | 12 | /** 13 | * A list of supported languages.. 14 | * 15 | */ 16 | @Schema(description = "A list of supported languages.") 17 | 18 | public class SupportedLanguages implements Serializable { 19 | private static final long serialVersionUID = 1L; 20 | 21 | @JsonProperty("languages") 22 | private java.util.List languages = null; 23 | 24 | 25 | /** 26 | * languages. 27 | * 28 | * @return SupportedLanguages 29 | **/ 30 | public SupportedLanguages languages(java.util.List languages) { 31 | this.languages = languages; 32 | return this; 33 | } 34 | 35 | /** 36 | * addLanguagesItem. 37 | * 38 | * @return SupportedLanguages 39 | **/ 40 | public SupportedLanguages addLanguagesItem(NameValue languagesItem) { 41 | if (this.languages == null) { 42 | this.languages = new java.util.ArrayList<>(); 43 | } 44 | this.languages.add(languagesItem); 45 | return this; 46 | } 47 | 48 | /** 49 | * . 50 | * @return languages 51 | **/ 52 | @Schema(description = "") 53 | public java.util.List getLanguages() { 54 | return languages; 55 | } 56 | 57 | /** 58 | * setLanguages. 59 | **/ 60 | public void setLanguages(java.util.List languages) { 61 | this.languages = languages; 62 | } 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 | SupportedLanguages supportedLanguages = (SupportedLanguages) o; 79 | return Objects.equals(this.languages, supportedLanguages.languages); 80 | } 81 | 82 | /** 83 | * Returns the HashCode. 84 | */ 85 | @Override 86 | public int hashCode() { 87 | return Objects.hash(languages); 88 | } 89 | 90 | 91 | /** 92 | * Converts the given object to string. 93 | */ 94 | @Override 95 | public String toString() { 96 | StringBuilder sb = new StringBuilder(); 97 | sb.append("class SupportedLanguages {\n"); 98 | 99 | sb.append(" languages: ").append(toIndentedString(languages)).append("\n"); 100 | sb.append("}"); 101 | return sb.toString(); 102 | } 103 | 104 | /** 105 | * Convert the given object to string with each line indented by 4 spaces 106 | * (except the first line). 107 | */ 108 | private String toIndentedString(java.lang.Object o) { 109 | if (o == null) { 110 | return "null"; 111 | } 112 | return o.toString().replace("\n", "\n "); 113 | } 114 | 115 | } 116 | 117 | -------------------------------------------------------------------------------- /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.v3.oas.annotations.media.Schema; 9 | import java.io.Serializable; 10 | 11 | /** 12 | * Province. 13 | * 14 | */ 15 | 16 | public class Province implements Serializable { 17 | private static final long serialVersionUID = 1L; 18 | 19 | @JsonProperty("isoCode") 20 | private String isoCode = null; 21 | 22 | @JsonProperty("name") 23 | private String name = null; 24 | 25 | 26 | /** 27 | * isoCode. 28 | * 29 | * @return Province 30 | **/ 31 | public Province isoCode(String isoCode) { 32 | this.isoCode = isoCode; 33 | return this; 34 | } 35 | 36 | /** 37 | * . 38 | * @return isoCode 39 | **/ 40 | @Schema(description = "") 41 | public String getIsoCode() { 42 | return isoCode; 43 | } 44 | 45 | /** 46 | * setIsoCode. 47 | **/ 48 | public void setIsoCode(String isoCode) { 49 | this.isoCode = isoCode; 50 | } 51 | 52 | 53 | /** 54 | * name. 55 | * 56 | * @return Province 57 | **/ 58 | public Province name(String name) { 59 | this.name = name; 60 | return this; 61 | } 62 | 63 | /** 64 | * . 65 | * @return name 66 | **/ 67 | @Schema(description = "") 68 | public String getName() { 69 | return name; 70 | } 71 | 72 | /** 73 | * setName. 74 | **/ 75 | public void setName(String name) { 76 | this.name = name; 77 | } 78 | 79 | 80 | /** 81 | * Compares objects. 82 | * 83 | * @return true or false depending on comparison result. 84 | */ 85 | @Override 86 | public boolean equals(java.lang.Object o) { 87 | if (this == o) { 88 | return true; 89 | } 90 | if (o == null || getClass() != o.getClass()) { 91 | return false; 92 | } 93 | Province province = (Province) o; 94 | return Objects.equals(this.isoCode, province.isoCode) && 95 | Objects.equals(this.name, province.name); 96 | } 97 | 98 | /** 99 | * Returns the HashCode. 100 | */ 101 | @Override 102 | public int hashCode() { 103 | return Objects.hash(isoCode, name); 104 | } 105 | 106 | 107 | /** 108 | * Converts the given object to string. 109 | */ 110 | @Override 111 | public String toString() { 112 | StringBuilder sb = new StringBuilder(); 113 | sb.append("class Province {\n"); 114 | 115 | sb.append(" isoCode: ").append(toIndentedString(isoCode)).append("\n"); 116 | sb.append(" name: ").append(toIndentedString(name)).append("\n"); 117 | sb.append("}"); 118 | return sb.toString(); 119 | } 120 | 121 | /** 122 | * Convert the given object to string with each line indented by 4 spaces 123 | * (except the first line). 124 | */ 125 | private String toIndentedString(java.lang.Object o) { 126 | if (o == null) { 127 | return "null"; 128 | } 129 | return o.toString().replace("\n", "\n "); 130 | } 131 | 132 | } 133 | 134 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/TemplateAutoMatchList.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import java.util.Objects; 4 | import java.util.Arrays; 5 | import com.docusign.esign.model.TemplateAutoMatch; 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.v3.oas.annotations.media.Schema; 10 | import java.io.Serializable; 11 | 12 | /** 13 | * TemplateAutoMatchList. 14 | * 15 | */ 16 | 17 | public class TemplateAutoMatchList implements Serializable { 18 | private static final long serialVersionUID = 1L; 19 | 20 | @JsonProperty("templates") 21 | private java.util.List templates = null; 22 | 23 | 24 | /** 25 | * templates. 26 | * 27 | * @return TemplateAutoMatchList 28 | **/ 29 | public TemplateAutoMatchList templates(java.util.List templates) { 30 | this.templates = templates; 31 | return this; 32 | } 33 | 34 | /** 35 | * addTemplatesItem. 36 | * 37 | * @return TemplateAutoMatchList 38 | **/ 39 | public TemplateAutoMatchList addTemplatesItem(TemplateAutoMatch templatesItem) { 40 | if (this.templates == null) { 41 | this.templates = new java.util.ArrayList<>(); 42 | } 43 | this.templates.add(templatesItem); 44 | return this; 45 | } 46 | 47 | /** 48 | * . 49 | * @return templates 50 | **/ 51 | @Schema(description = "") 52 | public java.util.List getTemplates() { 53 | return templates; 54 | } 55 | 56 | /** 57 | * setTemplates. 58 | **/ 59 | public void setTemplates(java.util.List templates) { 60 | this.templates = templates; 61 | } 62 | 63 | 64 | /** 65 | * Compares objects. 66 | * 67 | * @return true or false depending on comparison result. 68 | */ 69 | @Override 70 | public boolean equals(java.lang.Object o) { 71 | if (this == o) { 72 | return true; 73 | } 74 | if (o == null || getClass() != o.getClass()) { 75 | return false; 76 | } 77 | TemplateAutoMatchList templateAutoMatchList = (TemplateAutoMatchList) o; 78 | return Objects.equals(this.templates, templateAutoMatchList.templates); 79 | } 80 | 81 | /** 82 | * Returns the HashCode. 83 | */ 84 | @Override 85 | public int hashCode() { 86 | return Objects.hash(templates); 87 | } 88 | 89 | 90 | /** 91 | * Converts the given object to string. 92 | */ 93 | @Override 94 | public String toString() { 95 | StringBuilder sb = new StringBuilder(); 96 | sb.append("class TemplateAutoMatchList {\n"); 97 | 98 | sb.append(" templates: ").append(toIndentedString(templates)).append("\n"); 99 | sb.append("}"); 100 | return sb.toString(); 101 | } 102 | 103 | /** 104 | * Convert the given object to string with each line indented by 4 spaces 105 | * (except the first line). 106 | */ 107 | private String toIndentedString(java.lang.Object o) { 108 | if (o == null) { 109 | return "null"; 110 | } 111 | return o.toString().replace("\n", "\n "); 112 | } 113 | 114 | } 115 | 116 | -------------------------------------------------------------------------------- /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.v3.oas.annotations.media.Schema; 5 | import io.swagger.v3.oas.annotations.media.Schema; 6 | import java.util.Objects; 7 | 8 | /** 9 | * Contains the name/value pair information for the SAML assertion attributes: * 10 | * name - The name of 11 | * the SAML assertion attribute. * value - The value associated with the named 12 | * SAML assertion 13 | * attribute. Your account must be set up to use SSO to use this. 14 | */ 15 | @Schema(description = "Contains the name/value pair information for the SAML assertion attributes: * name - The name of the SAML assertion attribute. * value - The value associated with the named SAML assertion attribute. Your account must be set up to use SSO to use this.") 16 | public class RecipientSAMLAuthentication { 17 | @JsonProperty("samlAssertionAttributes") 18 | private java.util.List samlAssertionAttributes = new java.util.ArrayList(); 19 | 20 | public RecipientSAMLAuthentication samlAssertionAttributes( 21 | java.util.List samlAssertionAttributes) { 22 | this.samlAssertionAttributes = samlAssertionAttributes; 23 | return this; 24 | } 25 | 26 | public RecipientSAMLAuthentication addSamlAssertionAttributesItem( 27 | SamlAssertionAttribute samlAssertionAttributesItem) { 28 | this.samlAssertionAttributes.add(samlAssertionAttributesItem); 29 | return this; 30 | } 31 | 32 | /** @return samlAssertionAttributes */ 33 | @Schema(example = "null", description = "") 34 | public java.util.List getSamlAssertionAttributes() { 35 | return samlAssertionAttributes; 36 | } 37 | 38 | public void setSamlAssertionAttributes( 39 | java.util.List samlAssertionAttributes) { 40 | this.samlAssertionAttributes = samlAssertionAttributes; 41 | } 42 | 43 | @Override 44 | public boolean equals(java.lang.Object o) { 45 | if (this == o) { 46 | return true; 47 | } 48 | if (o == null || getClass() != o.getClass()) { 49 | return false; 50 | } 51 | RecipientSAMLAuthentication recipientSAMLAuthentication = (RecipientSAMLAuthentication) o; 52 | return Objects.equals( 53 | this.samlAssertionAttributes, recipientSAMLAuthentication.samlAssertionAttributes); 54 | } 55 | 56 | @Override 57 | public int hashCode() { 58 | return Objects.hash(samlAssertionAttributes); 59 | } 60 | 61 | @Override 62 | public String toString() { 63 | StringBuilder sb = new StringBuilder(); 64 | sb.append("class RecipientSAMLAuthentication {\n"); 65 | 66 | sb.append(" samlAssertionAttributes: ") 67 | .append(toIndentedString(samlAssertionAttributes)) 68 | .append("\n"); 69 | sb.append("}"); 70 | return sb.toString(); 71 | } 72 | 73 | /** 74 | * Convert the given object to string with each line indented by 4 spaces 75 | * (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/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.v3.oas.annotations.media.Schema; 10 | import java.io.Serializable; 11 | 12 | /** 13 | * ConnectFailureResults. 14 | * 15 | */ 16 | 17 | public class ConnectFailureResults implements Serializable { 18 | private static final long serialVersionUID = 1L; 19 | 20 | @JsonProperty("retryQueue") 21 | private java.util.List retryQueue = null; 22 | 23 | 24 | /** 25 | * retryQueue. 26 | * 27 | * @return ConnectFailureResults 28 | **/ 29 | public ConnectFailureResults retryQueue(java.util.List retryQueue) { 30 | this.retryQueue = retryQueue; 31 | return this; 32 | } 33 | 34 | /** 35 | * addRetryQueueItem. 36 | * 37 | * @return ConnectFailureResults 38 | **/ 39 | public ConnectFailureResults addRetryQueueItem(ConnectFailureResult retryQueueItem) { 40 | if (this.retryQueue == null) { 41 | this.retryQueue = new java.util.ArrayList<>(); 42 | } 43 | this.retryQueue.add(retryQueueItem); 44 | return this; 45 | } 46 | 47 | /** 48 | * . 49 | * @return retryQueue 50 | **/ 51 | @Schema(description = "") 52 | public java.util.List getRetryQueue() { 53 | return retryQueue; 54 | } 55 | 56 | /** 57 | * setRetryQueue. 58 | **/ 59 | public void setRetryQueue(java.util.List retryQueue) { 60 | this.retryQueue = retryQueue; 61 | } 62 | 63 | 64 | /** 65 | * Compares objects. 66 | * 67 | * @return true or false depending on comparison result. 68 | */ 69 | @Override 70 | public boolean equals(java.lang.Object o) { 71 | if (this == o) { 72 | return true; 73 | } 74 | if (o == null || getClass() != o.getClass()) { 75 | return false; 76 | } 77 | ConnectFailureResults connectFailureResults = (ConnectFailureResults) o; 78 | return Objects.equals(this.retryQueue, connectFailureResults.retryQueue); 79 | } 80 | 81 | /** 82 | * Returns the HashCode. 83 | */ 84 | @Override 85 | public int hashCode() { 86 | return Objects.hash(retryQueue); 87 | } 88 | 89 | 90 | /** 91 | * Converts the given object to string. 92 | */ 93 | @Override 94 | public String toString() { 95 | StringBuilder sb = new StringBuilder(); 96 | sb.append("class ConnectFailureResults {\n"); 97 | 98 | sb.append(" retryQueue: ").append(toIndentedString(retryQueue)).append("\n"); 99 | sb.append("}"); 100 | return sb.toString(); 101 | } 102 | 103 | /** 104 | * Convert the given object to string with each line indented by 4 spaces 105 | * (except the first line). 106 | */ 107 | private String toIndentedString(java.lang.Object o) { 108 | if (o == null) { 109 | return "null"; 110 | } 111 | return o.toString().replace("\n", "\n "); 112 | } 113 | 114 | } 115 | 116 | -------------------------------------------------------------------------------- /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.v3.oas.annotations.media.Schema; 10 | import java.io.Serializable; 11 | 12 | /** 13 | * This response objects shows the updated details for the contacts.. 14 | * 15 | */ 16 | @Schema(description = "This response objects shows the updated details for the contacts.") 17 | 18 | public class ContactUpdateResponse implements Serializable { 19 | private static final long serialVersionUID = 1L; 20 | 21 | @JsonProperty("contacts") 22 | private java.util.List contacts = null; 23 | 24 | 25 | /** 26 | * contacts. 27 | * 28 | * @return ContactUpdateResponse 29 | **/ 30 | public ContactUpdateResponse contacts(java.util.List contacts) { 31 | this.contacts = contacts; 32 | return this; 33 | } 34 | 35 | /** 36 | * addContactsItem. 37 | * 38 | * @return ContactUpdateResponse 39 | **/ 40 | public ContactUpdateResponse addContactsItem(Contact contactsItem) { 41 | if (this.contacts == null) { 42 | this.contacts = new java.util.ArrayList<>(); 43 | } 44 | this.contacts.add(contactsItem); 45 | return this; 46 | } 47 | 48 | /** 49 | * . 50 | * @return contacts 51 | **/ 52 | @Schema(description = "") 53 | public java.util.List getContacts() { 54 | return contacts; 55 | } 56 | 57 | /** 58 | * setContacts. 59 | **/ 60 | public void setContacts(java.util.List contacts) { 61 | this.contacts = contacts; 62 | } 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 | ContactUpdateResponse contactUpdateResponse = (ContactUpdateResponse) o; 79 | return Objects.equals(this.contacts, contactUpdateResponse.contacts); 80 | } 81 | 82 | /** 83 | * Returns the HashCode. 84 | */ 85 | @Override 86 | public int hashCode() { 87 | return Objects.hash(contacts); 88 | } 89 | 90 | 91 | /** 92 | * Converts the given object to string. 93 | */ 94 | @Override 95 | public String toString() { 96 | StringBuilder sb = new StringBuilder(); 97 | sb.append("class ContactUpdateResponse {\n"); 98 | 99 | sb.append(" contacts: ").append(toIndentedString(contacts)).append("\n"); 100 | sb.append("}"); 101 | return sb.toString(); 102 | } 103 | 104 | /** 105 | * Convert the given object to string with each line indented by 4 spaces 106 | * (except the first line). 107 | */ 108 | private String toIndentedString(java.lang.Object o) { 109 | if (o == null) { 110 | return "null"; 111 | } 112 | return o.toString().replace("\n", "\n "); 113 | } 114 | 115 | } 116 | 117 | -------------------------------------------------------------------------------- /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.v3.oas.annotations.media.Schema; 10 | import java.io.Serializable; 11 | 12 | /** 13 | * SigningGroupInformation. 14 | * 15 | */ 16 | 17 | public class SigningGroupInformation implements Serializable { 18 | private static final long serialVersionUID = 1L; 19 | 20 | @JsonProperty("groups") 21 | private java.util.List groups = null; 22 | 23 | 24 | /** 25 | * groups. 26 | * 27 | * @return SigningGroupInformation 28 | **/ 29 | public SigningGroupInformation groups(java.util.List groups) { 30 | this.groups = groups; 31 | return this; 32 | } 33 | 34 | /** 35 | * addGroupsItem. 36 | * 37 | * @return SigningGroupInformation 38 | **/ 39 | public SigningGroupInformation addGroupsItem(SigningGroup groupsItem) { 40 | if (this.groups == null) { 41 | this.groups = new java.util.ArrayList<>(); 42 | } 43 | this.groups.add(groupsItem); 44 | return this; 45 | } 46 | 47 | /** 48 | * A collection group objects containing information about the groups returned.. 49 | * @return groups 50 | **/ 51 | @Schema(description = "A collection group objects containing information about the groups returned.") 52 | public java.util.List getGroups() { 53 | return groups; 54 | } 55 | 56 | /** 57 | * setGroups. 58 | **/ 59 | public void setGroups(java.util.List groups) { 60 | this.groups = groups; 61 | } 62 | 63 | 64 | /** 65 | * Compares objects. 66 | * 67 | * @return true or false depending on comparison result. 68 | */ 69 | @Override 70 | public boolean equals(java.lang.Object o) { 71 | if (this == o) { 72 | return true; 73 | } 74 | if (o == null || getClass() != o.getClass()) { 75 | return false; 76 | } 77 | SigningGroupInformation signingGroupInformation = (SigningGroupInformation) o; 78 | return Objects.equals(this.groups, signingGroupInformation.groups); 79 | } 80 | 81 | /** 82 | * Returns the HashCode. 83 | */ 84 | @Override 85 | public int hashCode() { 86 | return Objects.hash(groups); 87 | } 88 | 89 | 90 | /** 91 | * Converts the given object to string. 92 | */ 93 | @Override 94 | public String toString() { 95 | StringBuilder sb = new StringBuilder(); 96 | sb.append("class SigningGroupInformation {\n"); 97 | 98 | sb.append(" groups: ").append(toIndentedString(groups)).append("\n"); 99 | sb.append("}"); 100 | return sb.toString(); 101 | } 102 | 103 | /** 104 | * Convert the given object to string with each line indented by 4 spaces 105 | * (except the first line). 106 | */ 107 | private String toIndentedString(java.lang.Object o) { 108 | if (o == null) { 109 | return "null"; 110 | } 111 | return o.toString().replace("\n", "\n "); 112 | } 113 | 114 | } 115 | 116 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/UserAuthorizationsResponse.java: -------------------------------------------------------------------------------- 1 | package com.docusign.esign.model; 2 | 3 | import java.util.Objects; 4 | import java.util.Arrays; 5 | import com.docusign.esign.model.UserAuthorizationWithStatus; 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.v3.oas.annotations.media.Schema; 10 | import java.io.Serializable; 11 | 12 | /** 13 | * UserAuthorizationsResponse. 14 | * 15 | */ 16 | 17 | public class UserAuthorizationsResponse implements Serializable { 18 | private static final long serialVersionUID = 1L; 19 | 20 | @JsonProperty("results") 21 | private java.util.List results = null; 22 | 23 | 24 | /** 25 | * results. 26 | * 27 | * @return UserAuthorizationsResponse 28 | **/ 29 | public UserAuthorizationsResponse results(java.util.List results) { 30 | this.results = results; 31 | return this; 32 | } 33 | 34 | /** 35 | * addResultsItem. 36 | * 37 | * @return UserAuthorizationsResponse 38 | **/ 39 | public UserAuthorizationsResponse addResultsItem(UserAuthorizationWithStatus resultsItem) { 40 | if (this.results == null) { 41 | this.results = new java.util.ArrayList<>(); 42 | } 43 | this.results.add(resultsItem); 44 | return this; 45 | } 46 | 47 | /** 48 | * . 49 | * @return results 50 | **/ 51 | @Schema(description = "") 52 | public java.util.List getResults() { 53 | return results; 54 | } 55 | 56 | /** 57 | * setResults. 58 | **/ 59 | public void setResults(java.util.List results) { 60 | this.results = results; 61 | } 62 | 63 | 64 | /** 65 | * Compares objects. 66 | * 67 | * @return true or false depending on comparison result. 68 | */ 69 | @Override 70 | public boolean equals(java.lang.Object o) { 71 | if (this == o) { 72 | return true; 73 | } 74 | if (o == null || getClass() != o.getClass()) { 75 | return false; 76 | } 77 | UserAuthorizationsResponse userAuthorizationsResponse = (UserAuthorizationsResponse) o; 78 | return Objects.equals(this.results, userAuthorizationsResponse.results); 79 | } 80 | 81 | /** 82 | * Returns the HashCode. 83 | */ 84 | @Override 85 | public int hashCode() { 86 | return Objects.hash(results); 87 | } 88 | 89 | 90 | /** 91 | * Converts the given object to string. 92 | */ 93 | @Override 94 | public String toString() { 95 | StringBuilder sb = new StringBuilder(); 96 | sb.append("class UserAuthorizationsResponse {\n"); 97 | 98 | sb.append(" results: ").append(toIndentedString(results)).append("\n"); 99 | sb.append("}"); 100 | return sb.toString(); 101 | } 102 | 103 | /** 104 | * Convert the given object to string with each line indented by 4 spaces 105 | * (except the first line). 106 | */ 107 | private String toIndentedString(java.lang.Object o) { 108 | if (o == null) { 109 | return "null"; 110 | } 111 | return o.toString().replace("\n", "\n "); 112 | } 113 | 114 | } 115 | 116 | -------------------------------------------------------------------------------- /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.v3.oas.annotations.media.Schema; 9 | import java.io.Serializable; 10 | 11 | /** 12 | * DocumentHtmlDefinitions. 13 | * 14 | */ 15 | 16 | public class DocumentHtmlDefinitions implements Serializable { 17 | private static final long serialVersionUID = 1L; 18 | 19 | @JsonProperty("htmlDefinitions") 20 | private java.util.List htmlDefinitions = null; 21 | 22 | 23 | /** 24 | * htmlDefinitions. 25 | * 26 | * @return DocumentHtmlDefinitions 27 | **/ 28 | public DocumentHtmlDefinitions htmlDefinitions(java.util.List htmlDefinitions) { 29 | this.htmlDefinitions = htmlDefinitions; 30 | return this; 31 | } 32 | 33 | /** 34 | * addHtmlDefinitionsItem. 35 | * 36 | * @return DocumentHtmlDefinitions 37 | **/ 38 | public DocumentHtmlDefinitions addHtmlDefinitionsItem(String htmlDefinitionsItem) { 39 | if (this.htmlDefinitions == null) { 40 | this.htmlDefinitions = new java.util.ArrayList<>(); 41 | } 42 | this.htmlDefinitions.add(htmlDefinitionsItem); 43 | return this; 44 | } 45 | 46 | /** 47 | * . 48 | * @return htmlDefinitions 49 | **/ 50 | @Schema(description = "") 51 | public java.util.List getHtmlDefinitions() { 52 | return htmlDefinitions; 53 | } 54 | 55 | /** 56 | * setHtmlDefinitions. 57 | **/ 58 | public void setHtmlDefinitions(java.util.List htmlDefinitions) { 59 | this.htmlDefinitions = htmlDefinitions; 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 | DocumentHtmlDefinitions documentHtmlDefinitions = (DocumentHtmlDefinitions) o; 77 | return Objects.equals(this.htmlDefinitions, documentHtmlDefinitions.htmlDefinitions); 78 | } 79 | 80 | /** 81 | * Returns the HashCode. 82 | */ 83 | @Override 84 | public int hashCode() { 85 | return Objects.hash(htmlDefinitions); 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 DocumentHtmlDefinitions {\n"); 96 | 97 | sb.append(" htmlDefinitions: ").append(toIndentedString(htmlDefinitions)).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/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.v3.oas.annotations.media.Schema; 10 | import java.io.Serializable; 11 | 12 | /** 13 | * EnvelopeAttachmentsRequest. 14 | * 15 | */ 16 | 17 | public class EnvelopeAttachmentsRequest implements Serializable { 18 | private static final long serialVersionUID = 1L; 19 | 20 | @JsonProperty("attachments") 21 | private java.util.List attachments = null; 22 | 23 | 24 | /** 25 | * attachments. 26 | * 27 | * @return EnvelopeAttachmentsRequest 28 | **/ 29 | public EnvelopeAttachmentsRequest attachments(java.util.List attachments) { 30 | this.attachments = attachments; 31 | return this; 32 | } 33 | 34 | /** 35 | * addAttachmentsItem. 36 | * 37 | * @return EnvelopeAttachmentsRequest 38 | **/ 39 | public EnvelopeAttachmentsRequest addAttachmentsItem(Attachment attachmentsItem) { 40 | if (this.attachments == null) { 41 | this.attachments = new java.util.ArrayList<>(); 42 | } 43 | this.attachments.add(attachmentsItem); 44 | return this; 45 | } 46 | 47 | /** 48 | * . 49 | * @return attachments 50 | **/ 51 | @Schema(description = "") 52 | public java.util.List getAttachments() { 53 | return attachments; 54 | } 55 | 56 | /** 57 | * setAttachments. 58 | **/ 59 | public void setAttachments(java.util.List attachments) { 60 | this.attachments = attachments; 61 | } 62 | 63 | 64 | /** 65 | * Compares objects. 66 | * 67 | * @return true or false depending on comparison result. 68 | */ 69 | @Override 70 | public boolean equals(java.lang.Object o) { 71 | if (this == o) { 72 | return true; 73 | } 74 | if (o == null || getClass() != o.getClass()) { 75 | return false; 76 | } 77 | EnvelopeAttachmentsRequest envelopeAttachmentsRequest = (EnvelopeAttachmentsRequest) o; 78 | return Objects.equals(this.attachments, envelopeAttachmentsRequest.attachments); 79 | } 80 | 81 | /** 82 | * Returns the HashCode. 83 | */ 84 | @Override 85 | public int hashCode() { 86 | return Objects.hash(attachments); 87 | } 88 | 89 | 90 | /** 91 | * Converts the given object to string. 92 | */ 93 | @Override 94 | public String toString() { 95 | StringBuilder sb = new StringBuilder(); 96 | sb.append("class EnvelopeAttachmentsRequest {\n"); 97 | 98 | sb.append(" attachments: ").append(toIndentedString(attachments)).append("\n"); 99 | sb.append("}"); 100 | return sb.toString(); 101 | } 102 | 103 | /** 104 | * Convert the given object to string with each line indented by 4 spaces 105 | * (except the first line). 106 | */ 107 | private String toIndentedString(java.lang.Object o) { 108 | if (o == null) { 109 | return "null"; 110 | } 111 | return o.toString().replace("\n", "\n "); 112 | } 113 | 114 | } 115 | 116 | -------------------------------------------------------------------------------- /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.v3.oas.annotations.media.Schema; 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 | @Schema(description = "") 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 | @Schema(description = "") 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 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 | -------------------------------------------------------------------------------- /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.v3.oas.annotations.media.Schema; 10 | import java.io.Serializable; 11 | 12 | /** 13 | * The request object containing the new information for the contacts.. 14 | * 15 | */ 16 | @Schema(description = "The request object containing the new information for the contacts.") 17 | 18 | public class ContactModRequest implements Serializable { 19 | private static final long serialVersionUID = 1L; 20 | 21 | @JsonProperty("contactList") 22 | private java.util.List contactList = null; 23 | 24 | 25 | /** 26 | * contactList. 27 | * 28 | * @return ContactModRequest 29 | **/ 30 | public ContactModRequest contactList(java.util.List contactList) { 31 | this.contactList = contactList; 32 | return this; 33 | } 34 | 35 | /** 36 | * addContactListItem. 37 | * 38 | * @return ContactModRequest 39 | **/ 40 | public ContactModRequest addContactListItem(Contact contactListItem) { 41 | if (this.contactList == null) { 42 | this.contactList = new java.util.ArrayList<>(); 43 | } 44 | this.contactList.add(contactListItem); 45 | return this; 46 | } 47 | 48 | /** 49 | * . 50 | * @return contactList 51 | **/ 52 | @Schema(description = "") 53 | public java.util.List getContactList() { 54 | return contactList; 55 | } 56 | 57 | /** 58 | * setContactList. 59 | **/ 60 | public void setContactList(java.util.List contactList) { 61 | this.contactList = contactList; 62 | } 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 | ContactModRequest contactModRequest = (ContactModRequest) o; 79 | return Objects.equals(this.contactList, contactModRequest.contactList); 80 | } 81 | 82 | /** 83 | * Returns the HashCode. 84 | */ 85 | @Override 86 | public int hashCode() { 87 | return Objects.hash(contactList); 88 | } 89 | 90 | 91 | /** 92 | * Converts the given object to string. 93 | */ 94 | @Override 95 | public String toString() { 96 | StringBuilder sb = new StringBuilder(); 97 | sb.append("class ContactModRequest {\n"); 98 | 99 | sb.append(" contactList: ").append(toIndentedString(contactList)).append("\n"); 100 | sb.append("}"); 101 | return sb.toString(); 102 | } 103 | 104 | /** 105 | * Convert the given object to string with each line indented by 4 spaces 106 | * (except the first line). 107 | */ 108 | private String toIndentedString(java.lang.Object o) { 109 | if (o == null) { 110 | return "null"; 111 | } 112 | return o.toString().replace("\n", "\n "); 113 | } 114 | 115 | } 116 | 117 | -------------------------------------------------------------------------------- /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.v3.oas.annotations.media.Schema; 9 | import io.swagger.v3.oas.annotations.media.Schema; 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 | * name. 25 | * 26 | * @return BulkRecipientTabLabel 27 | **/ 28 | public BulkRecipientTabLabel name(String name) { 29 | this.name = name; 30 | return this; 31 | } 32 | 33 | /** 34 | * . 35 | * 36 | * @return name 37 | **/ 38 | @Schema(description = "") 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 | * value. 52 | * 53 | * @return BulkRecipientTabLabel 54 | **/ 55 | public BulkRecipientTabLabel value(String value) { 56 | this.value = value; 57 | return this; 58 | } 59 | 60 | /** 61 | * Specifies the value of the tab. . 62 | * 63 | * @return value 64 | **/ 65 | @Schema(description = "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 | * Compares objects. 79 | * 80 | * @return true or false depending on comparison result. 81 | */ 82 | @Override 83 | public boolean equals(java.lang.Object o) { 84 | if (this == o) { 85 | return true; 86 | } 87 | if (o == null || getClass() != o.getClass()) { 88 | return false; 89 | } 90 | BulkRecipientTabLabel bulkRecipientTabLabel = (BulkRecipientTabLabel) o; 91 | return Objects.equals(this.name, bulkRecipientTabLabel.name) && 92 | Objects.equals(this.value, bulkRecipientTabLabel.value); 93 | } 94 | 95 | /** 96 | * Returns the HashCode. 97 | */ 98 | @Override 99 | public int hashCode() { 100 | return Objects.hash(name, value); 101 | } 102 | 103 | /** 104 | * Converts the given object to string. 105 | */ 106 | @Override 107 | public String toString() { 108 | StringBuilder sb = new StringBuilder(); 109 | sb.append("class BulkRecipientTabLabel {\n"); 110 | 111 | sb.append(" name: ").append(toIndentedString(name)).append("\n"); 112 | sb.append(" value: ").append(toIndentedString(value)).append("\n"); 113 | sb.append("}"); 114 | return sb.toString(); 115 | } 116 | 117 | /** 118 | * Convert the given object to string with each line indented by 4 spaces 119 | * (except the first line). 120 | */ 121 | private String toIndentedString(java.lang.Object o) { 122 | if (o == null) { 123 | return "null"; 124 | } 125 | return o.toString().replace("\n", "\n "); 126 | } 127 | 128 | } 129 | -------------------------------------------------------------------------------- /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.v3.oas.annotations.media.Schema; 9 | import java.io.Serializable; 10 | 11 | /** 12 | * BulkProcessingLists. 13 | * 14 | */ 15 | 16 | public class BulkProcessingLists implements Serializable { 17 | private static final long serialVersionUID = 1L; 18 | 19 | @JsonProperty("bulkProcessListIds") 20 | private java.util.List bulkProcessListIds = null; 21 | 22 | 23 | /** 24 | * bulkProcessListIds. 25 | * 26 | * @return BulkProcessingLists 27 | **/ 28 | public BulkProcessingLists bulkProcessListIds(java.util.List bulkProcessListIds) { 29 | this.bulkProcessListIds = bulkProcessListIds; 30 | return this; 31 | } 32 | 33 | /** 34 | * addBulkProcessListIdsItem. 35 | * 36 | * @return BulkProcessingLists 37 | **/ 38 | public BulkProcessingLists addBulkProcessListIdsItem(String bulkProcessListIdsItem) { 39 | if (this.bulkProcessListIds == null) { 40 | this.bulkProcessListIds = new java.util.ArrayList<>(); 41 | } 42 | this.bulkProcessListIds.add(bulkProcessListIdsItem); 43 | return this; 44 | } 45 | 46 | /** 47 | * . 48 | * @return bulkProcessListIds 49 | **/ 50 | @Schema(description = "") 51 | public java.util.List getBulkProcessListIds() { 52 | return bulkProcessListIds; 53 | } 54 | 55 | /** 56 | * setBulkProcessListIds. 57 | **/ 58 | public void setBulkProcessListIds(java.util.List bulkProcessListIds) { 59 | this.bulkProcessListIds = bulkProcessListIds; 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 | BulkProcessingLists bulkProcessingLists = (BulkProcessingLists) o; 77 | return Objects.equals(this.bulkProcessListIds, bulkProcessingLists.bulkProcessListIds); 78 | } 79 | 80 | /** 81 | * Returns the HashCode. 82 | */ 83 | @Override 84 | public int hashCode() { 85 | return Objects.hash(bulkProcessListIds); 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 BulkProcessingLists {\n"); 96 | 97 | sb.append(" bulkProcessListIds: ").append(toIndentedString(bulkProcessListIds)).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/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.v3.oas.annotations.media.Schema; 10 | import java.io.Serializable; 11 | 12 | /** 13 | * EnvelopeAttachmentsResult. 14 | * 15 | */ 16 | 17 | public class EnvelopeAttachmentsResult implements Serializable { 18 | private static final long serialVersionUID = 1L; 19 | 20 | @JsonProperty("attachments") 21 | private java.util.List attachments = null; 22 | 23 | 24 | /** 25 | * attachments. 26 | * 27 | * @return EnvelopeAttachmentsResult 28 | **/ 29 | public EnvelopeAttachmentsResult attachments(java.util.List attachments) { 30 | this.attachments = attachments; 31 | return this; 32 | } 33 | 34 | /** 35 | * addAttachmentsItem. 36 | * 37 | * @return EnvelopeAttachmentsResult 38 | **/ 39 | public EnvelopeAttachmentsResult addAttachmentsItem(EnvelopeAttachment attachmentsItem) { 40 | if (this.attachments == null) { 41 | this.attachments = new java.util.ArrayList<>(); 42 | } 43 | this.attachments.add(attachmentsItem); 44 | return this; 45 | } 46 | 47 | /** 48 | * . 49 | * @return attachments 50 | **/ 51 | @Schema(description = "") 52 | public java.util.List getAttachments() { 53 | return attachments; 54 | } 55 | 56 | /** 57 | * setAttachments. 58 | **/ 59 | public void setAttachments(java.util.List attachments) { 60 | this.attachments = attachments; 61 | } 62 | 63 | 64 | /** 65 | * Compares objects. 66 | * 67 | * @return true or false depending on comparison result. 68 | */ 69 | @Override 70 | public boolean equals(java.lang.Object o) { 71 | if (this == o) { 72 | return true; 73 | } 74 | if (o == null || getClass() != o.getClass()) { 75 | return false; 76 | } 77 | EnvelopeAttachmentsResult envelopeAttachmentsResult = (EnvelopeAttachmentsResult) o; 78 | return Objects.equals(this.attachments, envelopeAttachmentsResult.attachments); 79 | } 80 | 81 | /** 82 | * Returns the HashCode. 83 | */ 84 | @Override 85 | public int hashCode() { 86 | return Objects.hash(attachments); 87 | } 88 | 89 | 90 | /** 91 | * Converts the given object to string. 92 | */ 93 | @Override 94 | public String toString() { 95 | StringBuilder sb = new StringBuilder(); 96 | sb.append("class EnvelopeAttachmentsResult {\n"); 97 | 98 | sb.append(" attachments: ").append(toIndentedString(attachments)).append("\n"); 99 | sb.append("}"); 100 | return sb.toString(); 101 | } 102 | 103 | /** 104 | * Convert the given object to string with each line indented by 4 spaces 105 | * (except the first line). 106 | */ 107 | private String toIndentedString(java.lang.Object o) { 108 | if (o == null) { 109 | return "null"; 110 | } 111 | return o.toString().replace("\n", "\n "); 112 | } 113 | 114 | } 115 | 116 | -------------------------------------------------------------------------------- /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.v3.oas.annotations.media.Schema; 10 | import java.io.Serializable; 11 | 12 | /** 13 | * PowerFormsFormDataResponse. 14 | * 15 | */ 16 | 17 | public class PowerFormsFormDataResponse implements Serializable { 18 | private static final long serialVersionUID = 1L; 19 | 20 | @JsonProperty("envelopes") 21 | private java.util.List envelopes = null; 22 | 23 | 24 | /** 25 | * envelopes. 26 | * 27 | * @return PowerFormsFormDataResponse 28 | **/ 29 | public PowerFormsFormDataResponse envelopes(java.util.List envelopes) { 30 | this.envelopes = envelopes; 31 | return this; 32 | } 33 | 34 | /** 35 | * addEnvelopesItem. 36 | * 37 | * @return PowerFormsFormDataResponse 38 | **/ 39 | public PowerFormsFormDataResponse addEnvelopesItem(PowerFormFormDataEnvelope envelopesItem) { 40 | if (this.envelopes == null) { 41 | this.envelopes = new java.util.ArrayList<>(); 42 | } 43 | this.envelopes.add(envelopesItem); 44 | return this; 45 | } 46 | 47 | /** 48 | * . 49 | * @return envelopes 50 | **/ 51 | @Schema(description = "") 52 | public java.util.List getEnvelopes() { 53 | return envelopes; 54 | } 55 | 56 | /** 57 | * setEnvelopes. 58 | **/ 59 | public void setEnvelopes(java.util.List envelopes) { 60 | this.envelopes = envelopes; 61 | } 62 | 63 | 64 | /** 65 | * Compares objects. 66 | * 67 | * @return true or false depending on comparison result. 68 | */ 69 | @Override 70 | public boolean equals(java.lang.Object o) { 71 | if (this == o) { 72 | return true; 73 | } 74 | if (o == null || getClass() != o.getClass()) { 75 | return false; 76 | } 77 | PowerFormsFormDataResponse powerFormsFormDataResponse = (PowerFormsFormDataResponse) o; 78 | return Objects.equals(this.envelopes, powerFormsFormDataResponse.envelopes); 79 | } 80 | 81 | /** 82 | * Returns the HashCode. 83 | */ 84 | @Override 85 | public int hashCode() { 86 | return Objects.hash(envelopes); 87 | } 88 | 89 | 90 | /** 91 | * Converts the given object to string. 92 | */ 93 | @Override 94 | public String toString() { 95 | StringBuilder sb = new StringBuilder(); 96 | sb.append("class PowerFormsFormDataResponse {\n"); 97 | 98 | sb.append(" envelopes: ").append(toIndentedString(envelopes)).append("\n"); 99 | sb.append("}"); 100 | return sb.toString(); 101 | } 102 | 103 | /** 104 | * Convert the given object to string with each line indented by 4 spaces 105 | * (except the first line). 106 | */ 107 | private String toIndentedString(java.lang.Object o) { 108 | if (o == null) { 109 | return "null"; 110 | } 111 | return o.toString().replace("\n", "\n "); 112 | } 113 | 114 | } 115 | 116 | -------------------------------------------------------------------------------- /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.v3.oas.annotations.media.Schema; 10 | import java.io.Serializable; 11 | 12 | /** 13 | * AccountPasswordStrengthType. 14 | * 15 | */ 16 | 17 | public class AccountPasswordStrengthType implements Serializable { 18 | private static final long serialVersionUID = 1L; 19 | 20 | @JsonProperty("options") 21 | private java.util.List options = null; 22 | 23 | 24 | /** 25 | * options. 26 | * 27 | * @return AccountPasswordStrengthType 28 | **/ 29 | public AccountPasswordStrengthType options(java.util.List options) { 30 | this.options = options; 31 | return this; 32 | } 33 | 34 | /** 35 | * addOptionsItem. 36 | * 37 | * @return AccountPasswordStrengthType 38 | **/ 39 | public AccountPasswordStrengthType addOptionsItem(AccountPasswordStrengthTypeOption optionsItem) { 40 | if (this.options == null) { 41 | this.options = new java.util.ArrayList<>(); 42 | } 43 | this.options.add(optionsItem); 44 | return this; 45 | } 46 | 47 | /** 48 | * . 49 | * @return options 50 | **/ 51 | @Schema(description = "") 52 | public java.util.List getOptions() { 53 | return options; 54 | } 55 | 56 | /** 57 | * setOptions. 58 | **/ 59 | public void setOptions(java.util.List options) { 60 | this.options = options; 61 | } 62 | 63 | 64 | /** 65 | * Compares objects. 66 | * 67 | * @return true or false depending on comparison result. 68 | */ 69 | @Override 70 | public boolean equals(java.lang.Object o) { 71 | if (this == o) { 72 | return true; 73 | } 74 | if (o == null || getClass() != o.getClass()) { 75 | return false; 76 | } 77 | AccountPasswordStrengthType accountPasswordStrengthType = (AccountPasswordStrengthType) o; 78 | return Objects.equals(this.options, accountPasswordStrengthType.options); 79 | } 80 | 81 | /** 82 | * Returns the HashCode. 83 | */ 84 | @Override 85 | public int hashCode() { 86 | return Objects.hash(options); 87 | } 88 | 89 | 90 | /** 91 | * Converts the given object to string. 92 | */ 93 | @Override 94 | public String toString() { 95 | StringBuilder sb = new StringBuilder(); 96 | sb.append("class AccountPasswordStrengthType {\n"); 97 | 98 | sb.append(" options: ").append(toIndentedString(options)).append("\n"); 99 | sb.append("}"); 100 | return sb.toString(); 101 | } 102 | 103 | /** 104 | * Convert the given object to string with each line indented by 4 spaces 105 | * (except the first line). 106 | */ 107 | private String toIndentedString(java.lang.Object o) { 108 | if (o == null) { 109 | return "null"; 110 | } 111 | return o.toString().replace("\n", "\n "); 112 | } 113 | 114 | } 115 | 116 | -------------------------------------------------------------------------------- /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.v3.oas.annotations.media.Schema; 9 | import java.io.Serializable; 10 | 11 | /** 12 | * SmartContractInformation. 13 | * 14 | */ 15 | 16 | public class SmartContractInformation implements Serializable { 17 | private static final long serialVersionUID = 1L; 18 | 19 | @JsonProperty("code") 20 | private String code = null; 21 | 22 | @JsonProperty("uri") 23 | private String uri = null; 24 | 25 | 26 | /** 27 | * code. 28 | * 29 | * @return SmartContractInformation 30 | **/ 31 | public SmartContractInformation code(String code) { 32 | this.code = code; 33 | return this; 34 | } 35 | 36 | /** 37 | * . 38 | * @return code 39 | **/ 40 | @Schema(description = "") 41 | public String getCode() { 42 | return code; 43 | } 44 | 45 | /** 46 | * setCode. 47 | **/ 48 | public void setCode(String code) { 49 | this.code = code; 50 | } 51 | 52 | 53 | /** 54 | * uri. 55 | * 56 | * @return SmartContractInformation 57 | **/ 58 | public SmartContractInformation uri(String uri) { 59 | this.uri = uri; 60 | return this; 61 | } 62 | 63 | /** 64 | * . 65 | * @return uri 66 | **/ 67 | @Schema(description = "") 68 | public String getUri() { 69 | return uri; 70 | } 71 | 72 | /** 73 | * setUri. 74 | **/ 75 | public void setUri(String uri) { 76 | this.uri = uri; 77 | } 78 | 79 | 80 | /** 81 | * Compares objects. 82 | * 83 | * @return true or false depending on comparison result. 84 | */ 85 | @Override 86 | public boolean equals(java.lang.Object o) { 87 | if (this == o) { 88 | return true; 89 | } 90 | if (o == null || getClass() != o.getClass()) { 91 | return false; 92 | } 93 | SmartContractInformation smartContractInformation = (SmartContractInformation) o; 94 | return Objects.equals(this.code, smartContractInformation.code) && 95 | Objects.equals(this.uri, smartContractInformation.uri); 96 | } 97 | 98 | /** 99 | * Returns the HashCode. 100 | */ 101 | @Override 102 | public int hashCode() { 103 | return Objects.hash(code, uri); 104 | } 105 | 106 | 107 | /** 108 | * Converts the given object to string. 109 | */ 110 | @Override 111 | public String toString() { 112 | StringBuilder sb = new StringBuilder(); 113 | sb.append("class SmartContractInformation {\n"); 114 | 115 | sb.append(" code: ").append(toIndentedString(code)).append("\n"); 116 | sb.append(" uri: ").append(toIndentedString(uri)).append("\n"); 117 | sb.append("}"); 118 | return sb.toString(); 119 | } 120 | 121 | /** 122 | * Convert the given object to string with each line indented by 4 spaces 123 | * (except the first line). 124 | */ 125 | private String toIndentedString(java.lang.Object o) { 126 | if (o == null) { 127 | return "null"; 128 | } 129 | return o.toString().replace("\n", "\n "); 130 | } 131 | 132 | } 133 | 134 | -------------------------------------------------------------------------------- /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.v3.oas.annotations.media.Schema; 10 | import java.io.Serializable; 11 | 12 | /** 13 | * CommentsPublish. 14 | * 15 | */ 16 | 17 | public class CommentsPublish implements Serializable { 18 | private static final long serialVersionUID = 1L; 19 | 20 | @JsonProperty("commentsToPublish") 21 | private java.util.List commentsToPublish = null; 22 | 23 | 24 | /** 25 | * commentsToPublish. 26 | * 27 | * @return CommentsPublish 28 | **/ 29 | public CommentsPublish commentsToPublish(java.util.List commentsToPublish) { 30 | this.commentsToPublish = commentsToPublish; 31 | return this; 32 | } 33 | 34 | /** 35 | * addCommentsToPublishItem. 36 | * 37 | * @return CommentsPublish 38 | **/ 39 | public CommentsPublish addCommentsToPublishItem(CommentPublish commentsToPublishItem) { 40 | if (this.commentsToPublish == null) { 41 | this.commentsToPublish = new java.util.ArrayList<>(); 42 | } 43 | this.commentsToPublish.add(commentsToPublishItem); 44 | return this; 45 | } 46 | 47 | /** 48 | * . 49 | * @return commentsToPublish 50 | **/ 51 | @Schema(description = "") 52 | public java.util.List getCommentsToPublish() { 53 | return commentsToPublish; 54 | } 55 | 56 | /** 57 | * setCommentsToPublish. 58 | **/ 59 | public void setCommentsToPublish(java.util.List commentsToPublish) { 60 | this.commentsToPublish = commentsToPublish; 61 | } 62 | 63 | 64 | /** 65 | * Compares objects. 66 | * 67 | * @return true or false depending on comparison result. 68 | */ 69 | @Override 70 | public boolean equals(java.lang.Object o) { 71 | if (this == o) { 72 | return true; 73 | } 74 | if (o == null || getClass() != o.getClass()) { 75 | return false; 76 | } 77 | CommentsPublish commentsPublish = (CommentsPublish) o; 78 | return Objects.equals(this.commentsToPublish, commentsPublish.commentsToPublish); 79 | } 80 | 81 | /** 82 | * Returns the HashCode. 83 | */ 84 | @Override 85 | public int hashCode() { 86 | return Objects.hash(commentsToPublish); 87 | } 88 | 89 | 90 | /** 91 | * Converts the given object to string. 92 | */ 93 | @Override 94 | public String toString() { 95 | StringBuilder sb = new StringBuilder(); 96 | sb.append("class CommentsPublish {\n"); 97 | 98 | sb.append(" commentsToPublish: ").append(toIndentedString(commentsToPublish)).append("\n"); 99 | sb.append("}"); 100 | return sb.toString(); 101 | } 102 | 103 | /** 104 | * Convert the given object to string with each line indented by 4 spaces 105 | * (except the first line). 106 | */ 107 | private String toIndentedString(java.lang.Object o) { 108 | if (o == null) { 109 | return "null"; 110 | } 111 | return o.toString().replace("\n", "\n "); 112 | } 113 | 114 | } 115 | 116 | -------------------------------------------------------------------------------- /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.v3.oas.annotations.media.Schema; 10 | import java.io.Serializable; 11 | 12 | /** 13 | * CustomSettingsInformation. 14 | * 15 | */ 16 | 17 | public class CustomSettingsInformation implements Serializable { 18 | private static final long serialVersionUID = 1L; 19 | 20 | @JsonProperty("customSettings") 21 | private java.util.List customSettings = null; 22 | 23 | 24 | /** 25 | * customSettings. 26 | * 27 | * @return CustomSettingsInformation 28 | **/ 29 | public CustomSettingsInformation customSettings(java.util.List customSettings) { 30 | this.customSettings = customSettings; 31 | return this; 32 | } 33 | 34 | /** 35 | * addCustomSettingsItem. 36 | * 37 | * @return CustomSettingsInformation 38 | **/ 39 | public CustomSettingsInformation addCustomSettingsItem(NameValue customSettingsItem) { 40 | if (this.customSettings == null) { 41 | this.customSettings = new java.util.ArrayList<>(); 42 | } 43 | this.customSettings.add(customSettingsItem); 44 | return this; 45 | } 46 | 47 | /** 48 | * . 49 | * @return customSettings 50 | **/ 51 | @Schema(description = "") 52 | public java.util.List getCustomSettings() { 53 | return customSettings; 54 | } 55 | 56 | /** 57 | * setCustomSettings. 58 | **/ 59 | public void setCustomSettings(java.util.List customSettings) { 60 | this.customSettings = customSettings; 61 | } 62 | 63 | 64 | /** 65 | * Compares objects. 66 | * 67 | * @return true or false depending on comparison result. 68 | */ 69 | @Override 70 | public boolean equals(java.lang.Object o) { 71 | if (this == o) { 72 | return true; 73 | } 74 | if (o == null || getClass() != o.getClass()) { 75 | return false; 76 | } 77 | CustomSettingsInformation customSettingsInformation = (CustomSettingsInformation) o; 78 | return Objects.equals(this.customSettings, customSettingsInformation.customSettings); 79 | } 80 | 81 | /** 82 | * Returns the HashCode. 83 | */ 84 | @Override 85 | public int hashCode() { 86 | return Objects.hash(customSettings); 87 | } 88 | 89 | 90 | /** 91 | * Converts the given object to string. 92 | */ 93 | @Override 94 | public String toString() { 95 | StringBuilder sb = new StringBuilder(); 96 | sb.append("class CustomSettingsInformation {\n"); 97 | 98 | sb.append(" customSettings: ").append(toIndentedString(customSettings)).append("\n"); 99 | sb.append("}"); 100 | return sb.toString(); 101 | } 102 | 103 | /** 104 | * Convert the given object to string with each line indented by 4 spaces 105 | * (except the first line). 106 | */ 107 | private String toIndentedString(java.lang.Object o) { 108 | if (o == null) { 109 | return "null"; 110 | } 111 | return o.toString().replace("\n", "\n "); 112 | } 113 | 114 | } 115 | 116 | -------------------------------------------------------------------------------- /src/main/java/com/docusign/esign/model/UserAuthorizationsDeleteRequest.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.v3.oas.annotations.media.Schema; 9 | import java.io.Serializable; 10 | 11 | /** 12 | * UserAuthorizationsDeleteRequest. 13 | * 14 | */ 15 | 16 | public class UserAuthorizationsDeleteRequest implements Serializable { 17 | private static final long serialVersionUID = 1L; 18 | 19 | @JsonProperty("authorizations") 20 | private java.util.List authorizations = null; 21 | 22 | 23 | /** 24 | * authorizations. 25 | * 26 | * @return UserAuthorizationsDeleteRequest 27 | **/ 28 | public UserAuthorizationsDeleteRequest authorizations(java.util.List authorizations) { 29 | this.authorizations = authorizations; 30 | return this; 31 | } 32 | 33 | /** 34 | * addAuthorizationsItem. 35 | * 36 | * @return UserAuthorizationsDeleteRequest 37 | **/ 38 | public UserAuthorizationsDeleteRequest addAuthorizationsItem(String authorizationsItem) { 39 | if (this.authorizations == null) { 40 | this.authorizations = new java.util.ArrayList<>(); 41 | } 42 | this.authorizations.add(authorizationsItem); 43 | return this; 44 | } 45 | 46 | /** 47 | * . 48 | * @return authorizations 49 | **/ 50 | @Schema(description = "") 51 | public java.util.List getAuthorizations() { 52 | return authorizations; 53 | } 54 | 55 | /** 56 | * setAuthorizations. 57 | **/ 58 | public void setAuthorizations(java.util.List authorizations) { 59 | this.authorizations = authorizations; 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 | UserAuthorizationsDeleteRequest userAuthorizationsDeleteRequest = (UserAuthorizationsDeleteRequest) o; 77 | return Objects.equals(this.authorizations, userAuthorizationsDeleteRequest.authorizations); 78 | } 79 | 80 | /** 81 | * Returns the HashCode. 82 | */ 83 | @Override 84 | public int hashCode() { 85 | return Objects.hash(authorizations); 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 UserAuthorizationsDeleteRequest {\n"); 96 | 97 | sb.append(" authorizations: ").append(toIndentedString(authorizations)).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 | --------------------------------------------------------------------------------