Skip to content

Latest commit

 

History

History
203 lines (108 loc) · 4.77 KB

Location.md

File metadata and controls

203 lines (108 loc) · 4.77 KB

Location

Properties

Name Type Description Notes
Id int32 [readonly]
Url string [readonly]
Display string [readonly]
Name string
Slug string
Description Pointer to string [optional]
RackCount int32 [readonly] [default to 0]
Depth int32 [readonly]

Methods

NewLocation

func NewLocation(id int32, url string, display string, name string, slug string, rackCount int32, depth int32, ) *Location

NewLocation instantiates a new Location 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

NewLocationWithDefaults

func NewLocationWithDefaults() *Location

NewLocationWithDefaults instantiates a new Location 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 *Location) GetId() int32

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

GetIdOk

func (o *Location) GetIdOk() (*int32, 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 *Location) SetId(v int32)

SetId sets Id field to given value.

GetUrl

func (o *Location) GetUrl() string

GetUrl returns the Url field if non-nil, zero value otherwise.

GetUrlOk

func (o *Location) GetUrlOk() (*string, bool)

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

SetUrl

func (o *Location) SetUrl(v string)

SetUrl sets Url field to given value.

GetDisplay

func (o *Location) GetDisplay() string

GetDisplay returns the Display field if non-nil, zero value otherwise.

GetDisplayOk

func (o *Location) GetDisplayOk() (*string, bool)

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

SetDisplay

func (o *Location) SetDisplay(v string)

SetDisplay sets Display field to given value.

GetName

func (o *Location) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *Location) GetNameOk() (*string, bool)

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

SetName

func (o *Location) SetName(v string)

SetName sets Name field to given value.

GetSlug

func (o *Location) GetSlug() string

GetSlug returns the Slug field if non-nil, zero value otherwise.

GetSlugOk

func (o *Location) GetSlugOk() (*string, bool)

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

SetSlug

func (o *Location) SetSlug(v string)

SetSlug sets Slug field to given value.

GetDescription

func (o *Location) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk

func (o *Location) GetDescriptionOk() (*string, bool)

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

SetDescription

func (o *Location) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *Location) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetRackCount

func (o *Location) GetRackCount() int32

GetRackCount returns the RackCount field if non-nil, zero value otherwise.

GetRackCountOk

func (o *Location) GetRackCountOk() (*int32, bool)

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

SetRackCount

func (o *Location) SetRackCount(v int32)

SetRackCount sets RackCount field to given value.

GetDepth

func (o *Location) GetDepth() int32

GetDepth returns the Depth field if non-nil, zero value otherwise.

GetDepthOk

func (o *Location) GetDepthOk() (*int32, bool)

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

SetDepth

func (o *Location) SetDepth(v int32)

SetDepth sets Depth field to given value.

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