diff --git a/CHANGELOG.md b/CHANGELOG.md index e357446..43ad057 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,11 @@ # DocuSign Admin Java Client Changelog See [DocuSign Support Center](https://support.docusign.com/en/releasenotes/) for Product Release Notes. +## [v2.1.0] - Admin API v2.1-1.4.3 - 2026-03-05 +### Changed +- Added support for version v2.1-1.4.3 of the DocuSign Admin API. +- Updated the SDK release version. + ## [v2.0.0] - Admin API v2.1-1.4.1 - 2024-10-28 ### Changed - Added support for version v2.1-1.4.1 of the DocuSign Admin API. diff --git a/README.md b/README.md index fdea5e9..2a1b3e9 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ This client SDK is provided as open source, which enables you to customize its f com.docusign docusign-admin-java - 2.0.0 + 2.1.0 ``` 8. If your project is still open, restart Eclipse. diff --git a/pom.xml b/pom.xml index 5ca1085..50c68eb 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ docusign-admin-java jar docusign-admin-java - 2.0.0 + 2.1.0 https://developers.docusign.com The Docusign Admin API enables you to automate user management with your existing systems while ensuring governance and compliance. @@ -15,12 +15,12 @@ - ossrh - https://s01.oss.sonatype.org/content/repositories/snapshots + central + https://central.sonatype.com/repository/maven-snapshots/ - ossrh2 - https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/ + central + https://central.sonatype.com/repository/maven-releases/ @@ -230,7 +230,7 @@ org.owasp dependency-check-maven - 10.0.2 + 12.1.1 8 @@ -309,13 +309,13 @@ - org.sonatype.plugins - nexus-staging-maven-plugin - 1.6.8 + org.sonatype.central + central-publishing-maven-plugin + 0.8.0 + true - ossrh - https://s01.oss.sonatype.org/ - true + central + true diff --git a/src/main/java/com/docusign/admin/api/OrgConnectApi.java b/src/main/java/com/docusign/admin/api/OrgConnectApi.java new file mode 100644 index 0000000..535d4a6 --- /dev/null +++ b/src/main/java/com/docusign/admin/api/OrgConnectApi.java @@ -0,0 +1,954 @@ + +package com.docusign.admin.api; + +import jakarta.ws.rs.core.GenericType; + +import com.docusign.admin.client.ApiException; +import com.docusign.admin.client.ApiClient; +import com.docusign.admin.client.Configuration; +import com.docusign.admin.model.*; +import com.docusign.admin.client.Pair; +import com.docusign.admin.client.ApiResponse; + + + + +/** + * OrgConnectApi class. + * + **/ +public class OrgConnectApi { + private ApiClient apiClient; + + /** + * OrgConnectApi. + * + **/ + public OrgConnectApi() { + this(Configuration.getDefaultApiClient()); + } + + /** + * OrgConnectApi. + * + **/ + public OrgConnectApi(ApiClient apiClient) { + this.apiClient = apiClient; + } + + /** + * getApiClient Method. + * + * @return ApiClient + **/ + public ApiClient getApiClient() { + return apiClient; + } + + /** + * setApiClient Method. + * + **/ + public void setApiClient(ApiClient apiClient) { + this.apiClient = apiClient; + } + + + /** + * Adds a Connect configuration for an organization. + * Required scopes: connect_org_config_write_api + * @param organizationId The organization ID Guid (required) + * @param connectRequest Add an organization Connect request (required) + * @return OrganizationConnectConfigurationDetailsResponse + * @throws ApiException if fails to make API call + */ + public OrganizationConnectConfigurationDetailsResponse createOrganizationConnectConfig(java.util.UUID organizationId, OrganizationConnectConfigurationRequest connectRequest) throws ApiException { + ApiResponse localVarResponse = createOrganizationConnectConfigWithHttpInfo(organizationId, connectRequest); + return localVarResponse.getData(); + } + + /** + * Adds a Connect configuration for an organization + * Required scopes: connect_org_config_write_api + * @param organizationId The organization ID Guid (required) + * @param connectRequest Add an organization Connect request (required) + * @return OrganizationConnectConfigurationDetailsResponse + * @throws ApiException if fails to make API call + */ + public ApiResponse createOrganizationConnectConfigWithHttpInfo(java.util.UUID organizationId, OrganizationConnectConfigurationRequest connectRequest) throws ApiException { + Object localVarPostBody = connectRequest; + + // verify the required parameter 'organizationId' is set + if (organizationId == null) { + throw new ApiException(400, "Missing the required parameter 'organizationId' when calling createOrganizationConnectConfig"); + } + + // verify the required parameter 'connectRequest' is set + if (connectRequest == null) { + throw new ApiException(400, "Missing the required parameter 'connectRequest' when calling createOrganizationConnectConfig"); + } + + // create path and map variables + String localVarPath = "/v2/organizations/{organizationId}/connect" + .replaceAll("\\{" + "organizationId" + "\\}", apiClient.escapeString(organizationId.toString())); + + // query params + java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); + java.util.Map localVarHeaderParams = new java.util.HashMap(); + java.util.Map localVarFormParams = new java.util.HashMap(); + + + + + + + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + OrganizationConnectConfigurationDetailsResponse localVarResponse = apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + return new ApiResponse(apiClient.getStatusCode(), apiClient.getResponseHeaders(), localVarResponse); + } + + /** + * Deletes information about a Connect HMAC secret. + * Required scopes: connect_org_hmac_write_api + * @param organizationId The organization ID Guid (required) + * @param keyId The key ID Guid (required) + * @return OrganizationConnectHmacSecretsResponse + * @throws ApiException if fails to make API call + */ + public OrganizationConnectHmacSecretsResponse deleteConnectHmacSecret(java.util.UUID organizationId, java.util.UUID keyId) throws ApiException { + ApiResponse localVarResponse = deleteConnectHmacSecretWithHttpInfo(organizationId, keyId); + return localVarResponse.getData(); + } + + /** + * Deletes information about a Connect HMAC secret + * Required scopes: connect_org_hmac_write_api + * @param organizationId The organization ID Guid (required) + * @param keyId The key ID Guid (required) + * @return OrganizationConnectHmacSecretsResponse + * @throws ApiException if fails to make API call + */ + public ApiResponse deleteConnectHmacSecretWithHttpInfo(java.util.UUID organizationId, java.util.UUID keyId) throws ApiException { + Object localVarPostBody = "{}"; + + // verify the required parameter 'organizationId' is set + if (organizationId == null) { + throw new ApiException(400, "Missing the required parameter 'organizationId' when calling deleteConnectHmacSecret"); + } + + // verify the required parameter 'keyId' is set + if (keyId == null) { + throw new ApiException(400, "Missing the required parameter 'keyId' when calling deleteConnectHmacSecret"); + } + + // create path and map variables + String localVarPath = "/v2/organizations/{organizationId}/connect/secret/{keyId}" + .replaceAll("\\{" + "organizationId" + "\\}", apiClient.escapeString(organizationId.toString())) + .replaceAll("\\{" + "keyId" + "\\}", apiClient.escapeString(keyId.toString())); + + // query params + java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); + java.util.Map localVarHeaderParams = new java.util.HashMap(); + java.util.Map localVarFormParams = new java.util.HashMap(); + + + + + + + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + OrganizationConnectHmacSecretsResponse localVarResponse = apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + return new ApiResponse(apiClient.getStatusCode(), apiClient.getResponseHeaders(), localVarResponse); + } + + /** + * Deletes information about an organization-level Connect configuration. + * Required scopes: connect_org_config_write_api + * @param organizationId The organization ID Guid (required) + * @param connectId The configuration ID Guid (required) + * @return Object + * @throws ApiException if fails to make API call + */ + public Object deleteOrganizationConnectConfig(java.util.UUID organizationId, java.util.UUID connectId) throws ApiException { + ApiResponse localVarResponse = deleteOrganizationConnectConfigWithHttpInfo(organizationId, connectId); + return localVarResponse.getData(); + } + + /** + * Deletes information about an organization-level Connect configuration + * Required scopes: connect_org_config_write_api + * @param organizationId The organization ID Guid (required) + * @param connectId The configuration ID Guid (required) + * @return Object + * @throws ApiException if fails to make API call + */ + public ApiResponse deleteOrganizationConnectConfigWithHttpInfo(java.util.UUID organizationId, java.util.UUID connectId) throws ApiException { + Object localVarPostBody = "{}"; + + // verify the required parameter 'organizationId' is set + if (organizationId == null) { + throw new ApiException(400, "Missing the required parameter 'organizationId' when calling deleteOrganizationConnectConfig"); + } + + // verify the required parameter 'connectId' is set + if (connectId == null) { + throw new ApiException(400, "Missing the required parameter 'connectId' when calling deleteOrganizationConnectConfig"); + } + + // create path and map variables + String localVarPath = "/v2/organizations/{organizationId}/connect/{connectId}" + .replaceAll("\\{" + "organizationId" + "\\}", apiClient.escapeString(organizationId.toString())) + .replaceAll("\\{" + "connectId" + "\\}", apiClient.escapeString(connectId.toString())); + + // query params + java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); + java.util.Map localVarHeaderParams = new java.util.HashMap(); + java.util.Map localVarFormParams = new java.util.HashMap(); + + + + + + + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + Object localVarResponse = apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + return new ApiResponse(apiClient.getStatusCode(), apiClient.getResponseHeaders(), localVarResponse); + } + + /** + * Deletes an organization-level Connect OAuth configuration. + * Required scopes: connect_org_oauth_write_api + * @param organizationId The organization ID Guid (required) + * @return Object + * @throws ApiException if fails to make API call + */ + public Object deleteOrganizationConnectOAuthConfiguration(java.util.UUID organizationId) throws ApiException { + ApiResponse localVarResponse = deleteOrganizationConnectOAuthConfigurationWithHttpInfo(organizationId); + return localVarResponse.getData(); + } + + /** + * Deletes an organization-level Connect OAuth configuration + * Required scopes: connect_org_oauth_write_api + * @param organizationId The organization ID Guid (required) + * @return Object + * @throws ApiException if fails to make API call + */ + public ApiResponse deleteOrganizationConnectOAuthConfigurationWithHttpInfo(java.util.UUID organizationId) throws ApiException { + Object localVarPostBody = "{}"; + + // verify the required parameter 'organizationId' is set + if (organizationId == null) { + throw new ApiException(400, "Missing the required parameter 'organizationId' when calling deleteOrganizationConnectOAuthConfiguration"); + } + + // create path and map variables + String localVarPath = "/v2/organizations/{organizationId}/connect/oauth" + .replaceAll("\\{" + "organizationId" + "\\}", apiClient.escapeString(organizationId.toString())); + + // query params + java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); + java.util.Map localVarHeaderParams = new java.util.HashMap(); + java.util.Map localVarFormParams = new java.util.HashMap(); + + + + + + + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + Object localVarResponse = apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + return new ApiResponse(apiClient.getStatusCode(), apiClient.getResponseHeaders(), localVarResponse); + } + + /** + * Returns information about Connect HMAC secrets. + * Required scopes: connect_org_hmac_read_api + * @param organizationId The organization ID Guid (required) + * @return OrganizationConnectHmacSecretsResponse + * @throws ApiException if fails to make API call + */ + public OrganizationConnectHmacSecretsResponse getConnectHmacSecrets(java.util.UUID organizationId) throws ApiException { + ApiResponse localVarResponse = getConnectHmacSecretsWithHttpInfo(organizationId); + return localVarResponse.getData(); + } + + /** + * Returns information about Connect HMAC secrets + * Required scopes: connect_org_hmac_read_api + * @param organizationId The organization ID Guid (required) + * @return OrganizationConnectHmacSecretsResponse + * @throws ApiException if fails to make API call + */ + public ApiResponse getConnectHmacSecretsWithHttpInfo(java.util.UUID organizationId) throws ApiException { + Object localVarPostBody = "{}"; + + // verify the required parameter 'organizationId' is set + if (organizationId == null) { + throw new ApiException(400, "Missing the required parameter 'organizationId' when calling getConnectHmacSecrets"); + } + + // create path and map variables + String localVarPath = "/v2/organizations/{organizationId}/connect/secret" + .replaceAll("\\{" + "organizationId" + "\\}", apiClient.escapeString(organizationId.toString())); + + // query params + java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); + java.util.Map localVarHeaderParams = new java.util.HashMap(); + java.util.Map localVarFormParams = new java.util.HashMap(); + + + + + + + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + OrganizationConnectHmacSecretsResponse localVarResponse = apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + return new ApiResponse(apiClient.getStatusCode(), apiClient.getResponseHeaders(), localVarResponse); + } + + /** + * Returns an organization-level Connect configuration. + * Required scopes: connect_org_config_read_api + * @param organizationId The organization ID Guid (required) + * @param connectId The configuration ID Guid (required) + * @return OrganizationConnectConfigurationDetailsResponse + * @throws ApiException if fails to make API call + */ + public OrganizationConnectConfigurationDetailsResponse getOrganizationConnectConfig(java.util.UUID organizationId, java.util.UUID connectId) throws ApiException { + ApiResponse localVarResponse = getOrganizationConnectConfigWithHttpInfo(organizationId, connectId); + return localVarResponse.getData(); + } + + /** + * Returns an organization-level Connect configuration + * Required scopes: connect_org_config_read_api + * @param organizationId The organization ID Guid (required) + * @param connectId The configuration ID Guid (required) + * @return OrganizationConnectConfigurationDetailsResponse + * @throws ApiException if fails to make API call + */ + public ApiResponse getOrganizationConnectConfigWithHttpInfo(java.util.UUID organizationId, java.util.UUID connectId) throws ApiException { + Object localVarPostBody = "{}"; + + // verify the required parameter 'organizationId' is set + if (organizationId == null) { + throw new ApiException(400, "Missing the required parameter 'organizationId' when calling getOrganizationConnectConfig"); + } + + // verify the required parameter 'connectId' is set + if (connectId == null) { + throw new ApiException(400, "Missing the required parameter 'connectId' when calling getOrganizationConnectConfig"); + } + + // create path and map variables + String localVarPath = "/v2/organizations/{organizationId}/connect/{connectId}" + .replaceAll("\\{" + "organizationId" + "\\}", apiClient.escapeString(organizationId.toString())) + .replaceAll("\\{" + "connectId" + "\\}", apiClient.escapeString(connectId.toString())); + + // query params + java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); + java.util.Map localVarHeaderParams = new java.util.HashMap(); + java.util.Map localVarFormParams = new java.util.HashMap(); + + + + + + + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + OrganizationConnectConfigurationDetailsResponse localVarResponse = apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + return new ApiResponse(apiClient.getStatusCode(), apiClient.getResponseHeaders(), localVarResponse); + } + /// + /// Returns a list of Connect configurations under an organization Required scopes: connect_org_config_read_api + /// + + /** + * GetOrganizationConnectConfigsOptions Class. + * + **/ + public class GetOrganizationConnectConfigsOptions + { + private String sortBy = null; + private Integer siteId = null; + private java.util.UUID accountId = null; + private Boolean allowEnvelopePublish = null; + private String q = null; + + /** + * setSortBy method. + */ + public void setSortBy(String sortBy) { + this.sortBy = sortBy; + } + + /** + * getSortBy method. + * + * @return String + */ + public String getSortBy() { + return this.sortBy; + } + + /** + * setSiteId method. + */ + public void setSiteId(Integer siteId) { + this.siteId = siteId; + } + + /** + * getSiteId method. + * + * @return Integer + */ + public Integer getSiteId() { + return this.siteId; + } + + /** + * setAccountId method. + */ + public void setAccountId(java.util.UUID accountId) { + this.accountId = accountId; + } + + /** + * getAccountId method. + * + * @return java.util.UUID + */ + public java.util.UUID getAccountId() { + return this.accountId; + } + + /** + * setAllowEnvelopePublish method. + */ + public void setAllowEnvelopePublish(Boolean allowEnvelopePublish) { + this.allowEnvelopePublish = allowEnvelopePublish; + } + + /** + * getAllowEnvelopePublish method. + * + * @return Boolean + */ + public Boolean getAllowEnvelopePublish() { + return this.allowEnvelopePublish; + } + + /** + * setQ method. + */ + public void setQ(String q) { + this.q = q; + } + + /** + * getQ method. + * + * @return String + */ + public String getQ() { + return this.q; + } + } + + /** + * Returns a list of Connect configurations under an organization. + * Required scopes: connect_org_config_read_api + * @param organizationId The organization ID Guid (required) + * @return OrganizationConnectConfigsResponse + */ + public OrganizationConnectConfigsResponse getOrganizationConnectConfigs(java.util.UUID organizationId) throws ApiException { + return getOrganizationConnectConfigs(organizationId, null); + } + + /** + * Returns a list of Connect configurations under an organization. + * Required scopes: connect_org_config_read_api + * @param organizationId The organization ID Guid (required) + * @param options for modifying the method behavior. + * @return OrganizationConnectConfigsResponse + * @throws ApiException if fails to make API call + */ + public OrganizationConnectConfigsResponse getOrganizationConnectConfigs(java.util.UUID organizationId, OrgConnectApi.GetOrganizationConnectConfigsOptions options) throws ApiException { + ApiResponse localVarResponse = getOrganizationConnectConfigsWithHttpInfo(organizationId, options); + return localVarResponse.getData(); + } + + /** + * Returns a list of Connect configurations under an organization + * Required scopes: connect_org_config_read_api + * @param organizationId The organization ID Guid (required) + * @param options for modifying the method behavior. + * @return OrganizationConnectConfigsResponse + * @throws ApiException if fails to make API call + */ + public ApiResponse getOrganizationConnectConfigsWithHttpInfo(java.util.UUID organizationId, OrgConnectApi.GetOrganizationConnectConfigsOptions options) throws ApiException { + Object localVarPostBody = "{}"; + + // verify the required parameter 'organizationId' is set + if (organizationId == null) { + throw new ApiException(400, "Missing the required parameter 'organizationId' when calling getOrganizationConnectConfigs"); + } + + // create path and map variables + String localVarPath = "/v2/organizations/{organizationId}/connect" + .replaceAll("\\{" + "organizationId" + "\\}", apiClient.escapeString(organizationId.toString())); + + // query params + java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); + java.util.Map localVarHeaderParams = new java.util.HashMap(); + java.util.Map localVarFormParams = new java.util.HashMap(); + + if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("sortBy", options.sortBy)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("siteId", options.siteId)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("accountId", options.accountId)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("allowEnvelopePublish", options.allowEnvelopePublish)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("q", options.q)); + } + + + + + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + OrganizationConnectConfigsResponse localVarResponse = apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + return new ApiResponse(apiClient.getStatusCode(), apiClient.getResponseHeaders(), localVarResponse); + } + + /** + * Returns information about an organization-level Connect OAuth configuration. + * Required scopes: connect_org_oauth_read_api + * @param organizationId The organization ID Guid (required) + * @return Object + * @throws ApiException if fails to make API call + */ + public Object getOrganizationConnectOAuthConfiguration(java.util.UUID organizationId) throws ApiException { + ApiResponse localVarResponse = getOrganizationConnectOAuthConfigurationWithHttpInfo(organizationId); + return localVarResponse.getData(); + } + + /** + * Returns information about an organization-level Connect OAuth configuration + * Required scopes: connect_org_oauth_read_api + * @param organizationId The organization ID Guid (required) + * @return Object + * @throws ApiException if fails to make API call + */ + public ApiResponse getOrganizationConnectOAuthConfigurationWithHttpInfo(java.util.UUID organizationId) throws ApiException { + Object localVarPostBody = "{}"; + + // verify the required parameter 'organizationId' is set + if (organizationId == null) { + throw new ApiException(400, "Missing the required parameter 'organizationId' when calling getOrganizationConnectOAuthConfiguration"); + } + + // create path and map variables + String localVarPath = "/v2/organizations/{organizationId}/connect/oauth" + .replaceAll("\\{" + "organizationId" + "\\}", apiClient.escapeString(organizationId.toString())); + + // query params + java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); + java.util.Map localVarHeaderParams = new java.util.HashMap(); + java.util.Map localVarFormParams = new java.util.HashMap(); + + + + + + + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + Object localVarResponse = apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + return new ApiResponse(apiClient.getStatusCode(), apiClient.getResponseHeaders(), localVarResponse); + } + + /** + * Saves information about a Connect HMAC secret. + * Required scopes: connect_org_hmac_write_api + * @param organizationId The organization ID Guid (required) + * @return OrganizationConnectHmacSecretsResponse + * @throws ApiException if fails to make API call + */ + public OrganizationConnectHmacSecretsResponse postConnectHmacSecret(java.util.UUID organizationId) throws ApiException { + ApiResponse localVarResponse = postConnectHmacSecretWithHttpInfo(organizationId); + return localVarResponse.getData(); + } + + /** + * Saves information about a Connect HMAC secret + * Required scopes: connect_org_hmac_write_api + * @param organizationId The organization ID Guid (required) + * @return OrganizationConnectHmacSecretsResponse + * @throws ApiException if fails to make API call + */ + public ApiResponse postConnectHmacSecretWithHttpInfo(java.util.UUID organizationId) throws ApiException { + Object localVarPostBody = "{}"; + + // verify the required parameter 'organizationId' is set + if (organizationId == null) { + throw new ApiException(400, "Missing the required parameter 'organizationId' when calling postConnectHmacSecret"); + } + + // create path and map variables + String localVarPath = "/v2/organizations/{organizationId}/connect/secret" + .replaceAll("\\{" + "organizationId" + "\\}", apiClient.escapeString(organizationId.toString())); + + // query params + java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); + java.util.Map localVarHeaderParams = new java.util.HashMap(); + java.util.Map localVarFormParams = new java.util.HashMap(); + + + + + + + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + OrganizationConnectHmacSecretsResponse localVarResponse = apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + return new ApiResponse(apiClient.getStatusCode(), apiClient.getResponseHeaders(), localVarResponse); + } + + /** + * Saves information about an organization-level Connect OAuth configuration. + * Required scopes: connect_org_oauth_write_api + * @param organizationId The organization ID Guid (required) + * @param _configuration Add an organization-level Connect OAuth configuration (required) + * @return OrganizationConnectOAuthConfiguration + * @throws ApiException if fails to make API call + */ + public OrganizationConnectOAuthConfiguration postOrganizationConnectOAuthConfiguration(java.util.UUID organizationId, OrganizationConnectOAuthConfiguration _configuration) throws ApiException { + ApiResponse localVarResponse = postOrganizationConnectOAuthConfigurationWithHttpInfo(organizationId, _configuration); + return localVarResponse.getData(); + } + + /** + * Saves information about an organization-level Connect OAuth configuration + * Required scopes: connect_org_oauth_write_api + * @param organizationId The organization ID Guid (required) + * @param _configuration Add an organization-level Connect OAuth configuration (required) + * @return OrganizationConnectOAuthConfiguration + * @throws ApiException if fails to make API call + */ + public ApiResponse postOrganizationConnectOAuthConfigurationWithHttpInfo(java.util.UUID organizationId, OrganizationConnectOAuthConfiguration _configuration) throws ApiException { + Object localVarPostBody = _configuration; + + // verify the required parameter 'organizationId' is set + if (organizationId == null) { + throw new ApiException(400, "Missing the required parameter 'organizationId' when calling postOrganizationConnectOAuthConfiguration"); + } + + // verify the required parameter '_configuration' is set + if (_configuration == null) { + throw new ApiException(400, "Missing the required parameter '_configuration' when calling postOrganizationConnectOAuthConfiguration"); + } + + // create path and map variables + String localVarPath = "/v2/organizations/{organizationId}/connect/oauth" + .replaceAll("\\{" + "organizationId" + "\\}", apiClient.escapeString(organizationId.toString())); + + // query params + java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); + java.util.Map localVarHeaderParams = new java.util.HashMap(); + java.util.Map localVarFormParams = new java.util.HashMap(); + + + + + + + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + OrganizationConnectOAuthConfiguration localVarResponse = apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + return new ApiResponse(apiClient.getStatusCode(), apiClient.getResponseHeaders(), localVarResponse); + } + + /** + * Updates information about an organization-level Connect OAuth configuration. + * Required scopes: connect_org_oauth_write_api + * @param organizationId The organization ID Guid (required) + * @param _configuration Update an organization-level Connect OAuth configuration (required) + * @return OrganizationConnectOAuthConfiguration + * @throws ApiException if fails to make API call + */ + public OrganizationConnectOAuthConfiguration putOrganizationConnectOAuthConfiguration(java.util.UUID organizationId, OrganizationConnectOAuthConfiguration _configuration) throws ApiException { + ApiResponse localVarResponse = putOrganizationConnectOAuthConfigurationWithHttpInfo(organizationId, _configuration); + return localVarResponse.getData(); + } + + /** + * Updates information about an organization-level Connect OAuth configuration + * Required scopes: connect_org_oauth_write_api + * @param organizationId The organization ID Guid (required) + * @param _configuration Update an organization-level Connect OAuth configuration (required) + * @return OrganizationConnectOAuthConfiguration + * @throws ApiException if fails to make API call + */ + public ApiResponse putOrganizationConnectOAuthConfigurationWithHttpInfo(java.util.UUID organizationId, OrganizationConnectOAuthConfiguration _configuration) throws ApiException { + Object localVarPostBody = _configuration; + + // verify the required parameter 'organizationId' is set + if (organizationId == null) { + throw new ApiException(400, "Missing the required parameter 'organizationId' when calling putOrganizationConnectOAuthConfiguration"); + } + + // verify the required parameter '_configuration' is set + if (_configuration == null) { + throw new ApiException(400, "Missing the required parameter '_configuration' when calling putOrganizationConnectOAuthConfiguration"); + } + + // create path and map variables + String localVarPath = "/v2/organizations/{organizationId}/connect/oauth" + .replaceAll("\\{" + "organizationId" + "\\}", apiClient.escapeString(organizationId.toString())); + + // query params + java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); + java.util.Map localVarHeaderParams = new java.util.HashMap(); + java.util.Map localVarFormParams = new java.util.HashMap(); + + + + + + + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + OrganizationConnectOAuthConfiguration localVarResponse = apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + return new ApiResponse(apiClient.getStatusCode(), apiClient.getResponseHeaders(), localVarResponse); + } + + /** + * Updates an organization-level Connect configuration. + * Required scopes: connect_org_config_write_api + * @param organizationId The organization ID Guid (required) + * @param connectId The configuration ID Guid (required) + * @param connectRequest Add an organization Connect request (required) + * @return OrganizationConnectConfigurationDetailsResponse + * @throws ApiException if fails to make API call + */ + public OrganizationConnectConfigurationDetailsResponse updateOrganizationConnectConfig(java.util.UUID organizationId, java.util.UUID connectId, OrganizationConnectConfigurationRequest connectRequest) throws ApiException { + ApiResponse localVarResponse = updateOrganizationConnectConfigWithHttpInfo(organizationId, connectId, connectRequest); + return localVarResponse.getData(); + } + + /** + * Updates an organization-level Connect configuration + * Required scopes: connect_org_config_write_api + * @param organizationId The organization ID Guid (required) + * @param connectId The configuration ID Guid (required) + * @param connectRequest Add an organization Connect request (required) + * @return OrganizationConnectConfigurationDetailsResponse + * @throws ApiException if fails to make API call + */ + public ApiResponse updateOrganizationConnectConfigWithHttpInfo(java.util.UUID organizationId, java.util.UUID connectId, OrganizationConnectConfigurationRequest connectRequest) throws ApiException { + Object localVarPostBody = connectRequest; + + // verify the required parameter 'organizationId' is set + if (organizationId == null) { + throw new ApiException(400, "Missing the required parameter 'organizationId' when calling updateOrganizationConnectConfig"); + } + + // verify the required parameter 'connectId' is set + if (connectId == null) { + throw new ApiException(400, "Missing the required parameter 'connectId' when calling updateOrganizationConnectConfig"); + } + + // verify the required parameter 'connectRequest' is set + if (connectRequest == null) { + throw new ApiException(400, "Missing the required parameter 'connectRequest' when calling updateOrganizationConnectConfig"); + } + + // create path and map variables + String localVarPath = "/v2/organizations/{organizationId}/connect/{connectId}" + .replaceAll("\\{" + "organizationId" + "\\}", apiClient.escapeString(organizationId.toString())) + .replaceAll("\\{" + "connectId" + "\\}", apiClient.escapeString(connectId.toString())); + + // query params + java.util.List localVarQueryParams = new java.util.ArrayList(); + java.util.List localVarCollectionQueryParams = new java.util.ArrayList(); + java.util.Map localVarHeaderParams = new java.util.HashMap(); + java.util.Map localVarFormParams = new java.util.HashMap(); + + + + + + + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "docusignAccessCode" }; + + GenericType localVarReturnType = new GenericType() {}; + OrganizationConnectConfigurationDetailsResponse localVarResponse = apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + return new ApiResponse(apiClient.getStatusCode(), apiClient.getResponseHeaders(), localVarResponse); + } +} diff --git a/src/main/java/com/docusign/admin/api/UsersApi.java b/src/main/java/com/docusign/admin/api/UsersApi.java index b988c9f..59e4957 100644 --- a/src/main/java/com/docusign/admin/api/UsersApi.java +++ b/src/main/java/com/docusign/admin/api/UsersApi.java @@ -514,6 +514,7 @@ public ApiResponse deleteIdentitiesWithHttpInfo(java.util.UUID public class GetUserDSProfileOptions { private Boolean sort = null; + private Boolean includeLicense = null; /** * setSort method. @@ -530,6 +531,22 @@ public void setSort(Boolean sort) { public Boolean getSort() { return this.sort; } + + /** + * setIncludeLicense method. + */ + public void setIncludeLicense(Boolean includeLicense) { + this.includeLicense = includeLicense; + } + + /** + * getIncludeLicense method. + * + * @return Boolean + */ + public Boolean getIncludeLicense() { + return this.includeLicense; + } } /** @@ -592,6 +609,8 @@ public ApiResponse getUserDSProfileWithHttpInfo(java.ut if (options != null) { localVarQueryParams.addAll(apiClient.parameterToPair("sort", options.sort)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("include_license", options.includeLicense)); } @@ -626,6 +645,7 @@ public class GetUserDSProfilesByEmailOptions { private String email = null; private Boolean sort = null; + private Boolean includeLicense = null; /** * setEmail method. @@ -658,6 +678,22 @@ public void setSort(Boolean sort) { public Boolean getSort() { return this.sort; } + + /** + * setIncludeLicense method. + */ + public void setIncludeLicense(Boolean includeLicense) { + this.includeLicense = includeLicense; + } + + /** + * getIncludeLicense method. + * + * @return Boolean + */ + public Boolean getIncludeLicense() { + return this.includeLicense; + } } /** @@ -713,6 +749,8 @@ public ApiResponse getUserDSProfilesByEmailWithHttpInfo localVarQueryParams.addAll(apiClient.parameterToPair("email", options.email)); }if (options != null) { localVarQueryParams.addAll(apiClient.parameterToPair("sort", options.sort)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("include_license", options.includeLicense)); } @@ -746,6 +784,7 @@ public ApiResponse getUserDSProfilesByEmailWithHttpInfo public class GetUserProfilesOptions { private String email = null; + private Boolean includeLicense = null; /** * setEmail method. @@ -762,6 +801,22 @@ public void setEmail(String email) { public String getEmail() { return this.email; } + + /** + * setIncludeLicense method. + */ + public void setIncludeLicense(Boolean includeLicense) { + this.includeLicense = includeLicense; + } + + /** + * getIncludeLicense method. + * + * @return Boolean + */ + public Boolean getIncludeLicense() { + return this.includeLicense; + } } /** @@ -815,6 +870,8 @@ public ApiResponse getUserProfilesWithHttpInfo(java.uti if (options != null) { localVarQueryParams.addAll(apiClient.parameterToPair("email", options.email)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("include_license", options.includeLicense)); } @@ -858,6 +915,7 @@ public class GetUsersOptions private java.util.UUID organizationReservedDomainId = null; private String lastModifiedSince = null; private Boolean includeDsGroups = null; + private Boolean includeLicense = null; /** * setStart method. @@ -1034,6 +1092,22 @@ public void setIncludeDsGroups(Boolean includeDsGroups) { public Boolean getIncludeDsGroups() { return this.includeDsGroups; } + + /** + * setIncludeLicense method. + */ + public void setIncludeLicense(Boolean includeLicense) { + this.includeLicense = includeLicense; + } + + /** + * getIncludeLicense method. + * + * @return Boolean + */ + public Boolean getIncludeLicense() { + return this.includeLicense; + } } /** @@ -1107,6 +1181,8 @@ public ApiResponse getUsersWithHttpInfo(java.util.UU localVarQueryParams.addAll(apiClient.parameterToPair("last_modified_since", options.lastModifiedSince)); }if (options != null) { localVarQueryParams.addAll(apiClient.parameterToPair("include_ds_groups", options.includeDsGroups)); + }if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("include_license", options.includeLicense)); } @@ -1196,17 +1272,57 @@ public ApiResponse updateEmailAddressWithHttpInfo(java.uti UsersUpdateResponse localVarResponse = apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); return new ApiResponse(apiClient.getStatusCode(), apiClient.getResponseHeaders(), localVarResponse); } + /// + /// Updates a user. Required scopes: user_write + /// + + /** + * UpdateUserOptions Class. + * + **/ + public class UpdateUserOptions + { + private Boolean applyLicenseOverride = null; + + /** + * setApplyLicenseOverride method. + */ + public void setApplyLicenseOverride(Boolean applyLicenseOverride) { + this.applyLicenseOverride = applyLicenseOverride; + } + + /** + * getApplyLicenseOverride method. + * + * @return Boolean + */ + public Boolean getApplyLicenseOverride() { + return this.applyLicenseOverride; + } + } + + /** + * Updates a user.. + * Required scopes: user_write + * @param organizationId The organization ID Guid (required) + * @param request The user details to update (required) + * @return UsersUpdateResponse + */ + public UsersUpdateResponse updateUser(java.util.UUID organizationId, UpdateUsersRequest request) throws ApiException { + return updateUser(organizationId, request, null); + } /** * Updates a user.. * Required scopes: user_write * @param organizationId The organization ID Guid (required) * @param request The user details to update (required) + * @param options for modifying the method behavior. * @return UsersUpdateResponse * @throws ApiException if fails to make API call */ - public UsersUpdateResponse updateUser(java.util.UUID organizationId, UpdateUsersRequest request) throws ApiException { - ApiResponse localVarResponse = updateUserWithHttpInfo(organizationId, request); + public UsersUpdateResponse updateUser(java.util.UUID organizationId, UpdateUsersRequest request, UsersApi.UpdateUserOptions options) throws ApiException { + ApiResponse localVarResponse = updateUserWithHttpInfo(organizationId, request, options); return localVarResponse.getData(); } @@ -1215,10 +1331,11 @@ public UsersUpdateResponse updateUser(java.util.UUID organizationId, UpdateUsers * Required scopes: user_write * @param organizationId The organization ID Guid (required) * @param request The user details to update (required) + * @param options for modifying the method behavior. * @return UsersUpdateResponse * @throws ApiException if fails to make API call */ - public ApiResponse updateUserWithHttpInfo(java.util.UUID organizationId, UpdateUsersRequest request) throws ApiException { + public ApiResponse updateUserWithHttpInfo(java.util.UUID organizationId, UpdateUsersRequest request, UsersApi.UpdateUserOptions options) throws ApiException { Object localVarPostBody = request; // verify the required parameter 'organizationId' is set @@ -1241,7 +1358,9 @@ public ApiResponse updateUserWithHttpInfo(java.util.UUID o java.util.Map localVarHeaderParams = new java.util.HashMap(); java.util.Map localVarFormParams = new java.util.HashMap(); - + if (options != null) { + localVarQueryParams.addAll(apiClient.parameterToPair("apply_license_override", options.applyLicenseOverride)); + } diff --git a/src/main/java/com/docusign/admin/client/ApiClient.java b/src/main/java/com/docusign/admin/client/ApiClient.java index d76f31f..da5bc08 100644 --- a/src/main/java/com/docusign/admin/client/ApiClient.java +++ b/src/main/java/com/docusign/admin/client/ApiClient.java @@ -93,7 +93,7 @@ public ApiClient() { String javaVersion = System.getProperty("java.version"); // Set default User-Agent. - setUserAgent("Swagger-Codegen/v2.1/2.0.0/Java/" + javaVersion); + setUserAgent("Swagger-Codegen/v2.1/2.1.0/Java/" + javaVersion); // Setup authentications (key: authentication name, value: authentication). authentications = new HashMap(); diff --git a/src/main/java/com/docusign/admin/model/AddUserResponseAccountProperties.java b/src/main/java/com/docusign/admin/model/AddUserResponseAccountProperties.java index d642dd1..7c8d024 100644 --- a/src/main/java/com/docusign/admin/model/AddUserResponseAccountProperties.java +++ b/src/main/java/com/docusign/admin/model/AddUserResponseAccountProperties.java @@ -36,6 +36,18 @@ public class AddUserResponseAccountProperties implements Serializable { @JsonProperty("job_title") private String jobTitle = null; + @JsonProperty("license_type") + private String licenseType = null; + + @JsonProperty("subscription_id") + private String subscriptionId = null; + + @JsonProperty("plan_name") + private String planName = null; + + @JsonProperty("license_status") + private String licenseStatus = null; + /** * id. @@ -163,6 +175,114 @@ public void setJobTitle(String jobTitle) { } + /** + * licenseType. + * + * @return AddUserResponseAccountProperties + **/ + public AddUserResponseAccountProperties licenseType(String licenseType) { + this.licenseType = licenseType; + return this; + } + + /** + * Get licenseType. + * @return licenseType + **/ + @Schema(description = "") + public String getLicenseType() { + return licenseType; + } + + /** + * setLicenseType. + **/ + public void setLicenseType(String licenseType) { + this.licenseType = licenseType; + } + + + /** + * subscriptionId. + * + * @return AddUserResponseAccountProperties + **/ + public AddUserResponseAccountProperties subscriptionId(String subscriptionId) { + this.subscriptionId = subscriptionId; + return this; + } + + /** + * Get subscriptionId. + * @return subscriptionId + **/ + @Schema(description = "") + public String getSubscriptionId() { + return subscriptionId; + } + + /** + * setSubscriptionId. + **/ + public void setSubscriptionId(String subscriptionId) { + this.subscriptionId = subscriptionId; + } + + + /** + * planName. + * + * @return AddUserResponseAccountProperties + **/ + public AddUserResponseAccountProperties planName(String planName) { + this.planName = planName; + return this; + } + + /** + * Get planName. + * @return planName + **/ + @Schema(description = "") + public String getPlanName() { + return planName; + } + + /** + * setPlanName. + **/ + public void setPlanName(String planName) { + this.planName = planName; + } + + + /** + * licenseStatus. + * + * @return AddUserResponseAccountProperties + **/ + public AddUserResponseAccountProperties licenseStatus(String licenseStatus) { + this.licenseStatus = licenseStatus; + return this; + } + + /** + * Get licenseStatus. + * @return licenseStatus + **/ + @Schema(description = "") + public String getLicenseStatus() { + return licenseStatus; + } + + /** + * setLicenseStatus. + **/ + public void setLicenseStatus(String licenseStatus) { + this.licenseStatus = licenseStatus; + } + + /** * Compares objects. * @@ -182,7 +302,11 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.productPermissionProfiles, addUserResponseAccountProperties.productPermissionProfiles) && Objects.equals(this.dsGroups, addUserResponseAccountProperties.dsGroups) && Objects.equals(this.companyName, addUserResponseAccountProperties.companyName) && - Objects.equals(this.jobTitle, addUserResponseAccountProperties.jobTitle); + Objects.equals(this.jobTitle, addUserResponseAccountProperties.jobTitle) && + Objects.equals(this.licenseType, addUserResponseAccountProperties.licenseType) && + Objects.equals(this.subscriptionId, addUserResponseAccountProperties.subscriptionId) && + Objects.equals(this.planName, addUserResponseAccountProperties.planName) && + Objects.equals(this.licenseStatus, addUserResponseAccountProperties.licenseStatus); } /** @@ -190,7 +314,7 @@ public boolean equals(java.lang.Object o) { */ @Override public int hashCode() { - return Objects.hash(id, siteId, productPermissionProfiles, dsGroups, companyName, jobTitle); + return Objects.hash(id, siteId, productPermissionProfiles, dsGroups, companyName, jobTitle, licenseType, subscriptionId, planName, licenseStatus); } @@ -208,6 +332,10 @@ public String toString() { sb.append(" dsGroups: ").append(toIndentedString(dsGroups)).append("\n"); sb.append(" companyName: ").append(toIndentedString(companyName)).append("\n"); sb.append(" jobTitle: ").append(toIndentedString(jobTitle)).append("\n"); + sb.append(" licenseType: ").append(toIndentedString(licenseType)).append("\n"); + sb.append(" subscriptionId: ").append(toIndentedString(subscriptionId)).append("\n"); + sb.append(" planName: ").append(toIndentedString(planName)).append("\n"); + sb.append(" licenseStatus: ").append(toIndentedString(licenseStatus)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/com/docusign/admin/model/ConnectEventData.java b/src/main/java/com/docusign/admin/model/ConnectEventData.java new file mode 100644 index 0000000..760b173 --- /dev/null +++ b/src/main/java/com/docusign/admin/model/ConnectEventData.java @@ -0,0 +1,146 @@ +package com.docusign.admin.model; + +import java.util.Objects; +import java.util.Arrays; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.Serializable; + +/** + * ConnectEventData. + * + */ + +public class ConnectEventData implements Serializable { + private static final long serialVersionUID = 1L; + + @JsonProperty("version") + private String version = null; + + @JsonProperty("includeData") + private java.util.List includeData = null; + + + /** + * version. + * + * @return ConnectEventData + **/ + public ConnectEventData version(String version) { + this.version = version; + return this; + } + + /** + * Get version. + * @return version + **/ + @Schema(description = "") + public String getVersion() { + return version; + } + + /** + * setVersion. + **/ + public void setVersion(String version) { + this.version = version; + } + + + /** + * includeData. + * + * @return ConnectEventData + **/ + public ConnectEventData includeData(java.util.List includeData) { + this.includeData = includeData; + return this; + } + + /** + * addIncludeDataItem. + * + * @return ConnectEventData + **/ + public ConnectEventData addIncludeDataItem(String includeDataItem) { + if (this.includeData == null) { + this.includeData = new java.util.ArrayList<>(); + } + this.includeData.add(includeDataItem); + return this; + } + + /** + * Get includeData. + * @return includeData + **/ + @Schema(description = "") + public java.util.List getIncludeData() { + return includeData; + } + + /** + * setIncludeData. + **/ + public void setIncludeData(java.util.List includeData) { + this.includeData = includeData; + } + + + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConnectEventData connectEventData = (ConnectEventData) o; + return Objects.equals(this.version, connectEventData.version) && + Objects.equals(this.includeData, connectEventData.includeData); + } + + /** + * Returns the HashCode. + */ + @Override + public int hashCode() { + return Objects.hash(version, includeData); + } + + + /** + * Converts the given object to string. + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConnectEventData {\n"); + + sb.append(" version: ").append(toIndentedString(version)).append("\n"); + sb.append(" includeData: ").append(toIndentedString(includeData)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/com/docusign/admin/model/DSGroupResponse.java b/src/main/java/com/docusign/admin/model/DSGroupResponse.java index 76ba444..668f4a8 100644 --- a/src/main/java/com/docusign/admin/model/DSGroupResponse.java +++ b/src/main/java/com/docusign/admin/model/DSGroupResponse.java @@ -50,6 +50,9 @@ public class DSGroupResponse implements Serializable { @JsonProperty("account_name") private String accountName = null; + @JsonProperty("is_managed_by_scim") + private Boolean isManagedByScim = null; + /** * dsGroupId. @@ -348,6 +351,33 @@ public void setAccountName(String accountName) { } + /** + * isManagedByScim. + * + * @return DSGroupResponse + **/ + public DSGroupResponse isManagedByScim(Boolean isManagedByScim) { + this.isManagedByScim = isManagedByScim; + return this; + } + + /** + * Get isManagedByScim. + * @return isManagedByScim + **/ + @Schema(description = "") + public Boolean isIsManagedByScim() { + return isManagedByScim; + } + + /** + * setIsManagedByScim. + **/ + public void setIsManagedByScim(Boolean isManagedByScim) { + this.isManagedByScim = isManagedByScim; + } + + /** * Compares objects. * @@ -372,7 +402,8 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.lastModifiedOn, dsGroupResponse.lastModifiedOn) && Objects.equals(this.userCount, dsGroupResponse.userCount) && Objects.equals(this.externalAccountId, dsGroupResponse.externalAccountId) && - Objects.equals(this.accountName, dsGroupResponse.accountName); + Objects.equals(this.accountName, dsGroupResponse.accountName) && + Objects.equals(this.isManagedByScim, dsGroupResponse.isManagedByScim); } /** @@ -380,7 +411,7 @@ public boolean equals(java.lang.Object o) { */ @Override public int hashCode() { - return Objects.hash(dsGroupId, accountId, sourceProductName, groupId, groupName, description, isAdmin, lastModifiedOn, userCount, externalAccountId, accountName); + return Objects.hash(dsGroupId, accountId, sourceProductName, groupId, groupName, description, isAdmin, lastModifiedOn, userCount, externalAccountId, accountName, isManagedByScim); } @@ -403,6 +434,7 @@ public String toString() { sb.append(" userCount: ").append(toIndentedString(userCount)).append("\n"); sb.append(" externalAccountId: ").append(toIndentedString(externalAccountId)).append("\n"); sb.append(" accountName: ").append(toIndentedString(accountName)).append("\n"); + sb.append(" isManagedByScim: ").append(toIndentedString(isManagedByScim)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/com/docusign/admin/model/ErrorDetail.java b/src/main/java/com/docusign/admin/model/ErrorDetail.java new file mode 100644 index 0000000..a59b6d0 --- /dev/null +++ b/src/main/java/com/docusign/admin/model/ErrorDetail.java @@ -0,0 +1,133 @@ +package com.docusign.admin.model; + +import java.util.Objects; +import java.util.Arrays; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.Serializable; + +/** + * ErrorDetail. + * + */ + +public class ErrorDetail implements Serializable { + private static final long serialVersionUID = 1L; + + @JsonProperty("errorMessage") + private String errorMessage = null; + + @JsonProperty("referenceId") + private String referenceId = null; + + + /** + * errorMessage. + * + * @return ErrorDetail + **/ + public ErrorDetail errorMessage(String errorMessage) { + this.errorMessage = errorMessage; + return this; + } + + /** + * Get errorMessage. + * @return errorMessage + **/ + @Schema(description = "") + public String getErrorMessage() { + return errorMessage; + } + + /** + * setErrorMessage. + **/ + public void setErrorMessage(String errorMessage) { + this.errorMessage = errorMessage; + } + + + /** + * referenceId. + * + * @return ErrorDetail + **/ + public ErrorDetail referenceId(String referenceId) { + this.referenceId = referenceId; + return this; + } + + /** + * Get referenceId. + * @return referenceId + **/ + @Schema(description = "") + public String getReferenceId() { + return referenceId; + } + + /** + * setReferenceId. + **/ + public void setReferenceId(String referenceId) { + this.referenceId = referenceId; + } + + + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ErrorDetail errorDetail = (ErrorDetail) o; + return Objects.equals(this.errorMessage, errorDetail.errorMessage) && + Objects.equals(this.referenceId, errorDetail.referenceId); + } + + /** + * Returns the HashCode. + */ + @Override + public int hashCode() { + return Objects.hash(errorMessage, referenceId); + } + + + /** + * Converts the given object to string. + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ErrorDetail {\n"); + + sb.append(" errorMessage: ").append(toIndentedString(errorMessage)).append("\n"); + sb.append(" referenceId: ").append(toIndentedString(referenceId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/com/docusign/admin/model/MembershipResponse.java b/src/main/java/com/docusign/admin/model/MembershipResponse.java index f6c519e..3d7000c 100644 --- a/src/main/java/com/docusign/admin/model/MembershipResponse.java +++ b/src/main/java/com/docusign/admin/model/MembershipResponse.java @@ -19,6 +19,9 @@ public class MembershipResponse implements Serializable { private static final long serialVersionUID = 1L; + @JsonProperty("id") + private java.util.UUID id = null; + @JsonProperty("email") private String email = null; @@ -49,6 +52,42 @@ public class MembershipResponse implements Serializable { @JsonProperty("is_admin") private Boolean isAdmin = null; + @JsonProperty("license_type") + private String licenseType = null; + + @JsonProperty("subscription_id") + private String subscriptionId = null; + + @JsonProperty("plan_name") + private String planName = null; + + + /** + * id. + * + * @return MembershipResponse + **/ + public MembershipResponse id(java.util.UUID id) { + this.id = id; + return this; + } + + /** + * Get id. + * @return id + **/ + @Schema(example = "00000000-0000-0000-0000-000000000000", description = "") + public java.util.UUID getId() { + return id; + } + + /** + * setId. + **/ + public void setId(java.util.UUID id) { + this.id = id; + } + /** * email. @@ -333,6 +372,87 @@ public void setIsAdmin(Boolean isAdmin) { } + /** + * licenseType. + * + * @return MembershipResponse + **/ + public MembershipResponse licenseType(String licenseType) { + this.licenseType = licenseType; + return this; + } + + /** + * Get licenseType. + * @return licenseType + **/ + @Schema(description = "") + public String getLicenseType() { + return licenseType; + } + + /** + * setLicenseType. + **/ + public void setLicenseType(String licenseType) { + this.licenseType = licenseType; + } + + + /** + * subscriptionId. + * + * @return MembershipResponse + **/ + public MembershipResponse subscriptionId(String subscriptionId) { + this.subscriptionId = subscriptionId; + return this; + } + + /** + * Get subscriptionId. + * @return subscriptionId + **/ + @Schema(description = "") + public String getSubscriptionId() { + return subscriptionId; + } + + /** + * setSubscriptionId. + **/ + public void setSubscriptionId(String subscriptionId) { + this.subscriptionId = subscriptionId; + } + + + /** + * planName. + * + * @return MembershipResponse + **/ + public MembershipResponse planName(String planName) { + this.planName = planName; + return this; + } + + /** + * Get planName. + * @return planName + **/ + @Schema(description = "") + public String getPlanName() { + return planName; + } + + /** + * setPlanName. + **/ + public void setPlanName(String planName) { + this.planName = planName; + } + + /** * Compares objects. * @@ -347,7 +467,8 @@ public boolean equals(java.lang.Object o) { return false; } MembershipResponse membershipResponse = (MembershipResponse) o; - return Objects.equals(this.email, membershipResponse.email) && + return Objects.equals(this.id, membershipResponse.id) && + Objects.equals(this.email, membershipResponse.email) && Objects.equals(this.accountId, membershipResponse.accountId) && Objects.equals(this.externalAccountId, membershipResponse.externalAccountId) && Objects.equals(this.accountName, membershipResponse.accountName) && @@ -356,7 +477,10 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.permissionProfile, membershipResponse.permissionProfile) && Objects.equals(this.createdOn, membershipResponse.createdOn) && Objects.equals(this.groups, membershipResponse.groups) && - Objects.equals(this.isAdmin, membershipResponse.isAdmin); + Objects.equals(this.isAdmin, membershipResponse.isAdmin) && + Objects.equals(this.licenseType, membershipResponse.licenseType) && + Objects.equals(this.subscriptionId, membershipResponse.subscriptionId) && + Objects.equals(this.planName, membershipResponse.planName); } /** @@ -364,7 +488,7 @@ public boolean equals(java.lang.Object o) { */ @Override public int hashCode() { - return Objects.hash(email, accountId, externalAccountId, accountName, isExternalAccount, status, permissionProfile, createdOn, groups, isAdmin); + return Objects.hash(id, email, accountId, externalAccountId, accountName, isExternalAccount, status, permissionProfile, createdOn, groups, isAdmin, licenseType, subscriptionId, planName); } @@ -376,6 +500,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class MembershipResponse {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n"); sb.append(" externalAccountId: ").append(toIndentedString(externalAccountId)).append("\n"); @@ -386,6 +511,9 @@ public String toString() { sb.append(" createdOn: ").append(toIndentedString(createdOn)).append("\n"); sb.append(" groups: ").append(toIndentedString(groups)).append("\n"); sb.append(" isAdmin: ").append(toIndentedString(isAdmin)).append("\n"); + sb.append(" licenseType: ").append(toIndentedString(licenseType)).append("\n"); + sb.append(" subscriptionId: ").append(toIndentedString(subscriptionId)).append("\n"); + sb.append(" planName: ").append(toIndentedString(planName)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/com/docusign/admin/model/NewAccountUserRequest.java b/src/main/java/com/docusign/admin/model/NewAccountUserRequest.java index d57cd46..be96ff0 100644 --- a/src/main/java/com/docusign/admin/model/NewAccountUserRequest.java +++ b/src/main/java/com/docusign/admin/model/NewAccountUserRequest.java @@ -54,6 +54,9 @@ public class NewAccountUserRequest implements Serializable { @JsonProperty("auto_activate_memberships") private Boolean autoActivateMemberships = null; + @JsonProperty("license_type") + private String licenseType = null; + /** * permissionProfile. @@ -392,6 +395,33 @@ public void setAutoActivateMemberships(Boolean autoActivateMemberships) { } + /** + * licenseType. + * + * @return NewAccountUserRequest + **/ + public NewAccountUserRequest licenseType(String licenseType) { + this.licenseType = licenseType; + return this; + } + + /** + * Get licenseType. + * @return licenseType + **/ + @Schema(description = "") + public String getLicenseType() { + return licenseType; + } + + /** + * setLicenseType. + **/ + public void setLicenseType(String licenseType) { + this.licenseType = licenseType; + } + + /** * Compares objects. * @@ -417,7 +447,8 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.selectedLanguages, newAccountUserRequest.selectedLanguages) && Objects.equals(this.accessCode, newAccountUserRequest.accessCode) && Objects.equals(this.federatedStatus, newAccountUserRequest.federatedStatus) && - Objects.equals(this.autoActivateMemberships, newAccountUserRequest.autoActivateMemberships); + Objects.equals(this.autoActivateMemberships, newAccountUserRequest.autoActivateMemberships) && + Objects.equals(this.licenseType, newAccountUserRequest.licenseType); } /** @@ -425,7 +456,7 @@ public boolean equals(java.lang.Object o) { */ @Override public int hashCode() { - return Objects.hash(permissionProfile, groups, userName, firstName, lastName, email, defaultAccountId, languageCulture, selectedLanguages, accessCode, federatedStatus, autoActivateMemberships); + return Objects.hash(permissionProfile, groups, userName, firstName, lastName, email, defaultAccountId, languageCulture, selectedLanguages, accessCode, federatedStatus, autoActivateMemberships, licenseType); } @@ -449,6 +480,7 @@ public String toString() { sb.append(" accessCode: ").append(toIndentedString(accessCode)).append("\n"); sb.append(" federatedStatus: ").append(toIndentedString(federatedStatus)).append("\n"); sb.append(" autoActivateMemberships: ").append(toIndentedString(autoActivateMemberships)).append("\n"); + sb.append(" licenseType: ").append(toIndentedString(licenseType)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/com/docusign/admin/model/NewMultiProductUserAddRequest.java b/src/main/java/com/docusign/admin/model/NewMultiProductUserAddRequest.java index 876b7e1..f8a3427 100644 --- a/src/main/java/com/docusign/admin/model/NewMultiProductUserAddRequest.java +++ b/src/main/java/com/docusign/admin/model/NewMultiProductUserAddRequest.java @@ -51,6 +51,9 @@ public class NewMultiProductUserAddRequest implements Serializable { @JsonProperty("auto_activate_memberships") private Boolean autoActivateMemberships = null; + @JsonProperty("license_type") + private String licenseType = null; + /** * productPermissionProfiles. @@ -372,6 +375,33 @@ public void setAutoActivateMemberships(Boolean autoActivateMemberships) { } + /** + * licenseType. + * + * @return NewMultiProductUserAddRequest + **/ + public NewMultiProductUserAddRequest licenseType(String licenseType) { + this.licenseType = licenseType; + return this; + } + + /** + * Get licenseType. + * @return licenseType + **/ + @Schema(description = "") + public String getLicenseType() { + return licenseType; + } + + /** + * setLicenseType. + **/ + public void setLicenseType(String licenseType) { + this.licenseType = licenseType; + } + + /** * Compares objects. * @@ -396,7 +426,8 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.languageCulture, newMultiProductUserAddRequest.languageCulture) && Objects.equals(this.accessCode, newMultiProductUserAddRequest.accessCode) && Objects.equals(this.federatedStatus, newMultiProductUserAddRequest.federatedStatus) && - Objects.equals(this.autoActivateMemberships, newMultiProductUserAddRequest.autoActivateMemberships); + Objects.equals(this.autoActivateMemberships, newMultiProductUserAddRequest.autoActivateMemberships) && + Objects.equals(this.licenseType, newMultiProductUserAddRequest.licenseType); } /** @@ -404,7 +435,7 @@ public boolean equals(java.lang.Object o) { */ @Override public int hashCode() { - return Objects.hash(productPermissionProfiles, dsGroups, userName, firstName, lastName, email, defaultAccountId, languageCulture, accessCode, federatedStatus, autoActivateMemberships); + return Objects.hash(productPermissionProfiles, dsGroups, userName, firstName, lastName, email, defaultAccountId, languageCulture, accessCode, federatedStatus, autoActivateMemberships, licenseType); } @@ -427,6 +458,7 @@ public String toString() { sb.append(" accessCode: ").append(toIndentedString(accessCode)).append("\n"); sb.append(" federatedStatus: ").append(toIndentedString(federatedStatus)).append("\n"); sb.append(" autoActivateMemberships: ").append(toIndentedString(autoActivateMemberships)).append("\n"); + sb.append(" licenseType: ").append(toIndentedString(licenseType)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/com/docusign/admin/model/NewUserResponseAccountProperties.java b/src/main/java/com/docusign/admin/model/NewUserResponseAccountProperties.java index fed196a..db35a9b 100644 --- a/src/main/java/com/docusign/admin/model/NewUserResponseAccountProperties.java +++ b/src/main/java/com/docusign/admin/model/NewUserResponseAccountProperties.java @@ -36,6 +36,18 @@ public class NewUserResponseAccountProperties implements Serializable { @JsonProperty("job_title") private String jobTitle = null; + @JsonProperty("license_type") + private String licenseType = null; + + @JsonProperty("subscription_id") + private String subscriptionId = null; + + @JsonProperty("plan_name") + private String planName = null; + + @JsonProperty("license_status") + private String licenseStatus = null; + /** * id. @@ -212,6 +224,114 @@ public void setJobTitle(String jobTitle) { } + /** + * licenseType. + * + * @return NewUserResponseAccountProperties + **/ + public NewUserResponseAccountProperties licenseType(String licenseType) { + this.licenseType = licenseType; + return this; + } + + /** + * Get licenseType. + * @return licenseType + **/ + @Schema(description = "") + public String getLicenseType() { + return licenseType; + } + + /** + * setLicenseType. + **/ + public void setLicenseType(String licenseType) { + this.licenseType = licenseType; + } + + + /** + * subscriptionId. + * + * @return NewUserResponseAccountProperties + **/ + public NewUserResponseAccountProperties subscriptionId(String subscriptionId) { + this.subscriptionId = subscriptionId; + return this; + } + + /** + * Get subscriptionId. + * @return subscriptionId + **/ + @Schema(description = "") + public String getSubscriptionId() { + return subscriptionId; + } + + /** + * setSubscriptionId. + **/ + public void setSubscriptionId(String subscriptionId) { + this.subscriptionId = subscriptionId; + } + + + /** + * planName. + * + * @return NewUserResponseAccountProperties + **/ + public NewUserResponseAccountProperties planName(String planName) { + this.planName = planName; + return this; + } + + /** + * Get planName. + * @return planName + **/ + @Schema(description = "") + public String getPlanName() { + return planName; + } + + /** + * setPlanName. + **/ + public void setPlanName(String planName) { + this.planName = planName; + } + + + /** + * licenseStatus. + * + * @return NewUserResponseAccountProperties + **/ + public NewUserResponseAccountProperties licenseStatus(String licenseStatus) { + this.licenseStatus = licenseStatus; + return this; + } + + /** + * Get licenseStatus. + * @return licenseStatus + **/ + @Schema(description = "") + public String getLicenseStatus() { + return licenseStatus; + } + + /** + * setLicenseStatus. + **/ + public void setLicenseStatus(String licenseStatus) { + this.licenseStatus = licenseStatus; + } + + /** * Compares objects. * @@ -231,7 +351,11 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.permissionProfile, newUserResponseAccountProperties.permissionProfile) && Objects.equals(this.groups, newUserResponseAccountProperties.groups) && Objects.equals(this.companyName, newUserResponseAccountProperties.companyName) && - Objects.equals(this.jobTitle, newUserResponseAccountProperties.jobTitle); + Objects.equals(this.jobTitle, newUserResponseAccountProperties.jobTitle) && + Objects.equals(this.licenseType, newUserResponseAccountProperties.licenseType) && + Objects.equals(this.subscriptionId, newUserResponseAccountProperties.subscriptionId) && + Objects.equals(this.planName, newUserResponseAccountProperties.planName) && + Objects.equals(this.licenseStatus, newUserResponseAccountProperties.licenseStatus); } /** @@ -239,7 +363,7 @@ public boolean equals(java.lang.Object o) { */ @Override public int hashCode() { - return Objects.hash(id, siteId, permissionProfile, groups, companyName, jobTitle); + return Objects.hash(id, siteId, permissionProfile, groups, companyName, jobTitle, licenseType, subscriptionId, planName, licenseStatus); } @@ -257,6 +381,10 @@ public String toString() { sb.append(" groups: ").append(toIndentedString(groups)).append("\n"); sb.append(" companyName: ").append(toIndentedString(companyName)).append("\n"); sb.append(" jobTitle: ").append(toIndentedString(jobTitle)).append("\n"); + sb.append(" licenseType: ").append(toIndentedString(licenseType)).append("\n"); + sb.append(" subscriptionId: ").append(toIndentedString(subscriptionId)).append("\n"); + sb.append(" planName: ").append(toIndentedString(planName)).append("\n"); + sb.append(" licenseStatus: ").append(toIndentedString(licenseStatus)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/com/docusign/admin/model/OrganizationConnectConfigResponse.java b/src/main/java/com/docusign/admin/model/OrganizationConnectConfigResponse.java new file mode 100644 index 0000000..f395bd4 --- /dev/null +++ b/src/main/java/com/docusign/admin/model/OrganizationConnectConfigResponse.java @@ -0,0 +1,421 @@ +package com.docusign.admin.model; + +import java.util.Objects; +import java.util.Arrays; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.Serializable; + +/** + * OrganizationConnectConfigResponse. + * + */ + +public class OrganizationConnectConfigResponse implements Serializable { + private static final long serialVersionUID = 1L; + + @JsonProperty("connectId") + private String connectId = null; + + @JsonProperty("configurationType") + private String configurationType = null; + + @JsonProperty("disabledBy") + private String disabledBy = null; + + @JsonProperty("allowSalesforcePublish") + private String allowSalesforcePublish = null; + + @JsonProperty("name") + private String name = null; + + @JsonProperty("accountId") + private String accountId = null; + + @JsonProperty("accountName") + private String accountName = null; + + @JsonProperty("allowEnvelopePublish") + private String allowEnvelopePublish = null; + + @JsonProperty("siteId") + private Integer siteId = null; + + @JsonProperty("pausePublish") + private String pausePublish = null; + + @JsonProperty("requiresAcknowledgement") + private String requiresAcknowledgement = null; + + + /** + * connectId. + * + * @return OrganizationConnectConfigResponse + **/ + public OrganizationConnectConfigResponse connectId(String connectId) { + this.connectId = connectId; + return this; + } + + /** + * Get connectId. + * @return connectId + **/ + @Schema(description = "") + public String getConnectId() { + return connectId; + } + + /** + * setConnectId. + **/ + public void setConnectId(String connectId) { + this.connectId = connectId; + } + + + /** + * configurationType. + * + * @return OrganizationConnectConfigResponse + **/ + public OrganizationConnectConfigResponse configurationType(String configurationType) { + this.configurationType = configurationType; + return this; + } + + /** + * Get configurationType. + * @return configurationType + **/ + @Schema(description = "") + public String getConfigurationType() { + return configurationType; + } + + /** + * setConfigurationType. + **/ + public void setConfigurationType(String configurationType) { + this.configurationType = configurationType; + } + + + /** + * disabledBy. + * + * @return OrganizationConnectConfigResponse + **/ + public OrganizationConnectConfigResponse disabledBy(String disabledBy) { + this.disabledBy = disabledBy; + return this; + } + + /** + * Get disabledBy. + * @return disabledBy + **/ + @Schema(description = "") + public String getDisabledBy() { + return disabledBy; + } + + /** + * setDisabledBy. + **/ + public void setDisabledBy(String disabledBy) { + this.disabledBy = disabledBy; + } + + + /** + * allowSalesforcePublish. + * + * @return OrganizationConnectConfigResponse + **/ + public OrganizationConnectConfigResponse allowSalesforcePublish(String allowSalesforcePublish) { + this.allowSalesforcePublish = allowSalesforcePublish; + return this; + } + + /** + * Get allowSalesforcePublish. + * @return allowSalesforcePublish + **/ + @Schema(description = "") + public String getAllowSalesforcePublish() { + return allowSalesforcePublish; + } + + /** + * setAllowSalesforcePublish. + **/ + public void setAllowSalesforcePublish(String allowSalesforcePublish) { + this.allowSalesforcePublish = allowSalesforcePublish; + } + + + /** + * name. + * + * @return OrganizationConnectConfigResponse + **/ + public OrganizationConnectConfigResponse name(String name) { + this.name = name; + return this; + } + + /** + * Get name. + * @return name + **/ + @Schema(description = "") + public String getName() { + return name; + } + + /** + * setName. + **/ + public void setName(String name) { + this.name = name; + } + + + /** + * accountId. + * + * @return OrganizationConnectConfigResponse + **/ + public OrganizationConnectConfigResponse accountId(String accountId) { + this.accountId = accountId; + return this; + } + + /** + * Get accountId. + * @return accountId + **/ + @Schema(description = "") + public String getAccountId() { + return accountId; + } + + /** + * setAccountId. + **/ + public void setAccountId(String accountId) { + this.accountId = accountId; + } + + + /** + * accountName. + * + * @return OrganizationConnectConfigResponse + **/ + public OrganizationConnectConfigResponse accountName(String accountName) { + this.accountName = accountName; + return this; + } + + /** + * Get accountName. + * @return accountName + **/ + @Schema(description = "") + public String getAccountName() { + return accountName; + } + + /** + * setAccountName. + **/ + public void setAccountName(String accountName) { + this.accountName = accountName; + } + + + /** + * allowEnvelopePublish. + * + * @return OrganizationConnectConfigResponse + **/ + public OrganizationConnectConfigResponse allowEnvelopePublish(String allowEnvelopePublish) { + this.allowEnvelopePublish = allowEnvelopePublish; + return this; + } + + /** + * Get allowEnvelopePublish. + * @return allowEnvelopePublish + **/ + @Schema(description = "") + public String getAllowEnvelopePublish() { + return allowEnvelopePublish; + } + + /** + * setAllowEnvelopePublish. + **/ + public void setAllowEnvelopePublish(String allowEnvelopePublish) { + this.allowEnvelopePublish = allowEnvelopePublish; + } + + + /** + * siteId. + * + * @return OrganizationConnectConfigResponse + **/ + public OrganizationConnectConfigResponse siteId(Integer siteId) { + this.siteId = siteId; + return this; + } + + /** + * Get siteId. + * @return siteId + **/ + @Schema(description = "") + public Integer getSiteId() { + return siteId; + } + + /** + * setSiteId. + **/ + public void setSiteId(Integer siteId) { + this.siteId = siteId; + } + + + /** + * pausePublish. + * + * @return OrganizationConnectConfigResponse + **/ + public OrganizationConnectConfigResponse pausePublish(String pausePublish) { + this.pausePublish = pausePublish; + return this; + } + + /** + * Get pausePublish. + * @return pausePublish + **/ + @Schema(description = "") + public String getPausePublish() { + return pausePublish; + } + + /** + * setPausePublish. + **/ + public void setPausePublish(String pausePublish) { + this.pausePublish = pausePublish; + } + + + /** + * requiresAcknowledgement. + * + * @return OrganizationConnectConfigResponse + **/ + public OrganizationConnectConfigResponse requiresAcknowledgement(String requiresAcknowledgement) { + this.requiresAcknowledgement = requiresAcknowledgement; + return this; + } + + /** + * Get requiresAcknowledgement. + * @return requiresAcknowledgement + **/ + @Schema(description = "") + public String getRequiresAcknowledgement() { + return requiresAcknowledgement; + } + + /** + * setRequiresAcknowledgement. + **/ + public void setRequiresAcknowledgement(String requiresAcknowledgement) { + this.requiresAcknowledgement = requiresAcknowledgement; + } + + + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + OrganizationConnectConfigResponse organizationConnectConfigResponse = (OrganizationConnectConfigResponse) o; + return Objects.equals(this.connectId, organizationConnectConfigResponse.connectId) && + Objects.equals(this.configurationType, organizationConnectConfigResponse.configurationType) && + Objects.equals(this.disabledBy, organizationConnectConfigResponse.disabledBy) && + Objects.equals(this.allowSalesforcePublish, organizationConnectConfigResponse.allowSalesforcePublish) && + Objects.equals(this.name, organizationConnectConfigResponse.name) && + Objects.equals(this.accountId, organizationConnectConfigResponse.accountId) && + Objects.equals(this.accountName, organizationConnectConfigResponse.accountName) && + Objects.equals(this.allowEnvelopePublish, organizationConnectConfigResponse.allowEnvelopePublish) && + Objects.equals(this.siteId, organizationConnectConfigResponse.siteId) && + Objects.equals(this.pausePublish, organizationConnectConfigResponse.pausePublish) && + Objects.equals(this.requiresAcknowledgement, organizationConnectConfigResponse.requiresAcknowledgement); + } + + /** + * Returns the HashCode. + */ + @Override + public int hashCode() { + return Objects.hash(connectId, configurationType, disabledBy, allowSalesforcePublish, name, accountId, accountName, allowEnvelopePublish, siteId, pausePublish, requiresAcknowledgement); + } + + + /** + * Converts the given object to string. + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class OrganizationConnectConfigResponse {\n"); + + sb.append(" connectId: ").append(toIndentedString(connectId)).append("\n"); + sb.append(" configurationType: ").append(toIndentedString(configurationType)).append("\n"); + sb.append(" disabledBy: ").append(toIndentedString(disabledBy)).append("\n"); + sb.append(" allowSalesforcePublish: ").append(toIndentedString(allowSalesforcePublish)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n"); + sb.append(" accountName: ").append(toIndentedString(accountName)).append("\n"); + sb.append(" allowEnvelopePublish: ").append(toIndentedString(allowEnvelopePublish)).append("\n"); + sb.append(" siteId: ").append(toIndentedString(siteId)).append("\n"); + sb.append(" pausePublish: ").append(toIndentedString(pausePublish)).append("\n"); + sb.append(" requiresAcknowledgement: ").append(toIndentedString(requiresAcknowledgement)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/com/docusign/admin/model/OrganizationConnectConfigsResponse.java b/src/main/java/com/docusign/admin/model/OrganizationConnectConfigsResponse.java new file mode 100644 index 0000000..ed53a80 --- /dev/null +++ b/src/main/java/com/docusign/admin/model/OrganizationConnectConfigsResponse.java @@ -0,0 +1,180 @@ +package com.docusign.admin.model; + +import java.util.Objects; +import java.util.Arrays; +import com.docusign.admin.model.ErrorDetail; +import com.docusign.admin.model.OrganizationConnectConfigResponse; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.Serializable; + +/** + * OrganizationConnectConfigsResponse. + * + */ + +public class OrganizationConnectConfigsResponse implements Serializable { + private static final long serialVersionUID = 1L; + + @JsonProperty("configurations") + private java.util.List configurations = null; + + @JsonProperty("totalSetSize") + private Integer totalSetSize = null; + + @JsonProperty("errorDetail") + private ErrorDetail errorDetail = null; + + + /** + * configurations. + * + * @return OrganizationConnectConfigsResponse + **/ + public OrganizationConnectConfigsResponse configurations(java.util.List configurations) { + this.configurations = configurations; + return this; + } + + /** + * addConfigurationsItem. + * + * @return OrganizationConnectConfigsResponse + **/ + public OrganizationConnectConfigsResponse addConfigurationsItem(OrganizationConnectConfigResponse configurationsItem) { + if (this.configurations == null) { + this.configurations = new java.util.ArrayList<>(); + } + this.configurations.add(configurationsItem); + return this; + } + + /** + * Get configurations. + * @return configurations + **/ + @Schema(description = "") + public java.util.List getConfigurations() { + return configurations; + } + + /** + * setConfigurations. + **/ + public void setConfigurations(java.util.List configurations) { + this.configurations = configurations; + } + + + /** + * totalSetSize. + * + * @return OrganizationConnectConfigsResponse + **/ + public OrganizationConnectConfigsResponse totalSetSize(Integer totalSetSize) { + this.totalSetSize = totalSetSize; + return this; + } + + /** + * Get totalSetSize. + * @return totalSetSize + **/ + @Schema(description = "") + public Integer getTotalSetSize() { + return totalSetSize; + } + + /** + * setTotalSetSize. + **/ + public void setTotalSetSize(Integer totalSetSize) { + this.totalSetSize = totalSetSize; + } + + + /** + * errorDetail. + * + * @return OrganizationConnectConfigsResponse + **/ + public OrganizationConnectConfigsResponse errorDetail(ErrorDetail errorDetail) { + this.errorDetail = errorDetail; + return this; + } + + /** + * Get errorDetail. + * @return errorDetail + **/ + @Schema(description = "") + public ErrorDetail getErrorDetail() { + return errorDetail; + } + + /** + * setErrorDetail. + **/ + public void setErrorDetail(ErrorDetail errorDetail) { + this.errorDetail = errorDetail; + } + + + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + OrganizationConnectConfigsResponse organizationConnectConfigsResponse = (OrganizationConnectConfigsResponse) o; + return Objects.equals(this.configurations, organizationConnectConfigsResponse.configurations) && + Objects.equals(this.totalSetSize, organizationConnectConfigsResponse.totalSetSize) && + Objects.equals(this.errorDetail, organizationConnectConfigsResponse.errorDetail); + } + + /** + * Returns the HashCode. + */ + @Override + public int hashCode() { + return Objects.hash(configurations, totalSetSize, errorDetail); + } + + + /** + * Converts the given object to string. + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class OrganizationConnectConfigsResponse {\n"); + + sb.append(" configurations: ").append(toIndentedString(configurations)).append("\n"); + sb.append(" totalSetSize: ").append(toIndentedString(totalSetSize)).append("\n"); + sb.append(" errorDetail: ").append(toIndentedString(errorDetail)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/com/docusign/admin/model/OrganizationConnectConfigurationDetailsResponse.java b/src/main/java/com/docusign/admin/model/OrganizationConnectConfigurationDetailsResponse.java new file mode 100644 index 0000000..9bfe9b5 --- /dev/null +++ b/src/main/java/com/docusign/admin/model/OrganizationConnectConfigurationDetailsResponse.java @@ -0,0 +1,634 @@ +package com.docusign.admin.model; + +import java.util.Objects; +import java.util.Arrays; +import com.docusign.admin.model.ConnectEventData; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.Serializable; + +/** + * OrganizationConnectConfigurationDetailsResponse. + * + */ + +public class OrganizationConnectConfigurationDetailsResponse implements Serializable { + private static final long serialVersionUID = 1L; + + @JsonProperty("connectId") + private java.util.UUID connectId = null; + + @JsonProperty("configurationType") + private String configurationType = null; + + @JsonProperty("allowEnvelopePublish") + private String allowEnvelopePublish = null; + + @JsonProperty("urlToPublishTo") + private String urlToPublishTo = null; + + @JsonProperty("deliveryMode") + private String deliveryMode = null; + + @JsonProperty("events") + private java.util.List events = null; + + @JsonProperty("associatedFilterSelection") + private String associatedFilterSelection = null; + + @JsonProperty("accountIds") + private java.util.List accountIds = null; + + @JsonProperty("userIds") + private java.util.List userIds = null; + + @JsonProperty("groupIds") + private java.util.List groupIds = null; + + @JsonProperty("name") + private String name = null; + + @JsonProperty("signMessageWithX509Certificate") + private String signMessageWithX509Certificate = null; + + @JsonProperty("includeOAuth") + private String includeOAuth = null; + + @JsonProperty("includeHMAC") + private String includeHMAC = null; + + @JsonProperty("pausePublish") + private String pausePublish = null; + + @JsonProperty("eventData") + private ConnectEventData eventData = null; + + + /** + * connectId. + * + * @return OrganizationConnectConfigurationDetailsResponse + **/ + public OrganizationConnectConfigurationDetailsResponse connectId(java.util.UUID connectId) { + this.connectId = connectId; + return this; + } + + /** + * Get connectId. + * @return connectId + **/ + @Schema(example = "00000000-0000-0000-0000-000000000000", description = "") + public java.util.UUID getConnectId() { + return connectId; + } + + /** + * setConnectId. + **/ + public void setConnectId(java.util.UUID connectId) { + this.connectId = connectId; + } + + + /** + * configurationType. + * + * @return OrganizationConnectConfigurationDetailsResponse + **/ + public OrganizationConnectConfigurationDetailsResponse configurationType(String configurationType) { + this.configurationType = configurationType; + return this; + } + + /** + * Get configurationType. + * @return configurationType + **/ + @Schema(description = "") + public String getConfigurationType() { + return configurationType; + } + + /** + * setConfigurationType. + **/ + public void setConfigurationType(String configurationType) { + this.configurationType = configurationType; + } + + + /** + * allowEnvelopePublish. + * + * @return OrganizationConnectConfigurationDetailsResponse + **/ + public OrganizationConnectConfigurationDetailsResponse allowEnvelopePublish(String allowEnvelopePublish) { + this.allowEnvelopePublish = allowEnvelopePublish; + return this; + } + + /** + * Get allowEnvelopePublish. + * @return allowEnvelopePublish + **/ + @Schema(description = "") + public String getAllowEnvelopePublish() { + return allowEnvelopePublish; + } + + /** + * setAllowEnvelopePublish. + **/ + public void setAllowEnvelopePublish(String allowEnvelopePublish) { + this.allowEnvelopePublish = allowEnvelopePublish; + } + + + /** + * urlToPublishTo. + * + * @return OrganizationConnectConfigurationDetailsResponse + **/ + public OrganizationConnectConfigurationDetailsResponse urlToPublishTo(String urlToPublishTo) { + this.urlToPublishTo = urlToPublishTo; + return this; + } + + /** + * Get urlToPublishTo. + * @return urlToPublishTo + **/ + @Schema(description = "") + public String getUrlToPublishTo() { + return urlToPublishTo; + } + + /** + * setUrlToPublishTo. + **/ + public void setUrlToPublishTo(String urlToPublishTo) { + this.urlToPublishTo = urlToPublishTo; + } + + + /** + * deliveryMode. + * + * @return OrganizationConnectConfigurationDetailsResponse + **/ + public OrganizationConnectConfigurationDetailsResponse deliveryMode(String deliveryMode) { + this.deliveryMode = deliveryMode; + return this; + } + + /** + * Get deliveryMode. + * @return deliveryMode + **/ + @Schema(description = "") + public String getDeliveryMode() { + return deliveryMode; + } + + /** + * setDeliveryMode. + **/ + public void setDeliveryMode(String deliveryMode) { + this.deliveryMode = deliveryMode; + } + + + /** + * events. + * + * @return OrganizationConnectConfigurationDetailsResponse + **/ + public OrganizationConnectConfigurationDetailsResponse events(java.util.List events) { + this.events = events; + return this; + } + + /** + * addEventsItem. + * + * @return OrganizationConnectConfigurationDetailsResponse + **/ + public OrganizationConnectConfigurationDetailsResponse addEventsItem(String eventsItem) { + if (this.events == null) { + this.events = new java.util.ArrayList<>(); + } + this.events.add(eventsItem); + return this; + } + + /** + * Get events. + * @return events + **/ + @Schema(description = "") + public java.util.List getEvents() { + return events; + } + + /** + * setEvents. + **/ + public void setEvents(java.util.List events) { + this.events = events; + } + + + /** + * associatedFilterSelection. + * + * @return OrganizationConnectConfigurationDetailsResponse + **/ + public OrganizationConnectConfigurationDetailsResponse associatedFilterSelection(String associatedFilterSelection) { + this.associatedFilterSelection = associatedFilterSelection; + return this; + } + + /** + * Get associatedFilterSelection. + * @return associatedFilterSelection + **/ + @Schema(description = "") + public String getAssociatedFilterSelection() { + return associatedFilterSelection; + } + + /** + * setAssociatedFilterSelection. + **/ + public void setAssociatedFilterSelection(String associatedFilterSelection) { + this.associatedFilterSelection = associatedFilterSelection; + } + + + /** + * accountIds. + * + * @return OrganizationConnectConfigurationDetailsResponse + **/ + public OrganizationConnectConfigurationDetailsResponse accountIds(java.util.List accountIds) { + this.accountIds = accountIds; + return this; + } + + /** + * addAccountIdsItem. + * + * @return OrganizationConnectConfigurationDetailsResponse + **/ + public OrganizationConnectConfigurationDetailsResponse addAccountIdsItem(String accountIdsItem) { + if (this.accountIds == null) { + this.accountIds = new java.util.ArrayList<>(); + } + this.accountIds.add(accountIdsItem); + return this; + } + + /** + * Get accountIds. + * @return accountIds + **/ + @Schema(description = "") + public java.util.List getAccountIds() { + return accountIds; + } + + /** + * setAccountIds. + **/ + public void setAccountIds(java.util.List accountIds) { + this.accountIds = accountIds; + } + + + /** + * userIds. + * + * @return OrganizationConnectConfigurationDetailsResponse + **/ + public OrganizationConnectConfigurationDetailsResponse userIds(java.util.List userIds) { + this.userIds = userIds; + return this; + } + + /** + * addUserIdsItem. + * + * @return OrganizationConnectConfigurationDetailsResponse + **/ + public OrganizationConnectConfigurationDetailsResponse addUserIdsItem(String userIdsItem) { + if (this.userIds == null) { + this.userIds = new java.util.ArrayList<>(); + } + this.userIds.add(userIdsItem); + return this; + } + + /** + * Get userIds. + * @return userIds + **/ + @Schema(description = "") + public java.util.List getUserIds() { + return userIds; + } + + /** + * setUserIds. + **/ + public void setUserIds(java.util.List userIds) { + this.userIds = userIds; + } + + + /** + * groupIds. + * + * @return OrganizationConnectConfigurationDetailsResponse + **/ + public OrganizationConnectConfigurationDetailsResponse groupIds(java.util.List groupIds) { + this.groupIds = groupIds; + return this; + } + + /** + * addGroupIdsItem. + * + * @return OrganizationConnectConfigurationDetailsResponse + **/ + public OrganizationConnectConfigurationDetailsResponse addGroupIdsItem(String groupIdsItem) { + if (this.groupIds == null) { + this.groupIds = new java.util.ArrayList<>(); + } + this.groupIds.add(groupIdsItem); + return this; + } + + /** + * Get groupIds. + * @return groupIds + **/ + @Schema(description = "") + public java.util.List getGroupIds() { + return groupIds; + } + + /** + * setGroupIds. + **/ + public void setGroupIds(java.util.List groupIds) { + this.groupIds = groupIds; + } + + + /** + * name. + * + * @return OrganizationConnectConfigurationDetailsResponse + **/ + public OrganizationConnectConfigurationDetailsResponse name(String name) { + this.name = name; + return this; + } + + /** + * Get name. + * @return name + **/ + @Schema(description = "") + public String getName() { + return name; + } + + /** + * setName. + **/ + public void setName(String name) { + this.name = name; + } + + + /** + * signMessageWithX509Certificate. + * + * @return OrganizationConnectConfigurationDetailsResponse + **/ + public OrganizationConnectConfigurationDetailsResponse signMessageWithX509Certificate(String signMessageWithX509Certificate) { + this.signMessageWithX509Certificate = signMessageWithX509Certificate; + return this; + } + + /** + * Get signMessageWithX509Certificate. + * @return signMessageWithX509Certificate + **/ + @Schema(description = "") + public String getSignMessageWithX509Certificate() { + return signMessageWithX509Certificate; + } + + /** + * setSignMessageWithX509Certificate. + **/ + public void setSignMessageWithX509Certificate(String signMessageWithX509Certificate) { + this.signMessageWithX509Certificate = signMessageWithX509Certificate; + } + + + /** + * includeOAuth. + * + * @return OrganizationConnectConfigurationDetailsResponse + **/ + public OrganizationConnectConfigurationDetailsResponse includeOAuth(String includeOAuth) { + this.includeOAuth = includeOAuth; + return this; + } + + /** + * Get includeOAuth. + * @return includeOAuth + **/ + @Schema(description = "") + public String getIncludeOAuth() { + return includeOAuth; + } + + /** + * setIncludeOAuth. + **/ + public void setIncludeOAuth(String includeOAuth) { + this.includeOAuth = includeOAuth; + } + + + /** + * includeHMAC. + * + * @return OrganizationConnectConfigurationDetailsResponse + **/ + public OrganizationConnectConfigurationDetailsResponse includeHMAC(String includeHMAC) { + this.includeHMAC = includeHMAC; + return this; + } + + /** + * Get includeHMAC. + * @return includeHMAC + **/ + @Schema(description = "") + public String getIncludeHMAC() { + return includeHMAC; + } + + /** + * setIncludeHMAC. + **/ + public void setIncludeHMAC(String includeHMAC) { + this.includeHMAC = includeHMAC; + } + + + /** + * pausePublish. + * + * @return OrganizationConnectConfigurationDetailsResponse + **/ + public OrganizationConnectConfigurationDetailsResponse pausePublish(String pausePublish) { + this.pausePublish = pausePublish; + return this; + } + + /** + * Get pausePublish. + * @return pausePublish + **/ + @Schema(description = "") + public String getPausePublish() { + return pausePublish; + } + + /** + * setPausePublish. + **/ + public void setPausePublish(String pausePublish) { + this.pausePublish = pausePublish; + } + + + /** + * eventData. + * + * @return OrganizationConnectConfigurationDetailsResponse + **/ + public OrganizationConnectConfigurationDetailsResponse eventData(ConnectEventData eventData) { + this.eventData = eventData; + return this; + } + + /** + * Get eventData. + * @return eventData + **/ + @Schema(description = "") + public ConnectEventData getEventData() { + return eventData; + } + + /** + * setEventData. + **/ + public void setEventData(ConnectEventData eventData) { + this.eventData = eventData; + } + + + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + OrganizationConnectConfigurationDetailsResponse organizationConnectConfigurationDetailsResponse = (OrganizationConnectConfigurationDetailsResponse) o; + return Objects.equals(this.connectId, organizationConnectConfigurationDetailsResponse.connectId) && + Objects.equals(this.configurationType, organizationConnectConfigurationDetailsResponse.configurationType) && + Objects.equals(this.allowEnvelopePublish, organizationConnectConfigurationDetailsResponse.allowEnvelopePublish) && + Objects.equals(this.urlToPublishTo, organizationConnectConfigurationDetailsResponse.urlToPublishTo) && + Objects.equals(this.deliveryMode, organizationConnectConfigurationDetailsResponse.deliveryMode) && + Objects.equals(this.events, organizationConnectConfigurationDetailsResponse.events) && + Objects.equals(this.associatedFilterSelection, organizationConnectConfigurationDetailsResponse.associatedFilterSelection) && + Objects.equals(this.accountIds, organizationConnectConfigurationDetailsResponse.accountIds) && + Objects.equals(this.userIds, organizationConnectConfigurationDetailsResponse.userIds) && + Objects.equals(this.groupIds, organizationConnectConfigurationDetailsResponse.groupIds) && + Objects.equals(this.name, organizationConnectConfigurationDetailsResponse.name) && + Objects.equals(this.signMessageWithX509Certificate, organizationConnectConfigurationDetailsResponse.signMessageWithX509Certificate) && + Objects.equals(this.includeOAuth, organizationConnectConfigurationDetailsResponse.includeOAuth) && + Objects.equals(this.includeHMAC, organizationConnectConfigurationDetailsResponse.includeHMAC) && + Objects.equals(this.pausePublish, organizationConnectConfigurationDetailsResponse.pausePublish) && + Objects.equals(this.eventData, organizationConnectConfigurationDetailsResponse.eventData); + } + + /** + * Returns the HashCode. + */ + @Override + public int hashCode() { + return Objects.hash(connectId, configurationType, allowEnvelopePublish, urlToPublishTo, deliveryMode, events, associatedFilterSelection, accountIds, userIds, groupIds, name, signMessageWithX509Certificate, includeOAuth, includeHMAC, pausePublish, eventData); + } + + + /** + * Converts the given object to string. + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class OrganizationConnectConfigurationDetailsResponse {\n"); + + sb.append(" connectId: ").append(toIndentedString(connectId)).append("\n"); + sb.append(" configurationType: ").append(toIndentedString(configurationType)).append("\n"); + sb.append(" allowEnvelopePublish: ").append(toIndentedString(allowEnvelopePublish)).append("\n"); + sb.append(" urlToPublishTo: ").append(toIndentedString(urlToPublishTo)).append("\n"); + sb.append(" deliveryMode: ").append(toIndentedString(deliveryMode)).append("\n"); + sb.append(" events: ").append(toIndentedString(events)).append("\n"); + sb.append(" associatedFilterSelection: ").append(toIndentedString(associatedFilterSelection)).append("\n"); + sb.append(" accountIds: ").append(toIndentedString(accountIds)).append("\n"); + sb.append(" userIds: ").append(toIndentedString(userIds)).append("\n"); + sb.append(" groupIds: ").append(toIndentedString(groupIds)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" signMessageWithX509Certificate: ").append(toIndentedString(signMessageWithX509Certificate)).append("\n"); + sb.append(" includeOAuth: ").append(toIndentedString(includeOAuth)).append("\n"); + sb.append(" includeHMAC: ").append(toIndentedString(includeHMAC)).append("\n"); + sb.append(" pausePublish: ").append(toIndentedString(pausePublish)).append("\n"); + sb.append(" eventData: ").append(toIndentedString(eventData)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/com/docusign/admin/model/OrganizationConnectConfigurationRequest.java b/src/main/java/com/docusign/admin/model/OrganizationConnectConfigurationRequest.java new file mode 100644 index 0000000..f551112 --- /dev/null +++ b/src/main/java/com/docusign/admin/model/OrganizationConnectConfigurationRequest.java @@ -0,0 +1,634 @@ +package com.docusign.admin.model; + +import java.util.Objects; +import java.util.Arrays; +import com.docusign.admin.model.ConnectEventData; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.Serializable; + +/** + * OrganizationConnectConfigurationRequest. + * + */ + +public class OrganizationConnectConfigurationRequest implements Serializable { + private static final long serialVersionUID = 1L; + + @JsonProperty("connectId") + private java.util.UUID connectId = null; + + @JsonProperty("configurationType") + private String configurationType = null; + + @JsonProperty("allowEnvelopePublish") + private String allowEnvelopePublish = null; + + @JsonProperty("urlToPublishTo") + private String urlToPublishTo = null; + + @JsonProperty("deliveryMode") + private String deliveryMode = null; + + @JsonProperty("events") + private java.util.List events = null; + + @JsonProperty("associatedFilterSelection") + private String associatedFilterSelection = null; + + @JsonProperty("groupIds") + private java.util.List groupIds = null; + + @JsonProperty("accountIds") + private java.util.List accountIds = null; + + @JsonProperty("userIds") + private java.util.List userIds = null; + + @JsonProperty("name") + private String name = null; + + @JsonProperty("signMessageWithX509Certificate") + private String signMessageWithX509Certificate = null; + + @JsonProperty("includeOAuth") + private String includeOAuth = null; + + @JsonProperty("includeHMAC") + private String includeHMAC = null; + + @JsonProperty("pausePublish") + private String pausePublish = null; + + @JsonProperty("eventData") + private ConnectEventData eventData = null; + + + /** + * connectId. + * + * @return OrganizationConnectConfigurationRequest + **/ + public OrganizationConnectConfigurationRequest connectId(java.util.UUID connectId) { + this.connectId = connectId; + return this; + } + + /** + * Get connectId. + * @return connectId + **/ + @Schema(example = "00000000-0000-0000-0000-000000000000", description = "") + public java.util.UUID getConnectId() { + return connectId; + } + + /** + * setConnectId. + **/ + public void setConnectId(java.util.UUID connectId) { + this.connectId = connectId; + } + + + /** + * configurationType. + * + * @return OrganizationConnectConfigurationRequest + **/ + public OrganizationConnectConfigurationRequest configurationType(String configurationType) { + this.configurationType = configurationType; + return this; + } + + /** + * Get configurationType. + * @return configurationType + **/ + @Schema(description = "") + public String getConfigurationType() { + return configurationType; + } + + /** + * setConfigurationType. + **/ + public void setConfigurationType(String configurationType) { + this.configurationType = configurationType; + } + + + /** + * allowEnvelopePublish. + * + * @return OrganizationConnectConfigurationRequest + **/ + public OrganizationConnectConfigurationRequest allowEnvelopePublish(String allowEnvelopePublish) { + this.allowEnvelopePublish = allowEnvelopePublish; + return this; + } + + /** + * Get allowEnvelopePublish. + * @return allowEnvelopePublish + **/ + @Schema(description = "") + public String getAllowEnvelopePublish() { + return allowEnvelopePublish; + } + + /** + * setAllowEnvelopePublish. + **/ + public void setAllowEnvelopePublish(String allowEnvelopePublish) { + this.allowEnvelopePublish = allowEnvelopePublish; + } + + + /** + * urlToPublishTo. + * + * @return OrganizationConnectConfigurationRequest + **/ + public OrganizationConnectConfigurationRequest urlToPublishTo(String urlToPublishTo) { + this.urlToPublishTo = urlToPublishTo; + return this; + } + + /** + * Get urlToPublishTo. + * @return urlToPublishTo + **/ + @Schema(description = "") + public String getUrlToPublishTo() { + return urlToPublishTo; + } + + /** + * setUrlToPublishTo. + **/ + public void setUrlToPublishTo(String urlToPublishTo) { + this.urlToPublishTo = urlToPublishTo; + } + + + /** + * deliveryMode. + * + * @return OrganizationConnectConfigurationRequest + **/ + public OrganizationConnectConfigurationRequest deliveryMode(String deliveryMode) { + this.deliveryMode = deliveryMode; + return this; + } + + /** + * Get deliveryMode. + * @return deliveryMode + **/ + @Schema(description = "") + public String getDeliveryMode() { + return deliveryMode; + } + + /** + * setDeliveryMode. + **/ + public void setDeliveryMode(String deliveryMode) { + this.deliveryMode = deliveryMode; + } + + + /** + * events. + * + * @return OrganizationConnectConfigurationRequest + **/ + public OrganizationConnectConfigurationRequest events(java.util.List events) { + this.events = events; + return this; + } + + /** + * addEventsItem. + * + * @return OrganizationConnectConfigurationRequest + **/ + public OrganizationConnectConfigurationRequest addEventsItem(String eventsItem) { + if (this.events == null) { + this.events = new java.util.ArrayList<>(); + } + this.events.add(eventsItem); + return this; + } + + /** + * Get events. + * @return events + **/ + @Schema(description = "") + public java.util.List getEvents() { + return events; + } + + /** + * setEvents. + **/ + public void setEvents(java.util.List events) { + this.events = events; + } + + + /** + * associatedFilterSelection. + * + * @return OrganizationConnectConfigurationRequest + **/ + public OrganizationConnectConfigurationRequest associatedFilterSelection(String associatedFilterSelection) { + this.associatedFilterSelection = associatedFilterSelection; + return this; + } + + /** + * Get associatedFilterSelection. + * @return associatedFilterSelection + **/ + @Schema(description = "") + public String getAssociatedFilterSelection() { + return associatedFilterSelection; + } + + /** + * setAssociatedFilterSelection. + **/ + public void setAssociatedFilterSelection(String associatedFilterSelection) { + this.associatedFilterSelection = associatedFilterSelection; + } + + + /** + * groupIds. + * + * @return OrganizationConnectConfigurationRequest + **/ + public OrganizationConnectConfigurationRequest groupIds(java.util.List groupIds) { + this.groupIds = groupIds; + return this; + } + + /** + * addGroupIdsItem. + * + * @return OrganizationConnectConfigurationRequest + **/ + public OrganizationConnectConfigurationRequest addGroupIdsItem(String groupIdsItem) { + if (this.groupIds == null) { + this.groupIds = new java.util.ArrayList<>(); + } + this.groupIds.add(groupIdsItem); + return this; + } + + /** + * Get groupIds. + * @return groupIds + **/ + @Schema(description = "") + public java.util.List getGroupIds() { + return groupIds; + } + + /** + * setGroupIds. + **/ + public void setGroupIds(java.util.List groupIds) { + this.groupIds = groupIds; + } + + + /** + * accountIds. + * + * @return OrganizationConnectConfigurationRequest + **/ + public OrganizationConnectConfigurationRequest accountIds(java.util.List accountIds) { + this.accountIds = accountIds; + return this; + } + + /** + * addAccountIdsItem. + * + * @return OrganizationConnectConfigurationRequest + **/ + public OrganizationConnectConfigurationRequest addAccountIdsItem(String accountIdsItem) { + if (this.accountIds == null) { + this.accountIds = new java.util.ArrayList<>(); + } + this.accountIds.add(accountIdsItem); + return this; + } + + /** + * Get accountIds. + * @return accountIds + **/ + @Schema(description = "") + public java.util.List getAccountIds() { + return accountIds; + } + + /** + * setAccountIds. + **/ + public void setAccountIds(java.util.List accountIds) { + this.accountIds = accountIds; + } + + + /** + * userIds. + * + * @return OrganizationConnectConfigurationRequest + **/ + public OrganizationConnectConfigurationRequest userIds(java.util.List userIds) { + this.userIds = userIds; + return this; + } + + /** + * addUserIdsItem. + * + * @return OrganizationConnectConfigurationRequest + **/ + public OrganizationConnectConfigurationRequest addUserIdsItem(String userIdsItem) { + if (this.userIds == null) { + this.userIds = new java.util.ArrayList<>(); + } + this.userIds.add(userIdsItem); + return this; + } + + /** + * Get userIds. + * @return userIds + **/ + @Schema(description = "") + public java.util.List getUserIds() { + return userIds; + } + + /** + * setUserIds. + **/ + public void setUserIds(java.util.List userIds) { + this.userIds = userIds; + } + + + /** + * name. + * + * @return OrganizationConnectConfigurationRequest + **/ + public OrganizationConnectConfigurationRequest name(String name) { + this.name = name; + return this; + } + + /** + * Get name. + * @return name + **/ + @Schema(description = "") + public String getName() { + return name; + } + + /** + * setName. + **/ + public void setName(String name) { + this.name = name; + } + + + /** + * signMessageWithX509Certificate. + * + * @return OrganizationConnectConfigurationRequest + **/ + public OrganizationConnectConfigurationRequest signMessageWithX509Certificate(String signMessageWithX509Certificate) { + this.signMessageWithX509Certificate = signMessageWithX509Certificate; + return this; + } + + /** + * Get signMessageWithX509Certificate. + * @return signMessageWithX509Certificate + **/ + @Schema(description = "") + public String getSignMessageWithX509Certificate() { + return signMessageWithX509Certificate; + } + + /** + * setSignMessageWithX509Certificate. + **/ + public void setSignMessageWithX509Certificate(String signMessageWithX509Certificate) { + this.signMessageWithX509Certificate = signMessageWithX509Certificate; + } + + + /** + * includeOAuth. + * + * @return OrganizationConnectConfigurationRequest + **/ + public OrganizationConnectConfigurationRequest includeOAuth(String includeOAuth) { + this.includeOAuth = includeOAuth; + return this; + } + + /** + * Get includeOAuth. + * @return includeOAuth + **/ + @Schema(description = "") + public String getIncludeOAuth() { + return includeOAuth; + } + + /** + * setIncludeOAuth. + **/ + public void setIncludeOAuth(String includeOAuth) { + this.includeOAuth = includeOAuth; + } + + + /** + * includeHMAC. + * + * @return OrganizationConnectConfigurationRequest + **/ + public OrganizationConnectConfigurationRequest includeHMAC(String includeHMAC) { + this.includeHMAC = includeHMAC; + return this; + } + + /** + * Get includeHMAC. + * @return includeHMAC + **/ + @Schema(description = "") + public String getIncludeHMAC() { + return includeHMAC; + } + + /** + * setIncludeHMAC. + **/ + public void setIncludeHMAC(String includeHMAC) { + this.includeHMAC = includeHMAC; + } + + + /** + * pausePublish. + * + * @return OrganizationConnectConfigurationRequest + **/ + public OrganizationConnectConfigurationRequest pausePublish(String pausePublish) { + this.pausePublish = pausePublish; + return this; + } + + /** + * Get pausePublish. + * @return pausePublish + **/ + @Schema(description = "") + public String getPausePublish() { + return pausePublish; + } + + /** + * setPausePublish. + **/ + public void setPausePublish(String pausePublish) { + this.pausePublish = pausePublish; + } + + + /** + * eventData. + * + * @return OrganizationConnectConfigurationRequest + **/ + public OrganizationConnectConfigurationRequest eventData(ConnectEventData eventData) { + this.eventData = eventData; + return this; + } + + /** + * Get eventData. + * @return eventData + **/ + @Schema(description = "") + public ConnectEventData getEventData() { + return eventData; + } + + /** + * setEventData. + **/ + public void setEventData(ConnectEventData eventData) { + this.eventData = eventData; + } + + + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + OrganizationConnectConfigurationRequest organizationConnectConfigurationRequest = (OrganizationConnectConfigurationRequest) o; + return Objects.equals(this.connectId, organizationConnectConfigurationRequest.connectId) && + Objects.equals(this.configurationType, organizationConnectConfigurationRequest.configurationType) && + Objects.equals(this.allowEnvelopePublish, organizationConnectConfigurationRequest.allowEnvelopePublish) && + Objects.equals(this.urlToPublishTo, organizationConnectConfigurationRequest.urlToPublishTo) && + Objects.equals(this.deliveryMode, organizationConnectConfigurationRequest.deliveryMode) && + Objects.equals(this.events, organizationConnectConfigurationRequest.events) && + Objects.equals(this.associatedFilterSelection, organizationConnectConfigurationRequest.associatedFilterSelection) && + Objects.equals(this.groupIds, organizationConnectConfigurationRequest.groupIds) && + Objects.equals(this.accountIds, organizationConnectConfigurationRequest.accountIds) && + Objects.equals(this.userIds, organizationConnectConfigurationRequest.userIds) && + Objects.equals(this.name, organizationConnectConfigurationRequest.name) && + Objects.equals(this.signMessageWithX509Certificate, organizationConnectConfigurationRequest.signMessageWithX509Certificate) && + Objects.equals(this.includeOAuth, organizationConnectConfigurationRequest.includeOAuth) && + Objects.equals(this.includeHMAC, organizationConnectConfigurationRequest.includeHMAC) && + Objects.equals(this.pausePublish, organizationConnectConfigurationRequest.pausePublish) && + Objects.equals(this.eventData, organizationConnectConfigurationRequest.eventData); + } + + /** + * Returns the HashCode. + */ + @Override + public int hashCode() { + return Objects.hash(connectId, configurationType, allowEnvelopePublish, urlToPublishTo, deliveryMode, events, associatedFilterSelection, groupIds, accountIds, userIds, name, signMessageWithX509Certificate, includeOAuth, includeHMAC, pausePublish, eventData); + } + + + /** + * Converts the given object to string. + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class OrganizationConnectConfigurationRequest {\n"); + + sb.append(" connectId: ").append(toIndentedString(connectId)).append("\n"); + sb.append(" configurationType: ").append(toIndentedString(configurationType)).append("\n"); + sb.append(" allowEnvelopePublish: ").append(toIndentedString(allowEnvelopePublish)).append("\n"); + sb.append(" urlToPublishTo: ").append(toIndentedString(urlToPublishTo)).append("\n"); + sb.append(" deliveryMode: ").append(toIndentedString(deliveryMode)).append("\n"); + sb.append(" events: ").append(toIndentedString(events)).append("\n"); + sb.append(" associatedFilterSelection: ").append(toIndentedString(associatedFilterSelection)).append("\n"); + sb.append(" groupIds: ").append(toIndentedString(groupIds)).append("\n"); + sb.append(" accountIds: ").append(toIndentedString(accountIds)).append("\n"); + sb.append(" userIds: ").append(toIndentedString(userIds)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" signMessageWithX509Certificate: ").append(toIndentedString(signMessageWithX509Certificate)).append("\n"); + sb.append(" includeOAuth: ").append(toIndentedString(includeOAuth)).append("\n"); + sb.append(" includeHMAC: ").append(toIndentedString(includeHMAC)).append("\n"); + sb.append(" pausePublish: ").append(toIndentedString(pausePublish)).append("\n"); + sb.append(" eventData: ").append(toIndentedString(eventData)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/com/docusign/admin/model/OrganizationConnectHmacSecretsResponse.java b/src/main/java/com/docusign/admin/model/OrganizationConnectHmacSecretsResponse.java new file mode 100644 index 0000000..f4bb542 --- /dev/null +++ b/src/main/java/com/docusign/admin/model/OrganizationConnectHmacSecretsResponse.java @@ -0,0 +1,114 @@ +package com.docusign.admin.model; + +import java.util.Objects; +import java.util.Arrays; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.Serializable; + +/** + * OrganizationConnectHmacSecretsResponse. + * + */ + +public class OrganizationConnectHmacSecretsResponse implements Serializable { + private static final long serialVersionUID = 1L; + + @JsonProperty("secrets") + private java.util.List secrets = null; + + + /** + * secrets. + * + * @return OrganizationConnectHmacSecretsResponse + **/ + public OrganizationConnectHmacSecretsResponse secrets(java.util.List secrets) { + this.secrets = secrets; + return this; + } + + /** + * addSecretsItem. + * + * @return OrganizationConnectHmacSecretsResponse + **/ + public OrganizationConnectHmacSecretsResponse addSecretsItem(String secretsItem) { + if (this.secrets == null) { + this.secrets = new java.util.ArrayList<>(); + } + this.secrets.add(secretsItem); + return this; + } + + /** + * Get secrets. + * @return secrets + **/ + @Schema(description = "") + public java.util.List getSecrets() { + return secrets; + } + + /** + * setSecrets. + **/ + public void setSecrets(java.util.List secrets) { + this.secrets = secrets; + } + + + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + OrganizationConnectHmacSecretsResponse organizationConnectHmacSecretsResponse = (OrganizationConnectHmacSecretsResponse) o; + return Objects.equals(this.secrets, organizationConnectHmacSecretsResponse.secrets); + } + + /** + * Returns the HashCode. + */ + @Override + public int hashCode() { + return Objects.hash(secrets); + } + + + /** + * Converts the given object to string. + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class OrganizationConnectHmacSecretsResponse {\n"); + + sb.append(" secrets: ").append(toIndentedString(secrets)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/com/docusign/admin/model/OrganizationConnectOAuthConfiguration.java b/src/main/java/com/docusign/admin/model/OrganizationConnectOAuthConfiguration.java new file mode 100644 index 0000000..cea7a6f --- /dev/null +++ b/src/main/java/com/docusign/admin/model/OrganizationConnectOAuthConfiguration.java @@ -0,0 +1,242 @@ +package com.docusign.admin.model; + +import java.util.Objects; +import java.util.Arrays; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.Serializable; + +/** + * OrganizationConnectOAuthConfiguration. + * + */ + +public class OrganizationConnectOAuthConfiguration implements Serializable { + private static final long serialVersionUID = 1L; + + @JsonProperty("authorizationServerUrl") + private String authorizationServerUrl = null; + + @JsonProperty("clientId") + private String clientId = null; + + @JsonProperty("clientSecret") + private String clientSecret = null; + + @JsonProperty("scope") + private String scope = null; + + @JsonProperty("customParameter") + private java.util.Map customParameter = null; + + + /** + * authorizationServerUrl. + * + * @return OrganizationConnectOAuthConfiguration + **/ + public OrganizationConnectOAuthConfiguration authorizationServerUrl(String authorizationServerUrl) { + this.authorizationServerUrl = authorizationServerUrl; + return this; + } + + /** + * Get authorizationServerUrl. + * @return authorizationServerUrl + **/ + @Schema(description = "") + public String getAuthorizationServerUrl() { + return authorizationServerUrl; + } + + /** + * setAuthorizationServerUrl. + **/ + public void setAuthorizationServerUrl(String authorizationServerUrl) { + this.authorizationServerUrl = authorizationServerUrl; + } + + + /** + * clientId. + * + * @return OrganizationConnectOAuthConfiguration + **/ + public OrganizationConnectOAuthConfiguration clientId(String clientId) { + this.clientId = clientId; + return this; + } + + /** + * Get clientId. + * @return clientId + **/ + @Schema(description = "") + public String getClientId() { + return clientId; + } + + /** + * setClientId. + **/ + public void setClientId(String clientId) { + this.clientId = clientId; + } + + + /** + * clientSecret. + * + * @return OrganizationConnectOAuthConfiguration + **/ + public OrganizationConnectOAuthConfiguration clientSecret(String clientSecret) { + this.clientSecret = clientSecret; + return this; + } + + /** + * Get clientSecret. + * @return clientSecret + **/ + @Schema(description = "") + public String getClientSecret() { + return clientSecret; + } + + /** + * setClientSecret. + **/ + public void setClientSecret(String clientSecret) { + this.clientSecret = clientSecret; + } + + + /** + * scope. + * + * @return OrganizationConnectOAuthConfiguration + **/ + public OrganizationConnectOAuthConfiguration scope(String scope) { + this.scope = scope; + return this; + } + + /** + * Get scope. + * @return scope + **/ + @Schema(description = "") + public String getScope() { + return scope; + } + + /** + * setScope. + **/ + public void setScope(String scope) { + this.scope = scope; + } + + + /** + * customParameter. + * + * @return OrganizationConnectOAuthConfiguration + **/ + public OrganizationConnectOAuthConfiguration customParameter(java.util.Map customParameter) { + this.customParameter = customParameter; + return this; + } + + /** + * putCustomParameterItem. + * + * @return OrganizationConnectOAuthConfiguration + **/ + public OrganizationConnectOAuthConfiguration putCustomParameterItem(String key, String customParameterItem) { + if (this.customParameter == null) { + this.customParameter = new java.util.HashMap<>(); + } + this.customParameter.put(key, customParameterItem); + return this; + } + + /** + * Get customParameter. + * @return customParameter + **/ + @Schema(description = "") + public java.util.Map getCustomParameter() { + return customParameter; + } + + /** + * setCustomParameter. + **/ + public void setCustomParameter(java.util.Map customParameter) { + this.customParameter = customParameter; + } + + + /** + * Compares objects. + * + * @return true or false depending on comparison result. + */ + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + OrganizationConnectOAuthConfiguration organizationConnectOAuthConfiguration = (OrganizationConnectOAuthConfiguration) o; + return Objects.equals(this.authorizationServerUrl, organizationConnectOAuthConfiguration.authorizationServerUrl) && + Objects.equals(this.clientId, organizationConnectOAuthConfiguration.clientId) && + Objects.equals(this.clientSecret, organizationConnectOAuthConfiguration.clientSecret) && + Objects.equals(this.scope, organizationConnectOAuthConfiguration.scope) && + Objects.equals(this.customParameter, organizationConnectOAuthConfiguration.customParameter); + } + + /** + * Returns the HashCode. + */ + @Override + public int hashCode() { + return Objects.hash(authorizationServerUrl, clientId, clientSecret, scope, customParameter); + } + + + /** + * Converts the given object to string. + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class OrganizationConnectOAuthConfiguration {\n"); + + sb.append(" authorizationServerUrl: ").append(toIndentedString(authorizationServerUrl)).append("\n"); + sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n"); + sb.append(" clientSecret: ").append(toIndentedString(clientSecret)).append("\n"); + sb.append(" scope: ").append(toIndentedString(scope)).append("\n"); + sb.append(" customParameter: ").append(toIndentedString(customParameter)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/com/docusign/admin/model/OrganizationUserResponse.java b/src/main/java/com/docusign/admin/model/OrganizationUserResponse.java index 6f42f9f..0ac775b 100644 --- a/src/main/java/com/docusign/admin/model/OrganizationUserResponse.java +++ b/src/main/java/com/docusign/admin/model/OrganizationUserResponse.java @@ -42,15 +42,36 @@ public class OrganizationUserResponse implements Serializable { @JsonProperty("created_on") private String createdOn = null; + @JsonProperty("closed_on") + private String closedOn = null; + @JsonProperty("membership_created_on") private String membershipCreatedOn = null; + @JsonProperty("membership_closed_on") + private String membershipClosedOn = null; + @JsonProperty("ds_groups") private java.util.List dsGroups = null; @JsonProperty("membership_id") private java.util.UUID membershipId = null; + @JsonProperty("is_membership_managed_by_scim") + private Boolean isMembershipManagedByScim = null; + + @JsonProperty("is_managed_by_scim") + private Boolean isManagedByScim = null; + + @JsonProperty("license_type") + private String licenseType = null; + + @JsonProperty("subscription_id") + private String subscriptionId = null; + + @JsonProperty("plan_name") + private String planName = null; + /** * id. @@ -268,6 +289,33 @@ public void setCreatedOn(String createdOn) { } + /** + * closedOn. + * + * @return OrganizationUserResponse + **/ + public OrganizationUserResponse closedOn(String closedOn) { + this.closedOn = closedOn; + return this; + } + + /** + * Get closedOn. + * @return closedOn + **/ + @Schema(description = "") + public String getClosedOn() { + return closedOn; + } + + /** + * setClosedOn. + **/ + public void setClosedOn(String closedOn) { + this.closedOn = closedOn; + } + + /** * membershipCreatedOn. * @@ -295,6 +343,33 @@ public void setMembershipCreatedOn(String membershipCreatedOn) { } + /** + * membershipClosedOn. + * + * @return OrganizationUserResponse + **/ + public OrganizationUserResponse membershipClosedOn(String membershipClosedOn) { + this.membershipClosedOn = membershipClosedOn; + return this; + } + + /** + * Get membershipClosedOn. + * @return membershipClosedOn + **/ + @Schema(description = "") + public String getMembershipClosedOn() { + return membershipClosedOn; + } + + /** + * setMembershipClosedOn. + **/ + public void setMembershipClosedOn(String membershipClosedOn) { + this.membershipClosedOn = membershipClosedOn; + } + + /** * dsGroups. * @@ -362,6 +437,141 @@ public void setMembershipId(java.util.UUID membershipId) { } + /** + * isMembershipManagedByScim. + * + * @return OrganizationUserResponse + **/ + public OrganizationUserResponse isMembershipManagedByScim(Boolean isMembershipManagedByScim) { + this.isMembershipManagedByScim = isMembershipManagedByScim; + return this; + } + + /** + * Get isMembershipManagedByScim. + * @return isMembershipManagedByScim + **/ + @Schema(description = "") + public Boolean isIsMembershipManagedByScim() { + return isMembershipManagedByScim; + } + + /** + * setIsMembershipManagedByScim. + **/ + public void setIsMembershipManagedByScim(Boolean isMembershipManagedByScim) { + this.isMembershipManagedByScim = isMembershipManagedByScim; + } + + + /** + * isManagedByScim. + * + * @return OrganizationUserResponse + **/ + public OrganizationUserResponse isManagedByScim(Boolean isManagedByScim) { + this.isManagedByScim = isManagedByScim; + return this; + } + + /** + * Get isManagedByScim. + * @return isManagedByScim + **/ + @Schema(description = "") + public Boolean isIsManagedByScim() { + return isManagedByScim; + } + + /** + * setIsManagedByScim. + **/ + public void setIsManagedByScim(Boolean isManagedByScim) { + this.isManagedByScim = isManagedByScim; + } + + + /** + * licenseType. + * + * @return OrganizationUserResponse + **/ + public OrganizationUserResponse licenseType(String licenseType) { + this.licenseType = licenseType; + return this; + } + + /** + * Get licenseType. + * @return licenseType + **/ + @Schema(description = "") + public String getLicenseType() { + return licenseType; + } + + /** + * setLicenseType. + **/ + public void setLicenseType(String licenseType) { + this.licenseType = licenseType; + } + + + /** + * subscriptionId. + * + * @return OrganizationUserResponse + **/ + public OrganizationUserResponse subscriptionId(String subscriptionId) { + this.subscriptionId = subscriptionId; + return this; + } + + /** + * Get subscriptionId. + * @return subscriptionId + **/ + @Schema(description = "") + public String getSubscriptionId() { + return subscriptionId; + } + + /** + * setSubscriptionId. + **/ + public void setSubscriptionId(String subscriptionId) { + this.subscriptionId = subscriptionId; + } + + + /** + * planName. + * + * @return OrganizationUserResponse + **/ + public OrganizationUserResponse planName(String planName) { + this.planName = planName; + return this; + } + + /** + * Get planName. + * @return planName + **/ + @Schema(description = "") + public String getPlanName() { + return planName; + } + + /** + * setPlanName. + **/ + public void setPlanName(String planName) { + this.planName = planName; + } + + /** * Compares objects. * @@ -384,9 +594,16 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.membershipStatus, organizationUserResponse.membershipStatus) && Objects.equals(this.email, organizationUserResponse.email) && Objects.equals(this.createdOn, organizationUserResponse.createdOn) && + Objects.equals(this.closedOn, organizationUserResponse.closedOn) && Objects.equals(this.membershipCreatedOn, organizationUserResponse.membershipCreatedOn) && + Objects.equals(this.membershipClosedOn, organizationUserResponse.membershipClosedOn) && Objects.equals(this.dsGroups, organizationUserResponse.dsGroups) && - Objects.equals(this.membershipId, organizationUserResponse.membershipId); + Objects.equals(this.membershipId, organizationUserResponse.membershipId) && + Objects.equals(this.isMembershipManagedByScim, organizationUserResponse.isMembershipManagedByScim) && + Objects.equals(this.isManagedByScim, organizationUserResponse.isManagedByScim) && + Objects.equals(this.licenseType, organizationUserResponse.licenseType) && + Objects.equals(this.subscriptionId, organizationUserResponse.subscriptionId) && + Objects.equals(this.planName, organizationUserResponse.planName); } /** @@ -394,7 +611,7 @@ public boolean equals(java.lang.Object o) { */ @Override public int hashCode() { - return Objects.hash(id, userName, firstName, lastName, userStatus, membershipStatus, email, createdOn, membershipCreatedOn, dsGroups, membershipId); + return Objects.hash(id, userName, firstName, lastName, userStatus, membershipStatus, email, createdOn, closedOn, membershipCreatedOn, membershipClosedOn, dsGroups, membershipId, isMembershipManagedByScim, isManagedByScim, licenseType, subscriptionId, planName); } @@ -414,9 +631,16 @@ public String toString() { sb.append(" membershipStatus: ").append(toIndentedString(membershipStatus)).append("\n"); sb.append(" email: ").append(toIndentedString(email)).append("\n"); sb.append(" createdOn: ").append(toIndentedString(createdOn)).append("\n"); + sb.append(" closedOn: ").append(toIndentedString(closedOn)).append("\n"); sb.append(" membershipCreatedOn: ").append(toIndentedString(membershipCreatedOn)).append("\n"); + sb.append(" membershipClosedOn: ").append(toIndentedString(membershipClosedOn)).append("\n"); sb.append(" dsGroups: ").append(toIndentedString(dsGroups)).append("\n"); sb.append(" membershipId: ").append(toIndentedString(membershipId)).append("\n"); + sb.append(" isMembershipManagedByScim: ").append(toIndentedString(isMembershipManagedByScim)).append("\n"); + sb.append(" isManagedByScim: ").append(toIndentedString(isManagedByScim)).append("\n"); + sb.append(" licenseType: ").append(toIndentedString(licenseType)).append("\n"); + sb.append(" subscriptionId: ").append(toIndentedString(subscriptionId)).append("\n"); + sb.append(" planName: ").append(toIndentedString(planName)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/com/docusign/admin/model/UpdateMembershipRequest.java b/src/main/java/com/docusign/admin/model/UpdateMembershipRequest.java index 66efaea..7a1fcad 100644 --- a/src/main/java/com/docusign/admin/model/UpdateMembershipRequest.java +++ b/src/main/java/com/docusign/admin/model/UpdateMembershipRequest.java @@ -39,6 +39,9 @@ public class UpdateMembershipRequest implements Serializable { @JsonProperty("access_code") private String accessCode = null; + @JsonProperty("license_type") + private String licenseType = null; + /** * accountId. @@ -242,6 +245,33 @@ public void setAccessCode(String accessCode) { } + /** + * licenseType. + * + * @return UpdateMembershipRequest + **/ + public UpdateMembershipRequest licenseType(String licenseType) { + this.licenseType = licenseType; + return this; + } + + /** + * Get licenseType. + * @return licenseType + **/ + @Schema(description = "") + public String getLicenseType() { + return licenseType; + } + + /** + * setLicenseType. + **/ + public void setLicenseType(String licenseType) { + this.licenseType = licenseType; + } + + /** * Compares objects. * @@ -262,7 +292,8 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.companyName, updateMembershipRequest.companyName) && Objects.equals(this.jobTitle, updateMembershipRequest.jobTitle) && Objects.equals(this.sendActivation, updateMembershipRequest.sendActivation) && - Objects.equals(this.accessCode, updateMembershipRequest.accessCode); + Objects.equals(this.accessCode, updateMembershipRequest.accessCode) && + Objects.equals(this.licenseType, updateMembershipRequest.licenseType); } /** @@ -270,7 +301,7 @@ public boolean equals(java.lang.Object o) { */ @Override public int hashCode() { - return Objects.hash(accountId, permissionProfile, groups, companyName, jobTitle, sendActivation, accessCode); + return Objects.hash(accountId, permissionProfile, groups, companyName, jobTitle, sendActivation, accessCode, licenseType); } @@ -289,6 +320,7 @@ public String toString() { sb.append(" jobTitle: ").append(toIndentedString(jobTitle)).append("\n"); sb.append(" sendActivation: ").append(toIndentedString(sendActivation)).append("\n"); sb.append(" accessCode: ").append(toIndentedString(accessCode)).append("\n"); + sb.append(" licenseType: ").append(toIndentedString(licenseType)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/com/docusign/admin/model/UserDrilldownResponse.java b/src/main/java/com/docusign/admin/model/UserDrilldownResponse.java index 574bf7d..ccd2dbf 100644 --- a/src/main/java/com/docusign/admin/model/UserDrilldownResponse.java +++ b/src/main/java/com/docusign/admin/model/UserDrilldownResponse.java @@ -73,6 +73,18 @@ public class UserDrilldownResponse implements Serializable { @JsonProperty("device_verification_enabled") private Boolean deviceVerificationEnabled = null; + @JsonProperty("require_two_step_verification") + private Boolean requireTwoStepVerification = null; + + @JsonProperty("allow_two_step_verification_snooze") + private Boolean allowTwoStepVerificationSnooze = null; + + @JsonProperty("allow_extend_org_admin_rights_to_self") + private Boolean allowExtendOrgAdminRightsToSelf = null; + + @JsonProperty("is_managed_by_scim") + private Boolean isManagedByScim = null; + /** * id. @@ -586,6 +598,114 @@ public void setDeviceVerificationEnabled(Boolean deviceVerificationEnabled) { } + /** + * requireTwoStepVerification. + * + * @return UserDrilldownResponse + **/ + public UserDrilldownResponse requireTwoStepVerification(Boolean requireTwoStepVerification) { + this.requireTwoStepVerification = requireTwoStepVerification; + return this; + } + + /** + * Get requireTwoStepVerification. + * @return requireTwoStepVerification + **/ + @Schema(description = "") + public Boolean isRequireTwoStepVerification() { + return requireTwoStepVerification; + } + + /** + * setRequireTwoStepVerification. + **/ + public void setRequireTwoStepVerification(Boolean requireTwoStepVerification) { + this.requireTwoStepVerification = requireTwoStepVerification; + } + + + /** + * allowTwoStepVerificationSnooze. + * + * @return UserDrilldownResponse + **/ + public UserDrilldownResponse allowTwoStepVerificationSnooze(Boolean allowTwoStepVerificationSnooze) { + this.allowTwoStepVerificationSnooze = allowTwoStepVerificationSnooze; + return this; + } + + /** + * Get allowTwoStepVerificationSnooze. + * @return allowTwoStepVerificationSnooze + **/ + @Schema(description = "") + public Boolean isAllowTwoStepVerificationSnooze() { + return allowTwoStepVerificationSnooze; + } + + /** + * setAllowTwoStepVerificationSnooze. + **/ + public void setAllowTwoStepVerificationSnooze(Boolean allowTwoStepVerificationSnooze) { + this.allowTwoStepVerificationSnooze = allowTwoStepVerificationSnooze; + } + + + /** + * allowExtendOrgAdminRightsToSelf. + * + * @return UserDrilldownResponse + **/ + public UserDrilldownResponse allowExtendOrgAdminRightsToSelf(Boolean allowExtendOrgAdminRightsToSelf) { + this.allowExtendOrgAdminRightsToSelf = allowExtendOrgAdminRightsToSelf; + return this; + } + + /** + * Get allowExtendOrgAdminRightsToSelf. + * @return allowExtendOrgAdminRightsToSelf + **/ + @Schema(description = "") + public Boolean isAllowExtendOrgAdminRightsToSelf() { + return allowExtendOrgAdminRightsToSelf; + } + + /** + * setAllowExtendOrgAdminRightsToSelf. + **/ + public void setAllowExtendOrgAdminRightsToSelf(Boolean allowExtendOrgAdminRightsToSelf) { + this.allowExtendOrgAdminRightsToSelf = allowExtendOrgAdminRightsToSelf; + } + + + /** + * isManagedByScim. + * + * @return UserDrilldownResponse + **/ + public UserDrilldownResponse isManagedByScim(Boolean isManagedByScim) { + this.isManagedByScim = isManagedByScim; + return this; + } + + /** + * Get isManagedByScim. + * @return isManagedByScim + **/ + @Schema(description = "") + public Boolean isIsManagedByScim() { + return isManagedByScim; + } + + /** + * setIsManagedByScim. + **/ + public void setIsManagedByScim(Boolean isManagedByScim) { + this.isManagedByScim = isManagedByScim; + } + + /** * Compares objects. * @@ -617,7 +737,11 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.lastLogin, userDrilldownResponse.lastLogin) && Objects.equals(this.memberships, userDrilldownResponse.memberships) && Objects.equals(this.identities, userDrilldownResponse.identities) && - Objects.equals(this.deviceVerificationEnabled, userDrilldownResponse.deviceVerificationEnabled); + Objects.equals(this.deviceVerificationEnabled, userDrilldownResponse.deviceVerificationEnabled) && + Objects.equals(this.requireTwoStepVerification, userDrilldownResponse.requireTwoStepVerification) && + Objects.equals(this.allowTwoStepVerificationSnooze, userDrilldownResponse.allowTwoStepVerificationSnooze) && + Objects.equals(this.allowExtendOrgAdminRightsToSelf, userDrilldownResponse.allowExtendOrgAdminRightsToSelf) && + Objects.equals(this.isManagedByScim, userDrilldownResponse.isManagedByScim); } /** @@ -625,7 +749,7 @@ public boolean equals(java.lang.Object o) { */ @Override public int hashCode() { - return Objects.hash(id, siteId, siteName, userName, firstName, lastName, userStatus, defaultAccountId, defaultAccountName, languageCulture, selectedLanguages, federatedStatus, isOrganizationAdmin, createdOn, lastLogin, memberships, identities, deviceVerificationEnabled); + return Objects.hash(id, siteId, siteName, userName, firstName, lastName, userStatus, defaultAccountId, defaultAccountName, languageCulture, selectedLanguages, federatedStatus, isOrganizationAdmin, createdOn, lastLogin, memberships, identities, deviceVerificationEnabled, requireTwoStepVerification, allowTwoStepVerificationSnooze, allowExtendOrgAdminRightsToSelf, isManagedByScim); } @@ -655,6 +779,10 @@ public String toString() { sb.append(" memberships: ").append(toIndentedString(memberships)).append("\n"); sb.append(" identities: ").append(toIndentedString(identities)).append("\n"); sb.append(" deviceVerificationEnabled: ").append(toIndentedString(deviceVerificationEnabled)).append("\n"); + sb.append(" requireTwoStepVerification: ").append(toIndentedString(requireTwoStepVerification)).append("\n"); + sb.append(" allowTwoStepVerificationSnooze: ").append(toIndentedString(allowTwoStepVerificationSnooze)).append("\n"); + sb.append(" allowExtendOrgAdminRightsToSelf: ").append(toIndentedString(allowExtendOrgAdminRightsToSelf)).append("\n"); + sb.append(" isManagedByScim: ").append(toIndentedString(isManagedByScim)).append("\n"); sb.append("}"); return sb.toString(); }