Lans
Properties
Name | Type | Description | Notes |
---|---|---|---|
Id | Pointer to string | The resource's unique identifier | [optional] [readonly] |
Type | The type of object that has been created | [optional] | |
Href | Pointer to string | URL to the object representation (absolute path) | [optional] [readonly] |
Items | Array of items in lans 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 | [optional] |
Methods
NewLans
func NewLans() *Lans
NewLans instantiates a new Lans 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
NewLansWithDefaults
func NewLansWithDefaults() *Lans
NewLansWithDefaults instantiates a new Lans 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 *Lans) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
GetIdOk
func (o *Lans) 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 *Lans) SetId(v string)
SetId sets Id field to given value.
HasId
func (o *Lans) HasId() bool
HasId returns a boolean if a field has been set.
GetType
func (o *Lans) GetType() Type
GetType returns the Type field if non-nil, zero value otherwise.
GetTypeOk
func (o *Lans) 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 *Lans) SetType(v Type)
SetType sets Type field to given value.
HasType
func (o *Lans) HasType() bool
HasType returns a boolean if a field has been set.
GetHref
func (o *Lans) GetHref() string
GetHref returns the Href field if non-nil, zero value otherwise.
GetHrefOk
func (o *Lans) 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 *Lans) SetHref(v string)
SetHref sets Href field to given value.
HasHref
func (o *Lans) HasHref() bool
HasHref returns a boolean if a field has been set.
GetItems
func (o *Lans) GetItems() []Lan
GetItems returns the Items field if non-nil, zero value otherwise.
GetItemsOk
func (o *Lans) GetItemsOk() (*[]Lan, 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 *Lans) SetItems(v []Lan)
SetItems sets Items field to given value.
HasItems
func (o *Lans) HasItems() bool
HasItems returns a boolean if a field has been set.
GetOffset
func (o *Lans) GetOffset() float32
GetOffset returns the Offset field if non-nil, zero value otherwise.
GetOffsetOk
func (o *Lans) 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 *Lans) SetOffset(v float32)
SetOffset sets Offset field to given value.
HasOffset
func (o *Lans) HasOffset() bool
HasOffset returns a boolean if a field has been set.
GetLimit
func (o *Lans) GetLimit() float32
GetLimit returns the Limit field if non-nil, zero value otherwise.
GetLimitOk
func (o *Lans) 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 *Lans) SetLimit(v float32)
SetLimit sets Limit field to given value.
HasLimit
func (o *Lans) HasLimit() bool
HasLimit returns a boolean if a field has been set.
GetLinks
func (o *Lans) GetLinks() PaginationLinks
GetLinks returns the Links field if non-nil, zero value otherwise.
GetLinksOk
func (o *Lans) 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 *Lans) SetLinks(v PaginationLinks)
SetLinks sets Links field to given value.
HasLinks
func (o *Lans) HasLinks() bool
HasLinks returns a boolean if a field has been set.
Last updated