Skip to content

TrafficProfileModifyDTO

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

NewTrafficProfileModifyDTO

func NewTrafficProfileModifyDTO(innerPriority string, priority string, priorityPolicy string, priorityValue int32, rateLimitStatus string, trafficId int32, ) *TrafficProfileModifyDTO

NewTrafficProfileModifyDTO instantiates a new TrafficProfileModifyDTO 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

NewTrafficProfileModifyDTOWithDefaults

func NewTrafficProfileModifyDTOWithDefaults() *TrafficProfileModifyDTO

NewTrafficProfileModifyDTOWithDefaults instantiates a new TrafficProfileModifyDTO 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 *TrafficProfileModifyDTO) GetCbsValue() int32

GetCbsValue returns the CbsValue field if non-nil, zero value otherwise.

GetCbsValueOk

func (o *TrafficProfileModifyDTO) 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 *TrafficProfileModifyDTO) SetCbsValue(v int32)

SetCbsValue sets CbsValue field to given value.

HasCbsValue

func (o *TrafficProfileModifyDTO) HasCbsValue() bool

HasCbsValue returns a boolean if a field has been set.

GetCirValue

func (o *TrafficProfileModifyDTO) GetCirValue() int32

GetCirValue returns the CirValue field if non-nil, zero value otherwise.

GetCirValueOk

func (o *TrafficProfileModifyDTO) 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 *TrafficProfileModifyDTO) SetCirValue(v int32)

SetCirValue sets CirValue field to given value.

HasCirValue

func (o *TrafficProfileModifyDTO) HasCirValue() bool

HasCirValue returns a boolean if a field has been set.

GetInnerPriority

func (o *TrafficProfileModifyDTO) GetInnerPriority() string

GetInnerPriority returns the InnerPriority field if non-nil, zero value otherwise.

GetInnerPriorityOk

func (o *TrafficProfileModifyDTO) 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 *TrafficProfileModifyDTO) SetInnerPriority(v string)

SetInnerPriority sets InnerPriority field to given value.

GetInnerPriorityValue

func (o *TrafficProfileModifyDTO) GetInnerPriorityValue() int32

GetInnerPriorityValue returns the InnerPriorityValue field if non-nil, zero value otherwise.

GetInnerPriorityValueOk

func (o *TrafficProfileModifyDTO) 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 *TrafficProfileModifyDTO) SetInnerPriorityValue(v int32)

SetInnerPriorityValue sets InnerPriorityValue field to given value.

HasInnerPriorityValue

func (o *TrafficProfileModifyDTO) HasInnerPriorityValue() bool

HasInnerPriorityValue returns a boolean if a field has been set.

GetIsInUse

func (o *TrafficProfileModifyDTO) GetIsInUse() bool

GetIsInUse returns the IsInUse field if non-nil, zero value otherwise.

GetIsInUseOk

func (o *TrafficProfileModifyDTO) 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 *TrafficProfileModifyDTO) SetIsInUse(v bool)

SetIsInUse sets IsInUse field to given value.

HasIsInUse

func (o *TrafficProfileModifyDTO) HasIsInUse() bool

HasIsInUse returns a boolean if a field has been set.

GetName

func (o *TrafficProfileModifyDTO) GetName() string

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

GetNameOk

func (o *TrafficProfileModifyDTO) 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 *TrafficProfileModifyDTO) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *TrafficProfileModifyDTO) HasName() bool

HasName returns a boolean if a field has been set.

GetPbsValue

func (o *TrafficProfileModifyDTO) GetPbsValue() int32

GetPbsValue returns the PbsValue field if non-nil, zero value otherwise.

GetPbsValueOk

func (o *TrafficProfileModifyDTO) 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 *TrafficProfileModifyDTO) SetPbsValue(v int32)

SetPbsValue sets PbsValue field to given value.

HasPbsValue

func (o *TrafficProfileModifyDTO) HasPbsValue() bool

HasPbsValue returns a boolean if a field has been set.

GetPirValue

func (o *TrafficProfileModifyDTO) GetPirValue() int32

GetPirValue returns the PirValue field if non-nil, zero value otherwise.

GetPirValueOk

func (o *TrafficProfileModifyDTO) 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 *TrafficProfileModifyDTO) SetPirValue(v int32)

SetPirValue sets PirValue field to given value.

HasPirValue

func (o *TrafficProfileModifyDTO) HasPirValue() bool

HasPirValue returns a boolean if a field has been set.

GetPriority

func (o *TrafficProfileModifyDTO) GetPriority() string

GetPriority returns the Priority field if non-nil, zero value otherwise.

GetPriorityOk

func (o *TrafficProfileModifyDTO) 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 *TrafficProfileModifyDTO) SetPriority(v string)

SetPriority sets Priority field to given value.

GetPriorityPolicy

func (o *TrafficProfileModifyDTO) GetPriorityPolicy() string

GetPriorityPolicy returns the PriorityPolicy field if non-nil, zero value otherwise.

GetPriorityPolicyOk

func (o *TrafficProfileModifyDTO) 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 *TrafficProfileModifyDTO) SetPriorityPolicy(v string)

SetPriorityPolicy sets PriorityPolicy field to given value.

GetPriorityValue

func (o *TrafficProfileModifyDTO) GetPriorityValue() int32

GetPriorityValue returns the PriorityValue field if non-nil, zero value otherwise.

GetPriorityValueOk

func (o *TrafficProfileModifyDTO) 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 *TrafficProfileModifyDTO) SetPriorityValue(v int32)

SetPriorityValue sets PriorityValue field to given value.

GetRateLimitStatus

func (o *TrafficProfileModifyDTO) GetRateLimitStatus() string

GetRateLimitStatus returns the RateLimitStatus field if non-nil, zero value otherwise.

GetRateLimitStatusOk

func (o *TrafficProfileModifyDTO) 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 *TrafficProfileModifyDTO) SetRateLimitStatus(v string)

SetRateLimitStatus sets RateLimitStatus field to given value.

GetTrafficId

func (o *TrafficProfileModifyDTO) GetTrafficId() int32

GetTrafficId returns the TrafficId field if non-nil, zero value otherwise.

GetTrafficIdOk

func (o *TrafficProfileModifyDTO) 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 *TrafficProfileModifyDTO) SetTrafficId(v int32)

SetTrafficId sets TrafficId field to given value.

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