From 0d021bfcfca39813d482bd90c3cef035957ba4d3 Mon Sep 17 00:00:00 2001 From: Red Hat Application Services CI <84090353+app-services-ci@users.noreply.github.com> Date: Fri, 1 Jul 2022 10:14:29 +0100 Subject: [PATCH] chore(all): re-generate OpenAPI client(s) (#502) Co-authored-by: app-services-ci --- .../client/.openapi-generator/FILES | 4 + .../apiv1internal/client/README.md | 62 ++++++ .../apiv1internal/client/api/openapi.yaml | 194 ++++++++++++++---- .../client/api_service_accounts.go | 40 ++-- .../apiv1internal/client/configuration.go | 8 + .../client/docs/RedHatErrorRepresentation.md | 82 ++++++++ .../docs/ServiceAccountCreateRequestData.md | 9 +- .../client/docs/ServiceAccountsApi.md | 14 +- .../client/docs/ValidationExceptionData.md | 108 ++++++++++ .../model_red_hat_error_representation.go | 152 ++++++++++++++ ...del_service_account_create_request_data.go | 33 +-- .../client/model_validation_exception_data.go | 188 +++++++++++++++++ smartevents/apiv1alpha/client/README.md | 2 +- .../apiv1alpha/client/api/openapi.yaml | 2 +- smartevents/apiv1alpha/client/api_bridges.go | 2 +- .../apiv1alpha/client/api_cloud_providers.go | 2 +- .../apiv1alpha/client/api_error_catalog.go | 2 +- .../apiv1alpha/client/api_processors.go | 2 +- .../apiv1alpha/client/api_schema_catalog.go | 2 +- smartevents/apiv1alpha/client/client.go | 4 +- .../apiv1alpha/client/configuration.go | 2 +- smartevents/apiv1alpha/client/model_action.go | 2 +- .../apiv1alpha/client/model_base_filter.go | 2 +- .../apiv1alpha/client/model_bridge_error.go | 2 +- .../client/model_bridge_error_type.go | 2 +- .../client/model_bridge_list_response.go | 2 +- .../apiv1alpha/client/model_bridge_request.go | 2 +- .../client/model_bridge_response.go | 2 +- .../model_cloud_provider_list_response.go | 2 +- .../client/model_cloud_provider_response.go | 2 +- .../model_cloud_region_list_response.go | 2 +- .../client/model_cloud_region_response.go | 2 +- .../client/model_error_list_response.go | 2 +- .../apiv1alpha/client/model_error_response.go | 2 +- .../client/model_errors_response.go | 2 +- .../client/model_managed_resource_status.go | 2 +- .../model_processor_catalog_response.go | 2 +- .../client/model_processor_list_response.go | 2 +- .../client/model_processor_request.go | 2 +- .../client/model_processor_response.go | 2 +- .../model_processor_schema_entry_response.go | 2 +- .../apiv1alpha/client/model_processor_type.go | 2 +- smartevents/apiv1alpha/client/model_source.go | 2 +- smartevents/apiv1alpha/client/response.go | 2 +- smartevents/apiv1alpha/client/utils.go | 2 +- 45 files changed, 853 insertions(+), 109 deletions(-) create mode 100644 serviceaccounts/apiv1internal/client/docs/RedHatErrorRepresentation.md create mode 100644 serviceaccounts/apiv1internal/client/docs/ValidationExceptionData.md create mode 100644 serviceaccounts/apiv1internal/client/model_red_hat_error_representation.go create mode 100644 serviceaccounts/apiv1internal/client/model_validation_exception_data.go diff --git a/serviceaccounts/apiv1internal/client/.openapi-generator/FILES b/serviceaccounts/apiv1internal/client/.openapi-generator/FILES index e35c2ac0..04f6b4b0 100644 --- a/serviceaccounts/apiv1internal/client/.openapi-generator/FILES +++ b/serviceaccounts/apiv1internal/client/.openapi-generator/FILES @@ -5,13 +5,17 @@ api_service_accounts.go client.go configuration.go docs/Error.md +docs/RedHatErrorRepresentation.md docs/ServiceAccountCreateRequestData.md docs/ServiceAccountData.md docs/ServiceAccountRequestData.md docs/ServiceAccountsApi.md +docs/ValidationExceptionData.md model_error.go +model_red_hat_error_representation.go model_service_account_create_request_data.go model_service_account_data.go model_service_account_request_data.go +model_validation_exception_data.go response.go utils.go diff --git a/serviceaccounts/apiv1internal/client/README.md b/serviceaccounts/apiv1internal/client/README.md index 863f3df0..23755d84 100644 --- a/serviceaccounts/apiv1internal/client/README.md +++ b/serviceaccounts/apiv1internal/client/README.md @@ -89,15 +89,47 @@ Class | Method | HTTP request | Description ## Documentation For Models - [Error](docs/Error.md) + - [RedHatErrorRepresentation](docs/RedHatErrorRepresentation.md) - [ServiceAccountCreateRequestData](docs/ServiceAccountCreateRequestData.md) - [ServiceAccountData](docs/ServiceAccountData.md) - [ServiceAccountRequestData](docs/ServiceAccountRequestData.md) + - [ValidationExceptionData](docs/ValidationExceptionData.md) ## Documentation For Authorization +### authFlow + + +- **Type**: OAuth +- **Flow**: accessCode +- **Authorization URL**: /auth/realms/redhat-external/protocol/openid-connect/auth +- **Scopes**: + - **openid**: Treat as an OIDC request + - **api.iam.service_accounts**: Grants access to the service accounts api + +Example + +```golang +auth := context.WithValue(context.Background(), sw.ContextAccessToken, "ACCESSTOKENSTRING") +r, err := client.Service.Operation(auth, args) +``` + +Or via OAuth2 module to automatically refresh tokens and perform user authentication. + +```golang +import "golang.org/x/oauth2" + +/* Perform OAuth2 round trip request and obtain a token */ + +tokenSource := oauth2cfg.TokenSource(createContext(httpClient), &token) +auth := context.WithValue(oauth2.NoContext, sw.ContextOAuth2, tokenSource) +r, err := client.Service.Operation(auth, args) +``` + + ### bearerAuth - **Type**: HTTP Bearer token authentication @@ -110,6 +142,36 @@ r, err := client.Service.Operation(auth, args) ``` +### serviceAccounts + + +- **Type**: OAuth +- **Flow**: application +- **Authorization URL**: +- **Scopes**: + - **openid**: Treat as an OIDC request + - **api.iam.service_accounts**: Grants access to the service accounts api + +Example + +```golang +auth := context.WithValue(context.Background(), sw.ContextAccessToken, "ACCESSTOKENSTRING") +r, err := client.Service.Operation(auth, args) +``` + +Or via OAuth2 module to automatically refresh tokens and perform user authentication. + +```golang +import "golang.org/x/oauth2" + +/* Perform OAuth2 round trip request and obtain a token */ + +tokenSource := oauth2cfg.TokenSource(createContext(httpClient), &token) +auth := context.WithValue(oauth2.NoContext, sw.ContextOAuth2, tokenSource) +r, err := client.Service.Operation(auth, args) +``` + + ## Documentation for Utility Methods Due to the fact that model structure members are all pointers, this package contains diff --git a/serviceaccounts/apiv1internal/client/api/openapi.yaml b/serviceaccounts/apiv1internal/client/api/openapi.yaml index 88f0480f..8e0e729e 100644 --- a/serviceaccounts/apiv1internal/client/api/openapi.yaml +++ b/serviceaccounts/apiv1internal/client/api/openapi.yaml @@ -8,7 +8,13 @@ info: servers: - description: Production server url: https://sso.redhat.com/auth/realms/redhat-external +- description: Stage server + url: https://sso.stage.redhat.com/auth/realms/redhat-external +- description: Local development + url: http://localhost:8081/auth/realms/redhat-external security: +- authFlow: [] +- serviceAccounts: [] - bearerAuth: [] paths: /apis/service_accounts/v1: @@ -67,15 +73,23 @@ paths: "400": content: application/json: + examples: + Bad Request Example: + $ref: '#/components/examples/400FieldValidationError' schema: - $ref: '#/components/schemas/Error' - description: Bad Request + $ref: '#/components/schemas/ValidationExceptionData' + description: Bad Request if page filters are invalid "401": content: application/json: schema: $ref: '#/components/schemas/Error' description: Unauthorized + security: + - authFlow: + - api.iam.service_accounts + - serviceAccounts: + - api.iam.service_accounts summary: List all service accounts tags: - service_accounts @@ -100,15 +114,33 @@ paths: "400": content: application/json: + examples: + Bad Request Example: + $ref: '#/components/examples/400FieldValidationError' schema: - $ref: '#/components/schemas/Error' - description: Bad Request + $ref: '#/components/schemas/ValidationExceptionData' + description: All fields did not pass validation. "401": content: application/json: schema: $ref: '#/components/schemas/Error' description: Unauthorized + "403": + content: + application/json: + examples: + service account threshold exceeded: + $ref: '#/components/examples/403ServiceAccountThresholdExceeded' + schema: + $ref: '#/components/schemas/RedHatErrorRepresentation' + description: Exceeded account level threshold limits for creating service + accounts. + security: + - authFlow: + - api.iam.service_accounts + - serviceAccounts: + - api.iam.service_accounts summary: Create service account tags: - service_accounts @@ -131,18 +163,26 @@ paths: content: application/json: {} description: OK - "404": + "401": content: application/json: schema: $ref: '#/components/schemas/Error' - description: Not Found - "401": + description: Unauthorized + "404": content: application/json: + examples: + service account not found: + $ref: '#/components/examples/404ServiceAccountNotFound' schema: - $ref: '#/components/schemas/Error' - description: Unauthorized + $ref: '#/components/schemas/RedHatErrorRepresentation' + description: Not Found + security: + - authFlow: + - api.iam.service_accounts + - serviceAccounts: + - api.iam.service_accounts summary: Delete service account by id tags: - service_accounts @@ -166,18 +206,26 @@ paths: schema: $ref: '#/components/schemas/ServiceAccountData' description: OK - "404": + "401": content: application/json: schema: $ref: '#/components/schemas/Error' - description: Not Found - "401": + description: Unauthorized + "404": content: application/json: + examples: + service account not found: + $ref: '#/components/examples/404ServiceAccountNotFound' schema: - $ref: '#/components/schemas/Error' - description: Unauthorized + $ref: '#/components/schemas/RedHatErrorRepresentation' + description: Not Found + security: + - authFlow: + - api.iam.service_accounts + - serviceAccounts: + - api.iam.service_accounts summary: Get service account by id tags: - service_accounts @@ -209,21 +257,32 @@ paths: "400": content: application/json: + examples: + Bad Request Example: + $ref: '#/components/examples/400FieldValidationError' schema: - $ref: '#/components/schemas/Error' + $ref: '#/components/schemas/ValidationExceptionData' description: Bad Request - "404": + "401": content: application/json: schema: $ref: '#/components/schemas/Error' - description: Not Found - "401": + description: Unauthorized + "404": content: application/json: + examples: + service account not found: + $ref: '#/components/examples/404ServiceAccountNotFound' schema: - $ref: '#/components/schemas/Error' - description: Unauthorized + $ref: '#/components/schemas/RedHatErrorRepresentation' + description: Not Found + security: + - authFlow: + - api.iam.service_accounts + - serviceAccounts: + - api.iam.service_accounts summary: Update service account tags: - service_accounts @@ -248,29 +307,46 @@ paths: schema: $ref: '#/components/schemas/ServiceAccountData' description: OK - "404": + "401": content: application/json: schema: $ref: '#/components/schemas/Error' - description: Not Found - "401": + description: Unauthorized + "404": content: application/json: + examples: + service account not found: + $ref: '#/components/examples/404ServiceAccountNotFound' schema: - $ref: '#/components/schemas/Error' - description: Unauthorized + $ref: '#/components/schemas/RedHatErrorRepresentation' + description: Not Found + security: + - authFlow: + - api.iam.service_accounts + - serviceAccounts: + - api.iam.service_accounts summary: Reset service account secret by id tags: - service_accounts components: + examples: + "400FieldValidationError": + value: + error: invalid_field + error_description: Request failed field validation + fields: + name: description of constraint which failed + "404ServiceAccountNotFound": + value: + error: service_account_not_found + error_description: Service account 1234 not found. + "403ServiceAccountThresholdExceeded": + value: + error: service_account_limit_exceeded + error_description: Cannot create more than 50 service accounts per account. responses: - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Bad Request "401": content: application/json: @@ -283,12 +359,6 @@ components: schema: $ref: '#/components/schemas/Error' description: Forbidden - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Not Found "500": content: application/json: @@ -331,17 +401,44 @@ components: format: int64 type: integer type: object + ValidationExceptionData: + properties: + fields: + additionalProperties: + type: string + type: object + error: + example: invalid_field + type: string + error_description: + type: string + type: object + RedHatErrorRepresentation: + properties: + error: + enum: + - service_account_limit_exceeded + - service_account_not_found + - service_account_user_not_found + - service_account_access_invalid + type: string + error_description: + type: string + type: object ServiceAccountCreateRequestData: example: name: name description: description properties: name: + maxLength: 50 + minLength: 1 type: string description: + maxLength: 255 + minLength: 0 type: string required: - - description - name type: object ServiceAccountRequestData: @@ -350,8 +447,12 @@ components: description: description properties: name: + maxLength: 50 + minLength: 1 type: string description: + maxLength: 255 + minLength: 0 type: string type: object securitySchemes: @@ -359,3 +460,20 @@ components: bearerFormat: JWT scheme: bearer type: http + authFlow: + flows: + authorizationCode: + authorizationUrl: /auth/realms/redhat-external/protocol/openid-connect/auth + scopes: + openid: Treat as an OIDC request + api.iam.service_accounts: Grants access to the service accounts api + tokenUrl: /auth/realms/redhat-external/protocol/openid-connect/token + type: oauth2 + serviceAccounts: + flows: + clientCredentials: + scopes: + openid: Treat as an OIDC request + api.iam.service_accounts: Grants access to the service accounts api + tokenUrl: /auth/realms/redhat-external/protocol/openid-connect/token + type: oauth2 diff --git a/serviceaccounts/apiv1internal/client/api_service_accounts.go b/serviceaccounts/apiv1internal/client/api_service_accounts.go index cf5f459a..9b207fd1 100644 --- a/serviceaccounts/apiv1internal/client/api_service_accounts.go +++ b/serviceaccounts/apiv1internal/client/api_service_accounts.go @@ -217,7 +217,7 @@ func (a *ServiceAccountsApiService) CreateServiceAccountExecute(r ApiCreateServi error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Error + var v ValidationExceptionData err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -234,6 +234,16 @@ func (a *ServiceAccountsApiService) CreateServiceAccountExecute(r ApiCreateServi return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 403 { + var v RedHatErrorRepresentation + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -339,7 +349,7 @@ func (a *ServiceAccountsApiService) DeleteServiceAccountExecute(r ApiDeleteServi body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 404 { + if localVarHTTPResponse.StatusCode == 401 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -349,8 +359,8 @@ func (a *ServiceAccountsApiService) DeleteServiceAccountExecute(r ApiDeleteServi newErr.model = v return localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 401 { - var v Error + if localVarHTTPResponse.StatusCode == 404 { + var v RedHatErrorRepresentation err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -455,7 +465,7 @@ func (a *ServiceAccountsApiService) GetServiceAccountExecute(r ApiGetServiceAcco body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 404 { + if localVarHTTPResponse.StatusCode == 401 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -465,8 +475,8 @@ func (a *ServiceAccountsApiService) GetServiceAccountExecute(r ApiGetServiceAcco newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 401 { - var v Error + if localVarHTTPResponse.StatusCode == 404 { + var v RedHatErrorRepresentation err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -609,7 +619,7 @@ func (a *ServiceAccountsApiService) GetServiceAccountsExecute(r ApiGetServiceAcc error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Error + var v ValidationExceptionData err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -733,7 +743,7 @@ func (a *ServiceAccountsApiService) ResetServiceAccountSecretExecute(r ApiResetS body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 404 { + if localVarHTTPResponse.StatusCode == 401 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -743,8 +753,8 @@ func (a *ServiceAccountsApiService) ResetServiceAccountSecretExecute(r ApiResetS newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 401 { - var v Error + if localVarHTTPResponse.StatusCode == 404 { + var v RedHatErrorRepresentation err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -869,7 +879,7 @@ func (a *ServiceAccountsApiService) UpdateServiceAccountExecute(r ApiUpdateServi error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Error + var v ValidationExceptionData err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -878,7 +888,7 @@ func (a *ServiceAccountsApiService) UpdateServiceAccountExecute(r ApiUpdateServi newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { + if localVarHTTPResponse.StatusCode == 401 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { @@ -888,8 +898,8 @@ func (a *ServiceAccountsApiService) UpdateServiceAccountExecute(r ApiUpdateServi newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 401 { - var v Error + if localVarHTTPResponse.StatusCode == 404 { + var v RedHatErrorRepresentation err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() diff --git a/serviceaccounts/apiv1internal/client/configuration.go b/serviceaccounts/apiv1internal/client/configuration.go index b9ae0edd..22a60b5c 100644 --- a/serviceaccounts/apiv1internal/client/configuration.go +++ b/serviceaccounts/apiv1internal/client/configuration.go @@ -109,6 +109,14 @@ func NewConfiguration() *Configuration { URL: "https://sso.redhat.com/auth/realms/redhat-external", Description: "Production server", }, + { + URL: "https://sso.stage.redhat.com/auth/realms/redhat-external", + Description: "Stage server", + }, + { + URL: "http://localhost:8081/auth/realms/redhat-external", + Description: "Local development", + }, }, OperationServers: map[string]ServerConfigurations{ }, diff --git a/serviceaccounts/apiv1internal/client/docs/RedHatErrorRepresentation.md b/serviceaccounts/apiv1internal/client/docs/RedHatErrorRepresentation.md new file mode 100644 index 00000000..2145d4b5 --- /dev/null +++ b/serviceaccounts/apiv1internal/client/docs/RedHatErrorRepresentation.md @@ -0,0 +1,82 @@ +# RedHatErrorRepresentation + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Error** | Pointer to **string** | | [optional] +**ErrorDescription** | Pointer to **string** | | [optional] + +## Methods + +### NewRedHatErrorRepresentation + +`func NewRedHatErrorRepresentation() *RedHatErrorRepresentation` + +NewRedHatErrorRepresentation instantiates a new RedHatErrorRepresentation object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewRedHatErrorRepresentationWithDefaults + +`func NewRedHatErrorRepresentationWithDefaults() *RedHatErrorRepresentation` + +NewRedHatErrorRepresentationWithDefaults instantiates a new RedHatErrorRepresentation object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetError + +`func (o *RedHatErrorRepresentation) GetError() string` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *RedHatErrorRepresentation) GetErrorOk() (*string, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *RedHatErrorRepresentation) SetError(v string)` + +SetError sets Error field to given value. + +### HasError + +`func (o *RedHatErrorRepresentation) HasError() bool` + +HasError returns a boolean if a field has been set. + +### GetErrorDescription + +`func (o *RedHatErrorRepresentation) GetErrorDescription() string` + +GetErrorDescription returns the ErrorDescription field if non-nil, zero value otherwise. + +### GetErrorDescriptionOk + +`func (o *RedHatErrorRepresentation) GetErrorDescriptionOk() (*string, bool)` + +GetErrorDescriptionOk returns a tuple with the ErrorDescription field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetErrorDescription + +`func (o *RedHatErrorRepresentation) SetErrorDescription(v string)` + +SetErrorDescription sets ErrorDescription field to given value. + +### HasErrorDescription + +`func (o *RedHatErrorRepresentation) HasErrorDescription() bool` + +HasErrorDescription 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/serviceaccounts/apiv1internal/client/docs/ServiceAccountCreateRequestData.md b/serviceaccounts/apiv1internal/client/docs/ServiceAccountCreateRequestData.md index 99d69496..bc9971c0 100644 --- a/serviceaccounts/apiv1internal/client/docs/ServiceAccountCreateRequestData.md +++ b/serviceaccounts/apiv1internal/client/docs/ServiceAccountCreateRequestData.md @@ -5,13 +5,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Name** | **string** | | -**Description** | **string** | | +**Description** | Pointer to **string** | | [optional] ## Methods ### NewServiceAccountCreateRequestData -`func NewServiceAccountCreateRequestData(name string, description string, ) *ServiceAccountCreateRequestData` +`func NewServiceAccountCreateRequestData(name string, ) *ServiceAccountCreateRequestData` NewServiceAccountCreateRequestData instantiates a new ServiceAccountCreateRequestData object This constructor will assign default values to properties that have it defined, @@ -65,6 +65,11 @@ and a boolean to check if the value has been set. SetDescription sets Description field to given value. +### HasDescription + +`func (o *ServiceAccountCreateRequestData) HasDescription() bool` + +HasDescription 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/serviceaccounts/apiv1internal/client/docs/ServiceAccountsApi.md b/serviceaccounts/apiv1internal/client/docs/ServiceAccountsApi.md index 718d3e57..b046c75a 100644 --- a/serviceaccounts/apiv1internal/client/docs/ServiceAccountsApi.md +++ b/serviceaccounts/apiv1internal/client/docs/ServiceAccountsApi.md @@ -34,7 +34,7 @@ import ( ) func main() { - serviceAccountCreateRequestData := *openapiclient.NewServiceAccountCreateRequestData("Name_example", "Description_example") // ServiceAccountCreateRequestData | 'name' and 'description' of the service account + serviceAccountCreateRequestData := *openapiclient.NewServiceAccountCreateRequestData("Name_example") // ServiceAccountCreateRequestData | 'name' and 'description' of the service account configuration := openapiclient.NewConfiguration() api_client := openapiclient.NewAPIClient(configuration) @@ -67,7 +67,7 @@ Name | Type | Description | Notes ### Authorization -[bearerAuth](../README.md#bearerAuth) +[authFlow](../README.md#authFlow), [serviceAccounts](../README.md#serviceAccounts) ### HTTP request headers @@ -135,7 +135,7 @@ Name | Type | Description | Notes ### Authorization -[bearerAuth](../README.md#bearerAuth) +[authFlow](../README.md#authFlow), [serviceAccounts](../README.md#serviceAccounts) ### HTTP request headers @@ -205,7 +205,7 @@ Name | Type | Description | Notes ### Authorization -[bearerAuth](../README.md#bearerAuth) +[authFlow](../README.md#authFlow), [serviceAccounts](../README.md#serviceAccounts) ### HTTP request headers @@ -275,7 +275,7 @@ Name | Type | Description | Notes ### Authorization -[bearerAuth](../README.md#bearerAuth) +[authFlow](../README.md#authFlow), [serviceAccounts](../README.md#serviceAccounts) ### HTTP request headers @@ -345,7 +345,7 @@ Name | Type | Description | Notes ### Authorization -[bearerAuth](../README.md#bearerAuth) +[authFlow](../README.md#authFlow), [serviceAccounts](../README.md#serviceAccounts) ### HTTP request headers @@ -417,7 +417,7 @@ Name | Type | Description | Notes ### Authorization -[bearerAuth](../README.md#bearerAuth) +[authFlow](../README.md#authFlow), [serviceAccounts](../README.md#serviceAccounts) ### HTTP request headers diff --git a/serviceaccounts/apiv1internal/client/docs/ValidationExceptionData.md b/serviceaccounts/apiv1internal/client/docs/ValidationExceptionData.md new file mode 100644 index 00000000..347bd5c4 --- /dev/null +++ b/serviceaccounts/apiv1internal/client/docs/ValidationExceptionData.md @@ -0,0 +1,108 @@ +# ValidationExceptionData + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Fields** | Pointer to **map[string]string** | | [optional] +**Error** | Pointer to **string** | | [optional] +**ErrorDescription** | Pointer to **string** | | [optional] + +## Methods + +### NewValidationExceptionData + +`func NewValidationExceptionData() *ValidationExceptionData` + +NewValidationExceptionData instantiates a new ValidationExceptionData object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewValidationExceptionDataWithDefaults + +`func NewValidationExceptionDataWithDefaults() *ValidationExceptionData` + +NewValidationExceptionDataWithDefaults instantiates a new ValidationExceptionData object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetFields + +`func (o *ValidationExceptionData) GetFields() map[string]string` + +GetFields returns the Fields field if non-nil, zero value otherwise. + +### GetFieldsOk + +`func (o *ValidationExceptionData) GetFieldsOk() (*map[string]string, bool)` + +GetFieldsOk returns a tuple with the Fields field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFields + +`func (o *ValidationExceptionData) SetFields(v map[string]string)` + +SetFields sets Fields field to given value. + +### HasFields + +`func (o *ValidationExceptionData) HasFields() bool` + +HasFields returns a boolean if a field has been set. + +### GetError + +`func (o *ValidationExceptionData) GetError() string` + +GetError returns the Error field if non-nil, zero value otherwise. + +### GetErrorOk + +`func (o *ValidationExceptionData) GetErrorOk() (*string, bool)` + +GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetError + +`func (o *ValidationExceptionData) SetError(v string)` + +SetError sets Error field to given value. + +### HasError + +`func (o *ValidationExceptionData) HasError() bool` + +HasError returns a boolean if a field has been set. + +### GetErrorDescription + +`func (o *ValidationExceptionData) GetErrorDescription() string` + +GetErrorDescription returns the ErrorDescription field if non-nil, zero value otherwise. + +### GetErrorDescriptionOk + +`func (o *ValidationExceptionData) GetErrorDescriptionOk() (*string, bool)` + +GetErrorDescriptionOk returns a tuple with the ErrorDescription field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetErrorDescription + +`func (o *ValidationExceptionData) SetErrorDescription(v string)` + +SetErrorDescription sets ErrorDescription field to given value. + +### HasErrorDescription + +`func (o *ValidationExceptionData) HasErrorDescription() bool` + +HasErrorDescription 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/serviceaccounts/apiv1internal/client/model_red_hat_error_representation.go b/serviceaccounts/apiv1internal/client/model_red_hat_error_representation.go new file mode 100644 index 00000000..0c23df67 --- /dev/null +++ b/serviceaccounts/apiv1internal/client/model_red_hat_error_representation.go @@ -0,0 +1,152 @@ +/* + * Service Accounts API Documentation + * + * This is the API documentation for Service Accounts + * + * API version: 5.0.19 + * Contact: it-user-team-list@redhat.com + */ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package serviceaccountsclient + +import ( + "encoding/json" +) + +// RedHatErrorRepresentation struct for RedHatErrorRepresentation +type RedHatErrorRepresentation struct { + Error *string `json:"error,omitempty"` + ErrorDescription *string `json:"error_description,omitempty"` +} + +// NewRedHatErrorRepresentation instantiates a new RedHatErrorRepresentation object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewRedHatErrorRepresentation() *RedHatErrorRepresentation { + this := RedHatErrorRepresentation{} + return &this +} + +// NewRedHatErrorRepresentationWithDefaults instantiates a new RedHatErrorRepresentation object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewRedHatErrorRepresentationWithDefaults() *RedHatErrorRepresentation { + this := RedHatErrorRepresentation{} + return &this +} + +// GetError returns the Error field value if set, zero value otherwise. +func (o *RedHatErrorRepresentation) GetError() string { + if o == nil || o.Error == nil { + var ret string + return ret + } + return *o.Error +} + +// GetErrorOk returns a tuple with the Error field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RedHatErrorRepresentation) GetErrorOk() (*string, bool) { + if o == nil || o.Error == nil { + return nil, false + } + return o.Error, true +} + +// HasError returns a boolean if a field has been set. +func (o *RedHatErrorRepresentation) HasError() bool { + if o != nil && o.Error != nil { + return true + } + + return false +} + +// SetError gets a reference to the given string and assigns it to the Error field. +func (o *RedHatErrorRepresentation) SetError(v string) { + o.Error = &v +} + +// GetErrorDescription returns the ErrorDescription field value if set, zero value otherwise. +func (o *RedHatErrorRepresentation) GetErrorDescription() string { + if o == nil || o.ErrorDescription == nil { + var ret string + return ret + } + return *o.ErrorDescription +} + +// GetErrorDescriptionOk returns a tuple with the ErrorDescription field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RedHatErrorRepresentation) GetErrorDescriptionOk() (*string, bool) { + if o == nil || o.ErrorDescription == nil { + return nil, false + } + return o.ErrorDescription, true +} + +// HasErrorDescription returns a boolean if a field has been set. +func (o *RedHatErrorRepresentation) HasErrorDescription() bool { + if o != nil && o.ErrorDescription != nil { + return true + } + + return false +} + +// SetErrorDescription gets a reference to the given string and assigns it to the ErrorDescription field. +func (o *RedHatErrorRepresentation) SetErrorDescription(v string) { + o.ErrorDescription = &v +} + +func (o RedHatErrorRepresentation) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.Error != nil { + toSerialize["error"] = o.Error + } + if o.ErrorDescription != nil { + toSerialize["error_description"] = o.ErrorDescription + } + return json.Marshal(toSerialize) +} + +type NullableRedHatErrorRepresentation struct { + value *RedHatErrorRepresentation + isSet bool +} + +func (v NullableRedHatErrorRepresentation) Get() *RedHatErrorRepresentation { + return v.value +} + +func (v *NullableRedHatErrorRepresentation) Set(val *RedHatErrorRepresentation) { + v.value = val + v.isSet = true +} + +func (v NullableRedHatErrorRepresentation) IsSet() bool { + return v.isSet +} + +func (v *NullableRedHatErrorRepresentation) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRedHatErrorRepresentation(val *RedHatErrorRepresentation) *NullableRedHatErrorRepresentation { + return &NullableRedHatErrorRepresentation{value: val, isSet: true} +} + +func (v NullableRedHatErrorRepresentation) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRedHatErrorRepresentation) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/serviceaccounts/apiv1internal/client/model_service_account_create_request_data.go b/serviceaccounts/apiv1internal/client/model_service_account_create_request_data.go index f97150a0..477ffb01 100644 --- a/serviceaccounts/apiv1internal/client/model_service_account_create_request_data.go +++ b/serviceaccounts/apiv1internal/client/model_service_account_create_request_data.go @@ -18,17 +18,16 @@ import ( // ServiceAccountCreateRequestData struct for ServiceAccountCreateRequestData type ServiceAccountCreateRequestData struct { Name string `json:"name"` - Description string `json:"description"` + Description *string `json:"description,omitempty"` } // NewServiceAccountCreateRequestData instantiates a new ServiceAccountCreateRequestData object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewServiceAccountCreateRequestData(name string, description string) *ServiceAccountCreateRequestData { +func NewServiceAccountCreateRequestData(name string) *ServiceAccountCreateRequestData { this := ServiceAccountCreateRequestData{} this.Name = name - this.Description = description return &this } @@ -64,28 +63,36 @@ func (o *ServiceAccountCreateRequestData) SetName(v string) { o.Name = v } -// GetDescription returns the Description field value +// GetDescription returns the Description field value if set, zero value otherwise. func (o *ServiceAccountCreateRequestData) GetDescription() string { - if o == nil { + if o == nil || o.Description == nil { var ret string return ret } - - return o.Description + return *o.Description } -// GetDescriptionOk returns a tuple with the Description field value +// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *ServiceAccountCreateRequestData) GetDescriptionOk() (*string, bool) { - if o == nil { + if o == nil || o.Description == nil { return nil, false } - return &o.Description, true + return o.Description, true +} + +// HasDescription returns a boolean if a field has been set. +func (o *ServiceAccountCreateRequestData) HasDescription() bool { + if o != nil && o.Description != nil { + return true + } + + return false } -// SetDescription sets field value +// SetDescription gets a reference to the given string and assigns it to the Description field. func (o *ServiceAccountCreateRequestData) SetDescription(v string) { - o.Description = v + o.Description = &v } func (o ServiceAccountCreateRequestData) MarshalJSON() ([]byte, error) { @@ -93,7 +100,7 @@ func (o ServiceAccountCreateRequestData) MarshalJSON() ([]byte, error) { if true { toSerialize["name"] = o.Name } - if true { + if o.Description != nil { toSerialize["description"] = o.Description } return json.Marshal(toSerialize) diff --git a/serviceaccounts/apiv1internal/client/model_validation_exception_data.go b/serviceaccounts/apiv1internal/client/model_validation_exception_data.go new file mode 100644 index 00000000..3e253b70 --- /dev/null +++ b/serviceaccounts/apiv1internal/client/model_validation_exception_data.go @@ -0,0 +1,188 @@ +/* + * Service Accounts API Documentation + * + * This is the API documentation for Service Accounts + * + * API version: 5.0.19 + * Contact: it-user-team-list@redhat.com + */ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package serviceaccountsclient + +import ( + "encoding/json" +) + +// ValidationExceptionData struct for ValidationExceptionData +type ValidationExceptionData struct { + Fields *map[string]string `json:"fields,omitempty"` + Error *string `json:"error,omitempty"` + ErrorDescription *string `json:"error_description,omitempty"` +} + +// NewValidationExceptionData instantiates a new ValidationExceptionData object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewValidationExceptionData() *ValidationExceptionData { + this := ValidationExceptionData{} + return &this +} + +// NewValidationExceptionDataWithDefaults instantiates a new ValidationExceptionData object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewValidationExceptionDataWithDefaults() *ValidationExceptionData { + this := ValidationExceptionData{} + return &this +} + +// GetFields returns the Fields field value if set, zero value otherwise. +func (o *ValidationExceptionData) GetFields() map[string]string { + if o == nil || o.Fields == nil { + var ret map[string]string + return ret + } + return *o.Fields +} + +// GetFieldsOk returns a tuple with the Fields field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ValidationExceptionData) GetFieldsOk() (*map[string]string, bool) { + if o == nil || o.Fields == nil { + return nil, false + } + return o.Fields, true +} + +// HasFields returns a boolean if a field has been set. +func (o *ValidationExceptionData) HasFields() bool { + if o != nil && o.Fields != nil { + return true + } + + return false +} + +// SetFields gets a reference to the given map[string]string and assigns it to the Fields field. +func (o *ValidationExceptionData) SetFields(v map[string]string) { + o.Fields = &v +} + +// GetError returns the Error field value if set, zero value otherwise. +func (o *ValidationExceptionData) GetError() string { + if o == nil || o.Error == nil { + var ret string + return ret + } + return *o.Error +} + +// GetErrorOk returns a tuple with the Error field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ValidationExceptionData) GetErrorOk() (*string, bool) { + if o == nil || o.Error == nil { + return nil, false + } + return o.Error, true +} + +// HasError returns a boolean if a field has been set. +func (o *ValidationExceptionData) HasError() bool { + if o != nil && o.Error != nil { + return true + } + + return false +} + +// SetError gets a reference to the given string and assigns it to the Error field. +func (o *ValidationExceptionData) SetError(v string) { + o.Error = &v +} + +// GetErrorDescription returns the ErrorDescription field value if set, zero value otherwise. +func (o *ValidationExceptionData) GetErrorDescription() string { + if o == nil || o.ErrorDescription == nil { + var ret string + return ret + } + return *o.ErrorDescription +} + +// GetErrorDescriptionOk returns a tuple with the ErrorDescription field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ValidationExceptionData) GetErrorDescriptionOk() (*string, bool) { + if o == nil || o.ErrorDescription == nil { + return nil, false + } + return o.ErrorDescription, true +} + +// HasErrorDescription returns a boolean if a field has been set. +func (o *ValidationExceptionData) HasErrorDescription() bool { + if o != nil && o.ErrorDescription != nil { + return true + } + + return false +} + +// SetErrorDescription gets a reference to the given string and assigns it to the ErrorDescription field. +func (o *ValidationExceptionData) SetErrorDescription(v string) { + o.ErrorDescription = &v +} + +func (o ValidationExceptionData) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.Fields != nil { + toSerialize["fields"] = o.Fields + } + if o.Error != nil { + toSerialize["error"] = o.Error + } + if o.ErrorDescription != nil { + toSerialize["error_description"] = o.ErrorDescription + } + return json.Marshal(toSerialize) +} + +type NullableValidationExceptionData struct { + value *ValidationExceptionData + isSet bool +} + +func (v NullableValidationExceptionData) Get() *ValidationExceptionData { + return v.value +} + +func (v *NullableValidationExceptionData) Set(val *ValidationExceptionData) { + v.value = val + v.isSet = true +} + +func (v NullableValidationExceptionData) IsSet() bool { + return v.isSet +} + +func (v *NullableValidationExceptionData) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableValidationExceptionData(val *ValidationExceptionData) *NullableValidationExceptionData { + return &NullableValidationExceptionData{value: val, isSet: true} +} + +func (v NullableValidationExceptionData) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableValidationExceptionData) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/smartevents/apiv1alpha/client/README.md b/smartevents/apiv1alpha/client/README.md index eec5b7e4..ca977089 100644 --- a/smartevents/apiv1alpha/client/README.md +++ b/smartevents/apiv1alpha/client/README.md @@ -5,7 +5,7 @@ The API exposed by the fleet manager of the SmartEvents service. ## Overview 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: 0.0.1 +- API version: 0.0.3 - Package version: 1.0.0 - Build package: org.openapitools.codegen.languages.GoClientCodegen diff --git a/smartevents/apiv1alpha/client/api/openapi.yaml b/smartevents/apiv1alpha/client/api/openapi.yaml index 4e8d88ef..68dc9983 100644 --- a/smartevents/apiv1alpha/client/api/openapi.yaml +++ b/smartevents/apiv1alpha/client/api/openapi.yaml @@ -8,7 +8,7 @@ info: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html title: Red Hat Openshift SmartEvents Fleet Manager - version: 0.0.1 + version: 0.0.3 servers: - url: / tags: diff --git a/smartevents/apiv1alpha/client/api_bridges.go b/smartevents/apiv1alpha/client/api_bridges.go index b8583e6e..965fad75 100644 --- a/smartevents/apiv1alpha/client/api_bridges.go +++ b/smartevents/apiv1alpha/client/api_bridges.go @@ -3,7 +3,7 @@ * * The API exposed by the fleet manager of the SmartEvents service. * - * API version: 0.0.1 + * API version: 0.0.3 * Contact: openbridge-dev@redhat.com */ diff --git a/smartevents/apiv1alpha/client/api_cloud_providers.go b/smartevents/apiv1alpha/client/api_cloud_providers.go index 92932f06..d3f55fc2 100644 --- a/smartevents/apiv1alpha/client/api_cloud_providers.go +++ b/smartevents/apiv1alpha/client/api_cloud_providers.go @@ -3,7 +3,7 @@ * * The API exposed by the fleet manager of the SmartEvents service. * - * API version: 0.0.1 + * API version: 0.0.3 * Contact: openbridge-dev@redhat.com */ diff --git a/smartevents/apiv1alpha/client/api_error_catalog.go b/smartevents/apiv1alpha/client/api_error_catalog.go index fdfc0095..d0d9d713 100644 --- a/smartevents/apiv1alpha/client/api_error_catalog.go +++ b/smartevents/apiv1alpha/client/api_error_catalog.go @@ -3,7 +3,7 @@ * * The API exposed by the fleet manager of the SmartEvents service. * - * API version: 0.0.1 + * API version: 0.0.3 * Contact: openbridge-dev@redhat.com */ diff --git a/smartevents/apiv1alpha/client/api_processors.go b/smartevents/apiv1alpha/client/api_processors.go index 41194043..143dabba 100644 --- a/smartevents/apiv1alpha/client/api_processors.go +++ b/smartevents/apiv1alpha/client/api_processors.go @@ -3,7 +3,7 @@ * * The API exposed by the fleet manager of the SmartEvents service. * - * API version: 0.0.1 + * API version: 0.0.3 * Contact: openbridge-dev@redhat.com */ diff --git a/smartevents/apiv1alpha/client/api_schema_catalog.go b/smartevents/apiv1alpha/client/api_schema_catalog.go index b5d65ad9..bed73b80 100644 --- a/smartevents/apiv1alpha/client/api_schema_catalog.go +++ b/smartevents/apiv1alpha/client/api_schema_catalog.go @@ -3,7 +3,7 @@ * * The API exposed by the fleet manager of the SmartEvents service. * - * API version: 0.0.1 + * API version: 0.0.3 * Contact: openbridge-dev@redhat.com */ diff --git a/smartevents/apiv1alpha/client/client.go b/smartevents/apiv1alpha/client/client.go index 13c7e201..644aa2c0 100644 --- a/smartevents/apiv1alpha/client/client.go +++ b/smartevents/apiv1alpha/client/client.go @@ -3,7 +3,7 @@ * * The API exposed by the fleet manager of the SmartEvents service. * - * API version: 0.0.1 + * API version: 0.0.3 * Contact: openbridge-dev@redhat.com */ @@ -42,7 +42,7 @@ var ( xmlCheck = regexp.MustCompile(`(?i:(?:application|text)/xml)`) ) -// APIClient manages communication with the Red Hat Openshift SmartEvents Fleet Manager API v0.0.1 +// APIClient manages communication with the Red Hat Openshift SmartEvents Fleet Manager API v0.0.3 // In most cases there should be only one, shared, APIClient. type APIClient struct { cfg *Configuration diff --git a/smartevents/apiv1alpha/client/configuration.go b/smartevents/apiv1alpha/client/configuration.go index 215010c1..ffedae58 100644 --- a/smartevents/apiv1alpha/client/configuration.go +++ b/smartevents/apiv1alpha/client/configuration.go @@ -3,7 +3,7 @@ * * The API exposed by the fleet manager of the SmartEvents service. * - * API version: 0.0.1 + * API version: 0.0.3 * Contact: openbridge-dev@redhat.com */ diff --git a/smartevents/apiv1alpha/client/model_action.go b/smartevents/apiv1alpha/client/model_action.go index 1e5c960d..34381b0d 100644 --- a/smartevents/apiv1alpha/client/model_action.go +++ b/smartevents/apiv1alpha/client/model_action.go @@ -3,7 +3,7 @@ * * The API exposed by the fleet manager of the SmartEvents service. * - * API version: 0.0.1 + * API version: 0.0.3 * Contact: openbridge-dev@redhat.com */ diff --git a/smartevents/apiv1alpha/client/model_base_filter.go b/smartevents/apiv1alpha/client/model_base_filter.go index 01221f02..e2412a3d 100644 --- a/smartevents/apiv1alpha/client/model_base_filter.go +++ b/smartevents/apiv1alpha/client/model_base_filter.go @@ -3,7 +3,7 @@ * * The API exposed by the fleet manager of the SmartEvents service. * - * API version: 0.0.1 + * API version: 0.0.3 * Contact: openbridge-dev@redhat.com */ diff --git a/smartevents/apiv1alpha/client/model_bridge_error.go b/smartevents/apiv1alpha/client/model_bridge_error.go index 69539fbf..3d05293f 100644 --- a/smartevents/apiv1alpha/client/model_bridge_error.go +++ b/smartevents/apiv1alpha/client/model_bridge_error.go @@ -3,7 +3,7 @@ * * The API exposed by the fleet manager of the SmartEvents service. * - * API version: 0.0.1 + * API version: 0.0.3 * Contact: openbridge-dev@redhat.com */ diff --git a/smartevents/apiv1alpha/client/model_bridge_error_type.go b/smartevents/apiv1alpha/client/model_bridge_error_type.go index d1ddf9e2..a8b68315 100644 --- a/smartevents/apiv1alpha/client/model_bridge_error_type.go +++ b/smartevents/apiv1alpha/client/model_bridge_error_type.go @@ -3,7 +3,7 @@ * * The API exposed by the fleet manager of the SmartEvents service. * - * API version: 0.0.1 + * API version: 0.0.3 * Contact: openbridge-dev@redhat.com */ diff --git a/smartevents/apiv1alpha/client/model_bridge_list_response.go b/smartevents/apiv1alpha/client/model_bridge_list_response.go index 0b1e977e..08bb2e4d 100644 --- a/smartevents/apiv1alpha/client/model_bridge_list_response.go +++ b/smartevents/apiv1alpha/client/model_bridge_list_response.go @@ -3,7 +3,7 @@ * * The API exposed by the fleet manager of the SmartEvents service. * - * API version: 0.0.1 + * API version: 0.0.3 * Contact: openbridge-dev@redhat.com */ diff --git a/smartevents/apiv1alpha/client/model_bridge_request.go b/smartevents/apiv1alpha/client/model_bridge_request.go index 5b8ad7d3..0e5ddc3c 100644 --- a/smartevents/apiv1alpha/client/model_bridge_request.go +++ b/smartevents/apiv1alpha/client/model_bridge_request.go @@ -3,7 +3,7 @@ * * The API exposed by the fleet manager of the SmartEvents service. * - * API version: 0.0.1 + * API version: 0.0.3 * Contact: openbridge-dev@redhat.com */ diff --git a/smartevents/apiv1alpha/client/model_bridge_response.go b/smartevents/apiv1alpha/client/model_bridge_response.go index 140bf7c3..73e4c379 100644 --- a/smartevents/apiv1alpha/client/model_bridge_response.go +++ b/smartevents/apiv1alpha/client/model_bridge_response.go @@ -3,7 +3,7 @@ * * The API exposed by the fleet manager of the SmartEvents service. * - * API version: 0.0.1 + * API version: 0.0.3 * Contact: openbridge-dev@redhat.com */ diff --git a/smartevents/apiv1alpha/client/model_cloud_provider_list_response.go b/smartevents/apiv1alpha/client/model_cloud_provider_list_response.go index 762baa81..801c799f 100644 --- a/smartevents/apiv1alpha/client/model_cloud_provider_list_response.go +++ b/smartevents/apiv1alpha/client/model_cloud_provider_list_response.go @@ -3,7 +3,7 @@ * * The API exposed by the fleet manager of the SmartEvents service. * - * API version: 0.0.1 + * API version: 0.0.3 * Contact: openbridge-dev@redhat.com */ diff --git a/smartevents/apiv1alpha/client/model_cloud_provider_response.go b/smartevents/apiv1alpha/client/model_cloud_provider_response.go index 3bc49586..5d5b9840 100644 --- a/smartevents/apiv1alpha/client/model_cloud_provider_response.go +++ b/smartevents/apiv1alpha/client/model_cloud_provider_response.go @@ -3,7 +3,7 @@ * * The API exposed by the fleet manager of the SmartEvents service. * - * API version: 0.0.1 + * API version: 0.0.3 * Contact: openbridge-dev@redhat.com */ diff --git a/smartevents/apiv1alpha/client/model_cloud_region_list_response.go b/smartevents/apiv1alpha/client/model_cloud_region_list_response.go index b7803b9d..c4b1cfe7 100644 --- a/smartevents/apiv1alpha/client/model_cloud_region_list_response.go +++ b/smartevents/apiv1alpha/client/model_cloud_region_list_response.go @@ -3,7 +3,7 @@ * * The API exposed by the fleet manager of the SmartEvents service. * - * API version: 0.0.1 + * API version: 0.0.3 * Contact: openbridge-dev@redhat.com */ diff --git a/smartevents/apiv1alpha/client/model_cloud_region_response.go b/smartevents/apiv1alpha/client/model_cloud_region_response.go index f907788c..1f0d54d7 100644 --- a/smartevents/apiv1alpha/client/model_cloud_region_response.go +++ b/smartevents/apiv1alpha/client/model_cloud_region_response.go @@ -3,7 +3,7 @@ * * The API exposed by the fleet manager of the SmartEvents service. * - * API version: 0.0.1 + * API version: 0.0.3 * Contact: openbridge-dev@redhat.com */ diff --git a/smartevents/apiv1alpha/client/model_error_list_response.go b/smartevents/apiv1alpha/client/model_error_list_response.go index adb5b6ad..751752ac 100644 --- a/smartevents/apiv1alpha/client/model_error_list_response.go +++ b/smartevents/apiv1alpha/client/model_error_list_response.go @@ -3,7 +3,7 @@ * * The API exposed by the fleet manager of the SmartEvents service. * - * API version: 0.0.1 + * API version: 0.0.3 * Contact: openbridge-dev@redhat.com */ diff --git a/smartevents/apiv1alpha/client/model_error_response.go b/smartevents/apiv1alpha/client/model_error_response.go index 0564b8ee..0ee0498c 100644 --- a/smartevents/apiv1alpha/client/model_error_response.go +++ b/smartevents/apiv1alpha/client/model_error_response.go @@ -3,7 +3,7 @@ * * The API exposed by the fleet manager of the SmartEvents service. * - * API version: 0.0.1 + * API version: 0.0.3 * Contact: openbridge-dev@redhat.com */ diff --git a/smartevents/apiv1alpha/client/model_errors_response.go b/smartevents/apiv1alpha/client/model_errors_response.go index 7787f0f5..8cd07e0f 100644 --- a/smartevents/apiv1alpha/client/model_errors_response.go +++ b/smartevents/apiv1alpha/client/model_errors_response.go @@ -3,7 +3,7 @@ * * The API exposed by the fleet manager of the SmartEvents service. * - * API version: 0.0.1 + * API version: 0.0.3 * Contact: openbridge-dev@redhat.com */ diff --git a/smartevents/apiv1alpha/client/model_managed_resource_status.go b/smartevents/apiv1alpha/client/model_managed_resource_status.go index f9da6392..40d49f9e 100644 --- a/smartevents/apiv1alpha/client/model_managed_resource_status.go +++ b/smartevents/apiv1alpha/client/model_managed_resource_status.go @@ -3,7 +3,7 @@ * * The API exposed by the fleet manager of the SmartEvents service. * - * API version: 0.0.1 + * API version: 0.0.3 * Contact: openbridge-dev@redhat.com */ diff --git a/smartevents/apiv1alpha/client/model_processor_catalog_response.go b/smartevents/apiv1alpha/client/model_processor_catalog_response.go index 6afaf168..e6b40ff5 100644 --- a/smartevents/apiv1alpha/client/model_processor_catalog_response.go +++ b/smartevents/apiv1alpha/client/model_processor_catalog_response.go @@ -3,7 +3,7 @@ * * The API exposed by the fleet manager of the SmartEvents service. * - * API version: 0.0.1 + * API version: 0.0.3 * Contact: openbridge-dev@redhat.com */ diff --git a/smartevents/apiv1alpha/client/model_processor_list_response.go b/smartevents/apiv1alpha/client/model_processor_list_response.go index 0c889a2b..29148d15 100644 --- a/smartevents/apiv1alpha/client/model_processor_list_response.go +++ b/smartevents/apiv1alpha/client/model_processor_list_response.go @@ -3,7 +3,7 @@ * * The API exposed by the fleet manager of the SmartEvents service. * - * API version: 0.0.1 + * API version: 0.0.3 * Contact: openbridge-dev@redhat.com */ diff --git a/smartevents/apiv1alpha/client/model_processor_request.go b/smartevents/apiv1alpha/client/model_processor_request.go index 189382cc..2bc8c3f6 100644 --- a/smartevents/apiv1alpha/client/model_processor_request.go +++ b/smartevents/apiv1alpha/client/model_processor_request.go @@ -3,7 +3,7 @@ * * The API exposed by the fleet manager of the SmartEvents service. * - * API version: 0.0.1 + * API version: 0.0.3 * Contact: openbridge-dev@redhat.com */ diff --git a/smartevents/apiv1alpha/client/model_processor_response.go b/smartevents/apiv1alpha/client/model_processor_response.go index aa792d5c..0b4250d2 100644 --- a/smartevents/apiv1alpha/client/model_processor_response.go +++ b/smartevents/apiv1alpha/client/model_processor_response.go @@ -3,7 +3,7 @@ * * The API exposed by the fleet manager of the SmartEvents service. * - * API version: 0.0.1 + * API version: 0.0.3 * Contact: openbridge-dev@redhat.com */ diff --git a/smartevents/apiv1alpha/client/model_processor_schema_entry_response.go b/smartevents/apiv1alpha/client/model_processor_schema_entry_response.go index b3bf402d..25394aea 100644 --- a/smartevents/apiv1alpha/client/model_processor_schema_entry_response.go +++ b/smartevents/apiv1alpha/client/model_processor_schema_entry_response.go @@ -3,7 +3,7 @@ * * The API exposed by the fleet manager of the SmartEvents service. * - * API version: 0.0.1 + * API version: 0.0.3 * Contact: openbridge-dev@redhat.com */ diff --git a/smartevents/apiv1alpha/client/model_processor_type.go b/smartevents/apiv1alpha/client/model_processor_type.go index b0009758..54a0a70e 100644 --- a/smartevents/apiv1alpha/client/model_processor_type.go +++ b/smartevents/apiv1alpha/client/model_processor_type.go @@ -3,7 +3,7 @@ * * The API exposed by the fleet manager of the SmartEvents service. * - * API version: 0.0.1 + * API version: 0.0.3 * Contact: openbridge-dev@redhat.com */ diff --git a/smartevents/apiv1alpha/client/model_source.go b/smartevents/apiv1alpha/client/model_source.go index 0613eedd..902bd4cf 100644 --- a/smartevents/apiv1alpha/client/model_source.go +++ b/smartevents/apiv1alpha/client/model_source.go @@ -3,7 +3,7 @@ * * The API exposed by the fleet manager of the SmartEvents service. * - * API version: 0.0.1 + * API version: 0.0.3 * Contact: openbridge-dev@redhat.com */ diff --git a/smartevents/apiv1alpha/client/response.go b/smartevents/apiv1alpha/client/response.go index 3495e768..7eaad91a 100644 --- a/smartevents/apiv1alpha/client/response.go +++ b/smartevents/apiv1alpha/client/response.go @@ -3,7 +3,7 @@ * * The API exposed by the fleet manager of the SmartEvents service. * - * API version: 0.0.1 + * API version: 0.0.3 * Contact: openbridge-dev@redhat.com */ diff --git a/smartevents/apiv1alpha/client/utils.go b/smartevents/apiv1alpha/client/utils.go index 00d6dab7..160a7a05 100644 --- a/smartevents/apiv1alpha/client/utils.go +++ b/smartevents/apiv1alpha/client/utils.go @@ -3,7 +3,7 @@ * * The API exposed by the fleet manager of the SmartEvents service. * - * API version: 0.0.1 + * API version: 0.0.3 * Contact: openbridge-dev@redhat.com */