From 49eceebf452b8cd7014fe51165d0285464a6954f Mon Sep 17 00:00:00 2001 From: Patrick Cowland <44225864+patrickcping@users.noreply.github.com> Date: Thu, 9 Nov 2023 11:26:38 +0000 Subject: [PATCH] Enhance error handling 202311 (#279) * `agreementmanagement` module * `authorize` module * `credentials` module * `management` module * `mfa` module * `risk` module * `verify` module * base module * changelogs * updated workspace sum file --- CHANGELOG.md | 22 + agreementmanagement/.version | 2 +- agreementmanagement/CHANGELOG.md | 5 + agreementmanagement/README.md | 2 +- agreementmanagement/api/openapi.yaml | 22 + .../api_agreement_revisions_resources.go | 11 + agreementmanagement/configuration.go | 2 +- .../docs/P1ErrorDetailsInnerInnerError.md | 26 + .../generate/pingone-agreementmanagement.yml | 18 + agreementmanagement/go.mod | 2 +- agreementmanagement/go.sum | 4 +- ...odel_p1_error_details_inner_inner_error.go | 36 + authorize/.version | 2 +- authorize/CHANGELOG.md | 5 + authorize/README.md | 2 +- authorize/api/openapi.yaml | 70 + authorize/api_api_servers.go | 55 + authorize/api_policy_decision_management.go | 55 + authorize/configuration.go | 2 +- .../docs/P1ErrorDetailsInnerInnerError.md | 26 + authorize/generate/pingone-authorize.yml | 30 + authorize/go.mod | 2 +- authorize/go.sum | 4 +- ...odel_p1_error_details_inner_inner_error.go | 36 + credentials/.version | 2 +- credentials/CHANGELOG.md | 5 + credentials/README.md | 2 +- credentials/api/openapi.yaml | 251 ++ credentials/api_credential_issuance_rules.go | 99 + credentials/api_credential_issuers.go | 33 + credentials/api_credential_types.go | 55 + credentials/api_digital_wallet_apps.go | 55 + credentials/api_digital_wallets.go | 66 + credentials/api_user_credentials.go | 55 + credentials/configuration.go | 2 +- .../docs/P1ErrorDetailsInnerInnerError.md | 26 + credentials/generate/pingone-credentials.yml | 1307 +++------- credentials/go.mod | 2 +- credentials/go.sum | 4 +- ...odel_p1_error_details_inner_inner_error.go | 36 + go.mod | 2 +- go.sum | 4 +- go.work.sum | 19 +- management/.openapi-generator/FILES | 3 + management/.version | 2 +- management/CHANGELOG.md | 5 + management/README.md | 2 +- management/api/openapi.yaml | 2274 ++++++++++++++++- management/api_active_identity_counts.go | 33 + .../api_agreement_languages_resources.go | 55 + .../api_agreement_revisions_resources.go | 44 + management/api_agreements_resources.go | 55 + management/api_alerting.go | 55 + .../api_application_attribute_mapping.go | 55 + ...api_application_flow_policy_assignments.go | 55 + management/api_application_resource_grants.go | 55 + .../api_application_role_assignments.go | 44 + management/api_application_secret.go | 22 + ..._application_sign_on_policy_assignments.go | 55 + management/api_applications.go | 55 + management/api_audit_activities.go | 33 + .../api_authentications_per_application.go | 11 + management/api_bill_of_materials_bom.go | 22 + management/api_branding_settings.go | 22 + management/api_branding_themes.go | 77 + management/api_capabilities.go | 22 + management/api_certificate_management.go | 291 ++- management/api_custom_domains.go | 55 + management/api_enable_users.go | 22 + management/api_environments.go | 66 + management/api_flow_policies.go | 22 + management/api_form_management.go | 55 + management/api_gateway_credentials.go | 44 + management/api_gateway_instances.go | 22 + management/api_gateway_role_assignments.go | 55 + management/api_gateways.go | 55 + management/api_group_membership.go | 44 + management/api_group_role_assignments.go | 44 + management/api_groups.go | 99 + .../api_identity_provider_attributes.go | 55 + management/api_identity_providers.go | 55 + management/api_images.go | 39 +- management/api_integration_catalog.go | 55 + management/api_key_rotation_policies.go | 55 + .../api_language_localization_status.go | 55 + management/api_languages.go | 55 + management/api_licenses.go | 44 + management/api_linked_accounts.go | 33 + management/api_mfa_pairing_keys.go | 33 + management/api_notifications_policies.go | 55 + management/api_notifications_settings.go | 33 + management/api_notifications_settings_smtp.go | 33 + management/api_notifications_templates.go | 99 + management/api_organizations.go | 22 + management/api_password_policies.go | 65 +- management/api_phone_delivery_settings.go | 55 + management/api_populations.go | 55 + management/api_propagation_mappings.go | 55 + management/api_propagation_plans.go | 55 + management/api_propagation_revisions.go | 33 + management/api_propagation_rules.go | 66 + management/api_propagation_store_metadata.go | 44 + management/api_propagation_stores.go | 66 + management/api_recaptcha_configuration.go | 33 + management/api_resource_attributes.go | 55 + management/api_resource_client_secret.go | 22 + management/api_resource_scopes.go | 55 + management/api_resources.go | 55 + management/api_roles.go | 22 + management/api_schemas.go | 88 + management/api_sessions.go | 33 + management/api_sign_on_policies.go | 55 + management/api_sign_on_policy_actions.go | 55 + management/api_subscriptions_webhooks.go | 55 + management/api_total_identities.go | 11 + management/api_trusted_email_addresses.go | 55 + management/api_trusted_email_domains.go | 77 + management/api_user_accounts.go | 11 + management/api_user_activities.go | 11 + management/api_user_agreement_consents.go | 33 + management/api_user_id_verification.go | 55 + management/api_user_passwords.go | 33 + management/api_user_populations.go | 22 + management/api_user_role_assignments.go | 44 + management/api_users.go | 110 + management/configuration.go | 2 +- .../docs/P1ErrorDetailsInnerInnerError.md | 26 + management/generate/pingone-management.yml | 688 +++++ management/go.mod | 2 +- management/go.sum | 4 +- ...odel_p1_error_details_inner_inner_error.go | 36 + mfa/.version | 2 +- mfa/CHANGELOG.md | 5 + mfa/README.md | 2 +- mfa/api/openapi.yaml | 250 ++ ...ations_application_mfa_push_credentials.go | 55 + mfa/api_device_authentication_policy.go | 55 + mfa/api_enable_users_mfa.go | 22 + mfa/api_fido2_policy.go | 55 + mfa/api_fido_device.go | 44 + mfa/api_fido_policy.go | 55 + mfa/api_mfa_settings.go | 33 + mfa/api_user_mfa_devices.go | 88 + mfa/api_user_mfa_pairing_keys.go | 33 + mfa/configuration.go | 2 +- mfa/docs/P1ErrorDetailsInnerInnerError.md | 26 + mfa/generate/pingone-mfa.yml | 90 + mfa/go.mod | 2 +- mfa/go.sum | 4 +- ...odel_p1_error_details_inner_inner_error.go | 36 + ...odel_p1_error_details_inner_inner_error.go | 38 +- risk/.version | 2 +- risk/CHANGELOG.md | 5 + risk/README.md | 2 +- risk/api/openapi.yaml | 88 + risk/api_risk_advanced_predictors.go | 55 + risk/api_risk_evaluations.go | 33 + risk/api_risk_policies.go | 55 + risk/configuration.go | 2 +- risk/docs/P1ErrorDetailsInnerInnerError.md | 26 + risk/generate/pingone-risk.yml | 36 + risk/go.mod | 2 +- risk/go.sum | 4 +- ...odel_p1_error_details_inner_inner_error.go | 36 + verify/CHANGELOG.md | 2 + verify/api/openapi.yaml | 100 + verify/api_verify_policies.go | 55 + verify/api_voice_phrase_contents.go | 55 + verify/api_voice_phrases.go | 55 + verify/docs/P1ErrorDetailsInnerInnerError.md | 26 + verify/generate/pingone-verify.yml | 40 + verify/go.mod | 2 +- verify/go.sum | 4 +- ...odel_p1_error_details_inner_inner_error.go | 36 + 174 files changed, 9807 insertions(+), 1170 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 60104f42..79c87ade 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,29 @@ # Release (Unreleased) +* `github.com/patrickcping/pingone-go-sdk-v2` : v0.11.0 + * **Enhancement** Added the `ReferencedValues` property to the `P1ErrorDetailsInnerInnerError` object model. [#279](https://github.com/patrickcping/pingone-go-sdk-v2/pull/279) +* `github.com/patrickcping/pingone-go-sdk-v2/agreementmanagement` : [v0.3.0](./agreementmanagement/CHANGELOG.md) + * **Enhancement** Add API error handling for `409` errors. [#279](https://github.com/patrickcping/pingone-go-sdk-v2/pull/279) + * **Enhancement** Added the `ReferencedValues` property to the `P1ErrorDetailsInnerInnerError` object model. [#279](https://github.com/patrickcping/pingone-go-sdk-v2/pull/279) +* `github.com/patrickcping/pingone-go-sdk-v2/authorize` : [v0.4.0](./authorize/CHANGELOG.md) + * **Enhancement** Add API error handling for `409` errors. [#279](https://github.com/patrickcping/pingone-go-sdk-v2/pull/279) + * **Enhancement** Added the `ReferencedValues` property to the `P1ErrorDetailsInnerInnerError` object model. [#279](https://github.com/patrickcping/pingone-go-sdk-v2/pull/279) +* `github.com/patrickcping/pingone-go-sdk-v2/credentials` : [v0.6.0](./credentials/CHANGELOG.md) + * **Enhancement** Add API error handling for `409` errors. [#279](https://github.com/patrickcping/pingone-go-sdk-v2/pull/279) + * **Enhancement** Added the `ReferencedValues` property to the `P1ErrorDetailsInnerInnerError` object model. [#279](https://github.com/patrickcping/pingone-go-sdk-v2/pull/279) +* `github.com/patrickcping/pingone-go-sdk-v2/management` : [v0.32.0](./management/CHANGELOG.md) + * **Enhancement** Add API error handling for `409` errors. [#279](https://github.com/patrickcping/pingone-go-sdk-v2/pull/279) + * **Enhancement** Added the `ReferencedValues` property to the `P1ErrorDetailsInnerInnerError` object model. [#279](https://github.com/patrickcping/pingone-go-sdk-v2/pull/279) +* `github.com/patrickcping/pingone-go-sdk-v2/mfa` : [v0.18.0](./mfa/CHANGELOG.md) + * **Enhancement** Add API error handling for `409` errors. [#279](https://github.com/patrickcping/pingone-go-sdk-v2/pull/279) + * **Enhancement** Added the `ReferencedValues` property to the `P1ErrorDetailsInnerInnerError` object model. [#279](https://github.com/patrickcping/pingone-go-sdk-v2/pull/279) +* `github.com/patrickcping/pingone-go-sdk-v2/risk` : [v0.12.0](./risk/CHANGELOG.md) + * **Enhancement** Add API error handling for `409` errors. [#279](https://github.com/patrickcping/pingone-go-sdk-v2/pull/279) + * **Enhancement** Added the `ReferencedValues` property to the `P1ErrorDetailsInnerInnerError` object model. [#279](https://github.com/patrickcping/pingone-go-sdk-v2/pull/279) * `github.com/patrickcping/pingone-go-sdk-v2/verify` : [v0.4.0](./verify/CHANGELOG.md) * **Enhancement** Added the `InspectionType` property to the `GovernmentIdConfiguration` object model. [#278](https://github.com/patrickcping/pingone-go-sdk-v2/pull/278) + * **Enhancement** Add API error handling for `409` errors. [#279](https://github.com/patrickcping/pingone-go-sdk-v2/pull/279) + * **Enhancement** Added the `ReferencedValues` property to the `P1ErrorDetailsInnerInnerError` object model. [#279](https://github.com/patrickcping/pingone-go-sdk-v2/pull/279) # Release (2023-11-01) diff --git a/agreementmanagement/.version b/agreementmanagement/.version index f4778493..9325c3cc 100644 --- a/agreementmanagement/.version +++ b/agreementmanagement/.version @@ -1 +1 @@ -0.2.2 \ No newline at end of file +0.3.0 \ No newline at end of file diff --git a/agreementmanagement/CHANGELOG.md b/agreementmanagement/CHANGELOG.md index 8324bb53..ad90483d 100644 --- a/agreementmanagement/CHANGELOG.md +++ b/agreementmanagement/CHANGELOG.md @@ -1,3 +1,8 @@ +# v0.3.0 (Unreleased) + +* **Enhancement** Add API error handling for `409` errors. [#279](https://github.com/patrickcping/pingone-go-sdk-v2/pull/279) +* **Enhancement** Added the `ReferencedValues` property to the `P1ErrorDetailsInnerInnerError` object model. [#279](https://github.com/patrickcping/pingone-go-sdk-v2/pull/279) + # v0.2.2 (2023-10-16) * **Note** Updated the default UserAgent string format. [#255](https://github.com/patrickcping/pingone-go-sdk-v2/pull/255) diff --git a/agreementmanagement/README.md b/agreementmanagement/README.md index 6c5efff7..b986b624 100644 --- a/agreementmanagement/README.md +++ b/agreementmanagement/README.md @@ -6,7 +6,7 @@ The PingOne Platform API covering the PingOne Agreement Management service This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. - API version: 2023-06-29 -- Package version: 0.2.2 +- Package version: 0.3.0 - Build package: org.openapitools.codegen.languages.GoClientCodegen ## Installation diff --git a/agreementmanagement/api/openapi.yaml b/agreementmanagement/api/openapi.yaml index c770e161..b056efda 100644 --- a/agreementmanagement/api/openapi.yaml +++ b/agreementmanagement/api/openapi.yaml @@ -89,6 +89,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -136,6 +142,18 @@ components: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "405": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: "Invalid request received. Malformed JSON, malformed HTTP request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -209,6 +227,10 @@ components: maximumValue: description: The maximum value allowed for the request. type: integer + referencedValues: + items: + type: string + type: array type: object P1Error_details_inner: properties: diff --git a/agreementmanagement/api_agreement_revisions_resources.go b/agreementmanagement/api_agreement_revisions_resources.go index e00c4f9b..a95bf02f 100644 --- a/agreementmanagement/api_agreement_revisions_resources.go +++ b/agreementmanagement/api_agreement_revisions_resources.go @@ -181,6 +181,17 @@ func (a *AgreementRevisionsResourcesApiService) internalReadOneAgreementLanguage newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/agreementmanagement/configuration.go b/agreementmanagement/configuration.go index 5344682e..8898ed91 100644 --- a/agreementmanagement/configuration.go +++ b/agreementmanagement/configuration.go @@ -91,7 +91,7 @@ type Configuration struct { func NewConfiguration() *Configuration { cfg := &Configuration{ DefaultHeader: make(map[string]string), - UserAgent: "pingtools PingOne-GOLANG-SDK (agreementmanagement)/0.2.2 go", + UserAgent: "pingtools PingOne-GOLANG-SDK (agreementmanagement)/0.3.0 go", Debug: false, DefaultServerIndex: 0, Servers: ServerConfigurations{ diff --git a/agreementmanagement/docs/P1ErrorDetailsInnerInnerError.md b/agreementmanagement/docs/P1ErrorDetailsInnerInnerError.md index 22b4ead4..4a8d5480 100644 --- a/agreementmanagement/docs/P1ErrorDetailsInnerInnerError.md +++ b/agreementmanagement/docs/P1ErrorDetailsInnerInnerError.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **AllowedPattern** | Pointer to **string** | A regex pattern describing an acceptable input pattern. | [optional] **AllowedValues** | Pointer to **[]string** | A list describing acceptable values. | [optional] **MaximumValue** | Pointer to **int32** | The maximum value allowed for the request. | [optional] +**ReferencedValues** | Pointer to **[]string** | | [optional] ## Methods @@ -154,6 +155,31 @@ SetMaximumValue sets MaximumValue field to given value. HasMaximumValue returns a boolean if a field has been set. +### GetReferencedValues + +`func (o *P1ErrorDetailsInnerInnerError) GetReferencedValues() []string` + +GetReferencedValues returns the ReferencedValues field if non-nil, zero value otherwise. + +### GetReferencedValuesOk + +`func (o *P1ErrorDetailsInnerInnerError) GetReferencedValuesOk() (*[]string, bool)` + +GetReferencedValuesOk returns a tuple with the ReferencedValues field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReferencedValues + +`func (o *P1ErrorDetailsInnerInnerError) SetReferencedValues(v []string)` + +SetReferencedValues sets ReferencedValues field to given value. + +### HasReferencedValues + +`func (o *P1ErrorDetailsInnerInnerError) HasReferencedValues() bool` + +HasReferencedValues returns a boolean if a field has been set. + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/agreementmanagement/generate/pingone-agreementmanagement.yml b/agreementmanagement/generate/pingone-agreementmanagement.yml index f37cbe1c..d0e2d6fc 100644 --- a/agreementmanagement/generate/pingone-agreementmanagement.yml +++ b/agreementmanagement/generate/pingone-agreementmanagement.yml @@ -90,6 +90,10 @@ components: maximumValue: description: The maximum value allowed for the request. type: integer + referencedValues: + type: array + items: + type: string responses: '400': description: Invalid request received. Malformed JSON, malformed HTTP request. @@ -115,6 +119,18 @@ components: application/json: schema: $ref: '#/components/schemas/P1Error' + '405': + description: Invalid request received. Malformed JSON, malformed HTTP request. + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + '409': + description: Conflict. + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' '429': description: Request was rate limited content: @@ -168,6 +184,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': diff --git a/agreementmanagement/go.mod b/agreementmanagement/go.mod index 96dd831e..fe9efded 100644 --- a/agreementmanagement/go.mod +++ b/agreementmanagement/go.mod @@ -2,4 +2,4 @@ module github.com/patrickcping/pingone-go-sdk-v2/agreementmanagement go 1.18 -require golang.org/x/exp v0.0.0-20230905200255-921286631fa9 +require golang.org/x/exp v0.0.0-20231108232855-2478ac86f678 diff --git a/agreementmanagement/go.sum b/agreementmanagement/go.sum index fa6da3f7..696db921 100644 --- a/agreementmanagement/go.sum +++ b/agreementmanagement/go.sum @@ -1,2 +1,2 @@ -golang.org/x/exp v0.0.0-20230905200255-921286631fa9 h1:GoHiUyI/Tp2nVkLI2mCxVkOjsbSXD66ic0XW0js0R9g= -golang.org/x/exp v0.0.0-20230905200255-921286631fa9/go.mod h1:S2oDrQGGwySpoQPVqRShND87VCbxmc6bL1Yd2oYrm6k= +golang.org/x/exp v0.0.0-20231108232855-2478ac86f678 h1:mchzmB1XO2pMaKFRqk/+MV3mgGG96aqaPXaMifQU47w= +golang.org/x/exp v0.0.0-20231108232855-2478ac86f678/go.mod h1:zk2irFbV9DP96SEBUUAy67IdHUaZuSnrz1n472HUCLE= diff --git a/agreementmanagement/model_p1_error_details_inner_inner_error.go b/agreementmanagement/model_p1_error_details_inner_inner_error.go index cd21ac20..c82ffea3 100644 --- a/agreementmanagement/model_p1_error_details_inner_inner_error.go +++ b/agreementmanagement/model_p1_error_details_inner_inner_error.go @@ -29,6 +29,7 @@ type P1ErrorDetailsInnerInnerError struct { AllowedValues []string `json:"allowedValues,omitempty"` // The maximum value allowed for the request. MaximumValue *int32 `json:"maximumValue,omitempty"` + ReferencedValues []string `json:"referencedValues,omitempty"` } // NewP1ErrorDetailsInnerInnerError instantiates a new P1ErrorDetailsInnerInnerError object @@ -208,6 +209,38 @@ func (o *P1ErrorDetailsInnerInnerError) SetMaximumValue(v int32) { o.MaximumValue = &v } +// GetReferencedValues returns the ReferencedValues field value if set, zero value otherwise. +func (o *P1ErrorDetailsInnerInnerError) GetReferencedValues() []string { + if o == nil || IsNil(o.ReferencedValues) { + var ret []string + return ret + } + return o.ReferencedValues +} + +// GetReferencedValuesOk returns a tuple with the ReferencedValues field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P1ErrorDetailsInnerInnerError) GetReferencedValuesOk() ([]string, bool) { + if o == nil || IsNil(o.ReferencedValues) { + return nil, false + } + return o.ReferencedValues, true +} + +// HasReferencedValues returns a boolean if a field has been set. +func (o *P1ErrorDetailsInnerInnerError) HasReferencedValues() bool { + if o != nil && !IsNil(o.ReferencedValues) { + return true + } + + return false +} + +// SetReferencedValues gets a reference to the given []string and assigns it to the ReferencedValues field. +func (o *P1ErrorDetailsInnerInnerError) SetReferencedValues(v []string) { + o.ReferencedValues = v +} + func (o P1ErrorDetailsInnerInnerError) MarshalJSON() ([]byte, error) { toSerialize,err := o.ToMap() if err != nil { @@ -233,6 +266,9 @@ func (o P1ErrorDetailsInnerInnerError) ToMap() (map[string]interface{}, error) { if !IsNil(o.MaximumValue) { toSerialize["maximumValue"] = o.MaximumValue } + if !IsNil(o.ReferencedValues) { + toSerialize["referencedValues"] = o.ReferencedValues + } return toSerialize, nil } diff --git a/authorize/.version b/authorize/.version index a2268e2d..60a2d3e9 100644 --- a/authorize/.version +++ b/authorize/.version @@ -1 +1 @@ -0.3.1 \ No newline at end of file +0.4.0 \ No newline at end of file diff --git a/authorize/CHANGELOG.md b/authorize/CHANGELOG.md index 7e750bb7..f5acbd0e 100644 --- a/authorize/CHANGELOG.md +++ b/authorize/CHANGELOG.md @@ -1,3 +1,8 @@ +# v0.4.0 (Unreleased) + +* **Enhancement** Add API error handling for `409` errors. [#279](https://github.com/patrickcping/pingone-go-sdk-v2/pull/279) +* **Enhancement** Added the `ReferencedValues` property to the `P1ErrorDetailsInnerInnerError` object model. [#279](https://github.com/patrickcping/pingone-go-sdk-v2/pull/279) + # v0.3.1 (2023-10-16) * **Note** Unskip read only attributes when converting API models to maps. [#255](https://github.com/patrickcping/pingone-go-sdk-v2/pull/255) diff --git a/authorize/README.md b/authorize/README.md index 14987a8c..075cd17e 100644 --- a/authorize/README.md +++ b/authorize/README.md @@ -6,7 +6,7 @@ The PingOne Platform API covering the PingOne Authorize service This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. - API version: 2023-06-29 -- Package version: 0.3.1 +- Package version: 0.4.0 - Build package: org.openapitools.codegen.languages.GoClientCodegen ## Installation diff --git a/authorize/api/openapi.yaml b/authorize/api/openapi.yaml index 81d56170..95b83ade 100644 --- a/authorize/api/openapi.yaml +++ b/authorize/api/openapi.yaml @@ -72,6 +72,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -141,6 +147,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -206,6 +218,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -266,6 +284,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -335,6 +359,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -393,6 +423,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -462,6 +498,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -527,6 +569,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -587,6 +635,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -656,6 +710,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -709,6 +769,12 @@ components: schema: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -1246,6 +1312,10 @@ components: maximumValue: description: The maximum value allowed for the request. type: integer + referencedValues: + items: + type: string + type: array type: object P1Error_details_inner: properties: diff --git a/authorize/api_api_servers.go b/authorize/api_api_servers.go index 924ed644..68340385 100644 --- a/authorize/api_api_servers.go +++ b/authorize/api_api_servers.go @@ -188,6 +188,17 @@ func (a *APIServersApiService) internalCreateAPIServerExecute(r ApiCreateAPIServ newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -373,6 +384,17 @@ func (a *APIServersApiService) internalDeleteAPIServerExecute(r ApiDeleteAPIServ newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -547,6 +569,17 @@ func (a *APIServersApiService) internalReadAllAPIServersExecute(r ApiReadAllAPIS newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -734,6 +767,17 @@ func (a *APIServersApiService) internalReadOneAPIServerExecute(r ApiReadOneAPISe newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -929,6 +973,17 @@ func (a *APIServersApiService) internalUpdateAPIServerExecute(r ApiUpdateAPIServ newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/authorize/api_policy_decision_management.go b/authorize/api_policy_decision_management.go index eeab2deb..255ffb42 100644 --- a/authorize/api_policy_decision_management.go +++ b/authorize/api_policy_decision_management.go @@ -188,6 +188,17 @@ func (a *PolicyDecisionManagementApiService) internalCreateDecisionEndpointExecu newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -373,6 +384,17 @@ func (a *PolicyDecisionManagementApiService) internalDeleteDecisionEndpointExecu newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -547,6 +569,17 @@ func (a *PolicyDecisionManagementApiService) internalReadAllDecisionEndpointsExe newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -734,6 +767,17 @@ func (a *PolicyDecisionManagementApiService) internalReadOneDecisionEndpointExec newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -929,6 +973,17 @@ func (a *PolicyDecisionManagementApiService) internalUpdateDecisionEndpointExecu newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/authorize/configuration.go b/authorize/configuration.go index 6779ccdb..abc163a1 100644 --- a/authorize/configuration.go +++ b/authorize/configuration.go @@ -91,7 +91,7 @@ type Configuration struct { func NewConfiguration() *Configuration { cfg := &Configuration{ DefaultHeader: make(map[string]string), - UserAgent: "pingtools PingOne-GOLANG-SDK (authorize)/0.3.1 go", + UserAgent: "pingtools PingOne-GOLANG-SDK (authorize)/0.4.0 go", Debug: false, DefaultServerIndex: 0, Servers: ServerConfigurations{ diff --git a/authorize/docs/P1ErrorDetailsInnerInnerError.md b/authorize/docs/P1ErrorDetailsInnerInnerError.md index 22b4ead4..4a8d5480 100644 --- a/authorize/docs/P1ErrorDetailsInnerInnerError.md +++ b/authorize/docs/P1ErrorDetailsInnerInnerError.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **AllowedPattern** | Pointer to **string** | A regex pattern describing an acceptable input pattern. | [optional] **AllowedValues** | Pointer to **[]string** | A list describing acceptable values. | [optional] **MaximumValue** | Pointer to **int32** | The maximum value allowed for the request. | [optional] +**ReferencedValues** | Pointer to **[]string** | | [optional] ## Methods @@ -154,6 +155,31 @@ SetMaximumValue sets MaximumValue field to given value. HasMaximumValue returns a boolean if a field has been set. +### GetReferencedValues + +`func (o *P1ErrorDetailsInnerInnerError) GetReferencedValues() []string` + +GetReferencedValues returns the ReferencedValues field if non-nil, zero value otherwise. + +### GetReferencedValuesOk + +`func (o *P1ErrorDetailsInnerInnerError) GetReferencedValuesOk() (*[]string, bool)` + +GetReferencedValuesOk returns a tuple with the ReferencedValues field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReferencedValues + +`func (o *P1ErrorDetailsInnerInnerError) SetReferencedValues(v []string)` + +SetReferencedValues sets ReferencedValues field to given value. + +### HasReferencedValues + +`func (o *P1ErrorDetailsInnerInnerError) HasReferencedValues() bool` + +HasReferencedValues returns a boolean if a field has been set. + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/authorize/generate/pingone-authorize.yml b/authorize/generate/pingone-authorize.yml index 97184b24..cdb8ab86 100644 --- a/authorize/generate/pingone-authorize.yml +++ b/authorize/generate/pingone-authorize.yml @@ -264,6 +264,10 @@ components: maximumValue: description: The maximum value allowed for the request. type: integer + referencedValues: + type: array + items: + type: string responses: '400': description: Invalid request received. Malformed JSON, malformed HTTP request. @@ -295,6 +299,12 @@ components: application/json: schema: $ref: '#/components/schemas/P1Error' + '409': + description: Conflict. + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' '429': description: Request was rate limited content: @@ -335,6 +345,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -372,6 +384,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -408,6 +422,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -448,6 +464,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -483,6 +501,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -510,6 +530,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -547,6 +569,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -583,6 +607,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -623,6 +649,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -658,6 +686,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': diff --git a/authorize/go.mod b/authorize/go.mod index 44633f2d..f8b3b813 100644 --- a/authorize/go.mod +++ b/authorize/go.mod @@ -2,4 +2,4 @@ module github.com/patrickcping/pingone-go-sdk-v2/authorize go 1.18 -require golang.org/x/exp v0.0.0-20230905200255-921286631fa9 +require golang.org/x/exp v0.0.0-20231108232855-2478ac86f678 diff --git a/authorize/go.sum b/authorize/go.sum index fa6da3f7..696db921 100644 --- a/authorize/go.sum +++ b/authorize/go.sum @@ -1,2 +1,2 @@ -golang.org/x/exp v0.0.0-20230905200255-921286631fa9 h1:GoHiUyI/Tp2nVkLI2mCxVkOjsbSXD66ic0XW0js0R9g= -golang.org/x/exp v0.0.0-20230905200255-921286631fa9/go.mod h1:S2oDrQGGwySpoQPVqRShND87VCbxmc6bL1Yd2oYrm6k= +golang.org/x/exp v0.0.0-20231108232855-2478ac86f678 h1:mchzmB1XO2pMaKFRqk/+MV3mgGG96aqaPXaMifQU47w= +golang.org/x/exp v0.0.0-20231108232855-2478ac86f678/go.mod h1:zk2irFbV9DP96SEBUUAy67IdHUaZuSnrz1n472HUCLE= diff --git a/authorize/model_p1_error_details_inner_inner_error.go b/authorize/model_p1_error_details_inner_inner_error.go index f6300136..e2cbf4f2 100644 --- a/authorize/model_p1_error_details_inner_inner_error.go +++ b/authorize/model_p1_error_details_inner_inner_error.go @@ -29,6 +29,7 @@ type P1ErrorDetailsInnerInnerError struct { AllowedValues []string `json:"allowedValues,omitempty"` // The maximum value allowed for the request. MaximumValue *int32 `json:"maximumValue,omitempty"` + ReferencedValues []string `json:"referencedValues,omitempty"` } // NewP1ErrorDetailsInnerInnerError instantiates a new P1ErrorDetailsInnerInnerError object @@ -208,6 +209,38 @@ func (o *P1ErrorDetailsInnerInnerError) SetMaximumValue(v int32) { o.MaximumValue = &v } +// GetReferencedValues returns the ReferencedValues field value if set, zero value otherwise. +func (o *P1ErrorDetailsInnerInnerError) GetReferencedValues() []string { + if o == nil || IsNil(o.ReferencedValues) { + var ret []string + return ret + } + return o.ReferencedValues +} + +// GetReferencedValuesOk returns a tuple with the ReferencedValues field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P1ErrorDetailsInnerInnerError) GetReferencedValuesOk() ([]string, bool) { + if o == nil || IsNil(o.ReferencedValues) { + return nil, false + } + return o.ReferencedValues, true +} + +// HasReferencedValues returns a boolean if a field has been set. +func (o *P1ErrorDetailsInnerInnerError) HasReferencedValues() bool { + if o != nil && !IsNil(o.ReferencedValues) { + return true + } + + return false +} + +// SetReferencedValues gets a reference to the given []string and assigns it to the ReferencedValues field. +func (o *P1ErrorDetailsInnerInnerError) SetReferencedValues(v []string) { + o.ReferencedValues = v +} + func (o P1ErrorDetailsInnerInnerError) MarshalJSON() ([]byte, error) { toSerialize,err := o.ToMap() if err != nil { @@ -233,6 +266,9 @@ func (o P1ErrorDetailsInnerInnerError) ToMap() (map[string]interface{}, error) { if !IsNil(o.MaximumValue) { toSerialize["maximumValue"] = o.MaximumValue } + if !IsNil(o.ReferencedValues) { + toSerialize["referencedValues"] = o.ReferencedValues + } return toSerialize, nil } diff --git a/credentials/.version b/credentials/.version index 79a2734b..09a3acfa 100644 --- a/credentials/.version +++ b/credentials/.version @@ -1 +1 @@ -0.5.0 \ No newline at end of file +0.6.0 \ No newline at end of file diff --git a/credentials/CHANGELOG.md b/credentials/CHANGELOG.md index 3b938a45..7189b620 100644 --- a/credentials/CHANGELOG.md +++ b/credentials/CHANGELOG.md @@ -1,3 +1,8 @@ +# v0.6.0 (Unreleased) + +* **Enhancement** Add API error handling for `409` errors. [#279](https://github.com/patrickcping/pingone-go-sdk-v2/pull/279) +* **Enhancement** Added the `ReferencedValues` property to the `P1ErrorDetailsInnerInnerError` object model. [#279](https://github.com/patrickcping/pingone-go-sdk-v2/pull/279) + # v0.5.0 (2023-11-01) * **Enhancement** Added the `Default` property to the `CredentialTypeMetaDataFieldsInner` object model. [#275](https://github.com/patrickcping/pingone-go-sdk-v2/pull/275) diff --git a/credentials/README.md b/credentials/README.md index f1e8007e..60d57c91 100644 --- a/credentials/README.md +++ b/credentials/README.md @@ -6,7 +6,7 @@ The PingOne Platform API covering the PingOne Credentials service This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. - API version: 2023-06-29 -- Package version: 0.5.0 +- Package version: 0.6.0 - Build package: org.openapitools.codegen.languages.GoClientCodegen ## Installation diff --git a/credentials/api/openapi.yaml b/credentials/api/openapi.yaml index a4eae976..989670da 100644 --- a/credentials/api/openapi.yaml +++ b/credentials/api/openapi.yaml @@ -75,6 +75,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -137,6 +143,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -199,6 +211,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -257,6 +275,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -319,6 +343,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -384,6 +414,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -444,6 +480,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -513,6 +555,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -578,6 +626,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -647,6 +701,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -719,6 +779,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -786,6 +852,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -862,6 +934,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -934,6 +1012,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -1018,6 +1102,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -1090,6 +1180,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -1162,6 +1258,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -1220,6 +1322,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -1282,6 +1390,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -1347,6 +1461,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -1407,6 +1527,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -1476,6 +1602,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -1541,6 +1673,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -1610,6 +1748,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -1682,6 +1826,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -1749,6 +1899,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -1825,6 +1981,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -1897,6 +2059,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -1962,6 +2130,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -2031,6 +2205,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -2103,6 +2283,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -2179,6 +2365,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -2251,6 +2443,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -2273,6 +2471,55 @@ paths: tags: - User Credentials components: + responses: + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: "Invalid request received. Malformed JSON, malformed HTTP request." + "401": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Request failed due to authorization issue. + "403": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Request failed due to authorization issue. + "404": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Not found. + "405": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: "Invalid request received. Malformed JSON, malformed HTTP request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. + "429": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Request was rate limited + "500": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Uncaught error occurred. Platform outage schemas: LinksHATEOAS: additionalProperties: true @@ -4501,6 +4748,10 @@ components: maximumValue: description: The maximum value allowed for the request. type: integer + referencedValues: + items: + type: string + type: array type: object P1Error_details_inner: properties: diff --git a/credentials/api_credential_issuance_rules.go b/credentials/api_credential_issuance_rules.go index 5a7d0016..8f039fc8 100644 --- a/credentials/api_credential_issuance_rules.go +++ b/credentials/api_credential_issuance_rules.go @@ -194,6 +194,17 @@ func (a *CredentialIssuanceRulesApiService) internalApplyCredentialIssuanceRuleS newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -389,6 +400,17 @@ func (a *CredentialIssuanceRulesApiService) internalCreateCredentialIssuanceRule newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -578,6 +600,17 @@ func (a *CredentialIssuanceRulesApiService) internalDeleteCredentialIssuanceRule newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -756,6 +789,17 @@ func (a *CredentialIssuanceRulesApiService) internalReadAllCredentialIssuanceRul newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -947,6 +991,17 @@ func (a *CredentialIssuanceRulesApiService) internalReadCredentialIssuanceRuleSt newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -1138,6 +1193,17 @@ func (a *CredentialIssuanceRulesApiService) internalReadCredentialIssuanceRuleUs newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -1329,6 +1395,17 @@ func (a *CredentialIssuanceRulesApiService) internalReadCredentialIssuanceRuleUs newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -1520,6 +1597,17 @@ func (a *CredentialIssuanceRulesApiService) internalReadOneCredentialIssuanceRul newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -1719,6 +1807,17 @@ func (a *CredentialIssuanceRulesApiService) internalUpdateCredentialIssuanceRule newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/credentials/api_credential_issuers.go b/credentials/api_credential_issuers.go index bcc1134d..2a6c7841 100644 --- a/credentials/api_credential_issuers.go +++ b/credentials/api_credential_issuers.go @@ -177,6 +177,17 @@ func (a *CredentialIssuersApiService) internalCreateCredentialIssuerProfileExecu newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -360,6 +371,17 @@ func (a *CredentialIssuersApiService) internalReadCredentialIssuerProfileExecute newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -551,6 +573,17 @@ func (a *CredentialIssuersApiService) internalUpdateCredentialIssuerProfileExecu newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/credentials/api_credential_types.go b/credentials/api_credential_types.go index d68be10b..d5d6341e 100644 --- a/credentials/api_credential_types.go +++ b/credentials/api_credential_types.go @@ -177,6 +177,17 @@ func (a *CredentialTypesApiService) internalCreateCredentialTypeExecute(r ApiCre newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -362,6 +373,17 @@ func (a *CredentialTypesApiService) internalDeleteCredentialTypeExecute(r ApiDel newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -536,6 +558,17 @@ func (a *CredentialTypesApiService) internalReadAllCredentialTypesExecute(r ApiR newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -723,6 +756,17 @@ func (a *CredentialTypesApiService) internalReadOneCredentialTypeExecute(r ApiRe newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -918,6 +962,17 @@ func (a *CredentialTypesApiService) internalUpdateCredentialTypeExecute(r ApiUpd newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/credentials/api_digital_wallet_apps.go b/credentials/api_digital_wallet_apps.go index 512d3a1b..a1f93d52 100644 --- a/credentials/api_digital_wallet_apps.go +++ b/credentials/api_digital_wallet_apps.go @@ -177,6 +177,17 @@ func (a *DigitalWalletAppsApiService) internalCreateDigitalWalletAppExecute(r Ap newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -362,6 +373,17 @@ func (a *DigitalWalletAppsApiService) internalDeleteDigitalWalletAppExecute(r Ap newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -536,6 +558,17 @@ func (a *DigitalWalletAppsApiService) internalReadAllDigitalWalletAppsExecute(r newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -723,6 +756,17 @@ func (a *DigitalWalletAppsApiService) internalReadOneDigitalWalletAppExecute(r A newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -918,6 +962,17 @@ func (a *DigitalWalletAppsApiService) internalUpdateDigitalWalletAppExecute(r Ap newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/credentials/api_digital_wallets.go b/credentials/api_digital_wallets.go index a1c62334..2c37598e 100644 --- a/credentials/api_digital_wallets.go +++ b/credentials/api_digital_wallets.go @@ -181,6 +181,17 @@ func (a *DigitalWalletsApiService) internalCreateDigitalWalletExecute(r ApiCreat newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -370,6 +381,17 @@ func (a *DigitalWalletsApiService) internalDeleteDigitalWalletExecute(r ApiDelet newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -548,6 +570,17 @@ func (a *DigitalWalletsApiService) internalReadAllDigitalWalletsExecute(r ApiRea newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -739,6 +772,17 @@ func (a *DigitalWalletsApiService) internalReadOneDigitalWalletExecute(r ApiRead newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -930,6 +974,17 @@ func (a *DigitalWalletsApiService) internalReadOneDigitalWalletCredentialExecute newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -1129,6 +1184,17 @@ func (a *DigitalWalletsApiService) internalUpdateDigitalWalletExecute(r ApiUpdat newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/credentials/api_user_credentials.go b/credentials/api_user_credentials.go index dd1474a3..0c8814c8 100644 --- a/credentials/api_user_credentials.go +++ b/credentials/api_user_credentials.go @@ -181,6 +181,17 @@ func (a *UserCredentialsApiService) internalCreateAUserCredentialExecute(r ApiCr newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -368,6 +379,17 @@ func (a *UserCredentialsApiService) internalReadAllUserCredentialsExecute(r ApiR newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -559,6 +581,17 @@ func (a *UserCredentialsApiService) internalReadOneUserCredentialExecute(r ApiRe newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -750,6 +783,17 @@ func (a *UserCredentialsApiService) internalReadOneUserCredentialWalletExecute(r newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -949,6 +993,17 @@ func (a *UserCredentialsApiService) internalUpdateUserCredentialExecute(r ApiUpd newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/credentials/configuration.go b/credentials/configuration.go index 5d00e34d..6e90a9d0 100644 --- a/credentials/configuration.go +++ b/credentials/configuration.go @@ -91,7 +91,7 @@ type Configuration struct { func NewConfiguration() *Configuration { cfg := &Configuration{ DefaultHeader: make(map[string]string), - UserAgent: "pingtools PingOne-GOLANG-SDK (credentials)/0.5.0 go", + UserAgent: "pingtools PingOne-GOLANG-SDK (credentials)/0.6.0 go", Debug: false, DefaultServerIndex: 0, Servers: ServerConfigurations{ diff --git a/credentials/docs/P1ErrorDetailsInnerInnerError.md b/credentials/docs/P1ErrorDetailsInnerInnerError.md index 22b4ead4..4a8d5480 100644 --- a/credentials/docs/P1ErrorDetailsInnerInnerError.md +++ b/credentials/docs/P1ErrorDetailsInnerInnerError.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **AllowedPattern** | Pointer to **string** | A regex pattern describing an acceptable input pattern. | [optional] **AllowedValues** | Pointer to **[]string** | A list describing acceptable values. | [optional] **MaximumValue** | Pointer to **int32** | The maximum value allowed for the request. | [optional] +**ReferencedValues** | Pointer to **[]string** | | [optional] ## Methods @@ -154,6 +155,31 @@ SetMaximumValue sets MaximumValue field to given value. HasMaximumValue returns a boolean if a field has been set. +### GetReferencedValues + +`func (o *P1ErrorDetailsInnerInnerError) GetReferencedValues() []string` + +GetReferencedValues returns the ReferencedValues field if non-nil, zero value otherwise. + +### GetReferencedValuesOk + +`func (o *P1ErrorDetailsInnerInnerError) GetReferencedValuesOk() (*[]string, bool)` + +GetReferencedValuesOk returns a tuple with the ReferencedValues field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReferencedValues + +`func (o *P1ErrorDetailsInnerInnerError) SetReferencedValues(v []string)` + +SetReferencedValues sets ReferencedValues field to given value. + +### HasReferencedValues + +`func (o *P1ErrorDetailsInnerInnerError) HasReferencedValues() bool` + +HasReferencedValues returns a boolean if a field has been set. + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/credentials/generate/pingone-credentials.yml b/credentials/generate/pingone-credentials.yml index 07c3a6d8..43f9e8dd 100644 --- a/credentials/generate/pingone-credentials.yml +++ b/credentials/generate/pingone-credentials.yml @@ -911,6 +911,59 @@ components: maximumValue: description: The maximum value allowed for the request. type: integer + referencedValues: + type: array + items: + type: string + responses: + '400': + description: Invalid request received. Malformed JSON, malformed HTTP request. + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + '401': + description: Request failed due to authorization issue. + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + '403': + description: Request failed due to authorization issue. + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + '404': + description: Not found. + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + '405': + description: Invalid request received. Malformed JSON, malformed HTTP request. + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + '409': + description: Conflict. + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + '429': + description: Request was rate limited + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + '500': + description: Uncaught error occurred. Platform outage + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' security: - bearer: [] tags: @@ -940,41 +993,19 @@ paths: required: true responses: '400': - description: Invalid request received. Malformed JSON, malformed HTTP request. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/400' '401': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/401' '403': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/403' '404': - description: Not found. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': - description: Request was rate limited - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/429' '500': - description: Uncaught error occurred. Platform outage - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/500' '201': description: Successful response content: @@ -994,41 +1025,19 @@ paths: required: true responses: '400': - description: Invalid request received. Malformed JSON, malformed HTTP request. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/400' '401': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/401' '403': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/403' '404': - description: Not found. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': - description: Request was rate limited - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/429' '500': - description: Uncaught error occurred. Platform outage - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/500' '200': description: Successful response content: @@ -1053,41 +1062,19 @@ paths: required: true responses: '400': - description: Invalid request received. Malformed JSON, malformed HTTP request. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/400' '401': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/401' '403': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/403' '404': - description: Not found. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': - description: Request was rate limited - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/429' '500': - description: Uncaught error occurred. Platform outage - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/500' '200': description: Successful response content: @@ -1113,41 +1100,19 @@ paths: required: true responses: '400': - description: Invalid request received. Malformed JSON, malformed HTTP request. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/400' '401': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/401' '403': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/403' '404': - description: Not found. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': - description: Request was rate limited - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/429' '500': - description: Uncaught error occurred. Platform outage - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/500' '201': description: Successful response content: @@ -1167,41 +1132,19 @@ paths: required: true responses: '400': - description: Invalid request received. Malformed JSON, malformed HTTP request. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/400' '401': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/401' '403': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/403' '404': - description: Not found. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': - description: Request was rate limited - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/429' '500': - description: Uncaught error occurred. Platform outage - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/500' '200': description: Successful response content: @@ -1227,41 +1170,19 @@ paths: required: true responses: '400': - description: Invalid request received. Malformed JSON, malformed HTTP request. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/400' '401': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/401' '403': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/403' '404': - description: Not found. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': - description: Request was rate limited - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/429' '500': - description: Uncaught error occurred. Platform outage - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/500' '200': description: Successful response content: @@ -1291,41 +1212,19 @@ paths: required: true responses: '400': - description: Invalid request received. Malformed JSON, malformed HTTP request. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/400' '401': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/401' '403': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/403' '404': - description: Not found. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': - description: Request was rate limited - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/429' '500': - description: Uncaught error occurred. Platform outage - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/500' '200': description: Successful response content: @@ -1350,41 +1249,19 @@ paths: required: true responses: '400': - description: Invalid request received. Malformed JSON, malformed HTTP request. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/400' '401': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/401' '403': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/403' '404': - description: Not found. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': - description: Request was rate limited - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/429' '500': - description: Uncaught error occurred. Platform outage - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/500' '204': description: Successful response /environments/{environmentID}/credentialTypes/{credentialTypeID}/issuanceRules: @@ -1411,41 +1288,19 @@ paths: required: true responses: '400': - description: Invalid request received. Malformed JSON, malformed HTTP request. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/400' '401': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/401' '403': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/403' '404': - description: Not found. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': - description: Request was rate limited - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/429' '500': - description: Uncaught error occurred. Platform outage - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/500' '201': description: Successful response content: @@ -1470,41 +1325,19 @@ paths: required: true responses: '400': - description: Invalid request received. Malformed JSON, malformed HTTP request. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/400' '401': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/401' '403': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/403' '404': - description: Not found. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': - description: Request was rate limited - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/429' '500': - description: Uncaught error occurred. Platform outage - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/500' '200': description: Successful response content: @@ -1535,41 +1368,19 @@ paths: required: true responses: '400': - description: Invalid request received. Malformed JSON, malformed HTTP request. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/400' '401': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/401' '403': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/403' '404': - description: Not found. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': - description: Request was rate limited - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/429' '500': - description: Uncaught error occurred. Platform outage - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/500' '200': description: Successful response content: @@ -1604,41 +1415,19 @@ paths: required: true responses: '400': - description: Invalid request received. Malformed JSON, malformed HTTP request. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/400' '401': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/401' '403': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/403' '404': - description: Not found. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': - description: Request was rate limited - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/429' '500': - description: Uncaught error occurred. Platform outage - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/500' '200': description: Successful response content: @@ -1668,41 +1457,19 @@ paths: required: true responses: '400': - description: Invalid request received. Malformed JSON, malformed HTTP request. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/400' '401': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/401' '403': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/403' '404': - description: Not found. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': - description: Request was rate limited - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/429' '500': - description: Uncaught error occurred. Platform outage - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/500' '204': description: Successful response /environments/{environmentID}/credentialTypes/{credentialTypeID}/issuanceRules/{credentialIssuanceRuleID}/stagedChanges: @@ -1729,41 +1496,19 @@ paths: required: true responses: '400': - description: Invalid request received. Malformed JSON, malformed HTTP request. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/400' '401': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/401' '403': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/403' '404': - description: Not found. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': - description: Request was rate limited - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/429' '500': - description: Uncaught error occurred. Platform outage - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/500' '200': description: Successful response content: @@ -1803,41 +1548,19 @@ paths: required: true responses: '400': - description: Invalid request received. Malformed JSON, malformed HTTP request. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/400' '401': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/401' '403': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/403' '404': - description: Not found. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': - description: Request was rate limited - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/429' '500': - description: Uncaught error occurred. Platform outage - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/500' '200': description: Successful response content: @@ -1868,41 +1591,19 @@ paths: required: true responses: '400': - description: Invalid request received. Malformed JSON, malformed HTTP request. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/400' '401': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/401' '403': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/403' '404': - description: Not found. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': - description: Request was rate limited - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/429' '500': - description: Uncaught error occurred. Platform outage - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/500' '200': description: Successful response content: @@ -1933,41 +1634,19 @@ paths: required: true responses: '400': - description: Invalid request received. Malformed JSON, malformed HTTP request. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/400' '401': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/401' '403': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/403' '404': - description: Not found. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': - description: Request was rate limited - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/429' '500': - description: Uncaught error occurred. Platform outage - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/500' '200': description: Successful response content: @@ -1993,41 +1672,19 @@ paths: required: true responses: '400': - description: Invalid request received. Malformed JSON, malformed HTTP request. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/400' '401': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/401' '403': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/403' '404': - description: Not found. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': - description: Request was rate limited - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/429' '500': - description: Uncaught error occurred. Platform outage - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/500' '201': description: Successful response content: @@ -2047,41 +1704,19 @@ paths: required: true responses: '400': - description: Invalid request received. Malformed JSON, malformed HTTP request. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/400' '401': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/401' '403': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/403' '404': - description: Not found. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': - description: Request was rate limited - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/429' '500': - description: Uncaught error occurred. Platform outage - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/500' '200': description: Successful response content: @@ -2107,41 +1742,19 @@ paths: required: true responses: '400': - description: Invalid request received. Malformed JSON, malformed HTTP request. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/400' '401': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/401' '403': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/403' '404': - description: Not found. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': - description: Request was rate limited - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/429' '500': - description: Uncaught error occurred. Platform outage - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/500' '200': description: Successful response content: @@ -2171,41 +1784,19 @@ paths: required: true responses: '400': - description: Invalid request received. Malformed JSON, malformed HTTP request. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/400' '401': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/401' '403': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/403' '404': - description: Not found. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': - description: Request was rate limited - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/429' '500': - description: Uncaught error occurred. Platform outage - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/500' '200': description: Successful response content: @@ -2230,41 +1821,19 @@ paths: required: true responses: '400': - description: Invalid request received. Malformed JSON, malformed HTTP request. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/400' '401': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/401' '403': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/403' '404': - description: Not found. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': - description: Request was rate limited - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/429' '500': - description: Uncaught error occurred. Platform outage - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/500' '204': description: Successful response /environments/{environmentID}/users/{userID}/digitalWallets: @@ -2291,41 +1860,19 @@ paths: required: true responses: '400': - description: Invalid request received. Malformed JSON, malformed HTTP request. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/400' '401': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/401' '403': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/403' '404': - description: Not found. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': - description: Request was rate limited - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/429' '500': - description: Uncaught error occurred. Platform outage - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/500' '201': description: Successful response content: @@ -2350,41 +1897,19 @@ paths: required: true responses: '400': - description: Invalid request received. Malformed JSON, malformed HTTP request. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/400' '401': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/401' '403': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/403' '404': - description: Not found. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': - description: Request was rate limited - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/429' '500': - description: Uncaught error occurred. Platform outage - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/500' '200': description: Successful response content: @@ -2415,41 +1940,19 @@ paths: required: true responses: '400': - description: Invalid request received. Malformed JSON, malformed HTTP request. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/400' '401': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/401' '403': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/403' '404': - description: Not found. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': - description: Request was rate limited - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/429' '500': - description: Uncaught error occurred. Platform outage - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/500' '200': description: Successful response content: @@ -2484,41 +1987,19 @@ paths: required: true responses: '400': - description: Invalid request received. Malformed JSON, malformed HTTP request. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/400' '401': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/401' '403': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/403' '404': - description: Not found. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': - description: Request was rate limited - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/429' '500': - description: Uncaught error occurred. Platform outage - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/500' '200': description: Successful response content: @@ -2548,41 +2029,19 @@ paths: required: true responses: '400': - description: Invalid request received. Malformed JSON, malformed HTTP request. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/400' '401': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/401' '403': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/403' '404': - description: Not found. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': - description: Request was rate limited - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/429' '500': - description: Uncaught error occurred. Platform outage - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/500' '200': description: Successful response /environments/{environmentID}/users/{userID}/digitalWallets/{digitalWalletID}/provisionedCredentials: @@ -2609,41 +2068,19 @@ paths: required: true responses: '400': - description: Invalid request received. Malformed JSON, malformed HTTP request. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/400' '401': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/401' '403': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/403' '404': - description: Not found. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': - description: Request was rate limited - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/429' '500': - description: Uncaught error occurred. Platform outage - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/500' '200': description: Successful response content: @@ -2674,41 +2111,19 @@ paths: required: true responses: '400': - description: Invalid request received. Malformed JSON, malformed HTTP request. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/400' '401': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/401' '403': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/403' '404': - description: Not found. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': - description: Request was rate limited - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/429' '500': - description: Uncaught error occurred. Platform outage - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/500' '201': description: Successful response content: @@ -2733,41 +2148,19 @@ paths: required: true responses: '400': - description: Invalid request received. Malformed JSON, malformed HTTP request. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/400' '401': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/401' '403': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/403' '404': - description: Not found. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': - description: Request was rate limited - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/429' '500': - description: Uncaught error occurred. Platform outage - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/500' '200': description: Successful response content: @@ -2798,41 +2191,19 @@ paths: required: true responses: '400': - description: Invalid request received. Malformed JSON, malformed HTTP request. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/400' '401': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/401' '403': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/403' '404': - description: Not found. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': - description: Request was rate limited - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/429' '500': - description: Uncaught error occurred. Platform outage - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/500' '200': description: Successful response content: @@ -2867,41 +2238,19 @@ paths: required: true responses: '400': - description: Invalid request received. Malformed JSON, malformed HTTP request. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/400' '401': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/401' '403': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/403' '404': - description: Not found. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': - description: Request was rate limited - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/429' '500': - description: Uncaught error occurred. Platform outage - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/500' '200': description: Successful response content: @@ -2932,41 +2281,19 @@ paths: required: true responses: '400': - description: Invalid request received. Malformed JSON, malformed HTTP request. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/400' '401': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/401' '403': - description: Request failed due to authorization issue. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/403' '404': - description: Not found. - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': - description: Request was rate limited - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/429' '500': - description: Uncaught error occurred. Platform outage - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' + $ref: '#/components/responses/500' '200': description: Successful response content: diff --git a/credentials/go.mod b/credentials/go.mod index bb2a45d1..478c377f 100644 --- a/credentials/go.mod +++ b/credentials/go.mod @@ -4,7 +4,7 @@ go 1.18 require ( github.com/stretchr/testify v1.8.4 - golang.org/x/exp v0.0.0-20231006140011-7918f672742d + golang.org/x/exp v0.0.0-20231108232855-2478ac86f678 ) require ( diff --git a/credentials/go.sum b/credentials/go.sum index 2ec18e08..bcf43462 100644 --- a/credentials/go.sum +++ b/credentials/go.sum @@ -4,8 +4,8 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= -golang.org/x/exp v0.0.0-20231006140011-7918f672742d h1:jtJma62tbqLibJ5sFQz8bKtEM8rJBtfilJ2qTU199MI= -golang.org/x/exp v0.0.0-20231006140011-7918f672742d/go.mod h1:ldy0pHrwJyGW56pPQzzkH36rKxoZW1tw7ZJpeKx+hdo= +golang.org/x/exp v0.0.0-20231108232855-2478ac86f678 h1:mchzmB1XO2pMaKFRqk/+MV3mgGG96aqaPXaMifQU47w= +golang.org/x/exp v0.0.0-20231108232855-2478ac86f678/go.mod h1:zk2irFbV9DP96SEBUUAy67IdHUaZuSnrz1n472HUCLE= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= diff --git a/credentials/model_p1_error_details_inner_inner_error.go b/credentials/model_p1_error_details_inner_inner_error.go index cccc67db..12623de3 100644 --- a/credentials/model_p1_error_details_inner_inner_error.go +++ b/credentials/model_p1_error_details_inner_inner_error.go @@ -29,6 +29,7 @@ type P1ErrorDetailsInnerInnerError struct { AllowedValues []string `json:"allowedValues,omitempty"` // The maximum value allowed for the request. MaximumValue *int32 `json:"maximumValue,omitempty"` + ReferencedValues []string `json:"referencedValues,omitempty"` } // NewP1ErrorDetailsInnerInnerError instantiates a new P1ErrorDetailsInnerInnerError object @@ -208,6 +209,38 @@ func (o *P1ErrorDetailsInnerInnerError) SetMaximumValue(v int32) { o.MaximumValue = &v } +// GetReferencedValues returns the ReferencedValues field value if set, zero value otherwise. +func (o *P1ErrorDetailsInnerInnerError) GetReferencedValues() []string { + if o == nil || IsNil(o.ReferencedValues) { + var ret []string + return ret + } + return o.ReferencedValues +} + +// GetReferencedValuesOk returns a tuple with the ReferencedValues field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P1ErrorDetailsInnerInnerError) GetReferencedValuesOk() ([]string, bool) { + if o == nil || IsNil(o.ReferencedValues) { + return nil, false + } + return o.ReferencedValues, true +} + +// HasReferencedValues returns a boolean if a field has been set. +func (o *P1ErrorDetailsInnerInnerError) HasReferencedValues() bool { + if o != nil && !IsNil(o.ReferencedValues) { + return true + } + + return false +} + +// SetReferencedValues gets a reference to the given []string and assigns it to the ReferencedValues field. +func (o *P1ErrorDetailsInnerInnerError) SetReferencedValues(v []string) { + o.ReferencedValues = v +} + func (o P1ErrorDetailsInnerInnerError) MarshalJSON() ([]byte, error) { toSerialize,err := o.ToMap() if err != nil { @@ -233,6 +266,9 @@ func (o P1ErrorDetailsInnerInnerError) ToMap() (map[string]interface{}, error) { if !IsNil(o.MaximumValue) { toSerialize["maximumValue"] = o.MaximumValue } + if !IsNil(o.ReferencedValues) { + toSerialize["referencedValues"] = o.ReferencedValues + } return toSerialize, nil } diff --git a/go.mod b/go.mod index b8d65f33..66037d70 100644 --- a/go.mod +++ b/go.mod @@ -10,7 +10,7 @@ require ( github.com/patrickcping/pingone-go-sdk-v2/mfa v0.17.0 github.com/patrickcping/pingone-go-sdk-v2/risk v0.11.0 github.com/patrickcping/pingone-go-sdk-v2/verify v0.3.1 - golang.org/x/exp v0.0.0-20231006140011-7918f672742d + golang.org/x/exp v0.0.0-20231108232855-2478ac86f678 golang.org/x/oauth2 v0.13.0 ) diff --git a/go.sum b/go.sum index c076734e..1c45cbb7 100644 --- a/go.sum +++ b/go.sum @@ -19,8 +19,8 @@ github.com/patrickcping/pingone-go-sdk-v2/risk v0.11.0/go.mod h1:2YdTb2u6VAjF2rt github.com/patrickcping/pingone-go-sdk-v2/verify v0.3.1 h1:ifgVLnEib6IJsB+AUv1kCse1miHj3jX/IXwkd/tnSSI= github.com/patrickcping/pingone-go-sdk-v2/verify v0.3.1/go.mod h1:B2WgIRRjIxnIj75z9n0xNRArjD7Do+2h1ePv0+7ZI6Q= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/exp v0.0.0-20231006140011-7918f672742d h1:jtJma62tbqLibJ5sFQz8bKtEM8rJBtfilJ2qTU199MI= -golang.org/x/exp v0.0.0-20231006140011-7918f672742d/go.mod h1:ldy0pHrwJyGW56pPQzzkH36rKxoZW1tw7ZJpeKx+hdo= +golang.org/x/exp v0.0.0-20231108232855-2478ac86f678 h1:mchzmB1XO2pMaKFRqk/+MV3mgGG96aqaPXaMifQU47w= +golang.org/x/exp v0.0.0-20231108232855-2478ac86f678/go.mod h1:zk2irFbV9DP96SEBUUAy67IdHUaZuSnrz1n472HUCLE= golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= golang.org/x/net v0.17.0 h1:pVaXccu2ozPjCXewfr1S7xza/zcXTity9cCdXQYSjIM= golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= diff --git a/go.work.sum b/go.work.sum index 04f86fd5..49301e75 100644 --- a/go.work.sum +++ b/go.work.sum @@ -375,10 +375,8 @@ github.com/otiai10/mint v1.3.1 h1:BCmzIS3n71sGfHB5NMNDB3lHYPz8fWSkCAErHed//qc= github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= github.com/pascaldekloe/goe v0.1.0/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= github.com/patrickcping/pingone-go-sdk-v2/authorize v0.1.1/go.mod h1:IMQjhejQfTfZkQNhbFq6VxRshTzJIpOEQO5x5w+n/nA= -github.com/patrickcping/pingone-go-sdk-v2/credentials v0.5.0/go.mod h1:Sc72310xxeWRk5p96uNkzZBXiJ75irc+cgEh17hR/I0= github.com/patrickcping/pingone-go-sdk-v2/management v0.14.0/go.mod h1:JK1xIupfpiOONjRMuoc9e7uBEodx6ciYhhc0iF3azI0= github.com/patrickcping/pingone-go-sdk-v2/management v0.17.0/go.mod h1:icHZVY/j9s2wl4oSdAy/JDJKrd5BYZ1io+XDhoI7sR4= -github.com/patrickcping/pingone-go-sdk-v2/management v0.31.0/go.mod h1:yahwEbs0wIzBwL5K6+Y+KSWYeq3QU7avZyj718VvGm8= github.com/patrickcping/pingone-go-sdk-v2/mfa v0.7.2/go.mod h1:XvlVDdfz69zPFi549g2OZaUC8/wnRUMgrra9MDQ8Hhg= github.com/patrickcping/pingone-go-sdk-v2/risk v0.3.1/go.mod h1:v6ANb988xfh9wvXs6WOAAosUwtogYpKmrrH88AW8Clo= github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= @@ -547,6 +545,8 @@ golang.org/x/crypto v0.13.0 h1:mvySKfSWJ+UKUii46M40LOvyWfN0s2U+46/jDd0e6Ck= golang.org/x/crypto v0.13.0/go.mod h1:y6Z2r+Rw4iayiXXAIxJIDAJ1zMW4yaTpebo8fPOliYc= golang.org/x/crypto v0.14.0 h1:wBqGXzWJW6m1XrIKlAH0Hs1JJ7+9KBwnIO8v66Q9cHc= golang.org/x/crypto v0.14.0/go.mod h1:MVFd36DqK4CsrnJYDkBA3VC4m2GkXAM0PvzMCn4JQf4= +golang.org/x/crypto v0.15.0 h1:frVn1TEaCEaZcn3Tmd7Y2b5KKPaZ+I32Q2OA3kYp5TA= +golang.org/x/crypto v0.15.0/go.mod h1:4ChreQoLWfG3xLDer1WdlH5NdlQ3+mwnQq1YTKY+72g= golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6 h1:QE6XYQK6naiK1EPAe1g/ILLxN5RBoH5xkJk3CqlMI/Y= golang.org/x/exp v0.0.0-20200331195152-e8c3332aa8e5/go.mod h1:4M0jN8W1tt0AVLNr8HDosyJCDCDuyL9N9+3m7wDWgKw= golang.org/x/exp v0.0.0-20230321023759-10a507213a29/go.mod h1:CxIveKay+FTh1D0yPZemJVgC/95VzuuOLq5Qi4xnoYc= @@ -563,6 +563,8 @@ golang.org/x/mod v0.5.0/go.mod h1:5OXOZSfqPIIbmVBIIKWRFfZjPR0E5r58TLhUjH0a2Ro= golang.org/x/mod v0.9.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/mod v0.10.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/mod v0.11.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= +golang.org/x/mod v0.14.0 h1:dGoOF9QVLYng8IHTm7BAyWqCqSheQ5pYWGhzW00YJr0= +golang.org/x/mod v0.14.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181023162649-9b4f9f5ad519/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181220203305-927f97764cc3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -588,6 +590,8 @@ golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= golang.org/x/net v0.12.0/go.mod h1:zEVYFnQC7m/vmpQFELhcD1EWkZlX69l4oqgmer6hfKA= golang.org/x/net v0.14.0/go.mod h1:PpSgVXXLK0OxS0F31C1/tv6XNguvCrnXIDrFMspZIUI= golang.org/x/net v0.16.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= +golang.org/x/net v0.18.0 h1:mIYleuAkSbHh0tCv7RvjL3F6ZVbLjq4+R7zbOn3Kokg= +golang.org/x/net v0.18.0/go.mod h1:/czyP5RqHAH4odGYxBJ1qz0+CE5WZ+2j1YgoEo8F2jQ= golang.org/x/oauth2 v0.0.0-20210220000619-9bb904979d93/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20210313182246-cd4f82c27b84/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20210323180902-22b0adad7558/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= @@ -606,6 +610,8 @@ golang.org/x/oauth2 v0.7.0/go.mod h1:hPLQkd9LyjfXTiRohC/41GhcFqxisoUQ99sCUOHO9x4 golang.org/x/sync v0.0.0-20190412183630-56d357773e84/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220513210516-0976fa681c29/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.2.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.5.0 h1:60k92dhOjHxJkrqnwsfl8KuaHbn/5dl0lUPUklKo3qE= +golang.org/x/sync v0.5.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -653,6 +659,8 @@ golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.9.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.10.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.11.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.14.0 h1:Vz7Qs629MkJkGyHxUlRHizWJRG2j8fbQKjELVSNhy7Q= +golang.org/x/sys v0.14.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 h1:JGgROgKl9N8DuW20oFS5gxc+lE67/N3FcwmBPMe7ArY= golang.org/x/term v0.1.0 h1:g6Z6vPFA9dYBAF7DWcH6sCcOntplXsDKcliusYijMlw= @@ -676,11 +684,15 @@ golang.org/x/term v0.12.0 h1:/ZfYdc3zq+q02Rv9vGqTeSItdzZTSNDmfTi0mBAuidU= golang.org/x/term v0.12.0/go.mod h1:owVbMEjm3cBLCHdkQu9b1opXd4ETQWc3BhuQGKgXgvU= golang.org/x/term v0.13.0 h1:bb+I9cTfFazGW51MZqBVmZy7+JEJMouUHTUSKVQLBek= golang.org/x/term v0.13.0/go.mod h1:LTmsnFJwVN6bCy1rVCoS+qHT1HhALEFxKncY3WNNh4U= +golang.org/x/term v0.14.0 h1:LGK9IlZ8T9jvdy6cTdfKUCltatMFOehAQo9SRC46UQ8= +golang.org/x/term v0.14.0/go.mod h1:TySc+nGkYR6qt8km8wUhuFRTVSMIX3XPR58y2lC8vww= golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ= golang.org/x/text v0.5.0 h1:OLmvp0KP+FVG99Ct/qFiL/Fhk4zp4QQnZ7b2U+5piUM= golang.org/x/text v0.11.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/text v0.12.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= +golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= +golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20191024005414-555d28b269f0 h1:/5xXl8Y5W96D+TtHSlonuFqGHIWVuyCkGJLwGh9JJFs= golang.org/x/time v0.0.0-20200416051211-89c76fbcd5d1/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= @@ -714,6 +726,9 @@ golang.org/x/tools v0.11.0/go.mod h1:anzJrxPjNtfgiYQYirP2CPGzGLxrH2u2QBhn6Bf3qY8 golang.org/x/tools v0.11.1/go.mod h1:anzJrxPjNtfgiYQYirP2CPGzGLxrH2u2QBhn6Bf3qY8= golang.org/x/tools v0.12.0/go.mod h1:Sc0INKfu04TlqNoRA1hgpFZbhYXHPr4V5DzpSBTPqQM= golang.org/x/tools v0.12.1-0.20230815132531-74c255bcf846/go.mod h1:Sc0INKfu04TlqNoRA1hgpFZbhYXHPr4V5DzpSBTPqQM= +golang.org/x/tools v0.13.0/go.mod h1:HvlwmtVNQAhOuCjW7xxvovg8wbNq7LwfXh/k7wXUl58= +golang.org/x/tools v0.15.0 h1:zdAyfUGbYmuVokhzVmghFl2ZJh5QhcfebBgmVPFYA+8= +golang.org/x/tools v0.15.0/go.mod h1:hpksKq4dtpQWS1uQ61JkdqWM3LscIS6Slf+VVkm+wQk= golang.org/x/xerrors v0.0.0-20220411194840-2f41105eb62f/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20220517211312-f3a8303e98df h1:5Pf6pFKu98ODmgnpvkJ3kFUOQGGLIzLIkbzUHp47618= golang.org/x/xerrors v0.0.0-20220517211312-f3a8303e98df/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= diff --git a/management/.openapi-generator/FILES b/management/.openapi-generator/FILES index b4fb37c2..a0615bb1 100644 --- a/management/.openapi-generator/FILES +++ b/management/.openapi-generator/FILES @@ -18,6 +18,7 @@ api_bill_of_materials_bom.go api_branding_settings.go api_branding_themes.go api_capabilities.go +api_certificate_management.go api_custom_domains.go api_enable_users.go api_environments.go @@ -32,6 +33,7 @@ api_group_role_assignments.go api_groups.go api_identity_provider_attributes.go api_identity_providers.go +api_images.go api_integration_catalog.go api_key_rotation_policies.go api_language_localization_status.go @@ -44,6 +46,7 @@ api_notifications_settings.go api_notifications_settings_smtp.go api_notifications_templates.go api_organizations.go +api_password_policies.go api_phone_delivery_settings.go api_populations.go api_propagation_mappings.go diff --git a/management/.version b/management/.version index f0e1a438..8a0d6d40 100644 --- a/management/.version +++ b/management/.version @@ -1 +1 @@ -0.31.0 \ No newline at end of file +0.32.0 \ No newline at end of file diff --git a/management/CHANGELOG.md b/management/CHANGELOG.md index 2aa5a151..364fd120 100644 --- a/management/CHANGELOG.md +++ b/management/CHANGELOG.md @@ -1,3 +1,8 @@ +# v0.32.0 (Unreleased) + +* **Enhancement** Add API error handling for `409` errors. [#279](https://github.com/patrickcping/pingone-go-sdk-v2/pull/279) +* **Enhancement** Added the `ReferencedValues` property to the `P1ErrorDetailsInnerInnerError` object model. [#279](https://github.com/patrickcping/pingone-go-sdk-v2/pull/279) + # v0.31.0 (2023-11-01) * **Enhancement** Added `DisplayName`, `SourceId` and `SourceType` object attributes to the `Group` object model. [#264](https://github.com/patrickcping/pingone-go-sdk-v2/pull/264) diff --git a/management/README.md b/management/README.md index 030213ec..7d6c901d 100644 --- a/management/README.md +++ b/management/README.md @@ -6,7 +6,7 @@ The PingOne Platform API covering the base and SSO services (otherwise known as This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. - API version: 2023-06-29 -- Package version: 0.31.0 +- Package version: 0.32.0 - Build package: org.openapitools.codegen.languages.GoClientCodegen ## Installation diff --git a/management/api/openapi.yaml b/management/api/openapi.yaml index 89b1e463..8e0ef0e2 100644 --- a/management/api/openapi.yaml +++ b/management/api/openapi.yaml @@ -174,6 +174,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -235,6 +241,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -293,6 +305,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -346,6 +364,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -408,6 +432,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -489,6 +519,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -576,6 +612,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -632,6 +674,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -701,6 +749,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -766,6 +820,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -826,6 +886,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -895,6 +961,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -960,6 +1032,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -1036,6 +1114,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -1108,6 +1192,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -1175,6 +1265,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -1251,6 +1347,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -1323,6 +1425,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -1406,6 +1514,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -1485,6 +1599,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -1559,6 +1679,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -1617,6 +1743,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -1686,6 +1818,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -1751,6 +1889,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -1811,6 +1955,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -1880,6 +2030,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -1938,6 +2094,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -2007,6 +2169,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -2072,6 +2240,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -2132,6 +2306,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -2201,6 +2381,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -2266,6 +2452,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -2337,6 +2529,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -2400,6 +2598,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -2476,6 +2680,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -2548,6 +2758,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -2615,6 +2831,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -2691,6 +2913,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -2756,6 +2984,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -2832,6 +3066,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -2904,6 +3144,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -2971,6 +3217,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -3047,6 +3299,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -3112,6 +3370,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -3188,6 +3452,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -3260,6 +3530,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -3327,6 +3603,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -3403,6 +3685,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -3468,6 +3756,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -3544,6 +3838,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -3616,6 +3916,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -3683,6 +3989,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -3748,6 +4060,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -3824,6 +4142,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -3896,6 +4220,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -3963,6 +4293,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -4039,6 +4375,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -4104,6 +4446,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -4173,6 +4521,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -4235,6 +4589,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -4322,6 +4682,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -4378,6 +4744,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -4440,6 +4812,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -4498,6 +4876,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -4560,6 +4944,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -4617,6 +5007,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -4681,6 +5077,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -4746,6 +5148,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -4804,6 +5212,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -4873,6 +5287,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -4938,6 +5358,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -4998,6 +5424,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -5067,6 +5499,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -5125,6 +5563,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -5205,6 +5649,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -5270,6 +5720,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -5337,6 +5793,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -5414,6 +5876,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -5479,6 +5947,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -5552,6 +6026,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -5626,6 +6106,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -5684,6 +6170,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -5753,6 +6245,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -5818,6 +6316,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -5878,6 +6382,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -5947,6 +6457,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -6005,6 +6521,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -6082,6 +6604,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -6147,6 +6675,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -6207,6 +6741,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -6272,6 +6812,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -6347,6 +6893,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -6418,6 +6970,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -6490,6 +7048,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -6564,6 +7128,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -6620,6 +7190,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -6689,6 +7265,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -6754,6 +7336,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -6814,6 +7402,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -6898,6 +7492,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -6956,6 +7556,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -7025,6 +7631,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -7090,6 +7702,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -7150,6 +7768,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -7215,6 +7839,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -7280,6 +7910,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -7345,6 +7981,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -7417,6 +8059,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -7484,6 +8132,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -7570,6 +8224,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -7635,6 +8295,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -7711,6 +8377,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -7774,6 +8446,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -7832,6 +8510,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -7901,6 +8585,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -7966,6 +8656,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -8026,6 +8722,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -8095,6 +8797,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -8160,6 +8868,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -8231,6 +8945,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -8303,6 +9023,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -8370,6 +9096,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -8435,6 +9167,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -8507,71 +9245,83 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. - "429": + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. + "429": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Request was rate limited + "500": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Uncaught error occurred. Platform outage + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/GatewayInstance' + description: Successful response + summary: READ One Gateway Instance + tags: + - Gateway Instances + /environments/{environmentID}/gateways/{gatewayID}/roleAssignments: + get: + operationId: readGatewayRoleAssignments + parameters: + - explode: false + in: path + name: environmentID + required: true + schema: + type: string + style: simple + - explode: false + in: path + name: gatewayID + required: true + schema: + type: string + style: simple + responses: + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: "Invalid request received. Malformed JSON, malformed HTTP\ + \ request." + "401": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Request failed due to authorization issue. + "403": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Request failed due to authorization issue. + "404": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Not found. + "409": content: application/json: schema: $ref: '#/components/schemas/P1Error' - description: Request was rate limited - "500": - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' - description: Uncaught error occurred. Platform outage - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/GatewayInstance' - description: Successful response - summary: READ One Gateway Instance - tags: - - Gateway Instances - /environments/{environmentID}/gateways/{gatewayID}/roleAssignments: - get: - operationId: readGatewayRoleAssignments - parameters: - - explode: false - in: path - name: environmentID - required: true - schema: - type: string - style: simple - - explode: false - in: path - name: gatewayID - required: true - schema: - type: string - style: simple - responses: - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' - description: "Invalid request received. Malformed JSON, malformed HTTP\ - \ request." - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' - description: Request failed due to authorization issue. - "403": - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' - description: Request failed due to authorization issue. - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' - description: Not found. + description: Conflict. "429": content: application/json: @@ -8648,6 +9398,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -8720,6 +9476,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -8787,6 +9549,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -8869,6 +9637,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -8953,6 +9727,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -9022,6 +9802,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -9087,6 +9873,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -9155,6 +9947,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -9224,6 +10022,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -9289,6 +10093,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -9365,6 +10175,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -9437,6 +10253,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -9504,6 +10326,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -9569,6 +10397,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -9645,6 +10479,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -9717,6 +10557,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -9784,6 +10630,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -9848,6 +10700,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -9911,6 +10769,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -9981,6 +10845,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -10044,6 +10914,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -10112,6 +10988,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -10182,6 +11064,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -10249,6 +11137,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -10317,6 +11211,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -10373,6 +11273,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -10442,6 +11348,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -10507,6 +11419,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -10567,6 +11485,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -10636,6 +11560,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -10714,6 +11644,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -10792,6 +11728,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -10867,6 +11809,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -10942,6 +11890,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -11022,6 +11976,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -11092,6 +12052,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -11170,6 +12136,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -11240,6 +12212,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -11307,6 +12285,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -11385,6 +12369,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -11465,6 +12455,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -11535,6 +12531,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -11606,6 +12608,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -11684,6 +12692,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -11760,6 +12774,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -11830,6 +12850,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -11884,6 +12910,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -11953,6 +12985,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -12018,6 +13056,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -12078,6 +13122,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -12147,6 +13197,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -12212,6 +13268,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -12288,6 +13350,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -12360,6 +13428,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -12427,6 +13501,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -12503,6 +13583,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -12590,6 +13676,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -12655,6 +13747,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -12715,6 +13813,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -12772,6 +13876,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -12834,6 +13944,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -12896,6 +14012,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -12965,6 +14087,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -13034,6 +14162,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -13090,6 +14224,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -13159,6 +14299,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -13224,6 +14370,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -13284,6 +14436,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -13353,6 +14511,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -13418,6 +14582,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -13494,6 +14664,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -13566,6 +14742,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -13633,6 +14815,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -13709,6 +14897,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -13783,6 +14977,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -13848,6 +15048,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -13921,6 +15127,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -13981,6 +15193,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -14058,6 +15276,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -14134,6 +15358,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -14206,6 +15436,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -14273,6 +15509,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -14349,6 +15591,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -14407,6 +15655,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -14464,6 +15718,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -14526,6 +15786,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -14584,6 +15850,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -14637,6 +15909,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -14699,6 +15977,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -14757,6 +16041,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -14826,6 +16116,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -14891,6 +16187,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -14951,6 +16253,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -15020,6 +16328,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -15078,6 +16392,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -15140,6 +16460,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -15205,6 +16531,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -15265,6 +16597,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -15334,64 +16672,76 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. - "429": + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. + "429": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Request was rate limited + "500": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Uncaught error occurred. Platform outage + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/NotificationsPolicy' + description: Successful response + summary: UPDATE Notifications Policy + tags: + - Notifications Policies + /environments/{environmentID}/passwordPolicies: + get: + operationId: readAllPasswordPolicies + parameters: + - explode: false + in: path + name: environmentID + required: true + schema: + type: string + style: simple + responses: + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: "Invalid request received. Malformed JSON, malformed HTTP\ + \ request." + "401": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Request failed due to authorization issue. + "403": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Request failed due to authorization issue. + "404": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Not found. + "409": content: application/json: schema: $ref: '#/components/schemas/P1Error' - description: Request was rate limited - "500": - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' - description: Uncaught error occurred. Platform outage - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/NotificationsPolicy' - description: Successful response - summary: UPDATE Notifications Policy - tags: - - Notifications Policies - /environments/{environmentID}/passwordPolicies: - get: - operationId: readAllPasswordPolicies - parameters: - - explode: false - in: path - name: environmentID - required: true - schema: - type: string - style: simple - responses: - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' - description: "Invalid request received. Malformed JSON, malformed HTTP\ - \ request." - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' - description: Request failed due to authorization issue. - "403": - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' - description: Request failed due to authorization issue. - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/P1Error' - description: Not found. + description: Conflict. "429": content: application/json: @@ -15462,6 +16812,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -15527,6 +16883,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -15587,6 +16949,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -15656,6 +17024,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -15744,6 +17118,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -15814,6 +17194,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -15879,6 +17265,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -15939,6 +17331,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -16008,6 +17406,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -16066,6 +17470,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -16119,6 +17529,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -16188,6 +17604,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -16246,6 +17668,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -16315,6 +17743,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -16380,6 +17814,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -16440,6 +17880,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -16509,6 +17955,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -16574,6 +18026,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -16650,6 +18108,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -16722,6 +18186,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -16789,6 +18259,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -16865,6 +18341,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -16930,6 +18412,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -17001,6 +18489,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -17066,6 +18560,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -17142,6 +18642,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -17214,6 +18720,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -17281,6 +18793,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -17357,6 +18875,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -17415,6 +18939,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -17480,6 +19010,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -17545,6 +19081,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -17621,6 +19163,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -17693,6 +19241,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -17760,6 +19314,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -17836,6 +19396,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -17912,6 +19478,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -17970,6 +19542,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -18039,6 +19617,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -18104,6 +19688,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -18164,6 +19754,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -18233,6 +19829,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -18298,6 +19900,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -18374,6 +19982,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -18446,6 +20060,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -18513,6 +20133,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -18589,6 +20215,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -18647,6 +20279,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -18716,6 +20354,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -18781,6 +20425,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -18841,6 +20491,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -18910,6 +20566,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -18968,6 +20630,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -19037,6 +20705,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -19102,6 +20776,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -19162,6 +20842,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -19231,6 +20917,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -19296,6 +20988,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -19365,6 +21063,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -19430,6 +21134,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -19493,6 +21203,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -19575,6 +21291,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -19655,6 +21377,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -19720,6 +21448,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -19788,6 +21522,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -19857,6 +21597,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -19935,6 +21681,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -20004,6 +21756,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -20068,6 +21826,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -20137,6 +21901,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -20199,6 +21969,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -20267,6 +22043,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -20364,6 +22146,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -20440,6 +22228,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -20512,6 +22306,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -20587,6 +22387,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -20652,6 +22458,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -20721,6 +22533,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -20785,6 +22603,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -20854,6 +22678,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -20920,6 +22750,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -20989,6 +22825,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -21055,6 +22897,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -21132,6 +22980,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -21195,6 +23049,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -21264,6 +23124,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -21328,6 +23194,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -21412,6 +23284,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -21489,6 +23367,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -21552,6 +23436,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -21628,6 +23518,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -21700,6 +23596,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -21767,6 +23669,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -21831,6 +23739,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -21899,6 +23813,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -21968,6 +23888,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -22034,6 +23960,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -22110,6 +24042,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -22172,6 +24110,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -22241,6 +24185,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -22324,6 +24274,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -22386,6 +24342,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -22455,6 +24417,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -22521,6 +24489,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -22578,6 +24552,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -22636,6 +24616,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -22693,6 +24679,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -22767,6 +24759,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -22832,6 +24830,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -22897,6 +24901,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -22966,6 +24976,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -23055,6 +25071,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -23103,6 +25125,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -23161,6 +25189,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -23214,6 +25248,12 @@ components: schema: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -35647,6 +37687,10 @@ components: maximumValue: description: The maximum value allowed for the request. type: integer + referencedValues: + items: + type: string + type: array type: object P1Error_details_inner: properties: diff --git a/management/api_active_identity_counts.go b/management/api_active_identity_counts.go index 00c46759..328cabf5 100644 --- a/management/api_active_identity_counts.go +++ b/management/api_active_identity_counts.go @@ -194,6 +194,17 @@ func (a *ActiveIdentityCountsApiService) internalEnvironmentsEnvironmentIDActive newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -402,6 +413,17 @@ func (a *ActiveIdentityCountsApiService) internalEnvironmentsEnvironmentIDMetric newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -605,6 +627,17 @@ func (a *ActiveIdentityCountsApiService) internalReadActiveIdentityCountExecute( newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_agreement_languages_resources.go b/management/api_agreement_languages_resources.go index ec329b8b..7f78abb6 100644 --- a/management/api_agreement_languages_resources.go +++ b/management/api_agreement_languages_resources.go @@ -192,6 +192,17 @@ func (a *AgreementLanguagesResourcesApiService) internalCreateAgreementLanguageE newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -381,6 +392,17 @@ func (a *AgreementLanguagesResourcesApiService) internalDeleteAgreementLanguageE newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -559,6 +581,17 @@ func (a *AgreementLanguagesResourcesApiService) internalReadAllAgreementLanguage newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -750,6 +783,17 @@ func (a *AgreementLanguagesResourcesApiService) internalReadOneAgreementLanguage newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -949,6 +993,17 @@ func (a *AgreementLanguagesResourcesApiService) internalUpdateAgreementLanguageE newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_agreement_revisions_resources.go b/management/api_agreement_revisions_resources.go index fbd9aeea..4cb0d457 100644 --- a/management/api_agreement_revisions_resources.go +++ b/management/api_agreement_revisions_resources.go @@ -196,6 +196,17 @@ func (a *AgreementRevisionsResourcesApiService) internalCreateAgreementLanguageR newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -389,6 +400,17 @@ func (a *AgreementRevisionsResourcesApiService) internalDeleteAgreementLanguageR newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -571,6 +593,17 @@ func (a *AgreementRevisionsResourcesApiService) internalReadAllAgreementLanguage newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -766,6 +799,17 @@ func (a *AgreementRevisionsResourcesApiService) internalReadOneAgreementLanguage newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_agreements_resources.go b/management/api_agreements_resources.go index 0180726d..3c288133 100644 --- a/management/api_agreements_resources.go +++ b/management/api_agreements_resources.go @@ -188,6 +188,17 @@ func (a *AgreementsResourcesApiService) internalCreateAgreementExecute(r ApiCrea newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -373,6 +384,17 @@ func (a *AgreementsResourcesApiService) internalDeleteAgreementExecute(r ApiDele newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -547,6 +569,17 @@ func (a *AgreementsResourcesApiService) internalReadAllAgreementsExecute(r ApiRe newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -734,6 +767,17 @@ func (a *AgreementsResourcesApiService) internalReadOneAgreementExecute(r ApiRea newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -929,6 +973,17 @@ func (a *AgreementsResourcesApiService) internalUpdateAgreementExecute(r ApiUpda newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_alerting.go b/management/api_alerting.go index 8d1ca0ac..29f75999 100644 --- a/management/api_alerting.go +++ b/management/api_alerting.go @@ -188,6 +188,17 @@ func (a *AlertingApiService) internalCreateAlertChannelExecute(r ApiCreateAlertC newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -373,6 +384,17 @@ func (a *AlertingApiService) internalDeleteAlertChannelExecute(r ApiDeleteAlertC newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -547,6 +569,17 @@ func (a *AlertingApiService) internalReadAllAlertChannelsExecute(r ApiReadAllAle newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -734,6 +767,17 @@ func (a *AlertingApiService) internalReadOneAlertChannelExecute(r ApiReadOneAler newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -929,6 +973,17 @@ func (a *AlertingApiService) internalUpdateAlertChannelExecute(r ApiUpdateAlertC newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_application_attribute_mapping.go b/management/api_application_attribute_mapping.go index 57650f2d..f90997cf 100644 --- a/management/api_application_attribute_mapping.go +++ b/management/api_application_attribute_mapping.go @@ -192,6 +192,17 @@ func (a *ApplicationAttributeMappingApiService) internalCreateApplicationAttribu newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -381,6 +392,17 @@ func (a *ApplicationAttributeMappingApiService) internalDeleteApplicationAttribu newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -559,6 +581,17 @@ func (a *ApplicationAttributeMappingApiService) internalReadAllApplicationAttrib newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -750,6 +783,17 @@ func (a *ApplicationAttributeMappingApiService) internalReadOneApplicationAttrib newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -949,6 +993,17 @@ func (a *ApplicationAttributeMappingApiService) internalUpdateApplicationAttribu newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_application_flow_policy_assignments.go b/management/api_application_flow_policy_assignments.go index 3ab47f79..e9643ff4 100644 --- a/management/api_application_flow_policy_assignments.go +++ b/management/api_application_flow_policy_assignments.go @@ -192,6 +192,17 @@ func (a *ApplicationFlowPolicyAssignmentsApiService) internalCreateFlowPolicyAss newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -381,6 +392,17 @@ func (a *ApplicationFlowPolicyAssignmentsApiService) internalDeleteFlowPolicyAss newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -559,6 +581,17 @@ func (a *ApplicationFlowPolicyAssignmentsApiService) internalReadAllFlowPolicyAs newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -750,6 +783,17 @@ func (a *ApplicationFlowPolicyAssignmentsApiService) internalReadOneFlowPolicyAs newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -949,6 +993,17 @@ func (a *ApplicationFlowPolicyAssignmentsApiService) internalUpdateFlowPolicyAss newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_application_resource_grants.go b/management/api_application_resource_grants.go index f1838d35..c5d4da77 100644 --- a/management/api_application_resource_grants.go +++ b/management/api_application_resource_grants.go @@ -192,6 +192,17 @@ func (a *ApplicationResourceGrantsApiService) internalCreateApplicationGrantExec newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -381,6 +392,17 @@ func (a *ApplicationResourceGrantsApiService) internalDeleteApplicationGrantExec newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -559,6 +581,17 @@ func (a *ApplicationResourceGrantsApiService) internalReadAllApplicationGrantsEx newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -750,6 +783,17 @@ func (a *ApplicationResourceGrantsApiService) internalReadOneApplicationGrantExe newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -949,6 +993,17 @@ func (a *ApplicationResourceGrantsApiService) internalUpdateApplicationGrantExec newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_application_role_assignments.go b/management/api_application_role_assignments.go index 391c66a1..1d0b249e 100644 --- a/management/api_application_role_assignments.go +++ b/management/api_application_role_assignments.go @@ -192,6 +192,17 @@ func (a *ApplicationRoleAssignmentsApiService) internalCreateApplicationRoleAssi newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -381,6 +392,17 @@ func (a *ApplicationRoleAssignmentsApiService) internalDeleteApplicationRoleAssi newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -559,6 +581,17 @@ func (a *ApplicationRoleAssignmentsApiService) internalReadApplicationRoleAssign newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -750,6 +783,17 @@ func (a *ApplicationRoleAssignmentsApiService) internalReadOneApplicationRoleAss newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_application_secret.go b/management/api_application_secret.go index fe5840c5..5ac2575a 100644 --- a/management/api_application_secret.go +++ b/management/api_application_secret.go @@ -173,6 +173,17 @@ func (a *ApplicationSecretApiService) internalReadApplicationSecretExecute(r Api newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -369,6 +380,17 @@ func (a *ApplicationSecretApiService) internalUpdateApplicationSecretExecute(r A newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_application_sign_on_policy_assignments.go b/management/api_application_sign_on_policy_assignments.go index 9215b1d7..acd0593c 100644 --- a/management/api_application_sign_on_policy_assignments.go +++ b/management/api_application_sign_on_policy_assignments.go @@ -192,6 +192,17 @@ func (a *ApplicationSignOnPolicyAssignmentsApiService) internalCreateSignOnPolic newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -381,6 +392,17 @@ func (a *ApplicationSignOnPolicyAssignmentsApiService) internalDeleteSignOnPolic newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -559,6 +581,17 @@ func (a *ApplicationSignOnPolicyAssignmentsApiService) internalReadAllSignOnPoli newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -750,6 +783,17 @@ func (a *ApplicationSignOnPolicyAssignmentsApiService) internalReadOneSignOnPoli newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -949,6 +993,17 @@ func (a *ApplicationSignOnPolicyAssignmentsApiService) internalUpdateSignOnPolic newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_applications.go b/management/api_applications.go index 0608a541..0e7762b6 100644 --- a/management/api_applications.go +++ b/management/api_applications.go @@ -188,6 +188,17 @@ func (a *ApplicationsApiService) internalCreateApplicationExecute(r ApiCreateApp newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -373,6 +384,17 @@ func (a *ApplicationsApiService) internalDeleteApplicationExecute(r ApiDeleteApp newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -547,6 +569,17 @@ func (a *ApplicationsApiService) internalReadAllApplicationsExecute(r ApiReadAll newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -734,6 +767,17 @@ func (a *ApplicationsApiService) internalReadOneApplicationExecute(r ApiReadOneA newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -929,6 +973,17 @@ func (a *ApplicationsApiService) internalUpdateApplicationExecute(r ApiUpdateApp newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_audit_activities.go b/management/api_audit_activities.go index dc7cd389..dea06a4d 100644 --- a/management/api_audit_activities.go +++ b/management/api_audit_activities.go @@ -171,6 +171,17 @@ func (a *AuditActivitiesApiService) internalEnvironmentsEnvironmentIDActivitiesA newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -352,6 +363,17 @@ func (a *AuditActivitiesApiService) internalEnvironmentsEnvironmentIDActivitiesG newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -543,6 +565,17 @@ func (a *AuditActivitiesApiService) internalEnvironmentsEnvironmentIDActivitiesP newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_authentications_per_application.go b/management/api_authentications_per_application.go index 36912b89..9c6b0550 100644 --- a/management/api_authentications_per_application.go +++ b/management/api_authentications_per_application.go @@ -203,6 +203,17 @@ func (a *AuthenticationsPerApplicationApiService) internalEnvironmentsEnvironmen newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_bill_of_materials_bom.go b/management/api_bill_of_materials_bom.go index a79848f2..42de0fc2 100644 --- a/management/api_bill_of_materials_bom.go +++ b/management/api_bill_of_materials_bom.go @@ -169,6 +169,17 @@ func (a *BillOfMaterialsBOMApiService) internalReadOneBillOfMaterialsExecute(r A newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -360,6 +371,17 @@ func (a *BillOfMaterialsBOMApiService) internalUpdateBillOfMaterialsExecute(r Ap newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_branding_settings.go b/management/api_branding_settings.go index bf36a282..cd2fbc70 100644 --- a/management/api_branding_settings.go +++ b/management/api_branding_settings.go @@ -169,6 +169,17 @@ func (a *BrandingSettingsApiService) internalReadBrandingSettingsExecute(r ApiRe newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -360,6 +371,17 @@ func (a *BrandingSettingsApiService) internalUpdateBrandingSettingsExecute(r Api newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_branding_themes.go b/management/api_branding_themes.go index 17a22d71..27ff07a1 100644 --- a/management/api_branding_themes.go +++ b/management/api_branding_themes.go @@ -188,6 +188,17 @@ func (a *BrandingThemesApiService) internalCreateBrandingThemeExecute(r ApiCreat newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -373,6 +384,17 @@ func (a *BrandingThemesApiService) internalDeleteBrandingThemeExecute(r ApiDelet newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -551,6 +573,17 @@ func (a *BrandingThemesApiService) internalReadBrandingThemeDefaultExecute(r Api newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -734,6 +767,17 @@ func (a *BrandingThemesApiService) internalReadBrandingThemesExecute(r ApiReadBr newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -921,6 +965,17 @@ func (a *BrandingThemesApiService) internalReadOneBrandingThemeExecute(r ApiRead newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -1116,6 +1171,17 @@ func (a *BrandingThemesApiService) internalUpdateBrandingThemeExecute(r ApiUpdat newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -1311,6 +1377,17 @@ func (a *BrandingThemesApiService) internalUpdateBrandingThemeDefaultExecute(r A newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_capabilities.go b/management/api_capabilities.go index 8adf0b80..03a4e6c1 100644 --- a/management/api_capabilities.go +++ b/management/api_capabilities.go @@ -167,6 +167,17 @@ func (a *CapabilitiesApiService) internalEnvironmentsEnvironmentIDCapabilitiesGe newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -339,6 +350,17 @@ func (a *CapabilitiesApiService) internalOrganizationsOrganizationIDCapabilities newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_certificate_management.go b/management/api_certificate_management.go index 4e5d3c71..f610369e 100644 --- a/management/api_certificate_management.go +++ b/management/api_certificate_management.go @@ -74,7 +74,7 @@ func (a *CertificateManagementApiService) CreateCertificateFromFileExecute(r Api ) response, err = processResponse( - func() (interface{}, *http.Response, error) { + func() (any, *http.Response, error) { return r.ApiService.internalCreateCertificateFromFileExecute(r) }, &localVarReturnValue, @@ -215,6 +215,17 @@ func (a *CertificateManagementApiService) internalCreateCertificateFromFileExecu newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -318,7 +329,7 @@ func (a *CertificateManagementApiService) CreateKeyExecute(r ApiCreateKeyRequest ) response, err = processResponse( - func() (interface{}, *http.Response, error) { + func() (any, *http.Response, error) { return r.ApiService.internalCreateKeyExecute(r) }, &localVarReturnValue, @@ -481,6 +492,17 @@ func (a *CertificateManagementApiService) internalCreateKeyExecute(r ApiCreateKe newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -554,7 +576,7 @@ func (a *CertificateManagementApiService) DeleteCertificateExecute(r ApiDeleteCe ) response, err = processResponse( - func() (interface{}, *http.Response, error) { + func() (any, *http.Response, error) { resp, err := r.ApiService.internalDeleteCertificateExecute(r) return nil, resp, err }, @@ -666,6 +688,17 @@ func (a *CertificateManagementApiService) internalDeleteCertificateExecute(r Api newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -730,7 +763,7 @@ func (a *CertificateManagementApiService) DeleteKeyExecute(r ApiDeleteKeyRequest ) response, err = processResponse( - func() (interface{}, *http.Response, error) { + func() (any, *http.Response, error) { resp, err := r.ApiService.internalDeleteKeyExecute(r) return nil, resp, err }, @@ -842,6 +875,17 @@ func (a *CertificateManagementApiService) internalDeleteKeyExecute(r ApiDeleteKe newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -915,7 +959,7 @@ func (a *CertificateManagementApiService) ExportCSRExecute(r ApiExportCSRRequest ) response, err = processResponse( - func() (interface{}, *http.Response, error) { + func() (any, *http.Response, error) { return r.ApiService.internalExportCSRExecute(r) }, &localVarReturnValue, @@ -1030,6 +1074,17 @@ func (a *CertificateManagementApiService) internalExportCSRExecute(r ApiExportCS newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -1106,7 +1161,7 @@ func (a *CertificateManagementApiService) GetCertificateExecute(r ApiGetCertific ) response, err = processResponse( - func() (interface{}, *http.Response, error) { + func() (any, *http.Response, error) { return r.ApiService.internalGetCertificateExecute(r) }, &localVarReturnValue, @@ -1218,6 +1273,17 @@ func (a *CertificateManagementApiService) internalGetCertificateExecute(r ApiGet newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -1294,7 +1360,7 @@ func (a *CertificateManagementApiService) GetCertificateApplicationsExecute(r Ap ) response, err = processResponse( - func() (interface{}, *http.Response, error) { + func() (any, *http.Response, error) { return r.ApiService.internalGetCertificateApplicationsExecute(r) }, &localVarReturnValue, @@ -1406,6 +1472,17 @@ func (a *CertificateManagementApiService) internalGetCertificateApplicationsExec newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -1479,7 +1556,7 @@ func (a *CertificateManagementApiService) GetCertificatesExecute(r ApiGetCertifi ) response, err = processResponse( - func() (interface{}, *http.Response, error) { + func() (any, *http.Response, error) { return r.ApiService.internalGetCertificatesExecute(r) }, &localVarReturnValue, @@ -1590,6 +1667,17 @@ func (a *CertificateManagementApiService) internalGetCertificatesExecute(r ApiGe newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -1665,6 +1753,22 @@ func (a *CertificateManagementApiService) GetKey(ctx context.Context, environmen // // @return Certificate func (a *CertificateManagementApiService) GetKeyExecute(r ApiGetKeyRequest) (interface{}, *http.Response, error) { + var ( + err error + response *http.Response + localVarReturnValue interface{} + ) + + response, err = processResponse( + func() (any, *http.Response, error) { + return r.ApiService.internalGetKeyExecute(r) + }, + &localVarReturnValue, + ) + return localVarReturnValue, response, err +} + +func (a *CertificateManagementApiService) internalGetKeyExecute(r ApiGetKeyRequest) (interface{}, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -1771,6 +1875,17 @@ func (a *CertificateManagementApiService) GetKeyExecute(r ApiGetKeyRequest) (int newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -1855,7 +1970,7 @@ func (a *CertificateManagementApiService) GetKeyApplicationsExecute(r ApiGetKeyA ) response, err = processResponse( - func() (interface{}, *http.Response, error) { + func() (any, *http.Response, error) { return r.ApiService.internalGetKeyApplicationsExecute(r) }, &localVarReturnValue, @@ -1967,6 +2082,17 @@ func (a *CertificateManagementApiService) internalGetKeyApplicationsExecute(r Ap newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -2040,7 +2166,7 @@ func (a *CertificateManagementApiService) GetKeysExecute(r ApiGetKeysRequest) (* ) response, err = processResponse( - func() (interface{}, *http.Response, error) { + func() (any, *http.Response, error) { return r.ApiService.internalGetKeysExecute(r) }, &localVarReturnValue, @@ -2151,6 +2277,17 @@ func (a *CertificateManagementApiService) internalGetKeysExecute(r ApiGetKeysReq newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -2233,7 +2370,7 @@ func (a *CertificateManagementApiService) ImportCSRResponseExecute(r ApiImportCS ) response, err = processResponse( - func() (interface{}, *http.Response, error) { + func() (any, *http.Response, error) { return r.ApiService.internalImportCSRResponseExecute(r) }, &localVarReturnValue, @@ -2356,6 +2493,17 @@ func (a *CertificateManagementApiService) internalImportCSRResponseExecute(r Api newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -2438,7 +2586,7 @@ func (a *CertificateManagementApiService) UpdateKeyExecute(r ApiUpdateKeyRequest ) response, err = processResponse( - func() (interface{}, *http.Response, error) { + func() (any, *http.Response, error) { return r.ApiService.internalUpdateKeyExecute(r) }, &localVarReturnValue, @@ -2552,6 +2700,17 @@ func (a *CertificateManagementApiService) internalUpdateKeyExecute(r ApiUpdateKe newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -2622,6 +2781,22 @@ func (a *CertificateManagementApiService) EnvironmentsEnvironmentIDDecryptionsPo // Execute executes the request func (a *CertificateManagementApiService) EnvironmentsEnvironmentIDDecryptionsPostExecute(r ApiEnvironmentsEnvironmentIDDecryptionsPostRequest) (*http.Response, error) { + var ( + err error + response *http.Response + ) + + response, err = processResponse( + func() (any, *http.Response, error) { + resp, err := r.ApiService.internalEnvironmentsEnvironmentIDDecryptionsPostExecute(r) + return nil, resp, err + }, + nil, + ) + return response, err +} + +func (a *CertificateManagementApiService) internalEnvironmentsEnvironmentIDDecryptionsPostExecute(r ApiEnvironmentsEnvironmentIDDecryptionsPostRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -2736,6 +2911,17 @@ func (a *CertificateManagementApiService) EnvironmentsEnvironmentIDDecryptionsPo newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -2797,6 +2983,22 @@ func (a *CertificateManagementApiService) EnvironmentsEnvironmentIDEncryptionsPo // Execute executes the request func (a *CertificateManagementApiService) EnvironmentsEnvironmentIDEncryptionsPostExecute(r ApiEnvironmentsEnvironmentIDEncryptionsPostRequest) (*http.Response, error) { + var ( + err error + response *http.Response + ) + + response, err = processResponse( + func() (any, *http.Response, error) { + resp, err := r.ApiService.internalEnvironmentsEnvironmentIDEncryptionsPostExecute(r) + return nil, resp, err + }, + nil, + ) + return response, err +} + +func (a *CertificateManagementApiService) internalEnvironmentsEnvironmentIDEncryptionsPostExecute(r ApiEnvironmentsEnvironmentIDEncryptionsPostRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -2911,6 +3113,17 @@ func (a *CertificateManagementApiService) EnvironmentsEnvironmentIDEncryptionsPo newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -2972,6 +3185,22 @@ func (a *CertificateManagementApiService) EnvironmentsEnvironmentIDSigningsPost( // Execute executes the request func (a *CertificateManagementApiService) EnvironmentsEnvironmentIDSigningsPostExecute(r ApiEnvironmentsEnvironmentIDSigningsPostRequest) (*http.Response, error) { + var ( + err error + response *http.Response + ) + + response, err = processResponse( + func() (any, *http.Response, error) { + resp, err := r.ApiService.internalEnvironmentsEnvironmentIDSigningsPostExecute(r) + return nil, resp, err + }, + nil, + ) + return response, err +} + +func (a *CertificateManagementApiService) internalEnvironmentsEnvironmentIDSigningsPostExecute(r ApiEnvironmentsEnvironmentIDSigningsPostRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -3086,6 +3315,17 @@ func (a *CertificateManagementApiService) EnvironmentsEnvironmentIDSigningsPostE newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -3147,6 +3387,22 @@ func (a *CertificateManagementApiService) EnvironmentsEnvironmentIDVerifications // Execute executes the request func (a *CertificateManagementApiService) EnvironmentsEnvironmentIDVerificationsPostExecute(r ApiEnvironmentsEnvironmentIDVerificationsPostRequest) (*http.Response, error) { + var ( + err error + response *http.Response + ) + + response, err = processResponse( + func() (any, *http.Response, error) { + resp, err := r.ApiService.internalEnvironmentsEnvironmentIDVerificationsPostExecute(r) + return nil, resp, err + }, + nil, + ) + return response, err +} + +func (a *CertificateManagementApiService) internalEnvironmentsEnvironmentIDVerificationsPostExecute(r ApiEnvironmentsEnvironmentIDVerificationsPostRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -3261,6 +3517,17 @@ func (a *CertificateManagementApiService) EnvironmentsEnvironmentIDVerifications newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_custom_domains.go b/management/api_custom_domains.go index d79bb1e0..085cf4d8 100644 --- a/management/api_custom_domains.go +++ b/management/api_custom_domains.go @@ -188,6 +188,17 @@ func (a *CustomDomainsApiService) internalCreateDomainExecute(r ApiCreateDomainR newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -373,6 +384,17 @@ func (a *CustomDomainsApiService) internalDeleteDomainExecute(r ApiDeleteDomainR newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -547,6 +569,17 @@ func (a *CustomDomainsApiService) internalReadAllDomainsExecute(r ApiReadAllDoma newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -734,6 +767,17 @@ func (a *CustomDomainsApiService) internalReadOneDomainExecute(r ApiReadOneDomai newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -949,6 +993,17 @@ func (a *CustomDomainsApiService) internalUpdateDomainExecute(r ApiUpdateDomainR newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_enable_users.go b/management/api_enable_users.go index a8312eb1..a7266e00 100644 --- a/management/api_enable_users.go +++ b/management/api_enable_users.go @@ -173,6 +173,17 @@ func (a *EnableUsersApiService) internalReadUserEnabledExecute(r ApiReadUserEnab newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -368,6 +379,17 @@ func (a *EnableUsersApiService) internalUpdateUserEnabledExecute(r ApiUpdateUser newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_environments.go b/management/api_environments.go index 947a49e1..28122f39 100644 --- a/management/api_environments.go +++ b/management/api_environments.go @@ -184,6 +184,17 @@ func (a *EnvironmentsApiService) internalCreateEnvironmentActiveLicenseExecute(r newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -365,6 +376,17 @@ func (a *EnvironmentsApiService) internalDeleteEnvironmentExecute(r ApiDeleteEnv newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -565,6 +587,17 @@ func (a *EnvironmentsApiService) internalReadAllEnvironmentsExecute(r ApiReadAll newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -748,6 +781,17 @@ func (a *EnvironmentsApiService) internalReadOneEnvironmentExecute(r ApiReadOneE newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -939,6 +983,17 @@ func (a *EnvironmentsApiService) internalUpdateEnvironmentExecute(r ApiUpdateEnv newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -1130,6 +1185,17 @@ func (a *EnvironmentsApiService) internalUpdateEnvironmentTypeExecute(r ApiUpdat newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_flow_policies.go b/management/api_flow_policies.go index 7a233075..cd962153 100644 --- a/management/api_flow_policies.go +++ b/management/api_flow_policies.go @@ -178,6 +178,17 @@ func (a *FlowPoliciesApiService) internalReadAllFlowPoliciesExecute(r ApiReadAll newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -365,6 +376,17 @@ func (a *FlowPoliciesApiService) internalReadOneFlowPolicyExecute(r ApiReadOneFl newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_form_management.go b/management/api_form_management.go index b925ed23..cc5025b0 100644 --- a/management/api_form_management.go +++ b/management/api_form_management.go @@ -188,6 +188,17 @@ func (a *FormManagementApiService) internalCreateFormExecute(r ApiCreateFormRequ newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -373,6 +384,17 @@ func (a *FormManagementApiService) internalDeleteFormExecute(r ApiDeleteFormRequ newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -547,6 +569,17 @@ func (a *FormManagementApiService) internalReadAllFormsExecute(r ApiReadAllForms newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -734,6 +767,17 @@ func (a *FormManagementApiService) internalReadFormExecute(r ApiReadFormRequest) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -929,6 +973,17 @@ func (a *FormManagementApiService) internalUpdateFormExecute(r ApiUpdateFormRequ newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_gateway_credentials.go b/management/api_gateway_credentials.go index b9766fa6..2bf6f67f 100644 --- a/management/api_gateway_credentials.go +++ b/management/api_gateway_credentials.go @@ -184,6 +184,17 @@ func (a *GatewayCredentialsApiService) internalCreateGatewayCredentialExecute(r newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -373,6 +384,17 @@ func (a *GatewayCredentialsApiService) internalDeleteGatewayCredentialExecute(r newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -551,6 +573,17 @@ func (a *GatewayCredentialsApiService) internalReadAllGatewayCredentialsExecute( newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -742,6 +775,17 @@ func (a *GatewayCredentialsApiService) internalReadOneGatewayCredentialExecute(r newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_gateway_instances.go b/management/api_gateway_instances.go index da3f5925..6a22137c 100644 --- a/management/api_gateway_instances.go +++ b/management/api_gateway_instances.go @@ -173,6 +173,17 @@ func (a *GatewayInstancesApiService) internalReadAllGatewayInstancesExecute(r Ap newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -364,6 +375,17 @@ func (a *GatewayInstancesApiService) internalReadOneGatewayInstanceExecute(r Api newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_gateway_role_assignments.go b/management/api_gateway_role_assignments.go index fe03d34f..b1ad13d6 100644 --- a/management/api_gateway_role_assignments.go +++ b/management/api_gateway_role_assignments.go @@ -192,6 +192,17 @@ func (a *GatewayRoleAssignmentsApiService) internalCreateGatewayRoleAssignmentEx newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -381,6 +392,17 @@ func (a *GatewayRoleAssignmentsApiService) internalDeleteGatewayRoleAssignmentEx newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -559,6 +581,17 @@ func (a *GatewayRoleAssignmentsApiService) internalReadGatewayRoleAssignmentsExe newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -750,6 +783,17 @@ func (a *GatewayRoleAssignmentsApiService) internalReadOneGatewayRoleAssignmentE newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -949,6 +993,17 @@ func (a *GatewayRoleAssignmentsApiService) internalUpdateGatewayRoleAssignmentEx newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_gateways.go b/management/api_gateways.go index 8e0128b3..d8ec630d 100644 --- a/management/api_gateways.go +++ b/management/api_gateways.go @@ -188,6 +188,17 @@ func (a *GatewaysApiService) internalCreateGatewayExecute(r ApiCreateGatewayRequ newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -373,6 +384,17 @@ func (a *GatewaysApiService) internalDeleteGatewayExecute(r ApiDeleteGatewayRequ newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -547,6 +569,17 @@ func (a *GatewaysApiService) internalReadAllGatewaysExecute(r ApiReadAllGateways newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -734,6 +767,17 @@ func (a *GatewaysApiService) internalReadOneGatewayExecute(r ApiReadOneGatewayRe newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -929,6 +973,17 @@ func (a *GatewaysApiService) internalUpdateGatewayExecute(r ApiUpdateGatewayRequ newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_group_membership.go b/management/api_group_membership.go index 01679aaf..7488c9eb 100644 --- a/management/api_group_membership.go +++ b/management/api_group_membership.go @@ -192,6 +192,17 @@ func (a *GroupMembershipApiService) internalAddUserToGroupExecute(r ApiAddUserTo newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -416,6 +427,17 @@ func (a *GroupMembershipApiService) internalReadAllGroupMembershipsForUserExecut newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -616,6 +638,17 @@ func (a *GroupMembershipApiService) internalReadOneGroupMembershipForUserExecute newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -805,6 +838,17 @@ func (a *GroupMembershipApiService) internalRemoveUserFromGroupExecute(r ApiRemo newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_group_role_assignments.go b/management/api_group_role_assignments.go index ae79451d..8f39404d 100644 --- a/management/api_group_role_assignments.go +++ b/management/api_group_role_assignments.go @@ -192,6 +192,17 @@ func (a *GroupRoleAssignmentsApiService) internalCreateGroupRoleAssignmentExecut newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -381,6 +392,17 @@ func (a *GroupRoleAssignmentsApiService) internalDeleteGroupRoleAssignmentExecut newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -559,6 +581,17 @@ func (a *GroupRoleAssignmentsApiService) internalReadGroupRoleAssignmentsExecute newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -750,6 +783,17 @@ func (a *GroupRoleAssignmentsApiService) internalReadOneGroupRoleAssignmentExecu newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_groups.go b/management/api_groups.go index e0e1fdfc..83d3e2af 100644 --- a/management/api_groups.go +++ b/management/api_groups.go @@ -188,6 +188,17 @@ func (a *GroupsApiService) internalCreateGroupExecute(r ApiCreateGroupRequest) ( newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -394,6 +405,17 @@ func (a *GroupsApiService) internalCreateGroupNestingExecute(r ApiCreateGroupNes newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -579,6 +601,17 @@ func (a *GroupsApiService) internalDeleteGroupExecute(r ApiDeleteGroupRequest) ( newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -759,6 +792,17 @@ func (a *GroupsApiService) internalDeleteGroupNestingExecute(r ApiDeleteGroupNes newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -961,6 +1005,17 @@ func (a *GroupsApiService) internalReadAllGroupsExecute(r ApiReadAllGroupsReques newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -1148,6 +1203,17 @@ func (a *GroupsApiService) internalReadGroupNestingExecute(r ApiReadGroupNesting newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -1344,6 +1410,17 @@ func (a *GroupsApiService) internalReadOneGroupExecute(r ApiReadOneGroupRequest) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -1535,6 +1612,17 @@ func (a *GroupsApiService) internalReadOneGroupNestingExecute(r ApiReadOneGroupN newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -1730,6 +1818,17 @@ func (a *GroupsApiService) internalUpdateGroupExecute(r ApiUpdateGroupRequest) ( newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_identity_provider_attributes.go b/management/api_identity_provider_attributes.go index 223a02e1..81e1a703 100644 --- a/management/api_identity_provider_attributes.go +++ b/management/api_identity_provider_attributes.go @@ -192,6 +192,17 @@ func (a *IdentityProviderAttributesApiService) internalCreateIdentityProviderAtt newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -381,6 +392,17 @@ func (a *IdentityProviderAttributesApiService) internalDeleteIdentityProviderAtt newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -559,6 +581,17 @@ func (a *IdentityProviderAttributesApiService) internalReadAllIdentityProviderAt newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -750,6 +783,17 @@ func (a *IdentityProviderAttributesApiService) internalReadOneIdentityProviderAt newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -949,6 +993,17 @@ func (a *IdentityProviderAttributesApiService) internalUpdateIdentityProviderAtt newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_identity_providers.go b/management/api_identity_providers.go index 652a6f8b..1cf834ac 100644 --- a/management/api_identity_providers.go +++ b/management/api_identity_providers.go @@ -188,6 +188,17 @@ func (a *IdentityProvidersApiService) internalCreateIdentityProviderExecute(r Ap newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -373,6 +384,17 @@ func (a *IdentityProvidersApiService) internalDeleteIdentityProviderExecute(r Ap newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -547,6 +569,17 @@ func (a *IdentityProvidersApiService) internalReadAllIdentityProvidersExecute(r newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -734,6 +767,17 @@ func (a *IdentityProvidersApiService) internalReadOneIdentityProviderExecute(r A newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -929,6 +973,17 @@ func (a *IdentityProvidersApiService) internalUpdateIdentityProviderExecute(r Ap newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_images.go b/management/api_images.go index d579cfa8..7a180d20 100644 --- a/management/api_images.go +++ b/management/api_images.go @@ -74,7 +74,7 @@ func (a *ImagesApiService) CreateImageExecute(r ApiCreateImageRequest) (*Image, ) response, err = processResponse( - func() (interface{}, *http.Response, error) { + func() (any, *http.Response, error) { return r.ApiService.internalCreateImageExecute(r) }, &localVarReturnValue, @@ -205,6 +205,17 @@ func (a *ImagesApiService) internalCreateImageExecute(r ApiCreateImageRequest) ( newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -278,7 +289,7 @@ func (a *ImagesApiService) DeleteImageExecute(r ApiDeleteImageRequest) (*http.Re ) response, err = processResponse( - func() (interface{}, *http.Response, error) { + func() (any, *http.Response, error) { resp, err := r.ApiService.internalDeleteImageExecute(r) return nil, resp, err }, @@ -390,6 +401,17 @@ func (a *ImagesApiService) internalDeleteImageExecute(r ApiDeleteImageRequest) ( newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -457,7 +479,7 @@ func (a *ImagesApiService) ReadImageExecute(r ApiReadImageRequest) (*Image, *htt ) response, err = processResponse( - func() (interface{}, *http.Response, error) { + func() (any, *http.Response, error) { return r.ApiService.internalReadImageExecute(r) }, &localVarReturnValue, @@ -569,6 +591,17 @@ func (a *ImagesApiService) internalReadImageExecute(r ApiReadImageRequest) (*Ima newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_integration_catalog.go b/management/api_integration_catalog.go index 64804c34..66e74330 100644 --- a/management/api_integration_catalog.go +++ b/management/api_integration_catalog.go @@ -167,6 +167,17 @@ func (a *IntegrationCatalogApiService) internalEnvironmentsEnvironmentIDIntegrat newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -343,6 +354,17 @@ func (a *IntegrationCatalogApiService) internalEnvironmentsEnvironmentIDIntegrat newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -519,6 +541,17 @@ func (a *IntegrationCatalogApiService) internalEnvironmentsEnvironmentIDIntegrat newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -699,6 +732,17 @@ func (a *IntegrationCatalogApiService) internalEnvironmentsEnvironmentIDIntegrat newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -879,6 +923,17 @@ func (a *IntegrationCatalogApiService) internalEnvironmentsEnvironmentIDIntegrat newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_key_rotation_policies.go b/management/api_key_rotation_policies.go index e96cf79b..9ba01ad0 100644 --- a/management/api_key_rotation_policies.go +++ b/management/api_key_rotation_policies.go @@ -188,6 +188,17 @@ func (a *KeyRotationPoliciesApiService) internalCreateKeyRotationPolicyExecute(r newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -373,6 +384,17 @@ func (a *KeyRotationPoliciesApiService) internalDeleteKeyRotationPolicyExecute(r newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -547,6 +569,17 @@ func (a *KeyRotationPoliciesApiService) internalGetKeyRotationPoliciesExecute(r newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -734,6 +767,17 @@ func (a *KeyRotationPoliciesApiService) internalGetKeyRotationPolicyExecute(r Ap newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -929,6 +973,17 @@ func (a *KeyRotationPoliciesApiService) internalUpdateKeyRotationPolicyExecute(r newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_language_localization_status.go b/management/api_language_localization_status.go index 3ef2fdbf..b61ad6e3 100644 --- a/management/api_language_localization_status.go +++ b/management/api_language_localization_status.go @@ -192,6 +192,17 @@ func (a *LanguageLocalizationStatusApiService) internalCreateLanguageLocalizatio newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -381,6 +392,17 @@ func (a *LanguageLocalizationStatusApiService) internalDeleteLanguageLocalizatio newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -559,6 +581,17 @@ func (a *LanguageLocalizationStatusApiService) internalReadLanguageLocalizationS newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -750,6 +783,17 @@ func (a *LanguageLocalizationStatusApiService) internalReadOneLanguageLocalizati newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -949,6 +993,17 @@ func (a *LanguageLocalizationStatusApiService) internalUpdateLanguageLocalizatio newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_languages.go b/management/api_languages.go index ad4f042c..7ceefe62 100644 --- a/management/api_languages.go +++ b/management/api_languages.go @@ -188,6 +188,17 @@ func (a *LanguagesApiService) internalCreateLanguageExecute(r ApiCreateLanguageR newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -373,6 +384,17 @@ func (a *LanguagesApiService) internalDeleteLanguageExecute(r ApiDeleteLanguageR newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -547,6 +569,17 @@ func (a *LanguagesApiService) internalReadLanguagesExecute(r ApiReadLanguagesReq newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -734,6 +767,17 @@ func (a *LanguagesApiService) internalReadOneLanguageExecute(r ApiReadOneLanguag newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -929,6 +973,17 @@ func (a *LanguagesApiService) internalUpdateLanguageExecute(r ApiUpdateLanguageR newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_licenses.go b/management/api_licenses.go index b2390bf2..83a74275 100644 --- a/management/api_licenses.go +++ b/management/api_licenses.go @@ -188,6 +188,17 @@ func (a *LicensesApiService) internalReadAllLicensesExecute(r ApiReadAllLicenses newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -375,6 +386,17 @@ func (a *LicensesApiService) internalReadOneLicenseExecute(r ApiReadOneLicenseRe newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -562,6 +584,17 @@ func (a *LicensesApiService) internalReadOneLicenseNameExecute(r ApiReadOneLicen newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -757,6 +790,17 @@ func (a *LicensesApiService) internalUpdateOneLicenseNameExecute(r ApiUpdateOneL newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_linked_accounts.go b/management/api_linked_accounts.go index eb2f9268..e4de82fb 100644 --- a/management/api_linked_accounts.go +++ b/management/api_linked_accounts.go @@ -171,6 +171,17 @@ func (a *LinkedAccountsApiService) internalEnvironmentsEnvironmentIDUsersUserIDL newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -351,6 +362,17 @@ func (a *LinkedAccountsApiService) internalEnvironmentsEnvironmentIDUsersUserIDL newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -531,6 +553,17 @@ func (a *LinkedAccountsApiService) internalEnvironmentsEnvironmentIDUsersUserIDL newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_mfa_pairing_keys.go b/management/api_mfa_pairing_keys.go index 6a7621e4..319f2602 100644 --- a/management/api_mfa_pairing_keys.go +++ b/management/api_mfa_pairing_keys.go @@ -175,6 +175,17 @@ func (a *MFAPairingKeysApiService) internalEnvironmentsEnvironmentIDUsersUserIDP newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -355,6 +366,17 @@ func (a *MFAPairingKeysApiService) internalEnvironmentsEnvironmentIDUsersUserIDP newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -550,6 +572,17 @@ func (a *MFAPairingKeysApiService) internalEnvironmentsEnvironmentIDUsersUserIDP newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_notifications_policies.go b/management/api_notifications_policies.go index 0bcc8bed..9f716e77 100644 --- a/management/api_notifications_policies.go +++ b/management/api_notifications_policies.go @@ -177,6 +177,17 @@ func (a *NotificationsPoliciesApiService) internalCreateNotificationsPolicyExecu newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -362,6 +373,17 @@ func (a *NotificationsPoliciesApiService) internalDeleteNotificationsPolicyExecu newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -536,6 +558,17 @@ func (a *NotificationsPoliciesApiService) internalReadAllNotificationsPoliciesEx newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -723,6 +756,17 @@ func (a *NotificationsPoliciesApiService) internalReadOneNotificationsPolicyExec newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -918,6 +962,17 @@ func (a *NotificationsPoliciesApiService) internalUpdateNotificationsPolicyExecu newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_notifications_settings.go b/management/api_notifications_settings.go index f009f41e..74fe049b 100644 --- a/management/api_notifications_settings.go +++ b/management/api_notifications_settings.go @@ -169,6 +169,17 @@ func (a *NotificationsSettingsApiService) internalDeleteNotificationsSettingsExe newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -352,6 +363,17 @@ func (a *NotificationsSettingsApiService) internalReadNotificationsSettingsExecu newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -543,6 +565,17 @@ func (a *NotificationsSettingsApiService) internalUpdateNotificationsSettingsExe newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_notifications_settings_smtp.go b/management/api_notifications_settings_smtp.go index cbae3492..4a4d8806 100644 --- a/management/api_notifications_settings_smtp.go +++ b/management/api_notifications_settings_smtp.go @@ -167,6 +167,17 @@ func (a *NotificationsSettingsSMTPApiService) internalDeleteEmailDeliverySetting newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -341,6 +352,17 @@ func (a *NotificationsSettingsSMTPApiService) internalReadEmailNotificationsSett newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -532,6 +554,17 @@ func (a *NotificationsSettingsSMTPApiService) internalUpdateEmailNotificationsSe newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_notifications_templates.go b/management/api_notifications_templates.go index e04d03c4..6a2a7ab5 100644 --- a/management/api_notifications_templates.go +++ b/management/api_notifications_templates.go @@ -192,6 +192,17 @@ func (a *NotificationsTemplatesApiService) internalCreateContentExecute(r ApiCre newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -386,6 +397,17 @@ func (a *NotificationsTemplatesApiService) internalDeleteBulkVariantContentsExec newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -566,6 +588,17 @@ func (a *NotificationsTemplatesApiService) internalDeleteContentExecute(r ApiDel newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -761,6 +794,17 @@ func (a *NotificationsTemplatesApiService) internalPatchBulkVariantContentsExecu newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -948,6 +992,17 @@ func (a *NotificationsTemplatesApiService) internalReadAllTemplateContentsExecut newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -1149,6 +1204,17 @@ func (a *NotificationsTemplatesApiService) internalReadAllTemplatesExecute(r Api newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -1340,6 +1406,17 @@ func (a *NotificationsTemplatesApiService) internalReadOneContentExecute(r ApiRe newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -1527,6 +1604,17 @@ func (a *NotificationsTemplatesApiService) internalReadOneTemplateExecute(r ApiR newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -1726,6 +1814,17 @@ func (a *NotificationsTemplatesApiService) internalUpdateContentExecute(r ApiUpd newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_organizations.go b/management/api_organizations.go index 9ccb3e7f..82d719c9 100644 --- a/management/api_organizations.go +++ b/management/api_organizations.go @@ -174,6 +174,17 @@ func (a *OrganizationsApiService) internalReadAllOrganizationsExecute(r ApiReadA newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -357,6 +368,17 @@ func (a *OrganizationsApiService) internalReadOneOrganizationExecute(r ApiReadOn newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_password_policies.go b/management/api_password_policies.go index 68dbe4ee..1fb303ba 100644 --- a/management/api_password_policies.go +++ b/management/api_password_policies.go @@ -64,7 +64,7 @@ func (a *PasswordPoliciesApiService) CreatePasswordPolicyExecute(r ApiCreatePass ) response, err = processResponse( - func() (interface{}, *http.Response, error) { + func() (any, *http.Response, error) { return r.ApiService.internalCreatePasswordPolicyExecute(r) }, &localVarReturnValue, @@ -191,6 +191,17 @@ func (a *PasswordPoliciesApiService) internalCreatePasswordPolicyExecute(r ApiCr newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -279,7 +290,7 @@ func (a *PasswordPoliciesApiService) DeletePasswordPolicyExecute(r ApiDeletePass ) response, err = processResponse( - func() (interface{}, *http.Response, error) { + func() (any, *http.Response, error) { resp, err := r.ApiService.internalDeletePasswordPolicyExecute(r) return nil, resp, err }, @@ -391,6 +402,17 @@ func (a *PasswordPoliciesApiService) internalDeletePasswordPolicyExecute(r ApiDe newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -455,7 +477,7 @@ func (a *PasswordPoliciesApiService) ReadAllPasswordPoliciesExecute(r ApiReadAll ) response, err = processResponse( - func() (interface{}, *http.Response, error) { + func() (any, *http.Response, error) { return r.ApiService.internalReadAllPasswordPoliciesExecute(r) }, &localVarReturnValue, @@ -566,6 +588,17 @@ func (a *PasswordPoliciesApiService) internalReadAllPasswordPoliciesExecute(r Ap newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -642,7 +675,7 @@ func (a *PasswordPoliciesApiService) ReadOnePasswordPolicyExecute(r ApiReadOnePa ) response, err = processResponse( - func() (interface{}, *http.Response, error) { + func() (any, *http.Response, error) { return r.ApiService.internalReadOnePasswordPolicyExecute(r) }, &localVarReturnValue, @@ -754,6 +787,17 @@ func (a *PasswordPoliciesApiService) internalReadOnePasswordPolicyExecute(r ApiR newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -836,7 +880,7 @@ func (a *PasswordPoliciesApiService) UpdatePasswordPolicyExecute(r ApiUpdatePass ) response, err = processResponse( - func() (interface{}, *http.Response, error) { + func() (any, *http.Response, error) { return r.ApiService.internalUpdatePasswordPolicyExecute(r) }, &localVarReturnValue, @@ -950,6 +994,17 @@ func (a *PasswordPoliciesApiService) internalUpdatePasswordPolicyExecute(r ApiUp newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_phone_delivery_settings.go b/management/api_phone_delivery_settings.go index e071de7f..21df6cec 100644 --- a/management/api_phone_delivery_settings.go +++ b/management/api_phone_delivery_settings.go @@ -188,6 +188,17 @@ func (a *PhoneDeliverySettingsApiService) internalCreatePhoneDeliverySettingsExe newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -373,6 +384,17 @@ func (a *PhoneDeliverySettingsApiService) internalDeletePhoneDeliverySettingsExe newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -547,6 +569,17 @@ func (a *PhoneDeliverySettingsApiService) internalReadAllPhoneDeliverySettingsEx newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -734,6 +767,17 @@ func (a *PhoneDeliverySettingsApiService) internalReadOnePhoneDeliverySettingsEx newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -929,6 +973,17 @@ func (a *PhoneDeliverySettingsApiService) internalUpdatePhoneDeliverySettingsExe newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_populations.go b/management/api_populations.go index 1c5fd9b1..fd451704 100644 --- a/management/api_populations.go +++ b/management/api_populations.go @@ -191,6 +191,17 @@ func (a *PopulationsApiService) internalCreatePopulationExecute(r ApiCreatePopul newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -376,6 +387,17 @@ func (a *PopulationsApiService) internalDeletePopulationExecute(r ApiDeletePopul newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -580,6 +602,17 @@ func (a *PopulationsApiService) internalReadAllPopulationsExecute(r ApiReadAllPo newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -767,6 +800,17 @@ func (a *PopulationsApiService) internalReadOnePopulationExecute(r ApiReadOnePop newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -962,6 +1006,17 @@ func (a *PopulationsApiService) internalUpdatePopulationExecute(r ApiUpdatePopul newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_propagation_mappings.go b/management/api_propagation_mappings.go index 5ae388e6..b0235ada 100644 --- a/management/api_propagation_mappings.go +++ b/management/api_propagation_mappings.go @@ -180,6 +180,17 @@ func (a *PropagationMappingsApiService) internalEnvironmentsEnvironmentIDPropaga newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -365,6 +376,17 @@ func (a *PropagationMappingsApiService) internalEnvironmentsEnvironmentIDPropaga newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -549,6 +571,17 @@ func (a *PropagationMappingsApiService) internalEnvironmentsEnvironmentIDPropaga newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -743,6 +776,17 @@ func (a *PropagationMappingsApiService) internalEnvironmentsEnvironmentIDPropaga newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -938,6 +982,17 @@ func (a *PropagationMappingsApiService) internalEnvironmentsEnvironmentIDPropaga newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_propagation_plans.go b/management/api_propagation_plans.go index ff20c5d2..2419471d 100644 --- a/management/api_propagation_plans.go +++ b/management/api_propagation_plans.go @@ -176,6 +176,17 @@ func (a *PropagationPlansApiService) internalEnvironmentsEnvironmentIDPropagatio newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -361,6 +372,17 @@ func (a *PropagationPlansApiService) internalEnvironmentsEnvironmentIDPropagatio newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -546,6 +568,17 @@ func (a *PropagationPlansApiService) internalEnvironmentsEnvironmentIDPropagatio newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -730,6 +763,17 @@ func (a *PropagationPlansApiService) internalEnvironmentsEnvironmentIDPropagatio newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -921,6 +965,17 @@ func (a *PropagationPlansApiService) internalEnvironmentsEnvironmentIDPropagatio newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_propagation_revisions.go b/management/api_propagation_revisions.go index 77c9aa27..b7430d25 100644 --- a/management/api_propagation_revisions.go +++ b/management/api_propagation_revisions.go @@ -176,6 +176,17 @@ func (a *PropagationRevisionsApiService) internalEnvironmentsEnvironmentIDPropag newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -359,6 +370,17 @@ func (a *PropagationRevisionsApiService) internalEnvironmentsEnvironmentIDPropag newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -544,6 +566,17 @@ func (a *PropagationRevisionsApiService) internalEnvironmentsEnvironmentIDPropag newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_propagation_rules.go b/management/api_propagation_rules.go index 8062eb90..17e01469 100644 --- a/management/api_propagation_rules.go +++ b/management/api_propagation_rules.go @@ -189,6 +189,17 @@ func (a *PropagationRulesApiService) internalEnvironmentsEnvironmentIDPropagatio newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -379,6 +390,17 @@ func (a *PropagationRulesApiService) internalEnvironmentsEnvironmentIDPropagatio newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -570,6 +592,17 @@ func (a *PropagationRulesApiService) internalEnvironmentsEnvironmentIDPropagatio newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -755,6 +788,17 @@ func (a *PropagationRulesApiService) internalEnvironmentsEnvironmentIDPropagatio newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -940,6 +984,17 @@ func (a *PropagationRulesApiService) internalEnvironmentsEnvironmentIDPropagatio newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -1124,6 +1179,17 @@ func (a *PropagationRulesApiService) internalEnvironmentsEnvironmentIDPropagatio newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_propagation_store_metadata.go b/management/api_propagation_store_metadata.go index 1408de73..280c5c3e 100644 --- a/management/api_propagation_store_metadata.go +++ b/management/api_propagation_store_metadata.go @@ -186,6 +186,17 @@ func (a *PropagationStoreMetadataApiService) internalEnvironmentsEnvironmentIDPr newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -377,6 +388,17 @@ func (a *PropagationStoreMetadataApiService) internalEnvironmentsEnvironmentIDPr newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -568,6 +590,17 @@ func (a *PropagationStoreMetadataApiService) internalEnvironmentsEnvironmentIDPr newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -759,6 +792,17 @@ func (a *PropagationStoreMetadataApiService) internalEnvironmentsEnvironmentIDPr newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_propagation_stores.go b/management/api_propagation_stores.go index 956a7cac..a2235670 100644 --- a/management/api_propagation_stores.go +++ b/management/api_propagation_stores.go @@ -188,6 +188,17 @@ func (a *PropagationStoresApiService) internalCreatePropagationStoreExecute(r Ap newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -373,6 +384,17 @@ func (a *PropagationStoresApiService) internalDeletePropagationStoreExecute(r Ap newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -547,6 +569,17 @@ func (a *PropagationStoresApiService) internalReadAllStoresExecute(r ApiReadAllS newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -734,6 +767,17 @@ func (a *PropagationStoresApiService) internalReadOnePropagationStoreExecute(r A newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -943,6 +987,17 @@ func (a *PropagationStoresApiService) internalTestConnectionConfigurationExecute newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -1129,6 +1184,17 @@ func (a *PropagationStoresApiService) internalUpdatePropagationStoreExecute(r Ap newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_recaptcha_configuration.go b/management/api_recaptcha_configuration.go index 2982aa14..d0d6e749 100644 --- a/management/api_recaptcha_configuration.go +++ b/management/api_recaptcha_configuration.go @@ -167,6 +167,17 @@ func (a *RecaptchaConfigurationApiService) internalDeleteRecaptchaConfigurationE newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -341,6 +352,17 @@ func (a *RecaptchaConfigurationApiService) internalReadRecaptchaConfigurationExe newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -543,6 +565,17 @@ func (a *RecaptchaConfigurationApiService) internalUpdateRecaptchaConfigurationE newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_resource_attributes.go b/management/api_resource_attributes.go index 398e8d12..ab8912e6 100644 --- a/management/api_resource_attributes.go +++ b/management/api_resource_attributes.go @@ -192,6 +192,17 @@ func (a *ResourceAttributesApiService) internalCreateResourceAttributeExecute(r newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -381,6 +392,17 @@ func (a *ResourceAttributesApiService) internalDeleteResourceAttributeExecute(r newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -559,6 +581,17 @@ func (a *ResourceAttributesApiService) internalReadAllResourceAttributesExecute( newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -750,6 +783,17 @@ func (a *ResourceAttributesApiService) internalReadOneResourceAttributeExecute(r newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -949,6 +993,17 @@ func (a *ResourceAttributesApiService) internalUpdateResourceAttributeExecute(r newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_resource_client_secret.go b/management/api_resource_client_secret.go index ceb0ba4a..229b8c9f 100644 --- a/management/api_resource_client_secret.go +++ b/management/api_resource_client_secret.go @@ -184,6 +184,17 @@ func (a *ResourceClientSecretApiService) internalCreateResourceSecretExecute(r A newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -371,6 +382,17 @@ func (a *ResourceClientSecretApiService) internalReadResourceSecretExecute(r Api newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_resource_scopes.go b/management/api_resource_scopes.go index b6df853f..5f78b957 100644 --- a/management/api_resource_scopes.go +++ b/management/api_resource_scopes.go @@ -192,6 +192,17 @@ func (a *ResourceScopesApiService) internalCreateResourceScopeExecute(r ApiCreat newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -381,6 +392,17 @@ func (a *ResourceScopesApiService) internalDeleteResourceScopeExecute(r ApiDelet newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -559,6 +581,17 @@ func (a *ResourceScopesApiService) internalReadAllResourceScopesExecute(r ApiRea newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -750,6 +783,17 @@ func (a *ResourceScopesApiService) internalReadOneResourceScopeExecute(r ApiRead newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -949,6 +993,17 @@ func (a *ResourceScopesApiService) internalUpdateResourceScopeExecute(r ApiUpdat newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_resources.go b/management/api_resources.go index 99b1b8ab..3b624cdb 100644 --- a/management/api_resources.go +++ b/management/api_resources.go @@ -188,6 +188,17 @@ func (a *ResourcesApiService) internalCreateResourceExecute(r ApiCreateResourceR newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -373,6 +384,17 @@ func (a *ResourcesApiService) internalDeleteResourceExecute(r ApiDeleteResourceR newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -547,6 +569,17 @@ func (a *ResourcesApiService) internalReadAllResourcesExecute(r ApiReadAllResour newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -734,6 +767,17 @@ func (a *ResourcesApiService) internalReadOneResourceExecute(r ApiReadOneResourc newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -929,6 +973,17 @@ func (a *ResourcesApiService) internalUpdateResourceExecute(r ApiUpdateResourceR newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_roles.go b/management/api_roles.go index be4b9cb7..c26f1e1a 100644 --- a/management/api_roles.go +++ b/management/api_roles.go @@ -165,6 +165,17 @@ func (a *RolesApiService) internalReadAllRolesExecute(r ApiReadAllRolesRequest) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -348,6 +359,17 @@ func (a *RolesApiService) internalReadOneRoleExecute(r ApiReadOneRoleRequest) (* newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_schemas.go b/management/api_schemas.go index a1008278..8ae4a03d 100644 --- a/management/api_schemas.go +++ b/management/api_schemas.go @@ -192,6 +192,17 @@ func (a *SchemasApiService) internalCreateAttributeExecute(r ApiCreateAttributeR newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -381,6 +392,17 @@ func (a *SchemasApiService) internalDeleteAttributeExecute(r ApiDeleteAttributeR newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -559,6 +581,17 @@ func (a *SchemasApiService) internalReadAllSchemaAttributesExecute(r ApiReadAllS newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -742,6 +775,17 @@ func (a *SchemasApiService) internalReadAllSchemasExecute(r ApiReadAllSchemasReq newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -933,6 +977,17 @@ func (a *SchemasApiService) internalReadOneAttributeExecute(r ApiReadOneAttribut newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -1120,6 +1175,17 @@ func (a *SchemasApiService) internalReadOneSchemaExecute(r ApiReadOneSchemaReque newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -1319,6 +1385,17 @@ func (a *SchemasApiService) internalUpdateAttributePatchExecute(r ApiUpdateAttri newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -1518,6 +1595,17 @@ func (a *SchemasApiService) internalUpdateAttributePutExecute(r ApiUpdateAttribu newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_sessions.go b/management/api_sessions.go index c44d84eb..4b70c078 100644 --- a/management/api_sessions.go +++ b/management/api_sessions.go @@ -171,6 +171,17 @@ func (a *SessionsApiService) internalEnvironmentsEnvironmentIDUsersUserIDSession newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -351,6 +362,17 @@ func (a *SessionsApiService) internalEnvironmentsEnvironmentIDUsersUserIDSession newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -531,6 +553,17 @@ func (a *SessionsApiService) internalEnvironmentsEnvironmentIDUsersUserIDSession newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_sign_on_policies.go b/management/api_sign_on_policies.go index e1ed5da7..619c22d7 100644 --- a/management/api_sign_on_policies.go +++ b/management/api_sign_on_policies.go @@ -188,6 +188,17 @@ func (a *SignOnPoliciesApiService) internalCreateSignOnPolicyExecute(r ApiCreate newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -373,6 +384,17 @@ func (a *SignOnPoliciesApiService) internalDeleteSignOnPolicyExecute(r ApiDelete newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -547,6 +569,17 @@ func (a *SignOnPoliciesApiService) internalReadAllSignOnPoliciesExecute(r ApiRea newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -734,6 +767,17 @@ func (a *SignOnPoliciesApiService) internalReadOneSignOnPolicyExecute(r ApiReadO newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -929,6 +973,17 @@ func (a *SignOnPoliciesApiService) internalUpdateSignOnPolicyExecute(r ApiUpdate newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_sign_on_policy_actions.go b/management/api_sign_on_policy_actions.go index 59dddc1e..ef1d2274 100644 --- a/management/api_sign_on_policy_actions.go +++ b/management/api_sign_on_policy_actions.go @@ -192,6 +192,17 @@ func (a *SignOnPolicyActionsApiService) internalCreateSignOnPolicyActionExecute( newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -381,6 +392,17 @@ func (a *SignOnPolicyActionsApiService) internalDeleteSignOnPolicyActionExecute( newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -559,6 +581,17 @@ func (a *SignOnPolicyActionsApiService) internalReadAllSignOnPolicyActionsExecut newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -750,6 +783,17 @@ func (a *SignOnPolicyActionsApiService) internalReadOneSignOnPolicyActionExecute newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -949,6 +993,17 @@ func (a *SignOnPolicyActionsApiService) internalUpdateSignOnPolicyActionExecute( newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_subscriptions_webhooks.go b/management/api_subscriptions_webhooks.go index e8c32656..018a9d8f 100644 --- a/management/api_subscriptions_webhooks.go +++ b/management/api_subscriptions_webhooks.go @@ -188,6 +188,17 @@ func (a *SubscriptionsWebhooksApiService) internalCreateSubscriptionExecute(r Ap newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -373,6 +384,17 @@ func (a *SubscriptionsWebhooksApiService) internalDeleteSubscriptionExecute(r Ap newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -547,6 +569,17 @@ func (a *SubscriptionsWebhooksApiService) internalReadAllSubscriptionsExecute(r newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -734,6 +767,17 @@ func (a *SubscriptionsWebhooksApiService) internalReadOneSubscriptionExecute(r A newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -929,6 +973,17 @@ func (a *SubscriptionsWebhooksApiService) internalUpdateSubscriptionExecute(r Ap newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_total_identities.go b/management/api_total_identities.go index 36cc729a..d3b16275 100644 --- a/management/api_total_identities.go +++ b/management/api_total_identities.go @@ -176,6 +176,17 @@ func (a *TotalIdentitiesApiService) internalEnvironmentsEnvironmentIDTotalIdenti newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_trusted_email_addresses.go b/management/api_trusted_email_addresses.go index 7442f282..00768cf0 100644 --- a/management/api_trusted_email_addresses.go +++ b/management/api_trusted_email_addresses.go @@ -192,6 +192,17 @@ func (a *TrustedEmailAddressesApiService) internalCreateTrustedEmailAddressExecu newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -381,6 +392,17 @@ func (a *TrustedEmailAddressesApiService) internalDeleteTrustedEmailAddressExecu newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -559,6 +581,17 @@ func (a *TrustedEmailAddressesApiService) internalReadAllTrustedEmailAddressesEx newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -750,6 +783,17 @@ func (a *TrustedEmailAddressesApiService) internalReadOneTrustedEmailAddressExec newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -961,6 +1005,17 @@ func (a *TrustedEmailAddressesApiService) internalResendVerificationCodeToEmailE newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_trusted_email_domains.go b/management/api_trusted_email_domains.go index 953d60ef..f2b34ebf 100644 --- a/management/api_trusted_email_domains.go +++ b/management/api_trusted_email_domains.go @@ -188,6 +188,17 @@ func (a *TrustedEmailDomainsApiService) internalCreateTrustedEmailDomainExecute( newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -373,6 +384,17 @@ func (a *TrustedEmailDomainsApiService) internalDeleteTrustedEmailDomainExecute( newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -547,6 +569,17 @@ func (a *TrustedEmailDomainsApiService) internalReadAllTrustedEmailDomainsExecut newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -734,6 +767,17 @@ func (a *TrustedEmailDomainsApiService) internalReadOneTrustedEmailDomainExecute newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -921,6 +965,17 @@ func (a *TrustedEmailDomainsApiService) internalReadTrustedEmailDomainDKIMStatus newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -1108,6 +1163,17 @@ func (a *TrustedEmailDomainsApiService) internalReadTrustedEmailDomainOwnershipS newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -1295,6 +1361,17 @@ func (a *TrustedEmailDomainsApiService) internalReadTrustedEmailDomainSPFStatusE newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_user_accounts.go b/management/api_user_accounts.go index 373c0669..9d3a38da 100644 --- a/management/api_user_accounts.go +++ b/management/api_user_accounts.go @@ -193,6 +193,17 @@ func (a *UserAccountsApiService) internalEnvironmentsEnvironmentIDUsersUserIDPos newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_user_activities.go b/management/api_user_activities.go index f9db38d2..a57fb1eb 100644 --- a/management/api_user_activities.go +++ b/management/api_user_activities.go @@ -176,6 +176,17 @@ func (a *UserActivitiesApiService) internalEnvironmentsEnvironmentIDUserActiviti newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_user_agreement_consents.go b/management/api_user_agreement_consents.go index e8a68933..825f32da 100644 --- a/management/api_user_agreement_consents.go +++ b/management/api_user_agreement_consents.go @@ -175,6 +175,17 @@ func (a *UserAgreementConsentsApiService) internalEnvironmentsEnvironmentIDUsers newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -375,6 +386,17 @@ func (a *UserAgreementConsentsApiService) internalEnvironmentsEnvironmentIDUsers newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -551,6 +573,17 @@ func (a *UserAgreementConsentsApiService) internalEnvironmentsEnvironmentIDUsers newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_user_id_verification.go b/management/api_user_id_verification.go index fab886a9..21305f06 100644 --- a/management/api_user_id_verification.go +++ b/management/api_user_id_verification.go @@ -171,6 +171,17 @@ func (a *UserIDVerificationApiService) internalEnvironmentsEnvironmentIDUsersUse newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -358,6 +369,17 @@ func (a *UserIDVerificationApiService) internalEnvironmentsEnvironmentIDUsersUse newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -538,6 +560,17 @@ func (a *UserIDVerificationApiService) internalEnvironmentsEnvironmentIDUsersUse newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -718,6 +751,17 @@ func (a *UserIDVerificationApiService) internalEnvironmentsEnvironmentIDUsersUse newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -906,6 +950,17 @@ func (a *UserIDVerificationApiService) internalEnvironmentsEnvironmentIDUsersUse newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_user_passwords.go b/management/api_user_passwords.go index c38a3e9e..aeb74a4d 100644 --- a/management/api_user_passwords.go +++ b/management/api_user_passwords.go @@ -171,6 +171,17 @@ func (a *UserPasswordsApiService) internalEnvironmentsEnvironmentIDUsersUserIDPa newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -375,6 +386,17 @@ func (a *UserPasswordsApiService) internalEnvironmentsEnvironmentIDUsersUserIDPa newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -568,6 +590,17 @@ func (a *UserPasswordsApiService) internalEnvironmentsEnvironmentIDUsersUserIDPa newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_user_populations.go b/management/api_user_populations.go index e4b57438..6372bb14 100644 --- a/management/api_user_populations.go +++ b/management/api_user_populations.go @@ -173,6 +173,17 @@ func (a *UserPopulationsApiService) internalReadUserPopulationExecute(r ApiReadU newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -368,6 +379,17 @@ func (a *UserPopulationsApiService) internalUpdateUserPopulationExecute(r ApiUpd newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_user_role_assignments.go b/management/api_user_role_assignments.go index ccb5979c..f336ef7d 100644 --- a/management/api_user_role_assignments.go +++ b/management/api_user_role_assignments.go @@ -192,6 +192,17 @@ func (a *UserRoleAssignmentsApiService) internalCreateUserRoleAssignmentExecute( newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -381,6 +392,17 @@ func (a *UserRoleAssignmentsApiService) internalDeleteUserRoleAssignmentExecute( newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -563,6 +585,17 @@ func (a *UserRoleAssignmentsApiService) internalReadOneUserRoleAssignmentExecute newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -750,6 +783,17 @@ func (a *UserRoleAssignmentsApiService) internalReadUserRoleAssignmentsExecute(r newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/api_users.go b/management/api_users.go index 635b93c7..1c71f022 100644 --- a/management/api_users.go +++ b/management/api_users.go @@ -197,6 +197,17 @@ func (a *UsersApiService) internalCreateUserExecute(r ApiCreateUserRequest) (*Us newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -382,6 +393,17 @@ func (a *UsersApiService) internalDeleteUserExecute(r ApiDeleteUserRequest) (*ht newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -558,6 +580,17 @@ func (a *UsersApiService) internalEnvironmentsEnvironmentIDUsersUserIDIdentityPr newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -742,6 +775,17 @@ func (a *UsersApiService) internalEnvironmentsEnvironmentIDUsersUserIDIdentityPr newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -918,6 +962,17 @@ func (a *UsersApiService) internalEnvironmentsEnvironmentIDUsersUserIDVerifyStat newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -1102,6 +1157,17 @@ func (a *UsersApiService) internalEnvironmentsEnvironmentIDUsersUserIDVerifyStat newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -1304,6 +1370,17 @@ func (a *UsersApiService) internalReadAllUsersExecute(r ApiReadAllUsersRequest) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -1500,6 +1577,17 @@ func (a *UsersApiService) internalReadUserExecute(r ApiReadUserRequest) (*User, newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -1695,6 +1783,17 @@ func (a *UsersApiService) internalUpdateUserPatchExecute(r ApiUpdateUserPatchReq newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -1890,6 +1989,17 @@ func (a *UsersApiService) internalUpdateUserPutExecute(r ApiUpdateUserPutRequest newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/management/configuration.go b/management/configuration.go index 6a016bc6..4b519c5f 100644 --- a/management/configuration.go +++ b/management/configuration.go @@ -91,7 +91,7 @@ type Configuration struct { func NewConfiguration() *Configuration { cfg := &Configuration{ DefaultHeader: make(map[string]string), - UserAgent: "pingtools PingOne-GOLANG-SDK (management)/0.31.0 go", + UserAgent: "pingtools PingOne-GOLANG-SDK (management)/0.32.0 go", Debug: false, DefaultServerIndex: 0, Servers: ServerConfigurations{ diff --git a/management/docs/P1ErrorDetailsInnerInnerError.md b/management/docs/P1ErrorDetailsInnerInnerError.md index 22b4ead4..4a8d5480 100644 --- a/management/docs/P1ErrorDetailsInnerInnerError.md +++ b/management/docs/P1ErrorDetailsInnerInnerError.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **AllowedPattern** | Pointer to **string** | A regex pattern describing an acceptable input pattern. | [optional] **AllowedValues** | Pointer to **[]string** | A list describing acceptable values. | [optional] **MaximumValue** | Pointer to **int32** | The maximum value allowed for the request. | [optional] +**ReferencedValues** | Pointer to **[]string** | | [optional] ## Methods @@ -154,6 +155,31 @@ SetMaximumValue sets MaximumValue field to given value. HasMaximumValue returns a boolean if a field has been set. +### GetReferencedValues + +`func (o *P1ErrorDetailsInnerInnerError) GetReferencedValues() []string` + +GetReferencedValues returns the ReferencedValues field if non-nil, zero value otherwise. + +### GetReferencedValuesOk + +`func (o *P1ErrorDetailsInnerInnerError) GetReferencedValuesOk() (*[]string, bool)` + +GetReferencedValuesOk returns a tuple with the ReferencedValues field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReferencedValues + +`func (o *P1ErrorDetailsInnerInnerError) SetReferencedValues(v []string)` + +SetReferencedValues sets ReferencedValues field to given value. + +### HasReferencedValues + +`func (o *P1ErrorDetailsInnerInnerError) HasReferencedValues() bool` + +HasReferencedValues returns a boolean if a field has been set. + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/management/generate/pingone-management.yml b/management/generate/pingone-management.yml index 47278b05..dcd2e3d6 100644 --- a/management/generate/pingone-management.yml +++ b/management/generate/pingone-management.yml @@ -4201,6 +4201,10 @@ components: maximumValue: description: The maximum value allowed for the request. type: integer + referencedValues: + type: array + items: + type: string PasswordPolicy: type: object properties: @@ -6650,6 +6654,12 @@ components: application/json: schema: $ref: '#/components/schemas/P1Error' + '409': + description: Conflict. + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' '429': description: Request was rate limited content: @@ -6787,6 +6797,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -6818,6 +6830,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -6849,6 +6863,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -6884,6 +6900,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -6914,6 +6932,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -6955,6 +6975,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -7003,6 +7025,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -7044,6 +7068,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -7074,6 +7100,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -7110,6 +7138,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -7153,6 +7183,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -7188,6 +7220,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -7231,6 +7265,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -7266,6 +7302,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -7307,6 +7345,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -7355,6 +7395,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -7395,6 +7437,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -7443,6 +7487,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -7483,6 +7529,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -7529,6 +7577,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -7574,6 +7624,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -7601,6 +7653,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -7647,6 +7701,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -7683,6 +7739,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -7732,6 +7790,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -7767,6 +7827,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -7794,6 +7856,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -7851,6 +7915,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -7891,6 +7957,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -7955,6 +8023,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -7997,6 +8067,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -8029,6 +8101,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -8066,6 +8140,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -8112,6 +8188,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -8147,6 +8225,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -8188,6 +8268,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -8239,6 +8321,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -8279,6 +8363,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -8313,6 +8399,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -8357,6 +8445,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -8400,6 +8490,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -8447,6 +8539,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -8489,6 +8583,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -8523,6 +8619,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -8567,6 +8665,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -8610,6 +8710,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -8657,6 +8759,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -8699,6 +8803,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -8731,6 +8837,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -8779,6 +8887,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -8820,6 +8930,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -8860,6 +8972,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -8892,6 +9006,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -8938,6 +9054,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -8979,6 +9097,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -9028,6 +9148,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -9068,6 +9190,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -9101,6 +9225,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -9139,6 +9265,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -9172,6 +9300,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -9220,6 +9350,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -9249,6 +9381,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -9294,6 +9428,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -9325,6 +9461,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -9360,6 +9498,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -9390,6 +9530,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -9424,6 +9566,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -9460,6 +9604,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -9491,6 +9637,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -9528,6 +9676,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -9564,6 +9714,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -9604,6 +9756,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -9639,6 +9793,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -9666,6 +9822,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -9711,6 +9869,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -9751,6 +9911,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -9801,6 +9963,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -9836,6 +10000,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -9868,6 +10034,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -9909,6 +10077,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -9954,6 +10124,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -9985,6 +10157,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -10022,6 +10196,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -10058,6 +10234,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -10098,6 +10276,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -10133,6 +10313,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -10160,6 +10342,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -10202,6 +10386,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -10238,6 +10424,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -10273,6 +10461,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -10305,6 +10495,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -10348,6 +10540,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -10388,6 +10582,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -10428,6 +10624,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -10470,6 +10668,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -10499,6 +10699,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -10538,6 +10740,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -10574,6 +10778,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -10622,6 +10828,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -10657,6 +10865,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -10684,6 +10894,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -10721,6 +10933,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -10757,6 +10971,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -10792,6 +11008,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -10824,6 +11042,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -10860,6 +11080,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -10896,6 +11118,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -10937,6 +11161,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -10984,6 +11210,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -11024,6 +11252,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -11056,6 +11286,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -11098,6 +11330,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -11139,6 +11373,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -11170,6 +11406,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -11214,6 +11452,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -11253,6 +11493,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -11303,6 +11545,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -11341,6 +11585,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -11373,6 +11619,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -11410,6 +11658,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -11451,6 +11701,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -11491,6 +11743,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -11523,6 +11777,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -11564,6 +11820,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -11600,6 +11858,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -11648,6 +11908,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -11689,6 +11951,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -11740,6 +12004,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -11780,6 +12046,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -11822,6 +12090,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -11866,6 +12136,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -11907,6 +12179,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -11954,6 +12228,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -11989,6 +12265,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -12021,6 +12299,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -12065,6 +12345,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -12106,6 +12388,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -12146,6 +12430,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -12178,6 +12464,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -12220,6 +12508,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -12261,6 +12551,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -12301,6 +12593,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -12331,6 +12625,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -12366,6 +12662,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -12406,6 +12704,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -12441,6 +12741,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -12479,6 +12781,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -12519,6 +12823,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -12560,6 +12866,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -12599,6 +12907,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -12626,6 +12936,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -12663,6 +12975,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -12699,6 +13013,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -12739,6 +13055,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -12774,6 +13092,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -12813,6 +13133,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -12861,6 +13183,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -12906,6 +13230,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -12951,6 +13277,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -13001,6 +13329,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -13040,6 +13370,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -13088,6 +13420,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -13128,6 +13462,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -13167,6 +13503,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -13210,6 +13548,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -13263,6 +13603,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -13303,6 +13645,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -13347,6 +13691,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -13392,6 +13738,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -13436,6 +13784,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -13476,6 +13826,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -13503,6 +13855,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -13540,6 +13894,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -13576,6 +13932,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -13634,6 +13992,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -13669,6 +14029,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -13703,6 +14065,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -13751,6 +14115,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -13794,6 +14160,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -13845,6 +14213,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -13887,6 +14257,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -13932,6 +14304,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -13968,6 +14342,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -14003,6 +14379,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -14029,6 +14407,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -14062,6 +14442,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -14095,6 +14477,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -14133,6 +14517,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -14171,6 +14557,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -14200,6 +14588,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -14237,6 +14627,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -14273,6 +14665,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -14313,6 +14707,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -14348,6 +14744,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -14380,6 +14778,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -14422,6 +14822,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -14463,6 +14865,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -14508,6 +14912,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -14548,6 +14954,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -14585,6 +14993,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -14621,6 +15031,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -14657,6 +15069,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -14699,6 +15113,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -14744,6 +15160,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -14784,6 +15202,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -14821,6 +15241,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -14866,6 +15288,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -14906,6 +15330,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -14933,6 +15359,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -14968,6 +15396,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -14998,6 +15428,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -15029,6 +15461,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -15075,6 +15509,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -15105,6 +15541,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -15132,6 +15570,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -15169,6 +15609,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -15205,6 +15647,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -15245,6 +15689,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -15280,6 +15726,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -15307,6 +15755,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -15342,6 +15792,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -15378,6 +15830,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -15418,6 +15872,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -15453,6 +15909,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -15480,6 +15938,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -15518,6 +15978,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -15554,6 +16016,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -15594,6 +16058,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -15629,6 +16095,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -15672,6 +16140,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -15710,6 +16180,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -15746,6 +16218,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -15786,6 +16260,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -15821,6 +16297,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -15848,6 +16326,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -15885,6 +16365,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -15915,6 +16397,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -15942,6 +16426,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -15984,6 +16470,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -16020,6 +16508,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -16063,6 +16553,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -16098,6 +16590,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -16130,6 +16624,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -16175,6 +16671,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -16216,6 +16714,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -16264,6 +16764,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -16304,6 +16806,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -16336,6 +16840,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -16373,6 +16879,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -16409,6 +16917,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -16451,6 +16961,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -16492,6 +17004,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -16553,6 +17067,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -16593,6 +17109,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -16620,6 +17138,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -16656,6 +17176,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -16692,6 +17214,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -16746,6 +17270,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -16787,6 +17313,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -16838,6 +17366,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -16888,6 +17418,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -16928,6 +17460,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -16955,6 +17489,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -16992,6 +17528,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -17028,6 +17566,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -17068,6 +17608,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -17103,6 +17645,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -17135,6 +17679,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -17177,6 +17723,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -17218,6 +17766,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -17263,6 +17813,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -17303,6 +17855,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -17337,6 +17891,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -17367,6 +17923,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -17403,6 +17961,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -17443,6 +18003,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -17478,6 +18040,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -17505,6 +18069,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -17542,6 +18108,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -17578,6 +18146,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -17618,6 +18188,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -17653,6 +18225,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -17685,6 +18259,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -17725,6 +18301,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -17762,6 +18340,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -17797,6 +18377,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -17841,6 +18423,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -17897,6 +18481,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -17938,6 +18524,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -17979,6 +18567,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -18046,6 +18636,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -18088,6 +18680,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -18123,6 +18717,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -18154,6 +18750,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -18194,6 +18792,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -18227,6 +18827,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -18266,6 +18868,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -18313,6 +18917,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -18368,6 +18974,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -18409,6 +19017,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -18450,6 +19060,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -18486,6 +19098,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -18526,6 +19140,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -18561,6 +19177,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -18599,6 +19217,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -18636,6 +19256,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -18672,6 +19294,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -18709,6 +19333,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -18750,6 +19376,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -18784,6 +19412,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -18824,6 +19454,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -18859,6 +19491,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -18906,6 +19540,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -18952,6 +19588,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -18986,6 +19624,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -19034,6 +19674,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -19075,6 +19717,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -19115,6 +19759,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -19146,6 +19792,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -19180,6 +19828,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -19218,6 +19868,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -19263,6 +19915,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -19300,6 +19954,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -19331,6 +19987,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -19369,6 +20027,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -19413,6 +20073,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -19446,6 +20108,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -19484,6 +20148,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -19521,6 +20187,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -19548,6 +20216,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -19579,6 +20249,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -19609,6 +20281,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -19649,6 +20323,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -19685,6 +20361,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -19721,6 +20399,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -19761,6 +20441,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -19812,6 +20494,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -19835,6 +20519,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -19866,6 +20552,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': diff --git a/management/go.mod b/management/go.mod index 11f4945e..dab5ad94 100644 --- a/management/go.mod +++ b/management/go.mod @@ -2,4 +2,4 @@ module github.com/patrickcping/pingone-go-sdk-v2/management go 1.18 -require golang.org/x/exp v0.0.0-20231006140011-7918f672742d +require golang.org/x/exp v0.0.0-20231108232855-2478ac86f678 diff --git a/management/go.sum b/management/go.sum index 9a43984a..696db921 100644 --- a/management/go.sum +++ b/management/go.sum @@ -1,2 +1,2 @@ -golang.org/x/exp v0.0.0-20231006140011-7918f672742d h1:jtJma62tbqLibJ5sFQz8bKtEM8rJBtfilJ2qTU199MI= -golang.org/x/exp v0.0.0-20231006140011-7918f672742d/go.mod h1:ldy0pHrwJyGW56pPQzzkH36rKxoZW1tw7ZJpeKx+hdo= +golang.org/x/exp v0.0.0-20231108232855-2478ac86f678 h1:mchzmB1XO2pMaKFRqk/+MV3mgGG96aqaPXaMifQU47w= +golang.org/x/exp v0.0.0-20231108232855-2478ac86f678/go.mod h1:zk2irFbV9DP96SEBUUAy67IdHUaZuSnrz1n472HUCLE= diff --git a/management/model_p1_error_details_inner_inner_error.go b/management/model_p1_error_details_inner_inner_error.go index d4e0a4c3..ac175dd2 100644 --- a/management/model_p1_error_details_inner_inner_error.go +++ b/management/model_p1_error_details_inner_inner_error.go @@ -29,6 +29,7 @@ type P1ErrorDetailsInnerInnerError struct { AllowedValues []string `json:"allowedValues,omitempty"` // The maximum value allowed for the request. MaximumValue *int32 `json:"maximumValue,omitempty"` + ReferencedValues []string `json:"referencedValues,omitempty"` } // NewP1ErrorDetailsInnerInnerError instantiates a new P1ErrorDetailsInnerInnerError object @@ -208,6 +209,38 @@ func (o *P1ErrorDetailsInnerInnerError) SetMaximumValue(v int32) { o.MaximumValue = &v } +// GetReferencedValues returns the ReferencedValues field value if set, zero value otherwise. +func (o *P1ErrorDetailsInnerInnerError) GetReferencedValues() []string { + if o == nil || IsNil(o.ReferencedValues) { + var ret []string + return ret + } + return o.ReferencedValues +} + +// GetReferencedValuesOk returns a tuple with the ReferencedValues field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P1ErrorDetailsInnerInnerError) GetReferencedValuesOk() ([]string, bool) { + if o == nil || IsNil(o.ReferencedValues) { + return nil, false + } + return o.ReferencedValues, true +} + +// HasReferencedValues returns a boolean if a field has been set. +func (o *P1ErrorDetailsInnerInnerError) HasReferencedValues() bool { + if o != nil && !IsNil(o.ReferencedValues) { + return true + } + + return false +} + +// SetReferencedValues gets a reference to the given []string and assigns it to the ReferencedValues field. +func (o *P1ErrorDetailsInnerInnerError) SetReferencedValues(v []string) { + o.ReferencedValues = v +} + func (o P1ErrorDetailsInnerInnerError) MarshalJSON() ([]byte, error) { toSerialize,err := o.ToMap() if err != nil { @@ -233,6 +266,9 @@ func (o P1ErrorDetailsInnerInnerError) ToMap() (map[string]interface{}, error) { if !IsNil(o.MaximumValue) { toSerialize["maximumValue"] = o.MaximumValue } + if !IsNil(o.ReferencedValues) { + toSerialize["referencedValues"] = o.ReferencedValues + } return toSerialize, nil } diff --git a/mfa/.version b/mfa/.version index 07feb823..47d04a52 100644 --- a/mfa/.version +++ b/mfa/.version @@ -1 +1 @@ -0.17.0 \ No newline at end of file +0.18.0 \ No newline at end of file diff --git a/mfa/CHANGELOG.md b/mfa/CHANGELOG.md index e9738805..88e2e4c8 100644 --- a/mfa/CHANGELOG.md +++ b/mfa/CHANGELOG.md @@ -1,3 +1,8 @@ +# v0.18.0 (Unreleased) + +* **Enhancement** Add API error handling for `409` errors. [#279](https://github.com/patrickcping/pingone-go-sdk-v2/pull/279) +* **Enhancement** Added the `ReferencedValues` property to the `P1ErrorDetailsInnerInnerError` object model. [#279](https://github.com/patrickcping/pingone-go-sdk-v2/pull/279) + # v0.17.0 (2023-10-16) * **Note** Unskip read only attributes when converting API models to maps. [#255](https://github.com/patrickcping/pingone-go-sdk-v2/pull/255) diff --git a/mfa/README.md b/mfa/README.md index 09764553..f2845082 100644 --- a/mfa/README.md +++ b/mfa/README.md @@ -6,7 +6,7 @@ The PingOne Platform API covering the PingOne MFA service This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. - API version: 2023-06-29 -- Package version: 0.17.0 +- Package version: 0.18.0 - Build package: org.openapitools.codegen.languages.GoClientCodegen ## Installation diff --git a/mfa/api/openapi.yaml b/mfa/api/openapi.yaml index eb1b5daa..96596661 100644 --- a/mfa/api/openapi.yaml +++ b/mfa/api/openapi.yaml @@ -84,6 +84,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -160,6 +166,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -240,6 +252,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -307,6 +325,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -383,6 +407,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -441,6 +471,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -520,6 +556,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -591,6 +633,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -651,6 +699,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -720,6 +774,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -778,6 +838,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -847,6 +913,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -912,6 +984,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -972,6 +1050,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -1031,6 +1115,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -1101,6 +1191,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -1167,6 +1263,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -1228,6 +1330,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -1298,6 +1406,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -1356,6 +1470,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -1425,6 +1545,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -1490,6 +1616,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -1559,6 +1691,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -1628,6 +1766,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -1686,6 +1830,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -1743,6 +1893,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -1805,6 +1961,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -1877,6 +2039,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -1936,6 +2104,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -2024,6 +2198,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -2093,6 +2273,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -2159,6 +2345,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -2249,6 +2441,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -2325,6 +2523,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -2401,6 +2605,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -2464,6 +2674,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -2533,6 +2749,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -2604,6 +2826,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -2670,6 +2898,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -2747,6 +2981,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -2798,6 +3038,12 @@ components: schema: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -5316,6 +5562,10 @@ components: maximumValue: description: The maximum value allowed for the request. type: integer + referencedValues: + items: + type: string + type: array type: object P1Error_details_inner: properties: diff --git a/mfa/api_applications_application_mfa_push_credentials.go b/mfa/api_applications_application_mfa_push_credentials.go index 04332eda..3553118b 100644 --- a/mfa/api_applications_application_mfa_push_credentials.go +++ b/mfa/api_applications_application_mfa_push_credentials.go @@ -192,6 +192,17 @@ func (a *ApplicationsApplicationMFAPushCredentialsApiService) internalCreateMFAP newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -390,6 +401,17 @@ func (a *ApplicationsApplicationMFAPushCredentialsApiService) internalDeleteMFAP newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -568,6 +590,17 @@ func (a *ApplicationsApplicationMFAPushCredentialsApiService) internalReadAllMFA newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -759,6 +792,17 @@ func (a *ApplicationsApplicationMFAPushCredentialsApiService) internalReadOneMFA newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -958,6 +1002,17 @@ func (a *ApplicationsApplicationMFAPushCredentialsApiService) internalUpdateMFAP newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/mfa/api_device_authentication_policy.go b/mfa/api_device_authentication_policy.go index ae88490c..56755c53 100644 --- a/mfa/api_device_authentication_policy.go +++ b/mfa/api_device_authentication_policy.go @@ -197,6 +197,17 @@ func (a *DeviceAuthenticationPolicyApiService) internalCreateDeviceAuthenticatio newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -382,6 +393,17 @@ func (a *DeviceAuthenticationPolicyApiService) internalDeleteDeviceAuthenticatio newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -556,6 +578,17 @@ func (a *DeviceAuthenticationPolicyApiService) internalReadDeviceAuthenticationP newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -743,6 +776,17 @@ func (a *DeviceAuthenticationPolicyApiService) internalReadOneDeviceAuthenticati newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -938,6 +982,17 @@ func (a *DeviceAuthenticationPolicyApiService) internalUpdateDeviceAuthenticatio newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/mfa/api_enable_users_mfa.go b/mfa/api_enable_users_mfa.go index 89815b40..40f6c6e8 100644 --- a/mfa/api_enable_users_mfa.go +++ b/mfa/api_enable_users_mfa.go @@ -173,6 +173,17 @@ func (a *EnableUsersMFAApiService) internalReadUserMFAEnabledExecute(r ApiReadUs newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -368,6 +379,17 @@ func (a *EnableUsersMFAApiService) internalUpdateUserMFAEnabledExecute(r ApiUpda newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/mfa/api_fido2_policy.go b/mfa/api_fido2_policy.go index 47859318..df35df2d 100644 --- a/mfa/api_fido2_policy.go +++ b/mfa/api_fido2_policy.go @@ -188,6 +188,17 @@ func (a *FIDO2PolicyApiService) internalCreateFIDO2PolicyExecute(r ApiCreateFIDO newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -373,6 +384,17 @@ func (a *FIDO2PolicyApiService) internalDeleteFIDO2PolicyExecute(r ApiDeleteFIDO newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -547,6 +569,17 @@ func (a *FIDO2PolicyApiService) internalReadFIDO2PoliciesExecute(r ApiReadFIDO2P newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -743,6 +776,17 @@ func (a *FIDO2PolicyApiService) internalReadOneFIDO2PolicyExecute(r ApiReadOneFI newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -938,6 +982,17 @@ func (a *FIDO2PolicyApiService) internalUpdateFIDO2PolicyExecute(r ApiUpdateFIDO newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/mfa/api_fido_device.go b/mfa/api_fido_device.go index 7a411cf6..c36980c7 100644 --- a/mfa/api_fido_device.go +++ b/mfa/api_fido_device.go @@ -172,6 +172,17 @@ func (a *FIDODeviceApiService) CreateFidoDeviceExecute(r ApiCreateFidoDeviceRequ newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -357,6 +368,17 @@ func (a *FIDODeviceApiService) internalDeleteFidoDeviceExecute(r ApiDeleteFidoDe newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -531,6 +553,17 @@ func (a *FIDODeviceApiService) internalReadFidoDevicesExecute(r ApiReadFidoDevic newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -702,6 +735,17 @@ func (a *FIDODeviceApiService) ReadOneFidoDeviceExecute(r ApiReadOneFidoDeviceRe newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/mfa/api_fido_policy.go b/mfa/api_fido_policy.go index fb309672..b5c1ff52 100644 --- a/mfa/api_fido_policy.go +++ b/mfa/api_fido_policy.go @@ -191,6 +191,17 @@ func (a *FIDOPolicyApiService) internalCreateFidoPolicyExecute(r ApiCreateFidoPo newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -379,6 +390,17 @@ func (a *FIDOPolicyApiService) internalDeleteFidoPolicyExecute(r ApiDeleteFidoPo newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -556,6 +578,17 @@ func (a *FIDOPolicyApiService) internalReadFidoPoliciesExecute(r ApiReadFidoPoli newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -746,6 +779,17 @@ func (a *FIDOPolicyApiService) internalReadOneFidoPolicyExecute(r ApiReadOneFido newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -944,6 +988,17 @@ func (a *FIDOPolicyApiService) internalUpdateFIDOPolicyExecute(r ApiUpdateFIDOPo newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/mfa/api_mfa_settings.go b/mfa/api_mfa_settings.go index 98f2abb7..f5818ea6 100644 --- a/mfa/api_mfa_settings.go +++ b/mfa/api_mfa_settings.go @@ -169,6 +169,17 @@ func (a *MFASettingsApiService) internalReadMFASettingsExecute(r ApiReadMFASetti newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -352,6 +363,17 @@ func (a *MFASettingsApiService) internalResetMFASettingsExecute(r ApiResetMFASet newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -543,6 +565,17 @@ func (a *MFASettingsApiService) internalUpdateMFASettingsExecute(r ApiUpdateMFAS newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/mfa/api_user_mfa_devices.go b/mfa/api_user_mfa_devices.go index 52c46293..6d6d9575 100644 --- a/mfa/api_user_mfa_devices.go +++ b/mfa/api_user_mfa_devices.go @@ -180,6 +180,17 @@ func (a *UserMFADevicesApiService) internalEnvironmentsEnvironmentIDUsersUserIDD newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -360,6 +371,17 @@ func (a *UserMFADevicesApiService) internalEnvironmentsEnvironmentIDUsersUserIDD newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -540,6 +562,17 @@ func (a *UserMFADevicesApiService) internalEnvironmentsEnvironmentIDUsersUserIDD newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -728,6 +761,17 @@ func (a *UserMFADevicesApiService) internalEnvironmentsEnvironmentIDUsersUserIDD newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -916,6 +960,17 @@ func (a *UserMFADevicesApiService) internalEnvironmentsEnvironmentIDUsersUserIDD newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -1124,6 +1179,17 @@ func (a *UserMFADevicesApiService) internalEnvironmentsEnvironmentIDUsersUserIDD newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -1300,6 +1366,17 @@ func (a *UserMFADevicesApiService) internalEnvironmentsEnvironmentIDUsersUserIDD newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -1504,6 +1581,17 @@ func (a *UserMFADevicesApiService) internalEnvironmentsEnvironmentIDUsersUserIDD newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/mfa/api_user_mfa_pairing_keys.go b/mfa/api_user_mfa_pairing_keys.go index 9dcf5b61..8f483af7 100644 --- a/mfa/api_user_mfa_pairing_keys.go +++ b/mfa/api_user_mfa_pairing_keys.go @@ -175,6 +175,17 @@ func (a *UserMFAPairingKeysApiService) internalEnvironmentsEnvironmentIDUsersUse newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -355,6 +366,17 @@ func (a *UserMFAPairingKeysApiService) internalEnvironmentsEnvironmentIDUsersUse newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -550,6 +572,17 @@ func (a *UserMFAPairingKeysApiService) internalEnvironmentsEnvironmentIDUsersUse newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/mfa/configuration.go b/mfa/configuration.go index 626da29f..3d6a348f 100644 --- a/mfa/configuration.go +++ b/mfa/configuration.go @@ -91,7 +91,7 @@ type Configuration struct { func NewConfiguration() *Configuration { cfg := &Configuration{ DefaultHeader: make(map[string]string), - UserAgent: "pingtools PingOne-GOLANG-SDK (mfa)/0.17.0 go", + UserAgent: "pingtools PingOne-GOLANG-SDK (mfa)/0.18.0 go", Debug: false, DefaultServerIndex: 0, Servers: ServerConfigurations{ diff --git a/mfa/docs/P1ErrorDetailsInnerInnerError.md b/mfa/docs/P1ErrorDetailsInnerInnerError.md index 22b4ead4..4a8d5480 100644 --- a/mfa/docs/P1ErrorDetailsInnerInnerError.md +++ b/mfa/docs/P1ErrorDetailsInnerInnerError.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **AllowedPattern** | Pointer to **string** | A regex pattern describing an acceptable input pattern. | [optional] **AllowedValues** | Pointer to **[]string** | A list describing acceptable values. | [optional] **MaximumValue** | Pointer to **int32** | The maximum value allowed for the request. | [optional] +**ReferencedValues** | Pointer to **[]string** | | [optional] ## Methods @@ -154,6 +155,31 @@ SetMaximumValue sets MaximumValue field to given value. HasMaximumValue returns a boolean if a field has been set. +### GetReferencedValues + +`func (o *P1ErrorDetailsInnerInnerError) GetReferencedValues() []string` + +GetReferencedValues returns the ReferencedValues field if non-nil, zero value otherwise. + +### GetReferencedValuesOk + +`func (o *P1ErrorDetailsInnerInnerError) GetReferencedValuesOk() (*[]string, bool)` + +GetReferencedValuesOk returns a tuple with the ReferencedValues field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReferencedValues + +`func (o *P1ErrorDetailsInnerInnerError) SetReferencedValues(v []string)` + +SetReferencedValues sets ReferencedValues field to given value. + +### HasReferencedValues + +`func (o *P1ErrorDetailsInnerInnerError) HasReferencedValues() bool` + +HasReferencedValues returns a boolean if a field has been set. + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/mfa/generate/pingone-mfa.yml b/mfa/generate/pingone-mfa.yml index bd5ed742..ba38d5db 100644 --- a/mfa/generate/pingone-mfa.yml +++ b/mfa/generate/pingone-mfa.yml @@ -973,6 +973,10 @@ components: maximumValue: description: The maximum value allowed for the request. type: integer + referencedValues: + type: array + items: + type: string UserMFAEnabled: type: object properties: @@ -1014,6 +1018,12 @@ components: application/json: schema: $ref: '#/components/schemas/P1Error' + '409': + description: Conflict. + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' '429': description: Request was rate limited content: @@ -1064,6 +1074,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -1109,6 +1121,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -1150,6 +1164,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -1203,6 +1219,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -1248,6 +1266,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -1275,6 +1295,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -1319,6 +1341,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -1361,6 +1385,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -1401,6 +1427,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -1436,6 +1464,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -1463,6 +1493,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -1500,6 +1532,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -1536,6 +1570,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -1571,6 +1607,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -1599,6 +1637,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -1637,6 +1677,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -1674,6 +1716,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -1715,6 +1759,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -1751,6 +1797,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -1778,6 +1826,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -1815,6 +1865,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -1856,6 +1908,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -1896,6 +1950,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -1931,6 +1987,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -1958,6 +2016,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -1993,6 +2053,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -2023,6 +2085,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -2077,6 +2141,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -2109,6 +2175,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -2146,6 +2214,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -2196,6 +2266,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -2233,6 +2305,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -2270,6 +2344,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -2313,6 +2389,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -2358,6 +2436,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -2392,6 +2472,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -2434,6 +2516,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -2474,6 +2558,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -2511,6 +2597,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -2552,6 +2640,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': diff --git a/mfa/go.mod b/mfa/go.mod index 5e054d7b..682c8342 100644 --- a/mfa/go.mod +++ b/mfa/go.mod @@ -2,4 +2,4 @@ module github.com/patrickcping/pingone-go-sdk-v2/mfa go 1.18 -require golang.org/x/exp v0.0.0-20230905200255-921286631fa9 +require golang.org/x/exp v0.0.0-20231108232855-2478ac86f678 diff --git a/mfa/go.sum b/mfa/go.sum index fa6da3f7..696db921 100644 --- a/mfa/go.sum +++ b/mfa/go.sum @@ -1,2 +1,2 @@ -golang.org/x/exp v0.0.0-20230905200255-921286631fa9 h1:GoHiUyI/Tp2nVkLI2mCxVkOjsbSXD66ic0XW0js0R9g= -golang.org/x/exp v0.0.0-20230905200255-921286631fa9/go.mod h1:S2oDrQGGwySpoQPVqRShND87VCbxmc6bL1Yd2oYrm6k= +golang.org/x/exp v0.0.0-20231108232855-2478ac86f678 h1:mchzmB1XO2pMaKFRqk/+MV3mgGG96aqaPXaMifQU47w= +golang.org/x/exp v0.0.0-20231108232855-2478ac86f678/go.mod h1:zk2irFbV9DP96SEBUUAy67IdHUaZuSnrz1n472HUCLE= diff --git a/mfa/model_p1_error_details_inner_inner_error.go b/mfa/model_p1_error_details_inner_inner_error.go index f8922071..511f761e 100644 --- a/mfa/model_p1_error_details_inner_inner_error.go +++ b/mfa/model_p1_error_details_inner_inner_error.go @@ -29,6 +29,7 @@ type P1ErrorDetailsInnerInnerError struct { AllowedValues []string `json:"allowedValues,omitempty"` // The maximum value allowed for the request. MaximumValue *int32 `json:"maximumValue,omitempty"` + ReferencedValues []string `json:"referencedValues,omitempty"` } // NewP1ErrorDetailsInnerInnerError instantiates a new P1ErrorDetailsInnerInnerError object @@ -208,6 +209,38 @@ func (o *P1ErrorDetailsInnerInnerError) SetMaximumValue(v int32) { o.MaximumValue = &v } +// GetReferencedValues returns the ReferencedValues field value if set, zero value otherwise. +func (o *P1ErrorDetailsInnerInnerError) GetReferencedValues() []string { + if o == nil || IsNil(o.ReferencedValues) { + var ret []string + return ret + } + return o.ReferencedValues +} + +// GetReferencedValuesOk returns a tuple with the ReferencedValues field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P1ErrorDetailsInnerInnerError) GetReferencedValuesOk() ([]string, bool) { + if o == nil || IsNil(o.ReferencedValues) { + return nil, false + } + return o.ReferencedValues, true +} + +// HasReferencedValues returns a boolean if a field has been set. +func (o *P1ErrorDetailsInnerInnerError) HasReferencedValues() bool { + if o != nil && !IsNil(o.ReferencedValues) { + return true + } + + return false +} + +// SetReferencedValues gets a reference to the given []string and assigns it to the ReferencedValues field. +func (o *P1ErrorDetailsInnerInnerError) SetReferencedValues(v []string) { + o.ReferencedValues = v +} + func (o P1ErrorDetailsInnerInnerError) MarshalJSON() ([]byte, error) { toSerialize,err := o.ToMap() if err != nil { @@ -233,6 +266,9 @@ func (o P1ErrorDetailsInnerInnerError) ToMap() (map[string]interface{}, error) { if !IsNil(o.MaximumValue) { toSerialize["maximumValue"] = o.MaximumValue } + if !IsNil(o.ReferencedValues) { + toSerialize["referencedValues"] = o.ReferencedValues + } return toSerialize, nil } diff --git a/pingone/model/model_p1_error_details_inner_inner_error.go b/pingone/model/model_p1_error_details_inner_inner_error.go index ddd406de..2c3bf577 100644 --- a/pingone/model/model_p1_error_details_inner_inner_error.go +++ b/pingone/model/model_p1_error_details_inner_inner_error.go @@ -23,7 +23,8 @@ type P1ErrorDetailsInnerInnerError struct { // A list describing acceptable values. AllowedValues []string `json:"allowedValues,omitempty"` // The maximum value allowed for the request. - MaximumValue *int32 `json:"maximumValue,omitempty"` + MaximumValue *int32 `json:"maximumValue,omitempty"` + ReferencedValues []string `json:"referencedValues,omitempty"` } // NewP1ErrorDetailsInnerInnerError instantiates a new P1ErrorDetailsInnerInnerError object @@ -203,6 +204,38 @@ func (o *P1ErrorDetailsInnerInnerError) SetMaximumValue(v int32) { o.MaximumValue = &v } +// GetReferencedValues returns the ReferencedValues field value if set, zero value otherwise. +func (o *P1ErrorDetailsInnerInnerError) GetReferencedValues() []string { + if o == nil || o.ReferencedValues == nil { + var ret []string + return ret + } + return o.ReferencedValues +} + +// GetReferencedValuesOk returns a tuple with the ReferencedValues field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P1ErrorDetailsInnerInnerError) GetReferencedValuesOk() ([]string, bool) { + if o == nil || o.ReferencedValues == nil { + return nil, false + } + return o.ReferencedValues, true +} + +// HasReferencedValues returns a boolean if a field has been set. +func (o *P1ErrorDetailsInnerInnerError) HasReferencedValues() bool { + if o != nil && o.ReferencedValues != nil { + return true + } + + return false +} + +// SetReferencedValues gets a reference to the given []string and assigns it to the ReferencedValues field. +func (o *P1ErrorDetailsInnerInnerError) SetReferencedValues(v []string) { + o.ReferencedValues = v +} + func (o P1ErrorDetailsInnerInnerError) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} if o.RangeMinimumValue != nil { @@ -220,6 +253,9 @@ func (o P1ErrorDetailsInnerInnerError) MarshalJSON() ([]byte, error) { if o.MaximumValue != nil { toSerialize["maximumValue"] = o.MaximumValue } + if o.ReferencedValues != nil { + toSerialize["referencedValues"] = o.ReferencedValues + } return json.Marshal(toSerialize) } diff --git a/risk/.version b/risk/.version index 142464bf..d33c3a21 100644 --- a/risk/.version +++ b/risk/.version @@ -1 +1 @@ -0.11.0 \ No newline at end of file +0.12.0 \ No newline at end of file diff --git a/risk/CHANGELOG.md b/risk/CHANGELOG.md index e4e92268..5922bb8d 100644 --- a/risk/CHANGELOG.md +++ b/risk/CHANGELOG.md @@ -1,3 +1,8 @@ +# v0.12.0 (Unreleased) + +* **Enhancement** Add API error handling for `409` errors. [#279](https://github.com/patrickcping/pingone-go-sdk-v2/pull/279) +* **Enhancement** Added the `ReferencedValues` property to the `P1ErrorDetailsInnerInnerError` object model. [#279](https://github.com/patrickcping/pingone-go-sdk-v2/pull/279) + # v0.11.0 (2023-10-16) * **Note** Unskip read only attributes when converting API models to maps. [#255](https://github.com/patrickcping/pingone-go-sdk-v2/pull/255) diff --git a/risk/README.md b/risk/README.md index ebe6d081..99578763 100644 --- a/risk/README.md +++ b/risk/README.md @@ -6,7 +6,7 @@ The PingOne Platform API covering the PingOne Risk service This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. - API version: 2023-06-29 -- Package version: 0.11.0 +- Package version: 0.12.0 - Build package: org.openapitools.codegen.languages.GoClientCodegen ## Installation diff --git a/risk/api/openapi.yaml b/risk/api/openapi.yaml index 9522e56f..7f9b3ab0 100644 --- a/risk/api/openapi.yaml +++ b/risk/api/openapi.yaml @@ -73,6 +73,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -142,6 +148,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -207,6 +219,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -267,6 +285,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -336,6 +360,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -406,6 +436,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -471,6 +507,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -541,6 +583,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -599,6 +647,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -668,6 +722,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -733,6 +793,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -793,6 +859,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -862,6 +934,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -915,6 +993,12 @@ components: schema: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -2597,6 +2681,10 @@ components: maximumValue: description: The maximum value allowed for the request. type: integer + referencedValues: + items: + type: string + type: array type: object P1Error_details_inner: properties: diff --git a/risk/api_risk_advanced_predictors.go b/risk/api_risk_advanced_predictors.go index 01f3b5f6..258b6c46 100644 --- a/risk/api_risk_advanced_predictors.go +++ b/risk/api_risk_advanced_predictors.go @@ -188,6 +188,17 @@ func (a *RiskAdvancedPredictorsApiService) internalCreateRiskPredictorExecute(r newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -373,6 +384,17 @@ func (a *RiskAdvancedPredictorsApiService) internalDeleteRiskAdvancedPredictorEx newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -547,6 +569,17 @@ func (a *RiskAdvancedPredictorsApiService) internalReadAllRiskPredictorsExecute( newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -734,6 +767,17 @@ func (a *RiskAdvancedPredictorsApiService) internalReadOneRiskPredictorExecute(r newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -929,6 +973,17 @@ func (a *RiskAdvancedPredictorsApiService) internalUpdateRiskPredictorExecute(r newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/risk/api_risk_evaluations.go b/risk/api_risk_evaluations.go index 28c58842..b8593a6d 100644 --- a/risk/api_risk_evaluations.go +++ b/risk/api_risk_evaluations.go @@ -188,6 +188,17 @@ func (a *RiskEvaluationsApiService) internalCreateRiskEvaluationExecute(r ApiCre newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -375,6 +386,17 @@ func (a *RiskEvaluationsApiService) internalReadOneRiskEvaluationExecute(r ApiRe newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -570,6 +592,17 @@ func (a *RiskEvaluationsApiService) internalUpdateRiskEvaluationExecute(r ApiUpd newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/risk/api_risk_policies.go b/risk/api_risk_policies.go index cceb4271..3619a8fe 100644 --- a/risk/api_risk_policies.go +++ b/risk/api_risk_policies.go @@ -188,6 +188,17 @@ func (a *RiskPoliciesApiService) internalCreateRiskPolicySetExecute(r ApiCreateR newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -373,6 +384,17 @@ func (a *RiskPoliciesApiService) internalDeleteRiskPolicySetExecute(r ApiDeleteR newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -551,6 +573,17 @@ func (a *RiskPoliciesApiService) internalReadOneRiskPolicySetExecute(r ApiReadOn newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -734,6 +767,17 @@ func (a *RiskPoliciesApiService) internalReadRiskPolicySetsExecute(r ApiReadRisk newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -929,6 +973,17 @@ func (a *RiskPoliciesApiService) internalUpdateRiskPolicySetExecute(r ApiUpdateR newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/risk/configuration.go b/risk/configuration.go index 5fdc26f6..bbc9a477 100644 --- a/risk/configuration.go +++ b/risk/configuration.go @@ -91,7 +91,7 @@ type Configuration struct { func NewConfiguration() *Configuration { cfg := &Configuration{ DefaultHeader: make(map[string]string), - UserAgent: "pingtools PingOne-GOLANG-SDK (risk)/0.11.0 go", + UserAgent: "pingtools PingOne-GOLANG-SDK (risk)/0.12.0 go", Debug: false, DefaultServerIndex: 0, Servers: ServerConfigurations{ diff --git a/risk/docs/P1ErrorDetailsInnerInnerError.md b/risk/docs/P1ErrorDetailsInnerInnerError.md index 22b4ead4..4a8d5480 100644 --- a/risk/docs/P1ErrorDetailsInnerInnerError.md +++ b/risk/docs/P1ErrorDetailsInnerInnerError.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **AllowedPattern** | Pointer to **string** | A regex pattern describing an acceptable input pattern. | [optional] **AllowedValues** | Pointer to **[]string** | A list describing acceptable values. | [optional] **MaximumValue** | Pointer to **int32** | The maximum value allowed for the request. | [optional] +**ReferencedValues** | Pointer to **[]string** | | [optional] ## Methods @@ -154,6 +155,31 @@ SetMaximumValue sets MaximumValue field to given value. HasMaximumValue returns a boolean if a field has been set. +### GetReferencedValues + +`func (o *P1ErrorDetailsInnerInnerError) GetReferencedValues() []string` + +GetReferencedValues returns the ReferencedValues field if non-nil, zero value otherwise. + +### GetReferencedValuesOk + +`func (o *P1ErrorDetailsInnerInnerError) GetReferencedValuesOk() (*[]string, bool)` + +GetReferencedValuesOk returns a tuple with the ReferencedValues field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReferencedValues + +`func (o *P1ErrorDetailsInnerInnerError) SetReferencedValues(v []string)` + +SetReferencedValues sets ReferencedValues field to given value. + +### HasReferencedValues + +`func (o *P1ErrorDetailsInnerInnerError) HasReferencedValues() bool` + +HasReferencedValues returns a boolean if a field has been set. + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/risk/generate/pingone-risk.yml b/risk/generate/pingone-risk.yml index f1bd8b6c..8802cf55 100644 --- a/risk/generate/pingone-risk.yml +++ b/risk/generate/pingone-risk.yml @@ -218,6 +218,10 @@ components: maximumValue: description: The maximum value allowed for the request. type: integer + referencedValues: + type: array + items: + type: string RiskEvaluation: type: object properties: @@ -1235,6 +1239,12 @@ components: application/json: schema: $ref: '#/components/schemas/P1Error' + '409': + description: Conflict. + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' '429': description: Request was rate limited content: @@ -1335,6 +1345,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -1365,6 +1377,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -1401,6 +1415,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -1493,6 +1509,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -1528,6 +1546,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -1639,6 +1659,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -1675,6 +1697,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -1718,6 +1742,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -1784,6 +1810,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -1814,6 +1842,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -1850,6 +1880,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -1918,6 +1950,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -1953,6 +1987,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': diff --git a/risk/go.mod b/risk/go.mod index e80b6b64..d8c9156c 100644 --- a/risk/go.mod +++ b/risk/go.mod @@ -2,4 +2,4 @@ module github.com/patrickcping/pingone-go-sdk-v2/risk go 1.18 -require golang.org/x/exp v0.0.0-20230905200255-921286631fa9 +require golang.org/x/exp v0.0.0-20231108232855-2478ac86f678 diff --git a/risk/go.sum b/risk/go.sum index fa6da3f7..696db921 100644 --- a/risk/go.sum +++ b/risk/go.sum @@ -1,2 +1,2 @@ -golang.org/x/exp v0.0.0-20230905200255-921286631fa9 h1:GoHiUyI/Tp2nVkLI2mCxVkOjsbSXD66ic0XW0js0R9g= -golang.org/x/exp v0.0.0-20230905200255-921286631fa9/go.mod h1:S2oDrQGGwySpoQPVqRShND87VCbxmc6bL1Yd2oYrm6k= +golang.org/x/exp v0.0.0-20231108232855-2478ac86f678 h1:mchzmB1XO2pMaKFRqk/+MV3mgGG96aqaPXaMifQU47w= +golang.org/x/exp v0.0.0-20231108232855-2478ac86f678/go.mod h1:zk2irFbV9DP96SEBUUAy67IdHUaZuSnrz1n472HUCLE= diff --git a/risk/model_p1_error_details_inner_inner_error.go b/risk/model_p1_error_details_inner_inner_error.go index d5f05d5c..6f3d6bd6 100644 --- a/risk/model_p1_error_details_inner_inner_error.go +++ b/risk/model_p1_error_details_inner_inner_error.go @@ -29,6 +29,7 @@ type P1ErrorDetailsInnerInnerError struct { AllowedValues []string `json:"allowedValues,omitempty"` // The maximum value allowed for the request. MaximumValue *int32 `json:"maximumValue,omitempty"` + ReferencedValues []string `json:"referencedValues,omitempty"` } // NewP1ErrorDetailsInnerInnerError instantiates a new P1ErrorDetailsInnerInnerError object @@ -208,6 +209,38 @@ func (o *P1ErrorDetailsInnerInnerError) SetMaximumValue(v int32) { o.MaximumValue = &v } +// GetReferencedValues returns the ReferencedValues field value if set, zero value otherwise. +func (o *P1ErrorDetailsInnerInnerError) GetReferencedValues() []string { + if o == nil || IsNil(o.ReferencedValues) { + var ret []string + return ret + } + return o.ReferencedValues +} + +// GetReferencedValuesOk returns a tuple with the ReferencedValues field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P1ErrorDetailsInnerInnerError) GetReferencedValuesOk() ([]string, bool) { + if o == nil || IsNil(o.ReferencedValues) { + return nil, false + } + return o.ReferencedValues, true +} + +// HasReferencedValues returns a boolean if a field has been set. +func (o *P1ErrorDetailsInnerInnerError) HasReferencedValues() bool { + if o != nil && !IsNil(o.ReferencedValues) { + return true + } + + return false +} + +// SetReferencedValues gets a reference to the given []string and assigns it to the ReferencedValues field. +func (o *P1ErrorDetailsInnerInnerError) SetReferencedValues(v []string) { + o.ReferencedValues = v +} + func (o P1ErrorDetailsInnerInnerError) MarshalJSON() ([]byte, error) { toSerialize,err := o.ToMap() if err != nil { @@ -233,6 +266,9 @@ func (o P1ErrorDetailsInnerInnerError) ToMap() (map[string]interface{}, error) { if !IsNil(o.MaximumValue) { toSerialize["maximumValue"] = o.MaximumValue } + if !IsNil(o.ReferencedValues) { + toSerialize["referencedValues"] = o.ReferencedValues + } return toSerialize, nil } diff --git a/verify/CHANGELOG.md b/verify/CHANGELOG.md index 2e6e8210..cc818267 100644 --- a/verify/CHANGELOG.md +++ b/verify/CHANGELOG.md @@ -1,6 +1,8 @@ # v0.4.0 (Unreleased) * **Enhancement** Added the `InspectionType` property to the `GovernmentIdConfiguration` object model. [#278](https://github.com/patrickcping/pingone-go-sdk-v2/pull/278) +* **Enhancement** Add API error handling for `409` errors. [#279](https://github.com/patrickcping/pingone-go-sdk-v2/pull/279) +* **Enhancement** Added the `ReferencedValues` property to the `P1ErrorDetailsInnerInnerError` object model. [#279](https://github.com/patrickcping/pingone-go-sdk-v2/pull/279) # v0.3.1 (2023-10-16) diff --git a/verify/api/openapi.yaml b/verify/api/openapi.yaml index 95945ca3..da50f408 100644 --- a/verify/api/openapi.yaml +++ b/verify/api/openapi.yaml @@ -70,6 +70,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -192,6 +198,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -257,6 +269,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -317,6 +335,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -398,6 +422,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -456,6 +486,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -527,6 +563,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -592,6 +634,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -652,6 +700,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -723,6 +777,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -788,6 +848,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -867,6 +933,12 @@ paths: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP\ \ request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -939,6 +1011,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -1006,6 +1084,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -1085,6 +1169,12 @@ paths: schema: $ref: '#/components/schemas/P1Error' description: Not found. + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -1138,6 +1228,12 @@ components: schema: $ref: '#/components/schemas/P1Error' description: "Invalid request received. Malformed JSON, malformed HTTP request." + "409": + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' + description: Conflict. "429": content: application/json: @@ -2154,6 +2250,10 @@ components: maximumValue: description: The maximum value allowed for the request. type: integer + referencedValues: + items: + type: string + type: array type: object P1Error_details_inner: properties: diff --git a/verify/api_verify_policies.go b/verify/api_verify_policies.go index b68928f3..763e3f82 100644 --- a/verify/api_verify_policies.go +++ b/verify/api_verify_policies.go @@ -188,6 +188,17 @@ func (a *VerifyPoliciesApiService) internalCreateVerifyPolicyExecute(r ApiCreate newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -373,6 +384,17 @@ func (a *VerifyPoliciesApiService) internalDeleteVerifyPolicyExecute(r ApiDelete newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -547,6 +569,17 @@ func (a *VerifyPoliciesApiService) internalReadAllVerifyPoliciesExecute(r ApiRea newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -734,6 +767,17 @@ func (a *VerifyPoliciesApiService) internalReadOneVerifyPolicyExecute(r ApiReadO newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -929,6 +973,17 @@ func (a *VerifyPoliciesApiService) internalUpdateVerifyPolicyExecute(r ApiUpdate newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/verify/api_voice_phrase_contents.go b/verify/api_voice_phrase_contents.go index 54e0fff7..ca18af51 100644 --- a/verify/api_voice_phrase_contents.go +++ b/verify/api_voice_phrase_contents.go @@ -192,6 +192,17 @@ func (a *VoicePhraseContentsApiService) internalCreateVoicePhraseContentExecute( newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -381,6 +392,17 @@ func (a *VoicePhraseContentsApiService) internalDeleteVoicePhraseContentExecute( newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -559,6 +581,17 @@ func (a *VoicePhraseContentsApiService) internalReadAllVoicePhraseContentsExecut newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -750,6 +783,17 @@ func (a *VoicePhraseContentsApiService) internalReadOneVoicePhraseContentExecute newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -949,6 +993,17 @@ func (a *VoicePhraseContentsApiService) internalUpdateVoicePhraseContentExecute( newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/verify/api_voice_phrases.go b/verify/api_voice_phrases.go index 4607bf40..fbab11a3 100644 --- a/verify/api_voice_phrases.go +++ b/verify/api_voice_phrases.go @@ -188,6 +188,17 @@ func (a *VoicePhrasesApiService) internalCreateVoicePhraseExecute(r ApiCreateVoi newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -373,6 +384,17 @@ func (a *VoicePhrasesApiService) internalDeleteVoicePhraseExecute(r ApiDeleteVoi newErr.model = v return localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -547,6 +569,17 @@ func (a *VoicePhrasesApiService) internalReadAllVoicePhrasesExecute(r ApiReadAll newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -734,6 +767,17 @@ func (a *VoicePhrasesApiService) internalReadOneVoicePhraseExecute(r ApiReadOneV newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -929,6 +973,17 @@ func (a *VoicePhrasesApiService) internalUpdateVoicePhraseExecute(r ApiUpdateVoi newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 409 { + var v P1Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 429 { var v P1Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/verify/docs/P1ErrorDetailsInnerInnerError.md b/verify/docs/P1ErrorDetailsInnerInnerError.md index 22b4ead4..4a8d5480 100644 --- a/verify/docs/P1ErrorDetailsInnerInnerError.md +++ b/verify/docs/P1ErrorDetailsInnerInnerError.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **AllowedPattern** | Pointer to **string** | A regex pattern describing an acceptable input pattern. | [optional] **AllowedValues** | Pointer to **[]string** | A list describing acceptable values. | [optional] **MaximumValue** | Pointer to **int32** | The maximum value allowed for the request. | [optional] +**ReferencedValues** | Pointer to **[]string** | | [optional] ## Methods @@ -154,6 +155,31 @@ SetMaximumValue sets MaximumValue field to given value. HasMaximumValue returns a boolean if a field has been set. +### GetReferencedValues + +`func (o *P1ErrorDetailsInnerInnerError) GetReferencedValues() []string` + +GetReferencedValues returns the ReferencedValues field if non-nil, zero value otherwise. + +### GetReferencedValuesOk + +`func (o *P1ErrorDetailsInnerInnerError) GetReferencedValuesOk() (*[]string, bool)` + +GetReferencedValuesOk returns a tuple with the ReferencedValues field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReferencedValues + +`func (o *P1ErrorDetailsInnerInnerError) SetReferencedValues(v []string)` + +SetReferencedValues sets ReferencedValues field to given value. + +### HasReferencedValues + +`func (o *P1ErrorDetailsInnerInnerError) HasReferencedValues() bool` + +HasReferencedValues returns a boolean if a field has been set. + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/verify/generate/pingone-verify.yml b/verify/generate/pingone-verify.yml index 643e58c2..d5bd452f 100644 --- a/verify/generate/pingone-verify.yml +++ b/verify/generate/pingone-verify.yml @@ -260,6 +260,10 @@ components: maximumValue: description: The maximum value allowed for the request. type: integer + referencedValues: + type: array + items: + type: string TransactionConfiguration: type: object properties: @@ -499,6 +503,12 @@ components: application/json: schema: $ref: '#/components/schemas/P1Error' + '409': + description: Conflict. + content: + application/json: + schema: + $ref: '#/components/schemas/P1Error' '429': description: Request was rate limited content: @@ -597,6 +607,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -627,6 +639,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -663,6 +677,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -715,6 +731,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -750,6 +768,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -786,6 +806,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -816,6 +838,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -852,6 +876,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -894,6 +920,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -929,6 +957,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -971,6 +1001,8 @@ paths: $ref: '#/components/responses/404' '405': $ref: '#/components/responses/405' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -1006,6 +1038,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -1047,6 +1081,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -1095,6 +1131,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': @@ -1135,6 +1173,8 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '429': $ref: '#/components/responses/429' '500': diff --git a/verify/go.mod b/verify/go.mod index b34ac2bf..ea92f0b8 100644 --- a/verify/go.mod +++ b/verify/go.mod @@ -2,4 +2,4 @@ module github.com/patrickcping/pingone-go-sdk-v2/verify go 1.18 -require golang.org/x/exp v0.0.0-20231006140011-7918f672742d +require golang.org/x/exp v0.0.0-20231108232855-2478ac86f678 diff --git a/verify/go.sum b/verify/go.sum index 9a43984a..696db921 100644 --- a/verify/go.sum +++ b/verify/go.sum @@ -1,2 +1,2 @@ -golang.org/x/exp v0.0.0-20231006140011-7918f672742d h1:jtJma62tbqLibJ5sFQz8bKtEM8rJBtfilJ2qTU199MI= -golang.org/x/exp v0.0.0-20231006140011-7918f672742d/go.mod h1:ldy0pHrwJyGW56pPQzzkH36rKxoZW1tw7ZJpeKx+hdo= +golang.org/x/exp v0.0.0-20231108232855-2478ac86f678 h1:mchzmB1XO2pMaKFRqk/+MV3mgGG96aqaPXaMifQU47w= +golang.org/x/exp v0.0.0-20231108232855-2478ac86f678/go.mod h1:zk2irFbV9DP96SEBUUAy67IdHUaZuSnrz1n472HUCLE= diff --git a/verify/model_p1_error_details_inner_inner_error.go b/verify/model_p1_error_details_inner_inner_error.go index f3b52145..bca67ff0 100644 --- a/verify/model_p1_error_details_inner_inner_error.go +++ b/verify/model_p1_error_details_inner_inner_error.go @@ -29,6 +29,7 @@ type P1ErrorDetailsInnerInnerError struct { AllowedValues []string `json:"allowedValues,omitempty"` // The maximum value allowed for the request. MaximumValue *int32 `json:"maximumValue,omitempty"` + ReferencedValues []string `json:"referencedValues,omitempty"` } // NewP1ErrorDetailsInnerInnerError instantiates a new P1ErrorDetailsInnerInnerError object @@ -208,6 +209,38 @@ func (o *P1ErrorDetailsInnerInnerError) SetMaximumValue(v int32) { o.MaximumValue = &v } +// GetReferencedValues returns the ReferencedValues field value if set, zero value otherwise. +func (o *P1ErrorDetailsInnerInnerError) GetReferencedValues() []string { + if o == nil || IsNil(o.ReferencedValues) { + var ret []string + return ret + } + return o.ReferencedValues +} + +// GetReferencedValuesOk returns a tuple with the ReferencedValues field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P1ErrorDetailsInnerInnerError) GetReferencedValuesOk() ([]string, bool) { + if o == nil || IsNil(o.ReferencedValues) { + return nil, false + } + return o.ReferencedValues, true +} + +// HasReferencedValues returns a boolean if a field has been set. +func (o *P1ErrorDetailsInnerInnerError) HasReferencedValues() bool { + if o != nil && !IsNil(o.ReferencedValues) { + return true + } + + return false +} + +// SetReferencedValues gets a reference to the given []string and assigns it to the ReferencedValues field. +func (o *P1ErrorDetailsInnerInnerError) SetReferencedValues(v []string) { + o.ReferencedValues = v +} + func (o P1ErrorDetailsInnerInnerError) MarshalJSON() ([]byte, error) { toSerialize,err := o.ToMap() if err != nil { @@ -233,6 +266,9 @@ func (o P1ErrorDetailsInnerInnerError) ToMap() (map[string]interface{}, error) { if !IsNil(o.MaximumValue) { toSerialize["maximumValue"] = o.MaximumValue } + if !IsNil(o.ReferencedValues) { + toSerialize["referencedValues"] = o.ReferencedValues + } return toSerialize, nil }