Skip to content

Latest commit

 

History

History
203 lines (108 loc) · 5.01 KB

DeviceType.md

File metadata and controls

203 lines (108 loc) · 5.01 KB

DeviceType

Properties

Name Type Description Notes
Id int32 [readonly]
Url string [readonly]
Display string [readonly]
Manufacturer Manufacturer
Model string
Slug string
Description Pointer to string [optional]
DeviceCount int64 [readonly]

Methods

NewDeviceType

func NewDeviceType(id int32, url string, display string, manufacturer Manufacturer, model string, slug string, deviceCount int64, ) *DeviceType

NewDeviceType instantiates a new DeviceType 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

NewDeviceTypeWithDefaults

func NewDeviceTypeWithDefaults() *DeviceType

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

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

GetIdOk

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

SetId sets Id field to given value.

GetUrl

func (o *DeviceType) GetUrl() string

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

GetUrlOk

func (o *DeviceType) 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 *DeviceType) SetUrl(v string)

SetUrl sets Url field to given value.

GetDisplay

func (o *DeviceType) GetDisplay() string

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

GetDisplayOk

func (o *DeviceType) 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 *DeviceType) SetDisplay(v string)

SetDisplay sets Display field to given value.

GetManufacturer

func (o *DeviceType) GetManufacturer() Manufacturer

GetManufacturer returns the Manufacturer field if non-nil, zero value otherwise.

GetManufacturerOk

func (o *DeviceType) GetManufacturerOk() (*Manufacturer, bool)

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

SetManufacturer

func (o *DeviceType) SetManufacturer(v Manufacturer)

SetManufacturer sets Manufacturer field to given value.

GetModel

func (o *DeviceType) GetModel() string

GetModel returns the Model field if non-nil, zero value otherwise.

GetModelOk

func (o *DeviceType) GetModelOk() (*string, bool)

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

SetModel

func (o *DeviceType) SetModel(v string)

SetModel sets Model field to given value.

GetSlug

func (o *DeviceType) GetSlug() string

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

GetSlugOk

func (o *DeviceType) 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 *DeviceType) SetSlug(v string)

SetSlug sets Slug field to given value.

GetDescription

func (o *DeviceType) GetDescription() string

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

GetDescriptionOk

func (o *DeviceType) 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 *DeviceType) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *DeviceType) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetDeviceCount

func (o *DeviceType) GetDeviceCount() int64

GetDeviceCount returns the DeviceCount field if non-nil, zero value otherwise.

GetDeviceCountOk

func (o *DeviceType) GetDeviceCountOk() (*int64, bool)

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

SetDeviceCount

func (o *DeviceType) SetDeviceCount(v int64)

SetDeviceCount sets DeviceCount field to given value.

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