Name | Type | Description | Notes |
---|---|---|---|
Id | Pointer to int64 | The resource identifier. | [optional] |
Type | Pointer to string | The resource type. | [optional] |
Name | Pointer to string | The name of the resource. | [optional] |
UserDefinedFields | Pointer to map[string]string | User-defined fields set for the resource. | [optional] |
Configuration | Pointer to InlinedConfiguration | [optional] [readonly] | |
Addresses | Pointer to []DeviceAddressesInner | [optional] | |
DeviceType | Pointer to InlinedDeviceType | [optional] | |
DeviceSubtype | Pointer to InlinedDeviceSubtype | [optional] |
func NewDevice() *Device
NewDevice instantiates a new Device 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 NewDeviceWithDefaults() *Device
NewDeviceWithDefaults instantiates a new Device 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 *Device) GetId() int64
GetId returns the Id field if non-nil, zero value otherwise.
func (o *Device) GetIdOk() (*int64, 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 *Device) SetId(v int64)
SetId sets Id field to given value.
func (o *Device) HasId() bool
HasId returns a boolean if a field has been set.
func (o *Device) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *Device) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Device) SetType(v string)
SetType sets Type field to given value.
func (o *Device) HasType() bool
HasType returns a boolean if a field has been set.
func (o *Device) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *Device) 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.
func (o *Device) SetName(v string)
SetName sets Name field to given value.
func (o *Device) HasName() bool
HasName returns a boolean if a field has been set.
func (o *Device) GetUserDefinedFields() map[string]string
GetUserDefinedFields returns the UserDefinedFields field if non-nil, zero value otherwise.
func (o *Device) GetUserDefinedFieldsOk() (*map[string]string, bool)
GetUserDefinedFieldsOk returns a tuple with the UserDefinedFields field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Device) SetUserDefinedFields(v map[string]string)
SetUserDefinedFields sets UserDefinedFields field to given value.
func (o *Device) HasUserDefinedFields() bool
HasUserDefinedFields returns a boolean if a field has been set.
func (o *Device) GetConfiguration() InlinedConfiguration
GetConfiguration returns the Configuration field if non-nil, zero value otherwise.
func (o *Device) GetConfigurationOk() (*InlinedConfiguration, bool)
GetConfigurationOk returns a tuple with the Configuration field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Device) SetConfiguration(v InlinedConfiguration)
SetConfiguration sets Configuration field to given value.
func (o *Device) HasConfiguration() bool
HasConfiguration returns a boolean if a field has been set.
func (o *Device) GetAddresses() []DeviceAddressesInner
GetAddresses returns the Addresses field if non-nil, zero value otherwise.
func (o *Device) GetAddressesOk() (*[]DeviceAddressesInner, bool)
GetAddressesOk returns a tuple with the Addresses field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Device) SetAddresses(v []DeviceAddressesInner)
SetAddresses sets Addresses field to given value.
func (o *Device) HasAddresses() bool
HasAddresses returns a boolean if a field has been set.
func (o *Device) GetDeviceType() InlinedDeviceType
GetDeviceType returns the DeviceType field if non-nil, zero value otherwise.
func (o *Device) GetDeviceTypeOk() (*InlinedDeviceType, bool)
GetDeviceTypeOk returns a tuple with the DeviceType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Device) SetDeviceType(v InlinedDeviceType)
SetDeviceType sets DeviceType field to given value.
func (o *Device) HasDeviceType() bool
HasDeviceType returns a boolean if a field has been set.
func (o *Device) GetDeviceSubtype() InlinedDeviceSubtype
GetDeviceSubtype returns the DeviceSubtype field if non-nil, zero value otherwise.
func (o *Device) GetDeviceSubtypeOk() (*InlinedDeviceSubtype, bool)
GetDeviceSubtypeOk returns a tuple with the DeviceSubtype field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Device) SetDeviceSubtype(v InlinedDeviceSubtype)
SetDeviceSubtype sets DeviceSubtype field to given value.
func (o *Device) HasDeviceSubtype() bool
HasDeviceSubtype returns a boolean if a field has been set.