Documentation ¶
Index ¶
- Variables
- func GetEndpointMap() map[string]string
- func GetEndpointType() string
- func SetClientProperty(client *Client, propertyName string, propertyValue interface{})
- func SetEndpointDataToClient(client *Client)
- type AliasInfo
- type AliasInfos
- type AppDeviceStat
- type AppDeviceStatsInQueryDeviceStat
- type AppDeviceStatsInQueryUniqueDeviceStat
- type AppPushStat
- type AppPushStats
- type BindAliasRequest
- type BindAliasResponse
- type BindPhoneRequest
- type BindPhoneResponse
- type BindTagRequest
- type BindTagResponse
- type CancelPushRequest
- type CancelPushResponse
- type CheckCertificateRequest
- type CheckCertificateResponse
- type CheckDeviceRequest
- type CheckDeviceResponse
- 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) CheckCertificate(request *CheckCertificateRequest) (response *CheckCertificateResponse, err error)
- func (client *Client) CheckCertificateWithCallback(request *CheckCertificateRequest, ...) <-chan int
- func (client *Client) CheckCertificateWithChan(request *CheckCertificateRequest) (<-chan *CheckCertificateResponse, <-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) CompleteContinuouslyPush(request *CompleteContinuouslyPushRequest) (response *CompleteContinuouslyPushResponse, err error)
- func (client *Client) CompleteContinuouslyPushWithCallback(request *CompleteContinuouslyPushRequest, ...) <-chan int
- func (client *Client) CompleteContinuouslyPushWithChan(request *CompleteContinuouslyPushRequest) (<-chan *CompleteContinuouslyPushResponse, <-chan error)
- func (client *Client) ContinuouslyPush(request *ContinuouslyPushRequest) (response *ContinuouslyPushResponse, err error)
- func (client *Client) ContinuouslyPushWithCallback(request *ContinuouslyPushRequest, ...) <-chan int
- func (client *Client) ContinuouslyPushWithChan(request *ContinuouslyPushRequest) (<-chan *ContinuouslyPushResponse, <-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) MassPush(request *MassPushRequest) (response *MassPushResponse, err error)
- func (client *Client) MassPushWithCallback(request *MassPushRequest, callback func(response *MassPushResponse, err error)) <-chan int
- func (client *Client) MassPushWithChan(request *MassPushRequest) (<-chan *MassPushResponse, <-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) QueryPushRecords(request *QueryPushRecordsRequest) (response *QueryPushRecordsResponse, err error)
- func (client *Client) QueryPushRecordsWithCallback(request *QueryPushRecordsRequest, ...) <-chan int
- func (client *Client) QueryPushRecordsWithChan(request *QueryPushRecordsRequest) (<-chan *QueryPushRecordsResponse, <-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 CompleteContinuouslyPushRequest
- type CompleteContinuouslyPushResponse
- type ContinuouslyPushRequest
- type ContinuouslyPushResponse
- type DevelopmentCertInfo
- type DeviceCheckInfo
- type DeviceCheckInfos
- type DeviceIdsInQueryDevicesByAccount
- type DeviceIdsInQueryDevicesByAlias
- type DeviceInfo
- type ListSummaryAppsRequest
- type ListSummaryAppsResponse
- type ListTagsRequest
- type ListTagsResponse
- type MassPushPushTask
- type MassPushRequest
- type MassPushResponse
- type MessageIds
- type ProductionCertInfo
- type PushInfo
- type PushInfos
- type PushMessageToAndroidRequest
- type PushMessageToAndroidResponse
- type PushMessageToiOSRequest
- type PushMessageToiOSResponse
- type PushNoticeToAndroidRequest
- type PushNoticeToAndroidResponse
- type PushNoticeToiOSRequest
- type PushNoticeToiOSResponse
- type PushRequest
- type PushResponse
- type PushStat
- type PushStats
- type QueryAliasesRequest
- type QueryAliasesResponse
- type QueryDeviceInfoRequest
- type QueryDeviceInfoResponse
- type QueryDeviceStatRequest
- type QueryDeviceStatResponse
- type QueryDevicesByAccountRequest
- type QueryDevicesByAccountResponse
- type QueryDevicesByAliasRequest
- type QueryDevicesByAliasResponse
- type QueryPushRecordsRequest
- type QueryPushRecordsResponse
- type QueryPushStatByAppRequest
- type QueryPushStatByAppResponse
- type QueryPushStatByMsgRequest
- type QueryPushStatByMsgResponse
- type QueryTagsRequest
- type QueryTagsResponse
- type QueryUniqueDeviceStatRequest
- type QueryUniqueDeviceStatResponse
- type RemoveTagRequest
- type RemoveTagResponse
- type SummaryAppInfo
- type SummaryAppInfos
- type TagInfo
- type TagInfosInListTags
- type TagInfosInQueryTags
- type UnbindAliasRequest
- type UnbindAliasResponse
- type UnbindPhoneRequest
- type UnbindPhoneResponse
- type UnbindTagRequest
- type UnbindTagResponse
Constants ¶
This section is empty.
Variables ¶
var EndpointMap map[string]string
EndpointMap Endpoint Data
var EndpointType = "regional"
EndpointType regional or central
Functions ¶
func SetClientProperty ¶
SetClientProperty Set Property by Reflect
func SetEndpointDataToClient ¶
func SetEndpointDataToClient(client *Client)
SetEndpointDataToClient Set EndpointMap and ENdpointType
Types ¶
type AliasInfo ¶
type AliasInfo struct {
AliasName string `json:"AliasName" xml:"AliasName"`
}
AliasInfo is a nested struct in push response
type AliasInfos ¶
type AliasInfos struct {
AliasInfo []AliasInfo `json:"AliasInfo" xml:"AliasInfo"`
}
AliasInfos is a nested struct in push response
type AppDeviceStat ¶
type AppDeviceStat struct { Time string `json:"Time" xml:"Time"` Count int64 `json:"Count" xml:"Count"` DeviceType string `json:"DeviceType" xml:"DeviceType"` }
AppDeviceStat is a nested struct in push response
type AppDeviceStatsInQueryDeviceStat ¶
type AppDeviceStatsInQueryDeviceStat struct {
AppDeviceStat []AppDeviceStat `json:"AppDeviceStat" xml:"AppDeviceStat"`
}
AppDeviceStatsInQueryDeviceStat is a nested struct in push response
type AppDeviceStatsInQueryUniqueDeviceStat ¶
type AppDeviceStatsInQueryUniqueDeviceStat struct {
AppDeviceStat []AppDeviceStat `json:"AppDeviceStat" xml:"AppDeviceStat"`
}
AppDeviceStatsInQueryUniqueDeviceStat is a nested struct in push response
type AppPushStat ¶
type AppPushStat struct { Time string `json:"Time" xml:"Time"` DeletedCount int64 `json:"DeletedCount" xml:"DeletedCount"` OpenedCount int64 `json:"OpenedCount" xml:"OpenedCount"` SmsReceiveSuccessCount int64 `json:"SmsReceiveSuccessCount" xml:"SmsReceiveSuccessCount"` SmsSkipCount int64 `json:"SmsSkipCount" xml:"SmsSkipCount"` SmsReceiveFailedCount int64 `json:"SmsReceiveFailedCount" xml:"SmsReceiveFailedCount"` SmsFailedCount int64 `json:"SmsFailedCount" xml:"SmsFailedCount"` ReceivedCount int64 `json:"ReceivedCount" xml:"ReceivedCount"` SentCount int64 `json:"SentCount" xml:"SentCount"` SmsSentCount int64 `json:"SmsSentCount" xml:"SmsSentCount"` AcceptCount int64 `json:"AcceptCount" xml:"AcceptCount"` }
AppPushStat is a nested struct in push response
type AppPushStats ¶
type AppPushStats struct {
AppPushStat []AppPushStat `json:"AppPushStat" xml:"AppPushStat"`
}
AppPushStats is a nested struct in push response
type BindAliasRequest ¶
type BindAliasRequest struct { *requests.RpcRequest DeviceId string `position:"Query" name:"DeviceId"` AliasName string `position:"Query" name:"AliasName"` AppKey requests.Integer `position:"Query" name:"AppKey"` }
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 PhoneNumber string `position:"Query" name:"PhoneNumber"` DeviceId string `position:"Query" name:"DeviceId"` AppKey requests.Integer `position:"Query" name:"AppKey"` }
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 KeyType string `position:"Query" name:"KeyType"` TagName string `position:"Query" name:"TagName"` ClientKey string `position:"Query" name:"ClientKey"` AppKey requests.Integer `position:"Query" name:"AppKey"` }
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 MessageId requests.Integer `position:"Query" name:"MessageId"` AppKey requests.Integer `position:"Query" name:"AppKey"` }
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 CheckCertificateRequest ¶ added in v1.61.1181
type CheckCertificateRequest struct { *requests.RpcRequest AppKey requests.Integer `position:"Query" name:"AppKey"` }
CheckCertificateRequest is the request struct for api CheckCertificate
func CreateCheckCertificateRequest ¶ added in v1.61.1181
func CreateCheckCertificateRequest() (request *CheckCertificateRequest)
CreateCheckCertificateRequest creates a request to invoke CheckCertificate API
type CheckCertificateResponse ¶ added in v1.61.1181
type CheckCertificateResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Android bool `json:"Android" xml:"Android"` IOS bool `json:"IOS" xml:"IOS"` ProductionCertInfo ProductionCertInfo `json:"ProductionCertInfo" xml:"ProductionCertInfo"` DevelopmentCertInfo DevelopmentCertInfo `json:"DevelopmentCertInfo" xml:"DevelopmentCertInfo"` }
CheckCertificateResponse is the response struct for api CheckCertificate
func CreateCheckCertificateResponse ¶ added in v1.61.1181
func CreateCheckCertificateResponse() (response *CheckCertificateResponse)
CreateCheckCertificateResponse creates a response to parse from CheckCertificate response
type CheckDeviceRequest ¶
type CheckDeviceRequest struct { *requests.RpcRequest DeviceId string `position:"Query" name:"DeviceId"` AppKey requests.Integer `position:"Query" name:"AppKey"` }
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 Available bool `json:"Available" xml:"Available"` RequestId string `json:"RequestId" xml:"RequestId"` }
CheckDeviceResponse is the response struct for api CheckDevice
func CreateCheckDeviceResponse ¶
func CreateCheckDeviceResponse() (response *CheckDeviceResponse)
CreateCheckDeviceResponse creates a response to parse from CheckDevice response
type CheckDevicesRequest ¶
type CheckDevicesRequest struct { *requests.RpcRequest DeviceIds string `position:"Query" name:"DeviceIds"` AppKey requests.Integer `position:"Query" name:"AppKey"` }
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 DeviceCheckInfos `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
func (*Client) BindAliasWithCallback ¶
func (client *Client) BindAliasWithCallback(request *BindAliasRequest, callback func(response *BindAliasResponse, err error)) <-chan int
BindAliasWithCallback invokes the push.BindAlias API asynchronously
func (*Client) BindAliasWithChan ¶
func (client *Client) BindAliasWithChan(request *BindAliasRequest) (<-chan *BindAliasResponse, <-chan error)
BindAliasWithChan invokes the push.BindAlias API asynchronously
func (*Client) BindPhone ¶
func (client *Client) BindPhone(request *BindPhoneRequest) (response *BindPhoneResponse, err error)
BindPhone invokes the push.BindPhone API synchronously
func (*Client) BindPhoneWithCallback ¶
func (client *Client) BindPhoneWithCallback(request *BindPhoneRequest, callback func(response *BindPhoneResponse, err error)) <-chan int
BindPhoneWithCallback invokes the push.BindPhone API asynchronously
func (*Client) BindPhoneWithChan ¶
func (client *Client) BindPhoneWithChan(request *BindPhoneRequest) (<-chan *BindPhoneResponse, <-chan error)
BindPhoneWithChan invokes the push.BindPhone API asynchronously
func (*Client) BindTag ¶
func (client *Client) BindTag(request *BindTagRequest) (response *BindTagResponse, err error)
BindTag invokes the push.BindTag API synchronously
func (*Client) BindTagWithCallback ¶
func (client *Client) BindTagWithCallback(request *BindTagRequest, callback func(response *BindTagResponse, err error)) <-chan int
BindTagWithCallback invokes the push.BindTag API asynchronously
func (*Client) BindTagWithChan ¶
func (client *Client) BindTagWithChan(request *BindTagRequest) (<-chan *BindTagResponse, <-chan error)
BindTagWithChan invokes the push.BindTag API asynchronously
func (*Client) CancelPush ¶
func (client *Client) CancelPush(request *CancelPushRequest) (response *CancelPushResponse, err error)
CancelPush invokes the push.CancelPush API synchronously
func (*Client) CancelPushWithCallback ¶
func (client *Client) CancelPushWithCallback(request *CancelPushRequest, callback func(response *CancelPushResponse, err error)) <-chan int
CancelPushWithCallback invokes the push.CancelPush API asynchronously
func (*Client) CancelPushWithChan ¶
func (client *Client) CancelPushWithChan(request *CancelPushRequest) (<-chan *CancelPushResponse, <-chan error)
CancelPushWithChan invokes the push.CancelPush API asynchronously
func (*Client) CheckCertificate ¶ added in v1.61.1181
func (client *Client) CheckCertificate(request *CheckCertificateRequest) (response *CheckCertificateResponse, err error)
CheckCertificate invokes the push.CheckCertificate API synchronously
func (*Client) CheckCertificateWithCallback ¶ added in v1.61.1181
func (client *Client) CheckCertificateWithCallback(request *CheckCertificateRequest, callback func(response *CheckCertificateResponse, err error)) <-chan int
CheckCertificateWithCallback invokes the push.CheckCertificate API asynchronously
func (*Client) CheckCertificateWithChan ¶ added in v1.61.1181
func (client *Client) CheckCertificateWithChan(request *CheckCertificateRequest) (<-chan *CheckCertificateResponse, <-chan error)
CheckCertificateWithChan invokes the push.CheckCertificate API asynchronously
func (*Client) CheckDevice ¶
func (client *Client) CheckDevice(request *CheckDeviceRequest) (response *CheckDeviceResponse, err error)
CheckDevice invokes the push.CheckDevice API synchronously
func (*Client) CheckDeviceWithCallback ¶
func (client *Client) CheckDeviceWithCallback(request *CheckDeviceRequest, callback func(response *CheckDeviceResponse, err error)) <-chan int
CheckDeviceWithCallback invokes the push.CheckDevice API asynchronously
func (*Client) CheckDeviceWithChan ¶
func (client *Client) CheckDeviceWithChan(request *CheckDeviceRequest) (<-chan *CheckDeviceResponse, <-chan error)
CheckDeviceWithChan invokes the push.CheckDevice API asynchronously
func (*Client) CheckDevices ¶
func (client *Client) CheckDevices(request *CheckDevicesRequest) (response *CheckDevicesResponse, err error)
CheckDevices invokes the push.CheckDevices API synchronously
func (*Client) CheckDevicesWithCallback ¶
func (client *Client) CheckDevicesWithCallback(request *CheckDevicesRequest, callback func(response *CheckDevicesResponse, err error)) <-chan int
CheckDevicesWithCallback invokes the push.CheckDevices API asynchronously
func (*Client) CheckDevicesWithChan ¶
func (client *Client) CheckDevicesWithChan(request *CheckDevicesRequest) (<-chan *CheckDevicesResponse, <-chan error)
CheckDevicesWithChan invokes the push.CheckDevices API asynchronously
func (*Client) CompleteContinuouslyPush ¶
func (client *Client) CompleteContinuouslyPush(request *CompleteContinuouslyPushRequest) (response *CompleteContinuouslyPushResponse, err error)
CompleteContinuouslyPush invokes the push.CompleteContinuouslyPush API synchronously
func (*Client) CompleteContinuouslyPushWithCallback ¶
func (client *Client) CompleteContinuouslyPushWithCallback(request *CompleteContinuouslyPushRequest, callback func(response *CompleteContinuouslyPushResponse, err error)) <-chan int
CompleteContinuouslyPushWithCallback invokes the push.CompleteContinuouslyPush API asynchronously
func (*Client) CompleteContinuouslyPushWithChan ¶
func (client *Client) CompleteContinuouslyPushWithChan(request *CompleteContinuouslyPushRequest) (<-chan *CompleteContinuouslyPushResponse, <-chan error)
CompleteContinuouslyPushWithChan invokes the push.CompleteContinuouslyPush API asynchronously
func (*Client) ContinuouslyPush ¶
func (client *Client) ContinuouslyPush(request *ContinuouslyPushRequest) (response *ContinuouslyPushResponse, err error)
ContinuouslyPush invokes the push.ContinuouslyPush API synchronously
func (*Client) ContinuouslyPushWithCallback ¶
func (client *Client) ContinuouslyPushWithCallback(request *ContinuouslyPushRequest, callback func(response *ContinuouslyPushResponse, err error)) <-chan int
ContinuouslyPushWithCallback invokes the push.ContinuouslyPush API asynchronously
func (*Client) ContinuouslyPushWithChan ¶
func (client *Client) ContinuouslyPushWithChan(request *ContinuouslyPushRequest) (<-chan *ContinuouslyPushResponse, <-chan error)
ContinuouslyPushWithChan invokes the push.ContinuouslyPush API asynchronously
func (*Client) ListSummaryApps ¶
func (client *Client) ListSummaryApps(request *ListSummaryAppsRequest) (response *ListSummaryAppsResponse, err error)
ListSummaryApps invokes the push.ListSummaryApps API synchronously
func (*Client) ListSummaryAppsWithCallback ¶
func (client *Client) ListSummaryAppsWithCallback(request *ListSummaryAppsRequest, callback func(response *ListSummaryAppsResponse, err error)) <-chan int
ListSummaryAppsWithCallback invokes the push.ListSummaryApps API asynchronously
func (*Client) ListSummaryAppsWithChan ¶
func (client *Client) ListSummaryAppsWithChan(request *ListSummaryAppsRequest) (<-chan *ListSummaryAppsResponse, <-chan error)
ListSummaryAppsWithChan invokes the push.ListSummaryApps API asynchronously
func (*Client) ListTags ¶
func (client *Client) ListTags(request *ListTagsRequest) (response *ListTagsResponse, err error)
ListTags invokes the push.ListTags API synchronously
func (*Client) ListTagsWithCallback ¶
func (client *Client) ListTagsWithCallback(request *ListTagsRequest, callback func(response *ListTagsResponse, err error)) <-chan int
ListTagsWithCallback invokes the push.ListTags API asynchronously
func (*Client) ListTagsWithChan ¶
func (client *Client) ListTagsWithChan(request *ListTagsRequest) (<-chan *ListTagsResponse, <-chan error)
ListTagsWithChan invokes the push.ListTags API asynchronously
func (*Client) MassPush ¶
func (client *Client) MassPush(request *MassPushRequest) (response *MassPushResponse, err error)
MassPush invokes the push.MassPush API synchronously
func (*Client) MassPushWithCallback ¶
func (client *Client) MassPushWithCallback(request *MassPushRequest, callback func(response *MassPushResponse, err error)) <-chan int
MassPushWithCallback invokes the push.MassPush API asynchronously
func (*Client) MassPushWithChan ¶
func (client *Client) MassPushWithChan(request *MassPushRequest) (<-chan *MassPushResponse, <-chan error)
MassPushWithChan invokes the push.MassPush API asynchronously
func (*Client) Push ¶
func (client *Client) Push(request *PushRequest) (response *PushResponse, err error)
Push invokes the push.Push API synchronously
func (*Client) PushMessageToAndroid ¶
func (client *Client) PushMessageToAndroid(request *PushMessageToAndroidRequest) (response *PushMessageToAndroidResponse, err error)
PushMessageToAndroid invokes the push.PushMessageToAndroid API synchronously
func (*Client) PushMessageToAndroidWithCallback ¶
func (client *Client) PushMessageToAndroidWithCallback(request *PushMessageToAndroidRequest, callback func(response *PushMessageToAndroidResponse, err error)) <-chan int
PushMessageToAndroidWithCallback invokes the push.PushMessageToAndroid API asynchronously
func (*Client) PushMessageToAndroidWithChan ¶
func (client *Client) PushMessageToAndroidWithChan(request *PushMessageToAndroidRequest) (<-chan *PushMessageToAndroidResponse, <-chan error)
PushMessageToAndroidWithChan invokes the push.PushMessageToAndroid API asynchronously
func (*Client) PushMessageToiOS ¶
func (client *Client) PushMessageToiOS(request *PushMessageToiOSRequest) (response *PushMessageToiOSResponse, err error)
PushMessageToiOS invokes the push.PushMessageToiOS API synchronously
func (*Client) PushMessageToiOSWithCallback ¶
func (client *Client) PushMessageToiOSWithCallback(request *PushMessageToiOSRequest, callback func(response *PushMessageToiOSResponse, err error)) <-chan int
PushMessageToiOSWithCallback invokes the push.PushMessageToiOS API asynchronously
func (*Client) PushMessageToiOSWithChan ¶
func (client *Client) PushMessageToiOSWithChan(request *PushMessageToiOSRequest) (<-chan *PushMessageToiOSResponse, <-chan error)
PushMessageToiOSWithChan invokes the push.PushMessageToiOS API asynchronously
func (*Client) PushNoticeToAndroid ¶
func (client *Client) PushNoticeToAndroid(request *PushNoticeToAndroidRequest) (response *PushNoticeToAndroidResponse, err error)
PushNoticeToAndroid invokes the push.PushNoticeToAndroid API synchronously
func (*Client) PushNoticeToAndroidWithCallback ¶
func (client *Client) PushNoticeToAndroidWithCallback(request *PushNoticeToAndroidRequest, callback func(response *PushNoticeToAndroidResponse, err error)) <-chan int
PushNoticeToAndroidWithCallback invokes the push.PushNoticeToAndroid API asynchronously
func (*Client) PushNoticeToAndroidWithChan ¶
func (client *Client) PushNoticeToAndroidWithChan(request *PushNoticeToAndroidRequest) (<-chan *PushNoticeToAndroidResponse, <-chan error)
PushNoticeToAndroidWithChan invokes the push.PushNoticeToAndroid API asynchronously
func (*Client) PushNoticeToiOS ¶
func (client *Client) PushNoticeToiOS(request *PushNoticeToiOSRequest) (response *PushNoticeToiOSResponse, err error)
PushNoticeToiOS invokes the push.PushNoticeToiOS API synchronously
func (*Client) PushNoticeToiOSWithCallback ¶
func (client *Client) PushNoticeToiOSWithCallback(request *PushNoticeToiOSRequest, callback func(response *PushNoticeToiOSResponse, err error)) <-chan int
PushNoticeToiOSWithCallback invokes the push.PushNoticeToiOS API asynchronously
func (*Client) PushNoticeToiOSWithChan ¶
func (client *Client) PushNoticeToiOSWithChan(request *PushNoticeToiOSRequest) (<-chan *PushNoticeToiOSResponse, <-chan error)
PushNoticeToiOSWithChan invokes the push.PushNoticeToiOS API asynchronously
func (*Client) PushWithCallback ¶
func (client *Client) PushWithCallback(request *PushRequest, callback func(response *PushResponse, err error)) <-chan int
PushWithCallback invokes the push.Push API asynchronously
func (*Client) PushWithChan ¶
func (client *Client) PushWithChan(request *PushRequest) (<-chan *PushResponse, <-chan error)
PushWithChan invokes the push.Push API asynchronously
func (*Client) QueryAliases ¶
func (client *Client) QueryAliases(request *QueryAliasesRequest) (response *QueryAliasesResponse, err error)
QueryAliases invokes the push.QueryAliases API synchronously
func (*Client) QueryAliasesWithCallback ¶
func (client *Client) QueryAliasesWithCallback(request *QueryAliasesRequest, callback func(response *QueryAliasesResponse, err error)) <-chan int
QueryAliasesWithCallback invokes the push.QueryAliases API asynchronously
func (*Client) QueryAliasesWithChan ¶
func (client *Client) QueryAliasesWithChan(request *QueryAliasesRequest) (<-chan *QueryAliasesResponse, <-chan error)
QueryAliasesWithChan invokes the push.QueryAliases API asynchronously
func (*Client) QueryDeviceInfo ¶
func (client *Client) QueryDeviceInfo(request *QueryDeviceInfoRequest) (response *QueryDeviceInfoResponse, err error)
QueryDeviceInfo invokes the push.QueryDeviceInfo API synchronously
func (*Client) QueryDeviceInfoWithCallback ¶
func (client *Client) QueryDeviceInfoWithCallback(request *QueryDeviceInfoRequest, callback func(response *QueryDeviceInfoResponse, err error)) <-chan int
QueryDeviceInfoWithCallback invokes the push.QueryDeviceInfo API asynchronously
func (*Client) QueryDeviceInfoWithChan ¶
func (client *Client) QueryDeviceInfoWithChan(request *QueryDeviceInfoRequest) (<-chan *QueryDeviceInfoResponse, <-chan error)
QueryDeviceInfoWithChan invokes the push.QueryDeviceInfo API asynchronously
func (*Client) QueryDeviceStat ¶
func (client *Client) QueryDeviceStat(request *QueryDeviceStatRequest) (response *QueryDeviceStatResponse, err error)
QueryDeviceStat invokes the push.QueryDeviceStat API synchronously
func (*Client) QueryDeviceStatWithCallback ¶
func (client *Client) QueryDeviceStatWithCallback(request *QueryDeviceStatRequest, callback func(response *QueryDeviceStatResponse, err error)) <-chan int
QueryDeviceStatWithCallback invokes the push.QueryDeviceStat API asynchronously
func (*Client) QueryDeviceStatWithChan ¶
func (client *Client) QueryDeviceStatWithChan(request *QueryDeviceStatRequest) (<-chan *QueryDeviceStatResponse, <-chan error)
QueryDeviceStatWithChan invokes the push.QueryDeviceStat API asynchronously
func (*Client) QueryDevicesByAccount ¶
func (client *Client) QueryDevicesByAccount(request *QueryDevicesByAccountRequest) (response *QueryDevicesByAccountResponse, err error)
QueryDevicesByAccount invokes the push.QueryDevicesByAccount API synchronously
func (*Client) QueryDevicesByAccountWithCallback ¶
func (client *Client) QueryDevicesByAccountWithCallback(request *QueryDevicesByAccountRequest, callback func(response *QueryDevicesByAccountResponse, err error)) <-chan int
QueryDevicesByAccountWithCallback invokes the push.QueryDevicesByAccount API asynchronously
func (*Client) QueryDevicesByAccountWithChan ¶
func (client *Client) QueryDevicesByAccountWithChan(request *QueryDevicesByAccountRequest) (<-chan *QueryDevicesByAccountResponse, <-chan error)
QueryDevicesByAccountWithChan invokes the push.QueryDevicesByAccount API asynchronously
func (*Client) QueryDevicesByAlias ¶
func (client *Client) QueryDevicesByAlias(request *QueryDevicesByAliasRequest) (response *QueryDevicesByAliasResponse, err error)
QueryDevicesByAlias invokes the push.QueryDevicesByAlias API synchronously
func (*Client) QueryDevicesByAliasWithCallback ¶
func (client *Client) QueryDevicesByAliasWithCallback(request *QueryDevicesByAliasRequest, callback func(response *QueryDevicesByAliasResponse, err error)) <-chan int
QueryDevicesByAliasWithCallback invokes the push.QueryDevicesByAlias API asynchronously
func (*Client) QueryDevicesByAliasWithChan ¶
func (client *Client) QueryDevicesByAliasWithChan(request *QueryDevicesByAliasRequest) (<-chan *QueryDevicesByAliasResponse, <-chan error)
QueryDevicesByAliasWithChan invokes the push.QueryDevicesByAlias API asynchronously
func (*Client) QueryPushRecords ¶
func (client *Client) QueryPushRecords(request *QueryPushRecordsRequest) (response *QueryPushRecordsResponse, err error)
QueryPushRecords invokes the push.QueryPushRecords API synchronously
func (*Client) QueryPushRecordsWithCallback ¶
func (client *Client) QueryPushRecordsWithCallback(request *QueryPushRecordsRequest, callback func(response *QueryPushRecordsResponse, err error)) <-chan int
QueryPushRecordsWithCallback invokes the push.QueryPushRecords API asynchronously
func (*Client) QueryPushRecordsWithChan ¶
func (client *Client) QueryPushRecordsWithChan(request *QueryPushRecordsRequest) (<-chan *QueryPushRecordsResponse, <-chan error)
QueryPushRecordsWithChan invokes the push.QueryPushRecords API asynchronously
func (*Client) QueryPushStatByApp ¶
func (client *Client) QueryPushStatByApp(request *QueryPushStatByAppRequest) (response *QueryPushStatByAppResponse, err error)
QueryPushStatByApp invokes the push.QueryPushStatByApp API synchronously
func (*Client) QueryPushStatByAppWithCallback ¶
func (client *Client) QueryPushStatByAppWithCallback(request *QueryPushStatByAppRequest, callback func(response *QueryPushStatByAppResponse, err error)) <-chan int
QueryPushStatByAppWithCallback invokes the push.QueryPushStatByApp API asynchronously
func (*Client) QueryPushStatByAppWithChan ¶
func (client *Client) QueryPushStatByAppWithChan(request *QueryPushStatByAppRequest) (<-chan *QueryPushStatByAppResponse, <-chan error)
QueryPushStatByAppWithChan invokes the push.QueryPushStatByApp API asynchronously
func (*Client) QueryPushStatByMsg ¶
func (client *Client) QueryPushStatByMsg(request *QueryPushStatByMsgRequest) (response *QueryPushStatByMsgResponse, err error)
QueryPushStatByMsg invokes the push.QueryPushStatByMsg API synchronously
func (*Client) QueryPushStatByMsgWithCallback ¶
func (client *Client) QueryPushStatByMsgWithCallback(request *QueryPushStatByMsgRequest, callback func(response *QueryPushStatByMsgResponse, err error)) <-chan int
QueryPushStatByMsgWithCallback invokes the push.QueryPushStatByMsg API asynchronously
func (*Client) QueryPushStatByMsgWithChan ¶
func (client *Client) QueryPushStatByMsgWithChan(request *QueryPushStatByMsgRequest) (<-chan *QueryPushStatByMsgResponse, <-chan error)
QueryPushStatByMsgWithChan invokes the push.QueryPushStatByMsg API asynchronously
func (*Client) QueryTags ¶
func (client *Client) QueryTags(request *QueryTagsRequest) (response *QueryTagsResponse, err error)
QueryTags invokes the push.QueryTags API synchronously
func (*Client) QueryTagsWithCallback ¶
func (client *Client) QueryTagsWithCallback(request *QueryTagsRequest, callback func(response *QueryTagsResponse, err error)) <-chan int
QueryTagsWithCallback invokes the push.QueryTags API asynchronously
func (*Client) QueryTagsWithChan ¶
func (client *Client) QueryTagsWithChan(request *QueryTagsRequest) (<-chan *QueryTagsResponse, <-chan error)
QueryTagsWithChan invokes the push.QueryTags API asynchronously
func (*Client) QueryUniqueDeviceStat ¶
func (client *Client) QueryUniqueDeviceStat(request *QueryUniqueDeviceStatRequest) (response *QueryUniqueDeviceStatResponse, err error)
QueryUniqueDeviceStat invokes the push.QueryUniqueDeviceStat API synchronously
func (*Client) QueryUniqueDeviceStatWithCallback ¶
func (client *Client) QueryUniqueDeviceStatWithCallback(request *QueryUniqueDeviceStatRequest, callback func(response *QueryUniqueDeviceStatResponse, err error)) <-chan int
QueryUniqueDeviceStatWithCallback invokes the push.QueryUniqueDeviceStat API asynchronously
func (*Client) QueryUniqueDeviceStatWithChan ¶
func (client *Client) QueryUniqueDeviceStatWithChan(request *QueryUniqueDeviceStatRequest) (<-chan *QueryUniqueDeviceStatResponse, <-chan error)
QueryUniqueDeviceStatWithChan invokes the push.QueryUniqueDeviceStat API asynchronously
func (*Client) RemoveTag ¶
func (client *Client) RemoveTag(request *RemoveTagRequest) (response *RemoveTagResponse, err error)
RemoveTag invokes the push.RemoveTag API synchronously
func (*Client) RemoveTagWithCallback ¶
func (client *Client) RemoveTagWithCallback(request *RemoveTagRequest, callback func(response *RemoveTagResponse, err error)) <-chan int
RemoveTagWithCallback invokes the push.RemoveTag API asynchronously
func (*Client) RemoveTagWithChan ¶
func (client *Client) RemoveTagWithChan(request *RemoveTagRequest) (<-chan *RemoveTagResponse, <-chan error)
RemoveTagWithChan invokes the push.RemoveTag API asynchronously
func (*Client) UnbindAlias ¶
func (client *Client) UnbindAlias(request *UnbindAliasRequest) (response *UnbindAliasResponse, err error)
UnbindAlias invokes the push.UnbindAlias API synchronously
func (*Client) UnbindAliasWithCallback ¶
func (client *Client) UnbindAliasWithCallback(request *UnbindAliasRequest, callback func(response *UnbindAliasResponse, err error)) <-chan int
UnbindAliasWithCallback invokes the push.UnbindAlias API asynchronously
func (*Client) UnbindAliasWithChan ¶
func (client *Client) UnbindAliasWithChan(request *UnbindAliasRequest) (<-chan *UnbindAliasResponse, <-chan error)
UnbindAliasWithChan invokes the push.UnbindAlias API asynchronously
func (*Client) UnbindPhone ¶
func (client *Client) UnbindPhone(request *UnbindPhoneRequest) (response *UnbindPhoneResponse, err error)
UnbindPhone invokes the push.UnbindPhone API synchronously
func (*Client) UnbindPhoneWithCallback ¶
func (client *Client) UnbindPhoneWithCallback(request *UnbindPhoneRequest, callback func(response *UnbindPhoneResponse, err error)) <-chan int
UnbindPhoneWithCallback invokes the push.UnbindPhone API asynchronously
func (*Client) UnbindPhoneWithChan ¶
func (client *Client) UnbindPhoneWithChan(request *UnbindPhoneRequest) (<-chan *UnbindPhoneResponse, <-chan error)
UnbindPhoneWithChan invokes the push.UnbindPhone API asynchronously
func (*Client) UnbindTag ¶
func (client *Client) UnbindTag(request *UnbindTagRequest) (response *UnbindTagResponse, err error)
UnbindTag invokes the push.UnbindTag API synchronously
func (*Client) UnbindTagWithCallback ¶
func (client *Client) UnbindTagWithCallback(request *UnbindTagRequest, callback func(response *UnbindTagResponse, err error)) <-chan int
UnbindTagWithCallback invokes the push.UnbindTag API asynchronously
func (*Client) UnbindTagWithChan ¶
func (client *Client) UnbindTagWithChan(request *UnbindTagRequest) (<-chan *UnbindTagResponse, <-chan error)
UnbindTagWithChan invokes the push.UnbindTag API asynchronously
type CompleteContinuouslyPushRequest ¶
type CompleteContinuouslyPushRequest struct { *requests.RpcRequest MessageId string `position:"Query" name:"MessageId"` AppKey requests.Integer `position:"Query" name:"AppKey"` }
CompleteContinuouslyPushRequest is the request struct for api CompleteContinuouslyPush
func CreateCompleteContinuouslyPushRequest ¶
func CreateCompleteContinuouslyPushRequest() (request *CompleteContinuouslyPushRequest)
CreateCompleteContinuouslyPushRequest creates a request to invoke CompleteContinuouslyPush API
type CompleteContinuouslyPushResponse ¶
type CompleteContinuouslyPushResponse struct { *responses.BaseResponse MessageId string `json:"MessageId" xml:"MessageId"` RequestId string `json:"RequestId" xml:"RequestId"` }
CompleteContinuouslyPushResponse is the response struct for api CompleteContinuouslyPush
func CreateCompleteContinuouslyPushResponse ¶
func CreateCompleteContinuouslyPushResponse() (response *CompleteContinuouslyPushResponse)
CreateCompleteContinuouslyPushResponse creates a response to parse from CompleteContinuouslyPush response
type ContinuouslyPushRequest ¶
type ContinuouslyPushRequest struct { *requests.RpcRequest MessageId string `position:"Query" name:"MessageId"` Target string `position:"Query" name:"Target"` AppKey requests.Integer `position:"Query" name:"AppKey"` TargetValue string `position:"Query" name:"TargetValue"` }
ContinuouslyPushRequest is the request struct for api ContinuouslyPush
func CreateContinuouslyPushRequest ¶
func CreateContinuouslyPushRequest() (request *ContinuouslyPushRequest)
CreateContinuouslyPushRequest creates a request to invoke ContinuouslyPush API
type ContinuouslyPushResponse ¶
type ContinuouslyPushResponse struct { *responses.BaseResponse MessageId string `json:"MessageId" xml:"MessageId"` RequestId string `json:"RequestId" xml:"RequestId"` }
ContinuouslyPushResponse is the response struct for api ContinuouslyPush
func CreateContinuouslyPushResponse ¶
func CreateContinuouslyPushResponse() (response *ContinuouslyPushResponse)
CreateContinuouslyPushResponse creates a response to parse from ContinuouslyPush response
type DevelopmentCertInfo ¶ added in v1.61.1181
type DevelopmentCertInfo struct { Status string `json:"Status" xml:"Status"` ExipreTime int64 `json:"ExipreTime" xml:"ExipreTime"` }
DevelopmentCertInfo is a nested struct in push response
type DeviceCheckInfo ¶
type DeviceCheckInfo struct { DeviceId string `json:"DeviceId" xml:"DeviceId"` Available bool `json:"Available" xml:"Available"` }
DeviceCheckInfo is a nested struct in push response
type DeviceCheckInfos ¶
type DeviceCheckInfos struct {
DeviceCheckInfo []DeviceCheckInfo `json:"DeviceCheckInfo" xml:"DeviceCheckInfo"`
}
DeviceCheckInfos is a nested struct in push response
type DeviceIdsInQueryDevicesByAccount ¶
type DeviceIdsInQueryDevicesByAccount struct {
DeviceId []string `json:"DeviceId" xml:"DeviceId"`
}
DeviceIdsInQueryDevicesByAccount is a nested struct in push response
type DeviceIdsInQueryDevicesByAlias ¶
type DeviceIdsInQueryDevicesByAlias struct {
DeviceId []string `json:"DeviceId" xml:"DeviceId"`
}
DeviceIdsInQueryDevicesByAlias is a nested struct in push response
type DeviceInfo ¶
type DeviceInfo struct { Account string `json:"Account" xml:"Account"` LastOnlineTime string `json:"LastOnlineTime" xml:"LastOnlineTime"` PhoneNumber string `json:"PhoneNumber" xml:"PhoneNumber"` PushEnabled bool `json:"PushEnabled" xml:"PushEnabled"` DeviceType string `json:"DeviceType" xml:"DeviceType"` DeviceId string `json:"DeviceId" xml:"DeviceId"` Online bool `json:"Online" xml:"Online"` Tags string `json:"Tags" xml:"Tags"` DeviceToken string `json:"DeviceToken" xml:"DeviceToken"` Alias string `json:"Alias" xml:"Alias"` }
DeviceInfo is a nested struct in push response
type ListSummaryAppsRequest ¶
type ListSummaryAppsRequest struct {
*requests.RpcRequest
}
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 SummaryAppInfos `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 ListTagsRequest ¶
type ListTagsRequest struct { *requests.RpcRequest 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 TagInfosInListTags `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 MassPushPushTask ¶
type MassPushPushTask struct { AndroidNotificationBarType string `name:"AndroidNotificationBarType"` Body string `name:"Body"` DeviceType string `name:"DeviceType"` PushTime string `name:"PushTime"` SendSpeed string `name:"SendSpeed"` AndroidNotificationHuaweiChannel string `name:"AndroidNotificationHuaweiChannel"` AndroidPopupActivity string `name:"AndroidPopupActivity"` IOSRemindBody string `name:"iOSRemindBody"` Trim string `name:"Trim"` AndroidMessageVivoCategory string `name:"AndroidMessageVivoCategory"` AndroidNotifyType string `name:"AndroidNotifyType"` AndroidPopupTitle string `name:"AndroidPopupTitle"` AndroidMessageHuaweiCategory string `name:"AndroidMessageHuaweiCategory"` IOSMusic string `name:"iOSMusic"` IOSApnsEnv string `name:"iOSApnsEnv"` IOSMutableContent string `name:"iOSMutableContent"` AndroidNotificationBarPriority string `name:"AndroidNotificationBarPriority"` ExpireTime string `name:"ExpireTime"` AndroidImageUrl string `name:"AndroidImageUrl"` AndroidNotificationVivoChannel string `name:"AndroidNotificationVivoChannel"` IOSNotificationCategory string `name:"iOSNotificationCategory"` AndroidNotificationXiaomiChannel string `name:"AndroidNotificationXiaomiChannel"` StoreOffline string `name:"StoreOffline"` IOSRelevanceScore string `name:"iOSRelevanceScore"` AndroidVivoPushMode string `name:"AndroidVivoPushMode"` AndroidInboxBody string `name:"AndroidInboxBody"` JobKey string `name:"JobKey"` AndroidOpenUrl string `name:"AndroidOpenUrl"` AndroidXiaoMiNotifyBody string `name:"AndroidXiaoMiNotifyBody"` IOSSubtitle string `name:"iOSSubtitle"` AndroidXiaomiBigPictureUrl string `name:"AndroidXiaomiBigPictureUrl"` IOSRemind string `name:"iOSRemind"` IOSNotificationThreadId string `name:"iOSNotificationThreadId"` AndroidHuaweiTargetUserType string `name:"AndroidHuaweiTargetUserType"` AndroidMusic string `name:"AndroidMusic"` IOSNotificationCollapseId string `name:"iOSNotificationCollapseId"` AndroidMessageHuaweiUrgency string `name:"AndroidMessageHuaweiUrgency"` PushType string `name:"PushType"` IOSInterruptionLevel string `name:"iOSInterruptionLevel"` AndroidExtParameters string `name:"AndroidExtParameters"` IOSBadge string `name:"iOSBadge"` AndroidBigBody string `name:"AndroidBigBody"` IOSBadgeAutoIncrement string `name:"iOSBadgeAutoIncrement"` AndroidOpenType string `name:"AndroidOpenType"` Title string `name:"Title"` AndroidRenderStyle string `name:"AndroidRenderStyle"` IOSExtParameters string `name:"iOSExtParameters"` AndroidHuaweiReceiptId string `name:"AndroidHuaweiReceiptId"` AndroidNotificationHonorChannel string `name:"AndroidNotificationHonorChannel"` AndroidXiaomiImageUrl string `name:"AndroidXiaomiImageUrl"` AndroidPopupBody string `name:"AndroidPopupBody"` AndroidBigPictureUrl string `name:"AndroidBigPictureUrl"` IOSSilentNotification string `name:"iOSSilentNotification"` AndroidNotificationGroup string `name:"AndroidNotificationGroup"` SendChannels string `name:"SendChannels"` Target string `name:"Target"` AndroidBigTitle string `name:"AndroidBigTitle"` AndroidNotificationChannel string `name:"AndroidNotificationChannel"` AndroidRemind string `name:"AndroidRemind"` AndroidActivity string `name:"AndroidActivity"` AndroidNotificationNotifyId string `name:"AndroidNotificationNotifyId"` TargetValue string `name:"TargetValue"` AndroidXiaoMiNotifyTitle string `name:"AndroidXiaoMiNotifyTitle"` AndroidXiaoMiActivity string `name:"AndroidXiaoMiActivity"` }
MassPushPushTask is a repeated param struct in MassPushRequest
type MassPushRequest ¶
type MassPushRequest struct { *requests.RpcRequest PushTask *[]MassPushPushTask `position:"Body" name:"PushTask" type:"Repeated"` AppKey requests.Integer `position:"Query" name:"AppKey"` }
MassPushRequest is the request struct for api MassPush
func CreateMassPushRequest ¶
func CreateMassPushRequest() (request *MassPushRequest)
CreateMassPushRequest creates a request to invoke MassPush API
type MassPushResponse ¶
type MassPushResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` MessageIds MessageIds `json:"MessageIds" xml:"MessageIds"` }
MassPushResponse is the response struct for api MassPush
func CreateMassPushResponse ¶
func CreateMassPushResponse() (response *MassPushResponse)
CreateMassPushResponse creates a response to parse from MassPush response
type MessageIds ¶
type MessageIds struct {
MessageId []string `json:"MessageId" xml:"MessageId"`
}
MessageIds is a nested struct in push response
type ProductionCertInfo ¶ added in v1.61.1181
type ProductionCertInfo struct { Status string `json:"Status" xml:"Status"` ExipreTime int64 `json:"ExipreTime" xml:"ExipreTime"` }
ProductionCertInfo is a nested struct in push response
type PushInfo ¶
type PushInfo struct { Status string `json:"Status" xml:"Status"` MessageId string `json:"MessageId" xml:"MessageId"` AppKey int64 `json:"AppKey" xml:"AppKey"` DeviceType string `json:"DeviceType" xml:"DeviceType"` PushType string `json:"PushType" xml:"PushType"` Body string `json:"Body" xml:"Body"` Title string `json:"Title" xml:"Title"` Source string `json:"Source" xml:"Source"` PushTime string `json:"PushTime" xml:"PushTime"` Target string `json:"Target" xml:"Target"` }
PushInfo is a nested struct in push response
type PushInfos ¶
type PushInfos struct {
PushInfo []PushInfo `json:"PushInfo" xml:"PushInfo"`
}
PushInfos is a nested struct in push response
type PushMessageToAndroidRequest ¶
type PushMessageToAndroidRequest struct { *requests.RpcRequest Title string `position:"Query" name:"Title"` Body string `position:"Query" name:"Body"` JobKey string `position:"Query" name:"JobKey"` Target string `position:"Query" name:"Target"` AppKey requests.Integer `position:"Query" name:"AppKey"` TargetValue string `position:"Query" name:"TargetValue"` }
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 MessageId string `json:"MessageId" xml:"MessageId"` RequestId string `json:"RequestId" xml:"RequestId"` }
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 Title string `position:"Query" name:"Title"` Body string `position:"Query" name:"Body"` JobKey string `position:"Query" name:"JobKey"` Target string `position:"Query" name:"Target"` AppKey requests.Integer `position:"Query" name:"AppKey"` TargetValue string `position:"Query" name:"TargetValue"` }
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 MessageId string `json:"MessageId" xml:"MessageId"` RequestId string `json:"RequestId" xml:"RequestId"` }
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 ExtParameters string `position:"Query" name:"ExtParameters"` Title string `position:"Query" name:"Title"` Body string `position:"Query" name:"Body"` JobKey string `position:"Query" name:"JobKey"` Target string `position:"Query" name:"Target"` AppKey requests.Integer `position:"Query" name:"AppKey"` TargetValue string `position:"Query" name:"TargetValue"` }
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 MessageId string `json:"MessageId" xml:"MessageId"` RequestId string `json:"RequestId" xml:"RequestId"` }
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 ExtParameters string `position:"Query" name:"ExtParameters"` ApnsEnv string `position:"Query" name:"ApnsEnv"` Title string `position:"Query" name:"Title"` Body string `position:"Query" name:"Body"` JobKey string `position:"Query" name:"JobKey"` Target string `position:"Query" name:"Target"` AppKey requests.Integer `position:"Query" name:"AppKey"` TargetValue string `position:"Query" name:"TargetValue"` }
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 MessageId string `json:"MessageId" xml:"MessageId"` RequestId string `json:"RequestId" xml:"RequestId"` }
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 AndroidNotificationBarType requests.Integer `position:"Query" name:"AndroidNotificationBarType"` SmsSendPolicy requests.Integer `position:"Query" name:"SmsSendPolicy"` Body string `position:"Query" name:"Body"` DeviceType string `position:"Query" name:"DeviceType"` PushTime string `position:"Query" name:"PushTime"` SendSpeed requests.Integer `position:"Query" name:"SendSpeed"` AndroidNotificationHuaweiChannel string `position:"Query" name:"AndroidNotificationHuaweiChannel"` AndroidPopupActivity string `position:"Query" name:"AndroidPopupActivity"` IOSRemindBody string `position:"Query" name:"iOSRemindBody"` Trim requests.Boolean `position:"Query" name:"Trim"` AndroidMessageVivoCategory string `position:"Query" name:"AndroidMessageVivoCategory"` AndroidNotifyType string `position:"Query" name:"AndroidNotifyType"` AndroidPopupTitle string `position:"Query" name:"AndroidPopupTitle"` AndroidMessageHuaweiCategory string `position:"Query" name:"AndroidMessageHuaweiCategory"` IOSMusic string `position:"Query" name:"iOSMusic"` IOSApnsEnv string `position:"Query" name:"iOSApnsEnv"` IOSMutableContent requests.Boolean `position:"Query" name:"iOSMutableContent"` AndroidNotificationBarPriority requests.Integer `position:"Query" name:"AndroidNotificationBarPriority"` ExpireTime string `position:"Query" name:"ExpireTime"` AndroidImageUrl string `position:"Query" name:"AndroidImageUrl"` AndroidNotificationVivoChannel string `position:"Query" name:"AndroidNotificationVivoChannel"` IOSNotificationCategory string `position:"Query" name:"iOSNotificationCategory"` AndroidNotificationXiaomiChannel string `position:"Query" name:"AndroidNotificationXiaomiChannel"` StoreOffline requests.Boolean `position:"Query" name:"StoreOffline"` IOSRelevanceScore string `position:"Query" name:"iOSRelevanceScore"` SmsParams string `position:"Query" name:"SmsParams"` AndroidVivoPushMode requests.Integer `position:"Query" name:"AndroidVivoPushMode"` AndroidInboxBody string `position:"Query" name:"AndroidInboxBody"` JobKey string `position:"Query" name:"JobKey"` AndroidOpenUrl string `position:"Query" name:"AndroidOpenUrl"` AndroidXiaoMiNotifyBody string `position:"Query" name:"AndroidXiaoMiNotifyBody"` IOSSubtitle string `position:"Query" name:"iOSSubtitle"` AndroidXiaomiBigPictureUrl string `position:"Query" name:"AndroidXiaomiBigPictureUrl"` IOSRemind requests.Boolean `position:"Query" name:"iOSRemind"` IOSNotificationThreadId string `position:"Query" name:"iOSNotificationThreadId"` AndroidHuaweiTargetUserType requests.Integer `position:"Query" name:"AndroidHuaweiTargetUserType"` AndroidMusic string `position:"Query" name:"AndroidMusic"` IOSNotificationCollapseId string `position:"Query" name:"iOSNotificationCollapseId"` AndroidMessageHuaweiUrgency string `position:"Query" name:"AndroidMessageHuaweiUrgency"` PushType string `position:"Query" name:"PushType"` IOSInterruptionLevel string `position:"Query" name:"iOSInterruptionLevel"` AndroidExtParameters string `position:"Query" name:"AndroidExtParameters"` IOSBadge requests.Integer `position:"Query" name:"iOSBadge"` AndroidBigBody string `position:"Query" name:"AndroidBigBody"` IOSBadgeAutoIncrement requests.Boolean `position:"Query" name:"iOSBadgeAutoIncrement"` AndroidOpenType string `position:"Query" name:"AndroidOpenType"` Title string `position:"Query" name:"Title"` SmsDelaySecs requests.Integer `position:"Query" name:"SmsDelaySecs"` AndroidRenderStyle requests.Integer `position:"Query" name:"AndroidRenderStyle"` IOSExtParameters string `position:"Query" name:"iOSExtParameters"` AndroidHuaweiReceiptId string `position:"Query" name:"AndroidHuaweiReceiptId"` AndroidNotificationHonorChannel string `position:"Query" name:"AndroidNotificationHonorChannel"` AndroidXiaomiImageUrl string `position:"Query" name:"AndroidXiaomiImageUrl"` SmsTemplateName string `position:"Query" name:"SmsTemplateName"` AndroidPopupBody string `position:"Query" name:"AndroidPopupBody"` AndroidBigPictureUrl string `position:"Query" name:"AndroidBigPictureUrl"` IOSSilentNotification requests.Boolean `position:"Query" name:"iOSSilentNotification"` AndroidNotificationGroup string `position:"Query" name:"AndroidNotificationGroup"` SendChannels string `position:"Query" name:"SendChannels"` Target string `position:"Query" name:"Target"` AndroidBigTitle string `position:"Query" name:"AndroidBigTitle"` AndroidNotificationChannel string `position:"Query" name:"AndroidNotificationChannel"` AndroidRemind requests.Boolean `position:"Query" name:"AndroidRemind"` AndroidActivity string `position:"Query" name:"AndroidActivity"` SmsSignName string `position:"Query" name:"SmsSignName"` AndroidNotificationNotifyId requests.Integer `position:"Query" name:"AndroidNotificationNotifyId"` AppKey requests.Integer `position:"Query" name:"AppKey"` TargetValue string `position:"Query" name:"TargetValue"` AndroidXiaoMiNotifyTitle string `position:"Query" name:"AndroidXiaoMiNotifyTitle"` AndroidXiaoMiActivity string `position:"Query" name:"AndroidXiaoMiActivity"` }
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 MessageId string `json:"MessageId" xml:"MessageId"` RequestId string `json:"RequestId" xml:"RequestId"` }
PushResponse is the response struct for api Push
func CreatePushResponse ¶
func CreatePushResponse() (response *PushResponse)
CreatePushResponse creates a response to parse from Push response
type PushStat ¶
type PushStat struct { MessageId string `json:"MessageId" xml:"MessageId"` DeletedCount int64 `json:"DeletedCount" xml:"DeletedCount"` OpenedCount int64 `json:"OpenedCount" xml:"OpenedCount"` SmsReceiveSuccessCount int64 `json:"SmsReceiveSuccessCount" xml:"SmsReceiveSuccessCount"` SmsSkipCount int64 `json:"SmsSkipCount" xml:"SmsSkipCount"` SmsReceiveFailedCount int64 `json:"SmsReceiveFailedCount" xml:"SmsReceiveFailedCount"` SmsFailedCount int64 `json:"SmsFailedCount" xml:"SmsFailedCount"` ReceivedCount int64 `json:"ReceivedCount" xml:"ReceivedCount"` SentCount int64 `json:"SentCount" xml:"SentCount"` SmsSentCount int64 `json:"SmsSentCount" xml:"SmsSentCount"` AcceptCount int64 `json:"AcceptCount" xml:"AcceptCount"` }
PushStat is a nested struct in push response
type PushStats ¶
type PushStats struct {
PushStat []PushStat `json:"PushStat" xml:"PushStat"`
}
PushStats is a nested struct in push response
type QueryAliasesRequest ¶
type QueryAliasesRequest struct { *requests.RpcRequest DeviceId string `position:"Query" name:"DeviceId"` AppKey requests.Integer `position:"Query" name:"AppKey"` }
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 AliasInfos `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 QueryDeviceInfoRequest ¶
type QueryDeviceInfoRequest struct { *requests.RpcRequest DeviceId string `position:"Query" name:"DeviceId"` AppKey requests.Integer `position:"Query" name:"AppKey"` }
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 DeviceInfo `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 QueryDeviceStatRequest ¶
type QueryDeviceStatRequest struct { *requests.RpcRequest EndTime string `position:"Query" name:"EndTime"` StartTime string `position:"Query" name:"StartTime"` DeviceType string `position:"Query" name:"DeviceType"` AppKey requests.Integer `position:"Query" name:"AppKey"` 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 AppDeviceStatsInQueryDeviceStat `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 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 DeviceIdsInQueryDevicesByAccount `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 Alias string `position:"Query" name:"Alias"` AppKey requests.Integer `position:"Query" name:"AppKey"` }
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 DeviceIdsInQueryDevicesByAlias `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 QueryPushRecordsRequest ¶
type QueryPushRecordsRequest struct { *requests.RpcRequest StartTime string `position:"Query" name:"StartTime"` Source string `position:"Query" name:"Source"` NextToken string `position:"Query" name:"NextToken"` PageSize requests.Integer `position:"Query" name:"PageSize"` Keyword string `position:"Query" name:"Keyword"` EndTime string `position:"Query" name:"EndTime"` Target string `position:"Query" name:"Target"` AppKey requests.Integer `position:"Query" name:"AppKey"` Page requests.Integer `position:"Query" name:"Page"` PushType string `position:"Query" name:"PushType"` }
QueryPushRecordsRequest is the request struct for api QueryPushRecords
func CreateQueryPushRecordsRequest ¶
func CreateQueryPushRecordsRequest() (request *QueryPushRecordsRequest)
CreateQueryPushRecordsRequest creates a request to invoke QueryPushRecords API
type QueryPushRecordsResponse ¶
type QueryPushRecordsResponse struct { *responses.BaseResponse NextToken string `json:"NextToken" xml:"NextToken"` PageSize int `json:"PageSize" xml:"PageSize"` RequestId string `json:"RequestId" xml:"RequestId"` Total int `json:"Total" xml:"Total"` Page int `json:"Page" xml:"Page"` PushInfos PushInfos `json:"PushInfos" xml:"PushInfos"` }
QueryPushRecordsResponse is the response struct for api QueryPushRecords
func CreateQueryPushRecordsResponse ¶
func CreateQueryPushRecordsResponse() (response *QueryPushRecordsResponse)
CreateQueryPushRecordsResponse creates a response to parse from QueryPushRecords response
type QueryPushStatByAppRequest ¶
type QueryPushStatByAppRequest struct { *requests.RpcRequest EndTime string `position:"Query" name:"EndTime"` StartTime string `position:"Query" name:"StartTime"` Granularity string `position:"Query" name:"Granularity"` AppKey requests.Integer `position:"Query" name:"AppKey"` }
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 AppPushStats `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 QueryPushStatByMsgRequest ¶
type QueryPushStatByMsgRequest struct { *requests.RpcRequest MessageId requests.Integer `position:"Query" name:"MessageId"` AppKey requests.Integer `position:"Query" name:"AppKey"` }
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 PushStats `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 KeyType string `position:"Query" name:"KeyType"` ClientKey string `position:"Query" name:"ClientKey"` AppKey requests.Integer `position:"Query" name:"AppKey"` }
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 TagInfosInQueryTags `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 QueryUniqueDeviceStatRequest ¶
type QueryUniqueDeviceStatRequest struct { *requests.RpcRequest EndTime string `position:"Query" name:"EndTime"` StartTime string `position:"Query" name:"StartTime"` Granularity string `position:"Query" name:"Granularity"` AppKey requests.Integer `position:"Query" name:"AppKey"` }
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 AppDeviceStatsInQueryUniqueDeviceStat `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 TagName string `position:"Query" name:"TagName"` AppKey requests.Integer `position:"Query" name:"AppKey"` }
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 SummaryAppInfo ¶
type SummaryAppInfo struct { AppName string `json:"AppName" xml:"AppName"` AppKey int64 `json:"AppKey" xml:"AppKey"` }
SummaryAppInfo is a nested struct in push response
type SummaryAppInfos ¶
type SummaryAppInfos struct {
SummaryAppInfo []SummaryAppInfo `json:"SummaryAppInfo" xml:"SummaryAppInfo"`
}
SummaryAppInfos is a nested struct in push response
type TagInfo ¶
type TagInfo struct {
TagName string `json:"TagName" xml:"TagName"`
}
TagInfo is a nested struct in push response
type TagInfosInListTags ¶
type TagInfosInListTags struct {
TagInfo []TagInfo `json:"TagInfo" xml:"TagInfo"`
}
TagInfosInListTags is a nested struct in push response
type TagInfosInQueryTags ¶
type TagInfosInQueryTags struct {
TagInfo []TagInfo `json:"TagInfo" xml:"TagInfo"`
}
TagInfosInQueryTags is a nested struct in push response
type UnbindAliasRequest ¶
type UnbindAliasRequest struct { *requests.RpcRequest DeviceId string `position:"Query" name:"DeviceId"` AliasName string `position:"Query" name:"AliasName"` AppKey requests.Integer `position:"Query" name:"AppKey"` 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 DeviceId string `position:"Query" name:"DeviceId"` AppKey requests.Integer `position:"Query" name:"AppKey"` }
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 KeyType string `position:"Query" name:"KeyType"` TagName string `position:"Query" name:"TagName"` ClientKey string `position:"Query" name:"ClientKey"` AppKey requests.Integer `position:"Query" name:"AppKey"` }
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_certificate.go
- check_device.go
- check_devices.go
- client.go
- complete_continuously_push.go
- continuously_push.go
- endpoint.go
- list_summary_apps.go
- list_tags.go
- mass_push.go
- push.go
- push_message_to_android_.go
- push_message_toi_os.go
- push_notice_to_android_.go
- push_notice_toi_os.go
- query_aliases.go
- query_device_info.go
- query_device_stat.go
- query_devices_by_account.go
- query_devices_by_alias.go
- query_push_records.go
- query_push_stat_by_app.go
- query_push_stat_by_msg.go
- query_tags.go
- query_unique_device_stat.go
- remove_tag.go
- struct_alias_info.go
- struct_alias_infos.go
- struct_app_device_stat.go
- struct_app_device_stats_in_query_device_stat.go
- struct_app_device_stats_in_query_unique_device_stat.go
- struct_app_push_stat.go
- struct_app_push_stats.go
- struct_development_cert_info.go
- struct_device_check_info.go
- struct_device_check_infos.go
- struct_device_ids_in_query_devices_by_account.go
- struct_device_ids_in_query_devices_by_alias.go
- struct_device_info.go
- struct_message_ids.go
- struct_production_cert_info.go
- struct_push_info.go
- struct_push_infos.go
- struct_push_stat.go
- struct_push_stats.go
- struct_summary_app_info.go
- struct_summary_app_infos.go
- struct_tag_info.go
- struct_tag_infos_in_list_tags.go
- struct_tag_infos_in_query_tags.go
- unbind_alias.go
- unbind_phone.go
- unbind_tag.go