Skip to content

LanProfileInfoOpenApiVO

Properties

Name Type Description Notes
BandCtrl Pointer to BandCtrlVO [optional]
BandWidthCtrlType int32 BandWidthCtrlType should be a value as follows: 0: off, 1: rate limit, 2: storming control
CreateByNewUI Pointer to bool Mark whether the profile is created by the new UI [optional]
DhcpL2RelaySettings Pointer to DhcpL2RelayVO [optional]
Dot1pPriority Pointer to int32 802.1p Priority [optional]
Dot1x int32 Dot1x should be a value as follows: 0: force unauthorized, 1: force authorized, 2:auto
EeeEnable Pointer to bool EEE enable status [optional]
FastLeaveEnable Pointer to bool IGMP Snooping fast leave enable status [optional]
Flag Pointer to int32 Flag should be a value as follows: 0: default(all,disable,LAN), 1: native(generated by creating LAN network), 2: customize(created by users) [optional]
FlowControlEnable Pointer to bool FlowControl enable status [optional]
Id Pointer to string LAN profile ID [optional]
IgmpFastLeaveEnable Pointer to bool Indicates whether igmp fast leave is enabled [optional]
LldpMedEnable bool LLDP-MED enable status
LoopbackDetectEnable bool LoopbackDetect enable status
LoopbackDetectVlanBasedEnable Pointer to bool LoopbackDetectVLANBased enable status [optional]
MldFastLeaveEnable Pointer to bool Indicates whether mld fast leave is enabled [optional]
Name string Name should contain 1 to 128 characters.
Poe int32 PoE should be a value as follows: 0: on, 1: off, 2: \"do not modify\"
PortIsolationEnable bool Port-isolation enable status
ProhibitModify Pointer to bool Marks profiles that cannot be modified [optional]
Resource Pointer to int32 resource [optional]
SpanningTreeEnable bool SpanningTree enable status
SpanningTreeSetting Pointer to SpanningTreeSettingVO [optional]
StormCtrl Pointer to StormCtrlVO [optional]
TopoNotifyEnable Pointer to bool TopoNotify enable status [optional]
TrustMode Pointer to int32 Trust mode [optional]
Type Pointer to int32 Type should be a value as follows: 0: LAN profile-ALL, 1: LAN profile-Disable, 2: LAN Profile except ALL and Disable [optional]

Methods

NewLanProfileInfoOpenApiVO

func NewLanProfileInfoOpenApiVO(bandWidthCtrlType int32, dot1x int32, lldpMedEnable bool, loopbackDetectEnable bool, name string, poe int32, portIsolationEnable bool, spanningTreeEnable bool, ) *LanProfileInfoOpenApiVO

NewLanProfileInfoOpenApiVO instantiates a new LanProfileInfoOpenApiVO 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

NewLanProfileInfoOpenApiVOWithDefaults

func NewLanProfileInfoOpenApiVOWithDefaults() *LanProfileInfoOpenApiVO

NewLanProfileInfoOpenApiVOWithDefaults instantiates a new LanProfileInfoOpenApiVO 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

GetBandCtrl

func (o *LanProfileInfoOpenApiVO) GetBandCtrl() BandCtrlVO

GetBandCtrl returns the BandCtrl field if non-nil, zero value otherwise.

GetBandCtrlOk

func (o *LanProfileInfoOpenApiVO) GetBandCtrlOk() (*BandCtrlVO, bool)

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

SetBandCtrl

func (o *LanProfileInfoOpenApiVO) SetBandCtrl(v BandCtrlVO)

SetBandCtrl sets BandCtrl field to given value.

HasBandCtrl

func (o *LanProfileInfoOpenApiVO) HasBandCtrl() bool

HasBandCtrl returns a boolean if a field has been set.

GetBandWidthCtrlType

func (o *LanProfileInfoOpenApiVO) GetBandWidthCtrlType() int32

GetBandWidthCtrlType returns the BandWidthCtrlType field if non-nil, zero value otherwise.

GetBandWidthCtrlTypeOk

func (o *LanProfileInfoOpenApiVO) GetBandWidthCtrlTypeOk() (*int32, bool)

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

SetBandWidthCtrlType

func (o *LanProfileInfoOpenApiVO) SetBandWidthCtrlType(v int32)

SetBandWidthCtrlType sets BandWidthCtrlType field to given value.

GetCreateByNewUI

func (o *LanProfileInfoOpenApiVO) GetCreateByNewUI() bool

GetCreateByNewUI returns the CreateByNewUI field if non-nil, zero value otherwise.

GetCreateByNewUIOk

func (o *LanProfileInfoOpenApiVO) GetCreateByNewUIOk() (*bool, bool)

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

SetCreateByNewUI

func (o *LanProfileInfoOpenApiVO) SetCreateByNewUI(v bool)

SetCreateByNewUI sets CreateByNewUI field to given value.

HasCreateByNewUI

func (o *LanProfileInfoOpenApiVO) HasCreateByNewUI() bool

HasCreateByNewUI returns a boolean if a field has been set.

GetDhcpL2RelaySettings

func (o *LanProfileInfoOpenApiVO) GetDhcpL2RelaySettings() DhcpL2RelayVO

GetDhcpL2RelaySettings returns the DhcpL2RelaySettings field if non-nil, zero value otherwise.

GetDhcpL2RelaySettingsOk

func (o *LanProfileInfoOpenApiVO) GetDhcpL2RelaySettingsOk() (*DhcpL2RelayVO, bool)

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

SetDhcpL2RelaySettings

func (o *LanProfileInfoOpenApiVO) SetDhcpL2RelaySettings(v DhcpL2RelayVO)

SetDhcpL2RelaySettings sets DhcpL2RelaySettings field to given value.

HasDhcpL2RelaySettings

func (o *LanProfileInfoOpenApiVO) HasDhcpL2RelaySettings() bool

HasDhcpL2RelaySettings returns a boolean if a field has been set.

GetDot1pPriority

func (o *LanProfileInfoOpenApiVO) GetDot1pPriority() int32

GetDot1pPriority returns the Dot1pPriority field if non-nil, zero value otherwise.

GetDot1pPriorityOk

func (o *LanProfileInfoOpenApiVO) GetDot1pPriorityOk() (*int32, bool)

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

SetDot1pPriority

func (o *LanProfileInfoOpenApiVO) SetDot1pPriority(v int32)

SetDot1pPriority sets Dot1pPriority field to given value.

HasDot1pPriority

func (o *LanProfileInfoOpenApiVO) HasDot1pPriority() bool

HasDot1pPriority returns a boolean if a field has been set.

GetDot1x

func (o *LanProfileInfoOpenApiVO) GetDot1x() int32

GetDot1x returns the Dot1x field if non-nil, zero value otherwise.

GetDot1xOk

func (o *LanProfileInfoOpenApiVO) GetDot1xOk() (*int32, bool)

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

SetDot1x

func (o *LanProfileInfoOpenApiVO) SetDot1x(v int32)

SetDot1x sets Dot1x field to given value.

GetEeeEnable

func (o *LanProfileInfoOpenApiVO) GetEeeEnable() bool

GetEeeEnable returns the EeeEnable field if non-nil, zero value otherwise.

GetEeeEnableOk

func (o *LanProfileInfoOpenApiVO) GetEeeEnableOk() (*bool, bool)

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

SetEeeEnable

func (o *LanProfileInfoOpenApiVO) SetEeeEnable(v bool)

SetEeeEnable sets EeeEnable field to given value.

HasEeeEnable

func (o *LanProfileInfoOpenApiVO) HasEeeEnable() bool

HasEeeEnable returns a boolean if a field has been set.

GetFastLeaveEnable

func (o *LanProfileInfoOpenApiVO) GetFastLeaveEnable() bool

GetFastLeaveEnable returns the FastLeaveEnable field if non-nil, zero value otherwise.

GetFastLeaveEnableOk

func (o *LanProfileInfoOpenApiVO) GetFastLeaveEnableOk() (*bool, bool)

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

SetFastLeaveEnable

func (o *LanProfileInfoOpenApiVO) SetFastLeaveEnable(v bool)

SetFastLeaveEnable sets FastLeaveEnable field to given value.

HasFastLeaveEnable

func (o *LanProfileInfoOpenApiVO) HasFastLeaveEnable() bool

HasFastLeaveEnable returns a boolean if a field has been set.

GetFlag

func (o *LanProfileInfoOpenApiVO) GetFlag() int32

GetFlag returns the Flag field if non-nil, zero value otherwise.

GetFlagOk

func (o *LanProfileInfoOpenApiVO) GetFlagOk() (*int32, bool)

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

SetFlag

func (o *LanProfileInfoOpenApiVO) SetFlag(v int32)

SetFlag sets Flag field to given value.

HasFlag

func (o *LanProfileInfoOpenApiVO) HasFlag() bool

HasFlag returns a boolean if a field has been set.

GetFlowControlEnable

func (o *LanProfileInfoOpenApiVO) GetFlowControlEnable() bool

GetFlowControlEnable returns the FlowControlEnable field if non-nil, zero value otherwise.

GetFlowControlEnableOk

func (o *LanProfileInfoOpenApiVO) GetFlowControlEnableOk() (*bool, bool)

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

SetFlowControlEnable

func (o *LanProfileInfoOpenApiVO) SetFlowControlEnable(v bool)

SetFlowControlEnable sets FlowControlEnable field to given value.

HasFlowControlEnable

func (o *LanProfileInfoOpenApiVO) HasFlowControlEnable() bool

HasFlowControlEnable returns a boolean if a field has been set.

GetId

func (o *LanProfileInfoOpenApiVO) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *LanProfileInfoOpenApiVO) GetIdOk() (*string, bool)

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

SetId

func (o *LanProfileInfoOpenApiVO) SetId(v string)

SetId sets Id field to given value.

HasId

func (o *LanProfileInfoOpenApiVO) HasId() bool

HasId returns a boolean if a field has been set.

GetIgmpFastLeaveEnable

func (o *LanProfileInfoOpenApiVO) GetIgmpFastLeaveEnable() bool

GetIgmpFastLeaveEnable returns the IgmpFastLeaveEnable field if non-nil, zero value otherwise.

GetIgmpFastLeaveEnableOk

func (o *LanProfileInfoOpenApiVO) GetIgmpFastLeaveEnableOk() (*bool, bool)

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

SetIgmpFastLeaveEnable

func (o *LanProfileInfoOpenApiVO) SetIgmpFastLeaveEnable(v bool)

SetIgmpFastLeaveEnable sets IgmpFastLeaveEnable field to given value.

HasIgmpFastLeaveEnable

func (o *LanProfileInfoOpenApiVO) HasIgmpFastLeaveEnable() bool

HasIgmpFastLeaveEnable returns a boolean if a field has been set.

GetLldpMedEnable

func (o *LanProfileInfoOpenApiVO) GetLldpMedEnable() bool

GetLldpMedEnable returns the LldpMedEnable field if non-nil, zero value otherwise.

GetLldpMedEnableOk

func (o *LanProfileInfoOpenApiVO) GetLldpMedEnableOk() (*bool, bool)

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

SetLldpMedEnable

func (o *LanProfileInfoOpenApiVO) SetLldpMedEnable(v bool)

SetLldpMedEnable sets LldpMedEnable field to given value.

GetLoopbackDetectEnable

func (o *LanProfileInfoOpenApiVO) GetLoopbackDetectEnable() bool

GetLoopbackDetectEnable returns the LoopbackDetectEnable field if non-nil, zero value otherwise.

GetLoopbackDetectEnableOk

func (o *LanProfileInfoOpenApiVO) GetLoopbackDetectEnableOk() (*bool, bool)

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

SetLoopbackDetectEnable

func (o *LanProfileInfoOpenApiVO) SetLoopbackDetectEnable(v bool)

SetLoopbackDetectEnable sets LoopbackDetectEnable field to given value.

GetLoopbackDetectVlanBasedEnable

func (o *LanProfileInfoOpenApiVO) GetLoopbackDetectVlanBasedEnable() bool

GetLoopbackDetectVlanBasedEnable returns the LoopbackDetectVlanBasedEnable field if non-nil, zero value otherwise.

GetLoopbackDetectVlanBasedEnableOk

func (o *LanProfileInfoOpenApiVO) GetLoopbackDetectVlanBasedEnableOk() (*bool, bool)

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

SetLoopbackDetectVlanBasedEnable

func (o *LanProfileInfoOpenApiVO) SetLoopbackDetectVlanBasedEnable(v bool)

SetLoopbackDetectVlanBasedEnable sets LoopbackDetectVlanBasedEnable field to given value.

HasLoopbackDetectVlanBasedEnable

func (o *LanProfileInfoOpenApiVO) HasLoopbackDetectVlanBasedEnable() bool

HasLoopbackDetectVlanBasedEnable returns a boolean if a field has been set.

GetMldFastLeaveEnable

func (o *LanProfileInfoOpenApiVO) GetMldFastLeaveEnable() bool

GetMldFastLeaveEnable returns the MldFastLeaveEnable field if non-nil, zero value otherwise.

GetMldFastLeaveEnableOk

func (o *LanProfileInfoOpenApiVO) GetMldFastLeaveEnableOk() (*bool, bool)

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

SetMldFastLeaveEnable

func (o *LanProfileInfoOpenApiVO) SetMldFastLeaveEnable(v bool)

SetMldFastLeaveEnable sets MldFastLeaveEnable field to given value.

HasMldFastLeaveEnable

func (o *LanProfileInfoOpenApiVO) HasMldFastLeaveEnable() bool

HasMldFastLeaveEnable returns a boolean if a field has been set.

GetName

func (o *LanProfileInfoOpenApiVO) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *LanProfileInfoOpenApiVO) GetNameOk() (*string, bool)

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

SetName

func (o *LanProfileInfoOpenApiVO) SetName(v string)

SetName sets Name field to given value.

GetPoe

func (o *LanProfileInfoOpenApiVO) GetPoe() int32

GetPoe returns the Poe field if non-nil, zero value otherwise.

GetPoeOk

func (o *LanProfileInfoOpenApiVO) GetPoeOk() (*int32, bool)

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

SetPoe

func (o *LanProfileInfoOpenApiVO) SetPoe(v int32)

SetPoe sets Poe field to given value.

GetPortIsolationEnable

func (o *LanProfileInfoOpenApiVO) GetPortIsolationEnable() bool

GetPortIsolationEnable returns the PortIsolationEnable field if non-nil, zero value otherwise.

GetPortIsolationEnableOk

func (o *LanProfileInfoOpenApiVO) GetPortIsolationEnableOk() (*bool, bool)

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

SetPortIsolationEnable

func (o *LanProfileInfoOpenApiVO) SetPortIsolationEnable(v bool)

SetPortIsolationEnable sets PortIsolationEnable field to given value.

GetProhibitModify

func (o *LanProfileInfoOpenApiVO) GetProhibitModify() bool

GetProhibitModify returns the ProhibitModify field if non-nil, zero value otherwise.

GetProhibitModifyOk

func (o *LanProfileInfoOpenApiVO) GetProhibitModifyOk() (*bool, bool)

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

SetProhibitModify

func (o *LanProfileInfoOpenApiVO) SetProhibitModify(v bool)

SetProhibitModify sets ProhibitModify field to given value.

HasProhibitModify

func (o *LanProfileInfoOpenApiVO) HasProhibitModify() bool

HasProhibitModify returns a boolean if a field has been set.

GetResource

func (o *LanProfileInfoOpenApiVO) GetResource() int32

GetResource returns the Resource field if non-nil, zero value otherwise.

GetResourceOk

func (o *LanProfileInfoOpenApiVO) GetResourceOk() (*int32, bool)

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

SetResource

func (o *LanProfileInfoOpenApiVO) SetResource(v int32)

SetResource sets Resource field to given value.

HasResource

func (o *LanProfileInfoOpenApiVO) HasResource() bool

HasResource returns a boolean if a field has been set.

GetSpanningTreeEnable

func (o *LanProfileInfoOpenApiVO) GetSpanningTreeEnable() bool

GetSpanningTreeEnable returns the SpanningTreeEnable field if non-nil, zero value otherwise.

GetSpanningTreeEnableOk

func (o *LanProfileInfoOpenApiVO) GetSpanningTreeEnableOk() (*bool, bool)

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

SetSpanningTreeEnable

func (o *LanProfileInfoOpenApiVO) SetSpanningTreeEnable(v bool)

SetSpanningTreeEnable sets SpanningTreeEnable field to given value.

GetSpanningTreeSetting

func (o *LanProfileInfoOpenApiVO) GetSpanningTreeSetting() SpanningTreeSettingVO

GetSpanningTreeSetting returns the SpanningTreeSetting field if non-nil, zero value otherwise.

GetSpanningTreeSettingOk

func (o *LanProfileInfoOpenApiVO) GetSpanningTreeSettingOk() (*SpanningTreeSettingVO, bool)

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

SetSpanningTreeSetting

func (o *LanProfileInfoOpenApiVO) SetSpanningTreeSetting(v SpanningTreeSettingVO)

SetSpanningTreeSetting sets SpanningTreeSetting field to given value.

HasSpanningTreeSetting

func (o *LanProfileInfoOpenApiVO) HasSpanningTreeSetting() bool

HasSpanningTreeSetting returns a boolean if a field has been set.

GetStormCtrl

func (o *LanProfileInfoOpenApiVO) GetStormCtrl() StormCtrlVO

GetStormCtrl returns the StormCtrl field if non-nil, zero value otherwise.

GetStormCtrlOk

func (o *LanProfileInfoOpenApiVO) GetStormCtrlOk() (*StormCtrlVO, bool)

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

SetStormCtrl

func (o *LanProfileInfoOpenApiVO) SetStormCtrl(v StormCtrlVO)

SetStormCtrl sets StormCtrl field to given value.

HasStormCtrl

func (o *LanProfileInfoOpenApiVO) HasStormCtrl() bool

HasStormCtrl returns a boolean if a field has been set.

GetTopoNotifyEnable

func (o *LanProfileInfoOpenApiVO) GetTopoNotifyEnable() bool

GetTopoNotifyEnable returns the TopoNotifyEnable field if non-nil, zero value otherwise.

GetTopoNotifyEnableOk

func (o *LanProfileInfoOpenApiVO) GetTopoNotifyEnableOk() (*bool, bool)

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

SetTopoNotifyEnable

func (o *LanProfileInfoOpenApiVO) SetTopoNotifyEnable(v bool)

SetTopoNotifyEnable sets TopoNotifyEnable field to given value.

HasTopoNotifyEnable

func (o *LanProfileInfoOpenApiVO) HasTopoNotifyEnable() bool

HasTopoNotifyEnable returns a boolean if a field has been set.

GetTrustMode

func (o *LanProfileInfoOpenApiVO) GetTrustMode() int32

GetTrustMode returns the TrustMode field if non-nil, zero value otherwise.

GetTrustModeOk

func (o *LanProfileInfoOpenApiVO) GetTrustModeOk() (*int32, bool)

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

SetTrustMode

func (o *LanProfileInfoOpenApiVO) SetTrustMode(v int32)

SetTrustMode sets TrustMode field to given value.

HasTrustMode

func (o *LanProfileInfoOpenApiVO) HasTrustMode() bool

HasTrustMode returns a boolean if a field has been set.

GetType

func (o *LanProfileInfoOpenApiVO) GetType() int32

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

func (o *LanProfileInfoOpenApiVO) GetTypeOk() (*int32, bool)

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

SetType

func (o *LanProfileInfoOpenApiVO) SetType(v int32)

SetType sets Type field to given value.

HasType

func (o *LanProfileInfoOpenApiVO) HasType() bool

HasType returns a boolean if a field has been set.

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