Skip to content

Latest commit

 

History

History
278 lines (153 loc) · 10.2 KB

InventoryGenericInventoryHolder.md

File metadata and controls

278 lines (153 loc) · 10.2 KB

InventoryGenericInventoryHolder

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 "inventory.GenericInventoryHolder"]
ObjectType string The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property. [default to "inventory.GenericInventoryHolder"]
Endpoint Pointer to string The endpoint represented by this holder. [optional] [readonly]
ComputeBlade Pointer to NullableComputeBladeRelationship [optional]
ComputeRackUnit Pointer to NullableComputeRackUnitRelationship [optional]
GenericInventory Pointer to []InventoryGenericInventoryRelationship An array of relationships to inventoryGenericInventory resources. [optional] [readonly]
InventoryDeviceInfo Pointer to NullableInventoryDeviceInfoRelationship [optional]
RegisteredDevice Pointer to NullableAssetDeviceRegistrationRelationship [optional]

Methods

NewInventoryGenericInventoryHolder

func NewInventoryGenericInventoryHolder(classId string, objectType string, ) *InventoryGenericInventoryHolder

NewInventoryGenericInventoryHolder instantiates a new InventoryGenericInventoryHolder 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

NewInventoryGenericInventoryHolderWithDefaults

func NewInventoryGenericInventoryHolderWithDefaults() *InventoryGenericInventoryHolder

NewInventoryGenericInventoryHolderWithDefaults instantiates a new InventoryGenericInventoryHolder 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 *InventoryGenericInventoryHolder) GetClassId() string

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

GetClassIdOk

func (o *InventoryGenericInventoryHolder) 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 *InventoryGenericInventoryHolder) SetClassId(v string)

SetClassId sets ClassId field to given value.

GetObjectType

func (o *InventoryGenericInventoryHolder) GetObjectType() string

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

GetObjectTypeOk

func (o *InventoryGenericInventoryHolder) 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 *InventoryGenericInventoryHolder) SetObjectType(v string)

SetObjectType sets ObjectType field to given value.

GetEndpoint

func (o *InventoryGenericInventoryHolder) GetEndpoint() string

GetEndpoint returns the Endpoint field if non-nil, zero value otherwise.

GetEndpointOk

func (o *InventoryGenericInventoryHolder) GetEndpointOk() (*string, bool)

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

SetEndpoint

func (o *InventoryGenericInventoryHolder) SetEndpoint(v string)

SetEndpoint sets Endpoint field to given value.

HasEndpoint

func (o *InventoryGenericInventoryHolder) HasEndpoint() bool

HasEndpoint returns a boolean if a field has been set.

GetComputeBlade

func (o *InventoryGenericInventoryHolder) GetComputeBlade() ComputeBladeRelationship

GetComputeBlade returns the ComputeBlade field if non-nil, zero value otherwise.

GetComputeBladeOk

func (o *InventoryGenericInventoryHolder) GetComputeBladeOk() (*ComputeBladeRelationship, bool)

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

SetComputeBlade

func (o *InventoryGenericInventoryHolder) SetComputeBlade(v ComputeBladeRelationship)

SetComputeBlade sets ComputeBlade field to given value.

HasComputeBlade

func (o *InventoryGenericInventoryHolder) HasComputeBlade() bool

HasComputeBlade returns a boolean if a field has been set.

SetComputeBladeNil

func (o *InventoryGenericInventoryHolder) SetComputeBladeNil(b bool)

SetComputeBladeNil sets the value for ComputeBlade to be an explicit nil

UnsetComputeBlade

func (o *InventoryGenericInventoryHolder) UnsetComputeBlade()

UnsetComputeBlade ensures that no value is present for ComputeBlade, not even an explicit nil

GetComputeRackUnit

func (o *InventoryGenericInventoryHolder) GetComputeRackUnit() ComputeRackUnitRelationship

GetComputeRackUnit returns the ComputeRackUnit field if non-nil, zero value otherwise.

GetComputeRackUnitOk

func (o *InventoryGenericInventoryHolder) GetComputeRackUnitOk() (*ComputeRackUnitRelationship, bool)

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

SetComputeRackUnit

func (o *InventoryGenericInventoryHolder) SetComputeRackUnit(v ComputeRackUnitRelationship)

SetComputeRackUnit sets ComputeRackUnit field to given value.

HasComputeRackUnit

func (o *InventoryGenericInventoryHolder) HasComputeRackUnit() bool

HasComputeRackUnit returns a boolean if a field has been set.

SetComputeRackUnitNil

func (o *InventoryGenericInventoryHolder) SetComputeRackUnitNil(b bool)

SetComputeRackUnitNil sets the value for ComputeRackUnit to be an explicit nil

UnsetComputeRackUnit

func (o *InventoryGenericInventoryHolder) UnsetComputeRackUnit()

UnsetComputeRackUnit ensures that no value is present for ComputeRackUnit, not even an explicit nil

GetGenericInventory

func (o *InventoryGenericInventoryHolder) GetGenericInventory() []InventoryGenericInventoryRelationship

GetGenericInventory returns the GenericInventory field if non-nil, zero value otherwise.

GetGenericInventoryOk

func (o *InventoryGenericInventoryHolder) GetGenericInventoryOk() (*[]InventoryGenericInventoryRelationship, bool)

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

SetGenericInventory

func (o *InventoryGenericInventoryHolder) SetGenericInventory(v []InventoryGenericInventoryRelationship)

SetGenericInventory sets GenericInventory field to given value.

HasGenericInventory

func (o *InventoryGenericInventoryHolder) HasGenericInventory() bool

HasGenericInventory returns a boolean if a field has been set.

SetGenericInventoryNil

func (o *InventoryGenericInventoryHolder) SetGenericInventoryNil(b bool)

SetGenericInventoryNil sets the value for GenericInventory to be an explicit nil

UnsetGenericInventory

func (o *InventoryGenericInventoryHolder) UnsetGenericInventory()

UnsetGenericInventory ensures that no value is present for GenericInventory, not even an explicit nil

GetInventoryDeviceInfo

func (o *InventoryGenericInventoryHolder) GetInventoryDeviceInfo() InventoryDeviceInfoRelationship

GetInventoryDeviceInfo returns the InventoryDeviceInfo field if non-nil, zero value otherwise.

GetInventoryDeviceInfoOk

func (o *InventoryGenericInventoryHolder) GetInventoryDeviceInfoOk() (*InventoryDeviceInfoRelationship, bool)

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

SetInventoryDeviceInfo

func (o *InventoryGenericInventoryHolder) SetInventoryDeviceInfo(v InventoryDeviceInfoRelationship)

SetInventoryDeviceInfo sets InventoryDeviceInfo field to given value.

HasInventoryDeviceInfo

func (o *InventoryGenericInventoryHolder) HasInventoryDeviceInfo() bool

HasInventoryDeviceInfo returns a boolean if a field has been set.

SetInventoryDeviceInfoNil

func (o *InventoryGenericInventoryHolder) SetInventoryDeviceInfoNil(b bool)

SetInventoryDeviceInfoNil sets the value for InventoryDeviceInfo to be an explicit nil

UnsetInventoryDeviceInfo

func (o *InventoryGenericInventoryHolder) UnsetInventoryDeviceInfo()

UnsetInventoryDeviceInfo ensures that no value is present for InventoryDeviceInfo, not even an explicit nil

GetRegisteredDevice

func (o *InventoryGenericInventoryHolder) GetRegisteredDevice() AssetDeviceRegistrationRelationship

GetRegisteredDevice returns the RegisteredDevice field if non-nil, zero value otherwise.

GetRegisteredDeviceOk

func (o *InventoryGenericInventoryHolder) GetRegisteredDeviceOk() (*AssetDeviceRegistrationRelationship, bool)

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

SetRegisteredDevice

func (o *InventoryGenericInventoryHolder) SetRegisteredDevice(v AssetDeviceRegistrationRelationship)

SetRegisteredDevice sets RegisteredDevice field to given value.

HasRegisteredDevice

func (o *InventoryGenericInventoryHolder) HasRegisteredDevice() bool

HasRegisteredDevice returns a boolean if a field has been set.

SetRegisteredDeviceNil

func (o *InventoryGenericInventoryHolder) SetRegisteredDeviceNil(b bool)

SetRegisteredDeviceNil sets the value for RegisteredDevice to be an explicit nil

UnsetRegisteredDevice

func (o *InventoryGenericInventoryHolder) UnsetRegisteredDevice()

UnsetRegisteredDevice ensures that no value is present for RegisteredDevice, not even an explicit nil

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