Documentation ¶
Index ¶
- type BindAliasRequest
- type BindAliasResponse
- type BindPhoneRequest
- type BindPhoneResponse
- type BindTagRequest
- type BindTagResponse
- type CancelPushRequest
- type CancelPushResponse
- type CheckDeviceRequest
- type CheckDeviceResponse
- type CheckDevicesDeviceCheckInfo1
- type CheckDevicesDeviceCheckInfos0
- type CheckDevicesRequest
- type CheckDevicesResponse
- type Client
- func NewClient() (client *Client, err error)
- func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)
- func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)
- func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)
- func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)
- func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)
- func NewClientWithRamRoleArnAndPolicy(regionId string, ...) (client *Client, err error)
- func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)
- func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)
- func (client *Client) BindAlias(request *BindAliasRequest) (response *BindAliasResponse, err error)
- func (client *Client) BindAliasWithCallback(request *BindAliasRequest, ...) <-chan int
- func (client *Client) BindAliasWithChan(request *BindAliasRequest) (<-chan *BindAliasResponse, <-chan error)
- func (client *Client) BindPhone(request *BindPhoneRequest) (response *BindPhoneResponse, err error)
- func (client *Client) BindPhoneWithCallback(request *BindPhoneRequest, ...) <-chan int
- func (client *Client) BindPhoneWithChan(request *BindPhoneRequest) (<-chan *BindPhoneResponse, <-chan error)
- func (client *Client) BindTag(request *BindTagRequest) (response *BindTagResponse, err error)
- func (client *Client) BindTagWithCallback(request *BindTagRequest, callback func(response *BindTagResponse, err error)) <-chan int
- func (client *Client) BindTagWithChan(request *BindTagRequest) (<-chan *BindTagResponse, <-chan error)
- func (client *Client) CancelPush(request *CancelPushRequest) (response *CancelPushResponse, err error)
- func (client *Client) CancelPushWithCallback(request *CancelPushRequest, ...) <-chan int
- func (client *Client) CancelPushWithChan(request *CancelPushRequest) (<-chan *CancelPushResponse, <-chan error)
- func (client *Client) CheckDevice(request *CheckDeviceRequest) (response *CheckDeviceResponse, err error)
- func (client *Client) CheckDeviceWithCallback(request *CheckDeviceRequest, ...) <-chan int
- func (client *Client) CheckDeviceWithChan(request *CheckDeviceRequest) (<-chan *CheckDeviceResponse, <-chan error)
- func (client *Client) CheckDevices(request *CheckDevicesRequest) (response *CheckDevicesResponse, err error)
- func (client *Client) CheckDevicesWithCallback(request *CheckDevicesRequest, ...) <-chan int
- func (client *Client) CheckDevicesWithChan(request *CheckDevicesRequest) (<-chan *CheckDevicesResponse, <-chan error)
- func (client *Client) ListPushRecords(request *ListPushRecordsRequest) (response *ListPushRecordsResponse, err error)
- func (client *Client) ListPushRecordsWithCallback(request *ListPushRecordsRequest, ...) <-chan int
- func (client *Client) ListPushRecordsWithChan(request *ListPushRecordsRequest) (<-chan *ListPushRecordsResponse, <-chan error)
- func (client *Client) ListSummaryApps(request *ListSummaryAppsRequest) (response *ListSummaryAppsResponse, err error)
- func (client *Client) ListSummaryAppsWithCallback(request *ListSummaryAppsRequest, ...) <-chan int
- func (client *Client) ListSummaryAppsWithChan(request *ListSummaryAppsRequest) (<-chan *ListSummaryAppsResponse, <-chan error)
- func (client *Client) ListTags(request *ListTagsRequest) (response *ListTagsResponse, err error)
- func (client *Client) ListTagsWithCallback(request *ListTagsRequest, callback func(response *ListTagsResponse, err error)) <-chan int
- func (client *Client) ListTagsWithChan(request *ListTagsRequest) (<-chan *ListTagsResponse, <-chan error)
- func (client *Client) Push(request *PushRequest) (response *PushResponse, err error)
- func (client *Client) PushMessageToAndroid(request *PushMessageToAndroidRequest) (response *PushMessageToAndroidResponse, err error)
- func (client *Client) PushMessageToAndroidWithCallback(request *PushMessageToAndroidRequest, ...) <-chan int
- func (client *Client) PushMessageToAndroidWithChan(request *PushMessageToAndroidRequest) (<-chan *PushMessageToAndroidResponse, <-chan error)
- func (client *Client) PushMessageToiOS(request *PushMessageToiOSRequest) (response *PushMessageToiOSResponse, err error)
- func (client *Client) PushMessageToiOSWithCallback(request *PushMessageToiOSRequest, ...) <-chan int
- func (client *Client) PushMessageToiOSWithChan(request *PushMessageToiOSRequest) (<-chan *PushMessageToiOSResponse, <-chan error)
- func (client *Client) PushNoticeToAndroid(request *PushNoticeToAndroidRequest) (response *PushNoticeToAndroidResponse, err error)
- func (client *Client) PushNoticeToAndroidWithCallback(request *PushNoticeToAndroidRequest, ...) <-chan int
- func (client *Client) PushNoticeToAndroidWithChan(request *PushNoticeToAndroidRequest) (<-chan *PushNoticeToAndroidResponse, <-chan error)
- func (client *Client) PushNoticeToiOS(request *PushNoticeToiOSRequest) (response *PushNoticeToiOSResponse, err error)
- func (client *Client) PushNoticeToiOSWithCallback(request *PushNoticeToiOSRequest, ...) <-chan int
- func (client *Client) PushNoticeToiOSWithChan(request *PushNoticeToiOSRequest) (<-chan *PushNoticeToiOSResponse, <-chan error)
- func (client *Client) PushWithCallback(request *PushRequest, callback func(response *PushResponse, err error)) <-chan int
- func (client *Client) PushWithChan(request *PushRequest) (<-chan *PushResponse, <-chan error)
- func (client *Client) QueryAliases(request *QueryAliasesRequest) (response *QueryAliasesResponse, err error)
- func (client *Client) QueryAliasesWithCallback(request *QueryAliasesRequest, ...) <-chan int
- func (client *Client) QueryAliasesWithChan(request *QueryAliasesRequest) (<-chan *QueryAliasesResponse, <-chan error)
- func (client *Client) QueryDeviceInfo(request *QueryDeviceInfoRequest) (response *QueryDeviceInfoResponse, err error)
- func (client *Client) QueryDeviceInfoWithCallback(request *QueryDeviceInfoRequest, ...) <-chan int
- func (client *Client) QueryDeviceInfoWithChan(request *QueryDeviceInfoRequest) (<-chan *QueryDeviceInfoResponse, <-chan error)
- func (client *Client) QueryDeviceStat(request *QueryDeviceStatRequest) (response *QueryDeviceStatResponse, err error)
- func (client *Client) QueryDeviceStatWithCallback(request *QueryDeviceStatRequest, ...) <-chan int
- func (client *Client) QueryDeviceStatWithChan(request *QueryDeviceStatRequest) (<-chan *QueryDeviceStatResponse, <-chan error)
- func (client *Client) QueryDevicesByAccount(request *QueryDevicesByAccountRequest) (response *QueryDevicesByAccountResponse, err error)
- func (client *Client) QueryDevicesByAccountWithCallback(request *QueryDevicesByAccountRequest, ...) <-chan int
- func (client *Client) QueryDevicesByAccountWithChan(request *QueryDevicesByAccountRequest) (<-chan *QueryDevicesByAccountResponse, <-chan error)
- func (client *Client) QueryDevicesByAlias(request *QueryDevicesByAliasRequest) (response *QueryDevicesByAliasResponse, err error)
- func (client *Client) QueryDevicesByAliasWithCallback(request *QueryDevicesByAliasRequest, ...) <-chan int
- func (client *Client) QueryDevicesByAliasWithChan(request *QueryDevicesByAliasRequest) (<-chan *QueryDevicesByAliasResponse, <-chan error)
- func (client *Client) QueryPushList(request *QueryPushListRequest) (response *QueryPushListResponse, err error)
- func (client *Client) QueryPushListWithCallback(request *QueryPushListRequest, ...) <-chan int
- func (client *Client) QueryPushListWithChan(request *QueryPushListRequest) (<-chan *QueryPushListResponse, <-chan error)
- func (client *Client) QueryPushStatByApp(request *QueryPushStatByAppRequest) (response *QueryPushStatByAppResponse, err error)
- func (client *Client) QueryPushStatByAppWithCallback(request *QueryPushStatByAppRequest, ...) <-chan int
- func (client *Client) QueryPushStatByAppWithChan(request *QueryPushStatByAppRequest) (<-chan *QueryPushStatByAppResponse, <-chan error)
- func (client *Client) QueryPushStatByMsg(request *QueryPushStatByMsgRequest) (response *QueryPushStatByMsgResponse, err error)
- func (client *Client) QueryPushStatByMsgWithCallback(request *QueryPushStatByMsgRequest, ...) <-chan int
- func (client *Client) QueryPushStatByMsgWithChan(request *QueryPushStatByMsgRequest) (<-chan *QueryPushStatByMsgResponse, <-chan error)
- func (client *Client) QueryTags(request *QueryTagsRequest) (response *QueryTagsResponse, err error)
- func (client *Client) QueryTagsWithCallback(request *QueryTagsRequest, ...) <-chan int
- func (client *Client) QueryTagsWithChan(request *QueryTagsRequest) (<-chan *QueryTagsResponse, <-chan error)
- func (client *Client) QueryUniqueDeviceStat(request *QueryUniqueDeviceStatRequest) (response *QueryUniqueDeviceStatResponse, err error)
- func (client *Client) QueryUniqueDeviceStatWithCallback(request *QueryUniqueDeviceStatRequest, ...) <-chan int
- func (client *Client) QueryUniqueDeviceStatWithChan(request *QueryUniqueDeviceStatRequest) (<-chan *QueryUniqueDeviceStatResponse, <-chan error)
- func (client *Client) RemoveTag(request *RemoveTagRequest) (response *RemoveTagResponse, err error)
- func (client *Client) RemoveTagWithCallback(request *RemoveTagRequest, ...) <-chan int
- func (client *Client) RemoveTagWithChan(request *RemoveTagRequest) (<-chan *RemoveTagResponse, <-chan error)
- func (client *Client) UnbindAlias(request *UnbindAliasRequest) (response *UnbindAliasResponse, err error)
- func (client *Client) UnbindAliasWithCallback(request *UnbindAliasRequest, ...) <-chan int
- func (client *Client) UnbindAliasWithChan(request *UnbindAliasRequest) (<-chan *UnbindAliasResponse, <-chan error)
- func (client *Client) UnbindPhone(request *UnbindPhoneRequest) (response *UnbindPhoneResponse, err error)
- func (client *Client) UnbindPhoneWithCallback(request *UnbindPhoneRequest, ...) <-chan int
- func (client *Client) UnbindPhoneWithChan(request *UnbindPhoneRequest) (<-chan *UnbindPhoneResponse, <-chan error)
- func (client *Client) UnbindTag(request *UnbindTagRequest) (response *UnbindTagResponse, err error)
- func (client *Client) UnbindTagWithCallback(request *UnbindTagRequest, ...) <-chan int
- func (client *Client) UnbindTagWithChan(request *UnbindTagRequest) (<-chan *UnbindTagResponse, <-chan error)
- type ListPushRecordsPushMessageInfo1
- type ListPushRecordsPushMessageInfos0
- type ListPushRecordsRequest
- type ListPushRecordsResponse
- type ListSummaryAppsRequest
- type ListSummaryAppsResponse
- type ListSummaryAppsSummaryAppInfo1
- type ListSummaryAppsSummaryAppInfos0
- type ListTagsRequest
- type ListTagsResponse
- type ListTagsTagInfo1
- type ListTagsTagInfos0
- type PushMessageToAndroidRequest
- type PushMessageToAndroidResponse
- type PushMessageToiOSRequest
- type PushMessageToiOSResponse
- type PushNoticeToAndroidRequest
- type PushNoticeToAndroidResponse
- type PushNoticeToiOSRequest
- type PushNoticeToiOSResponse
- type PushRequest
- type PushResponse
- type QueryAliasesAliasInfo1
- type QueryAliasesAliasInfos0
- type QueryAliasesRequest
- type QueryAliasesResponse
- type QueryDeviceInfoDeviceInfo0
- type QueryDeviceInfoRequest
- type QueryDeviceInfoResponse
- type QueryDeviceStatAppDeviceStat1
- type QueryDeviceStatAppDeviceStats0
- type QueryDeviceStatRequest
- type QueryDeviceStatResponse
- type QueryDevicesByAccountRequest
- type QueryDevicesByAccountResponse
- type QueryDevicesByAliasRequest
- type QueryDevicesByAliasResponse
- type QueryPushListPushMessageInfo1
- type QueryPushListPushMessageInfos0
- type QueryPushListRequest
- type QueryPushListResponse
- type QueryPushStatByAppAppPushStat1
- type QueryPushStatByAppAppPushStats0
- type QueryPushStatByAppRequest
- type QueryPushStatByAppResponse
- type QueryPushStatByMsgPushStat1
- type QueryPushStatByMsgPushStats0
- type QueryPushStatByMsgRequest
- type QueryPushStatByMsgResponse
- type QueryTagsRequest
- type QueryTagsResponse
- type QueryTagsTagInfo1
- type QueryTagsTagInfos0
- type QueryUniqueDeviceStatAppDeviceStat1
- type QueryUniqueDeviceStatAppDeviceStats0
- type QueryUniqueDeviceStatRequest
- type QueryUniqueDeviceStatResponse
- type RemoveTagRequest
- type RemoveTagResponse
- type UnbindAliasRequest
- type UnbindAliasResponse
- type UnbindPhoneRequest
- type UnbindPhoneResponse
- type UnbindTagRequest
- type UnbindTagResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BindAliasRequest ¶
type BindAliasRequest struct { *requests.RpcRequest AccessKeyId string `position:"Query" name:"AccessKeyId"` AppKey requests.Integer `position:"Query" name:"AppKey"` DeviceId string `position:"Query" name:"DeviceId"` AliasName string `position:"Query" name:"AliasName"` }
BindAliasRequest is the request struct for api BindAlias
func CreateBindAliasRequest ¶
func CreateBindAliasRequest() (request *BindAliasRequest)
CreateBindAliasRequest creates a request to invoke BindAlias API
type BindAliasResponse ¶
type BindAliasResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
BindAliasResponse is the response struct for api BindAlias
func CreateBindAliasResponse ¶
func CreateBindAliasResponse() (response *BindAliasResponse)
CreateBindAliasResponse creates a response to parse from BindAlias response
type BindPhoneRequest ¶
type BindPhoneRequest struct { *requests.RpcRequest AccessKeyId string `position:"Query" name:"AccessKeyId"` AppKey requests.Integer `position:"Query" name:"AppKey"` DeviceId string `position:"Query" name:"DeviceId"` PhoneNumber string `position:"Query" name:"PhoneNumber"` }
BindPhoneRequest is the request struct for api BindPhone
func CreateBindPhoneRequest ¶
func CreateBindPhoneRequest() (request *BindPhoneRequest)
CreateBindPhoneRequest creates a request to invoke BindPhone API
type BindPhoneResponse ¶
type BindPhoneResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
BindPhoneResponse is the response struct for api BindPhone
func CreateBindPhoneResponse ¶
func CreateBindPhoneResponse() (response *BindPhoneResponse)
CreateBindPhoneResponse creates a response to parse from BindPhone response
type BindTagRequest ¶
type BindTagRequest struct { *requests.RpcRequest AccessKeyId string `position:"Query" name:"AccessKeyId"` AppKey requests.Integer `position:"Query" name:"AppKey"` ClientKey string `position:"Query" name:"ClientKey"` KeyType string `position:"Query" name:"KeyType"` TagName string `position:"Query" name:"TagName"` }
BindTagRequest is the request struct for api BindTag
func CreateBindTagRequest ¶
func CreateBindTagRequest() (request *BindTagRequest)
CreateBindTagRequest creates a request to invoke BindTag API
type BindTagResponse ¶
type BindTagResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
BindTagResponse is the response struct for api BindTag
func CreateBindTagResponse ¶
func CreateBindTagResponse() (response *BindTagResponse)
CreateBindTagResponse creates a response to parse from BindTag response
type CancelPushRequest ¶
type CancelPushRequest struct { *requests.RpcRequest AccessKeyId string `position:"Query" name:"AccessKeyId"` AppKey requests.Integer `position:"Query" name:"AppKey"` MessageId requests.Integer `position:"Query" name:"MessageId"` }
CancelPushRequest is the request struct for api CancelPush
func CreateCancelPushRequest ¶
func CreateCancelPushRequest() (request *CancelPushRequest)
CreateCancelPushRequest creates a request to invoke CancelPush API
type CancelPushResponse ¶
type CancelPushResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
CancelPushResponse is the response struct for api CancelPush
func CreateCancelPushResponse ¶
func CreateCancelPushResponse() (response *CancelPushResponse)
CreateCancelPushResponse creates a response to parse from CancelPush response
type CheckDeviceRequest ¶
type CheckDeviceRequest struct { *requests.RpcRequest AccessKeyId string `position:"Query" name:"AccessKeyId"` AppKey requests.Integer `position:"Query" name:"AppKey"` DeviceId string `position:"Query" name:"DeviceId"` }
CheckDeviceRequest is the request struct for api CheckDevice
func CreateCheckDeviceRequest ¶
func CreateCheckDeviceRequest() (request *CheckDeviceRequest)
CreateCheckDeviceRequest creates a request to invoke CheckDevice API
type CheckDeviceResponse ¶
type CheckDeviceResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Available bool `json:"Available" xml:"Available"` }
CheckDeviceResponse is the response struct for api CheckDevice
func CreateCheckDeviceResponse ¶
func CreateCheckDeviceResponse() (response *CheckDeviceResponse)
CreateCheckDeviceResponse creates a response to parse from CheckDevice response
type CheckDevicesDeviceCheckInfos0 ¶
type CheckDevicesDeviceCheckInfos0 struct {
DeviceCheckInfo []CheckDevicesDeviceCheckInfo1 `json:"DeviceCheckInfo" xml:"DeviceCheckInfo"`
}
type CheckDevicesRequest ¶
type CheckDevicesRequest struct { *requests.RpcRequest AccessKeyId string `position:"Query" name:"AccessKeyId"` AppKey requests.Integer `position:"Query" name:"AppKey"` DeviceIds string `position:"Query" name:"DeviceIds"` }
CheckDevicesRequest is the request struct for api CheckDevices
func CreateCheckDevicesRequest ¶
func CreateCheckDevicesRequest() (request *CheckDevicesRequest)
CreateCheckDevicesRequest creates a request to invoke CheckDevices API
type CheckDevicesResponse ¶
type CheckDevicesResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` DeviceCheckInfos CheckDevicesDeviceCheckInfos0 `json:"DeviceCheckInfos" xml:"DeviceCheckInfos"` }
CheckDevicesResponse is the response struct for api CheckDevices
func CreateCheckDevicesResponse ¶
func CreateCheckDevicesResponse() (response *CheckDevicesResponse)
CreateCheckDevicesResponse creates a response to parse from CheckDevices response
type Client ¶
Client is the sdk client struct, each func corresponds to an OpenAPI
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 ¶
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) BindAlias ¶
func (client *Client) BindAlias(request *BindAliasRequest) (response *BindAliasResponse, err error)
BindAlias invokes the push.BindAlias API synchronously api document: https://help.aliyun.com/api/push/bindalias.html
func (*Client) BindAliasWithCallback ¶
func (client *Client) BindAliasWithCallback(request *BindAliasRequest, callback func(response *BindAliasResponse, err error)) <-chan int
BindAliasWithCallback invokes the push.BindAlias API asynchronously api document: https://help.aliyun.com/api/push/bindalias.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) BindAliasWithChan ¶
func (client *Client) BindAliasWithChan(request *BindAliasRequest) (<-chan *BindAliasResponse, <-chan error)
BindAliasWithChan invokes the push.BindAlias API asynchronously api document: https://help.aliyun.com/api/push/bindalias.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) BindPhone ¶
func (client *Client) BindPhone(request *BindPhoneRequest) (response *BindPhoneResponse, err error)
BindPhone invokes the push.BindPhone API synchronously api document: https://help.aliyun.com/api/push/bindphone.html
func (*Client) BindPhoneWithCallback ¶
func (client *Client) BindPhoneWithCallback(request *BindPhoneRequest, callback func(response *BindPhoneResponse, err error)) <-chan int
BindPhoneWithCallback invokes the push.BindPhone API asynchronously api document: https://help.aliyun.com/api/push/bindphone.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) BindPhoneWithChan ¶
func (client *Client) BindPhoneWithChan(request *BindPhoneRequest) (<-chan *BindPhoneResponse, <-chan error)
BindPhoneWithChan invokes the push.BindPhone API asynchronously api document: https://help.aliyun.com/api/push/bindphone.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) BindTag ¶
func (client *Client) BindTag(request *BindTagRequest) (response *BindTagResponse, err error)
BindTag invokes the push.BindTag API synchronously api document: https://help.aliyun.com/api/push/bindtag.html
func (*Client) BindTagWithCallback ¶
func (client *Client) BindTagWithCallback(request *BindTagRequest, callback func(response *BindTagResponse, err error)) <-chan int
BindTagWithCallback invokes the push.BindTag API asynchronously api document: https://help.aliyun.com/api/push/bindtag.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) BindTagWithChan ¶
func (client *Client) BindTagWithChan(request *BindTagRequest) (<-chan *BindTagResponse, <-chan error)
BindTagWithChan invokes the push.BindTag API asynchronously api document: https://help.aliyun.com/api/push/bindtag.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) CancelPush ¶
func (client *Client) CancelPush(request *CancelPushRequest) (response *CancelPushResponse, err error)
CancelPush invokes the push.CancelPush API synchronously api document: https://help.aliyun.com/api/push/cancelpush.html
func (*Client) CancelPushWithCallback ¶
func (client *Client) CancelPushWithCallback(request *CancelPushRequest, callback func(response *CancelPushResponse, err error)) <-chan int
CancelPushWithCallback invokes the push.CancelPush API asynchronously api document: https://help.aliyun.com/api/push/cancelpush.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) CancelPushWithChan ¶
func (client *Client) CancelPushWithChan(request *CancelPushRequest) (<-chan *CancelPushResponse, <-chan error)
CancelPushWithChan invokes the push.CancelPush API asynchronously api document: https://help.aliyun.com/api/push/cancelpush.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) CheckDevice ¶
func (client *Client) CheckDevice(request *CheckDeviceRequest) (response *CheckDeviceResponse, err error)
CheckDevice invokes the push.CheckDevice API synchronously api document: https://help.aliyun.com/api/push/checkdevice.html
func (*Client) CheckDeviceWithCallback ¶
func (client *Client) CheckDeviceWithCallback(request *CheckDeviceRequest, callback func(response *CheckDeviceResponse, err error)) <-chan int
CheckDeviceWithCallback invokes the push.CheckDevice API asynchronously api document: https://help.aliyun.com/api/push/checkdevice.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) CheckDeviceWithChan ¶
func (client *Client) CheckDeviceWithChan(request *CheckDeviceRequest) (<-chan *CheckDeviceResponse, <-chan error)
CheckDeviceWithChan invokes the push.CheckDevice API asynchronously api document: https://help.aliyun.com/api/push/checkdevice.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) CheckDevices ¶
func (client *Client) CheckDevices(request *CheckDevicesRequest) (response *CheckDevicesResponse, err error)
CheckDevices invokes the push.CheckDevices API synchronously api document: https://help.aliyun.com/api/push/checkdevices.html
func (*Client) CheckDevicesWithCallback ¶
func (client *Client) CheckDevicesWithCallback(request *CheckDevicesRequest, callback func(response *CheckDevicesResponse, err error)) <-chan int
CheckDevicesWithCallback invokes the push.CheckDevices API asynchronously api document: https://help.aliyun.com/api/push/checkdevices.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) CheckDevicesWithChan ¶
func (client *Client) CheckDevicesWithChan(request *CheckDevicesRequest) (<-chan *CheckDevicesResponse, <-chan error)
CheckDevicesWithChan invokes the push.CheckDevices API asynchronously api document: https://help.aliyun.com/api/push/checkdevices.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ListPushRecords ¶
func (client *Client) ListPushRecords(request *ListPushRecordsRequest) (response *ListPushRecordsResponse, err error)
ListPushRecords invokes the push.ListPushRecords API synchronously api document: https://help.aliyun.com/api/push/listpushrecords.html
func (*Client) ListPushRecordsWithCallback ¶
func (client *Client) ListPushRecordsWithCallback(request *ListPushRecordsRequest, callback func(response *ListPushRecordsResponse, err error)) <-chan int
ListPushRecordsWithCallback invokes the push.ListPushRecords API asynchronously api document: https://help.aliyun.com/api/push/listpushrecords.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ListPushRecordsWithChan ¶
func (client *Client) ListPushRecordsWithChan(request *ListPushRecordsRequest) (<-chan *ListPushRecordsResponse, <-chan error)
ListPushRecordsWithChan invokes the push.ListPushRecords API asynchronously api document: https://help.aliyun.com/api/push/listpushrecords.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ListSummaryApps ¶
func (client *Client) ListSummaryApps(request *ListSummaryAppsRequest) (response *ListSummaryAppsResponse, err error)
ListSummaryApps invokes the push.ListSummaryApps API synchronously api document: https://help.aliyun.com/api/push/listsummaryapps.html
func (*Client) ListSummaryAppsWithCallback ¶
func (client *Client) ListSummaryAppsWithCallback(request *ListSummaryAppsRequest, callback func(response *ListSummaryAppsResponse, err error)) <-chan int
ListSummaryAppsWithCallback invokes the push.ListSummaryApps API asynchronously api document: https://help.aliyun.com/api/push/listsummaryapps.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ListSummaryAppsWithChan ¶
func (client *Client) ListSummaryAppsWithChan(request *ListSummaryAppsRequest) (<-chan *ListSummaryAppsResponse, <-chan error)
ListSummaryAppsWithChan invokes the push.ListSummaryApps API asynchronously api document: https://help.aliyun.com/api/push/listsummaryapps.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ListTags ¶
func (client *Client) ListTags(request *ListTagsRequest) (response *ListTagsResponse, err error)
ListTags invokes the push.ListTags API synchronously api document: https://help.aliyun.com/api/push/listtags.html
func (*Client) ListTagsWithCallback ¶
func (client *Client) ListTagsWithCallback(request *ListTagsRequest, callback func(response *ListTagsResponse, err error)) <-chan int
ListTagsWithCallback invokes the push.ListTags API asynchronously api document: https://help.aliyun.com/api/push/listtags.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ListTagsWithChan ¶
func (client *Client) ListTagsWithChan(request *ListTagsRequest) (<-chan *ListTagsResponse, <-chan error)
ListTagsWithChan invokes the push.ListTags API asynchronously api document: https://help.aliyun.com/api/push/listtags.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) Push ¶
func (client *Client) Push(request *PushRequest) (response *PushResponse, err error)
Push invokes the push.Push API synchronously api document: https://help.aliyun.com/api/push/push.html
func (*Client) PushMessageToAndroid ¶
func (client *Client) PushMessageToAndroid(request *PushMessageToAndroidRequest) (response *PushMessageToAndroidResponse, err error)
PushMessageToAndroid invokes the push.PushMessageToAndroid API synchronously api document: https://help.aliyun.com/api/push/pushmessagetoandroid.html
func (*Client) PushMessageToAndroidWithCallback ¶
func (client *Client) PushMessageToAndroidWithCallback(request *PushMessageToAndroidRequest, callback func(response *PushMessageToAndroidResponse, err error)) <-chan int
PushMessageToAndroidWithCallback invokes the push.PushMessageToAndroid API asynchronously api document: https://help.aliyun.com/api/push/pushmessagetoandroid.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) PushMessageToAndroidWithChan ¶
func (client *Client) PushMessageToAndroidWithChan(request *PushMessageToAndroidRequest) (<-chan *PushMessageToAndroidResponse, <-chan error)
PushMessageToAndroidWithChan invokes the push.PushMessageToAndroid API asynchronously api document: https://help.aliyun.com/api/push/pushmessagetoandroid.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) PushMessageToiOS ¶
func (client *Client) PushMessageToiOS(request *PushMessageToiOSRequest) (response *PushMessageToiOSResponse, err error)
PushMessageToiOS invokes the push.PushMessageToiOS API synchronously api document: https://help.aliyun.com/api/push/pushmessagetoios.html
func (*Client) PushMessageToiOSWithCallback ¶
func (client *Client) PushMessageToiOSWithCallback(request *PushMessageToiOSRequest, callback func(response *PushMessageToiOSResponse, err error)) <-chan int
PushMessageToiOSWithCallback invokes the push.PushMessageToiOS API asynchronously api document: https://help.aliyun.com/api/push/pushmessagetoios.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) PushMessageToiOSWithChan ¶
func (client *Client) PushMessageToiOSWithChan(request *PushMessageToiOSRequest) (<-chan *PushMessageToiOSResponse, <-chan error)
PushMessageToiOSWithChan invokes the push.PushMessageToiOS API asynchronously api document: https://help.aliyun.com/api/push/pushmessagetoios.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) PushNoticeToAndroid ¶
func (client *Client) PushNoticeToAndroid(request *PushNoticeToAndroidRequest) (response *PushNoticeToAndroidResponse, err error)
PushNoticeToAndroid invokes the push.PushNoticeToAndroid API synchronously api document: https://help.aliyun.com/api/push/pushnoticetoandroid.html
func (*Client) PushNoticeToAndroidWithCallback ¶
func (client *Client) PushNoticeToAndroidWithCallback(request *PushNoticeToAndroidRequest, callback func(response *PushNoticeToAndroidResponse, err error)) <-chan int
PushNoticeToAndroidWithCallback invokes the push.PushNoticeToAndroid API asynchronously api document: https://help.aliyun.com/api/push/pushnoticetoandroid.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) PushNoticeToAndroidWithChan ¶
func (client *Client) PushNoticeToAndroidWithChan(request *PushNoticeToAndroidRequest) (<-chan *PushNoticeToAndroidResponse, <-chan error)
PushNoticeToAndroidWithChan invokes the push.PushNoticeToAndroid API asynchronously api document: https://help.aliyun.com/api/push/pushnoticetoandroid.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) PushNoticeToiOS ¶
func (client *Client) PushNoticeToiOS(request *PushNoticeToiOSRequest) (response *PushNoticeToiOSResponse, err error)
PushNoticeToiOS invokes the push.PushNoticeToiOS API synchronously api document: https://help.aliyun.com/api/push/pushnoticetoios.html
func (*Client) PushNoticeToiOSWithCallback ¶
func (client *Client) PushNoticeToiOSWithCallback(request *PushNoticeToiOSRequest, callback func(response *PushNoticeToiOSResponse, err error)) <-chan int
PushNoticeToiOSWithCallback invokes the push.PushNoticeToiOS API asynchronously api document: https://help.aliyun.com/api/push/pushnoticetoios.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) PushNoticeToiOSWithChan ¶
func (client *Client) PushNoticeToiOSWithChan(request *PushNoticeToiOSRequest) (<-chan *PushNoticeToiOSResponse, <-chan error)
PushNoticeToiOSWithChan invokes the push.PushNoticeToiOS API asynchronously api document: https://help.aliyun.com/api/push/pushnoticetoios.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) PushWithCallback ¶
func (client *Client) PushWithCallback(request *PushRequest, callback func(response *PushResponse, err error)) <-chan int
PushWithCallback invokes the push.Push API asynchronously api document: https://help.aliyun.com/api/push/push.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) PushWithChan ¶
func (client *Client) PushWithChan(request *PushRequest) (<-chan *PushResponse, <-chan error)
PushWithChan invokes the push.Push API asynchronously api document: https://help.aliyun.com/api/push/push.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) QueryAliases ¶
func (client *Client) QueryAliases(request *QueryAliasesRequest) (response *QueryAliasesResponse, err error)
QueryAliases invokes the push.QueryAliases API synchronously api document: https://help.aliyun.com/api/push/queryaliases.html
func (*Client) QueryAliasesWithCallback ¶
func (client *Client) QueryAliasesWithCallback(request *QueryAliasesRequest, callback func(response *QueryAliasesResponse, err error)) <-chan int
QueryAliasesWithCallback invokes the push.QueryAliases API asynchronously api document: https://help.aliyun.com/api/push/queryaliases.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) QueryAliasesWithChan ¶
func (client *Client) QueryAliasesWithChan(request *QueryAliasesRequest) (<-chan *QueryAliasesResponse, <-chan error)
QueryAliasesWithChan invokes the push.QueryAliases API asynchronously api document: https://help.aliyun.com/api/push/queryaliases.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) QueryDeviceInfo ¶
func (client *Client) QueryDeviceInfo(request *QueryDeviceInfoRequest) (response *QueryDeviceInfoResponse, err error)
QueryDeviceInfo invokes the push.QueryDeviceInfo API synchronously api document: https://help.aliyun.com/api/push/querydeviceinfo.html
func (*Client) QueryDeviceInfoWithCallback ¶
func (client *Client) QueryDeviceInfoWithCallback(request *QueryDeviceInfoRequest, callback func(response *QueryDeviceInfoResponse, err error)) <-chan int
QueryDeviceInfoWithCallback invokes the push.QueryDeviceInfo API asynchronously api document: https://help.aliyun.com/api/push/querydeviceinfo.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) QueryDeviceInfoWithChan ¶
func (client *Client) QueryDeviceInfoWithChan(request *QueryDeviceInfoRequest) (<-chan *QueryDeviceInfoResponse, <-chan error)
QueryDeviceInfoWithChan invokes the push.QueryDeviceInfo API asynchronously api document: https://help.aliyun.com/api/push/querydeviceinfo.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) QueryDeviceStat ¶
func (client *Client) QueryDeviceStat(request *QueryDeviceStatRequest) (response *QueryDeviceStatResponse, err error)
QueryDeviceStat invokes the push.QueryDeviceStat API synchronously api document: https://help.aliyun.com/api/push/querydevicestat.html
func (*Client) QueryDeviceStatWithCallback ¶
func (client *Client) QueryDeviceStatWithCallback(request *QueryDeviceStatRequest, callback func(response *QueryDeviceStatResponse, err error)) <-chan int
QueryDeviceStatWithCallback invokes the push.QueryDeviceStat API asynchronously api document: https://help.aliyun.com/api/push/querydevicestat.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) QueryDeviceStatWithChan ¶
func (client *Client) QueryDeviceStatWithChan(request *QueryDeviceStatRequest) (<-chan *QueryDeviceStatResponse, <-chan error)
QueryDeviceStatWithChan invokes the push.QueryDeviceStat API asynchronously api document: https://help.aliyun.com/api/push/querydevicestat.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) QueryDevicesByAccount ¶
func (client *Client) QueryDevicesByAccount(request *QueryDevicesByAccountRequest) (response *QueryDevicesByAccountResponse, err error)
QueryDevicesByAccount invokes the push.QueryDevicesByAccount API synchronously api document: https://help.aliyun.com/api/push/querydevicesbyaccount.html
func (*Client) QueryDevicesByAccountWithCallback ¶
func (client *Client) QueryDevicesByAccountWithCallback(request *QueryDevicesByAccountRequest, callback func(response *QueryDevicesByAccountResponse, err error)) <-chan int
QueryDevicesByAccountWithCallback invokes the push.QueryDevicesByAccount API asynchronously api document: https://help.aliyun.com/api/push/querydevicesbyaccount.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) QueryDevicesByAccountWithChan ¶
func (client *Client) QueryDevicesByAccountWithChan(request *QueryDevicesByAccountRequest) (<-chan *QueryDevicesByAccountResponse, <-chan error)
QueryDevicesByAccountWithChan invokes the push.QueryDevicesByAccount API asynchronously api document: https://help.aliyun.com/api/push/querydevicesbyaccount.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) QueryDevicesByAlias ¶
func (client *Client) QueryDevicesByAlias(request *QueryDevicesByAliasRequest) (response *QueryDevicesByAliasResponse, err error)
QueryDevicesByAlias invokes the push.QueryDevicesByAlias API synchronously api document: https://help.aliyun.com/api/push/querydevicesbyalias.html
func (*Client) QueryDevicesByAliasWithCallback ¶
func (client *Client) QueryDevicesByAliasWithCallback(request *QueryDevicesByAliasRequest, callback func(response *QueryDevicesByAliasResponse, err error)) <-chan int
QueryDevicesByAliasWithCallback invokes the push.QueryDevicesByAlias API asynchronously api document: https://help.aliyun.com/api/push/querydevicesbyalias.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) QueryDevicesByAliasWithChan ¶
func (client *Client) QueryDevicesByAliasWithChan(request *QueryDevicesByAliasRequest) (<-chan *QueryDevicesByAliasResponse, <-chan error)
QueryDevicesByAliasWithChan invokes the push.QueryDevicesByAlias API asynchronously api document: https://help.aliyun.com/api/push/querydevicesbyalias.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) QueryPushList ¶
func (client *Client) QueryPushList(request *QueryPushListRequest) (response *QueryPushListResponse, err error)
QueryPushList invokes the push.QueryPushList API synchronously api document: https://help.aliyun.com/api/push/querypushlist.html
func (*Client) QueryPushListWithCallback ¶
func (client *Client) QueryPushListWithCallback(request *QueryPushListRequest, callback func(response *QueryPushListResponse, err error)) <-chan int
QueryPushListWithCallback invokes the push.QueryPushList API asynchronously api document: https://help.aliyun.com/api/push/querypushlist.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) QueryPushListWithChan ¶
func (client *Client) QueryPushListWithChan(request *QueryPushListRequest) (<-chan *QueryPushListResponse, <-chan error)
QueryPushListWithChan invokes the push.QueryPushList API asynchronously api document: https://help.aliyun.com/api/push/querypushlist.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) QueryPushStatByApp ¶
func (client *Client) QueryPushStatByApp(request *QueryPushStatByAppRequest) (response *QueryPushStatByAppResponse, err error)
QueryPushStatByApp invokes the push.QueryPushStatByApp API synchronously api document: https://help.aliyun.com/api/push/querypushstatbyapp.html
func (*Client) QueryPushStatByAppWithCallback ¶
func (client *Client) QueryPushStatByAppWithCallback(request *QueryPushStatByAppRequest, callback func(response *QueryPushStatByAppResponse, err error)) <-chan int
QueryPushStatByAppWithCallback invokes the push.QueryPushStatByApp API asynchronously api document: https://help.aliyun.com/api/push/querypushstatbyapp.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) QueryPushStatByAppWithChan ¶
func (client *Client) QueryPushStatByAppWithChan(request *QueryPushStatByAppRequest) (<-chan *QueryPushStatByAppResponse, <-chan error)
QueryPushStatByAppWithChan invokes the push.QueryPushStatByApp API asynchronously api document: https://help.aliyun.com/api/push/querypushstatbyapp.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) QueryPushStatByMsg ¶
func (client *Client) QueryPushStatByMsg(request *QueryPushStatByMsgRequest) (response *QueryPushStatByMsgResponse, err error)
QueryPushStatByMsg invokes the push.QueryPushStatByMsg API synchronously api document: https://help.aliyun.com/api/push/querypushstatbymsg.html
func (*Client) QueryPushStatByMsgWithCallback ¶
func (client *Client) QueryPushStatByMsgWithCallback(request *QueryPushStatByMsgRequest, callback func(response *QueryPushStatByMsgResponse, err error)) <-chan int
QueryPushStatByMsgWithCallback invokes the push.QueryPushStatByMsg API asynchronously api document: https://help.aliyun.com/api/push/querypushstatbymsg.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) QueryPushStatByMsgWithChan ¶
func (client *Client) QueryPushStatByMsgWithChan(request *QueryPushStatByMsgRequest) (<-chan *QueryPushStatByMsgResponse, <-chan error)
QueryPushStatByMsgWithChan invokes the push.QueryPushStatByMsg API asynchronously api document: https://help.aliyun.com/api/push/querypushstatbymsg.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) QueryTags ¶
func (client *Client) QueryTags(request *QueryTagsRequest) (response *QueryTagsResponse, err error)
QueryTags invokes the push.QueryTags API synchronously api document: https://help.aliyun.com/api/push/querytags.html
func (*Client) QueryTagsWithCallback ¶
func (client *Client) QueryTagsWithCallback(request *QueryTagsRequest, callback func(response *QueryTagsResponse, err error)) <-chan int
QueryTagsWithCallback invokes the push.QueryTags API asynchronously api document: https://help.aliyun.com/api/push/querytags.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) QueryTagsWithChan ¶
func (client *Client) QueryTagsWithChan(request *QueryTagsRequest) (<-chan *QueryTagsResponse, <-chan error)
QueryTagsWithChan invokes the push.QueryTags API asynchronously api document: https://help.aliyun.com/api/push/querytags.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) QueryUniqueDeviceStat ¶
func (client *Client) QueryUniqueDeviceStat(request *QueryUniqueDeviceStatRequest) (response *QueryUniqueDeviceStatResponse, err error)
QueryUniqueDeviceStat invokes the push.QueryUniqueDeviceStat API synchronously api document: https://help.aliyun.com/api/push/queryuniquedevicestat.html
func (*Client) QueryUniqueDeviceStatWithCallback ¶
func (client *Client) QueryUniqueDeviceStatWithCallback(request *QueryUniqueDeviceStatRequest, callback func(response *QueryUniqueDeviceStatResponse, err error)) <-chan int
QueryUniqueDeviceStatWithCallback invokes the push.QueryUniqueDeviceStat API asynchronously api document: https://help.aliyun.com/api/push/queryuniquedevicestat.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) QueryUniqueDeviceStatWithChan ¶
func (client *Client) QueryUniqueDeviceStatWithChan(request *QueryUniqueDeviceStatRequest) (<-chan *QueryUniqueDeviceStatResponse, <-chan error)
QueryUniqueDeviceStatWithChan invokes the push.QueryUniqueDeviceStat API asynchronously api document: https://help.aliyun.com/api/push/queryuniquedevicestat.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) RemoveTag ¶
func (client *Client) RemoveTag(request *RemoveTagRequest) (response *RemoveTagResponse, err error)
RemoveTag invokes the push.RemoveTag API synchronously api document: https://help.aliyun.com/api/push/removetag.html
func (*Client) RemoveTagWithCallback ¶
func (client *Client) RemoveTagWithCallback(request *RemoveTagRequest, callback func(response *RemoveTagResponse, err error)) <-chan int
RemoveTagWithCallback invokes the push.RemoveTag API asynchronously api document: https://help.aliyun.com/api/push/removetag.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) RemoveTagWithChan ¶
func (client *Client) RemoveTagWithChan(request *RemoveTagRequest) (<-chan *RemoveTagResponse, <-chan error)
RemoveTagWithChan invokes the push.RemoveTag API asynchronously api document: https://help.aliyun.com/api/push/removetag.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) UnbindAlias ¶
func (client *Client) UnbindAlias(request *UnbindAliasRequest) (response *UnbindAliasResponse, err error)
UnbindAlias invokes the push.UnbindAlias API synchronously api document: https://help.aliyun.com/api/push/unbindalias.html
func (*Client) UnbindAliasWithCallback ¶
func (client *Client) UnbindAliasWithCallback(request *UnbindAliasRequest, callback func(response *UnbindAliasResponse, err error)) <-chan int
UnbindAliasWithCallback invokes the push.UnbindAlias API asynchronously api document: https://help.aliyun.com/api/push/unbindalias.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) UnbindAliasWithChan ¶
func (client *Client) UnbindAliasWithChan(request *UnbindAliasRequest) (<-chan *UnbindAliasResponse, <-chan error)
UnbindAliasWithChan invokes the push.UnbindAlias API asynchronously api document: https://help.aliyun.com/api/push/unbindalias.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) UnbindPhone ¶
func (client *Client) UnbindPhone(request *UnbindPhoneRequest) (response *UnbindPhoneResponse, err error)
UnbindPhone invokes the push.UnbindPhone API synchronously api document: https://help.aliyun.com/api/push/unbindphone.html
func (*Client) UnbindPhoneWithCallback ¶
func (client *Client) UnbindPhoneWithCallback(request *UnbindPhoneRequest, callback func(response *UnbindPhoneResponse, err error)) <-chan int
UnbindPhoneWithCallback invokes the push.UnbindPhone API asynchronously api document: https://help.aliyun.com/api/push/unbindphone.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) UnbindPhoneWithChan ¶
func (client *Client) UnbindPhoneWithChan(request *UnbindPhoneRequest) (<-chan *UnbindPhoneResponse, <-chan error)
UnbindPhoneWithChan invokes the push.UnbindPhone API asynchronously api document: https://help.aliyun.com/api/push/unbindphone.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) UnbindTag ¶
func (client *Client) UnbindTag(request *UnbindTagRequest) (response *UnbindTagResponse, err error)
UnbindTag invokes the push.UnbindTag API synchronously api document: https://help.aliyun.com/api/push/unbindtag.html
func (*Client) UnbindTagWithCallback ¶
func (client *Client) UnbindTagWithCallback(request *UnbindTagRequest, callback func(response *UnbindTagResponse, err error)) <-chan int
UnbindTagWithCallback invokes the push.UnbindTag API asynchronously api document: https://help.aliyun.com/api/push/unbindtag.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) UnbindTagWithChan ¶
func (client *Client) UnbindTagWithChan(request *UnbindTagRequest) (<-chan *UnbindTagResponse, <-chan error)
UnbindTagWithChan invokes the push.UnbindTag API asynchronously api document: https://help.aliyun.com/api/push/unbindtag.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
type ListPushRecordsPushMessageInfo1 ¶
type ListPushRecordsPushMessageInfo1 struct { AppKey int64 `json:"AppKey" xml:"AppKey"` AppName string `json:"AppName" xml:"AppName"` MessageId string `json:"MessageId" xml:"MessageId"` Type string `json:"Type" xml:"Type"` DeviceType string `json:"DeviceType" xml:"DeviceType"` PushTime string `json:"PushTime" xml:"PushTime"` Title string `json:"Title" xml:"Title"` Body string `json:"Body" xml:"Body"` }
type ListPushRecordsPushMessageInfos0 ¶
type ListPushRecordsPushMessageInfos0 struct {
PushMessageInfo []ListPushRecordsPushMessageInfo1 `json:"PushMessageInfo" xml:"PushMessageInfo"`
}
type ListPushRecordsRequest ¶
type ListPushRecordsRequest struct { *requests.RpcRequest AccessKeyId string `position:"Query" name:"AccessKeyId"` AppKey requests.Integer `position:"Query" name:"AppKey"` PushType string `position:"Query" name:"PushType"` StartTime string `position:"Query" name:"StartTime"` EndTime string `position:"Query" name:"EndTime"` Page requests.Integer `position:"Query" name:"Page"` PageSize requests.Integer `position:"Query" name:"PageSize"` }
ListPushRecordsRequest is the request struct for api ListPushRecords
func CreateListPushRecordsRequest ¶
func CreateListPushRecordsRequest() (request *ListPushRecordsRequest)
CreateListPushRecordsRequest creates a request to invoke ListPushRecords API
type ListPushRecordsResponse ¶
type ListPushRecordsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Total int `json:"Total" xml:"Total"` Page int `json:"Page" xml:"Page"` PageSize int `json:"PageSize" xml:"PageSize"` PushMessageInfos ListPushRecordsPushMessageInfos0 `json:"PushMessageInfos" xml:"PushMessageInfos"` }
ListPushRecordsResponse is the response struct for api ListPushRecords
func CreateListPushRecordsResponse ¶
func CreateListPushRecordsResponse() (response *ListPushRecordsResponse)
CreateListPushRecordsResponse creates a response to parse from ListPushRecords response
type ListSummaryAppsRequest ¶
type ListSummaryAppsRequest struct { *requests.RpcRequest AccessKeyId string `position:"Query" name:"AccessKeyId"` }
ListSummaryAppsRequest is the request struct for api ListSummaryApps
func CreateListSummaryAppsRequest ¶
func CreateListSummaryAppsRequest() (request *ListSummaryAppsRequest)
CreateListSummaryAppsRequest creates a request to invoke ListSummaryApps API
type ListSummaryAppsResponse ¶
type ListSummaryAppsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` SummaryAppInfos ListSummaryAppsSummaryAppInfos0 `json:"SummaryAppInfos" xml:"SummaryAppInfos"` }
ListSummaryAppsResponse is the response struct for api ListSummaryApps
func CreateListSummaryAppsResponse ¶
func CreateListSummaryAppsResponse() (response *ListSummaryAppsResponse)
CreateListSummaryAppsResponse creates a response to parse from ListSummaryApps response
type ListSummaryAppsSummaryAppInfos0 ¶
type ListSummaryAppsSummaryAppInfos0 struct {
SummaryAppInfo []ListSummaryAppsSummaryAppInfo1 `json:"SummaryAppInfo" xml:"SummaryAppInfo"`
}
type ListTagsRequest ¶
type ListTagsRequest struct { *requests.RpcRequest AccessKeyId string `position:"Query" name:"AccessKeyId"` AppKey requests.Integer `position:"Query" name:"AppKey"` }
ListTagsRequest is the request struct for api ListTags
func CreateListTagsRequest ¶
func CreateListTagsRequest() (request *ListTagsRequest)
CreateListTagsRequest creates a request to invoke ListTags API
type ListTagsResponse ¶
type ListTagsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` TagInfos ListTagsTagInfos0 `json:"TagInfos" xml:"TagInfos"` }
ListTagsResponse is the response struct for api ListTags
func CreateListTagsResponse ¶
func CreateListTagsResponse() (response *ListTagsResponse)
CreateListTagsResponse creates a response to parse from ListTags response
type ListTagsTagInfo1 ¶
type ListTagsTagInfo1 struct {
TagName string `json:"TagName" xml:"TagName"`
}
type ListTagsTagInfos0 ¶
type ListTagsTagInfos0 struct {
TagInfo []ListTagsTagInfo1 `json:"TagInfo" xml:"TagInfo"`
}
type PushMessageToAndroidRequest ¶
type PushMessageToAndroidRequest struct { *requests.RpcRequest AccessKeyId string `position:"Query" name:"AccessKeyId"` AppKey requests.Integer `position:"Query" name:"AppKey"` Target string `position:"Query" name:"Target"` TargetValue string `position:"Query" name:"TargetValue"` Title string `position:"Query" name:"Title"` Body string `position:"Query" name:"Body"` JobKey string `position:"Query" name:"JobKey"` }
PushMessageToAndroidRequest is the request struct for api PushMessageToAndroid
func CreatePushMessageToAndroidRequest ¶
func CreatePushMessageToAndroidRequest() (request *PushMessageToAndroidRequest)
CreatePushMessageToAndroidRequest creates a request to invoke PushMessageToAndroid API
type PushMessageToAndroidResponse ¶
type PushMessageToAndroidResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` MessageId string `json:"MessageId" xml:"MessageId"` }
PushMessageToAndroidResponse is the response struct for api PushMessageToAndroid
func CreatePushMessageToAndroidResponse ¶
func CreatePushMessageToAndroidResponse() (response *PushMessageToAndroidResponse)
CreatePushMessageToAndroidResponse creates a response to parse from PushMessageToAndroid response
type PushMessageToiOSRequest ¶
type PushMessageToiOSRequest struct { *requests.RpcRequest AccessKeyId string `position:"Query" name:"AccessKeyId"` AppKey requests.Integer `position:"Query" name:"AppKey"` Target string `position:"Query" name:"Target"` TargetValue string `position:"Query" name:"TargetValue"` Title string `position:"Query" name:"Title"` Body string `position:"Query" name:"Body"` JobKey string `position:"Query" name:"JobKey"` }
PushMessageToiOSRequest is the request struct for api PushMessageToiOS
func CreatePushMessageToiOSRequest ¶
func CreatePushMessageToiOSRequest() (request *PushMessageToiOSRequest)
CreatePushMessageToiOSRequest creates a request to invoke PushMessageToiOS API
type PushMessageToiOSResponse ¶
type PushMessageToiOSResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` MessageId string `json:"MessageId" xml:"MessageId"` }
PushMessageToiOSResponse is the response struct for api PushMessageToiOS
func CreatePushMessageToiOSResponse ¶
func CreatePushMessageToiOSResponse() (response *PushMessageToiOSResponse)
CreatePushMessageToiOSResponse creates a response to parse from PushMessageToiOS response
type PushNoticeToAndroidRequest ¶
type PushNoticeToAndroidRequest struct { *requests.RpcRequest AccessKeyId string `position:"Query" name:"AccessKeyId"` AppKey requests.Integer `position:"Query" name:"AppKey"` Target string `position:"Query" name:"Target"` TargetValue string `position:"Query" name:"TargetValue"` Title string `position:"Query" name:"Title"` Body string `position:"Query" name:"Body"` JobKey string `position:"Query" name:"JobKey"` ExtParameters string `position:"Query" name:"ExtParameters"` }
PushNoticeToAndroidRequest is the request struct for api PushNoticeToAndroid
func CreatePushNoticeToAndroidRequest ¶
func CreatePushNoticeToAndroidRequest() (request *PushNoticeToAndroidRequest)
CreatePushNoticeToAndroidRequest creates a request to invoke PushNoticeToAndroid API
type PushNoticeToAndroidResponse ¶
type PushNoticeToAndroidResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` MessageId string `json:"MessageId" xml:"MessageId"` }
PushNoticeToAndroidResponse is the response struct for api PushNoticeToAndroid
func CreatePushNoticeToAndroidResponse ¶
func CreatePushNoticeToAndroidResponse() (response *PushNoticeToAndroidResponse)
CreatePushNoticeToAndroidResponse creates a response to parse from PushNoticeToAndroid response
type PushNoticeToiOSRequest ¶
type PushNoticeToiOSRequest struct { *requests.RpcRequest AccessKeyId string `position:"Query" name:"AccessKeyId"` AppKey requests.Integer `position:"Query" name:"AppKey"` Target string `position:"Query" name:"Target"` TargetValue string `position:"Query" name:"TargetValue"` ApnsEnv string `position:"Query" name:"ApnsEnv"` Title string `position:"Query" name:"Title"` Body string `position:"Query" name:"Body"` JobKey string `position:"Query" name:"JobKey"` ExtParameters string `position:"Query" name:"ExtParameters"` }
PushNoticeToiOSRequest is the request struct for api PushNoticeToiOS
func CreatePushNoticeToiOSRequest ¶
func CreatePushNoticeToiOSRequest() (request *PushNoticeToiOSRequest)
CreatePushNoticeToiOSRequest creates a request to invoke PushNoticeToiOS API
type PushNoticeToiOSResponse ¶
type PushNoticeToiOSResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` MessageId string `json:"MessageId" xml:"MessageId"` }
PushNoticeToiOSResponse is the response struct for api PushNoticeToiOS
func CreatePushNoticeToiOSResponse ¶
func CreatePushNoticeToiOSResponse() (response *PushNoticeToiOSResponse)
CreatePushNoticeToiOSResponse creates a response to parse from PushNoticeToiOS response
type PushRequest ¶
type PushRequest struct { *requests.RpcRequest AccessKeyId string `position:"Query" name:"AccessKeyId"` AppKey requests.Integer `position:"Query" name:"AppKey"` PushType string `position:"Query" name:"PushType"` DeviceType string `position:"Query" name:"DeviceType"` Target string `position:"Query" name:"Target"` TargetValue string `position:"Query" name:"TargetValue"` Title string `position:"Query" name:"Title"` Body string `position:"Query" name:"Body"` JobKey string `position:"Query" name:"JobKey"` SendSpeed requests.Integer `position:"Query" name:"SendSpeed"` StoreOffline requests.Boolean `position:"Query" name:"StoreOffline"` PushTime string `position:"Query" name:"PushTime"` ExpireTime string `position:"Query" name:"ExpireTime"` IOSApnsEnv string `position:"Query" name:"IOSApnsEnv"` IOSRemind requests.Boolean `position:"Query" name:"IOSRemind"` IOSRemindBody string `position:"Query" name:"IOSRemindBody"` IOSBadge requests.Integer `position:"Query" name:"IOSBadge"` IOSBadgeAutoIncrement requests.Boolean `position:"Query" name:"IOSBadgeAutoIncrement"` IOSSilentNotification requests.Boolean `position:"Query" name:"IOSSilentNotification"` IOSMusic string `position:"Query" name:"IOSMusic"` IOSSubtitle string `position:"Query" name:"IOSSubtitle"` IOSNotificationCategory string `position:"Query" name:"IOSNotificationCategory"` IOSMutableContent requests.Boolean `position:"Query" name:"IOSMutableContent"` IOSExtParameters string `position:"Query" name:"IOSExtParameters"` AndroidNotifyType string `position:"Query" name:"AndroidNotifyType"` AndroidOpenType string `position:"Query" name:"AndroidOpenType"` AndroidActivity string `position:"Query" name:"AndroidActivity"` AndroidMusic string `position:"Query" name:"AndroidMusic"` AndroidOpenUrl string `position:"Query" name:"AndroidOpenUrl"` AndroidXiaoMiActivity string `position:"Query" name:"AndroidXiaoMiActivity"` AndroidXiaoMiNotifyTitle string `position:"Query" name:"AndroidXiaoMiNotifyTitle"` AndroidXiaoMiNotifyBody string `position:"Query" name:"AndroidXiaoMiNotifyBody"` AndroidPopupActivity string `position:"Query" name:"AndroidPopupActivity"` AndroidPopupTitle string `position:"Query" name:"AndroidPopupTitle"` AndroidPopupBody string `position:"Query" name:"AndroidPopupBody"` AndroidNotificationBarType requests.Integer `position:"Query" name:"AndroidNotificationBarType"` AndroidNotificationBarPriority requests.Integer `position:"Query" name:"AndroidNotificationBarPriority"` AndroidExtParameters string `position:"Query" name:"AndroidExtParameters"` AndroidRemind requests.Boolean `position:"Query" name:"AndroidRemind"` AndroidNotificationChannel string `position:"Query" name:"AndroidNotificationChannel"` SmsTemplateName string `position:"Query" name:"SmsTemplateName"` SmsSignName string `position:"Query" name:"SmsSignName"` SmsParams string `position:"Query" name:"SmsParams"` SmsDelaySecs requests.Integer `position:"Query" name:"SmsDelaySecs"` SmsSendPolicy requests.Integer `position:"Query" name:"SmsSendPolicy"` }
PushRequest is the request struct for api Push
func CreatePushRequest ¶
func CreatePushRequest() (request *PushRequest)
CreatePushRequest creates a request to invoke Push API
type PushResponse ¶
type PushResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` MessageId string `json:"MessageId" xml:"MessageId"` }
PushResponse is the response struct for api Push
func CreatePushResponse ¶
func CreatePushResponse() (response *PushResponse)
CreatePushResponse creates a response to parse from Push response
type QueryAliasesAliasInfo1 ¶
type QueryAliasesAliasInfo1 struct {
AliasName string `json:"AliasName" xml:"AliasName"`
}
type QueryAliasesAliasInfos0 ¶
type QueryAliasesAliasInfos0 struct {
AliasInfo []QueryAliasesAliasInfo1 `json:"AliasInfo" xml:"AliasInfo"`
}
type QueryAliasesRequest ¶
type QueryAliasesRequest struct { *requests.RpcRequest AccessKeyId string `position:"Query" name:"AccessKeyId"` AppKey requests.Integer `position:"Query" name:"AppKey"` DeviceId string `position:"Query" name:"DeviceId"` }
QueryAliasesRequest is the request struct for api QueryAliases
func CreateQueryAliasesRequest ¶
func CreateQueryAliasesRequest() (request *QueryAliasesRequest)
CreateQueryAliasesRequest creates a request to invoke QueryAliases API
type QueryAliasesResponse ¶
type QueryAliasesResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` AliasInfos QueryAliasesAliasInfos0 `json:"AliasInfos" xml:"AliasInfos"` }
QueryAliasesResponse is the response struct for api QueryAliases
func CreateQueryAliasesResponse ¶
func CreateQueryAliasesResponse() (response *QueryAliasesResponse)
CreateQueryAliasesResponse creates a response to parse from QueryAliases response
type QueryDeviceInfoDeviceInfo0 ¶
type QueryDeviceInfoDeviceInfo0 struct { DeviceId string `json:"DeviceId" xml:"DeviceId"` DeviceType string `json:"DeviceType" xml:"DeviceType"` Account string `json:"Account" xml:"Account"` DeviceToken string `json:"DeviceToken" xml:"DeviceToken"` Tags string `json:"Tags" xml:"Tags"` Alias string `json:"Alias" xml:"Alias"` LastOnlineTime string `json:"LastOnlineTime" xml:"LastOnlineTime"` Online bool `json:"Online" xml:"Online"` PhoneNumber string `json:"PhoneNumber" xml:"PhoneNumber"` PushEnabled bool `json:"PushEnabled" xml:"PushEnabled"` }
type QueryDeviceInfoRequest ¶
type QueryDeviceInfoRequest struct { *requests.RpcRequest AccessKeyId string `position:"Query" name:"AccessKeyId"` AppKey requests.Integer `position:"Query" name:"AppKey"` DeviceId string `position:"Query" name:"DeviceId"` }
QueryDeviceInfoRequest is the request struct for api QueryDeviceInfo
func CreateQueryDeviceInfoRequest ¶
func CreateQueryDeviceInfoRequest() (request *QueryDeviceInfoRequest)
CreateQueryDeviceInfoRequest creates a request to invoke QueryDeviceInfo API
type QueryDeviceInfoResponse ¶
type QueryDeviceInfoResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` DeviceInfo QueryDeviceInfoDeviceInfo0 `json:"DeviceInfo" xml:"DeviceInfo"` }
QueryDeviceInfoResponse is the response struct for api QueryDeviceInfo
func CreateQueryDeviceInfoResponse ¶
func CreateQueryDeviceInfoResponse() (response *QueryDeviceInfoResponse)
CreateQueryDeviceInfoResponse creates a response to parse from QueryDeviceInfo response
type QueryDeviceStatAppDeviceStats0 ¶
type QueryDeviceStatAppDeviceStats0 struct {
AppDeviceStat []QueryDeviceStatAppDeviceStat1 `json:"AppDeviceStat" xml:"AppDeviceStat"`
}
type QueryDeviceStatRequest ¶
type QueryDeviceStatRequest struct { *requests.RpcRequest AccessKeyId string `position:"Query" name:"AccessKeyId"` AppKey requests.Integer `position:"Query" name:"AppKey"` StartTime string `position:"Query" name:"StartTime"` EndTime string `position:"Query" name:"EndTime"` DeviceType string `position:"Query" name:"DeviceType"` QueryType string `position:"Query" name:"QueryType"` }
QueryDeviceStatRequest is the request struct for api QueryDeviceStat
func CreateQueryDeviceStatRequest ¶
func CreateQueryDeviceStatRequest() (request *QueryDeviceStatRequest)
CreateQueryDeviceStatRequest creates a request to invoke QueryDeviceStat API
type QueryDeviceStatResponse ¶
type QueryDeviceStatResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` AppDeviceStats QueryDeviceStatAppDeviceStats0 `json:"AppDeviceStats" xml:"AppDeviceStats"` }
QueryDeviceStatResponse is the response struct for api QueryDeviceStat
func CreateQueryDeviceStatResponse ¶
func CreateQueryDeviceStatResponse() (response *QueryDeviceStatResponse)
CreateQueryDeviceStatResponse creates a response to parse from QueryDeviceStat response
type QueryDevicesByAccountRequest ¶
type QueryDevicesByAccountRequest struct { *requests.RpcRequest AccessKeyId string `position:"Query" name:"AccessKeyId"` AppKey requests.Integer `position:"Query" name:"AppKey"` Account string `position:"Query" name:"Account"` }
QueryDevicesByAccountRequest is the request struct for api QueryDevicesByAccount
func CreateQueryDevicesByAccountRequest ¶
func CreateQueryDevicesByAccountRequest() (request *QueryDevicesByAccountRequest)
CreateQueryDevicesByAccountRequest creates a request to invoke QueryDevicesByAccount API
type QueryDevicesByAccountResponse ¶
type QueryDevicesByAccountResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` DeviceIds []string `json:"DeviceIds" xml:"DeviceIds"` }
QueryDevicesByAccountResponse is the response struct for api QueryDevicesByAccount
func CreateQueryDevicesByAccountResponse ¶
func CreateQueryDevicesByAccountResponse() (response *QueryDevicesByAccountResponse)
CreateQueryDevicesByAccountResponse creates a response to parse from QueryDevicesByAccount response
type QueryDevicesByAliasRequest ¶
type QueryDevicesByAliasRequest struct { *requests.RpcRequest AccessKeyId string `position:"Query" name:"AccessKeyId"` AppKey requests.Integer `position:"Query" name:"AppKey"` Alias string `position:"Query" name:"Alias"` }
QueryDevicesByAliasRequest is the request struct for api QueryDevicesByAlias
func CreateQueryDevicesByAliasRequest ¶
func CreateQueryDevicesByAliasRequest() (request *QueryDevicesByAliasRequest)
CreateQueryDevicesByAliasRequest creates a request to invoke QueryDevicesByAlias API
type QueryDevicesByAliasResponse ¶
type QueryDevicesByAliasResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` DeviceIds []string `json:"DeviceIds" xml:"DeviceIds"` }
QueryDevicesByAliasResponse is the response struct for api QueryDevicesByAlias
func CreateQueryDevicesByAliasResponse ¶
func CreateQueryDevicesByAliasResponse() (response *QueryDevicesByAliasResponse)
CreateQueryDevicesByAliasResponse creates a response to parse from QueryDevicesByAlias response
type QueryPushListPushMessageInfo1 ¶
type QueryPushListPushMessageInfo1 struct { AppKey int64 `json:"AppKey" xml:"AppKey"` AppName string `json:"AppName" xml:"AppName"` MessageId string `json:"MessageId" xml:"MessageId"` Type string `json:"Type" xml:"Type"` DeviceType string `json:"DeviceType" xml:"DeviceType"` PushTime string `json:"PushTime" xml:"PushTime"` Title string `json:"Title" xml:"Title"` Body string `json:"Body" xml:"Body"` }
type QueryPushListPushMessageInfos0 ¶
type QueryPushListPushMessageInfos0 struct {
PushMessageInfo []QueryPushListPushMessageInfo1 `json:"PushMessageInfo" xml:"PushMessageInfo"`
}
type QueryPushListRequest ¶
type QueryPushListRequest struct { *requests.RpcRequest AccessKeyId string `position:"Query" name:"AccessKeyId"` AppKey requests.Integer `position:"Query" name:"AppKey"` PushType string `position:"Query" name:"PushType"` StartTime string `position:"Query" name:"StartTime"` EndTime string `position:"Query" name:"EndTime"` Page requests.Integer `position:"Query" name:"Page"` PageSize requests.Integer `position:"Query" name:"PageSize"` }
QueryPushListRequest is the request struct for api QueryPushList
func CreateQueryPushListRequest ¶
func CreateQueryPushListRequest() (request *QueryPushListRequest)
CreateQueryPushListRequest creates a request to invoke QueryPushList API
type QueryPushListResponse ¶
type QueryPushListResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` HasNext bool `json:"HasNext" xml:"HasNext"` Page int `json:"Page" xml:"Page"` PageSize int `json:"PageSize" xml:"PageSize"` PushMessageInfos QueryPushListPushMessageInfos0 `json:"PushMessageInfos" xml:"PushMessageInfos"` }
QueryPushListResponse is the response struct for api QueryPushList
func CreateQueryPushListResponse ¶
func CreateQueryPushListResponse() (response *QueryPushListResponse)
CreateQueryPushListResponse creates a response to parse from QueryPushList response
type QueryPushStatByAppAppPushStat1 ¶
type QueryPushStatByAppAppPushStat1 struct { Time string `json:"Time" xml:"Time"` AcceptCount int64 `json:"AcceptCount" xml:"AcceptCount"` SentCount int64 `json:"SentCount" xml:"SentCount"` ReceivedCount int64 `json:"ReceivedCount" xml:"ReceivedCount"` OpenedCount int64 `json:"OpenedCount" xml:"OpenedCount"` DeletedCount int64 `json:"DeletedCount" xml:"DeletedCount"` SmsSentCount int64 `json:"SmsSentCount" xml:"SmsSentCount"` SmsSkipCount int64 `json:"SmsSkipCount" xml:"SmsSkipCount"` SmsFailedCount int64 `json:"SmsFailedCount" xml:"SmsFailedCount"` SmsReceiveSuccessCount int64 `json:"SmsReceiveSuccessCount" xml:"SmsReceiveSuccessCount"` SmsReceiveFailedCount int64 `json:"SmsReceiveFailedCount" xml:"SmsReceiveFailedCount"` }
type QueryPushStatByAppAppPushStats0 ¶
type QueryPushStatByAppAppPushStats0 struct {
AppPushStat []QueryPushStatByAppAppPushStat1 `json:"AppPushStat" xml:"AppPushStat"`
}
type QueryPushStatByAppRequest ¶
type QueryPushStatByAppRequest struct { *requests.RpcRequest AccessKeyId string `position:"Query" name:"AccessKeyId"` AppKey requests.Integer `position:"Query" name:"AppKey"` StartTime string `position:"Query" name:"StartTime"` EndTime string `position:"Query" name:"EndTime"` Granularity string `position:"Query" name:"Granularity"` }
QueryPushStatByAppRequest is the request struct for api QueryPushStatByApp
func CreateQueryPushStatByAppRequest ¶
func CreateQueryPushStatByAppRequest() (request *QueryPushStatByAppRequest)
CreateQueryPushStatByAppRequest creates a request to invoke QueryPushStatByApp API
type QueryPushStatByAppResponse ¶
type QueryPushStatByAppResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` AppPushStats QueryPushStatByAppAppPushStats0 `json:"AppPushStats" xml:"AppPushStats"` }
QueryPushStatByAppResponse is the response struct for api QueryPushStatByApp
func CreateQueryPushStatByAppResponse ¶
func CreateQueryPushStatByAppResponse() (response *QueryPushStatByAppResponse)
CreateQueryPushStatByAppResponse creates a response to parse from QueryPushStatByApp response
type QueryPushStatByMsgPushStat1 ¶
type QueryPushStatByMsgPushStat1 struct { MessageId string `json:"MessageId" xml:"MessageId"` AcceptCount int64 `json:"AcceptCount" xml:"AcceptCount"` SentCount int64 `json:"SentCount" xml:"SentCount"` ReceivedCount int64 `json:"ReceivedCount" xml:"ReceivedCount"` OpenedCount int64 `json:"OpenedCount" xml:"OpenedCount"` DeletedCount int64 `json:"DeletedCount" xml:"DeletedCount"` SmsSentCount int64 `json:"SmsSentCount" xml:"SmsSentCount"` SmsSkipCount int64 `json:"SmsSkipCount" xml:"SmsSkipCount"` SmsFailedCount int64 `json:"SmsFailedCount" xml:"SmsFailedCount"` SmsReceiveSuccessCount int64 `json:"SmsReceiveSuccessCount" xml:"SmsReceiveSuccessCount"` SmsReceiveFailedCount int64 `json:"SmsReceiveFailedCount" xml:"SmsReceiveFailedCount"` }
type QueryPushStatByMsgPushStats0 ¶
type QueryPushStatByMsgPushStats0 struct {
PushStat []QueryPushStatByMsgPushStat1 `json:"PushStat" xml:"PushStat"`
}
type QueryPushStatByMsgRequest ¶
type QueryPushStatByMsgRequest struct { *requests.RpcRequest AccessKeyId string `position:"Query" name:"AccessKeyId"` AppKey requests.Integer `position:"Query" name:"AppKey"` MessageId requests.Integer `position:"Query" name:"MessageId"` }
QueryPushStatByMsgRequest is the request struct for api QueryPushStatByMsg
func CreateQueryPushStatByMsgRequest ¶
func CreateQueryPushStatByMsgRequest() (request *QueryPushStatByMsgRequest)
CreateQueryPushStatByMsgRequest creates a request to invoke QueryPushStatByMsg API
type QueryPushStatByMsgResponse ¶
type QueryPushStatByMsgResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` PushStats QueryPushStatByMsgPushStats0 `json:"PushStats" xml:"PushStats"` }
QueryPushStatByMsgResponse is the response struct for api QueryPushStatByMsg
func CreateQueryPushStatByMsgResponse ¶
func CreateQueryPushStatByMsgResponse() (response *QueryPushStatByMsgResponse)
CreateQueryPushStatByMsgResponse creates a response to parse from QueryPushStatByMsg response
type QueryTagsRequest ¶
type QueryTagsRequest struct { *requests.RpcRequest AccessKeyId string `position:"Query" name:"AccessKeyId"` AppKey requests.Integer `position:"Query" name:"AppKey"` ClientKey string `position:"Query" name:"ClientKey"` KeyType string `position:"Query" name:"KeyType"` }
QueryTagsRequest is the request struct for api QueryTags
func CreateQueryTagsRequest ¶
func CreateQueryTagsRequest() (request *QueryTagsRequest)
CreateQueryTagsRequest creates a request to invoke QueryTags API
type QueryTagsResponse ¶
type QueryTagsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` TagInfos QueryTagsTagInfos0 `json:"TagInfos" xml:"TagInfos"` }
QueryTagsResponse is the response struct for api QueryTags
func CreateQueryTagsResponse ¶
func CreateQueryTagsResponse() (response *QueryTagsResponse)
CreateQueryTagsResponse creates a response to parse from QueryTags response
type QueryTagsTagInfo1 ¶
type QueryTagsTagInfo1 struct {
TagName string `json:"TagName" xml:"TagName"`
}
type QueryTagsTagInfos0 ¶
type QueryTagsTagInfos0 struct {
TagInfo []QueryTagsTagInfo1 `json:"TagInfo" xml:"TagInfo"`
}
type QueryUniqueDeviceStatAppDeviceStats0 ¶
type QueryUniqueDeviceStatAppDeviceStats0 struct {
AppDeviceStat []QueryUniqueDeviceStatAppDeviceStat1 `json:"AppDeviceStat" xml:"AppDeviceStat"`
}
type QueryUniqueDeviceStatRequest ¶
type QueryUniqueDeviceStatRequest struct { *requests.RpcRequest AccessKeyId string `position:"Query" name:"AccessKeyId"` AppKey requests.Integer `position:"Query" name:"AppKey"` StartTime string `position:"Query" name:"StartTime"` EndTime string `position:"Query" name:"EndTime"` Granularity string `position:"Query" name:"Granularity"` }
QueryUniqueDeviceStatRequest is the request struct for api QueryUniqueDeviceStat
func CreateQueryUniqueDeviceStatRequest ¶
func CreateQueryUniqueDeviceStatRequest() (request *QueryUniqueDeviceStatRequest)
CreateQueryUniqueDeviceStatRequest creates a request to invoke QueryUniqueDeviceStat API
type QueryUniqueDeviceStatResponse ¶
type QueryUniqueDeviceStatResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` AppDeviceStats QueryUniqueDeviceStatAppDeviceStats0 `json:"AppDeviceStats" xml:"AppDeviceStats"` }
QueryUniqueDeviceStatResponse is the response struct for api QueryUniqueDeviceStat
func CreateQueryUniqueDeviceStatResponse ¶
func CreateQueryUniqueDeviceStatResponse() (response *QueryUniqueDeviceStatResponse)
CreateQueryUniqueDeviceStatResponse creates a response to parse from QueryUniqueDeviceStat response
type RemoveTagRequest ¶
type RemoveTagRequest struct { *requests.RpcRequest AccessKeyId string `position:"Query" name:"AccessKeyId"` AppKey requests.Integer `position:"Query" name:"AppKey"` TagName string `position:"Query" name:"TagName"` }
RemoveTagRequest is the request struct for api RemoveTag
func CreateRemoveTagRequest ¶
func CreateRemoveTagRequest() (request *RemoveTagRequest)
CreateRemoveTagRequest creates a request to invoke RemoveTag API
type RemoveTagResponse ¶
type RemoveTagResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
RemoveTagResponse is the response struct for api RemoveTag
func CreateRemoveTagResponse ¶
func CreateRemoveTagResponse() (response *RemoveTagResponse)
CreateRemoveTagResponse creates a response to parse from RemoveTag response
type UnbindAliasRequest ¶
type UnbindAliasRequest struct { *requests.RpcRequest AccessKeyId string `position:"Query" name:"AccessKeyId"` AppKey requests.Integer `position:"Query" name:"AppKey"` DeviceId string `position:"Query" name:"DeviceId"` AliasName string `position:"Query" name:"AliasName"` UnbindAll requests.Boolean `position:"Query" name:"UnbindAll"` }
UnbindAliasRequest is the request struct for api UnbindAlias
func CreateUnbindAliasRequest ¶
func CreateUnbindAliasRequest() (request *UnbindAliasRequest)
CreateUnbindAliasRequest creates a request to invoke UnbindAlias API
type UnbindAliasResponse ¶
type UnbindAliasResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
UnbindAliasResponse is the response struct for api UnbindAlias
func CreateUnbindAliasResponse ¶
func CreateUnbindAliasResponse() (response *UnbindAliasResponse)
CreateUnbindAliasResponse creates a response to parse from UnbindAlias response
type UnbindPhoneRequest ¶
type UnbindPhoneRequest struct { *requests.RpcRequest AccessKeyId string `position:"Query" name:"AccessKeyId"` AppKey requests.Integer `position:"Query" name:"AppKey"` DeviceId string `position:"Query" name:"DeviceId"` }
UnbindPhoneRequest is the request struct for api UnbindPhone
func CreateUnbindPhoneRequest ¶
func CreateUnbindPhoneRequest() (request *UnbindPhoneRequest)
CreateUnbindPhoneRequest creates a request to invoke UnbindPhone API
type UnbindPhoneResponse ¶
type UnbindPhoneResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
UnbindPhoneResponse is the response struct for api UnbindPhone
func CreateUnbindPhoneResponse ¶
func CreateUnbindPhoneResponse() (response *UnbindPhoneResponse)
CreateUnbindPhoneResponse creates a response to parse from UnbindPhone response
type UnbindTagRequest ¶
type UnbindTagRequest struct { *requests.RpcRequest AccessKeyId string `position:"Query" name:"AccessKeyId"` AppKey requests.Integer `position:"Query" name:"AppKey"` ClientKey string `position:"Query" name:"ClientKey"` KeyType string `position:"Query" name:"KeyType"` TagName string `position:"Query" name:"TagName"` }
UnbindTagRequest is the request struct for api UnbindTag
func CreateUnbindTagRequest ¶
func CreateUnbindTagRequest() (request *UnbindTagRequest)
CreateUnbindTagRequest creates a request to invoke UnbindTag API
type UnbindTagResponse ¶
type UnbindTagResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
UnbindTagResponse is the response struct for api UnbindTag
func CreateUnbindTagResponse ¶
func CreateUnbindTagResponse() (response *UnbindTagResponse)
CreateUnbindTagResponse creates a response to parse from UnbindTag response
Source Files ¶
- bind_alias.go
- bind_phone.go
- bind_tag.go
- cancel_push.go
- check_device.go
- check_devices.go
- client.go
- list_push_records.go
- list_summary_apps.go
- list_tags.go
- push.go
- push_message_to_android_.go
- push_message_to_ios_.go
- push_notice_to_android_.go
- push_notice_to_ios_.go
- query_aliases.go
- query_device_info.go
- query_device_stat.go
- query_devices_by_account.go
- query_devices_by_alias.go
- query_push_list.go
- query_push_stat_by_app.go
- query_push_stat_by_msg.go
- query_tags.go
- query_unique_device_stat.go
- remove_tag.go
- unbind_alias.go
- unbind_phone.go
- unbind_tag.go