Name | Type | Description | Notes |
---|---|---|---|
CollectionId | Pointer to string | The collection id for the device. This field is optional and can be omitted if the collection id isn't changed. When changing to a new collection you must be an owner of the other collection, ie an administrator of the team that owns the new collection. | [optional] |
Tags | Pointer to map[string]string | Tags are metadata for the device that you can set. These are just strings. | [optional] |
Firmware | Pointer to FirmwareMetadata | [optional] | |
Config | Pointer to DeviceConfig | [optional] | |
Enabled | Pointer to bool | [optional] |
func NewUpdateDeviceBody() *UpdateDeviceBody
NewUpdateDeviceBody instantiates a new UpdateDeviceBody 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 NewUpdateDeviceBodyWithDefaults() *UpdateDeviceBody
NewUpdateDeviceBodyWithDefaults instantiates a new UpdateDeviceBody 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 *UpdateDeviceBody) GetCollectionId() string
GetCollectionId returns the CollectionId field if non-nil, zero value otherwise.
func (o *UpdateDeviceBody) GetCollectionIdOk() (*string, bool)
GetCollectionIdOk returns a tuple with the CollectionId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateDeviceBody) SetCollectionId(v string)
SetCollectionId sets CollectionId field to given value.
func (o *UpdateDeviceBody) HasCollectionId() bool
HasCollectionId returns a boolean if a field has been set.
func (o *UpdateDeviceBody) GetTags() map[string]string
GetTags returns the Tags field if non-nil, zero value otherwise.
func (o *UpdateDeviceBody) GetTagsOk() (*map[string]string, bool)
GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateDeviceBody) SetTags(v map[string]string)
SetTags sets Tags field to given value.
func (o *UpdateDeviceBody) HasTags() bool
HasTags returns a boolean if a field has been set.
func (o *UpdateDeviceBody) GetFirmware() FirmwareMetadata
GetFirmware returns the Firmware field if non-nil, zero value otherwise.
func (o *UpdateDeviceBody) GetFirmwareOk() (*FirmwareMetadata, bool)
GetFirmwareOk returns a tuple with the Firmware field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateDeviceBody) SetFirmware(v FirmwareMetadata)
SetFirmware sets Firmware field to given value.
func (o *UpdateDeviceBody) HasFirmware() bool
HasFirmware returns a boolean if a field has been set.
func (o *UpdateDeviceBody) GetConfig() DeviceConfig
GetConfig returns the Config field if non-nil, zero value otherwise.
func (o *UpdateDeviceBody) GetConfigOk() (*DeviceConfig, bool)
GetConfigOk returns a tuple with the Config field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateDeviceBody) SetConfig(v DeviceConfig)
SetConfig sets Config field to given value.
func (o *UpdateDeviceBody) HasConfig() bool
HasConfig returns a boolean if a field has been set.
func (o *UpdateDeviceBody) GetEnabled() bool
GetEnabled returns the Enabled field if non-nil, zero value otherwise.
func (o *UpdateDeviceBody) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateDeviceBody) SetEnabled(v bool)
SetEnabled sets Enabled field to given value.
func (o *UpdateDeviceBody) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.