Skip to content

Latest commit

 

History

History
134 lines (73 loc) · 3.23 KB

Snapshot.md

File metadata and controls

134 lines (73 loc) · 3.23 KB

Snapshot

Properties

Name Type Description Notes
Id Pointer to string [optional]
DisplayName Pointer to string [optional]
State Pointer to string [optional]
Created Pointer to time.Time [optional]

Methods

NewSnapshot

func NewSnapshot() *Snapshot

NewSnapshot instantiates a new Snapshot 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

NewSnapshotWithDefaults

func NewSnapshotWithDefaults() *Snapshot

NewSnapshotWithDefaults instantiates a new Snapshot 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 *Snapshot) GetId() string

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

GetIdOk

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

SetId sets Id field to given value.

HasId

func (o *Snapshot) HasId() bool

HasId returns a boolean if a field has been set.

GetDisplayName

func (o *Snapshot) GetDisplayName() string

GetDisplayName returns the DisplayName field if non-nil, zero value otherwise.

GetDisplayNameOk

func (o *Snapshot) GetDisplayNameOk() (*string, bool)

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

SetDisplayName

func (o *Snapshot) SetDisplayName(v string)

SetDisplayName sets DisplayName field to given value.

HasDisplayName

func (o *Snapshot) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

GetState

func (o *Snapshot) GetState() string

GetState returns the State field if non-nil, zero value otherwise.

GetStateOk

func (o *Snapshot) GetStateOk() (*string, bool)

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

SetState

func (o *Snapshot) SetState(v string)

SetState sets State field to given value.

HasState

func (o *Snapshot) HasState() bool

HasState returns a boolean if a field has been set.

GetCreated

func (o *Snapshot) GetCreated() time.Time

GetCreated returns the Created field if non-nil, zero value otherwise.

GetCreatedOk

func (o *Snapshot) GetCreatedOk() (*time.Time, bool)

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

SetCreated

func (o *Snapshot) SetCreated(v time.Time)

SetCreated sets Created field to given value.

HasCreated

func (o *Snapshot) HasCreated() bool

HasCreated returns a boolean if a field has been set.

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