TrafficProfileDTO
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| CbsValue | Pointer to int32 | CbsValue should be within the range of 2000 to 10240000 | [optional] |
| CirValue | Pointer to int32 | CirValue should be within the range of 128 to 10240000 | [optional] |
| InnerPriority | string | Inner priority type of the traffic profile,innerPriority should be a value as follows ASSIGNED, NONE, USER_COS, USER_INNER_COS | |
| InnerPriorityValue | Pointer to int32 | Inner priority value of the traffic profile.InnerPriorityValue should be within the range of 0 to 7 | [optional] |
| IsInUse | Pointer to bool | Whether the Traffic Profile is in use; if it is in use, it cannot be deleted. | [optional] |
| Name | Pointer to string | Name of the traffic 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] |
| PbsValue | Pointer to int32 | PbsValue should be within the range of 2000 to 10240000 | [optional] |
| PirValue | Pointer to int32 | PirValue should be within the range of 128 to 10240000 | [optional] |
| Priority | string | Priority type of the traffic profile.Priority should be a value as follows:ASSIGNED,USER_COS | |
| PriorityPolicy | string | Traffic priority policy should be a value as follows:LOCAL_SETTING, TAG_IN_PACKAGE, TAG_IN_INGRESS_PACKAGE | |
| PriorityValue | int32 | Priority value of the traffic profile.PriorityValue should be within the range of 0 to 7 | |
| RateLimitStatus | string | Whether to enable rate limit.RateLimitStatus should be a value as follows:DISABLE,ENABLE.ENABLE by default.When enabled, CIR must be configured, while CBS, PIR, and PBS parameters are optional.When disabled, the CIR, CBS, PIR, and PBS parameters are grayed out and cannot be configured. | |
| TrafficId | int32 | Traffic profile ID.TrafficId should be within the range of 1 to 512 |
Methods
NewTrafficProfileDTO
func NewTrafficProfileDTO(innerPriority string, priority string, priorityPolicy string, priorityValue int32, rateLimitStatus string, trafficId int32, ) *TrafficProfileDTO
NewTrafficProfileDTO instantiates a new TrafficProfileDTO 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
NewTrafficProfileDTOWithDefaults
func NewTrafficProfileDTOWithDefaults() *TrafficProfileDTO
NewTrafficProfileDTOWithDefaults instantiates a new TrafficProfileDTO 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
GetCbsValue
func (o *TrafficProfileDTO) GetCbsValue() int32
GetCbsValue returns the CbsValue field if non-nil, zero value otherwise.
GetCbsValueOk
func (o *TrafficProfileDTO) GetCbsValueOk() (*int32, bool)
GetCbsValueOk returns a tuple with the CbsValue field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetCbsValue
func (o *TrafficProfileDTO) SetCbsValue(v int32)
SetCbsValue sets CbsValue field to given value.
HasCbsValue
func (o *TrafficProfileDTO) HasCbsValue() bool
HasCbsValue returns a boolean if a field has been set.
GetCirValue
func (o *TrafficProfileDTO) GetCirValue() int32
GetCirValue returns the CirValue field if non-nil, zero value otherwise.
GetCirValueOk
func (o *TrafficProfileDTO) GetCirValueOk() (*int32, bool)
GetCirValueOk returns a tuple with the CirValue field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetCirValue
func (o *TrafficProfileDTO) SetCirValue(v int32)
SetCirValue sets CirValue field to given value.
HasCirValue
func (o *TrafficProfileDTO) HasCirValue() bool
HasCirValue returns a boolean if a field has been set.
GetInnerPriority
func (o *TrafficProfileDTO) GetInnerPriority() string
GetInnerPriority returns the InnerPriority field if non-nil, zero value otherwise.
GetInnerPriorityOk
func (o *TrafficProfileDTO) GetInnerPriorityOk() (*string, bool)
GetInnerPriorityOk returns a tuple with the InnerPriority field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetInnerPriority
func (o *TrafficProfileDTO) SetInnerPriority(v string)
SetInnerPriority sets InnerPriority field to given value.
GetInnerPriorityValue
func (o *TrafficProfileDTO) GetInnerPriorityValue() int32
GetInnerPriorityValue returns the InnerPriorityValue field if non-nil, zero value otherwise.
GetInnerPriorityValueOk
func (o *TrafficProfileDTO) GetInnerPriorityValueOk() (*int32, bool)
GetInnerPriorityValueOk returns a tuple with the InnerPriorityValue field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetInnerPriorityValue
func (o *TrafficProfileDTO) SetInnerPriorityValue(v int32)
SetInnerPriorityValue sets InnerPriorityValue field to given value.
HasInnerPriorityValue
func (o *TrafficProfileDTO) HasInnerPriorityValue() bool
HasInnerPriorityValue returns a boolean if a field has been set.
GetIsInUse
func (o *TrafficProfileDTO) GetIsInUse() bool
GetIsInUse returns the IsInUse field if non-nil, zero value otherwise.
GetIsInUseOk
func (o *TrafficProfileDTO) GetIsInUseOk() (*bool, bool)
GetIsInUseOk returns a tuple with the IsInUse field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetIsInUse
func (o *TrafficProfileDTO) SetIsInUse(v bool)
SetIsInUse sets IsInUse field to given value.
HasIsInUse
func (o *TrafficProfileDTO) HasIsInUse() bool
HasIsInUse returns a boolean if a field has been set.
GetName
func (o *TrafficProfileDTO) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
GetNameOk
func (o *TrafficProfileDTO) 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 *TrafficProfileDTO) SetName(v string)
SetName sets Name field to given value.
HasName
func (o *TrafficProfileDTO) HasName() bool
HasName returns a boolean if a field has been set.
GetPbsValue
func (o *TrafficProfileDTO) GetPbsValue() int32
GetPbsValue returns the PbsValue field if non-nil, zero value otherwise.
GetPbsValueOk
func (o *TrafficProfileDTO) GetPbsValueOk() (*int32, bool)
GetPbsValueOk returns a tuple with the PbsValue field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetPbsValue
func (o *TrafficProfileDTO) SetPbsValue(v int32)
SetPbsValue sets PbsValue field to given value.
HasPbsValue
func (o *TrafficProfileDTO) HasPbsValue() bool
HasPbsValue returns a boolean if a field has been set.
GetPirValue
func (o *TrafficProfileDTO) GetPirValue() int32
GetPirValue returns the PirValue field if non-nil, zero value otherwise.
GetPirValueOk
func (o *TrafficProfileDTO) GetPirValueOk() (*int32, bool)
GetPirValueOk returns a tuple with the PirValue field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetPirValue
func (o *TrafficProfileDTO) SetPirValue(v int32)
SetPirValue sets PirValue field to given value.
HasPirValue
func (o *TrafficProfileDTO) HasPirValue() bool
HasPirValue returns a boolean if a field has been set.
GetPriority
func (o *TrafficProfileDTO) GetPriority() string
GetPriority returns the Priority field if non-nil, zero value otherwise.
GetPriorityOk
func (o *TrafficProfileDTO) GetPriorityOk() (*string, bool)
GetPriorityOk returns a tuple with the Priority field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetPriority
func (o *TrafficProfileDTO) SetPriority(v string)
SetPriority sets Priority field to given value.
GetPriorityPolicy
func (o *TrafficProfileDTO) GetPriorityPolicy() string
GetPriorityPolicy returns the PriorityPolicy field if non-nil, zero value otherwise.
GetPriorityPolicyOk
func (o *TrafficProfileDTO) GetPriorityPolicyOk() (*string, bool)
GetPriorityPolicyOk returns a tuple with the PriorityPolicy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetPriorityPolicy
func (o *TrafficProfileDTO) SetPriorityPolicy(v string)
SetPriorityPolicy sets PriorityPolicy field to given value.
GetPriorityValue
func (o *TrafficProfileDTO) GetPriorityValue() int32
GetPriorityValue returns the PriorityValue field if non-nil, zero value otherwise.
GetPriorityValueOk
func (o *TrafficProfileDTO) GetPriorityValueOk() (*int32, bool)
GetPriorityValueOk returns a tuple with the PriorityValue field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetPriorityValue
func (o *TrafficProfileDTO) SetPriorityValue(v int32)
SetPriorityValue sets PriorityValue field to given value.
GetRateLimitStatus
func (o *TrafficProfileDTO) GetRateLimitStatus() string
GetRateLimitStatus returns the RateLimitStatus field if non-nil, zero value otherwise.
GetRateLimitStatusOk
func (o *TrafficProfileDTO) GetRateLimitStatusOk() (*string, bool)
GetRateLimitStatusOk returns a tuple with the RateLimitStatus field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetRateLimitStatus
func (o *TrafficProfileDTO) SetRateLimitStatus(v string)
SetRateLimitStatus sets RateLimitStatus field to given value.
GetTrafficId
func (o *TrafficProfileDTO) GetTrafficId() int32
GetTrafficId returns the TrafficId field if non-nil, zero value otherwise.
GetTrafficIdOk
func (o *TrafficProfileDTO) GetTrafficIdOk() (*int32, bool)
GetTrafficIdOk returns a tuple with the TrafficId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetTrafficId
func (o *TrafficProfileDTO) SetTrafficId(v int32)
SetTrafficId sets TrafficId field to given value.