ServiceProfileModifyDTO
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| EthNum | Pointer to int32 | Number of eth port.EthNum should be within the range of -1 to 24.-1 indicates that the number of ports is adaptive. The default value is -1. | [optional] |
| MacLearning | Pointer to string | Enable/disable ONT MAC address learning function. MacLearning should be a value as follows:DISABLE,ENABLE | [optional] |
| MaxAdaptiveEthNum | Pointer to int32 | Set the maximum number of automatically recognized ETH ports.When ethNum is set to -1, a prompt will appear.MaxAdaptiveEthNum should be within the range of 0 to 24 | [optional] |
| MaxAdaptivePotsNum | Pointer to int32 | Set the maximum number of automatically recognized potsWhen potsNum is set to -1, a prompt will appear.MaxAdaptivePotsNum should be within the range of 0 to 4 | [optional] |
| MulticastForward | string | Set the multicast packet forwarding mode of the ONT. NativeVlan should be a value as follows:UNCONCERN,TAGGED,UNTAGGED | |
| MulticastMode | Pointer to string | Set the multicast mode of the ONT. MulticastMode should be a value as follows:UNCONCERN,IGMP_SNOOPING,OLT_CONTROL | [optional] |
| Name | Pointer to string | Name of the service profile. No user configuration is automatically generated by the device. The name should contain 1 to 32 characters, including upper and lower letters, numbers, and symbols (-@_:/.). | [optional] |
| NativeVlan | Pointer to string | The ONT's concern for Native VLAN .NativeVlan should be a value as follows:UNCONCERN,CONCERN | [optional] |
| PotsNum | Pointer to int32 | Number of ONU pots.PotsNum should be within the range of -1 to 8.-1 indicates that the number of ports is adaptive. The default value is -1. | [optional] |
| ServiceId | int32 | Service profile ID should be within the range of 1 to 512 | |
| TaggedType | Pointer to string | TaggedType should be a value as follows:TRANSPARENT,TRANSLATION | [optional] |
| TaggedVlanId | Pointer to int32 | TaggedVlanId should be within the range of 1–4094 | [optional] |
Methods
NewServiceProfileModifyDTO
func NewServiceProfileModifyDTO(multicastForward string, serviceId int32, ) *ServiceProfileModifyDTO
NewServiceProfileModifyDTO instantiates a new ServiceProfileModifyDTO 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
NewServiceProfileModifyDTOWithDefaults
func NewServiceProfileModifyDTOWithDefaults() *ServiceProfileModifyDTO
NewServiceProfileModifyDTOWithDefaults instantiates a new ServiceProfileModifyDTO 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
GetEthNum
func (o *ServiceProfileModifyDTO) GetEthNum() int32
GetEthNum returns the EthNum field if non-nil, zero value otherwise.
GetEthNumOk
func (o *ServiceProfileModifyDTO) GetEthNumOk() (*int32, bool)
GetEthNumOk returns a tuple with the EthNum field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetEthNum
func (o *ServiceProfileModifyDTO) SetEthNum(v int32)
SetEthNum sets EthNum field to given value.
HasEthNum
func (o *ServiceProfileModifyDTO) HasEthNum() bool
HasEthNum returns a boolean if a field has been set.
GetMacLearning
func (o *ServiceProfileModifyDTO) GetMacLearning() string
GetMacLearning returns the MacLearning field if non-nil, zero value otherwise.
GetMacLearningOk
func (o *ServiceProfileModifyDTO) GetMacLearningOk() (*string, bool)
GetMacLearningOk returns a tuple with the MacLearning field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetMacLearning
func (o *ServiceProfileModifyDTO) SetMacLearning(v string)
SetMacLearning sets MacLearning field to given value.
HasMacLearning
func (o *ServiceProfileModifyDTO) HasMacLearning() bool
HasMacLearning returns a boolean if a field has been set.
GetMaxAdaptiveEthNum
func (o *ServiceProfileModifyDTO) GetMaxAdaptiveEthNum() int32
GetMaxAdaptiveEthNum returns the MaxAdaptiveEthNum field if non-nil, zero value otherwise.
GetMaxAdaptiveEthNumOk
func (o *ServiceProfileModifyDTO) GetMaxAdaptiveEthNumOk() (*int32, bool)
GetMaxAdaptiveEthNumOk returns a tuple with the MaxAdaptiveEthNum field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetMaxAdaptiveEthNum
func (o *ServiceProfileModifyDTO) SetMaxAdaptiveEthNum(v int32)
SetMaxAdaptiveEthNum sets MaxAdaptiveEthNum field to given value.
HasMaxAdaptiveEthNum
func (o *ServiceProfileModifyDTO) HasMaxAdaptiveEthNum() bool
HasMaxAdaptiveEthNum returns a boolean if a field has been set.
GetMaxAdaptivePotsNum
func (o *ServiceProfileModifyDTO) GetMaxAdaptivePotsNum() int32
GetMaxAdaptivePotsNum returns the MaxAdaptivePotsNum field if non-nil, zero value otherwise.
GetMaxAdaptivePotsNumOk
func (o *ServiceProfileModifyDTO) GetMaxAdaptivePotsNumOk() (*int32, bool)
GetMaxAdaptivePotsNumOk returns a tuple with the MaxAdaptivePotsNum field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetMaxAdaptivePotsNum
func (o *ServiceProfileModifyDTO) SetMaxAdaptivePotsNum(v int32)
SetMaxAdaptivePotsNum sets MaxAdaptivePotsNum field to given value.
HasMaxAdaptivePotsNum
func (o *ServiceProfileModifyDTO) HasMaxAdaptivePotsNum() bool
HasMaxAdaptivePotsNum returns a boolean if a field has been set.
GetMulticastForward
func (o *ServiceProfileModifyDTO) GetMulticastForward() string
GetMulticastForward returns the MulticastForward field if non-nil, zero value otherwise.
GetMulticastForwardOk
func (o *ServiceProfileModifyDTO) GetMulticastForwardOk() (*string, bool)
GetMulticastForwardOk returns a tuple with the MulticastForward field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetMulticastForward
func (o *ServiceProfileModifyDTO) SetMulticastForward(v string)
SetMulticastForward sets MulticastForward field to given value.
GetMulticastMode
func (o *ServiceProfileModifyDTO) GetMulticastMode() string
GetMulticastMode returns the MulticastMode field if non-nil, zero value otherwise.
GetMulticastModeOk
func (o *ServiceProfileModifyDTO) GetMulticastModeOk() (*string, bool)
GetMulticastModeOk returns a tuple with the MulticastMode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetMulticastMode
func (o *ServiceProfileModifyDTO) SetMulticastMode(v string)
SetMulticastMode sets MulticastMode field to given value.
HasMulticastMode
func (o *ServiceProfileModifyDTO) HasMulticastMode() bool
HasMulticastMode returns a boolean if a field has been set.
GetName
func (o *ServiceProfileModifyDTO) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
GetNameOk
func (o *ServiceProfileModifyDTO) 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 *ServiceProfileModifyDTO) SetName(v string)
SetName sets Name field to given value.
HasName
func (o *ServiceProfileModifyDTO) HasName() bool
HasName returns a boolean if a field has been set.
GetNativeVlan
func (o *ServiceProfileModifyDTO) GetNativeVlan() string
GetNativeVlan returns the NativeVlan field if non-nil, zero value otherwise.
GetNativeVlanOk
func (o *ServiceProfileModifyDTO) GetNativeVlanOk() (*string, bool)
GetNativeVlanOk returns a tuple with the NativeVlan field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetNativeVlan
func (o *ServiceProfileModifyDTO) SetNativeVlan(v string)
SetNativeVlan sets NativeVlan field to given value.
HasNativeVlan
func (o *ServiceProfileModifyDTO) HasNativeVlan() bool
HasNativeVlan returns a boolean if a field has been set.
GetPotsNum
func (o *ServiceProfileModifyDTO) GetPotsNum() int32
GetPotsNum returns the PotsNum field if non-nil, zero value otherwise.
GetPotsNumOk
func (o *ServiceProfileModifyDTO) GetPotsNumOk() (*int32, bool)
GetPotsNumOk returns a tuple with the PotsNum field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetPotsNum
func (o *ServiceProfileModifyDTO) SetPotsNum(v int32)
SetPotsNum sets PotsNum field to given value.
HasPotsNum
func (o *ServiceProfileModifyDTO) HasPotsNum() bool
HasPotsNum returns a boolean if a field has been set.
GetServiceId
func (o *ServiceProfileModifyDTO) GetServiceId() int32
GetServiceId returns the ServiceId field if non-nil, zero value otherwise.
GetServiceIdOk
func (o *ServiceProfileModifyDTO) GetServiceIdOk() (*int32, bool)
GetServiceIdOk returns a tuple with the ServiceId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetServiceId
func (o *ServiceProfileModifyDTO) SetServiceId(v int32)
SetServiceId sets ServiceId field to given value.
GetTaggedType
func (o *ServiceProfileModifyDTO) GetTaggedType() string
GetTaggedType returns the TaggedType field if non-nil, zero value otherwise.
GetTaggedTypeOk
func (o *ServiceProfileModifyDTO) GetTaggedTypeOk() (*string, bool)
GetTaggedTypeOk returns a tuple with the TaggedType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetTaggedType
func (o *ServiceProfileModifyDTO) SetTaggedType(v string)
SetTaggedType sets TaggedType field to given value.
HasTaggedType
func (o *ServiceProfileModifyDTO) HasTaggedType() bool
HasTaggedType returns a boolean if a field has been set.
GetTaggedVlanId
func (o *ServiceProfileModifyDTO) GetTaggedVlanId() int32
GetTaggedVlanId returns the TaggedVlanId field if non-nil, zero value otherwise.
GetTaggedVlanIdOk
func (o *ServiceProfileModifyDTO) GetTaggedVlanIdOk() (*int32, bool)
GetTaggedVlanIdOk returns a tuple with the TaggedVlanId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetTaggedVlanId
func (o *ServiceProfileModifyDTO) SetTaggedVlanId(v int32)
SetTaggedVlanId sets TaggedVlanId field to given value.
HasTaggedVlanId
func (o *ServiceProfileModifyDTO) HasTaggedVlanId() bool
HasTaggedVlanId returns a boolean if a field has been set.