Skip to content

ClassRuleTemplateOpenApiVO

Properties

Name Type Description Notes
ClassType int32 The Class value selected in the Qos Class configuration should be a value as follows: 1: Class 1, 2: Class 2, 3: Class 3.
Dscp string The DSCP value selected in the DSCP configuration should be a value as follows: any: any; 8: IP precedence 1; 16: IP precedence 2; 24: IP precedence 3; 32: IP precedence 4; 40: IP precedence 5; 48: IP precedence 6; 56: IP precedence 7; 10: AF Class 1 (Low Drop); 12: AF Class 1 (Medium Drop); 14: AF Class 1 (High Drop); 18: AF Class 2 (Low Drop); 20: AF Class 2 (Medium Drop); 22: AF Class 2 (High Drop); 26: AF Class 3 (Low Drop); 28: AF Class 3 (Medium Drop); 30: AF Class 3 (High Drop); 34: AF Class 4 (Low Drop); 36: AF Class 4 (Medium Drop); 38: AF Class 4 (High Drop); 46: EF Class.
Enable bool The status of class rule. valid values are true or false.
IpVersion int32 The IP Version of class rule should be a value as follows: 0: IPv4; 1: IPv6.
LocalIp string The ID of IP Group or IPv6 Group selected in the Local Address configuration. The ID can be obtained from 'Get group profile template list' interface.
RemoteIp string The ID of IP Group or IPv6 Group selected in the Remote Address configuration. The ID can be obtained from 'Get group profile template list' interface.
ServiceType string The ID of Gateway Qos Service selected in the Service Name configuration. The ID can be obtained from 'Get all Gateway QoS Service's ID and name info in siteTemplate' interface.

Methods

NewClassRuleTemplateOpenApiVO

func NewClassRuleTemplateOpenApiVO(classType int32, dscp string, enable bool, ipVersion int32, localIp string, remoteIp string, serviceType string, ) *ClassRuleTemplateOpenApiVO

NewClassRuleTemplateOpenApiVO instantiates a new ClassRuleTemplateOpenApiVO 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

NewClassRuleTemplateOpenApiVOWithDefaults

func NewClassRuleTemplateOpenApiVOWithDefaults() *ClassRuleTemplateOpenApiVO

NewClassRuleTemplateOpenApiVOWithDefaults instantiates a new ClassRuleTemplateOpenApiVO 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

GetClassType

func (o *ClassRuleTemplateOpenApiVO) GetClassType() int32

GetClassType returns the ClassType field if non-nil, zero value otherwise.

GetClassTypeOk

func (o *ClassRuleTemplateOpenApiVO) GetClassTypeOk() (*int32, bool)

GetClassTypeOk returns a tuple with the ClassType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetClassType

func (o *ClassRuleTemplateOpenApiVO) SetClassType(v int32)

SetClassType sets ClassType field to given value.

GetDscp

func (o *ClassRuleTemplateOpenApiVO) GetDscp() string

GetDscp returns the Dscp field if non-nil, zero value otherwise.

GetDscpOk

func (o *ClassRuleTemplateOpenApiVO) GetDscpOk() (*string, bool)

GetDscpOk returns a tuple with the Dscp field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetDscp

func (o *ClassRuleTemplateOpenApiVO) SetDscp(v string)

SetDscp sets Dscp field to given value.

GetEnable

func (o *ClassRuleTemplateOpenApiVO) GetEnable() bool

GetEnable returns the Enable field if non-nil, zero value otherwise.

GetEnableOk

func (o *ClassRuleTemplateOpenApiVO) GetEnableOk() (*bool, bool)

GetEnableOk returns a tuple with the Enable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetEnable

func (o *ClassRuleTemplateOpenApiVO) SetEnable(v bool)

SetEnable sets Enable field to given value.

GetIpVersion

func (o *ClassRuleTemplateOpenApiVO) GetIpVersion() int32

GetIpVersion returns the IpVersion field if non-nil, zero value otherwise.

GetIpVersionOk

func (o *ClassRuleTemplateOpenApiVO) GetIpVersionOk() (*int32, bool)

GetIpVersionOk returns a tuple with the IpVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetIpVersion

func (o *ClassRuleTemplateOpenApiVO) SetIpVersion(v int32)

SetIpVersion sets IpVersion field to given value.

GetLocalIp

func (o *ClassRuleTemplateOpenApiVO) GetLocalIp() string

GetLocalIp returns the LocalIp field if non-nil, zero value otherwise.

GetLocalIpOk

func (o *ClassRuleTemplateOpenApiVO) GetLocalIpOk() (*string, bool)

GetLocalIpOk returns a tuple with the LocalIp field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetLocalIp

func (o *ClassRuleTemplateOpenApiVO) SetLocalIp(v string)

SetLocalIp sets LocalIp field to given value.

GetRemoteIp

func (o *ClassRuleTemplateOpenApiVO) GetRemoteIp() string

GetRemoteIp returns the RemoteIp field if non-nil, zero value otherwise.

GetRemoteIpOk

func (o *ClassRuleTemplateOpenApiVO) GetRemoteIpOk() (*string, bool)

GetRemoteIpOk returns a tuple with the RemoteIp field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetRemoteIp

func (o *ClassRuleTemplateOpenApiVO) SetRemoteIp(v string)

SetRemoteIp sets RemoteIp field to given value.

GetServiceType

func (o *ClassRuleTemplateOpenApiVO) GetServiceType() string

GetServiceType returns the ServiceType field if non-nil, zero value otherwise.

GetServiceTypeOk

func (o *ClassRuleTemplateOpenApiVO) GetServiceTypeOk() (*string, bool)

GetServiceTypeOk returns a tuple with the ServiceType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetServiceType

func (o *ClassRuleTemplateOpenApiVO) SetServiceType(v string)

SetServiceType sets ServiceType field to given value.

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