delete_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 iDeletePageRequest interface {
9 dara.Model
10 String() string
11 GoString() string
12 SetId(v int64) *DeletePageRequest
13 GetId() *int64
14 }
15
16 type DeletePageRequest 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 // This parameter is required.
20 //
21 // example:
22 //
23 // 50000001
24 Id *int64 `json:"Id,omitempty" xml:"Id,omitempty"`
25 }
26
27 func (s DeletePageRequest) String() string {
28 return dara.Prettify(s)
29 }
30
31 func (s DeletePageRequest) GoString() string {
32 return s.String()
33 }
34
35 func (s *DeletePageRequest) GetId() *int64 {
36 return s.Id
37 }
38
39 func (s *DeletePageRequest) SetId(v int64) *DeletePageRequest {
40 s.Id = &v
41 return s
42 }
43
44 func (s *DeletePageRequest) Validate() error {
45 return dara.Validate(s)
46 }
47