Skip to content

Latest commit

 

History

History
119 lines (64 loc) · 3.29 KB

DeviceTypeRequest.md

File metadata and controls

119 lines (64 loc) · 3.29 KB

DeviceTypeRequest

Properties

Name Type Description Notes
Manufacturer ManufacturerRequest
Model string
Slug string
Description Pointer to string [optional]

Methods

NewDeviceTypeRequest

func NewDeviceTypeRequest(manufacturer ManufacturerRequest, model string, slug string, ) *DeviceTypeRequest

NewDeviceTypeRequest instantiates a new DeviceTypeRequest 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

NewDeviceTypeRequestWithDefaults

func NewDeviceTypeRequestWithDefaults() *DeviceTypeRequest

NewDeviceTypeRequestWithDefaults instantiates a new DeviceTypeRequest 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

GetManufacturer

func (o *DeviceTypeRequest) GetManufacturer() ManufacturerRequest

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

GetManufacturerOk

func (o *DeviceTypeRequest) GetManufacturerOk() (*ManufacturerRequest, 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 *DeviceTypeRequest) SetManufacturer(v ManufacturerRequest)

SetManufacturer sets Manufacturer field to given value.

GetModel

func (o *DeviceTypeRequest) GetModel() string

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

GetModelOk

func (o *DeviceTypeRequest) 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 *DeviceTypeRequest) SetModel(v string)

SetModel sets Model field to given value.

GetSlug

func (o *DeviceTypeRequest) GetSlug() string

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

GetSlugOk

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

SetSlug sets Slug field to given value.

GetDescription

func (o *DeviceTypeRequest) GetDescription() string

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

GetDescriptionOk

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

SetDescription sets Description field to given value.

HasDescription

func (o *DeviceTypeRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

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