Skip to content

Latest commit

 

History

History
780 lines (427 loc) · 23.9 KB

AdapterUnit.md

File metadata and controls

780 lines (427 loc) · 23.9 KB

AdapterUnit

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 "adapter.Unit"]
ObjectType string The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property. [default to "adapter.Unit"]
AdapterId Pointer to string Unique Identifier of an adapter Unit within a Rack Interface. [optional] [readonly]
BaseMacAddress Pointer to string Original Base Mac address of an adapter unit. [optional] [readonly]
ConnectionStatus Pointer to string Connectivity Status of adapter - A or B or AB. [optional] [readonly]
Integrated Pointer to string Cisco Integrated adapter or other type. [optional] [readonly]
OperReason Pointer to []string [optional]
OperState Pointer to string Operational state of an adapter unit. [optional] [readonly]
Operability Pointer to string Operability state of an adapter unit. [optional] [readonly]
PartNumber Pointer to string Part number of an adapter unit. [optional] [readonly]
PciSlot Pointer to string PCIe slot of the adapter in the server. [optional] [readonly]
Power Pointer to string Power state of an adapter unit. [optional] [readonly]
Thermal Pointer to string Thermal state of an adapter unit. [optional] [readonly]
VicCommunicable Pointer to string Records the current state of communication between the Virtual Interface Card (VIC) and the Cisco Integrated Management Controller (CIMC) on the server. * `Not Applicable` - Set the state of VIC communication to Not Applicable for other Platforms. * `Yes` - VIC is reachable from CIMC. * `No` - VIC is not reachable from CIMC. [optional] [readonly] [default to "Not Applicable"]
Vid Pointer to string Virtual Id of the adapter in the server. [optional] [readonly]
AdapterUnitExpander Pointer to NullableAdapterUnitExpanderRelationship [optional]
ComputeBlade Pointer to NullableComputeBladeRelationship [optional]
ComputeRackUnit Pointer to NullableComputeRackUnitRelationship [optional]
Controller Pointer to NullableManagementControllerRelationship [optional]
ExtEthIfs Pointer to []AdapterExtEthInterfaceRelationship An array of relationships to adapterExtEthInterface resources. [optional] [readonly]
HostEthIfs Pointer to []AdapterHostEthInterfaceRelationship An array of relationships to adapterHostEthInterface resources. [optional] [readonly]
HostFcIfs Pointer to []AdapterHostFcInterfaceRelationship An array of relationships to adapterHostFcInterface resources. [optional] [readonly]
HostIscsiIfs Pointer to []AdapterHostIscsiInterfaceRelationship An array of relationships to adapterHostIscsiInterface resources. [optional] [readonly]
InventoryDeviceInfo Pointer to NullableInventoryDeviceInfoRelationship [optional]
RegisteredDevice Pointer to NullableAssetDeviceRegistrationRelationship [optional]

Methods

NewAdapterUnit

func NewAdapterUnit(classId string, objectType string, ) *AdapterUnit

NewAdapterUnit instantiates a new AdapterUnit 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

NewAdapterUnitWithDefaults

func NewAdapterUnitWithDefaults() *AdapterUnit

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

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

GetClassIdOk

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

SetClassId sets ClassId field to given value.

GetObjectType

func (o *AdapterUnit) GetObjectType() string

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

GetObjectTypeOk

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

SetObjectType sets ObjectType field to given value.

GetAdapterId

func (o *AdapterUnit) GetAdapterId() string

GetAdapterId returns the AdapterId field if non-nil, zero value otherwise.

GetAdapterIdOk

func (o *AdapterUnit) GetAdapterIdOk() (*string, bool)

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

SetAdapterId

func (o *AdapterUnit) SetAdapterId(v string)

SetAdapterId sets AdapterId field to given value.

HasAdapterId

func (o *AdapterUnit) HasAdapterId() bool

HasAdapterId returns a boolean if a field has been set.

GetBaseMacAddress

func (o *AdapterUnit) GetBaseMacAddress() string

GetBaseMacAddress returns the BaseMacAddress field if non-nil, zero value otherwise.

GetBaseMacAddressOk

func (o *AdapterUnit) GetBaseMacAddressOk() (*string, bool)

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

SetBaseMacAddress

func (o *AdapterUnit) SetBaseMacAddress(v string)

SetBaseMacAddress sets BaseMacAddress field to given value.

HasBaseMacAddress

func (o *AdapterUnit) HasBaseMacAddress() bool

HasBaseMacAddress returns a boolean if a field has been set.

GetConnectionStatus

func (o *AdapterUnit) GetConnectionStatus() string

GetConnectionStatus returns the ConnectionStatus field if non-nil, zero value otherwise.

GetConnectionStatusOk

func (o *AdapterUnit) GetConnectionStatusOk() (*string, bool)

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

SetConnectionStatus

func (o *AdapterUnit) SetConnectionStatus(v string)

SetConnectionStatus sets ConnectionStatus field to given value.

HasConnectionStatus

func (o *AdapterUnit) HasConnectionStatus() bool

HasConnectionStatus returns a boolean if a field has been set.

GetIntegrated

func (o *AdapterUnit) GetIntegrated() string

GetIntegrated returns the Integrated field if non-nil, zero value otherwise.

GetIntegratedOk

func (o *AdapterUnit) GetIntegratedOk() (*string, bool)

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

SetIntegrated

func (o *AdapterUnit) SetIntegrated(v string)

SetIntegrated sets Integrated field to given value.

HasIntegrated

func (o *AdapterUnit) HasIntegrated() bool

HasIntegrated returns a boolean if a field has been set.

GetOperReason

func (o *AdapterUnit) GetOperReason() []string

GetOperReason returns the OperReason field if non-nil, zero value otherwise.

GetOperReasonOk

func (o *AdapterUnit) GetOperReasonOk() (*[]string, bool)

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

SetOperReason

func (o *AdapterUnit) SetOperReason(v []string)

SetOperReason sets OperReason field to given value.

HasOperReason

func (o *AdapterUnit) HasOperReason() bool

HasOperReason returns a boolean if a field has been set.

SetOperReasonNil

func (o *AdapterUnit) SetOperReasonNil(b bool)

SetOperReasonNil sets the value for OperReason to be an explicit nil

UnsetOperReason

func (o *AdapterUnit) UnsetOperReason()

UnsetOperReason ensures that no value is present for OperReason, not even an explicit nil

GetOperState

func (o *AdapterUnit) GetOperState() string

GetOperState returns the OperState field if non-nil, zero value otherwise.

GetOperStateOk

func (o *AdapterUnit) GetOperStateOk() (*string, bool)

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

SetOperState

func (o *AdapterUnit) SetOperState(v string)

SetOperState sets OperState field to given value.

HasOperState

func (o *AdapterUnit) HasOperState() bool

HasOperState returns a boolean if a field has been set.

GetOperability

func (o *AdapterUnit) GetOperability() string

GetOperability returns the Operability field if non-nil, zero value otherwise.

GetOperabilityOk

func (o *AdapterUnit) GetOperabilityOk() (*string, bool)

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

SetOperability

func (o *AdapterUnit) SetOperability(v string)

SetOperability sets Operability field to given value.

HasOperability

func (o *AdapterUnit) HasOperability() bool

HasOperability returns a boolean if a field has been set.

GetPartNumber

func (o *AdapterUnit) GetPartNumber() string

GetPartNumber returns the PartNumber field if non-nil, zero value otherwise.

GetPartNumberOk

func (o *AdapterUnit) GetPartNumberOk() (*string, bool)

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

SetPartNumber

func (o *AdapterUnit) SetPartNumber(v string)

SetPartNumber sets PartNumber field to given value.

HasPartNumber

func (o *AdapterUnit) HasPartNumber() bool

HasPartNumber returns a boolean if a field has been set.

GetPciSlot

func (o *AdapterUnit) GetPciSlot() string

GetPciSlot returns the PciSlot field if non-nil, zero value otherwise.

GetPciSlotOk

func (o *AdapterUnit) GetPciSlotOk() (*string, bool)

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

SetPciSlot

func (o *AdapterUnit) SetPciSlot(v string)

SetPciSlot sets PciSlot field to given value.

HasPciSlot

func (o *AdapterUnit) HasPciSlot() bool

HasPciSlot returns a boolean if a field has been set.

GetPower

func (o *AdapterUnit) GetPower() string

GetPower returns the Power field if non-nil, zero value otherwise.

GetPowerOk

func (o *AdapterUnit) GetPowerOk() (*string, bool)

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

SetPower

func (o *AdapterUnit) SetPower(v string)

SetPower sets Power field to given value.

HasPower

func (o *AdapterUnit) HasPower() bool

HasPower returns a boolean if a field has been set.

GetThermal

func (o *AdapterUnit) GetThermal() string

GetThermal returns the Thermal field if non-nil, zero value otherwise.

GetThermalOk

func (o *AdapterUnit) GetThermalOk() (*string, bool)

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

SetThermal

func (o *AdapterUnit) SetThermal(v string)

SetThermal sets Thermal field to given value.

HasThermal

func (o *AdapterUnit) HasThermal() bool

HasThermal returns a boolean if a field has been set.

GetVicCommunicable

func (o *AdapterUnit) GetVicCommunicable() string

GetVicCommunicable returns the VicCommunicable field if non-nil, zero value otherwise.

GetVicCommunicableOk

func (o *AdapterUnit) GetVicCommunicableOk() (*string, bool)

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

SetVicCommunicable

func (o *AdapterUnit) SetVicCommunicable(v string)

SetVicCommunicable sets VicCommunicable field to given value.

HasVicCommunicable

func (o *AdapterUnit) HasVicCommunicable() bool

HasVicCommunicable returns a boolean if a field has been set.

GetVid

func (o *AdapterUnit) GetVid() string

GetVid returns the Vid field if non-nil, zero value otherwise.

GetVidOk

func (o *AdapterUnit) GetVidOk() (*string, bool)

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

SetVid

func (o *AdapterUnit) SetVid(v string)

SetVid sets Vid field to given value.

HasVid

func (o *AdapterUnit) HasVid() bool

HasVid returns a boolean if a field has been set.

GetAdapterUnitExpander

func (o *AdapterUnit) GetAdapterUnitExpander() AdapterUnitExpanderRelationship

GetAdapterUnitExpander returns the AdapterUnitExpander field if non-nil, zero value otherwise.

GetAdapterUnitExpanderOk

func (o *AdapterUnit) GetAdapterUnitExpanderOk() (*AdapterUnitExpanderRelationship, bool)

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

SetAdapterUnitExpander

func (o *AdapterUnit) SetAdapterUnitExpander(v AdapterUnitExpanderRelationship)

SetAdapterUnitExpander sets AdapterUnitExpander field to given value.

HasAdapterUnitExpander

func (o *AdapterUnit) HasAdapterUnitExpander() bool

HasAdapterUnitExpander returns a boolean if a field has been set.

SetAdapterUnitExpanderNil

func (o *AdapterUnit) SetAdapterUnitExpanderNil(b bool)

SetAdapterUnitExpanderNil sets the value for AdapterUnitExpander to be an explicit nil

UnsetAdapterUnitExpander

func (o *AdapterUnit) UnsetAdapterUnitExpander()

UnsetAdapterUnitExpander ensures that no value is present for AdapterUnitExpander, not even an explicit nil

GetComputeBlade

func (o *AdapterUnit) GetComputeBlade() ComputeBladeRelationship

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

GetComputeBladeOk

func (o *AdapterUnit) 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 *AdapterUnit) SetComputeBlade(v ComputeBladeRelationship)

SetComputeBlade sets ComputeBlade field to given value.

HasComputeBlade

func (o *AdapterUnit) HasComputeBlade() bool

HasComputeBlade returns a boolean if a field has been set.

SetComputeBladeNil

func (o *AdapterUnit) SetComputeBladeNil(b bool)

SetComputeBladeNil sets the value for ComputeBlade to be an explicit nil

UnsetComputeBlade

func (o *AdapterUnit) UnsetComputeBlade()

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

GetComputeRackUnit

func (o *AdapterUnit) GetComputeRackUnit() ComputeRackUnitRelationship

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

GetComputeRackUnitOk

func (o *AdapterUnit) 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 *AdapterUnit) SetComputeRackUnit(v ComputeRackUnitRelationship)

SetComputeRackUnit sets ComputeRackUnit field to given value.

HasComputeRackUnit

func (o *AdapterUnit) HasComputeRackUnit() bool

HasComputeRackUnit returns a boolean if a field has been set.

SetComputeRackUnitNil

func (o *AdapterUnit) SetComputeRackUnitNil(b bool)

SetComputeRackUnitNil sets the value for ComputeRackUnit to be an explicit nil

UnsetComputeRackUnit

func (o *AdapterUnit) UnsetComputeRackUnit()

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

GetController

func (o *AdapterUnit) GetController() ManagementControllerRelationship

GetController returns the Controller field if non-nil, zero value otherwise.

GetControllerOk

func (o *AdapterUnit) GetControllerOk() (*ManagementControllerRelationship, bool)

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

SetController

func (o *AdapterUnit) SetController(v ManagementControllerRelationship)

SetController sets Controller field to given value.

HasController

func (o *AdapterUnit) HasController() bool

HasController returns a boolean if a field has been set.

SetControllerNil

func (o *AdapterUnit) SetControllerNil(b bool)

SetControllerNil sets the value for Controller to be an explicit nil

UnsetController

func (o *AdapterUnit) UnsetController()

UnsetController ensures that no value is present for Controller, not even an explicit nil

GetExtEthIfs

func (o *AdapterUnit) GetExtEthIfs() []AdapterExtEthInterfaceRelationship

GetExtEthIfs returns the ExtEthIfs field if non-nil, zero value otherwise.

GetExtEthIfsOk

func (o *AdapterUnit) GetExtEthIfsOk() (*[]AdapterExtEthInterfaceRelationship, bool)

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

SetExtEthIfs

func (o *AdapterUnit) SetExtEthIfs(v []AdapterExtEthInterfaceRelationship)

SetExtEthIfs sets ExtEthIfs field to given value.

HasExtEthIfs

func (o *AdapterUnit) HasExtEthIfs() bool

HasExtEthIfs returns a boolean if a field has been set.

SetExtEthIfsNil

func (o *AdapterUnit) SetExtEthIfsNil(b bool)

SetExtEthIfsNil sets the value for ExtEthIfs to be an explicit nil

UnsetExtEthIfs

func (o *AdapterUnit) UnsetExtEthIfs()

UnsetExtEthIfs ensures that no value is present for ExtEthIfs, not even an explicit nil

GetHostEthIfs

func (o *AdapterUnit) GetHostEthIfs() []AdapterHostEthInterfaceRelationship

GetHostEthIfs returns the HostEthIfs field if non-nil, zero value otherwise.

GetHostEthIfsOk

func (o *AdapterUnit) GetHostEthIfsOk() (*[]AdapterHostEthInterfaceRelationship, bool)

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

SetHostEthIfs

func (o *AdapterUnit) SetHostEthIfs(v []AdapterHostEthInterfaceRelationship)

SetHostEthIfs sets HostEthIfs field to given value.

HasHostEthIfs

func (o *AdapterUnit) HasHostEthIfs() bool

HasHostEthIfs returns a boolean if a field has been set.

SetHostEthIfsNil

func (o *AdapterUnit) SetHostEthIfsNil(b bool)

SetHostEthIfsNil sets the value for HostEthIfs to be an explicit nil

UnsetHostEthIfs

func (o *AdapterUnit) UnsetHostEthIfs()

UnsetHostEthIfs ensures that no value is present for HostEthIfs, not even an explicit nil

GetHostFcIfs

func (o *AdapterUnit) GetHostFcIfs() []AdapterHostFcInterfaceRelationship

GetHostFcIfs returns the HostFcIfs field if non-nil, zero value otherwise.

GetHostFcIfsOk

func (o *AdapterUnit) GetHostFcIfsOk() (*[]AdapterHostFcInterfaceRelationship, bool)

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

SetHostFcIfs

func (o *AdapterUnit) SetHostFcIfs(v []AdapterHostFcInterfaceRelationship)

SetHostFcIfs sets HostFcIfs field to given value.

HasHostFcIfs

func (o *AdapterUnit) HasHostFcIfs() bool

HasHostFcIfs returns a boolean if a field has been set.

SetHostFcIfsNil

func (o *AdapterUnit) SetHostFcIfsNil(b bool)

SetHostFcIfsNil sets the value for HostFcIfs to be an explicit nil

UnsetHostFcIfs

func (o *AdapterUnit) UnsetHostFcIfs()

UnsetHostFcIfs ensures that no value is present for HostFcIfs, not even an explicit nil

GetHostIscsiIfs

func (o *AdapterUnit) GetHostIscsiIfs() []AdapterHostIscsiInterfaceRelationship

GetHostIscsiIfs returns the HostIscsiIfs field if non-nil, zero value otherwise.

GetHostIscsiIfsOk

func (o *AdapterUnit) GetHostIscsiIfsOk() (*[]AdapterHostIscsiInterfaceRelationship, bool)

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

SetHostIscsiIfs

func (o *AdapterUnit) SetHostIscsiIfs(v []AdapterHostIscsiInterfaceRelationship)

SetHostIscsiIfs sets HostIscsiIfs field to given value.

HasHostIscsiIfs

func (o *AdapterUnit) HasHostIscsiIfs() bool

HasHostIscsiIfs returns a boolean if a field has been set.

SetHostIscsiIfsNil

func (o *AdapterUnit) SetHostIscsiIfsNil(b bool)

SetHostIscsiIfsNil sets the value for HostIscsiIfs to be an explicit nil

UnsetHostIscsiIfs

func (o *AdapterUnit) UnsetHostIscsiIfs()

UnsetHostIscsiIfs ensures that no value is present for HostIscsiIfs, not even an explicit nil

GetInventoryDeviceInfo

func (o *AdapterUnit) GetInventoryDeviceInfo() InventoryDeviceInfoRelationship

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

GetInventoryDeviceInfoOk

func (o *AdapterUnit) 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 *AdapterUnit) SetInventoryDeviceInfo(v InventoryDeviceInfoRelationship)

SetInventoryDeviceInfo sets InventoryDeviceInfo field to given value.

HasInventoryDeviceInfo

func (o *AdapterUnit) HasInventoryDeviceInfo() bool

HasInventoryDeviceInfo returns a boolean if a field has been set.

SetInventoryDeviceInfoNil

func (o *AdapterUnit) SetInventoryDeviceInfoNil(b bool)

SetInventoryDeviceInfoNil sets the value for InventoryDeviceInfo to be an explicit nil

UnsetInventoryDeviceInfo

func (o *AdapterUnit) UnsetInventoryDeviceInfo()

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

GetRegisteredDevice

func (o *AdapterUnit) GetRegisteredDevice() AssetDeviceRegistrationRelationship

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

GetRegisteredDeviceOk

func (o *AdapterUnit) 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 *AdapterUnit) SetRegisteredDevice(v AssetDeviceRegistrationRelationship)

SetRegisteredDevice sets RegisteredDevice field to given value.

HasRegisteredDevice

func (o *AdapterUnit) HasRegisteredDevice() bool

HasRegisteredDevice returns a boolean if a field has been set.

SetRegisteredDeviceNil

func (o *AdapterUnit) SetRegisteredDeviceNil(b bool)

SetRegisteredDeviceNil sets the value for RegisteredDevice to be an explicit nil

UnsetRegisteredDevice

func (o *AdapterUnit) 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]