waf_quota_string_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 iWafQuotaString interface {
9 dara.Model
10 String() string
11 GoString() string
12 SetRegexp(v string) *WafQuotaString
13 GetRegexp() *string
14 }
15
16 type WafQuotaString struct {
17 Regexp *string `json:"Regexp,omitempty" xml:"Regexp,omitempty"`
18 }
19
20 func (s WafQuotaString) String() string {
21 return dara.Prettify(s)
22 }
23
24 func (s WafQuotaString) GoString() string {
25 return s.String()
26 }
27
28 func (s *WafQuotaString) GetRegexp() *string {
29 return s.Regexp
30 }
31
32 func (s *WafQuotaString) SetRegexp(v string) *WafQuotaString {
33 s.Regexp = &v
34 return s
35 }
36
37 func (s *WafQuotaString) Validate() error {
38 return dara.Validate(s)
39 }
40