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 "memory.Array"] |
ObjectType | string | The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property. | [default to "memory.Array"] |
ArrayId | Pointer to int64 | The instance number of the memory array. | [optional] [readonly] |
CpuId | Pointer to int64 | ID of the CPU that access this memory array. | [optional] [readonly] |
CurrentCapacity | Pointer to string | Current capacity of all the memory units on a server. | [optional] [readonly] |
ErrorCorrection | Pointer to string | The primary hardware error detection or correction method supported by the memory array. | [optional] [readonly] |
MaxCapacity | Pointer to string | Maximum capacity of all the memory units on a server. | [optional] [readonly] |
MaxDevices | Pointer to string | The maximum number of slots or sockets available for memory devices in the memory array. | [optional] [readonly] |
OperPowerState | Pointer to string | The power state indicator of the memory array. | [optional] [readonly] |
ComputeBlade | Pointer to NullableComputeBladeRelationship | [optional] | |
ComputeBoard | Pointer to NullableComputeBoardRelationship | [optional] | |
ComputeRackUnit | Pointer to NullableComputeRackUnitRelationship | [optional] | |
InventoryDeviceInfo | Pointer to NullableInventoryDeviceInfoRelationship | [optional] | |
PersistentMemoryUnits | Pointer to []MemoryPersistentMemoryUnitRelationship | An array of relationships to memoryPersistentMemoryUnit resources. | [optional] [readonly] |
RegisteredDevice | Pointer to NullableAssetDeviceRegistrationRelationship | [optional] | |
Units | Pointer to []MemoryUnitRelationship | An array of relationships to memoryUnit resources. | [optional] [readonly] |
func NewMemoryArray(classId string, objectType string, ) *MemoryArray
NewMemoryArray instantiates a new MemoryArray 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 NewMemoryArrayWithDefaults() *MemoryArray
NewMemoryArrayWithDefaults instantiates a new MemoryArray 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 *MemoryArray) GetClassId() string
GetClassId returns the ClassId field if non-nil, zero value otherwise.
func (o *MemoryArray) 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.
func (o *MemoryArray) SetClassId(v string)
SetClassId sets ClassId field to given value.
func (o *MemoryArray) GetObjectType() string
GetObjectType returns the ObjectType field if non-nil, zero value otherwise.
func (o *MemoryArray) 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.
func (o *MemoryArray) SetObjectType(v string)
SetObjectType sets ObjectType field to given value.
func (o *MemoryArray) GetArrayId() int64
GetArrayId returns the ArrayId field if non-nil, zero value otherwise.
func (o *MemoryArray) GetArrayIdOk() (*int64, bool)
GetArrayIdOk returns a tuple with the ArrayId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MemoryArray) SetArrayId(v int64)
SetArrayId sets ArrayId field to given value.
func (o *MemoryArray) HasArrayId() bool
HasArrayId returns a boolean if a field has been set.
func (o *MemoryArray) GetCpuId() int64
GetCpuId returns the CpuId field if non-nil, zero value otherwise.
func (o *MemoryArray) GetCpuIdOk() (*int64, bool)
GetCpuIdOk returns a tuple with the CpuId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MemoryArray) SetCpuId(v int64)
SetCpuId sets CpuId field to given value.
func (o *MemoryArray) HasCpuId() bool
HasCpuId returns a boolean if a field has been set.
func (o *MemoryArray) GetCurrentCapacity() string
GetCurrentCapacity returns the CurrentCapacity field if non-nil, zero value otherwise.
func (o *MemoryArray) GetCurrentCapacityOk() (*string, bool)
GetCurrentCapacityOk returns a tuple with the CurrentCapacity field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MemoryArray) SetCurrentCapacity(v string)
SetCurrentCapacity sets CurrentCapacity field to given value.
func (o *MemoryArray) HasCurrentCapacity() bool
HasCurrentCapacity returns a boolean if a field has been set.
func (o *MemoryArray) GetErrorCorrection() string
GetErrorCorrection returns the ErrorCorrection field if non-nil, zero value otherwise.
func (o *MemoryArray) GetErrorCorrectionOk() (*string, bool)
GetErrorCorrectionOk returns a tuple with the ErrorCorrection field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MemoryArray) SetErrorCorrection(v string)
SetErrorCorrection sets ErrorCorrection field to given value.
func (o *MemoryArray) HasErrorCorrection() bool
HasErrorCorrection returns a boolean if a field has been set.
func (o *MemoryArray) GetMaxCapacity() string
GetMaxCapacity returns the MaxCapacity field if non-nil, zero value otherwise.
func (o *MemoryArray) GetMaxCapacityOk() (*string, bool)
GetMaxCapacityOk returns a tuple with the MaxCapacity field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MemoryArray) SetMaxCapacity(v string)
SetMaxCapacity sets MaxCapacity field to given value.
func (o *MemoryArray) HasMaxCapacity() bool
HasMaxCapacity returns a boolean if a field has been set.
func (o *MemoryArray) GetMaxDevices() string
GetMaxDevices returns the MaxDevices field if non-nil, zero value otherwise.
func (o *MemoryArray) GetMaxDevicesOk() (*string, bool)
GetMaxDevicesOk returns a tuple with the MaxDevices field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MemoryArray) SetMaxDevices(v string)
SetMaxDevices sets MaxDevices field to given value.
func (o *MemoryArray) HasMaxDevices() bool
HasMaxDevices returns a boolean if a field has been set.
func (o *MemoryArray) GetOperPowerState() string
GetOperPowerState returns the OperPowerState field if non-nil, zero value otherwise.
func (o *MemoryArray) GetOperPowerStateOk() (*string, bool)
GetOperPowerStateOk returns a tuple with the OperPowerState field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MemoryArray) SetOperPowerState(v string)
SetOperPowerState sets OperPowerState field to given value.
func (o *MemoryArray) HasOperPowerState() bool
HasOperPowerState returns a boolean if a field has been set.
func (o *MemoryArray) GetComputeBlade() ComputeBladeRelationship
GetComputeBlade returns the ComputeBlade field if non-nil, zero value otherwise.
func (o *MemoryArray) 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.
func (o *MemoryArray) SetComputeBlade(v ComputeBladeRelationship)
SetComputeBlade sets ComputeBlade field to given value.
func (o *MemoryArray) HasComputeBlade() bool
HasComputeBlade returns a boolean if a field has been set.
func (o *MemoryArray) SetComputeBladeNil(b bool)
SetComputeBladeNil sets the value for ComputeBlade to be an explicit nil
func (o *MemoryArray) UnsetComputeBlade()
UnsetComputeBlade ensures that no value is present for ComputeBlade, not even an explicit nil
func (o *MemoryArray) GetComputeBoard() ComputeBoardRelationship
GetComputeBoard returns the ComputeBoard field if non-nil, zero value otherwise.
func (o *MemoryArray) GetComputeBoardOk() (*ComputeBoardRelationship, bool)
GetComputeBoardOk returns a tuple with the ComputeBoard field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MemoryArray) SetComputeBoard(v ComputeBoardRelationship)
SetComputeBoard sets ComputeBoard field to given value.
func (o *MemoryArray) HasComputeBoard() bool
HasComputeBoard returns a boolean if a field has been set.
func (o *MemoryArray) SetComputeBoardNil(b bool)
SetComputeBoardNil sets the value for ComputeBoard to be an explicit nil
func (o *MemoryArray) UnsetComputeBoard()
UnsetComputeBoard ensures that no value is present for ComputeBoard, not even an explicit nil
func (o *MemoryArray) GetComputeRackUnit() ComputeRackUnitRelationship
GetComputeRackUnit returns the ComputeRackUnit field if non-nil, zero value otherwise.
func (o *MemoryArray) 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.
func (o *MemoryArray) SetComputeRackUnit(v ComputeRackUnitRelationship)
SetComputeRackUnit sets ComputeRackUnit field to given value.
func (o *MemoryArray) HasComputeRackUnit() bool
HasComputeRackUnit returns a boolean if a field has been set.
func (o *MemoryArray) SetComputeRackUnitNil(b bool)
SetComputeRackUnitNil sets the value for ComputeRackUnit to be an explicit nil
func (o *MemoryArray) UnsetComputeRackUnit()
UnsetComputeRackUnit ensures that no value is present for ComputeRackUnit, not even an explicit nil
func (o *MemoryArray) GetInventoryDeviceInfo() InventoryDeviceInfoRelationship
GetInventoryDeviceInfo returns the InventoryDeviceInfo field if non-nil, zero value otherwise.
func (o *MemoryArray) 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.
func (o *MemoryArray) SetInventoryDeviceInfo(v InventoryDeviceInfoRelationship)
SetInventoryDeviceInfo sets InventoryDeviceInfo field to given value.
func (o *MemoryArray) HasInventoryDeviceInfo() bool
HasInventoryDeviceInfo returns a boolean if a field has been set.
func (o *MemoryArray) SetInventoryDeviceInfoNil(b bool)
SetInventoryDeviceInfoNil sets the value for InventoryDeviceInfo to be an explicit nil
func (o *MemoryArray) UnsetInventoryDeviceInfo()
UnsetInventoryDeviceInfo ensures that no value is present for InventoryDeviceInfo, not even an explicit nil
func (o *MemoryArray) GetPersistentMemoryUnits() []MemoryPersistentMemoryUnitRelationship
GetPersistentMemoryUnits returns the PersistentMemoryUnits field if non-nil, zero value otherwise.
func (o *MemoryArray) GetPersistentMemoryUnitsOk() (*[]MemoryPersistentMemoryUnitRelationship, bool)
GetPersistentMemoryUnitsOk returns a tuple with the PersistentMemoryUnits field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MemoryArray) SetPersistentMemoryUnits(v []MemoryPersistentMemoryUnitRelationship)
SetPersistentMemoryUnits sets PersistentMemoryUnits field to given value.
func (o *MemoryArray) HasPersistentMemoryUnits() bool
HasPersistentMemoryUnits returns a boolean if a field has been set.
func (o *MemoryArray) SetPersistentMemoryUnitsNil(b bool)
SetPersistentMemoryUnitsNil sets the value for PersistentMemoryUnits to be an explicit nil
func (o *MemoryArray) UnsetPersistentMemoryUnits()
UnsetPersistentMemoryUnits ensures that no value is present for PersistentMemoryUnits, not even an explicit nil
func (o *MemoryArray) GetRegisteredDevice() AssetDeviceRegistrationRelationship
GetRegisteredDevice returns the RegisteredDevice field if non-nil, zero value otherwise.
func (o *MemoryArray) 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.
func (o *MemoryArray) SetRegisteredDevice(v AssetDeviceRegistrationRelationship)
SetRegisteredDevice sets RegisteredDevice field to given value.
func (o *MemoryArray) HasRegisteredDevice() bool
HasRegisteredDevice returns a boolean if a field has been set.
func (o *MemoryArray) SetRegisteredDeviceNil(b bool)
SetRegisteredDeviceNil sets the value for RegisteredDevice to be an explicit nil
func (o *MemoryArray) UnsetRegisteredDevice()
UnsetRegisteredDevice ensures that no value is present for RegisteredDevice, not even an explicit nil
func (o *MemoryArray) GetUnits() []MemoryUnitRelationship
GetUnits returns the Units field if non-nil, zero value otherwise.
func (o *MemoryArray) GetUnitsOk() (*[]MemoryUnitRelationship, bool)
GetUnitsOk returns a tuple with the Units field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MemoryArray) SetUnits(v []MemoryUnitRelationship)
SetUnits sets Units field to given value.
func (o *MemoryArray) HasUnits() bool
HasUnits returns a boolean if a field has been set.
func (o *MemoryArray) SetUnitsNil(b bool)
SetUnitsNil sets the value for Units to be an explicit nil
func (o *MemoryArray) UnsetUnits()
UnsetUnits ensures that no value is present for Units, not even an explicit nil