Skip to content

Commit

Permalink
Update client for 6bacd0f
Browse files Browse the repository at this point in the history
Signed-off-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] committed Nov 2, 2023
1 parent 4332807 commit 993d389
Show file tree
Hide file tree
Showing 8 changed files with 219 additions and 157 deletions.
4 changes: 2 additions & 2 deletions pds/v1alpha1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -298,8 +298,6 @@ Class | Method | HTTP request | Description
- [ControllersUpdateBackupPolicyRequest](docs/ControllersUpdateBackupPolicyRequest.md)
- [ControllersUpdateBackupRequest](docs/ControllersUpdateBackupRequest.md)
- [ControllersUpdateBackupTargetRequest](docs/ControllersUpdateBackupTargetRequest.md)
- [ControllersUpdateDeploymentRequest](docs/ControllersUpdateDeploymentRequest.md)
- [ControllersUpdateDeploymentScheduledBackup](docs/ControllersUpdateDeploymentScheduledBackup.md)
- [ControllersUpdateDeploymentTargetRequest](docs/ControllersUpdateDeploymentTargetRequest.md)
- [ControllersUpdateGlobalConfigRequest](docs/ControllersUpdateGlobalConfigRequest.md)
- [ControllersUpdateNamespaceRequest](docs/ControllersUpdateNamespaceRequest.md)
Expand Down Expand Up @@ -420,6 +418,8 @@ Class | Method | HTTP request | Description
- [RequestsPutBackupJobRequest](docs/RequestsPutBackupJobRequest.md)
- [RequestsPutLegacyBindingRequest](docs/RequestsPutLegacyBindingRequest.md)
- [RequestsServiceIdentityRequest](docs/RequestsServiceIdentityRequest.md)
- [RequestsUpdateDeploymentRequest](docs/RequestsUpdateDeploymentRequest.md)
- [RequestsUpdateDeploymentScheduledBackup](docs/RequestsUpdateDeploymentScheduledBackup.md)
- [RequestsUpdateOperatorMetadataRequest](docs/RequestsUpdateOperatorMetadataRequest.md)
- [RequestsUpdateRestoreRequest](docs/RequestsUpdateRestoreRequest.md)
- [RequestsUpsertDeploymentManifestRequest](docs/RequestsUpsertDeploymentManifestRequest.md)
Expand Down
59 changes: 30 additions & 29 deletions pds/v1alpha1/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2386,7 +2386,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/controllers.UpdateDeploymentRequest'
$ref: '#/components/schemas/requests.UpdateDeploymentRequest'
description: Request body containing the updated deployment config
required: true
responses:
Expand Down Expand Up @@ -5781,34 +5781,6 @@ components:
description: Name of the backup target. Must be unique for the given tenant.
type: string
type: object
controllers.UpdateDeploymentRequest:
properties:
application_configuration_overrides:
additionalProperties:
type: string
type: object
application_configuration_template_id:
type: string
image_id:
type: string
node_count:
description: See models.Deployment for more information.
example: 3
type: integer
resource_settings_template_id:
type: string
scheduled_backup:
$ref: '#/components/schemas/controllers.UpdateDeploymentScheduledBackup'
type: object
controllers.UpdateDeploymentScheduledBackup:
properties:
backup_policy_id:
type: string
backup_target_id:
description: BackupTargetID and BackupPolicyID must be both specified or
not. Set both to null to have no scheduled backup.
type: string
type: object
controllers.UpdateDeploymentTargetRequest:
properties:
name:
Expand Down Expand Up @@ -9929,6 +9901,35 @@ components:
- enabled
- name
type: object
requests.UpdateDeploymentRequest:
properties:
application_configuration_overrides:
additionalProperties:
type: string
type: object
application_configuration_template_id:
type: string
image_id:
type: string
node_count:
example: 3
type: integer
resource_settings_template_id:
type: string
scheduled_backup:
$ref: '#/components/schemas/requests.UpdateDeploymentScheduledBackup'
tls_enabled:
type: boolean
type: object
requests.UpdateDeploymentScheduledBackup:
properties:
backup_policy_id:
type: string
backup_target_id:
description: BackupTargetID and BackupPolicyID must be both specified or
not. Set both to null to have no scheduled backup.
type: string
type: object
requests.UpdateOperatorMetadataRequest:
properties:
cluster_id:
Expand Down
4 changes: 2 additions & 2 deletions pds/v1alpha1/api_deployments.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pds/v1alpha1/docs/DeploymentsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ import (

func main() {
id := "id_example" // string | Deployment ID (must be valid UUID)
body := *openapiclient.NewControllersUpdateDeploymentRequest() // ControllersUpdateDeploymentRequest | Request body containing the updated deployment config
body := *openapiclient.NewRequestsUpdateDeploymentRequest() // RequestsUpdateDeploymentRequest | Request body containing the updated deployment config
localOnly := true // bool | Set to true to only update the Deployment object in the database (does not create any actual resources) (optional)

configuration := openapiclient.NewConfiguration()
Expand Down Expand Up @@ -351,7 +351,7 @@ Other parameters are passed through a pointer to a apiApiDeploymentsIdPutRequest
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------

**body** | [**ControllersUpdateDeploymentRequest**](ControllersUpdateDeploymentRequest.md) | Request body containing the updated deployment config |
**body** | [**RequestsUpdateDeploymentRequest**](RequestsUpdateDeploymentRequest.md) | Request body containing the updated deployment config |
**localOnly** | **bool** | Set to true to only update the Deployment object in the database (does not create any actual resources) |

### Return type
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ControllersUpdateDeploymentRequest
# RequestsUpdateDeploymentRequest

## Properties

Expand All @@ -7,179 +7,205 @@ Name | Type | Description | Notes
**ApplicationConfigurationOverrides** | Pointer to **map[string]string** | | [optional]
**ApplicationConfigurationTemplateId** | Pointer to **string** | | [optional]
**ImageId** | Pointer to **string** | | [optional]
**NodeCount** | Pointer to **int32** | See models.Deployment for more information. | [optional]
**NodeCount** | Pointer to **int32** | | [optional]
**ResourceSettingsTemplateId** | Pointer to **string** | | [optional]
**ScheduledBackup** | Pointer to [**ControllersUpdateDeploymentScheduledBackup**](ControllersUpdateDeploymentScheduledBackup.md) | | [optional]
**ScheduledBackup** | Pointer to [**RequestsUpdateDeploymentScheduledBackup**](RequestsUpdateDeploymentScheduledBackup.md) | | [optional]
**TlsEnabled** | Pointer to **bool** | | [optional]

## Methods

### NewControllersUpdateDeploymentRequest
### NewRequestsUpdateDeploymentRequest

`func NewControllersUpdateDeploymentRequest() *ControllersUpdateDeploymentRequest`
`func NewRequestsUpdateDeploymentRequest() *RequestsUpdateDeploymentRequest`

NewControllersUpdateDeploymentRequest instantiates a new ControllersUpdateDeploymentRequest object
NewRequestsUpdateDeploymentRequest instantiates a new RequestsUpdateDeploymentRequest 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

### NewControllersUpdateDeploymentRequestWithDefaults
### NewRequestsUpdateDeploymentRequestWithDefaults

`func NewControllersUpdateDeploymentRequestWithDefaults() *ControllersUpdateDeploymentRequest`
`func NewRequestsUpdateDeploymentRequestWithDefaults() *RequestsUpdateDeploymentRequest`

NewControllersUpdateDeploymentRequestWithDefaults instantiates a new ControllersUpdateDeploymentRequest object
NewRequestsUpdateDeploymentRequestWithDefaults instantiates a new RequestsUpdateDeploymentRequest 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

### GetApplicationConfigurationOverrides

`func (o *ControllersUpdateDeploymentRequest) GetApplicationConfigurationOverrides() map[string]string`
`func (o *RequestsUpdateDeploymentRequest) GetApplicationConfigurationOverrides() map[string]string`

GetApplicationConfigurationOverrides returns the ApplicationConfigurationOverrides field if non-nil, zero value otherwise.

### GetApplicationConfigurationOverridesOk

`func (o *ControllersUpdateDeploymentRequest) GetApplicationConfigurationOverridesOk() (*map[string]string, bool)`
`func (o *RequestsUpdateDeploymentRequest) GetApplicationConfigurationOverridesOk() (*map[string]string, bool)`

GetApplicationConfigurationOverridesOk returns a tuple with the ApplicationConfigurationOverrides field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetApplicationConfigurationOverrides

`func (o *ControllersUpdateDeploymentRequest) SetApplicationConfigurationOverrides(v map[string]string)`
`func (o *RequestsUpdateDeploymentRequest) SetApplicationConfigurationOverrides(v map[string]string)`

SetApplicationConfigurationOverrides sets ApplicationConfigurationOverrides field to given value.

### HasApplicationConfigurationOverrides

`func (o *ControllersUpdateDeploymentRequest) HasApplicationConfigurationOverrides() bool`
`func (o *RequestsUpdateDeploymentRequest) HasApplicationConfigurationOverrides() bool`

HasApplicationConfigurationOverrides returns a boolean if a field has been set.

### GetApplicationConfigurationTemplateId

`func (o *ControllersUpdateDeploymentRequest) GetApplicationConfigurationTemplateId() string`
`func (o *RequestsUpdateDeploymentRequest) GetApplicationConfigurationTemplateId() string`

GetApplicationConfigurationTemplateId returns the ApplicationConfigurationTemplateId field if non-nil, zero value otherwise.

### GetApplicationConfigurationTemplateIdOk

`func (o *ControllersUpdateDeploymentRequest) GetApplicationConfigurationTemplateIdOk() (*string, bool)`
`func (o *RequestsUpdateDeploymentRequest) GetApplicationConfigurationTemplateIdOk() (*string, bool)`

GetApplicationConfigurationTemplateIdOk returns a tuple with the ApplicationConfigurationTemplateId field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetApplicationConfigurationTemplateId

`func (o *ControllersUpdateDeploymentRequest) SetApplicationConfigurationTemplateId(v string)`
`func (o *RequestsUpdateDeploymentRequest) SetApplicationConfigurationTemplateId(v string)`

SetApplicationConfigurationTemplateId sets ApplicationConfigurationTemplateId field to given value.

### HasApplicationConfigurationTemplateId

`func (o *ControllersUpdateDeploymentRequest) HasApplicationConfigurationTemplateId() bool`
`func (o *RequestsUpdateDeploymentRequest) HasApplicationConfigurationTemplateId() bool`

HasApplicationConfigurationTemplateId returns a boolean if a field has been set.

### GetImageId

`func (o *ControllersUpdateDeploymentRequest) GetImageId() string`
`func (o *RequestsUpdateDeploymentRequest) GetImageId() string`

GetImageId returns the ImageId field if non-nil, zero value otherwise.

### GetImageIdOk

`func (o *ControllersUpdateDeploymentRequest) GetImageIdOk() (*string, bool)`
`func (o *RequestsUpdateDeploymentRequest) GetImageIdOk() (*string, bool)`

GetImageIdOk returns a tuple with the ImageId field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetImageId

`func (o *ControllersUpdateDeploymentRequest) SetImageId(v string)`
`func (o *RequestsUpdateDeploymentRequest) SetImageId(v string)`

SetImageId sets ImageId field to given value.

### HasImageId

`func (o *ControllersUpdateDeploymentRequest) HasImageId() bool`
`func (o *RequestsUpdateDeploymentRequest) HasImageId() bool`

HasImageId returns a boolean if a field has been set.

### GetNodeCount

`func (o *ControllersUpdateDeploymentRequest) GetNodeCount() int32`
`func (o *RequestsUpdateDeploymentRequest) GetNodeCount() int32`

GetNodeCount returns the NodeCount field if non-nil, zero value otherwise.

### GetNodeCountOk

`func (o *ControllersUpdateDeploymentRequest) GetNodeCountOk() (*int32, bool)`
`func (o *RequestsUpdateDeploymentRequest) GetNodeCountOk() (*int32, bool)`

GetNodeCountOk returns a tuple with the NodeCount field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetNodeCount

`func (o *ControllersUpdateDeploymentRequest) SetNodeCount(v int32)`
`func (o *RequestsUpdateDeploymentRequest) SetNodeCount(v int32)`

SetNodeCount sets NodeCount field to given value.

### HasNodeCount

`func (o *ControllersUpdateDeploymentRequest) HasNodeCount() bool`
`func (o *RequestsUpdateDeploymentRequest) HasNodeCount() bool`

HasNodeCount returns a boolean if a field has been set.

### GetResourceSettingsTemplateId

`func (o *ControllersUpdateDeploymentRequest) GetResourceSettingsTemplateId() string`
`func (o *RequestsUpdateDeploymentRequest) GetResourceSettingsTemplateId() string`

GetResourceSettingsTemplateId returns the ResourceSettingsTemplateId field if non-nil, zero value otherwise.

### GetResourceSettingsTemplateIdOk

`func (o *ControllersUpdateDeploymentRequest) GetResourceSettingsTemplateIdOk() (*string, bool)`
`func (o *RequestsUpdateDeploymentRequest) GetResourceSettingsTemplateIdOk() (*string, bool)`

GetResourceSettingsTemplateIdOk returns a tuple with the ResourceSettingsTemplateId field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetResourceSettingsTemplateId

`func (o *ControllersUpdateDeploymentRequest) SetResourceSettingsTemplateId(v string)`
`func (o *RequestsUpdateDeploymentRequest) SetResourceSettingsTemplateId(v string)`

SetResourceSettingsTemplateId sets ResourceSettingsTemplateId field to given value.

### HasResourceSettingsTemplateId

`func (o *ControllersUpdateDeploymentRequest) HasResourceSettingsTemplateId() bool`
`func (o *RequestsUpdateDeploymentRequest) HasResourceSettingsTemplateId() bool`

HasResourceSettingsTemplateId returns a boolean if a field has been set.

### GetScheduledBackup

`func (o *ControllersUpdateDeploymentRequest) GetScheduledBackup() ControllersUpdateDeploymentScheduledBackup`
`func (o *RequestsUpdateDeploymentRequest) GetScheduledBackup() RequestsUpdateDeploymentScheduledBackup`

GetScheduledBackup returns the ScheduledBackup field if non-nil, zero value otherwise.

### GetScheduledBackupOk

`func (o *ControllersUpdateDeploymentRequest) GetScheduledBackupOk() (*ControllersUpdateDeploymentScheduledBackup, bool)`
`func (o *RequestsUpdateDeploymentRequest) GetScheduledBackupOk() (*RequestsUpdateDeploymentScheduledBackup, bool)`

GetScheduledBackupOk returns a tuple with the ScheduledBackup field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetScheduledBackup

`func (o *ControllersUpdateDeploymentRequest) SetScheduledBackup(v ControllersUpdateDeploymentScheduledBackup)`
`func (o *RequestsUpdateDeploymentRequest) SetScheduledBackup(v RequestsUpdateDeploymentScheduledBackup)`

SetScheduledBackup sets ScheduledBackup field to given value.

### HasScheduledBackup

`func (o *ControllersUpdateDeploymentRequest) HasScheduledBackup() bool`
`func (o *RequestsUpdateDeploymentRequest) HasScheduledBackup() bool`

HasScheduledBackup returns a boolean if a field has been set.

### GetTlsEnabled

`func (o *RequestsUpdateDeploymentRequest) GetTlsEnabled() bool`

GetTlsEnabled returns the TlsEnabled field if non-nil, zero value otherwise.

### GetTlsEnabledOk

`func (o *RequestsUpdateDeploymentRequest) GetTlsEnabledOk() (*bool, bool)`

GetTlsEnabledOk returns a tuple with the TlsEnabled field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetTlsEnabled

`func (o *RequestsUpdateDeploymentRequest) SetTlsEnabled(v bool)`

SetTlsEnabled sets TlsEnabled field to given value.

### HasTlsEnabled

`func (o *RequestsUpdateDeploymentRequest) HasTlsEnabled() bool`

HasTlsEnabled 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)

Expand Down
Loading

0 comments on commit 993d389

Please sign in to comment.