Name | Type | Description | Notes |
---|---|---|---|
Name | Pointer to NullableString | [optional] | |
DeviceType | int32 | ||
DeviceRole | int32 | The function this device serves | |
Tenant | Pointer to NullableInt32 | [optional] | |
Platform | Pointer to NullableInt32 | [optional] | |
Serial | Pointer to string | Chassis serial number, assigned by the manufacturer | [optional] |
AssetTag | Pointer to NullableString | A unique tag used to identify this device | [optional] |
Site | int32 | ||
Location | Pointer to NullableInt32 | [optional] | |
Rack | Pointer to NullableInt32 | [optional] | |
Position | Pointer to NullableFloat64 | [optional] | |
Face | Pointer to string | * `front` - Front * `rear` - Rear | [optional] |
Status | Pointer to string | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | [optional] |
Airflow | Pointer to string | * `front-to-rear` - Front to rear * `rear-to-front` - Rear to front * `left-to-right` - Left to right * `right-to-left` - Right to left * `side-to-rear` - Side to rear * `passive` - Passive * `mixed` - Mixed | [optional] |
PrimaryIp4 | Pointer to NullableInt32 | [optional] | |
PrimaryIp6 | Pointer to NullableInt32 | [optional] | |
Cluster | Pointer to NullableInt32 | [optional] | |
VirtualChassis | Pointer to NullableInt32 | [optional] | |
VcPosition | Pointer to NullableInt32 | [optional] | |
VcPriority | Pointer to NullableInt32 | Virtual chassis master election priority | [optional] |
Description | Pointer to string | [optional] | |
Comments | Pointer to string | [optional] | |
LocalContextData | Pointer to map[string]interface{} | Local config context data takes precedence over source contexts in the final rendered config context | [optional] |
Tags | Pointer to []NestedTagRequest | [optional] | |
CustomFields | Pointer to map[string]interface{} | [optional] |
func NewWritableDeviceWithConfigContextRequest(deviceType int32, deviceRole int32, site int32, ) *WritableDeviceWithConfigContextRequest
NewWritableDeviceWithConfigContextRequest instantiates a new WritableDeviceWithConfigContextRequest 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 NewWritableDeviceWithConfigContextRequestWithDefaults() *WritableDeviceWithConfigContextRequest
NewWritableDeviceWithConfigContextRequestWithDefaults instantiates a new WritableDeviceWithConfigContextRequest 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 *WritableDeviceWithConfigContextRequest) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *WritableDeviceWithConfigContextRequest) 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 *WritableDeviceWithConfigContextRequest) SetName(v string)
SetName sets Name field to given value.
func (o *WritableDeviceWithConfigContextRequest) HasName() bool
HasName returns a boolean if a field has been set.
func (o *WritableDeviceWithConfigContextRequest) SetNameNil(b bool)
SetNameNil sets the value for Name to be an explicit nil
func (o *WritableDeviceWithConfigContextRequest) UnsetName()
UnsetName ensures that no value is present for Name, not even an explicit nil
func (o *WritableDeviceWithConfigContextRequest) GetDeviceType() int32
GetDeviceType returns the DeviceType field if non-nil, zero value otherwise.
func (o *WritableDeviceWithConfigContextRequest) GetDeviceTypeOk() (*int32, 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 *WritableDeviceWithConfigContextRequest) SetDeviceType(v int32)
SetDeviceType sets DeviceType field to given value.
func (o *WritableDeviceWithConfigContextRequest) GetDeviceRole() int32
GetDeviceRole returns the DeviceRole field if non-nil, zero value otherwise.
func (o *WritableDeviceWithConfigContextRequest) GetDeviceRoleOk() (*int32, bool)
GetDeviceRoleOk returns a tuple with the DeviceRole field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WritableDeviceWithConfigContextRequest) SetDeviceRole(v int32)
SetDeviceRole sets DeviceRole field to given value.
func (o *WritableDeviceWithConfigContextRequest) GetTenant() int32
GetTenant returns the Tenant field if non-nil, zero value otherwise.
func (o *WritableDeviceWithConfigContextRequest) GetTenantOk() (*int32, bool)
GetTenantOk returns a tuple with the Tenant field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WritableDeviceWithConfigContextRequest) SetTenant(v int32)
SetTenant sets Tenant field to given value.
func (o *WritableDeviceWithConfigContextRequest) HasTenant() bool
HasTenant returns a boolean if a field has been set.
func (o *WritableDeviceWithConfigContextRequest) SetTenantNil(b bool)
SetTenantNil sets the value for Tenant to be an explicit nil
func (o *WritableDeviceWithConfigContextRequest) UnsetTenant()
UnsetTenant ensures that no value is present for Tenant, not even an explicit nil
func (o *WritableDeviceWithConfigContextRequest) GetPlatform() int32
GetPlatform returns the Platform field if non-nil, zero value otherwise.
func (o *WritableDeviceWithConfigContextRequest) GetPlatformOk() (*int32, bool)
GetPlatformOk returns a tuple with the Platform field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WritableDeviceWithConfigContextRequest) SetPlatform(v int32)
SetPlatform sets Platform field to given value.
func (o *WritableDeviceWithConfigContextRequest) HasPlatform() bool
HasPlatform returns a boolean if a field has been set.
func (o *WritableDeviceWithConfigContextRequest) SetPlatformNil(b bool)
SetPlatformNil sets the value for Platform to be an explicit nil
func (o *WritableDeviceWithConfigContextRequest) UnsetPlatform()
UnsetPlatform ensures that no value is present for Platform, not even an explicit nil
func (o *WritableDeviceWithConfigContextRequest) GetSerial() string
GetSerial returns the Serial field if non-nil, zero value otherwise.
func (o *WritableDeviceWithConfigContextRequest) GetSerialOk() (*string, bool)
GetSerialOk returns a tuple with the Serial field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WritableDeviceWithConfigContextRequest) SetSerial(v string)
SetSerial sets Serial field to given value.
func (o *WritableDeviceWithConfigContextRequest) HasSerial() bool
HasSerial returns a boolean if a field has been set.
func (o *WritableDeviceWithConfigContextRequest) GetAssetTag() string
GetAssetTag returns the AssetTag field if non-nil, zero value otherwise.
func (o *WritableDeviceWithConfigContextRequest) GetAssetTagOk() (*string, bool)
GetAssetTagOk returns a tuple with the AssetTag field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WritableDeviceWithConfigContextRequest) SetAssetTag(v string)
SetAssetTag sets AssetTag field to given value.
func (o *WritableDeviceWithConfigContextRequest) HasAssetTag() bool
HasAssetTag returns a boolean if a field has been set.
func (o *WritableDeviceWithConfigContextRequest) SetAssetTagNil(b bool)
SetAssetTagNil sets the value for AssetTag to be an explicit nil
func (o *WritableDeviceWithConfigContextRequest) UnsetAssetTag()
UnsetAssetTag ensures that no value is present for AssetTag, not even an explicit nil
func (o *WritableDeviceWithConfigContextRequest) GetSite() int32
GetSite returns the Site field if non-nil, zero value otherwise.
func (o *WritableDeviceWithConfigContextRequest) GetSiteOk() (*int32, bool)
GetSiteOk returns a tuple with the Site field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WritableDeviceWithConfigContextRequest) SetSite(v int32)
SetSite sets Site field to given value.
func (o *WritableDeviceWithConfigContextRequest) GetLocation() int32
GetLocation returns the Location field if non-nil, zero value otherwise.
func (o *WritableDeviceWithConfigContextRequest) GetLocationOk() (*int32, bool)
GetLocationOk returns a tuple with the Location field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WritableDeviceWithConfigContextRequest) SetLocation(v int32)
SetLocation sets Location field to given value.
func (o *WritableDeviceWithConfigContextRequest) HasLocation() bool
HasLocation returns a boolean if a field has been set.
func (o *WritableDeviceWithConfigContextRequest) SetLocationNil(b bool)
SetLocationNil sets the value for Location to be an explicit nil
func (o *WritableDeviceWithConfigContextRequest) UnsetLocation()
UnsetLocation ensures that no value is present for Location, not even an explicit nil
func (o *WritableDeviceWithConfigContextRequest) GetRack() int32
GetRack returns the Rack field if non-nil, zero value otherwise.
func (o *WritableDeviceWithConfigContextRequest) GetRackOk() (*int32, bool)
GetRackOk returns a tuple with the Rack field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WritableDeviceWithConfigContextRequest) SetRack(v int32)
SetRack sets Rack field to given value.
func (o *WritableDeviceWithConfigContextRequest) HasRack() bool
HasRack returns a boolean if a field has been set.
func (o *WritableDeviceWithConfigContextRequest) SetRackNil(b bool)
SetRackNil sets the value for Rack to be an explicit nil
func (o *WritableDeviceWithConfigContextRequest) UnsetRack()
UnsetRack ensures that no value is present for Rack, not even an explicit nil
func (o *WritableDeviceWithConfigContextRequest) GetPosition() float64
GetPosition returns the Position field if non-nil, zero value otherwise.
func (o *WritableDeviceWithConfigContextRequest) GetPositionOk() (*float64, bool)
GetPositionOk returns a tuple with the Position field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WritableDeviceWithConfigContextRequest) SetPosition(v float64)
SetPosition sets Position field to given value.
func (o *WritableDeviceWithConfigContextRequest) HasPosition() bool
HasPosition returns a boolean if a field has been set.
func (o *WritableDeviceWithConfigContextRequest) SetPositionNil(b bool)
SetPositionNil sets the value for Position to be an explicit nil
func (o *WritableDeviceWithConfigContextRequest) UnsetPosition()
UnsetPosition ensures that no value is present for Position, not even an explicit nil
func (o *WritableDeviceWithConfigContextRequest) GetFace() string
GetFace returns the Face field if non-nil, zero value otherwise.
func (o *WritableDeviceWithConfigContextRequest) GetFaceOk() (*string, bool)
GetFaceOk returns a tuple with the Face field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WritableDeviceWithConfigContextRequest) SetFace(v string)
SetFace sets Face field to given value.
func (o *WritableDeviceWithConfigContextRequest) HasFace() bool
HasFace returns a boolean if a field has been set.
func (o *WritableDeviceWithConfigContextRequest) GetStatus() string
GetStatus returns the Status field if non-nil, zero value otherwise.
func (o *WritableDeviceWithConfigContextRequest) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WritableDeviceWithConfigContextRequest) SetStatus(v string)
SetStatus sets Status field to given value.
func (o *WritableDeviceWithConfigContextRequest) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (o *WritableDeviceWithConfigContextRequest) GetAirflow() string
GetAirflow returns the Airflow field if non-nil, zero value otherwise.
func (o *WritableDeviceWithConfigContextRequest) GetAirflowOk() (*string, bool)
GetAirflowOk returns a tuple with the Airflow field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WritableDeviceWithConfigContextRequest) SetAirflow(v string)
SetAirflow sets Airflow field to given value.
func (o *WritableDeviceWithConfigContextRequest) HasAirflow() bool
HasAirflow returns a boolean if a field has been set.
func (o *WritableDeviceWithConfigContextRequest) GetPrimaryIp4() int32
GetPrimaryIp4 returns the PrimaryIp4 field if non-nil, zero value otherwise.
func (o *WritableDeviceWithConfigContextRequest) GetPrimaryIp4Ok() (*int32, bool)
GetPrimaryIp4Ok returns a tuple with the PrimaryIp4 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WritableDeviceWithConfigContextRequest) SetPrimaryIp4(v int32)
SetPrimaryIp4 sets PrimaryIp4 field to given value.
func (o *WritableDeviceWithConfigContextRequest) HasPrimaryIp4() bool
HasPrimaryIp4 returns a boolean if a field has been set.
func (o *WritableDeviceWithConfigContextRequest) SetPrimaryIp4Nil(b bool)
SetPrimaryIp4Nil sets the value for PrimaryIp4 to be an explicit nil
func (o *WritableDeviceWithConfigContextRequest) UnsetPrimaryIp4()
UnsetPrimaryIp4 ensures that no value is present for PrimaryIp4, not even an explicit nil
func (o *WritableDeviceWithConfigContextRequest) GetPrimaryIp6() int32
GetPrimaryIp6 returns the PrimaryIp6 field if non-nil, zero value otherwise.
func (o *WritableDeviceWithConfigContextRequest) GetPrimaryIp6Ok() (*int32, bool)
GetPrimaryIp6Ok returns a tuple with the PrimaryIp6 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WritableDeviceWithConfigContextRequest) SetPrimaryIp6(v int32)
SetPrimaryIp6 sets PrimaryIp6 field to given value.
func (o *WritableDeviceWithConfigContextRequest) HasPrimaryIp6() bool
HasPrimaryIp6 returns a boolean if a field has been set.
func (o *WritableDeviceWithConfigContextRequest) SetPrimaryIp6Nil(b bool)
SetPrimaryIp6Nil sets the value for PrimaryIp6 to be an explicit nil
func (o *WritableDeviceWithConfigContextRequest) UnsetPrimaryIp6()
UnsetPrimaryIp6 ensures that no value is present for PrimaryIp6, not even an explicit nil
func (o *WritableDeviceWithConfigContextRequest) GetCluster() int32
GetCluster returns the Cluster field if non-nil, zero value otherwise.
func (o *WritableDeviceWithConfigContextRequest) GetClusterOk() (*int32, bool)
GetClusterOk returns a tuple with the Cluster field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WritableDeviceWithConfigContextRequest) SetCluster(v int32)
SetCluster sets Cluster field to given value.
func (o *WritableDeviceWithConfigContextRequest) HasCluster() bool
HasCluster returns a boolean if a field has been set.
func (o *WritableDeviceWithConfigContextRequest) SetClusterNil(b bool)
SetClusterNil sets the value for Cluster to be an explicit nil
func (o *WritableDeviceWithConfigContextRequest) UnsetCluster()
UnsetCluster ensures that no value is present for Cluster, not even an explicit nil
func (o *WritableDeviceWithConfigContextRequest) GetVirtualChassis() int32
GetVirtualChassis returns the VirtualChassis field if non-nil, zero value otherwise.
func (o *WritableDeviceWithConfigContextRequest) GetVirtualChassisOk() (*int32, bool)
GetVirtualChassisOk returns a tuple with the VirtualChassis field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WritableDeviceWithConfigContextRequest) SetVirtualChassis(v int32)
SetVirtualChassis sets VirtualChassis field to given value.
func (o *WritableDeviceWithConfigContextRequest) HasVirtualChassis() bool
HasVirtualChassis returns a boolean if a field has been set.
func (o *WritableDeviceWithConfigContextRequest) SetVirtualChassisNil(b bool)
SetVirtualChassisNil sets the value for VirtualChassis to be an explicit nil
func (o *WritableDeviceWithConfigContextRequest) UnsetVirtualChassis()
UnsetVirtualChassis ensures that no value is present for VirtualChassis, not even an explicit nil
func (o *WritableDeviceWithConfigContextRequest) GetVcPosition() int32
GetVcPosition returns the VcPosition field if non-nil, zero value otherwise.
func (o *WritableDeviceWithConfigContextRequest) GetVcPositionOk() (*int32, bool)
GetVcPositionOk returns a tuple with the VcPosition field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WritableDeviceWithConfigContextRequest) SetVcPosition(v int32)
SetVcPosition sets VcPosition field to given value.
func (o *WritableDeviceWithConfigContextRequest) HasVcPosition() bool
HasVcPosition returns a boolean if a field has been set.
func (o *WritableDeviceWithConfigContextRequest) SetVcPositionNil(b bool)
SetVcPositionNil sets the value for VcPosition to be an explicit nil
func (o *WritableDeviceWithConfigContextRequest) UnsetVcPosition()
UnsetVcPosition ensures that no value is present for VcPosition, not even an explicit nil
func (o *WritableDeviceWithConfigContextRequest) GetVcPriority() int32
GetVcPriority returns the VcPriority field if non-nil, zero value otherwise.
func (o *WritableDeviceWithConfigContextRequest) GetVcPriorityOk() (*int32, bool)
GetVcPriorityOk returns a tuple with the VcPriority field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WritableDeviceWithConfigContextRequest) SetVcPriority(v int32)
SetVcPriority sets VcPriority field to given value.
func (o *WritableDeviceWithConfigContextRequest) HasVcPriority() bool
HasVcPriority returns a boolean if a field has been set.
func (o *WritableDeviceWithConfigContextRequest) SetVcPriorityNil(b bool)
SetVcPriorityNil sets the value for VcPriority to be an explicit nil
func (o *WritableDeviceWithConfigContextRequest) UnsetVcPriority()
UnsetVcPriority ensures that no value is present for VcPriority, not even an explicit nil
func (o *WritableDeviceWithConfigContextRequest) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *WritableDeviceWithConfigContextRequest) 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 *WritableDeviceWithConfigContextRequest) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *WritableDeviceWithConfigContextRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *WritableDeviceWithConfigContextRequest) GetComments() string
GetComments returns the Comments field if non-nil, zero value otherwise.
func (o *WritableDeviceWithConfigContextRequest) GetCommentsOk() (*string, bool)
GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WritableDeviceWithConfigContextRequest) SetComments(v string)
SetComments sets Comments field to given value.
func (o *WritableDeviceWithConfigContextRequest) HasComments() bool
HasComments returns a boolean if a field has been set.
func (o *WritableDeviceWithConfigContextRequest) GetLocalContextData() map[string]interface{}
GetLocalContextData returns the LocalContextData field if non-nil, zero value otherwise.
func (o *WritableDeviceWithConfigContextRequest) GetLocalContextDataOk() (*map[string]interface{}, bool)
GetLocalContextDataOk returns a tuple with the LocalContextData field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WritableDeviceWithConfigContextRequest) SetLocalContextData(v map[string]interface{})
SetLocalContextData sets LocalContextData field to given value.
func (o *WritableDeviceWithConfigContextRequest) HasLocalContextData() bool
HasLocalContextData returns a boolean if a field has been set.
func (o *WritableDeviceWithConfigContextRequest) SetLocalContextDataNil(b bool)
SetLocalContextDataNil sets the value for LocalContextData to be an explicit nil
func (o *WritableDeviceWithConfigContextRequest) UnsetLocalContextData()
UnsetLocalContextData ensures that no value is present for LocalContextData, not even an explicit nil
func (o *WritableDeviceWithConfigContextRequest) GetTags() []NestedTagRequest
GetTags returns the Tags field if non-nil, zero value otherwise.
func (o *WritableDeviceWithConfigContextRequest) GetTagsOk() (*[]NestedTagRequest, 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 *WritableDeviceWithConfigContextRequest) SetTags(v []NestedTagRequest)
SetTags sets Tags field to given value.
func (o *WritableDeviceWithConfigContextRequest) HasTags() bool
HasTags returns a boolean if a field has been set.
func (o *WritableDeviceWithConfigContextRequest) GetCustomFields() map[string]interface{}
GetCustomFields returns the CustomFields field if non-nil, zero value otherwise.
func (o *WritableDeviceWithConfigContextRequest) GetCustomFieldsOk() (*map[string]interface{}, bool)
GetCustomFieldsOk returns a tuple with the CustomFields field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WritableDeviceWithConfigContextRequest) SetCustomFields(v map[string]interface{})
SetCustomFields sets CustomFields field to given value.
func (o *WritableDeviceWithConfigContextRequest) HasCustomFields() bool
HasCustomFields returns a boolean if a field has been set.