AutoServicePortVO
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| AutoMode | Pointer to string | AutoMOde should be a value as follows:Disable,Enable | [optional] |
| EtherType | Pointer to string | EtherType should be a value as follows:NONE,IPV4OE,IPV6OE,PPPOE | [optional] |
| GemPortId | Pointer to int32 | GemPortId should be within the range of 1 to 1023 | [optional] |
| InboundTrafficProfileId | Pointer to string | InboundTrafficProfileId should be within the range of 0 to 512 | [optional] |
| InnerVlan | Pointer to int32 | InnerVlan should be within the range of 0 to 4095 | [optional] |
| InnerVlanPriority | Pointer to string | InnerVlanPriority should be within the range of -1 to 7 | [optional] |
| OutboundTrafficProfileId | Pointer to string | OutboundTrafficProfileId should be within the range of 0 to 512 | [optional] |
| PonPortId | Pointer to int32 | PonPortId should be within the range of 1 to 16 | [optional] |
| PonPortStr | Pointer to string | String form of pon port | [optional] |
| Svlan | Pointer to int32 | SVlan should be within the range of 1 to 4095 | [optional] |
| TagAction | Pointer to string | TagAction should be a value as follows:DEFAULT,TRANSPARENT,TRANSLATE,TRANSLATE_AND_ADD,ADD_DOUBLE | [optional] |
| UserVlan | Pointer to int32 | UserVlan should be within the range of 0 to 4095 | [optional] |
| UserVlanPriority | Pointer to string | UserVlanPriority should be within the range of -1 to 7 | [optional] |
Methods
NewAutoServicePortVO
func NewAutoServicePortVO() *AutoServicePortVO
NewAutoServicePortVO instantiates a new AutoServicePortVO 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
NewAutoServicePortVOWithDefaults
func NewAutoServicePortVOWithDefaults() *AutoServicePortVO
NewAutoServicePortVOWithDefaults instantiates a new AutoServicePortVO 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
GetAutoMode
func (o *AutoServicePortVO) GetAutoMode() string
GetAutoMode returns the AutoMode field if non-nil, zero value otherwise.
GetAutoModeOk
func (o *AutoServicePortVO) GetAutoModeOk() (*string, bool)
GetAutoModeOk returns a tuple with the AutoMode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetAutoMode
func (o *AutoServicePortVO) SetAutoMode(v string)
SetAutoMode sets AutoMode field to given value.
HasAutoMode
func (o *AutoServicePortVO) HasAutoMode() bool
HasAutoMode returns a boolean if a field has been set.
GetEtherType
func (o *AutoServicePortVO) GetEtherType() string
GetEtherType returns the EtherType field if non-nil, zero value otherwise.
GetEtherTypeOk
func (o *AutoServicePortVO) GetEtherTypeOk() (*string, bool)
GetEtherTypeOk returns a tuple with the EtherType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetEtherType
func (o *AutoServicePortVO) SetEtherType(v string)
SetEtherType sets EtherType field to given value.
HasEtherType
func (o *AutoServicePortVO) HasEtherType() bool
HasEtherType returns a boolean if a field has been set.
GetGemPortId
func (o *AutoServicePortVO) GetGemPortId() int32
GetGemPortId returns the GemPortId field if non-nil, zero value otherwise.
GetGemPortIdOk
func (o *AutoServicePortVO) GetGemPortIdOk() (*int32, bool)
GetGemPortIdOk returns a tuple with the GemPortId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetGemPortId
func (o *AutoServicePortVO) SetGemPortId(v int32)
SetGemPortId sets GemPortId field to given value.
HasGemPortId
func (o *AutoServicePortVO) HasGemPortId() bool
HasGemPortId returns a boolean if a field has been set.
GetInboundTrafficProfileId
func (o *AutoServicePortVO) GetInboundTrafficProfileId() string
GetInboundTrafficProfileId returns the InboundTrafficProfileId field if non-nil, zero value otherwise.
GetInboundTrafficProfileIdOk
func (o *AutoServicePortVO) GetInboundTrafficProfileIdOk() (*string, bool)
GetInboundTrafficProfileIdOk returns a tuple with the InboundTrafficProfileId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetInboundTrafficProfileId
func (o *AutoServicePortVO) SetInboundTrafficProfileId(v string)
SetInboundTrafficProfileId sets InboundTrafficProfileId field to given value.
HasInboundTrafficProfileId
func (o *AutoServicePortVO) HasInboundTrafficProfileId() bool
HasInboundTrafficProfileId returns a boolean if a field has been set.
GetInnerVlan
func (o *AutoServicePortVO) GetInnerVlan() int32
GetInnerVlan returns the InnerVlan field if non-nil, zero value otherwise.
GetInnerVlanOk
func (o *AutoServicePortVO) GetInnerVlanOk() (*int32, bool)
GetInnerVlanOk returns a tuple with the InnerVlan field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetInnerVlan
func (o *AutoServicePortVO) SetInnerVlan(v int32)
SetInnerVlan sets InnerVlan field to given value.
HasInnerVlan
func (o *AutoServicePortVO) HasInnerVlan() bool
HasInnerVlan returns a boolean if a field has been set.
GetInnerVlanPriority
func (o *AutoServicePortVO) GetInnerVlanPriority() string
GetInnerVlanPriority returns the InnerVlanPriority field if non-nil, zero value otherwise.
GetInnerVlanPriorityOk
func (o *AutoServicePortVO) GetInnerVlanPriorityOk() (*string, bool)
GetInnerVlanPriorityOk returns a tuple with the InnerVlanPriority field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetInnerVlanPriority
func (o *AutoServicePortVO) SetInnerVlanPriority(v string)
SetInnerVlanPriority sets InnerVlanPriority field to given value.
HasInnerVlanPriority
func (o *AutoServicePortVO) HasInnerVlanPriority() bool
HasInnerVlanPriority returns a boolean if a field has been set.
GetOutboundTrafficProfileId
func (o *AutoServicePortVO) GetOutboundTrafficProfileId() string
GetOutboundTrafficProfileId returns the OutboundTrafficProfileId field if non-nil, zero value otherwise.
GetOutboundTrafficProfileIdOk
func (o *AutoServicePortVO) GetOutboundTrafficProfileIdOk() (*string, bool)
GetOutboundTrafficProfileIdOk returns a tuple with the OutboundTrafficProfileId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetOutboundTrafficProfileId
func (o *AutoServicePortVO) SetOutboundTrafficProfileId(v string)
SetOutboundTrafficProfileId sets OutboundTrafficProfileId field to given value.
HasOutboundTrafficProfileId
func (o *AutoServicePortVO) HasOutboundTrafficProfileId() bool
HasOutboundTrafficProfileId returns a boolean if a field has been set.
GetPonPortId
func (o *AutoServicePortVO) GetPonPortId() int32
GetPonPortId returns the PonPortId field if non-nil, zero value otherwise.
GetPonPortIdOk
func (o *AutoServicePortVO) GetPonPortIdOk() (*int32, bool)
GetPonPortIdOk returns a tuple with the PonPortId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetPonPortId
func (o *AutoServicePortVO) SetPonPortId(v int32)
SetPonPortId sets PonPortId field to given value.
HasPonPortId
func (o *AutoServicePortVO) HasPonPortId() bool
HasPonPortId returns a boolean if a field has been set.
GetPonPortStr
func (o *AutoServicePortVO) GetPonPortStr() string
GetPonPortStr returns the PonPortStr field if non-nil, zero value otherwise.
GetPonPortStrOk
func (o *AutoServicePortVO) GetPonPortStrOk() (*string, bool)
GetPonPortStrOk returns a tuple with the PonPortStr field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetPonPortStr
func (o *AutoServicePortVO) SetPonPortStr(v string)
SetPonPortStr sets PonPortStr field to given value.
HasPonPortStr
func (o *AutoServicePortVO) HasPonPortStr() bool
HasPonPortStr returns a boolean if a field has been set.
GetSvlan
func (o *AutoServicePortVO) GetSvlan() int32
GetSvlan returns the Svlan field if non-nil, zero value otherwise.
GetSvlanOk
func (o *AutoServicePortVO) GetSvlanOk() (*int32, bool)
GetSvlanOk returns a tuple with the Svlan field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetSvlan
func (o *AutoServicePortVO) SetSvlan(v int32)
SetSvlan sets Svlan field to given value.
HasSvlan
func (o *AutoServicePortVO) HasSvlan() bool
HasSvlan returns a boolean if a field has been set.
GetTagAction
func (o *AutoServicePortVO) GetTagAction() string
GetTagAction returns the TagAction field if non-nil, zero value otherwise.
GetTagActionOk
func (o *AutoServicePortVO) GetTagActionOk() (*string, bool)
GetTagActionOk returns a tuple with the TagAction field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetTagAction
func (o *AutoServicePortVO) SetTagAction(v string)
SetTagAction sets TagAction field to given value.
HasTagAction
func (o *AutoServicePortVO) HasTagAction() bool
HasTagAction returns a boolean if a field has been set.
GetUserVlan
func (o *AutoServicePortVO) GetUserVlan() int32
GetUserVlan returns the UserVlan field if non-nil, zero value otherwise.
GetUserVlanOk
func (o *AutoServicePortVO) GetUserVlanOk() (*int32, bool)
GetUserVlanOk returns a tuple with the UserVlan field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetUserVlan
func (o *AutoServicePortVO) SetUserVlan(v int32)
SetUserVlan sets UserVlan field to given value.
HasUserVlan
func (o *AutoServicePortVO) HasUserVlan() bool
HasUserVlan returns a boolean if a field has been set.
GetUserVlanPriority
func (o *AutoServicePortVO) GetUserVlanPriority() string
GetUserVlanPriority returns the UserVlanPriority field if non-nil, zero value otherwise.
GetUserVlanPriorityOk
func (o *AutoServicePortVO) GetUserVlanPriorityOk() (*string, bool)
GetUserVlanPriorityOk returns a tuple with the UserVlanPriority field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetUserVlanPriority
func (o *AutoServicePortVO) SetUserVlanPriority(v string)
SetUserVlanPriority sets UserVlanPriority field to given value.
HasUserVlanPriority
func (o *AutoServicePortVO) HasUserVlanPriority() bool
HasUserVlanPriority returns a boolean if a field has been set.