Skip to content

Latest commit

 

History

History
210 lines (114 loc) · 4.95 KB

Servers.md

File metadata and controls

210 lines (114 loc) · 4.95 KB

Servers

Properties

Name Type Description Notes
Id Pointer to string The resource's unique identifier [optional] [readonly]
Type Pointer to Type The type of object that has been created [optional]
Href Pointer to string URL to the object representation (absolute path) [optional] [readonly]
Items Pointer to []Server Array of items in that collection [optional] [readonly]
Offset Pointer to float32 the offset (if specified in the request) [optional]
Limit Pointer to float32 the limit (if specified in the request) [optional]
Links Pointer to PaginationLinks [optional]

Methods

NewServers

func NewServers() *Servers

NewServers instantiates a new Servers 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

NewServersWithDefaults

func NewServersWithDefaults() *Servers

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

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

GetIdOk

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

SetId sets Id field to given value.

HasId

func (o *Servers) HasId() bool

HasId returns a boolean if a field has been set.

GetType

func (o *Servers) GetType() Type

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

GetTypeOk

func (o *Servers) GetTypeOk() (*Type, 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 *Servers) SetType(v Type)

SetType sets Type field to given value.

HasType

func (o *Servers) HasType() bool

HasType returns a boolean if a field has been set.

GetHref

func (o *Servers) GetHref() string

GetHref returns the Href field if non-nil, zero value otherwise.

GetHrefOk

func (o *Servers) GetHrefOk() (*string, bool)

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

SetHref

func (o *Servers) SetHref(v string)

SetHref sets Href field to given value.

HasHref

func (o *Servers) HasHref() bool

HasHref returns a boolean if a field has been set.

GetItems

func (o *Servers) GetItems() []Server

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

GetItemsOk

func (o *Servers) GetItemsOk() (*[]Server, 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 *Servers) SetItems(v []Server)

SetItems sets Items field to given value.

HasItems

func (o *Servers) HasItems() bool

HasItems returns a boolean if a field has been set.

GetOffset

func (o *Servers) GetOffset() float32

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

GetOffsetOk

func (o *Servers) GetOffsetOk() (*float32, 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 *Servers) SetOffset(v float32)

SetOffset sets Offset field to given value.

HasOffset

func (o *Servers) HasOffset() bool

HasOffset returns a boolean if a field has been set.

GetLimit

func (o *Servers) GetLimit() float32

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

GetLimitOk

func (o *Servers) GetLimitOk() (*float32, 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 *Servers) SetLimit(v float32)

SetLimit sets Limit field to given value.

HasLimit

func (o *Servers) HasLimit() bool

HasLimit returns a boolean if a field has been set.

GetLinks

func (o *Servers) GetLinks() PaginationLinks

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

GetLinksOk

func (o *Servers) 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.

SetLinks

func (o *Servers) SetLinks(v PaginationLinks)

SetLinks sets Links field to given value.

HasLinks

func (o *Servers) HasLinks() bool

HasLinks returns a boolean if a field has been set.