dysmsapi

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EndpointMap map[string]string

EndpointMap Endpoint Data

View Source
var EndpointType = "central"

EndpointType regional or central

Functions

func GetEndpointMap

func GetEndpointMap() map[string]string

GetEndpointMap Get Endpoint Data Map

func GetEndpointType

func GetEndpointType() string

GetEndpointType Get Endpoint Type Value

func SetClientProperty

func SetClientProperty(client *Client, propertyName string, propertyValue interface{})

SetClientProperty Set Property by Reflect

func SetEndpointDataToClient

func SetEndpointDataToClient(client *Client)

SetEndpointDataToClient Set EndpointMap and ENdpointType

Types

type AddShortUrlRequest

type AddShortUrlRequest struct {
	*requests.RpcRequest
	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
	ShortUrlName         string           `position:"Body" name:"ShortUrlName"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	EffectiveDays        string           `position:"Body" name:"EffectiveDays"`
	ProdCode             string           `position:"Body" name:"ProdCode"`
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
	SourceUrl            string           `position:"Body" name:"SourceUrl"`
}

AddShortUrlRequest is the request struct for api AddShortUrl

func CreateAddShortUrlRequest

func CreateAddShortUrlRequest() (request *AddShortUrlRequest)

CreateAddShortUrlRequest creates a request to invoke AddShortUrl API

type AddShortUrlResponse

type AddShortUrlResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Code      string `json:"Code" xml:"Code"`
	Message   string `json:"Message" xml:"Message"`
	Data      Data   `json:"Data" xml:"Data"`
}

AddShortUrlResponse is the response struct for api AddShortUrl

func CreateAddShortUrlResponse

func CreateAddShortUrlResponse() (response *AddShortUrlResponse)

CreateAddShortUrlResponse creates a response to parse from AddShortUrl response

type AddSmsSignRequest

type AddSmsSignRequest struct {
	*requests.RpcRequest
	ResourceOwnerId      requests.Integer          `position:"Query" name:"ResourceOwnerId"`
	Remark               string                    `position:"Query" name:"Remark"`
	SignName             string                    `position:"Query" name:"SignName"`
	SignFileList         *[]AddSmsSignSignFileList `position:"Body" name:"SignFileList"  type:"Repeated"`
	ResourceOwnerAccount string                    `position:"Query" name:"ResourceOwnerAccount"`
	OwnerId              requests.Integer          `position:"Query" name:"OwnerId"`
	SignSource           requests.Integer          `position:"Query" name:"SignSource"`
}

AddSmsSignRequest is the request struct for api AddSmsSign

func CreateAddSmsSignRequest

func CreateAddSmsSignRequest() (request *AddSmsSignRequest)

CreateAddSmsSignRequest creates a request to invoke AddSmsSign API

type AddSmsSignResponse

type AddSmsSignResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	SignName  string `json:"SignName" xml:"SignName"`
	Code      string `json:"Code" xml:"Code"`
	Message   string `json:"Message" xml:"Message"`
}

AddSmsSignResponse is the response struct for api AddSmsSign

func CreateAddSmsSignResponse

func CreateAddSmsSignResponse() (response *AddSmsSignResponse)

CreateAddSmsSignResponse creates a response to parse from AddSmsSign response

type AddSmsSignSignFileList

type AddSmsSignSignFileList struct {
	FileContents string `name:"FileContents"`
	FileSuffix   string `name:"FileSuffix"`
}

AddSmsSignSignFileList is a repeated param struct in AddSmsSignRequest

type AddSmsTemplateRequest

type AddSmsTemplateRequest struct {
	*requests.RpcRequest
	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
	Remark               string           `position:"Query" name:"Remark"`
	TemplateType         requests.Integer `position:"Query" name:"TemplateType"`
	TemplateName         string           `position:"Query" name:"TemplateName"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
	TemplateContent      string           `position:"Query" name:"TemplateContent"`
}

AddSmsTemplateRequest is the request struct for api AddSmsTemplate

func CreateAddSmsTemplateRequest

func CreateAddSmsTemplateRequest() (request *AddSmsTemplateRequest)

CreateAddSmsTemplateRequest creates a request to invoke AddSmsTemplate API

type AddSmsTemplateResponse

type AddSmsTemplateResponse struct {
	*responses.BaseResponse
	RequestId    string `json:"RequestId" xml:"RequestId"`
	TemplateCode string `json:"TemplateCode" xml:"TemplateCode"`
	Code         string `json:"Code" xml:"Code"`
	Message      string `json:"Message" xml:"Message"`
}

AddSmsTemplateResponse is the response struct for api AddSmsTemplate

func CreateAddSmsTemplateResponse

func CreateAddSmsTemplateResponse() (response *AddSmsTemplateResponse)

CreateAddSmsTemplateResponse creates a response to parse from AddSmsTemplate response

type Client

type Client struct {
	sdk.Client
}

Client is the sdk client struct, each func corresponds to an OpenAPI

func NewClient

func NewClient() (client *Client, err error)

NewClient creates a sdk client with environment variables

func NewClientWithAccessKey

func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)

NewClientWithAccessKey is a shortcut to create sdk client with accesskey usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithEcsRamRole

func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)

NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithOptions

func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)

NewClientWithOptions creates a sdk client with regionId/sdkConfig/credential this is the common api to create a sdk client

func NewClientWithProvider

func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)

NewClientWithProvider creates a sdk client with providers usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithRamRoleArn

func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)

NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithRamRoleArnAndPolicy

func NewClientWithRamRoleArnAndPolicy(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy string) (client *Client, err error)

NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn and policy usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithRsaKeyPair

func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)

NewClientWithRsaKeyPair is a shortcut to create sdk client with rsa key pair usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithStsToken

func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)

NewClientWithStsToken is a shortcut to create sdk client with sts token usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func (*Client) AddShortUrl

func (client *Client) AddShortUrl(request *AddShortUrlRequest) (response *AddShortUrlResponse, err error)

AddShortUrl invokes the dysmsapi.AddShortUrl API synchronously

func (*Client) AddShortUrlWithCallback

func (client *Client) AddShortUrlWithCallback(request *AddShortUrlRequest, callback func(response *AddShortUrlResponse, err error)) <-chan int

AddShortUrlWithCallback invokes the dysmsapi.AddShortUrl API asynchronously

func (*Client) AddShortUrlWithChan

func (client *Client) AddShortUrlWithChan(request *AddShortUrlRequest) (<-chan *AddShortUrlResponse, <-chan error)

AddShortUrlWithChan invokes the dysmsapi.AddShortUrl API asynchronously

func (*Client) AddSmsSign

func (client *Client) AddSmsSign(request *AddSmsSignRequest) (response *AddSmsSignResponse, err error)

AddSmsSign invokes the dysmsapi.AddSmsSign API synchronously

func (*Client) AddSmsSignWithCallback

func (client *Client) AddSmsSignWithCallback(request *AddSmsSignRequest, callback func(response *AddSmsSignResponse, err error)) <-chan int

AddSmsSignWithCallback invokes the dysmsapi.AddSmsSign API asynchronously

func (*Client) AddSmsSignWithChan

func (client *Client) AddSmsSignWithChan(request *AddSmsSignRequest) (<-chan *AddSmsSignResponse, <-chan error)

AddSmsSignWithChan invokes the dysmsapi.AddSmsSign API asynchronously

func (*Client) AddSmsTemplate

func (client *Client) AddSmsTemplate(request *AddSmsTemplateRequest) (response *AddSmsTemplateResponse, err error)

AddSmsTemplate invokes the dysmsapi.AddSmsTemplate API synchronously

func (*Client) AddSmsTemplateWithCallback

func (client *Client) AddSmsTemplateWithCallback(request *AddSmsTemplateRequest, callback func(response *AddSmsTemplateResponse, err error)) <-chan int

AddSmsTemplateWithCallback invokes the dysmsapi.AddSmsTemplate API asynchronously

func (*Client) AddSmsTemplateWithChan

func (client *Client) AddSmsTemplateWithChan(request *AddSmsTemplateRequest) (<-chan *AddSmsTemplateResponse, <-chan error)

AddSmsTemplateWithChan invokes the dysmsapi.AddSmsTemplate API asynchronously

func (*Client) DeleteShortUrl

func (client *Client) DeleteShortUrl(request *DeleteShortUrlRequest) (response *DeleteShortUrlResponse, err error)

DeleteShortUrl invokes the dysmsapi.DeleteShortUrl API synchronously

func (*Client) DeleteShortUrlWithCallback

func (client *Client) DeleteShortUrlWithCallback(request *DeleteShortUrlRequest, callback func(response *DeleteShortUrlResponse, err error)) <-chan int

DeleteShortUrlWithCallback invokes the dysmsapi.DeleteShortUrl API asynchronously

func (*Client) DeleteShortUrlWithChan

func (client *Client) DeleteShortUrlWithChan(request *DeleteShortUrlRequest) (<-chan *DeleteShortUrlResponse, <-chan error)

DeleteShortUrlWithChan invokes the dysmsapi.DeleteShortUrl API asynchronously

func (*Client) DeleteSmsSign

func (client *Client) DeleteSmsSign(request *DeleteSmsSignRequest) (response *DeleteSmsSignResponse, err error)

DeleteSmsSign invokes the dysmsapi.DeleteSmsSign API synchronously

func (*Client) DeleteSmsSignWithCallback

func (client *Client) DeleteSmsSignWithCallback(request *DeleteSmsSignRequest, callback func(response *DeleteSmsSignResponse, err error)) <-chan int

DeleteSmsSignWithCallback invokes the dysmsapi.DeleteSmsSign API asynchronously

func (*Client) DeleteSmsSignWithChan

func (client *Client) DeleteSmsSignWithChan(request *DeleteSmsSignRequest) (<-chan *DeleteSmsSignResponse, <-chan error)

DeleteSmsSignWithChan invokes the dysmsapi.DeleteSmsSign API asynchronously

func (*Client) DeleteSmsTemplate

func (client *Client) DeleteSmsTemplate(request *DeleteSmsTemplateRequest) (response *DeleteSmsTemplateResponse, err error)

DeleteSmsTemplate invokes the dysmsapi.DeleteSmsTemplate API synchronously

func (*Client) DeleteSmsTemplateWithCallback

func (client *Client) DeleteSmsTemplateWithCallback(request *DeleteSmsTemplateRequest, callback func(response *DeleteSmsTemplateResponse, err error)) <-chan int

DeleteSmsTemplateWithCallback invokes the dysmsapi.DeleteSmsTemplate API asynchronously

func (*Client) DeleteSmsTemplateWithChan

func (client *Client) DeleteSmsTemplateWithChan(request *DeleteSmsTemplateRequest) (<-chan *DeleteSmsTemplateResponse, <-chan error)

DeleteSmsTemplateWithChan invokes the dysmsapi.DeleteSmsTemplate API asynchronously

func (*Client) ListTagResources

func (client *Client) ListTagResources(request *ListTagResourcesRequest) (response *ListTagResourcesResponse, err error)

ListTagResources invokes the dysmsapi.ListTagResources API synchronously

func (*Client) ListTagResourcesWithCallback

func (client *Client) ListTagResourcesWithCallback(request *ListTagResourcesRequest, callback func(response *ListTagResourcesResponse, err error)) <-chan int

ListTagResourcesWithCallback invokes the dysmsapi.ListTagResources API asynchronously

func (*Client) ListTagResourcesWithChan

func (client *Client) ListTagResourcesWithChan(request *ListTagResourcesRequest) (<-chan *ListTagResourcesResponse, <-chan error)

ListTagResourcesWithChan invokes the dysmsapi.ListTagResources API asynchronously

func (*Client) ModifySmsSign

func (client *Client) ModifySmsSign(request *ModifySmsSignRequest) (response *ModifySmsSignResponse, err error)

ModifySmsSign invokes the dysmsapi.ModifySmsSign API synchronously

func (*Client) ModifySmsSignWithCallback

func (client *Client) ModifySmsSignWithCallback(request *ModifySmsSignRequest, callback func(response *ModifySmsSignResponse, err error)) <-chan int

ModifySmsSignWithCallback invokes the dysmsapi.ModifySmsSign API asynchronously

func (*Client) ModifySmsSignWithChan

func (client *Client) ModifySmsSignWithChan(request *ModifySmsSignRequest) (<-chan *ModifySmsSignResponse, <-chan error)

ModifySmsSignWithChan invokes the dysmsapi.ModifySmsSign API asynchronously

func (*Client) ModifySmsTemplate

func (client *Client) ModifySmsTemplate(request *ModifySmsTemplateRequest) (response *ModifySmsTemplateResponse, err error)

ModifySmsTemplate invokes the dysmsapi.ModifySmsTemplate API synchronously

func (*Client) ModifySmsTemplateWithCallback

func (client *Client) ModifySmsTemplateWithCallback(request *ModifySmsTemplateRequest, callback func(response *ModifySmsTemplateResponse, err error)) <-chan int

ModifySmsTemplateWithCallback invokes the dysmsapi.ModifySmsTemplate API asynchronously

func (*Client) ModifySmsTemplateWithChan

func (client *Client) ModifySmsTemplateWithChan(request *ModifySmsTemplateRequest) (<-chan *ModifySmsTemplateResponse, <-chan error)

ModifySmsTemplateWithChan invokes the dysmsapi.ModifySmsTemplate API asynchronously

func (*Client) QuerySendDetails

func (client *Client) QuerySendDetails(request *QuerySendDetailsRequest) (response *QuerySendDetailsResponse, err error)

QuerySendDetails invokes the dysmsapi.QuerySendDetails API synchronously

func (*Client) QuerySendDetailsWithCallback

func (client *Client) QuerySendDetailsWithCallback(request *QuerySendDetailsRequest, callback func(response *QuerySendDetailsResponse, err error)) <-chan int

QuerySendDetailsWithCallback invokes the dysmsapi.QuerySendDetails API asynchronously

func (*Client) QuerySendDetailsWithChan

func (client *Client) QuerySendDetailsWithChan(request *QuerySendDetailsRequest) (<-chan *QuerySendDetailsResponse, <-chan error)

QuerySendDetailsWithChan invokes the dysmsapi.QuerySendDetails API asynchronously

func (*Client) QuerySendStatistics

func (client *Client) QuerySendStatistics(request *QuerySendStatisticsRequest) (response *QuerySendStatisticsResponse, err error)

QuerySendStatistics invokes the dysmsapi.QuerySendStatistics API synchronously

func (*Client) QuerySendStatisticsWithCallback

func (client *Client) QuerySendStatisticsWithCallback(request *QuerySendStatisticsRequest, callback func(response *QuerySendStatisticsResponse, err error)) <-chan int

QuerySendStatisticsWithCallback invokes the dysmsapi.QuerySendStatistics API asynchronously

func (*Client) QuerySendStatisticsWithChan

func (client *Client) QuerySendStatisticsWithChan(request *QuerySendStatisticsRequest) (<-chan *QuerySendStatisticsResponse, <-chan error)

QuerySendStatisticsWithChan invokes the dysmsapi.QuerySendStatistics API asynchronously

func (*Client) QueryShortUrl

func (client *Client) QueryShortUrl(request *QueryShortUrlRequest) (response *QueryShortUrlResponse, err error)

QueryShortUrl invokes the dysmsapi.QueryShortUrl API synchronously

func (*Client) QueryShortUrlWithCallback

func (client *Client) QueryShortUrlWithCallback(request *QueryShortUrlRequest, callback func(response *QueryShortUrlResponse, err error)) <-chan int

QueryShortUrlWithCallback invokes the dysmsapi.QueryShortUrl API asynchronously

func (*Client) QueryShortUrlWithChan

func (client *Client) QueryShortUrlWithChan(request *QueryShortUrlRequest) (<-chan *QueryShortUrlResponse, <-chan error)

QueryShortUrlWithChan invokes the dysmsapi.QueryShortUrl API asynchronously

func (*Client) QuerySmsSign

func (client *Client) QuerySmsSign(request *QuerySmsSignRequest) (response *QuerySmsSignResponse, err error)

QuerySmsSign invokes the dysmsapi.QuerySmsSign API synchronously

func (*Client) QuerySmsSignList

func (client *Client) QuerySmsSignList(request *QuerySmsSignListRequest) (response *QuerySmsSignListResponse, err error)

QuerySmsSignList invokes the dysmsapi.QuerySmsSignList API synchronously

func (*Client) QuerySmsSignListWithCallback

func (client *Client) QuerySmsSignListWithCallback(request *QuerySmsSignListRequest, callback func(response *QuerySmsSignListResponse, err error)) <-chan int

QuerySmsSignListWithCallback invokes the dysmsapi.QuerySmsSignList API asynchronously

func (*Client) QuerySmsSignListWithChan

func (client *Client) QuerySmsSignListWithChan(request *QuerySmsSignListRequest) (<-chan *QuerySmsSignListResponse, <-chan error)

QuerySmsSignListWithChan invokes the dysmsapi.QuerySmsSignList API asynchronously

func (*Client) QuerySmsSignWithCallback

func (client *Client) QuerySmsSignWithCallback(request *QuerySmsSignRequest, callback func(response *QuerySmsSignResponse, err error)) <-chan int

QuerySmsSignWithCallback invokes the dysmsapi.QuerySmsSign API asynchronously

func (*Client) QuerySmsSignWithChan

func (client *Client) QuerySmsSignWithChan(request *QuerySmsSignRequest) (<-chan *QuerySmsSignResponse, <-chan error)

QuerySmsSignWithChan invokes the dysmsapi.QuerySmsSign API asynchronously

func (*Client) QuerySmsTemplate

func (client *Client) QuerySmsTemplate(request *QuerySmsTemplateRequest) (response *QuerySmsTemplateResponse, err error)

QuerySmsTemplate invokes the dysmsapi.QuerySmsTemplate API synchronously

func (*Client) QuerySmsTemplateList

func (client *Client) QuerySmsTemplateList(request *QuerySmsTemplateListRequest) (response *QuerySmsTemplateListResponse, err error)

QuerySmsTemplateList invokes the dysmsapi.QuerySmsTemplateList API synchronously

func (*Client) QuerySmsTemplateListWithCallback

func (client *Client) QuerySmsTemplateListWithCallback(request *QuerySmsTemplateListRequest, callback func(response *QuerySmsTemplateListResponse, err error)) <-chan int

QuerySmsTemplateListWithCallback invokes the dysmsapi.QuerySmsTemplateList API asynchronously

func (*Client) QuerySmsTemplateListWithChan

func (client *Client) QuerySmsTemplateListWithChan(request *QuerySmsTemplateListRequest) (<-chan *QuerySmsTemplateListResponse, <-chan error)

QuerySmsTemplateListWithChan invokes the dysmsapi.QuerySmsTemplateList API asynchronously

func (*Client) QuerySmsTemplateWithCallback

func (client *Client) QuerySmsTemplateWithCallback(request *QuerySmsTemplateRequest, callback func(response *QuerySmsTemplateResponse, err error)) <-chan int

QuerySmsTemplateWithCallback invokes the dysmsapi.QuerySmsTemplate API asynchronously

func (*Client) QuerySmsTemplateWithChan

func (client *Client) QuerySmsTemplateWithChan(request *QuerySmsTemplateRequest) (<-chan *QuerySmsTemplateResponse, <-chan error)

QuerySmsTemplateWithChan invokes the dysmsapi.QuerySmsTemplate API asynchronously

func (*Client) SendBatchSms

func (client *Client) SendBatchSms(request *SendBatchSmsRequest) (response *SendBatchSmsResponse, err error)

SendBatchSms invokes the dysmsapi.SendBatchSms API synchronously

func (*Client) SendBatchSmsWithCallback

func (client *Client) SendBatchSmsWithCallback(request *SendBatchSmsRequest, callback func(response *SendBatchSmsResponse, err error)) <-chan int

SendBatchSmsWithCallback invokes the dysmsapi.SendBatchSms API asynchronously

func (*Client) SendBatchSmsWithChan

func (client *Client) SendBatchSmsWithChan(request *SendBatchSmsRequest) (<-chan *SendBatchSmsResponse, <-chan error)

SendBatchSmsWithChan invokes the dysmsapi.SendBatchSms API asynchronously

func (*Client) SendSms

func (client *Client) SendSms(request *SendSmsRequest) (response *SendSmsResponse, err error)

SendSms invokes the dysmsapi.SendSms API synchronously

func (*Client) SendSmsWithCallback

func (client *Client) SendSmsWithCallback(request *SendSmsRequest, callback func(response *SendSmsResponse, err error)) <-chan int

SendSmsWithCallback invokes the dysmsapi.SendSms API asynchronously

func (*Client) SendSmsWithChan

func (client *Client) SendSmsWithChan(request *SendSmsRequest) (<-chan *SendSmsResponse, <-chan error)

SendSmsWithChan invokes the dysmsapi.SendSms API asynchronously

func (*Client) TagResources

func (client *Client) TagResources(request *TagResourcesRequest) (response *TagResourcesResponse, err error)

TagResources invokes the dysmsapi.TagResources API synchronously

func (*Client) TagResourcesWithCallback

func (client *Client) TagResourcesWithCallback(request *TagResourcesRequest, callback func(response *TagResourcesResponse, err error)) <-chan int

TagResourcesWithCallback invokes the dysmsapi.TagResources API asynchronously

func (*Client) TagResourcesWithChan

func (client *Client) TagResourcesWithChan(request *TagResourcesRequest) (<-chan *TagResourcesResponse, <-chan error)

TagResourcesWithChan invokes the dysmsapi.TagResources API asynchronously

func (*Client) UntagResources

func (client *Client) UntagResources(request *UntagResourcesRequest) (response *UntagResourcesResponse, err error)

UntagResources invokes the dysmsapi.UntagResources API synchronously

func (*Client) UntagResourcesWithCallback

func (client *Client) UntagResourcesWithCallback(request *UntagResourcesRequest, callback func(response *UntagResourcesResponse, err error)) <-chan int

UntagResourcesWithCallback invokes the dysmsapi.UntagResources API asynchronously

func (*Client) UntagResourcesWithChan

func (client *Client) UntagResourcesWithChan(request *UntagResourcesRequest) (<-chan *UntagResourcesResponse, <-chan error)

UntagResourcesWithChan invokes the dysmsapi.UntagResources API asynchronously

type Data

type Data struct {
	CreateDate         string             `json:"CreateDate" xml:"CreateDate"`
	PageViewCount      string             `json:"PageViewCount" xml:"PageViewCount"`
	ShortUrlStatus     string             `json:"ShortUrlStatus" xml:"ShortUrlStatus"`
	ShortUrl           string             `json:"ShortUrl" xml:"ShortUrl"`
	UniqueVisitorCount string             `json:"UniqueVisitorCount" xml:"UniqueVisitorCount"`
	ExpireDate         string             `json:"ExpireDate" xml:"ExpireDate"`
	ShortUrlName       string             `json:"ShortUrlName" xml:"ShortUrlName"`
	SourceUrl          string             `json:"SourceUrl" xml:"SourceUrl"`
	TotalSize          int64              `json:"TotalSize" xml:"TotalSize"`
	TargetList         []SmsStatisticsDTO `json:"TargetList" xml:"TargetList"`
}

Data is a nested struct in dysmsapi response

type DeleteShortUrlRequest

type DeleteShortUrlRequest struct {
	*requests.RpcRequest
	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	ProdCode             string           `position:"Body" name:"ProdCode"`
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
	SourceUrl            string           `position:"Body" name:"SourceUrl"`
}

DeleteShortUrlRequest is the request struct for api DeleteShortUrl

func CreateDeleteShortUrlRequest

func CreateDeleteShortUrlRequest() (request *DeleteShortUrlRequest)

CreateDeleteShortUrlRequest creates a request to invoke DeleteShortUrl API

type DeleteShortUrlResponse

type DeleteShortUrlResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Code      string `json:"Code" xml:"Code"`
	Message   string `json:"Message" xml:"Message"`
}

DeleteShortUrlResponse is the response struct for api DeleteShortUrl

func CreateDeleteShortUrlResponse

func CreateDeleteShortUrlResponse() (response *DeleteShortUrlResponse)

CreateDeleteShortUrlResponse creates a response to parse from DeleteShortUrl response

type DeleteSmsSignRequest

type DeleteSmsSignRequest struct {
	*requests.RpcRequest
	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
	SignName             string           `position:"Query" name:"SignName"`
}

DeleteSmsSignRequest is the request struct for api DeleteSmsSign

func CreateDeleteSmsSignRequest

func CreateDeleteSmsSignRequest() (request *DeleteSmsSignRequest)

CreateDeleteSmsSignRequest creates a request to invoke DeleteSmsSign API

type DeleteSmsSignResponse

type DeleteSmsSignResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	SignName  string `json:"SignName" xml:"SignName"`
	Code      string `json:"Code" xml:"Code"`
	Message   string `json:"Message" xml:"Message"`
}

DeleteSmsSignResponse is the response struct for api DeleteSmsSign

func CreateDeleteSmsSignResponse

func CreateDeleteSmsSignResponse() (response *DeleteSmsSignResponse)

CreateDeleteSmsSignResponse creates a response to parse from DeleteSmsSign response

type DeleteSmsTemplateRequest

type DeleteSmsTemplateRequest struct {
	*requests.RpcRequest
	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
	TemplateCode         string           `position:"Query" name:"TemplateCode"`
}

DeleteSmsTemplateRequest is the request struct for api DeleteSmsTemplate

func CreateDeleteSmsTemplateRequest

func CreateDeleteSmsTemplateRequest() (request *DeleteSmsTemplateRequest)

CreateDeleteSmsTemplateRequest creates a request to invoke DeleteSmsTemplate API

type DeleteSmsTemplateResponse

type DeleteSmsTemplateResponse struct {
	*responses.BaseResponse
	RequestId    string `json:"RequestId" xml:"RequestId"`
	TemplateCode string `json:"TemplateCode" xml:"TemplateCode"`
	Code         string `json:"Code" xml:"Code"`
	Message      string `json:"Message" xml:"Message"`
}

DeleteSmsTemplateResponse is the response struct for api DeleteSmsTemplate

func CreateDeleteSmsTemplateResponse

func CreateDeleteSmsTemplateResponse() (response *DeleteSmsTemplateResponse)

CreateDeleteSmsTemplateResponse creates a response to parse from DeleteSmsTemplate response

type ListTagResourcesRequest

type ListTagResourcesRequest struct {
	*requests.RpcRequest
	ResourceOwnerId      requests.Integer       `position:"Query" name:"ResourceOwnerId"`
	NextToken            string                 `position:"Query" name:"NextToken"`
	PageSize             requests.Integer       `position:"Query" name:"PageSize"`
	Tag                  *[]ListTagResourcesTag `position:"Query" name:"Tag"  type:"Repeated"`
	ResourceId           *[]string              `position:"Query" name:"ResourceId"  type:"Repeated"`
	ResourceOwnerAccount string                 `position:"Query" name:"ResourceOwnerAccount"`
	ProdCode             string                 `position:"Query" name:"ProdCode"`
	OwnerId              requests.Integer       `position:"Query" name:"OwnerId"`
	ResourceType         string                 `position:"Query" name:"ResourceType"`
}

ListTagResourcesRequest is the request struct for api ListTagResources

func CreateListTagResourcesRequest

func CreateListTagResourcesRequest() (request *ListTagResourcesRequest)

CreateListTagResourcesRequest creates a request to invoke ListTagResources API

type ListTagResourcesResponse

type ListTagResourcesResponse struct {
	*responses.BaseResponse
	Code         string       `json:"Code" xml:"Code"`
	NextToken    string       `json:"NextToken" xml:"NextToken"`
	RequestId    string       `json:"RequestId" xml:"RequestId"`
	TagResources TagResources `json:"TagResources" xml:"TagResources"`
}

ListTagResourcesResponse is the response struct for api ListTagResources

func CreateListTagResourcesResponse

func CreateListTagResourcesResponse() (response *ListTagResourcesResponse)

CreateListTagResourcesResponse creates a response to parse from ListTagResources response

type ListTagResourcesTag

type ListTagResourcesTag struct {
	Value string `name:"Value"`
	Key   string `name:"Key"`
}

ListTagResourcesTag is a repeated param struct in ListTagResourcesRequest

type ModifySmsSignRequest

type ModifySmsSignRequest struct {
	*requests.RpcRequest
	ResourceOwnerId      requests.Integer             `position:"Query" name:"ResourceOwnerId"`
	Remark               string                       `position:"Query" name:"Remark"`
	SignName             string                       `position:"Query" name:"SignName"`
	SignFileList         *[]ModifySmsSignSignFileList `position:"Body" name:"SignFileList"  type:"Repeated"`
	ResourceOwnerAccount string                       `position:"Query" name:"ResourceOwnerAccount"`
	OwnerId              requests.Integer             `position:"Query" name:"OwnerId"`
	SignSource           requests.Integer             `position:"Query" name:"SignSource"`
}

ModifySmsSignRequest is the request struct for api ModifySmsSign

func CreateModifySmsSignRequest

func CreateModifySmsSignRequest() (request *ModifySmsSignRequest)

CreateModifySmsSignRequest creates a request to invoke ModifySmsSign API

type ModifySmsSignResponse

type ModifySmsSignResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	SignName  string `json:"SignName" xml:"SignName"`
	Code      string `json:"Code" xml:"Code"`
	Message   string `json:"Message" xml:"Message"`
}

ModifySmsSignResponse is the response struct for api ModifySmsSign

func CreateModifySmsSignResponse

func CreateModifySmsSignResponse() (response *ModifySmsSignResponse)

CreateModifySmsSignResponse creates a response to parse from ModifySmsSign response

type ModifySmsSignSignFileList

type ModifySmsSignSignFileList struct {
	FileContents string `name:"FileContents"`
	FileSuffix   string `name:"FileSuffix"`
}

ModifySmsSignSignFileList is a repeated param struct in ModifySmsSignRequest

type ModifySmsTemplateRequest

type ModifySmsTemplateRequest struct {
	*requests.RpcRequest
	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
	Remark               string           `position:"Query" name:"Remark"`
	TemplateType         requests.Integer `position:"Query" name:"TemplateType"`
	TemplateName         string           `position:"Query" name:"TemplateName"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
	TemplateContent      string           `position:"Query" name:"TemplateContent"`
	TemplateCode         string           `position:"Query" name:"TemplateCode"`
}

ModifySmsTemplateRequest is the request struct for api ModifySmsTemplate

func CreateModifySmsTemplateRequest

func CreateModifySmsTemplateRequest() (request *ModifySmsTemplateRequest)

CreateModifySmsTemplateRequest creates a request to invoke ModifySmsTemplate API

type ModifySmsTemplateResponse

type ModifySmsTemplateResponse struct {
	*responses.BaseResponse
	RequestId    string `json:"RequestId" xml:"RequestId"`
	TemplateCode string `json:"TemplateCode" xml:"TemplateCode"`
	Code         string `json:"Code" xml:"Code"`
	Message      string `json:"Message" xml:"Message"`
}

ModifySmsTemplateResponse is the response struct for api ModifySmsTemplate

func CreateModifySmsTemplateResponse

func CreateModifySmsTemplateResponse() (response *ModifySmsTemplateResponse)

CreateModifySmsTemplateResponse creates a response to parse from ModifySmsTemplate response

type QuerySendDetailsRequest

type QuerySendDetailsRequest struct {
	*requests.RpcRequest
	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
	PhoneNumber          string           `position:"Query" name:"PhoneNumber"`
	SendDate             string           `position:"Query" name:"SendDate"`
	PageSize             requests.Integer `position:"Query" name:"PageSize"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	CurrentPage          requests.Integer `position:"Query" name:"CurrentPage"`
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
	BizId                string           `position:"Query" name:"BizId"`
}

QuerySendDetailsRequest is the request struct for api QuerySendDetails

func CreateQuerySendDetailsRequest

func CreateQuerySendDetailsRequest() (request *QuerySendDetailsRequest)

CreateQuerySendDetailsRequest creates a request to invoke QuerySendDetails API

type QuerySendDetailsResponse

type QuerySendDetailsResponse struct {
	*responses.BaseResponse
	RequestId         string            `json:"RequestId" xml:"RequestId"`
	Code              string            `json:"Code" xml:"Code"`
	Message           string            `json:"Message" xml:"Message"`
	TotalCount        string            `json:"TotalCount" xml:"TotalCount"`
	SmsSendDetailDTOs SmsSendDetailDTOs `json:"SmsSendDetailDTOs" xml:"SmsSendDetailDTOs"`
}

QuerySendDetailsResponse is the response struct for api QuerySendDetails

func CreateQuerySendDetailsResponse

func CreateQuerySendDetailsResponse() (response *QuerySendDetailsResponse)

CreateQuerySendDetailsResponse creates a response to parse from QuerySendDetails response

type QuerySendStatisticsRequest

type QuerySendStatisticsRequest struct {
	*requests.RpcRequest
	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
	IsGlobe              requests.Integer `position:"Query" name:"IsGlobe"`
	StartDate            string           `position:"Query" name:"StartDate"`
	PageSize             requests.Integer `position:"Query" name:"PageSize"`
	PageIndex            requests.Integer `position:"Query" name:"PageIndex"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
	EndDate              string           `position:"Query" name:"EndDate"`
}

QuerySendStatisticsRequest is the request struct for api QuerySendStatistics

func CreateQuerySendStatisticsRequest

func CreateQuerySendStatisticsRequest() (request *QuerySendStatisticsRequest)

CreateQuerySendStatisticsRequest creates a request to invoke QuerySendStatistics API

type QuerySendStatisticsResponse

type QuerySendStatisticsResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Code      string `json:"Code" xml:"Code"`
	Message   string `json:"Message" xml:"Message"`
	Data      Data   `json:"Data" xml:"Data"`
}

QuerySendStatisticsResponse is the response struct for api QuerySendStatistics

func CreateQuerySendStatisticsResponse

func CreateQuerySendStatisticsResponse() (response *QuerySendStatisticsResponse)

CreateQuerySendStatisticsResponse creates a response to parse from QuerySendStatistics response

type QueryShortUrlRequest

type QueryShortUrlRequest struct {
	*requests.RpcRequest
	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	ShortUrl             string           `position:"Body" name:"ShortUrl"`
	ProdCode             string           `position:"Body" name:"ProdCode"`
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
}

QueryShortUrlRequest is the request struct for api QueryShortUrl

func CreateQueryShortUrlRequest

func CreateQueryShortUrlRequest() (request *QueryShortUrlRequest)

CreateQueryShortUrlRequest creates a request to invoke QueryShortUrl API

type QueryShortUrlResponse

type QueryShortUrlResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Code      string `json:"Code" xml:"Code"`
	Message   string `json:"Message" xml:"Message"`
	Data      Data   `json:"Data" xml:"Data"`
}

QueryShortUrlResponse is the response struct for api QueryShortUrl

func CreateQueryShortUrlResponse

func CreateQueryShortUrlResponse() (response *QueryShortUrlResponse)

CreateQueryShortUrlResponse creates a response to parse from QueryShortUrl response

type QuerySmsSignDTO

type QuerySmsSignDTO struct {
	SignName     string `json:"SignName" xml:"SignName"`
	AuditStatus  string `json:"AuditStatus" xml:"AuditStatus"`
	CreateDate   string `json:"CreateDate" xml:"CreateDate"`
	BusinessType string `json:"BusinessType" xml:"BusinessType"`
	OrderId      string `json:"OrderId" xml:"OrderId"`
	Reason       Reason `json:"Reason" xml:"Reason"`
}

QuerySmsSignDTO is a nested struct in dysmsapi response

type QuerySmsSignListRequest

type QuerySmsSignListRequest struct {
	*requests.RpcRequest
	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
	PageSize             requests.Integer `position:"Query" name:"PageSize"`
	PageIndex            requests.Integer `position:"Query" name:"PageIndex"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
}

QuerySmsSignListRequest is the request struct for api QuerySmsSignList

func CreateQuerySmsSignListRequest

func CreateQuerySmsSignListRequest() (request *QuerySmsSignListRequest)

CreateQuerySmsSignListRequest creates a request to invoke QuerySmsSignList API

type QuerySmsSignListResponse

type QuerySmsSignListResponse struct {
	*responses.BaseResponse
	RequestId   string            `json:"RequestId" xml:"RequestId"`
	Code        string            `json:"Code" xml:"Code"`
	Message     string            `json:"Message" xml:"Message"`
	SmsSignList []QuerySmsSignDTO `json:"SmsSignList" xml:"SmsSignList"`
}

QuerySmsSignListResponse is the response struct for api QuerySmsSignList

func CreateQuerySmsSignListResponse

func CreateQuerySmsSignListResponse() (response *QuerySmsSignListResponse)

CreateQuerySmsSignListResponse creates a response to parse from QuerySmsSignList response

type QuerySmsSignRequest

type QuerySmsSignRequest struct {
	*requests.RpcRequest
	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
	SignName             string           `position:"Query" name:"SignName"`
}

QuerySmsSignRequest is the request struct for api QuerySmsSign

func CreateQuerySmsSignRequest

func CreateQuerySmsSignRequest() (request *QuerySmsSignRequest)

CreateQuerySmsSignRequest creates a request to invoke QuerySmsSign API

type QuerySmsSignResponse

type QuerySmsSignResponse struct {
	*responses.BaseResponse
	RequestId  string `json:"RequestId" xml:"RequestId"`
	Code       string `json:"Code" xml:"Code"`
	Message    string `json:"Message" xml:"Message"`
	SignStatus int    `json:"SignStatus" xml:"SignStatus"`
	Reason     string `json:"Reason" xml:"Reason"`
	SignName   string `json:"SignName" xml:"SignName"`
	CreateDate string `json:"CreateDate" xml:"CreateDate"`
}

QuerySmsSignResponse is the response struct for api QuerySmsSign

func CreateQuerySmsSignResponse

func CreateQuerySmsSignResponse() (response *QuerySmsSignResponse)

CreateQuerySmsSignResponse creates a response to parse from QuerySmsSign response

type QuerySmsTemplateListRequest

type QuerySmsTemplateListRequest struct {
	*requests.RpcRequest
	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
	PageSize             requests.Integer `position:"Query" name:"PageSize"`
	PageIndex            requests.Integer `position:"Query" name:"PageIndex"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
}

QuerySmsTemplateListRequest is the request struct for api QuerySmsTemplateList

func CreateQuerySmsTemplateListRequest

func CreateQuerySmsTemplateListRequest() (request *QuerySmsTemplateListRequest)

CreateQuerySmsTemplateListRequest creates a request to invoke QuerySmsTemplateList API

type QuerySmsTemplateListResponse

type QuerySmsTemplateListResponse struct {
	*responses.BaseResponse
	RequestId       string              `json:"RequestId" xml:"RequestId"`
	Code            string              `json:"Code" xml:"Code"`
	Message         string              `json:"Message" xml:"Message"`
	SmsTemplateList []SmsStatsResultDTO `json:"SmsTemplateList" xml:"SmsTemplateList"`
}

QuerySmsTemplateListResponse is the response struct for api QuerySmsTemplateList

func CreateQuerySmsTemplateListResponse

func CreateQuerySmsTemplateListResponse() (response *QuerySmsTemplateListResponse)

CreateQuerySmsTemplateListResponse creates a response to parse from QuerySmsTemplateList response

type QuerySmsTemplateRequest

type QuerySmsTemplateRequest struct {
	*requests.RpcRequest
	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
	TemplateCode         string           `position:"Query" name:"TemplateCode"`
}

QuerySmsTemplateRequest is the request struct for api QuerySmsTemplate

func CreateQuerySmsTemplateRequest

func CreateQuerySmsTemplateRequest() (request *QuerySmsTemplateRequest)

CreateQuerySmsTemplateRequest creates a request to invoke QuerySmsTemplate API

type QuerySmsTemplateResponse

type QuerySmsTemplateResponse struct {
	*responses.BaseResponse
	RequestId       string `json:"RequestId" xml:"RequestId"`
	Code            string `json:"Code" xml:"Code"`
	Message         string `json:"Message" xml:"Message"`
	TemplateStatus  int    `json:"TemplateStatus" xml:"TemplateStatus"`
	Reason          string `json:"Reason" xml:"Reason"`
	TemplateCode    string `json:"TemplateCode" xml:"TemplateCode"`
	TemplateType    int    `json:"TemplateType" xml:"TemplateType"`
	TemplateName    string `json:"TemplateName" xml:"TemplateName"`
	TemplateContent string `json:"TemplateContent" xml:"TemplateContent"`
	CreateDate      string `json:"CreateDate" xml:"CreateDate"`
}

QuerySmsTemplateResponse is the response struct for api QuerySmsTemplate

func CreateQuerySmsTemplateResponse

func CreateQuerySmsTemplateResponse() (response *QuerySmsTemplateResponse)

CreateQuerySmsTemplateResponse creates a response to parse from QuerySmsTemplate response

type Reason

type Reason struct {
	RejectDate    string `json:"RejectDate" xml:"RejectDate"`
	RejectSubInfo string `json:"RejectSubInfo" xml:"RejectSubInfo"`
	RejectInfo    string `json:"RejectInfo" xml:"RejectInfo"`
}

Reason is a nested struct in dysmsapi response

type SendBatchSmsRequest

type SendBatchSmsRequest struct {
	*requests.RpcRequest
	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
	TemplateParamJson    string           `position:"Query" name:"TemplateParamJson"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
	SmsUpExtendCodeJson  string           `position:"Query" name:"SmsUpExtendCodeJson"`
	SignNameJson         string           `position:"Query" name:"SignNameJson"`
	TemplateCode         string           `position:"Query" name:"TemplateCode"`
	PhoneNumberJson      string           `position:"Query" name:"PhoneNumberJson"`
}

SendBatchSmsRequest is the request struct for api SendBatchSms

func CreateSendBatchSmsRequest

func CreateSendBatchSmsRequest() (request *SendBatchSmsRequest)

CreateSendBatchSmsRequest creates a request to invoke SendBatchSms API

type SendBatchSmsResponse

type SendBatchSmsResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	BizId     string `json:"BizId" xml:"BizId"`
	Code      string `json:"Code" xml:"Code"`
	Message   string `json:"Message" xml:"Message"`
}

SendBatchSmsResponse is the response struct for api SendBatchSms

func CreateSendBatchSmsResponse

func CreateSendBatchSmsResponse() (response *SendBatchSmsResponse)

CreateSendBatchSmsResponse creates a response to parse from SendBatchSms response

type SendSmsRequest

type SendSmsRequest struct {
	*requests.RpcRequest
	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
	SmsUpExtendCode      string           `position:"Query" name:"SmsUpExtendCode"`
	SignName             string           `position:"Query" name:"SignName"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	PhoneNumbers         string           `position:"Query" name:"PhoneNumbers"`
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
	OutId                string           `position:"Query" name:"OutId"`
	TemplateCode         string           `position:"Query" name:"TemplateCode"`
	TemplateParam        string           `position:"Query" name:"TemplateParam"`
}

SendSmsRequest is the request struct for api SendSms

func CreateSendSmsRequest

func CreateSendSmsRequest() (request *SendSmsRequest)

CreateSendSmsRequest creates a request to invoke SendSms API

type SendSmsResponse

type SendSmsResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	BizId     string `json:"BizId" xml:"BizId"`
	Code      string `json:"Code" xml:"Code"`
	Message   string `json:"Message" xml:"Message"`
}

SendSmsResponse is the response struct for api SendSms

func CreateSendSmsResponse

func CreateSendSmsResponse() (response *SendSmsResponse)

CreateSendSmsResponse creates a response to parse from SendSms response

type SmsSendDetailDTO

type SmsSendDetailDTO struct {
	PhoneNum     string `json:"PhoneNum" xml:"PhoneNum"`
	SendStatus   int64  `json:"SendStatus" xml:"SendStatus"`
	ErrCode      string `json:"ErrCode" xml:"ErrCode"`
	TemplateCode string `json:"TemplateCode" xml:"TemplateCode"`
	Content      string `json:"Content" xml:"Content"`
	SendDate     string `json:"SendDate" xml:"SendDate"`
	ReceiveDate  string `json:"ReceiveDate" xml:"ReceiveDate"`
	OutId        string `json:"OutId" xml:"OutId"`
}

SmsSendDetailDTO is a nested struct in dysmsapi response

type SmsSendDetailDTOs

type SmsSendDetailDTOs struct {
	SmsSendDetailDTO []SmsSendDetailDTO `json:"SmsSendDetailDTO" xml:"SmsSendDetailDTO"`
}

SmsSendDetailDTOs is a nested struct in dysmsapi response

type SmsSignList

type SmsSignList struct {
	QuerySmsSignDTO []QuerySmsSignDTO `json:"QuerySmsSignDTO" xml:"QuerySmsSignDTO"`
}

SmsSignList is a nested struct in dysmsapi response

type SmsStatisticsDTO

type SmsStatisticsDTO struct {
	TotalCount            int64  `json:"TotalCount" xml:"TotalCount"`
	RespondedSuccessCount int64  `json:"RespondedSuccessCount" xml:"RespondedSuccessCount"`
	RespondedFailCount    int64  `json:"RespondedFailCount" xml:"RespondedFailCount"`
	NoRespondedCount      int64  `json:"NoRespondedCount" xml:"NoRespondedCount"`
	SendDate              string `json:"SendDate" xml:"SendDate"`
}

SmsStatisticsDTO is a nested struct in dysmsapi response

type SmsStatsResultDTO

type SmsStatsResultDTO struct {
	TemplateCode    string `json:"TemplateCode" xml:"TemplateCode"`
	TemplateName    string `json:"TemplateName" xml:"TemplateName"`
	TemplateType    int    `json:"TemplateType" xml:"TemplateType"`
	AuditStatus     string `json:"AuditStatus" xml:"AuditStatus"`
	TemplateContent string `json:"TemplateContent" xml:"TemplateContent"`
	CreateDate      string `json:"CreateDate" xml:"CreateDate"`
	OrderId         string `json:"OrderId" xml:"OrderId"`
	Reason          Reason `json:"Reason" xml:"Reason"`
}

SmsStatsResultDTO is a nested struct in dysmsapi response

type SmsTemplateList

type SmsTemplateList struct {
	SmsStatsResultDTO []SmsStatsResultDTO `json:"SmsStatsResultDTO" xml:"SmsStatsResultDTO"`
}

SmsTemplateList is a nested struct in dysmsapi response

type TagResource

type TagResource struct {
	ResourceType string `json:"ResourceType" xml:"ResourceType"`
	TagValue     string `json:"TagValue" xml:"TagValue"`
	ResourceId   string `json:"ResourceId" xml:"ResourceId"`
	TagKey       string `json:"TagKey" xml:"TagKey"`
}

TagResource is a nested struct in dysmsapi response

type TagResources

type TagResources struct {
	TagResource []TagResource `json:"TagResource" xml:"TagResource"`
}

TagResources is a nested struct in dysmsapi response

type TagResourcesRequest

type TagResourcesRequest struct {
	*requests.RpcRequest
	ResourceOwnerId      requests.Integer   `position:"Query" name:"ResourceOwnerId"`
	Tag                  *[]TagResourcesTag `position:"Query" name:"Tag"  type:"Repeated"`
	ResourceId           *[]string          `position:"Query" name:"ResourceId"  type:"Repeated"`
	ResourceOwnerAccount string             `position:"Query" name:"ResourceOwnerAccount"`
	ProdCode             string             `position:"Query" name:"ProdCode"`
	OwnerId              requests.Integer   `position:"Query" name:"OwnerId"`
	ResourceType         string             `position:"Query" name:"ResourceType"`
}

TagResourcesRequest is the request struct for api TagResources

func CreateTagResourcesRequest

func CreateTagResourcesRequest() (request *TagResourcesRequest)

CreateTagResourcesRequest creates a request to invoke TagResources API

type TagResourcesResponse

type TagResourcesResponse struct {
	*responses.BaseResponse
	Code      string `json:"Code" xml:"Code"`
	Data      string `json:"Data" xml:"Data"`
	RequestId string `json:"RequestId" xml:"RequestId"`
}

TagResourcesResponse is the response struct for api TagResources

func CreateTagResourcesResponse

func CreateTagResourcesResponse() (response *TagResourcesResponse)

CreateTagResourcesResponse creates a response to parse from TagResources response

type TagResourcesTag

type TagResourcesTag struct {
	Value string `name:"Value"`
	Key   string `name:"Key"`
}

TagResourcesTag is a repeated param struct in TagResourcesRequest

type TargetList

type TargetList struct {
	SmsStatisticsDTO []SmsStatisticsDTO `json:"SmsStatisticsDTO" xml:"SmsStatisticsDTO"`
}

TargetList is a nested struct in dysmsapi response

type UntagResourcesRequest

type UntagResourcesRequest struct {
	*requests.RpcRequest
	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
	All                  requests.Boolean `position:"Query" name:"All"`
	ResourceId           *[]string        `position:"Query" name:"ResourceId"  type:"Repeated"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	ProdCode             string           `position:"Query" name:"ProdCode"`
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
	ResourceType         string           `position:"Query" name:"ResourceType"`
	TagKey               *[]string        `position:"Query" name:"TagKey"  type:"Repeated"`
}

UntagResourcesRequest is the request struct for api UntagResources

func CreateUntagResourcesRequest

func CreateUntagResourcesRequest() (request *UntagResourcesRequest)

CreateUntagResourcesRequest creates a request to invoke UntagResources API

type UntagResourcesResponse

type UntagResourcesResponse struct {
	*responses.BaseResponse
	Code      string `json:"Code" xml:"Code"`
	Data      string `json:"Data" xml:"Data"`
	RequestId string `json:"RequestId" xml:"RequestId"`
}

UntagResourcesResponse is the response struct for api UntagResources

func CreateUntagResourcesResponse

func CreateUntagResourcesResponse() (response *UntagResourcesResponse)

CreateUntagResourcesResponse creates a response to parse from UntagResources response

Jump to

Keyboard shortcuts

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