Documentation ¶
Overview ¶
This file is auto-generated, don't edit it. Thanks. *
*
Index ¶
- type Client
- func (client *Client) GetEndpoint(productId *string, regionId *string, endpointRule *string, network *string, ...) (_result *string, _err error)
- func (client *Client) Init(config *openapi.Config) (_err error)
- func (client *Client) TakeAccessToken(request *TakeAccessTokenRequest) (_result *TakeAccessTokenResponse, _err error)
- func (client *Client) TakeAccessTokenWithOptions(request *TakeAccessTokenRequest, headers map[string]*string, ...) (_result *TakeAccessTokenResponse, _err error)
- type TakeAccessTokenRequest
- type TakeAccessTokenResponse
- func (s TakeAccessTokenResponse) GoString() string
- func (s *TakeAccessTokenResponse) SetBody(v *TakeAccessTokenResponseBody) *TakeAccessTokenResponse
- func (s *TakeAccessTokenResponse) SetHeaders(v map[string]*string) *TakeAccessTokenResponse
- func (s *TakeAccessTokenResponse) SetStatusCode(v int32) *TakeAccessTokenResponse
- func (s TakeAccessTokenResponse) String() string
- type TakeAccessTokenResponseBody
- func (s TakeAccessTokenResponseBody) GoString() string
- func (s *TakeAccessTokenResponseBody) SetCode(v string) *TakeAccessTokenResponseBody
- func (s *TakeAccessTokenResponseBody) SetData(v *TakeAccessTokenResponseBodyData) *TakeAccessTokenResponseBody
- func (s *TakeAccessTokenResponseBody) SetMessage(v string) *TakeAccessTokenResponseBody
- func (s *TakeAccessTokenResponseBody) SetRequestId(v string) *TakeAccessTokenResponseBody
- func (s *TakeAccessTokenResponseBody) SetSuccess(v string) *TakeAccessTokenResponseBody
- func (s TakeAccessTokenResponseBody) String() string
- type TakeAccessTokenResponseBodyData
- func (s TakeAccessTokenResponseBodyData) GoString() string
- func (s *TakeAccessTokenResponseBodyData) SetAccessToken(v string) *TakeAccessTokenResponseBodyData
- func (s *TakeAccessTokenResponseBodyData) SetExpire(v int64) *TakeAccessTokenResponseBodyData
- func (s TakeAccessTokenResponseBodyData) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) GetEndpoint ¶
func (*Client) TakeAccessToken ¶
func (client *Client) TakeAccessToken(request *TakeAccessTokenRequest) (_result *TakeAccessTokenResponse, _err error)
func (*Client) TakeAccessTokenWithOptions ¶
func (client *Client) TakeAccessTokenWithOptions(request *TakeAccessTokenRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *TakeAccessTokenResponse, _err error)
type TakeAccessTokenRequest ¶
type TakeAccessTokenRequest struct { AppKey *string `json:"app_key,omitempty" xml:"app_key,omitempty"` AppSecret *string `json:"app_secret,omitempty" xml:"app_secret,omitempty"` }
func (TakeAccessTokenRequest) GoString ¶
func (s TakeAccessTokenRequest) GoString() string
func (*TakeAccessTokenRequest) SetAppKey ¶
func (s *TakeAccessTokenRequest) SetAppKey(v string) *TakeAccessTokenRequest
func (*TakeAccessTokenRequest) SetAppSecret ¶
func (s *TakeAccessTokenRequest) SetAppSecret(v string) *TakeAccessTokenRequest
func (TakeAccessTokenRequest) String ¶
func (s TakeAccessTokenRequest) String() string
type TakeAccessTokenResponse ¶
type TakeAccessTokenResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` Body *TakeAccessTokenResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` }
func (TakeAccessTokenResponse) GoString ¶
func (s TakeAccessTokenResponse) GoString() string
func (*TakeAccessTokenResponse) SetBody ¶
func (s *TakeAccessTokenResponse) SetBody(v *TakeAccessTokenResponseBody) *TakeAccessTokenResponse
func (*TakeAccessTokenResponse) SetHeaders ¶
func (s *TakeAccessTokenResponse) SetHeaders(v map[string]*string) *TakeAccessTokenResponse
func (*TakeAccessTokenResponse) SetStatusCode ¶
func (s *TakeAccessTokenResponse) SetStatusCode(v int32) *TakeAccessTokenResponse
func (TakeAccessTokenResponse) String ¶
func (s TakeAccessTokenResponse) String() string
type TakeAccessTokenResponseBody ¶
type TakeAccessTokenResponseBody struct { Code *string `json:"code,omitempty" xml:"code,omitempty"` Data *TakeAccessTokenResponseBodyData `json:"data,omitempty" xml:"data,omitempty" type:"Struct"` Message *string `json:"message,omitempty" xml:"message,omitempty"` // Id of the request RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"` Success *string `json:"success,omitempty" xml:"success,omitempty"` }
func (TakeAccessTokenResponseBody) GoString ¶
func (s TakeAccessTokenResponseBody) GoString() string
func (*TakeAccessTokenResponseBody) SetCode ¶
func (s *TakeAccessTokenResponseBody) SetCode(v string) *TakeAccessTokenResponseBody
func (*TakeAccessTokenResponseBody) SetData ¶
func (s *TakeAccessTokenResponseBody) SetData(v *TakeAccessTokenResponseBodyData) *TakeAccessTokenResponseBody
func (*TakeAccessTokenResponseBody) SetMessage ¶
func (s *TakeAccessTokenResponseBody) SetMessage(v string) *TakeAccessTokenResponseBody
func (*TakeAccessTokenResponseBody) SetRequestId ¶
func (s *TakeAccessTokenResponseBody) SetRequestId(v string) *TakeAccessTokenResponseBody
func (*TakeAccessTokenResponseBody) SetSuccess ¶
func (s *TakeAccessTokenResponseBody) SetSuccess(v string) *TakeAccessTokenResponseBody
func (TakeAccessTokenResponseBody) String ¶
func (s TakeAccessTokenResponseBody) String() string
type TakeAccessTokenResponseBodyData ¶
type TakeAccessTokenResponseBodyData struct { AccessToken *string `json:"access_token,omitempty" xml:"access_token,omitempty"` Expire *int64 `json:"expire,omitempty" xml:"expire,omitempty"` }
func (TakeAccessTokenResponseBodyData) GoString ¶
func (s TakeAccessTokenResponseBodyData) GoString() string
func (*TakeAccessTokenResponseBodyData) SetAccessToken ¶
func (s *TakeAccessTokenResponseBodyData) SetAccessToken(v string) *TakeAccessTokenResponseBodyData
func (*TakeAccessTokenResponseBodyData) SetExpire ¶
func (s *TakeAccessTokenResponseBodyData) SetExpire(v int64) *TakeAccessTokenResponseBodyData
func (TakeAccessTokenResponseBodyData) String ¶
func (s TakeAccessTokenResponseBodyData) String() string
Click to show internal directories.
Click to hide internal directories.