Skip to content

Latest commit

 

History

History
186 lines (101 loc) · 4.63 KB

File metadata and controls

186 lines (101 loc) · 4.63 KB

VolumeSnapshot

Properties

Name Type Description Notes
CreatedAt Pointer to string [optional]
Digest Pointer to string [optional]
Id Pointer to string [optional]
RetentionDays Pointer to int64 [optional]
Size Pointer to int64 [optional]
Status Pointer to string [optional]

Methods

NewVolumeSnapshot

func NewVolumeSnapshot() *VolumeSnapshot

NewVolumeSnapshot instantiates a new VolumeSnapshot 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

NewVolumeSnapshotWithDefaults

func NewVolumeSnapshotWithDefaults() *VolumeSnapshot

NewVolumeSnapshotWithDefaults instantiates a new VolumeSnapshot 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

GetCreatedAt

func (o *VolumeSnapshot) GetCreatedAt() string

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

GetCreatedAtOk

func (o *VolumeSnapshot) GetCreatedAtOk() (*string, 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 *VolumeSnapshot) SetCreatedAt(v string)

SetCreatedAt sets CreatedAt field to given value.

HasCreatedAt

func (o *VolumeSnapshot) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

GetDigest

func (o *VolumeSnapshot) GetDigest() string

GetDigest returns the Digest field if non-nil, zero value otherwise.

GetDigestOk

func (o *VolumeSnapshot) GetDigestOk() (*string, bool)

GetDigestOk returns a tuple with the Digest field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetDigest

func (o *VolumeSnapshot) SetDigest(v string)

SetDigest sets Digest field to given value.

HasDigest

func (o *VolumeSnapshot) HasDigest() bool

HasDigest returns a boolean if a field has been set.

GetId

func (o *VolumeSnapshot) GetId() string

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

GetIdOk

func (o *VolumeSnapshot) 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 *VolumeSnapshot) SetId(v string)

SetId sets Id field to given value.

HasId

func (o *VolumeSnapshot) HasId() bool

HasId returns a boolean if a field has been set.

GetRetentionDays

func (o *VolumeSnapshot) GetRetentionDays() int64

GetRetentionDays returns the RetentionDays field if non-nil, zero value otherwise.

GetRetentionDaysOk

func (o *VolumeSnapshot) GetRetentionDaysOk() (*int64, bool)

GetRetentionDaysOk returns a tuple with the RetentionDays field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetRetentionDays

func (o *VolumeSnapshot) SetRetentionDays(v int64)

SetRetentionDays sets RetentionDays field to given value.

HasRetentionDays

func (o *VolumeSnapshot) HasRetentionDays() bool

HasRetentionDays returns a boolean if a field has been set.

GetSize

func (o *VolumeSnapshot) GetSize() int64

GetSize returns the Size field if non-nil, zero value otherwise.

GetSizeOk

func (o *VolumeSnapshot) GetSizeOk() (*int64, bool)

GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSize

func (o *VolumeSnapshot) SetSize(v int64)

SetSize sets Size field to given value.

HasSize

func (o *VolumeSnapshot) HasSize() bool

HasSize returns a boolean if a field has been set.

GetStatus

func (o *VolumeSnapshot) GetStatus() string

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

GetStatusOk

func (o *VolumeSnapshot) GetStatusOk() (*string, 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 *VolumeSnapshot) SetStatus(v string)

SetStatus sets Status field to given value.

HasStatus

func (o *VolumeSnapshot) HasStatus() bool

HasStatus returns a boolean if a field has been set.

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