SnapshotList

Properties

NameTypeDescriptionNotes

Type

Pointer to ResourceType

[optional]

Id

Pointer to string

The unique ID of the resource.

[optional]

Items

[optional]

Offset

Pointer to int32

The offset specified in the request (if none was specified, the default offset is 0) (not implemented yet).

[optional] [readonly]

Limit

Pointer to int32

The limit specified in the request (if none was specified, use the endpoint's default pagination limit) (not implemented yet, always return number of items).

[optional] [readonly]

Links

Pointer to PaginationLinks

[optional]

Methods

NewSnapshotList

func NewSnapshotList() *SnapshotList

NewSnapshotList instantiates a new SnapshotList 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

NewSnapshotListWithDefaults

func NewSnapshotListWithDefaults() *SnapshotList

NewSnapshotListWithDefaults instantiates a new SnapshotList 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

GetType

func (o *SnapshotList) GetType() ResourceType

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

func (o *SnapshotList) GetTypeOk() (*ResourceType, bool)

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

SetType

func (o *SnapshotList) SetType(v ResourceType)

SetType sets Type field to given value.

HasType

func (o *SnapshotList) HasType() bool

HasType returns a boolean if a field has been set.

GetId

func (o *SnapshotList) GetId() string

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

GetIdOk

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

SetId sets Id field to given value.

HasId

func (o *SnapshotList) HasId() bool

HasId returns a boolean if a field has been set.

GetItems

func (o *SnapshotList) GetItems() []SnapshotResponse

GetItems returns the Items field if non-nil, zero value otherwise.

GetItemsOk

func (o *SnapshotList) GetItemsOk() (*[]SnapshotResponse, bool)

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

SetItems

func (o *SnapshotList) SetItems(v []SnapshotResponse)

SetItems sets Items field to given value.

HasItems

func (o *SnapshotList) HasItems() bool

HasItems returns a boolean if a field has been set.

GetOffset

func (o *SnapshotList) GetOffset() int32

GetOffset returns the Offset field if non-nil, zero value otherwise.

GetOffsetOk

func (o *SnapshotList) GetOffsetOk() (*int32, bool)

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

SetOffset

func (o *SnapshotList) SetOffset(v int32)

SetOffset sets Offset field to given value.

HasOffset

func (o *SnapshotList) HasOffset() bool

HasOffset returns a boolean if a field has been set.

GetLimit

func (o *SnapshotList) GetLimit() int32

GetLimit returns the Limit field if non-nil, zero value otherwise.

GetLimitOk

func (o *SnapshotList) GetLimitOk() (*int32, bool)

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

SetLimit

func (o *SnapshotList) SetLimit(v int32)

SetLimit sets Limit field to given value.

HasLimit

func (o *SnapshotList) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (o *SnapshotList) GetLinks() PaginationLinks

GetLinks returns the Links field if non-nil, zero value otherwise.

GetLinksOk

func (o *SnapshotList) GetLinksOk() (*PaginationLinks, bool)

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

func (o *SnapshotList) SetLinks(v PaginationLinks)

SetLinks sets Links field to given value.

func (o *SnapshotList) HasLinks() bool

HasLinks returns a boolean if a field has been set.

Last updated