get_site_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 iGetSiteRequest interface {
9 dara.Model
10 String() string
11 GoString() string
12 SetSiteId(v int64) *GetSiteRequest
13 GetSiteId() *int64
14 }
15
16 type GetSiteRequest struct {
17 // The website ID, which can be obtained by calling the [ListSites](https://help.aliyun.com/document_detail/2850189.html) operation.
18 //
19 // This parameter is required.
20 //
21 // example:
22 //
23 // 1234567890123
24 SiteId *int64 `json:"SiteId,omitempty" xml:"SiteId,omitempty"`
25 }
26
27 func (s GetSiteRequest) String() string {
28 return dara.Prettify(s)
29 }
30
31 func (s GetSiteRequest) GoString() string {
32 return s.String()
33 }
34
35 func (s *GetSiteRequest) GetSiteId() *int64 {
36 return s.SiteId
37 }
38
39 func (s *GetSiteRequest) SetSiteId(v int64) *GetSiteRequest {
40 s.SiteId = &v
41 return s
42 }
43
44 func (s *GetSiteRequest) Validate() error {
45 return dara.Validate(s)
46 }
47