get_page_request_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 iGetPageRequest interface {
9 dara.Model
10 String() string
11 GoString() string
12 SetId(v int64) *GetPageRequest
13 GetId() *int64
14 }
15
16 type GetPageRequest struct {
17 // The ID of the custom error page, which can be obtained by calling the [ListPages](https://help.aliyun.com/document_detail/2850223.html) operation.
18 //
19 // example:
20 //
21 // 50000001
22 Id *int64 `json:"Id,omitempty" xml:"Id,omitempty"`
23 }
24
25 func (s GetPageRequest) String() string {
26 return dara.Prettify(s)
27 }
28
29 func (s GetPageRequest) GoString() string {
30 return s.String()
31 }
32
33 func (s *GetPageRequest) GetId() *int64 {
34 return s.Id
35 }
36
37 func (s *GetPageRequest) SetId(v int64) *GetPageRequest {
38 s.Id = &v
39 return s
40 }
41
42 func (s *GetPageRequest) Validate() error {
43 return dara.Validate(s)
44 }
45