waf_quota_integer_model.go raw
1 // This file is auto-generated, don't edit it. Thanks.
2 package client
3
4 import (
5 "github.com/alibabacloud-go/tea/dara"
6 )
7
8 type iWafQuotaInteger interface {
9 dara.Model
10 String() string
11 GoString() string
12 SetEqual(v int32) *WafQuotaInteger
13 GetEqual() *int32
14 SetGreaterThan(v int32) *WafQuotaInteger
15 GetGreaterThan() *int32
16 SetGreaterThanOrEqual(v int32) *WafQuotaInteger
17 GetGreaterThanOrEqual() *int32
18 SetLessThan(v int32) *WafQuotaInteger
19 GetLessThan() *int32
20 SetLessThanOrEqual(v int32) *WafQuotaInteger
21 GetLessThanOrEqual() *int32
22 }
23
24 type WafQuotaInteger struct {
25 Equal *int32 `json:"Equal,omitempty" xml:"Equal,omitempty"`
26 GreaterThan *int32 `json:"GreaterThan,omitempty" xml:"GreaterThan,omitempty"`
27 GreaterThanOrEqual *int32 `json:"GreaterThanOrEqual,omitempty" xml:"GreaterThanOrEqual,omitempty"`
28 LessThan *int32 `json:"LessThan,omitempty" xml:"LessThan,omitempty"`
29 LessThanOrEqual *int32 `json:"LessThanOrEqual,omitempty" xml:"LessThanOrEqual,omitempty"`
30 }
31
32 func (s WafQuotaInteger) String() string {
33 return dara.Prettify(s)
34 }
35
36 func (s WafQuotaInteger) GoString() string {
37 return s.String()
38 }
39
40 func (s *WafQuotaInteger) GetEqual() *int32 {
41 return s.Equal
42 }
43
44 func (s *WafQuotaInteger) GetGreaterThan() *int32 {
45 return s.GreaterThan
46 }
47
48 func (s *WafQuotaInteger) GetGreaterThanOrEqual() *int32 {
49 return s.GreaterThanOrEqual
50 }
51
52 func (s *WafQuotaInteger) GetLessThan() *int32 {
53 return s.LessThan
54 }
55
56 func (s *WafQuotaInteger) GetLessThanOrEqual() *int32 {
57 return s.LessThanOrEqual
58 }
59
60 func (s *WafQuotaInteger) SetEqual(v int32) *WafQuotaInteger {
61 s.Equal = &v
62 return s
63 }
64
65 func (s *WafQuotaInteger) SetGreaterThan(v int32) *WafQuotaInteger {
66 s.GreaterThan = &v
67 return s
68 }
69
70 func (s *WafQuotaInteger) SetGreaterThanOrEqual(v int32) *WafQuotaInteger {
71 s.GreaterThanOrEqual = &v
72 return s
73 }
74
75 func (s *WafQuotaInteger) SetLessThan(v int32) *WafQuotaInteger {
76 s.LessThan = &v
77 return s
78 }
79
80 func (s *WafQuotaInteger) SetLessThanOrEqual(v int32) *WafQuotaInteger {
81 s.LessThanOrEqual = &v
82 return s
83 }
84
85 func (s *WafQuotaInteger) Validate() error {
86 return dara.Validate(s)
87 }
88