Skip to content

Latest commit

 

History

History
476 lines (259 loc) · 15 KB

AdapterExtEthInterface.md

File metadata and controls

476 lines (259 loc) · 15 KB

AdapterExtEthInterface

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.ExtEthInterface"]
ObjectType string The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property. [default to "adapter.ExtEthInterface"]
AdminState Pointer to string Admin configured state of an External Ethernet Interface. [optional] [readonly]
EpDn Pointer to string Endpoint Config DN of an External Ethernet Interface. [optional] [readonly]
ExtEthInterfaceId Pointer to string Unique Identifier for an External Ethernet Interface within the adapter object. [optional] [readonly]
InterfaceType Pointer to string Type of an External Ethernet Interface. [optional] [readonly]
MacAddress Pointer to string MAC address of an External Ethernet Interface. [optional] [readonly]
OperReason Pointer to []string [optional]
PeerAggrPortId Pointer to int64 Peer Aggregate Port Id attached to an External Ethernet Interface. [optional] [readonly]
PeerDn Pointer to string DN of peer end-point attached to an External Ethernet Interface. [optional] [readonly]
PeerPortId Pointer to int64 Peer Port Id attached to an External Ethernet Interface. [optional] [readonly]
PeerSlotId Pointer to int64 Peer Slot Id attached to an External Ethernet Interface. [optional] [readonly]
SwitchId Pointer to string SwitchId attached to an External Ethernet Interface. [optional] [readonly]
AdapterUnit Pointer to NullableAdapterUnitRelationship [optional]
InventoryDeviceInfo Pointer to NullableInventoryDeviceInfoRelationship [optional]
RegisteredDevice Pointer to NullableAssetDeviceRegistrationRelationship [optional]

Methods

NewAdapterExtEthInterface

func NewAdapterExtEthInterface(classId string, objectType string, ) *AdapterExtEthInterface

NewAdapterExtEthInterface instantiates a new AdapterExtEthInterface 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

NewAdapterExtEthInterfaceWithDefaults

func NewAdapterExtEthInterfaceWithDefaults() *AdapterExtEthInterface

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

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

GetClassIdOk

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

SetClassId sets ClassId field to given value.

GetObjectType

func (o *AdapterExtEthInterface) GetObjectType() string

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

GetObjectTypeOk

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

SetObjectType sets ObjectType field to given value.

GetAdminState

func (o *AdapterExtEthInterface) GetAdminState() string

GetAdminState returns the AdminState field if non-nil, zero value otherwise.

GetAdminStateOk

func (o *AdapterExtEthInterface) GetAdminStateOk() (*string, bool)

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

SetAdminState

func (o *AdapterExtEthInterface) SetAdminState(v string)

SetAdminState sets AdminState field to given value.

HasAdminState

func (o *AdapterExtEthInterface) HasAdminState() bool

HasAdminState returns a boolean if a field has been set.

GetEpDn

func (o *AdapterExtEthInterface) GetEpDn() string

GetEpDn returns the EpDn field if non-nil, zero value otherwise.

GetEpDnOk

func (o *AdapterExtEthInterface) GetEpDnOk() (*string, bool)

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

SetEpDn

func (o *AdapterExtEthInterface) SetEpDn(v string)

SetEpDn sets EpDn field to given value.

HasEpDn

func (o *AdapterExtEthInterface) HasEpDn() bool

HasEpDn returns a boolean if a field has been set.

GetExtEthInterfaceId

func (o *AdapterExtEthInterface) GetExtEthInterfaceId() string

GetExtEthInterfaceId returns the ExtEthInterfaceId field if non-nil, zero value otherwise.

GetExtEthInterfaceIdOk

func (o *AdapterExtEthInterface) GetExtEthInterfaceIdOk() (*string, bool)

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

SetExtEthInterfaceId

func (o *AdapterExtEthInterface) SetExtEthInterfaceId(v string)

SetExtEthInterfaceId sets ExtEthInterfaceId field to given value.

HasExtEthInterfaceId

func (o *AdapterExtEthInterface) HasExtEthInterfaceId() bool

HasExtEthInterfaceId returns a boolean if a field has been set.

GetInterfaceType

func (o *AdapterExtEthInterface) GetInterfaceType() string

GetInterfaceType returns the InterfaceType field if non-nil, zero value otherwise.

GetInterfaceTypeOk

func (o *AdapterExtEthInterface) GetInterfaceTypeOk() (*string, bool)

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

SetInterfaceType

func (o *AdapterExtEthInterface) SetInterfaceType(v string)

SetInterfaceType sets InterfaceType field to given value.

HasInterfaceType

func (o *AdapterExtEthInterface) HasInterfaceType() bool

HasInterfaceType returns a boolean if a field has been set.

GetMacAddress

func (o *AdapterExtEthInterface) GetMacAddress() string

GetMacAddress returns the MacAddress field if non-nil, zero value otherwise.

GetMacAddressOk

func (o *AdapterExtEthInterface) GetMacAddressOk() (*string, bool)

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

SetMacAddress

func (o *AdapterExtEthInterface) SetMacAddress(v string)

SetMacAddress sets MacAddress field to given value.

HasMacAddress

func (o *AdapterExtEthInterface) HasMacAddress() bool

HasMacAddress returns a boolean if a field has been set.

GetOperReason

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

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

GetOperReasonOk

func (o *AdapterExtEthInterface) 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 *AdapterExtEthInterface) SetOperReason(v []string)

SetOperReason sets OperReason field to given value.

HasOperReason

func (o *AdapterExtEthInterface) HasOperReason() bool

HasOperReason returns a boolean if a field has been set.

SetOperReasonNil

func (o *AdapterExtEthInterface) SetOperReasonNil(b bool)

SetOperReasonNil sets the value for OperReason to be an explicit nil

UnsetOperReason

func (o *AdapterExtEthInterface) UnsetOperReason()

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

GetPeerAggrPortId

func (o *AdapterExtEthInterface) GetPeerAggrPortId() int64

GetPeerAggrPortId returns the PeerAggrPortId field if non-nil, zero value otherwise.

GetPeerAggrPortIdOk

func (o *AdapterExtEthInterface) GetPeerAggrPortIdOk() (*int64, bool)

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

SetPeerAggrPortId

func (o *AdapterExtEthInterface) SetPeerAggrPortId(v int64)

SetPeerAggrPortId sets PeerAggrPortId field to given value.

HasPeerAggrPortId

func (o *AdapterExtEthInterface) HasPeerAggrPortId() bool

HasPeerAggrPortId returns a boolean if a field has been set.

GetPeerDn

func (o *AdapterExtEthInterface) GetPeerDn() string

GetPeerDn returns the PeerDn field if non-nil, zero value otherwise.

GetPeerDnOk

func (o *AdapterExtEthInterface) GetPeerDnOk() (*string, bool)

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

SetPeerDn

func (o *AdapterExtEthInterface) SetPeerDn(v string)

SetPeerDn sets PeerDn field to given value.

HasPeerDn

func (o *AdapterExtEthInterface) HasPeerDn() bool

HasPeerDn returns a boolean if a field has been set.

GetPeerPortId

func (o *AdapterExtEthInterface) GetPeerPortId() int64

GetPeerPortId returns the PeerPortId field if non-nil, zero value otherwise.

GetPeerPortIdOk

func (o *AdapterExtEthInterface) GetPeerPortIdOk() (*int64, bool)

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

SetPeerPortId

func (o *AdapterExtEthInterface) SetPeerPortId(v int64)

SetPeerPortId sets PeerPortId field to given value.

HasPeerPortId

func (o *AdapterExtEthInterface) HasPeerPortId() bool

HasPeerPortId returns a boolean if a field has been set.

GetPeerSlotId

func (o *AdapterExtEthInterface) GetPeerSlotId() int64

GetPeerSlotId returns the PeerSlotId field if non-nil, zero value otherwise.

GetPeerSlotIdOk

func (o *AdapterExtEthInterface) GetPeerSlotIdOk() (*int64, bool)

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

SetPeerSlotId

func (o *AdapterExtEthInterface) SetPeerSlotId(v int64)

SetPeerSlotId sets PeerSlotId field to given value.

HasPeerSlotId

func (o *AdapterExtEthInterface) HasPeerSlotId() bool

HasPeerSlotId returns a boolean if a field has been set.

GetSwitchId

func (o *AdapterExtEthInterface) GetSwitchId() string

GetSwitchId returns the SwitchId field if non-nil, zero value otherwise.

GetSwitchIdOk

func (o *AdapterExtEthInterface) GetSwitchIdOk() (*string, bool)

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

SetSwitchId

func (o *AdapterExtEthInterface) SetSwitchId(v string)

SetSwitchId sets SwitchId field to given value.

HasSwitchId

func (o *AdapterExtEthInterface) HasSwitchId() bool

HasSwitchId returns a boolean if a field has been set.

GetAdapterUnit

func (o *AdapterExtEthInterface) GetAdapterUnit() AdapterUnitRelationship

GetAdapterUnit returns the AdapterUnit field if non-nil, zero value otherwise.

GetAdapterUnitOk

func (o *AdapterExtEthInterface) GetAdapterUnitOk() (*AdapterUnitRelationship, bool)

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

SetAdapterUnit

func (o *AdapterExtEthInterface) SetAdapterUnit(v AdapterUnitRelationship)

SetAdapterUnit sets AdapterUnit field to given value.

HasAdapterUnit

func (o *AdapterExtEthInterface) HasAdapterUnit() bool

HasAdapterUnit returns a boolean if a field has been set.

SetAdapterUnitNil

func (o *AdapterExtEthInterface) SetAdapterUnitNil(b bool)

SetAdapterUnitNil sets the value for AdapterUnit to be an explicit nil

UnsetAdapterUnit

func (o *AdapterExtEthInterface) UnsetAdapterUnit()

UnsetAdapterUnit ensures that no value is present for AdapterUnit, not even an explicit nil

GetInventoryDeviceInfo

func (o *AdapterExtEthInterface) GetInventoryDeviceInfo() InventoryDeviceInfoRelationship

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

GetInventoryDeviceInfoOk

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

SetInventoryDeviceInfo sets InventoryDeviceInfo field to given value.

HasInventoryDeviceInfo

func (o *AdapterExtEthInterface) HasInventoryDeviceInfo() bool

HasInventoryDeviceInfo returns a boolean if a field has been set.

SetInventoryDeviceInfoNil

func (o *AdapterExtEthInterface) SetInventoryDeviceInfoNil(b bool)

SetInventoryDeviceInfoNil sets the value for InventoryDeviceInfo to be an explicit nil

UnsetInventoryDeviceInfo

func (o *AdapterExtEthInterface) UnsetInventoryDeviceInfo()

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

GetRegisteredDevice

func (o *AdapterExtEthInterface) GetRegisteredDevice() AssetDeviceRegistrationRelationship

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

GetRegisteredDeviceOk

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

SetRegisteredDevice sets RegisteredDevice field to given value.

HasRegisteredDevice

func (o *AdapterExtEthInterface) HasRegisteredDevice() bool

HasRegisteredDevice returns a boolean if a field has been set.

SetRegisteredDeviceNil

func (o *AdapterExtEthInterface) SetRegisteredDeviceNil(b bool)

SetRegisteredDeviceNil sets the value for RegisteredDevice to be an explicit nil

UnsetRegisteredDevice

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