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] |
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
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
func (o *DeviceType) GetId() int32
GetId returns the Id field if non-nil, zero value otherwise.
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.
func (o *DeviceType) SetId(v int32)
SetId sets Id field to given value.
func (o *DeviceType) GetUrl() string
GetUrl returns the Url field if non-nil, zero value otherwise.
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.
func (o *DeviceType) SetUrl(v string)
SetUrl sets Url field to given value.
func (o *DeviceType) GetDisplay() string
GetDisplay returns the Display field if non-nil, zero value otherwise.
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.
func (o *DeviceType) SetDisplay(v string)
SetDisplay sets Display field to given value.
func (o *DeviceType) GetManufacturer() Manufacturer
GetManufacturer returns the Manufacturer field if non-nil, zero value otherwise.
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.
func (o *DeviceType) SetManufacturer(v Manufacturer)
SetManufacturer sets Manufacturer field to given value.
func (o *DeviceType) GetModel() string
GetModel returns the Model field if non-nil, zero value otherwise.
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.
func (o *DeviceType) SetModel(v string)
SetModel sets Model field to given value.
func (o *DeviceType) GetSlug() string
GetSlug returns the Slug field if non-nil, zero value otherwise.
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.
func (o *DeviceType) SetSlug(v string)
SetSlug sets Slug field to given value.
func (o *DeviceType) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
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.
func (o *DeviceType) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *DeviceType) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *DeviceType) GetDeviceCount() int64
GetDeviceCount returns the DeviceCount field if non-nil, zero value otherwise.
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.
func (o *DeviceType) SetDeviceCount(v int64)
SetDeviceCount sets DeviceCount field to given value.