GatewayPortSettingConfig
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| DslSettings | Pointer to DslSettings | [optional] | |
| Duplex | Pointer to int32 | Port duplex mode should be a value as follows: 0: Auto; 1: Half; 2: Full | [optional] |
| FlowControl | Pointer to bool | Enable flow control or not.(When the port supports flow control.) | [optional] |
| LinkSpeed | Pointer to int32 | Port link speed should be a value as follows: 0: Auto; 1: 10M; 2: 100M; 3: 1000M; 4: 2500M; 5: 10G; 6: 5G | [optional] |
| MirrorEnable | Pointer to bool | Port enabled mirror or not | [optional] |
| MirrorMode | Pointer to int32 | Port mirror mode should be a value as follow: 0: ingress; 1: egress; 2: ingress and egress. | [optional] |
| MirroredPorts | Pointer to []int32 | Mirrored Ports Set | [optional] |
| PoeMode | Pointer to int32 | Enter a value as follows: 0: off; 1: 802.3at/af. | [optional] |
| Pvid | Pointer to int32 | Pvid(only for lan port.) | [optional] |
| Status | Pointer to int32 | Enable port or not, status should be a value as follows: 0: disable; 1: enable.(When the port supports status.) | [optional] |
Methods
NewGatewayPortSettingConfig
func NewGatewayPortSettingConfig() *GatewayPortSettingConfig
NewGatewayPortSettingConfig instantiates a new GatewayPortSettingConfig 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
NewGatewayPortSettingConfigWithDefaults
func NewGatewayPortSettingConfigWithDefaults() *GatewayPortSettingConfig
NewGatewayPortSettingConfigWithDefaults instantiates a new GatewayPortSettingConfig 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
GetDslSettings
func (o *GatewayPortSettingConfig) GetDslSettings() DslSettings
GetDslSettings returns the DslSettings field if non-nil, zero value otherwise.
GetDslSettingsOk
func (o *GatewayPortSettingConfig) GetDslSettingsOk() (*DslSettings, bool)
GetDslSettingsOk returns a tuple with the DslSettings field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetDslSettings
func (o *GatewayPortSettingConfig) SetDslSettings(v DslSettings)
SetDslSettings sets DslSettings field to given value.
HasDslSettings
func (o *GatewayPortSettingConfig) HasDslSettings() bool
HasDslSettings returns a boolean if a field has been set.
GetDuplex
func (o *GatewayPortSettingConfig) GetDuplex() int32
GetDuplex returns the Duplex field if non-nil, zero value otherwise.
GetDuplexOk
func (o *GatewayPortSettingConfig) GetDuplexOk() (*int32, bool)
GetDuplexOk returns a tuple with the Duplex field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetDuplex
func (o *GatewayPortSettingConfig) SetDuplex(v int32)
SetDuplex sets Duplex field to given value.
HasDuplex
func (o *GatewayPortSettingConfig) HasDuplex() bool
HasDuplex returns a boolean if a field has been set.
GetFlowControl
func (o *GatewayPortSettingConfig) GetFlowControl() bool
GetFlowControl returns the FlowControl field if non-nil, zero value otherwise.
GetFlowControlOk
func (o *GatewayPortSettingConfig) GetFlowControlOk() (*bool, bool)
GetFlowControlOk returns a tuple with the FlowControl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetFlowControl
func (o *GatewayPortSettingConfig) SetFlowControl(v bool)
SetFlowControl sets FlowControl field to given value.
HasFlowControl
func (o *GatewayPortSettingConfig) HasFlowControl() bool
HasFlowControl returns a boolean if a field has been set.
GetLinkSpeed
func (o *GatewayPortSettingConfig) GetLinkSpeed() int32
GetLinkSpeed returns the LinkSpeed field if non-nil, zero value otherwise.
GetLinkSpeedOk
func (o *GatewayPortSettingConfig) GetLinkSpeedOk() (*int32, bool)
GetLinkSpeedOk returns a tuple with the LinkSpeed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetLinkSpeed
func (o *GatewayPortSettingConfig) SetLinkSpeed(v int32)
SetLinkSpeed sets LinkSpeed field to given value.
HasLinkSpeed
func (o *GatewayPortSettingConfig) HasLinkSpeed() bool
HasLinkSpeed returns a boolean if a field has been set.
GetMirrorEnable
func (o *GatewayPortSettingConfig) GetMirrorEnable() bool
GetMirrorEnable returns the MirrorEnable field if non-nil, zero value otherwise.
GetMirrorEnableOk
func (o *GatewayPortSettingConfig) GetMirrorEnableOk() (*bool, bool)
GetMirrorEnableOk returns a tuple with the MirrorEnable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetMirrorEnable
func (o *GatewayPortSettingConfig) SetMirrorEnable(v bool)
SetMirrorEnable sets MirrorEnable field to given value.
HasMirrorEnable
func (o *GatewayPortSettingConfig) HasMirrorEnable() bool
HasMirrorEnable returns a boolean if a field has been set.
GetMirrorMode
func (o *GatewayPortSettingConfig) GetMirrorMode() int32
GetMirrorMode returns the MirrorMode field if non-nil, zero value otherwise.
GetMirrorModeOk
func (o *GatewayPortSettingConfig) GetMirrorModeOk() (*int32, bool)
GetMirrorModeOk returns a tuple with the MirrorMode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetMirrorMode
func (o *GatewayPortSettingConfig) SetMirrorMode(v int32)
SetMirrorMode sets MirrorMode field to given value.
HasMirrorMode
func (o *GatewayPortSettingConfig) HasMirrorMode() bool
HasMirrorMode returns a boolean if a field has been set.
GetMirroredPorts
func (o *GatewayPortSettingConfig) GetMirroredPorts() []int32
GetMirroredPorts returns the MirroredPorts field if non-nil, zero value otherwise.
GetMirroredPortsOk
func (o *GatewayPortSettingConfig) GetMirroredPortsOk() (*[]int32, bool)
GetMirroredPortsOk returns a tuple with the MirroredPorts field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetMirroredPorts
func (o *GatewayPortSettingConfig) SetMirroredPorts(v []int32)
SetMirroredPorts sets MirroredPorts field to given value.
HasMirroredPorts
func (o *GatewayPortSettingConfig) HasMirroredPorts() bool
HasMirroredPorts returns a boolean if a field has been set.
GetPoeMode
func (o *GatewayPortSettingConfig) GetPoeMode() int32
GetPoeMode returns the PoeMode field if non-nil, zero value otherwise.
GetPoeModeOk
func (o *GatewayPortSettingConfig) GetPoeModeOk() (*int32, bool)
GetPoeModeOk returns a tuple with the PoeMode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetPoeMode
func (o *GatewayPortSettingConfig) SetPoeMode(v int32)
SetPoeMode sets PoeMode field to given value.
HasPoeMode
func (o *GatewayPortSettingConfig) HasPoeMode() bool
HasPoeMode returns a boolean if a field has been set.
GetPvid
func (o *GatewayPortSettingConfig) GetPvid() int32
GetPvid returns the Pvid field if non-nil, zero value otherwise.
GetPvidOk
func (o *GatewayPortSettingConfig) GetPvidOk() (*int32, bool)
GetPvidOk returns a tuple with the Pvid field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetPvid
func (o *GatewayPortSettingConfig) SetPvid(v int32)
SetPvid sets Pvid field to given value.
HasPvid
func (o *GatewayPortSettingConfig) HasPvid() bool
HasPvid returns a boolean if a field has been set.
GetStatus
func (o *GatewayPortSettingConfig) GetStatus() int32
GetStatus returns the Status field if non-nil, zero value otherwise.
GetStatusOk
func (o *GatewayPortSettingConfig) GetStatusOk() (*int32, bool)
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetStatus
func (o *GatewayPortSettingConfig) SetStatus(v int32)
SetStatus sets Status field to given value.
HasStatus
func (o *GatewayPortSettingConfig) HasStatus() bool
HasStatus returns a boolean if a field has been set.