Skip to content

Latest commit

 

History

History
268 lines (147 loc) · 8.67 KB

AssetDeviceClaim.md

File metadata and controls

268 lines (147 loc) · 8.67 KB

AssetDeviceClaim

Properties

Name Type Description Notes
ClassId string The fully-qualified name of the instantiated, concrete type. This property is used as a discriminator to identify the type of the payload when marshaling and unmarshaling data. [default to "asset.DeviceClaim"]
ObjectType string The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property. [default to "asset.DeviceClaim"]
SecurityToken Pointer to string Obtained from the device connector management UI or API (REST endpoint '/connector/SecurityTokens'). [optional]
SerialNumber Pointer to string Obtained from the device connector management UI or API (REST endpoint '/connector/DeviceIdentifiers'). [optional]
Account Pointer to NullableIamAccountRelationship [optional]
CustomPermissionResources Pointer to []MoBaseMoRelationship An array of relationships to moBaseMo resources. [optional] [readonly]
Device Pointer to NullableAssetDeviceRegistrationRelationship [optional]
Reservation Pointer to NullableResourceReservationRelationship [optional]

Methods

NewAssetDeviceClaim

func NewAssetDeviceClaim(classId string, objectType string, ) *AssetDeviceClaim

NewAssetDeviceClaim instantiates a new AssetDeviceClaim 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

NewAssetDeviceClaimWithDefaults

func NewAssetDeviceClaimWithDefaults() *AssetDeviceClaim

NewAssetDeviceClaimWithDefaults instantiates a new AssetDeviceClaim 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

GetClassId

func (o *AssetDeviceClaim) GetClassId() string

GetClassId returns the ClassId field if non-nil, zero value otherwise.

GetClassIdOk

func (o *AssetDeviceClaim) GetClassIdOk() (*string, bool)

GetClassIdOk returns a tuple with the ClassId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetClassId

func (o *AssetDeviceClaim) SetClassId(v string)

SetClassId sets ClassId field to given value.

GetObjectType

func (o *AssetDeviceClaim) GetObjectType() string

GetObjectType returns the ObjectType field if non-nil, zero value otherwise.

GetObjectTypeOk

func (o *AssetDeviceClaim) GetObjectTypeOk() (*string, bool)

GetObjectTypeOk returns a tuple with the ObjectType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetObjectType

func (o *AssetDeviceClaim) SetObjectType(v string)

SetObjectType sets ObjectType field to given value.

GetSecurityToken

func (o *AssetDeviceClaim) GetSecurityToken() string

GetSecurityToken returns the SecurityToken field if non-nil, zero value otherwise.

GetSecurityTokenOk

func (o *AssetDeviceClaim) GetSecurityTokenOk() (*string, bool)

GetSecurityTokenOk returns a tuple with the SecurityToken field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSecurityToken

func (o *AssetDeviceClaim) SetSecurityToken(v string)

SetSecurityToken sets SecurityToken field to given value.

HasSecurityToken

func (o *AssetDeviceClaim) HasSecurityToken() bool

HasSecurityToken returns a boolean if a field has been set.

GetSerialNumber

func (o *AssetDeviceClaim) GetSerialNumber() string

GetSerialNumber returns the SerialNumber field if non-nil, zero value otherwise.

GetSerialNumberOk

func (o *AssetDeviceClaim) GetSerialNumberOk() (*string, bool)

GetSerialNumberOk returns a tuple with the SerialNumber field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSerialNumber

func (o *AssetDeviceClaim) SetSerialNumber(v string)

SetSerialNumber sets SerialNumber field to given value.

HasSerialNumber

func (o *AssetDeviceClaim) HasSerialNumber() bool

HasSerialNumber returns a boolean if a field has been set.

GetAccount

func (o *AssetDeviceClaim) GetAccount() IamAccountRelationship

GetAccount returns the Account field if non-nil, zero value otherwise.

GetAccountOk

func (o *AssetDeviceClaim) GetAccountOk() (*IamAccountRelationship, bool)

GetAccountOk returns a tuple with the Account field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAccount

func (o *AssetDeviceClaim) SetAccount(v IamAccountRelationship)

SetAccount sets Account field to given value.

HasAccount

func (o *AssetDeviceClaim) HasAccount() bool

HasAccount returns a boolean if a field has been set.

SetAccountNil

func (o *AssetDeviceClaim) SetAccountNil(b bool)

SetAccountNil sets the value for Account to be an explicit nil

UnsetAccount

func (o *AssetDeviceClaim) UnsetAccount()

UnsetAccount ensures that no value is present for Account, not even an explicit nil

GetCustomPermissionResources

func (o *AssetDeviceClaim) GetCustomPermissionResources() []MoBaseMoRelationship

GetCustomPermissionResources returns the CustomPermissionResources field if non-nil, zero value otherwise.

GetCustomPermissionResourcesOk

func (o *AssetDeviceClaim) GetCustomPermissionResourcesOk() (*[]MoBaseMoRelationship, bool)

GetCustomPermissionResourcesOk returns a tuple with the CustomPermissionResources field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCustomPermissionResources

func (o *AssetDeviceClaim) SetCustomPermissionResources(v []MoBaseMoRelationship)

SetCustomPermissionResources sets CustomPermissionResources field to given value.

HasCustomPermissionResources

func (o *AssetDeviceClaim) HasCustomPermissionResources() bool

HasCustomPermissionResources returns a boolean if a field has been set.

SetCustomPermissionResourcesNil

func (o *AssetDeviceClaim) SetCustomPermissionResourcesNil(b bool)

SetCustomPermissionResourcesNil sets the value for CustomPermissionResources to be an explicit nil

UnsetCustomPermissionResources

func (o *AssetDeviceClaim) UnsetCustomPermissionResources()

UnsetCustomPermissionResources ensures that no value is present for CustomPermissionResources, not even an explicit nil

GetDevice

func (o *AssetDeviceClaim) GetDevice() AssetDeviceRegistrationRelationship

GetDevice returns the Device field if non-nil, zero value otherwise.

GetDeviceOk

func (o *AssetDeviceClaim) GetDeviceOk() (*AssetDeviceRegistrationRelationship, bool)

GetDeviceOk returns a tuple with the Device field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetDevice

func (o *AssetDeviceClaim) SetDevice(v AssetDeviceRegistrationRelationship)

SetDevice sets Device field to given value.

HasDevice

func (o *AssetDeviceClaim) HasDevice() bool

HasDevice returns a boolean if a field has been set.

SetDeviceNil

func (o *AssetDeviceClaim) SetDeviceNil(b bool)

SetDeviceNil sets the value for Device to be an explicit nil

UnsetDevice

func (o *AssetDeviceClaim) UnsetDevice()

UnsetDevice ensures that no value is present for Device, not even an explicit nil

GetReservation

func (o *AssetDeviceClaim) GetReservation() ResourceReservationRelationship

GetReservation returns the Reservation field if non-nil, zero value otherwise.

GetReservationOk

func (o *AssetDeviceClaim) GetReservationOk() (*ResourceReservationRelationship, bool)

GetReservationOk returns a tuple with the Reservation field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetReservation

func (o *AssetDeviceClaim) SetReservation(v ResourceReservationRelationship)

SetReservation sets Reservation field to given value.

HasReservation

func (o *AssetDeviceClaim) HasReservation() bool

HasReservation returns a boolean if a field has been set.

SetReservationNil

func (o *AssetDeviceClaim) SetReservationNil(b bool)

SetReservationNil sets the value for Reservation to be an explicit nil

UnsetReservation

func (o *AssetDeviceClaim) UnsetReservation()

UnsetReservation ensures that no value is present for Reservation, not even an explicit nil

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