Name | Type | Description | Notes |
---|---|---|---|
Label | string | The label for the Database snapshot backup. - Can only contain ASCII letters, numbers, and underscores (`_`). - Must be unique among other backup labels for this Database. | |
Target | Pointer to string | The Database cluster target. If the Database is a high availability cluster, choosing `secondary` creates a snapshot backup of a replica node. | [optional] [default to "primary"] |
func NewPostDatabasesMysqlInstanceBackupRequest(label string, ) *PostDatabasesMysqlInstanceBackupRequest
NewPostDatabasesMysqlInstanceBackupRequest instantiates a new PostDatabasesMysqlInstanceBackupRequest 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 NewPostDatabasesMysqlInstanceBackupRequestWithDefaults() *PostDatabasesMysqlInstanceBackupRequest
NewPostDatabasesMysqlInstanceBackupRequestWithDefaults instantiates a new PostDatabasesMysqlInstanceBackupRequest 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 *PostDatabasesMysqlInstanceBackupRequest) GetLabel() string
GetLabel returns the Label field if non-nil, zero value otherwise.
func (o *PostDatabasesMysqlInstanceBackupRequest) GetLabelOk() (*string, bool)
GetLabelOk returns a tuple with the Label field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PostDatabasesMysqlInstanceBackupRequest) SetLabel(v string)
SetLabel sets Label field to given value.
func (o *PostDatabasesMysqlInstanceBackupRequest) GetTarget() string
GetTarget returns the Target field if non-nil, zero value otherwise.
func (o *PostDatabasesMysqlInstanceBackupRequest) GetTargetOk() (*string, bool)
GetTargetOk returns a tuple with the Target field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PostDatabasesMysqlInstanceBackupRequest) SetTarget(v string)
SetTarget sets Target field to given value.
func (o *PostDatabasesMysqlInstanceBackupRequest) HasTarget() bool
HasTarget returns a boolean if a field has been set.