v20200720

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 29, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const APIVersion = "2020-07-20"

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	common.Client
}

func NewClient

func NewClient(credential *common.Credential, region string, clientProfile *profile.ClientProfile) (client *Client, err error)

func NewClientWithSecretId

func NewClientWithSecretId(secretId, secretKey, region string) (client *Client, err error)

Deprecated

func (*Client) CreateWeappQRUrl

func (c *Client) CreateWeappQRUrl(request *CreateWeappQRUrlRequest) (response *CreateWeappQRUrlResponse, err error)

创建渠道备案小程序二维码

type CreateWeappQRUrlRequest

type CreateWeappQRUrlRequest struct {
	*tchttp.BaseRequest

	// 代理角色临时密钥的Token
	SessionKey *string `json:"SessionKey,omitempty" name:"SessionKey"`
}

func NewCreateWeappQRUrlRequest

func NewCreateWeappQRUrlRequest() (request *CreateWeappQRUrlRequest)

func (*CreateWeappQRUrlRequest) FromJsonString

func (r *CreateWeappQRUrlRequest) FromJsonString(s string) error

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateWeappQRUrlRequest) ToJsonString

func (r *CreateWeappQRUrlRequest) ToJsonString() string

type CreateWeappQRUrlResponse

type CreateWeappQRUrlResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 渠道备案小程序二维码
		Url *string `json:"Url,omitempty" name:"Url"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateWeappQRUrlResponse

func NewCreateWeappQRUrlResponse() (response *CreateWeappQRUrlResponse)

func (*CreateWeappQRUrlResponse) FromJsonString

func (r *CreateWeappQRUrlResponse) FromJsonString(s string) error

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateWeappQRUrlResponse) ToJsonString

func (r *CreateWeappQRUrlResponse) ToJsonString() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL