Skip to content

Latest commit

 

History

History
166 lines (89 loc) · 3.95 KB

Backup.md

File metadata and controls

166 lines (89 loc) · 3.95 KB

Backup

Properties

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]

Methods

NewBackup

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

NewBackupWithDefaults

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

GetId

func (o *Backup) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

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.

SetId

func (o *Backup) SetId(v string)

SetId sets Id field to given value.

GetCreatedAt

func (o *Backup) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.

GetCreatedAtOk

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.

SetCreatedAt

func (o *Backup) SetCreatedAt(v time.Time)

SetCreatedAt sets CreatedAt field to given value.

GetUpdatedAt

func (o *Backup) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.

GetUpdatedAtOk

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.

SetUpdatedAt

func (o *Backup) SetUpdatedAt(v time.Time)

SetUpdatedAt sets UpdatedAt field to given value.

HasUpdatedAt

func (o *Backup) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

GetName

func (o *Backup) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

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.

SetName

func (o *Backup) SetName(v string)

SetName sets Name field to given value.

GetMessage

func (o *Backup) GetMessage() string

GetMessage returns the Message field if non-nil, zero value otherwise.

GetMessageOk

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.

SetMessage

func (o *Backup) SetMessage(v string)

SetMessage sets Message field to given value.

GetStatus

func (o *Backup) GetStatus() Status

GetStatus returns the Status field if non-nil, zero value otherwise.

GetStatusOk

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.

SetStatus

func (o *Backup) SetStatus(v Status)

SetStatus sets Status field to given value.

HasStatus

func (o *Backup) HasStatus() bool

HasStatus returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]