ClassRuleTemplateDetailOpenApiVO
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| ClassType | Pointer to 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. | [optional] |
| Dscp | Pointer to 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. | [optional] |
| Enable | Pointer to bool | The status of class rule. valid values are true or false. | [optional] |
| Id | Pointer to string | The ID of class rule. | [optional] |
| IpVersion | Pointer to int32 | The IP Version of class rule should be a value as follows: 0: IPv4; 1: IPv6. | [optional] |
| LocalIp | Pointer to 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. | [optional] |
| RemoteIp | Pointer to 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. | [optional] |
| ServiceType | Pointer to 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. | [optional] |
Methods
NewClassRuleTemplateDetailOpenApiVO
func NewClassRuleTemplateDetailOpenApiVO() *ClassRuleTemplateDetailOpenApiVO
NewClassRuleTemplateDetailOpenApiVO instantiates a new ClassRuleTemplateDetailOpenApiVO 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
NewClassRuleTemplateDetailOpenApiVOWithDefaults
func NewClassRuleTemplateDetailOpenApiVOWithDefaults() *ClassRuleTemplateDetailOpenApiVO
NewClassRuleTemplateDetailOpenApiVOWithDefaults instantiates a new ClassRuleTemplateDetailOpenApiVO 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 *ClassRuleTemplateDetailOpenApiVO) GetClassType() int32
GetClassType returns the ClassType field if non-nil, zero value otherwise.
GetClassTypeOk
func (o *ClassRuleTemplateDetailOpenApiVO) 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 *ClassRuleTemplateDetailOpenApiVO) SetClassType(v int32)
SetClassType sets ClassType field to given value.
HasClassType
func (o *ClassRuleTemplateDetailOpenApiVO) HasClassType() bool
HasClassType returns a boolean if a field has been set.
GetDscp
func (o *ClassRuleTemplateDetailOpenApiVO) GetDscp() string
GetDscp returns the Dscp field if non-nil, zero value otherwise.
GetDscpOk
func (o *ClassRuleTemplateDetailOpenApiVO) 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 *ClassRuleTemplateDetailOpenApiVO) SetDscp(v string)
SetDscp sets Dscp field to given value.
HasDscp
func (o *ClassRuleTemplateDetailOpenApiVO) HasDscp() bool
HasDscp returns a boolean if a field has been set.
GetEnable
func (o *ClassRuleTemplateDetailOpenApiVO) GetEnable() bool
GetEnable returns the Enable field if non-nil, zero value otherwise.
GetEnableOk
func (o *ClassRuleTemplateDetailOpenApiVO) 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 *ClassRuleTemplateDetailOpenApiVO) SetEnable(v bool)
SetEnable sets Enable field to given value.
HasEnable
func (o *ClassRuleTemplateDetailOpenApiVO) HasEnable() bool
HasEnable returns a boolean if a field has been set.
GetId
func (o *ClassRuleTemplateDetailOpenApiVO) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
GetIdOk
func (o *ClassRuleTemplateDetailOpenApiVO) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetId
func (o *ClassRuleTemplateDetailOpenApiVO) SetId(v string)
SetId sets Id field to given value.
HasId
func (o *ClassRuleTemplateDetailOpenApiVO) HasId() bool
HasId returns a boolean if a field has been set.
GetIpVersion
func (o *ClassRuleTemplateDetailOpenApiVO) GetIpVersion() int32
GetIpVersion returns the IpVersion field if non-nil, zero value otherwise.
GetIpVersionOk
func (o *ClassRuleTemplateDetailOpenApiVO) 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 *ClassRuleTemplateDetailOpenApiVO) SetIpVersion(v int32)
SetIpVersion sets IpVersion field to given value.
HasIpVersion
func (o *ClassRuleTemplateDetailOpenApiVO) HasIpVersion() bool
HasIpVersion returns a boolean if a field has been set.
GetLocalIp
func (o *ClassRuleTemplateDetailOpenApiVO) GetLocalIp() string
GetLocalIp returns the LocalIp field if non-nil, zero value otherwise.
GetLocalIpOk
func (o *ClassRuleTemplateDetailOpenApiVO) 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 *ClassRuleTemplateDetailOpenApiVO) SetLocalIp(v string)
SetLocalIp sets LocalIp field to given value.
HasLocalIp
func (o *ClassRuleTemplateDetailOpenApiVO) HasLocalIp() bool
HasLocalIp returns a boolean if a field has been set.
GetRemoteIp
func (o *ClassRuleTemplateDetailOpenApiVO) GetRemoteIp() string
GetRemoteIp returns the RemoteIp field if non-nil, zero value otherwise.
GetRemoteIpOk
func (o *ClassRuleTemplateDetailOpenApiVO) 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 *ClassRuleTemplateDetailOpenApiVO) SetRemoteIp(v string)
SetRemoteIp sets RemoteIp field to given value.
HasRemoteIp
func (o *ClassRuleTemplateDetailOpenApiVO) HasRemoteIp() bool
HasRemoteIp returns a boolean if a field has been set.
GetServiceType
func (o *ClassRuleTemplateDetailOpenApiVO) GetServiceType() string
GetServiceType returns the ServiceType field if non-nil, zero value otherwise.
GetServiceTypeOk
func (o *ClassRuleTemplateDetailOpenApiVO) 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 *ClassRuleTemplateDetailOpenApiVO) SetServiceType(v string)
SetServiceType sets ServiceType field to given value.
HasServiceType
func (o *ClassRuleTemplateDetailOpenApiVO) HasServiceType() bool
HasServiceType returns a boolean if a field has been set.