| Name | Type | Description | Notes |
|---|---|---|---|
| Name | Pointer to string | name is case-insensitive | [optional] |
| Description | Pointer to string | give a description to this database | [optional] |
| Version | Pointer to string | [optional] | |
| Accessibility | Pointer to DatabaseAccessibilityEnum | [optional] [default to DATABASEACCESSIBILITYENUM_PRIVATE] | |
| Cpu | Pointer to int32 | unit is millicores (m). 1000m = 1 cpu. This field will be ignored for managed DB (instance type will be used instead). | [optional] [default to 250] |
| Memory | Pointer to int32 | unit is MB. 1024 MB = 1GB This field will be ignored for managed DB (instance type will be used instead). Default value is linked to the database type: - MANAGED: 100 - CONTAINER - POSTGRES: 100 - REDIS: 100 - MYSQL: 512 - MONGODB: 256 | [optional] |
| Storage | Pointer to int32 | unit is GB | [optional] |
| InstanceType | Pointer to string | Database instance type to be used for this database. The list of values can be retrieved via the endpoint /{CloudProvider}/managedDatabase/instanceType/{region}/{dbType}. This field SHOULD NOT be set for container DB. | [optional] |
| AnnotationsGroups | Pointer to []ServiceAnnotationRequest | [optional] | |
| LabelsGroups | Pointer to []ServiceLabelRequest | [optional] | |
| IconUri | Pointer to string | Icon URI representing the database. | [optional] |
| DiskType | Pointer to NullableString | EBS disk type for MANAGED AWS databases. Allowed values: gp2, gp3. Only applicable for MANAGED mode. | [optional] |
func NewDatabaseEditRequest() *DatabaseEditRequest
NewDatabaseEditRequest instantiates a new DatabaseEditRequest 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 NewDatabaseEditRequestWithDefaults() *DatabaseEditRequest
NewDatabaseEditRequestWithDefaults instantiates a new DatabaseEditRequest 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 (o *DatabaseEditRequest) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *DatabaseEditRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DatabaseEditRequest) SetName(v string)
SetName sets Name field to given value.
func (o *DatabaseEditRequest) HasName() bool
HasName returns a boolean if a field has been set.
func (o *DatabaseEditRequest) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *DatabaseEditRequest) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DatabaseEditRequest) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *DatabaseEditRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *DatabaseEditRequest) GetVersion() string
GetVersion returns the Version field if non-nil, zero value otherwise.
func (o *DatabaseEditRequest) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DatabaseEditRequest) SetVersion(v string)
SetVersion sets Version field to given value.
func (o *DatabaseEditRequest) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (o *DatabaseEditRequest) GetAccessibility() DatabaseAccessibilityEnum
GetAccessibility returns the Accessibility field if non-nil, zero value otherwise.
func (o *DatabaseEditRequest) GetAccessibilityOk() (*DatabaseAccessibilityEnum, bool)
GetAccessibilityOk returns a tuple with the Accessibility field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DatabaseEditRequest) SetAccessibility(v DatabaseAccessibilityEnum)
SetAccessibility sets Accessibility field to given value.
func (o *DatabaseEditRequest) HasAccessibility() bool
HasAccessibility returns a boolean if a field has been set.
func (o *DatabaseEditRequest) GetCpu() int32
GetCpu returns the Cpu field if non-nil, zero value otherwise.
func (o *DatabaseEditRequest) GetCpuOk() (*int32, bool)
GetCpuOk returns a tuple with the Cpu field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DatabaseEditRequest) SetCpu(v int32)
SetCpu sets Cpu field to given value.
func (o *DatabaseEditRequest) HasCpu() bool
HasCpu returns a boolean if a field has been set.
func (o *DatabaseEditRequest) GetMemory() int32
GetMemory returns the Memory field if non-nil, zero value otherwise.
func (o *DatabaseEditRequest) GetMemoryOk() (*int32, bool)
GetMemoryOk returns a tuple with the Memory field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DatabaseEditRequest) SetMemory(v int32)
SetMemory sets Memory field to given value.
func (o *DatabaseEditRequest) HasMemory() bool
HasMemory returns a boolean if a field has been set.
func (o *DatabaseEditRequest) GetStorage() int32
GetStorage returns the Storage field if non-nil, zero value otherwise.
func (o *DatabaseEditRequest) GetStorageOk() (*int32, bool)
GetStorageOk returns a tuple with the Storage field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DatabaseEditRequest) SetStorage(v int32)
SetStorage sets Storage field to given value.
func (o *DatabaseEditRequest) HasStorage() bool
HasStorage returns a boolean if a field has been set.
func (o *DatabaseEditRequest) GetInstanceType() string
GetInstanceType returns the InstanceType field if non-nil, zero value otherwise.
func (o *DatabaseEditRequest) GetInstanceTypeOk() (*string, bool)
GetInstanceTypeOk returns a tuple with the InstanceType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DatabaseEditRequest) SetInstanceType(v string)
SetInstanceType sets InstanceType field to given value.
func (o *DatabaseEditRequest) HasInstanceType() bool
HasInstanceType returns a boolean if a field has been set.
func (o *DatabaseEditRequest) GetAnnotationsGroups() []ServiceAnnotationRequest
GetAnnotationsGroups returns the AnnotationsGroups field if non-nil, zero value otherwise.
func (o *DatabaseEditRequest) GetAnnotationsGroupsOk() (*[]ServiceAnnotationRequest, bool)
GetAnnotationsGroupsOk returns a tuple with the AnnotationsGroups field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DatabaseEditRequest) SetAnnotationsGroups(v []ServiceAnnotationRequest)
SetAnnotationsGroups sets AnnotationsGroups field to given value.
func (o *DatabaseEditRequest) HasAnnotationsGroups() bool
HasAnnotationsGroups returns a boolean if a field has been set.
func (o *DatabaseEditRequest) GetLabelsGroups() []ServiceLabelRequest
GetLabelsGroups returns the LabelsGroups field if non-nil, zero value otherwise.
func (o *DatabaseEditRequest) GetLabelsGroupsOk() (*[]ServiceLabelRequest, bool)
GetLabelsGroupsOk returns a tuple with the LabelsGroups field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DatabaseEditRequest) SetLabelsGroups(v []ServiceLabelRequest)
SetLabelsGroups sets LabelsGroups field to given value.
func (o *DatabaseEditRequest) HasLabelsGroups() bool
HasLabelsGroups returns a boolean if a field has been set.
func (o *DatabaseEditRequest) GetIconUri() string
GetIconUri returns the IconUri field if non-nil, zero value otherwise.
func (o *DatabaseEditRequest) GetIconUriOk() (*string, bool)
GetIconUriOk returns a tuple with the IconUri field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DatabaseEditRequest) SetIconUri(v string)
SetIconUri sets IconUri field to given value.
func (o *DatabaseEditRequest) HasIconUri() bool
HasIconUri returns a boolean if a field has been set.
func (o *DatabaseEditRequest) GetDiskType() string
GetDiskType returns the DiskType field if non-nil, zero value otherwise.
func (o *DatabaseEditRequest) GetDiskTypeOk() (*string, bool)
GetDiskTypeOk returns a tuple with the DiskType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DatabaseEditRequest) SetDiskType(v string)
SetDiskType sets DiskType field to given value.
func (o *DatabaseEditRequest) HasDiskType() bool
HasDiskType returns a boolean if a field has been set.
func (o *DatabaseEditRequest) SetDiskTypeNil(b bool)
SetDiskTypeNil sets the value for DiskType to be an explicit nil
func (o *DatabaseEditRequest) UnsetDiskType()
UnsetDiskType ensures that no value is present for DiskType, not even an explicit nil