diff --git a/pds/v1alpha1/README.md b/pds/v1alpha1/README.md index 4d064fa..3615a32 100644 --- a/pds/v1alpha1/README.md +++ b/pds/v1alpha1/README.md @@ -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) @@ -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) diff --git a/pds/v1alpha1/api/openapi.yaml b/pds/v1alpha1/api/openapi.yaml index 3892130..1ec87e2 100644 --- a/pds/v1alpha1/api/openapi.yaml +++ b/pds/v1alpha1/api/openapi.yaml @@ -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: @@ -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: @@ -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: diff --git a/pds/v1alpha1/api_deployments.go b/pds/v1alpha1/api_deployments.go index ae156a0..8a7a760 100644 --- a/pds/v1alpha1/api_deployments.go +++ b/pds/v1alpha1/api_deployments.go @@ -510,12 +510,12 @@ type ApiApiDeploymentsIdPutRequest struct { ctx context.Context ApiService *DeploymentsApiService id string - body *ControllersUpdateDeploymentRequest + body *RequestsUpdateDeploymentRequest localOnly *bool } // Request body containing the updated deployment config -func (r ApiApiDeploymentsIdPutRequest) Body(body ControllersUpdateDeploymentRequest) ApiApiDeploymentsIdPutRequest { +func (r ApiApiDeploymentsIdPutRequest) Body(body RequestsUpdateDeploymentRequest) ApiApiDeploymentsIdPutRequest { r.body = &body return r } diff --git a/pds/v1alpha1/docs/DeploymentsApi.md b/pds/v1alpha1/docs/DeploymentsApi.md index a28b9ac..06bd883 100644 --- a/pds/v1alpha1/docs/DeploymentsApi.md +++ b/pds/v1alpha1/docs/DeploymentsApi.md @@ -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() @@ -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 diff --git a/pds/v1alpha1/docs/ControllersUpdateDeploymentRequest.md b/pds/v1alpha1/docs/RequestsUpdateDeploymentRequest.md similarity index 54% rename from pds/v1alpha1/docs/ControllersUpdateDeploymentRequest.md rename to pds/v1alpha1/docs/RequestsUpdateDeploymentRequest.md index 5b7d947..7c76f14 100644 --- a/pds/v1alpha1/docs/ControllersUpdateDeploymentRequest.md +++ b/pds/v1alpha1/docs/RequestsUpdateDeploymentRequest.md @@ -1,4 +1,4 @@ -# ControllersUpdateDeploymentRequest +# RequestsUpdateDeploymentRequest ## Properties @@ -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) diff --git a/pds/v1alpha1/docs/ControllersUpdateDeploymentScheduledBackup.md b/pds/v1alpha1/docs/RequestsUpdateDeploymentScheduledBackup.md similarity index 58% rename from pds/v1alpha1/docs/ControllersUpdateDeploymentScheduledBackup.md rename to pds/v1alpha1/docs/RequestsUpdateDeploymentScheduledBackup.md index 29e2692..63cd338 100644 --- a/pds/v1alpha1/docs/ControllersUpdateDeploymentScheduledBackup.md +++ b/pds/v1alpha1/docs/RequestsUpdateDeploymentScheduledBackup.md @@ -1,4 +1,4 @@ -# ControllersUpdateDeploymentScheduledBackup +# RequestsUpdateDeploymentScheduledBackup ## Properties @@ -9,70 +9,70 @@ Name | Type | Description | Notes ## Methods -### NewControllersUpdateDeploymentScheduledBackup +### NewRequestsUpdateDeploymentScheduledBackup -`func NewControllersUpdateDeploymentScheduledBackup() *ControllersUpdateDeploymentScheduledBackup` +`func NewRequestsUpdateDeploymentScheduledBackup() *RequestsUpdateDeploymentScheduledBackup` -NewControllersUpdateDeploymentScheduledBackup instantiates a new ControllersUpdateDeploymentScheduledBackup object +NewRequestsUpdateDeploymentScheduledBackup instantiates a new RequestsUpdateDeploymentScheduledBackup 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 -### NewControllersUpdateDeploymentScheduledBackupWithDefaults +### NewRequestsUpdateDeploymentScheduledBackupWithDefaults -`func NewControllersUpdateDeploymentScheduledBackupWithDefaults() *ControllersUpdateDeploymentScheduledBackup` +`func NewRequestsUpdateDeploymentScheduledBackupWithDefaults() *RequestsUpdateDeploymentScheduledBackup` -NewControllersUpdateDeploymentScheduledBackupWithDefaults instantiates a new ControllersUpdateDeploymentScheduledBackup object +NewRequestsUpdateDeploymentScheduledBackupWithDefaults instantiates a new RequestsUpdateDeploymentScheduledBackup 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 ### GetBackupPolicyId -`func (o *ControllersUpdateDeploymentScheduledBackup) GetBackupPolicyId() string` +`func (o *RequestsUpdateDeploymentScheduledBackup) GetBackupPolicyId() string` GetBackupPolicyId returns the BackupPolicyId field if non-nil, zero value otherwise. ### GetBackupPolicyIdOk -`func (o *ControllersUpdateDeploymentScheduledBackup) GetBackupPolicyIdOk() (*string, bool)` +`func (o *RequestsUpdateDeploymentScheduledBackup) GetBackupPolicyIdOk() (*string, bool)` GetBackupPolicyIdOk returns a tuple with the BackupPolicyId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetBackupPolicyId -`func (o *ControllersUpdateDeploymentScheduledBackup) SetBackupPolicyId(v string)` +`func (o *RequestsUpdateDeploymentScheduledBackup) SetBackupPolicyId(v string)` SetBackupPolicyId sets BackupPolicyId field to given value. ### HasBackupPolicyId -`func (o *ControllersUpdateDeploymentScheduledBackup) HasBackupPolicyId() bool` +`func (o *RequestsUpdateDeploymentScheduledBackup) HasBackupPolicyId() bool` HasBackupPolicyId returns a boolean if a field has been set. ### GetBackupTargetId -`func (o *ControllersUpdateDeploymentScheduledBackup) GetBackupTargetId() string` +`func (o *RequestsUpdateDeploymentScheduledBackup) GetBackupTargetId() string` GetBackupTargetId returns the BackupTargetId field if non-nil, zero value otherwise. ### GetBackupTargetIdOk -`func (o *ControllersUpdateDeploymentScheduledBackup) GetBackupTargetIdOk() (*string, bool)` +`func (o *RequestsUpdateDeploymentScheduledBackup) GetBackupTargetIdOk() (*string, bool)` GetBackupTargetIdOk returns a tuple with the BackupTargetId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetBackupTargetId -`func (o *ControllersUpdateDeploymentScheduledBackup) SetBackupTargetId(v string)` +`func (o *RequestsUpdateDeploymentScheduledBackup) SetBackupTargetId(v string)` SetBackupTargetId sets BackupTargetId field to given value. ### HasBackupTargetId -`func (o *ControllersUpdateDeploymentScheduledBackup) HasBackupTargetId() bool` +`func (o *RequestsUpdateDeploymentScheduledBackup) HasBackupTargetId() bool` HasBackupTargetId returns a boolean if a field has been set. diff --git a/pds/v1alpha1/model_controllers_update_deployment_request.go b/pds/v1alpha1/model_requests_update_deployment_request.go similarity index 57% rename from pds/v1alpha1/model_controllers_update_deployment_request.go rename to pds/v1alpha1/model_requests_update_deployment_request.go index a175662..bce6484 100644 --- a/pds/v1alpha1/model_controllers_update_deployment_request.go +++ b/pds/v1alpha1/model_requests_update_deployment_request.go @@ -14,36 +14,36 @@ import ( "encoding/json" ) -// ControllersUpdateDeploymentRequest struct for ControllersUpdateDeploymentRequest -type ControllersUpdateDeploymentRequest struct { +// RequestsUpdateDeploymentRequest struct for RequestsUpdateDeploymentRequest +type RequestsUpdateDeploymentRequest struct { ApplicationConfigurationOverrides *map[string]string `json:"application_configuration_overrides,omitempty"` ApplicationConfigurationTemplateId *string `json:"application_configuration_template_id,omitempty"` ImageId *string `json:"image_id,omitempty"` - // See models.Deployment for more information. NodeCount *int32 `json:"node_count,omitempty"` ResourceSettingsTemplateId *string `json:"resource_settings_template_id,omitempty"` - ScheduledBackup *ControllersUpdateDeploymentScheduledBackup `json:"scheduled_backup,omitempty"` + ScheduledBackup *RequestsUpdateDeploymentScheduledBackup `json:"scheduled_backup,omitempty"` + TlsEnabled *bool `json:"tls_enabled,omitempty"` } -// 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 -func NewControllersUpdateDeploymentRequest() *ControllersUpdateDeploymentRequest { - this := ControllersUpdateDeploymentRequest{} +func NewRequestsUpdateDeploymentRequest() *RequestsUpdateDeploymentRequest { + this := RequestsUpdateDeploymentRequest{} return &this } -// 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 -func NewControllersUpdateDeploymentRequestWithDefaults() *ControllersUpdateDeploymentRequest { - this := ControllersUpdateDeploymentRequest{} +func NewRequestsUpdateDeploymentRequestWithDefaults() *RequestsUpdateDeploymentRequest { + this := RequestsUpdateDeploymentRequest{} return &this } // GetApplicationConfigurationOverrides returns the ApplicationConfigurationOverrides field value if set, zero value otherwise. -func (o *ControllersUpdateDeploymentRequest) GetApplicationConfigurationOverrides() map[string]string { +func (o *RequestsUpdateDeploymentRequest) GetApplicationConfigurationOverrides() map[string]string { if o == nil || o.ApplicationConfigurationOverrides == nil { var ret map[string]string return ret @@ -53,7 +53,7 @@ func (o *ControllersUpdateDeploymentRequest) GetApplicationConfigurationOverride // GetApplicationConfigurationOverridesOk returns a tuple with the ApplicationConfigurationOverrides field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ControllersUpdateDeploymentRequest) GetApplicationConfigurationOverridesOk() (*map[string]string, bool) { +func (o *RequestsUpdateDeploymentRequest) GetApplicationConfigurationOverridesOk() (*map[string]string, bool) { if o == nil || o.ApplicationConfigurationOverrides == nil { return nil, false } @@ -61,7 +61,7 @@ func (o *ControllersUpdateDeploymentRequest) GetApplicationConfigurationOverride } // HasApplicationConfigurationOverrides returns a boolean if a field has been set. -func (o *ControllersUpdateDeploymentRequest) HasApplicationConfigurationOverrides() bool { +func (o *RequestsUpdateDeploymentRequest) HasApplicationConfigurationOverrides() bool { if o != nil && o.ApplicationConfigurationOverrides != nil { return true } @@ -70,12 +70,12 @@ func (o *ControllersUpdateDeploymentRequest) HasApplicationConfigurationOverride } // SetApplicationConfigurationOverrides gets a reference to the given map[string]string and assigns it to the ApplicationConfigurationOverrides field. -func (o *ControllersUpdateDeploymentRequest) SetApplicationConfigurationOverrides(v map[string]string) { +func (o *RequestsUpdateDeploymentRequest) SetApplicationConfigurationOverrides(v map[string]string) { o.ApplicationConfigurationOverrides = &v } // GetApplicationConfigurationTemplateId returns the ApplicationConfigurationTemplateId field value if set, zero value otherwise. -func (o *ControllersUpdateDeploymentRequest) GetApplicationConfigurationTemplateId() string { +func (o *RequestsUpdateDeploymentRequest) GetApplicationConfigurationTemplateId() string { if o == nil || o.ApplicationConfigurationTemplateId == nil { var ret string return ret @@ -85,7 +85,7 @@ func (o *ControllersUpdateDeploymentRequest) GetApplicationConfigurationTemplate // GetApplicationConfigurationTemplateIdOk returns a tuple with the ApplicationConfigurationTemplateId field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ControllersUpdateDeploymentRequest) GetApplicationConfigurationTemplateIdOk() (*string, bool) { +func (o *RequestsUpdateDeploymentRequest) GetApplicationConfigurationTemplateIdOk() (*string, bool) { if o == nil || o.ApplicationConfigurationTemplateId == nil { return nil, false } @@ -93,7 +93,7 @@ func (o *ControllersUpdateDeploymentRequest) GetApplicationConfigurationTemplate } // HasApplicationConfigurationTemplateId returns a boolean if a field has been set. -func (o *ControllersUpdateDeploymentRequest) HasApplicationConfigurationTemplateId() bool { +func (o *RequestsUpdateDeploymentRequest) HasApplicationConfigurationTemplateId() bool { if o != nil && o.ApplicationConfigurationTemplateId != nil { return true } @@ -102,12 +102,12 @@ func (o *ControllersUpdateDeploymentRequest) HasApplicationConfigurationTemplate } // SetApplicationConfigurationTemplateId gets a reference to the given string and assigns it to the ApplicationConfigurationTemplateId field. -func (o *ControllersUpdateDeploymentRequest) SetApplicationConfigurationTemplateId(v string) { +func (o *RequestsUpdateDeploymentRequest) SetApplicationConfigurationTemplateId(v string) { o.ApplicationConfigurationTemplateId = &v } // GetImageId returns the ImageId field value if set, zero value otherwise. -func (o *ControllersUpdateDeploymentRequest) GetImageId() string { +func (o *RequestsUpdateDeploymentRequest) GetImageId() string { if o == nil || o.ImageId == nil { var ret string return ret @@ -117,7 +117,7 @@ func (o *ControllersUpdateDeploymentRequest) GetImageId() string { // GetImageIdOk returns a tuple with the ImageId field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ControllersUpdateDeploymentRequest) GetImageIdOk() (*string, bool) { +func (o *RequestsUpdateDeploymentRequest) GetImageIdOk() (*string, bool) { if o == nil || o.ImageId == nil { return nil, false } @@ -125,7 +125,7 @@ func (o *ControllersUpdateDeploymentRequest) GetImageIdOk() (*string, bool) { } // HasImageId returns a boolean if a field has been set. -func (o *ControllersUpdateDeploymentRequest) HasImageId() bool { +func (o *RequestsUpdateDeploymentRequest) HasImageId() bool { if o != nil && o.ImageId != nil { return true } @@ -134,12 +134,12 @@ func (o *ControllersUpdateDeploymentRequest) HasImageId() bool { } // SetImageId gets a reference to the given string and assigns it to the ImageId field. -func (o *ControllersUpdateDeploymentRequest) SetImageId(v string) { +func (o *RequestsUpdateDeploymentRequest) SetImageId(v string) { o.ImageId = &v } // GetNodeCount returns the NodeCount field value if set, zero value otherwise. -func (o *ControllersUpdateDeploymentRequest) GetNodeCount() int32 { +func (o *RequestsUpdateDeploymentRequest) GetNodeCount() int32 { if o == nil || o.NodeCount == nil { var ret int32 return ret @@ -149,7 +149,7 @@ func (o *ControllersUpdateDeploymentRequest) GetNodeCount() int32 { // GetNodeCountOk returns a tuple with the NodeCount field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ControllersUpdateDeploymentRequest) GetNodeCountOk() (*int32, bool) { +func (o *RequestsUpdateDeploymentRequest) GetNodeCountOk() (*int32, bool) { if o == nil || o.NodeCount == nil { return nil, false } @@ -157,7 +157,7 @@ func (o *ControllersUpdateDeploymentRequest) GetNodeCountOk() (*int32, bool) { } // HasNodeCount returns a boolean if a field has been set. -func (o *ControllersUpdateDeploymentRequest) HasNodeCount() bool { +func (o *RequestsUpdateDeploymentRequest) HasNodeCount() bool { if o != nil && o.NodeCount != nil { return true } @@ -166,12 +166,12 @@ func (o *ControllersUpdateDeploymentRequest) HasNodeCount() bool { } // SetNodeCount gets a reference to the given int32 and assigns it to the NodeCount field. -func (o *ControllersUpdateDeploymentRequest) SetNodeCount(v int32) { +func (o *RequestsUpdateDeploymentRequest) SetNodeCount(v int32) { o.NodeCount = &v } // GetResourceSettingsTemplateId returns the ResourceSettingsTemplateId field value if set, zero value otherwise. -func (o *ControllersUpdateDeploymentRequest) GetResourceSettingsTemplateId() string { +func (o *RequestsUpdateDeploymentRequest) GetResourceSettingsTemplateId() string { if o == nil || o.ResourceSettingsTemplateId == nil { var ret string return ret @@ -181,7 +181,7 @@ func (o *ControllersUpdateDeploymentRequest) GetResourceSettingsTemplateId() str // GetResourceSettingsTemplateIdOk returns a tuple with the ResourceSettingsTemplateId field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ControllersUpdateDeploymentRequest) GetResourceSettingsTemplateIdOk() (*string, bool) { +func (o *RequestsUpdateDeploymentRequest) GetResourceSettingsTemplateIdOk() (*string, bool) { if o == nil || o.ResourceSettingsTemplateId == nil { return nil, false } @@ -189,7 +189,7 @@ func (o *ControllersUpdateDeploymentRequest) GetResourceSettingsTemplateIdOk() ( } // HasResourceSettingsTemplateId returns a boolean if a field has been set. -func (o *ControllersUpdateDeploymentRequest) HasResourceSettingsTemplateId() bool { +func (o *RequestsUpdateDeploymentRequest) HasResourceSettingsTemplateId() bool { if o != nil && o.ResourceSettingsTemplateId != nil { return true } @@ -198,14 +198,14 @@ func (o *ControllersUpdateDeploymentRequest) HasResourceSettingsTemplateId() boo } // SetResourceSettingsTemplateId gets a reference to the given string and assigns it to the ResourceSettingsTemplateId field. -func (o *ControllersUpdateDeploymentRequest) SetResourceSettingsTemplateId(v string) { +func (o *RequestsUpdateDeploymentRequest) SetResourceSettingsTemplateId(v string) { o.ResourceSettingsTemplateId = &v } // GetScheduledBackup returns the ScheduledBackup field value if set, zero value otherwise. -func (o *ControllersUpdateDeploymentRequest) GetScheduledBackup() ControllersUpdateDeploymentScheduledBackup { +func (o *RequestsUpdateDeploymentRequest) GetScheduledBackup() RequestsUpdateDeploymentScheduledBackup { if o == nil || o.ScheduledBackup == nil { - var ret ControllersUpdateDeploymentScheduledBackup + var ret RequestsUpdateDeploymentScheduledBackup return ret } return *o.ScheduledBackup @@ -213,7 +213,7 @@ func (o *ControllersUpdateDeploymentRequest) GetScheduledBackup() ControllersUpd // GetScheduledBackupOk returns a tuple with the ScheduledBackup field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ControllersUpdateDeploymentRequest) GetScheduledBackupOk() (*ControllersUpdateDeploymentScheduledBackup, bool) { +func (o *RequestsUpdateDeploymentRequest) GetScheduledBackupOk() (*RequestsUpdateDeploymentScheduledBackup, bool) { if o == nil || o.ScheduledBackup == nil { return nil, false } @@ -221,7 +221,7 @@ func (o *ControllersUpdateDeploymentRequest) GetScheduledBackupOk() (*Controller } // HasScheduledBackup returns a boolean if a field has been set. -func (o *ControllersUpdateDeploymentRequest) HasScheduledBackup() bool { +func (o *RequestsUpdateDeploymentRequest) HasScheduledBackup() bool { if o != nil && o.ScheduledBackup != nil { return true } @@ -229,12 +229,44 @@ func (o *ControllersUpdateDeploymentRequest) HasScheduledBackup() bool { return false } -// SetScheduledBackup gets a reference to the given ControllersUpdateDeploymentScheduledBackup and assigns it to the ScheduledBackup field. -func (o *ControllersUpdateDeploymentRequest) SetScheduledBackup(v ControllersUpdateDeploymentScheduledBackup) { +// SetScheduledBackup gets a reference to the given RequestsUpdateDeploymentScheduledBackup and assigns it to the ScheduledBackup field. +func (o *RequestsUpdateDeploymentRequest) SetScheduledBackup(v RequestsUpdateDeploymentScheduledBackup) { o.ScheduledBackup = &v } -func (o ControllersUpdateDeploymentRequest) MarshalJSON() ([]byte, error) { +// GetTlsEnabled returns the TlsEnabled field value if set, zero value otherwise. +func (o *RequestsUpdateDeploymentRequest) GetTlsEnabled() bool { + if o == nil || o.TlsEnabled == nil { + var ret bool + return ret + } + return *o.TlsEnabled +} + +// GetTlsEnabledOk returns a tuple with the TlsEnabled field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RequestsUpdateDeploymentRequest) GetTlsEnabledOk() (*bool, bool) { + if o == nil || o.TlsEnabled == nil { + return nil, false + } + return o.TlsEnabled, true +} + +// HasTlsEnabled returns a boolean if a field has been set. +func (o *RequestsUpdateDeploymentRequest) HasTlsEnabled() bool { + if o != nil && o.TlsEnabled != nil { + return true + } + + return false +} + +// SetTlsEnabled gets a reference to the given bool and assigns it to the TlsEnabled field. +func (o *RequestsUpdateDeploymentRequest) SetTlsEnabled(v bool) { + o.TlsEnabled = &v +} + +func (o RequestsUpdateDeploymentRequest) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} if o.ApplicationConfigurationOverrides != nil { toSerialize["application_configuration_overrides"] = o.ApplicationConfigurationOverrides @@ -254,41 +286,44 @@ func (o ControllersUpdateDeploymentRequest) MarshalJSON() ([]byte, error) { if o.ScheduledBackup != nil { toSerialize["scheduled_backup"] = o.ScheduledBackup } + if o.TlsEnabled != nil { + toSerialize["tls_enabled"] = o.TlsEnabled + } return json.Marshal(toSerialize) } -type NullableControllersUpdateDeploymentRequest struct { - value *ControllersUpdateDeploymentRequest +type NullableRequestsUpdateDeploymentRequest struct { + value *RequestsUpdateDeploymentRequest isSet bool } -func (v NullableControllersUpdateDeploymentRequest) Get() *ControllersUpdateDeploymentRequest { +func (v NullableRequestsUpdateDeploymentRequest) Get() *RequestsUpdateDeploymentRequest { return v.value } -func (v *NullableControllersUpdateDeploymentRequest) Set(val *ControllersUpdateDeploymentRequest) { +func (v *NullableRequestsUpdateDeploymentRequest) Set(val *RequestsUpdateDeploymentRequest) { v.value = val v.isSet = true } -func (v NullableControllersUpdateDeploymentRequest) IsSet() bool { +func (v NullableRequestsUpdateDeploymentRequest) IsSet() bool { return v.isSet } -func (v *NullableControllersUpdateDeploymentRequest) Unset() { +func (v *NullableRequestsUpdateDeploymentRequest) Unset() { v.value = nil v.isSet = false } -func NewNullableControllersUpdateDeploymentRequest(val *ControllersUpdateDeploymentRequest) *NullableControllersUpdateDeploymentRequest { - return &NullableControllersUpdateDeploymentRequest{value: val, isSet: true} +func NewNullableRequestsUpdateDeploymentRequest(val *RequestsUpdateDeploymentRequest) *NullableRequestsUpdateDeploymentRequest { + return &NullableRequestsUpdateDeploymentRequest{value: val, isSet: true} } -func (v NullableControllersUpdateDeploymentRequest) MarshalJSON() ([]byte, error) { +func (v NullableRequestsUpdateDeploymentRequest) MarshalJSON() ([]byte, error) { return json.Marshal(v.value) } -func (v *NullableControllersUpdateDeploymentRequest) UnmarshalJSON(src []byte) error { +func (v *NullableRequestsUpdateDeploymentRequest) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } diff --git a/pds/v1alpha1/model_controllers_update_deployment_scheduled_backup.go b/pds/v1alpha1/model_requests_update_deployment_scheduled_backup.go similarity index 53% rename from pds/v1alpha1/model_controllers_update_deployment_scheduled_backup.go rename to pds/v1alpha1/model_requests_update_deployment_scheduled_backup.go index 68ee5f9..e20a005 100644 --- a/pds/v1alpha1/model_controllers_update_deployment_scheduled_backup.go +++ b/pds/v1alpha1/model_requests_update_deployment_scheduled_backup.go @@ -14,32 +14,32 @@ import ( "encoding/json" ) -// ControllersUpdateDeploymentScheduledBackup struct for ControllersUpdateDeploymentScheduledBackup -type ControllersUpdateDeploymentScheduledBackup struct { +// RequestsUpdateDeploymentScheduledBackup struct for RequestsUpdateDeploymentScheduledBackup +type RequestsUpdateDeploymentScheduledBackup struct { BackupPolicyId *string `json:"backup_policy_id,omitempty"` // BackupTargetID and BackupPolicyID must be both specified or not. Set both to null to have no scheduled backup. BackupTargetId *string `json:"backup_target_id,omitempty"` } -// NewControllersUpdateDeploymentScheduledBackup instantiates a new ControllersUpdateDeploymentScheduledBackup object +// NewRequestsUpdateDeploymentScheduledBackup instantiates a new RequestsUpdateDeploymentScheduledBackup 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 NewControllersUpdateDeploymentScheduledBackup() *ControllersUpdateDeploymentScheduledBackup { - this := ControllersUpdateDeploymentScheduledBackup{} +func NewRequestsUpdateDeploymentScheduledBackup() *RequestsUpdateDeploymentScheduledBackup { + this := RequestsUpdateDeploymentScheduledBackup{} return &this } -// NewControllersUpdateDeploymentScheduledBackupWithDefaults instantiates a new ControllersUpdateDeploymentScheduledBackup object +// NewRequestsUpdateDeploymentScheduledBackupWithDefaults instantiates a new RequestsUpdateDeploymentScheduledBackup 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 NewControllersUpdateDeploymentScheduledBackupWithDefaults() *ControllersUpdateDeploymentScheduledBackup { - this := ControllersUpdateDeploymentScheduledBackup{} +func NewRequestsUpdateDeploymentScheduledBackupWithDefaults() *RequestsUpdateDeploymentScheduledBackup { + this := RequestsUpdateDeploymentScheduledBackup{} return &this } // GetBackupPolicyId returns the BackupPolicyId field value if set, zero value otherwise. -func (o *ControllersUpdateDeploymentScheduledBackup) GetBackupPolicyId() string { +func (o *RequestsUpdateDeploymentScheduledBackup) GetBackupPolicyId() string { if o == nil || o.BackupPolicyId == nil { var ret string return ret @@ -49,7 +49,7 @@ func (o *ControllersUpdateDeploymentScheduledBackup) GetBackupPolicyId() string // GetBackupPolicyIdOk returns a tuple with the BackupPolicyId field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ControllersUpdateDeploymentScheduledBackup) GetBackupPolicyIdOk() (*string, bool) { +func (o *RequestsUpdateDeploymentScheduledBackup) GetBackupPolicyIdOk() (*string, bool) { if o == nil || o.BackupPolicyId == nil { return nil, false } @@ -57,7 +57,7 @@ func (o *ControllersUpdateDeploymentScheduledBackup) GetBackupPolicyIdOk() (*str } // HasBackupPolicyId returns a boolean if a field has been set. -func (o *ControllersUpdateDeploymentScheduledBackup) HasBackupPolicyId() bool { +func (o *RequestsUpdateDeploymentScheduledBackup) HasBackupPolicyId() bool { if o != nil && o.BackupPolicyId != nil { return true } @@ -66,12 +66,12 @@ func (o *ControllersUpdateDeploymentScheduledBackup) HasBackupPolicyId() bool { } // SetBackupPolicyId gets a reference to the given string and assigns it to the BackupPolicyId field. -func (o *ControllersUpdateDeploymentScheduledBackup) SetBackupPolicyId(v string) { +func (o *RequestsUpdateDeploymentScheduledBackup) SetBackupPolicyId(v string) { o.BackupPolicyId = &v } // GetBackupTargetId returns the BackupTargetId field value if set, zero value otherwise. -func (o *ControllersUpdateDeploymentScheduledBackup) GetBackupTargetId() string { +func (o *RequestsUpdateDeploymentScheduledBackup) GetBackupTargetId() string { if o == nil || o.BackupTargetId == nil { var ret string return ret @@ -81,7 +81,7 @@ func (o *ControllersUpdateDeploymentScheduledBackup) GetBackupTargetId() string // GetBackupTargetIdOk returns a tuple with the BackupTargetId field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ControllersUpdateDeploymentScheduledBackup) GetBackupTargetIdOk() (*string, bool) { +func (o *RequestsUpdateDeploymentScheduledBackup) GetBackupTargetIdOk() (*string, bool) { if o == nil || o.BackupTargetId == nil { return nil, false } @@ -89,7 +89,7 @@ func (o *ControllersUpdateDeploymentScheduledBackup) GetBackupTargetIdOk() (*str } // HasBackupTargetId returns a boolean if a field has been set. -func (o *ControllersUpdateDeploymentScheduledBackup) HasBackupTargetId() bool { +func (o *RequestsUpdateDeploymentScheduledBackup) HasBackupTargetId() bool { if o != nil && o.BackupTargetId != nil { return true } @@ -98,11 +98,11 @@ func (o *ControllersUpdateDeploymentScheduledBackup) HasBackupTargetId() bool { } // SetBackupTargetId gets a reference to the given string and assigns it to the BackupTargetId field. -func (o *ControllersUpdateDeploymentScheduledBackup) SetBackupTargetId(v string) { +func (o *RequestsUpdateDeploymentScheduledBackup) SetBackupTargetId(v string) { o.BackupTargetId = &v } -func (o ControllersUpdateDeploymentScheduledBackup) MarshalJSON() ([]byte, error) { +func (o RequestsUpdateDeploymentScheduledBackup) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} if o.BackupPolicyId != nil { toSerialize["backup_policy_id"] = o.BackupPolicyId @@ -113,38 +113,38 @@ func (o ControllersUpdateDeploymentScheduledBackup) MarshalJSON() ([]byte, error return json.Marshal(toSerialize) } -type NullableControllersUpdateDeploymentScheduledBackup struct { - value *ControllersUpdateDeploymentScheduledBackup +type NullableRequestsUpdateDeploymentScheduledBackup struct { + value *RequestsUpdateDeploymentScheduledBackup isSet bool } -func (v NullableControllersUpdateDeploymentScheduledBackup) Get() *ControllersUpdateDeploymentScheduledBackup { +func (v NullableRequestsUpdateDeploymentScheduledBackup) Get() *RequestsUpdateDeploymentScheduledBackup { return v.value } -func (v *NullableControllersUpdateDeploymentScheduledBackup) Set(val *ControllersUpdateDeploymentScheduledBackup) { +func (v *NullableRequestsUpdateDeploymentScheduledBackup) Set(val *RequestsUpdateDeploymentScheduledBackup) { v.value = val v.isSet = true } -func (v NullableControllersUpdateDeploymentScheduledBackup) IsSet() bool { +func (v NullableRequestsUpdateDeploymentScheduledBackup) IsSet() bool { return v.isSet } -func (v *NullableControllersUpdateDeploymentScheduledBackup) Unset() { +func (v *NullableRequestsUpdateDeploymentScheduledBackup) Unset() { v.value = nil v.isSet = false } -func NewNullableControllersUpdateDeploymentScheduledBackup(val *ControllersUpdateDeploymentScheduledBackup) *NullableControllersUpdateDeploymentScheduledBackup { - return &NullableControllersUpdateDeploymentScheduledBackup{value: val, isSet: true} +func NewNullableRequestsUpdateDeploymentScheduledBackup(val *RequestsUpdateDeploymentScheduledBackup) *NullableRequestsUpdateDeploymentScheduledBackup { + return &NullableRequestsUpdateDeploymentScheduledBackup{value: val, isSet: true} } -func (v NullableControllersUpdateDeploymentScheduledBackup) MarshalJSON() ([]byte, error) { +func (v NullableRequestsUpdateDeploymentScheduledBackup) MarshalJSON() ([]byte, error) { return json.Marshal(v.value) } -func (v *NullableControllersUpdateDeploymentScheduledBackup) UnmarshalJSON(src []byte) error { +func (v *NullableRequestsUpdateDeploymentScheduledBackup) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) }