Name | Type | Description | Notes |
---|---|---|---|
Id | string | [readonly] | |
CreatedAt | time.Time | [readonly] | |
UpdatedAt | Pointer to time.Time | [optional] [readonly] | |
Name | string | ||
Message | string | ||
Status | Pointer to Status | [optional] |
func NewBackup(id string, createdAt time.Time, name string, message string, ) *Backup
NewBackup instantiates a new Backup 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 NewBackupWithDefaults() *Backup
NewBackupWithDefaults instantiates a new Backup 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 *Backup) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *Backup) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Backup) SetId(v string)
SetId sets Id field to given value.
func (o *Backup) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *Backup) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Backup) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
func (o *Backup) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
func (o *Backup) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Backup) SetUpdatedAt(v time.Time)
SetUpdatedAt sets UpdatedAt field to given value.
func (o *Backup) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (o *Backup) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *Backup) 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 *Backup) SetName(v string)
SetName sets Name field to given value.
func (o *Backup) GetMessage() string
GetMessage returns the Message field if non-nil, zero value otherwise.
func (o *Backup) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Backup) SetMessage(v string)
SetMessage sets Message field to given value.
func (o *Backup) GetStatus() Status
GetStatus returns the Status field if non-nil, zero value otherwise.
func (o *Backup) GetStatusOk() (*Status, bool)
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Backup) SetStatus(v Status)
SetStatus sets Status field to given value.
func (o *Backup) HasStatus() bool
HasStatus returns a boolean if a field has been set.