wenzuochao 6 年之前
父节点
当前提交
68d7b8c80e
共有 51 个文件被更改,包括 392 次插入726 次删除
  1. 7 6
      services/push/bind_alias.go
  2. 5 4
      services/push/bind_phone.go
  3. 8 7
      services/push/bind_tag.go
  4. 6 5
      services/push/cancel_push.go
  5. 6 5
      services/push/check_device.go
  6. 17 7
      services/push/check_devices.go
  7. 2 2
      services/push/client.go
  8. 30 14
      services/push/list_push_records.go
  9. 15 5
      services/push/list_summary_apps.go
  10. 15 6
      services/push/list_tags.go
  11. 40 39
      services/push/push.go
  12. 5 4
      services/push/push_message_to_android_.go
  13. 5 4
      services/push/push_message_to_ios_.go
  14. 6 5
      services/push/push_notice_to_android_.go
  15. 7 6
      services/push/push_notice_to_ios_.go
  16. 16 7
      services/push/query_aliases.go
  17. 21 7
      services/push/query_device_info.go
  18. 21 10
      services/push/query_device_stat.go
  19. 8 7
      services/push/query_devices_by_account.go
  20. 8 7
      services/push/query_devices_by_alias.go
  21. 30 14
      services/push/query_push_list.go
  22. 26 7
      services/push/query_push_stat_by_app.go
  23. 26 7
      services/push/query_push_stat_by_msg.go
  24. 17 8
      services/push/query_tags.go
  25. 17 7
      services/push/query_unique_device_stat.go
  26. 6 5
      services/push/remove_tag.go
  27. 0 21
      services/push/struct_alias_info.go
  28. 0 21
      services/push/struct_alias_infos.go
  29. 0 23
      services/push/struct_app_device_stat.go
  30. 0 21
      services/push/struct_app_device_stats_in_query_device_stat.go
  31. 0 21
      services/push/struct_app_device_stats_in_query_unique_device_stat.go
  32. 0 31
      services/push/struct_app_push_stat.go
  33. 0 21
      services/push/struct_app_push_stats.go
  34. 0 22
      services/push/struct_device_check_info.go
  35. 0 21
      services/push/struct_device_check_infos.go
  36. 0 21
      services/push/struct_device_ids_in_query_devices_by_account.go
  37. 0 21
      services/push/struct_device_ids_in_query_devices_by_alias.go
  38. 0 30
      services/push/struct_device_info.go
  39. 0 28
      services/push/struct_push_message_info.go
  40. 0 21
      services/push/struct_push_message_infos_in_list_push_records.go
  41. 0 21
      services/push/struct_push_message_infos_in_query_push_list.go
  42. 0 31
      services/push/struct_push_stat.go
  43. 0 21
      services/push/struct_push_stats.go
  44. 0 22
      services/push/struct_summary_app_info.go
  45. 0 21
      services/push/struct_summary_app_infos.go
  46. 0 21
      services/push/struct_tag_info.go
  47. 0 21
      services/push/struct_tag_infos_in_list_tags.go
  48. 0 21
      services/push/struct_tag_infos_in_query_tags.go
  49. 8 7
      services/push/unbind_alias.go
  50. 6 5
      services/push/unbind_phone.go
  51. 8 7
      services/push/unbind_tag.go

+ 7 - 6
services/push/bind_alias.go

@@ -1,5 +1,3 @@
-package push
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package push
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package push
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,9 +76,10 @@ func (client *Client) BindAliasWithCallback(request *BindAliasRequest, callback
 // BindAliasRequest is the request struct for api BindAlias
 type BindAliasRequest struct {
 	*requests.RpcRequest
-	AliasName string           `position:"Query" name:"AliasName"`
-	AppKey    requests.Integer `position:"Query" name:"AppKey"`
-	DeviceId  string           `position:"Query" name:"DeviceId"`
+	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"`
 }
 
 // BindAliasResponse is the response struct for api BindAlias
@@ -92,7 +93,7 @@ func CreateBindAliasRequest() (request *BindAliasRequest) {
 	request = &BindAliasRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Push", "2016-08-01", "BindAlias", "", "")
+	request.InitWithApiInfo("Push", "2016-08-01", "BindAlias", "push", "openAPI")
 	return
 }
 

+ 5 - 4
services/push/bind_phone.go

@@ -1,5 +1,3 @@
-package push
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package push
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package push
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,9 +76,10 @@ func (client *Client) BindPhoneWithCallback(request *BindPhoneRequest, callback
 // BindPhoneRequest is the request struct for api BindPhone
 type BindPhoneRequest struct {
 	*requests.RpcRequest
-	PhoneNumber string           `position:"Query" name:"PhoneNumber"`
+	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"`
 }
 
 // BindPhoneResponse is the response struct for api BindPhone
@@ -92,7 +93,7 @@ func CreateBindPhoneRequest() (request *BindPhoneRequest) {
 	request = &BindPhoneRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Push", "2016-08-01", "BindPhone", "", "")
+	request.InitWithApiInfo("Push", "2016-08-01", "BindPhone", "push", "openAPI")
 	return
 }
 

+ 8 - 7
services/push/bind_tag.go

@@ -1,5 +1,3 @@
-package push
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package push
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package push
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,10 +76,11 @@ func (client *Client) BindTagWithCallback(request *BindTagRequest, callback func
 // BindTagRequest is the request struct for api BindTag
 type BindTagRequest struct {
 	*requests.RpcRequest
-	TagName   string           `position:"Query" name:"TagName"`
-	ClientKey string           `position:"Query" name:"ClientKey"`
-	AppKey    requests.Integer `position:"Query" name:"AppKey"`
-	KeyType   string           `position:"Query" name:"KeyType"`
+	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"`
 }
 
 // BindTagResponse is the response struct for api BindTag
@@ -93,7 +94,7 @@ func CreateBindTagRequest() (request *BindTagRequest) {
 	request = &BindTagRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Push", "2016-08-01", "BindTag", "", "")
+	request.InitWithApiInfo("Push", "2016-08-01", "BindTag", "push", "openAPI")
 	return
 }
 

+ 6 - 5
services/push/cancel_push.go

@@ -1,5 +1,3 @@
-package push
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package push
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package push
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,8 +76,9 @@ func (client *Client) CancelPushWithCallback(request *CancelPushRequest, callbac
 // CancelPushRequest is the request struct for api CancelPush
 type CancelPushRequest struct {
 	*requests.RpcRequest
-	MessageId requests.Integer `position:"Query" name:"MessageId"`
-	AppKey    requests.Integer `position:"Query" name:"AppKey"`
+	AccessKeyId string           `position:"Query" name:"AccessKeyId"`
+	AppKey      requests.Integer `position:"Query" name:"AppKey"`
+	MessageId   requests.Integer `position:"Query" name:"MessageId"`
 }
 
 // CancelPushResponse is the response struct for api CancelPush
@@ -91,7 +92,7 @@ func CreateCancelPushRequest() (request *CancelPushRequest) {
 	request = &CancelPushRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Push", "2016-08-01", "CancelPush", "", "")
+	request.InitWithApiInfo("Push", "2016-08-01", "CancelPush", "push", "openAPI")
 	return
 }
 

+ 6 - 5
services/push/check_device.go

@@ -1,5 +1,3 @@
-package push
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package push
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package push
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,8 +76,9 @@ func (client *Client) CheckDeviceWithCallback(request *CheckDeviceRequest, callb
 // CheckDeviceRequest is the request struct for api CheckDevice
 type CheckDeviceRequest struct {
 	*requests.RpcRequest
-	AppKey   requests.Integer `position:"Query" name:"AppKey"`
-	DeviceId string           `position:"Query" name:"DeviceId"`
+	AccessKeyId string           `position:"Query" name:"AccessKeyId"`
+	AppKey      requests.Integer `position:"Query" name:"AppKey"`
+	DeviceId    string           `position:"Query" name:"DeviceId"`
 }
 
 // CheckDeviceResponse is the response struct for api CheckDevice
@@ -92,7 +93,7 @@ func CreateCheckDeviceRequest() (request *CheckDeviceRequest) {
 	request = &CheckDeviceRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Push", "2016-08-01", "CheckDevice", "", "")
+	request.InitWithApiInfo("Push", "2016-08-01", "CheckDevice", "push", "openAPI")
 	return
 }
 

+ 17 - 7
services/push/check_devices.go

@@ -1,5 +1,3 @@
-package push
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package push
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package push
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,15 +76,25 @@ func (client *Client) CheckDevicesWithCallback(request *CheckDevicesRequest, cal
 // CheckDevicesRequest is the request struct for api CheckDevices
 type CheckDevicesRequest struct {
 	*requests.RpcRequest
-	DeviceIds string           `position:"Query" name:"DeviceIds"`
-	AppKey    requests.Integer `position:"Query" name:"AppKey"`
+	AccessKeyId string           `position:"Query" name:"AccessKeyId"`
+	AppKey      requests.Integer `position:"Query" name:"AppKey"`
+	DeviceIds   string           `position:"Query" name:"DeviceIds"`
 }
 
 // CheckDevicesResponse is the response struct for api CheckDevices
 type CheckDevicesResponse struct {
 	*responses.BaseResponse
-	RequestId        string           `json:"RequestId" xml:"RequestId"`
-	DeviceCheckInfos DeviceCheckInfos `json:"DeviceCheckInfos" xml:"DeviceCheckInfos"`
+	RequestId        string                        `json:"RequestId" xml:"RequestId"`
+	DeviceCheckInfos CheckDevicesDeviceCheckInfos0 `json:"DeviceCheckInfos" xml:"DeviceCheckInfos"`
+}
+
+type CheckDevicesDeviceCheckInfos0 struct {
+	DeviceCheckInfo []CheckDevicesDeviceCheckInfo1 `json:"DeviceCheckInfo" xml:"DeviceCheckInfo"`
+}
+
+type CheckDevicesDeviceCheckInfo1 struct {
+	DeviceId  string `json:"DeviceId" xml:"DeviceId"`
+	Available bool   `json:"Available" xml:"Available"`
 }
 
 // CreateCheckDevicesRequest creates a request to invoke CheckDevices API
@@ -92,7 +102,7 @@ func CreateCheckDevicesRequest() (request *CheckDevicesRequest) {
 	request = &CheckDevicesRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Push", "2016-08-01", "CheckDevices", "", "")
+	request.InitWithApiInfo("Push", "2016-08-01", "CheckDevices", "push", "openAPI")
 	return
 }
 

+ 2 - 2
services/push/client.go

@@ -1,5 +1,3 @@
-package push
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package push
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package push
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/auth"

+ 30 - 14
services/push/list_push_records.go

@@ -1,5 +1,3 @@
-package push
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package push
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package push
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,22 +76,38 @@ func (client *Client) ListPushRecordsWithCallback(request *ListPushRecordsReques
 // ListPushRecordsRequest is the request struct for api ListPushRecords
 type ListPushRecordsRequest struct {
 	*requests.RpcRequest
-	PageSize  requests.Integer `position:"Query" name:"PageSize"`
-	EndTime   string           `position:"Query" name:"EndTime"`
-	AppKey    requests.Integer `position:"Query" name:"AppKey"`
-	StartTime string           `position:"Query" name:"StartTime"`
-	Page      requests.Integer `position:"Query" name:"Page"`
-	PushType  string           `position:"Query" name:"PushType"`
+	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"`
 }
 
 // ListPushRecordsResponse is the response struct for api ListPushRecords
 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 PushMessageInfosInListPushRecords `json:"PushMessageInfos" xml:"PushMessageInfos"`
+	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"`
+}
+
+type ListPushRecordsPushMessageInfos0 struct {
+	PushMessageInfo []ListPushRecordsPushMessageInfo1 `json:"PushMessageInfo" xml:"PushMessageInfo"`
+}
+
+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"`
 }
 
 // CreateListPushRecordsRequest creates a request to invoke ListPushRecords API
@@ -99,7 +115,7 @@ func CreateListPushRecordsRequest() (request *ListPushRecordsRequest) {
 	request = &ListPushRecordsRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Push", "2016-08-01", "ListPushRecords", "", "")
+	request.InitWithApiInfo("Push", "2016-08-01", "ListPushRecords", "push", "openAPI")
 	return
 }
 

+ 15 - 5
services/push/list_summary_apps.go

@@ -1,5 +1,3 @@
-package push
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package push
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package push
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,13 +76,23 @@ func (client *Client) ListSummaryAppsWithCallback(request *ListSummaryAppsReques
 // ListSummaryAppsRequest is the request struct for api ListSummaryApps
 type ListSummaryAppsRequest struct {
 	*requests.RpcRequest
+	AccessKeyId string `position:"Query" name:"AccessKeyId"`
 }
 
 // ListSummaryAppsResponse is the response struct for api ListSummaryApps
 type ListSummaryAppsResponse struct {
 	*responses.BaseResponse
-	RequestId       string          `json:"RequestId" xml:"RequestId"`
-	SummaryAppInfos SummaryAppInfos `json:"SummaryAppInfos" xml:"SummaryAppInfos"`
+	RequestId       string                          `json:"RequestId" xml:"RequestId"`
+	SummaryAppInfos ListSummaryAppsSummaryAppInfos0 `json:"SummaryAppInfos" xml:"SummaryAppInfos"`
+}
+
+type ListSummaryAppsSummaryAppInfos0 struct {
+	SummaryAppInfo []ListSummaryAppsSummaryAppInfo1 `json:"SummaryAppInfo" xml:"SummaryAppInfo"`
+}
+
+type ListSummaryAppsSummaryAppInfo1 struct {
+	AppName string `json:"AppName" xml:"AppName"`
+	AppKey  int64  `json:"AppKey" xml:"AppKey"`
 }
 
 // CreateListSummaryAppsRequest creates a request to invoke ListSummaryApps API
@@ -90,7 +100,7 @@ func CreateListSummaryAppsRequest() (request *ListSummaryAppsRequest) {
 	request = &ListSummaryAppsRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Push", "2016-08-01", "ListSummaryApps", "", "")
+	request.InitWithApiInfo("Push", "2016-08-01", "ListSummaryApps", "push", "openAPI")
 	return
 }
 

+ 15 - 6
services/push/list_tags.go

@@ -1,5 +1,3 @@
-package push
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package push
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package push
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,14 +76,23 @@ func (client *Client) ListTagsWithCallback(request *ListTagsRequest, callback fu
 // ListTagsRequest is the request struct for api ListTags
 type ListTagsRequest struct {
 	*requests.RpcRequest
-	AppKey requests.Integer `position:"Query" name:"AppKey"`
+	AccessKeyId string           `position:"Query" name:"AccessKeyId"`
+	AppKey      requests.Integer `position:"Query" name:"AppKey"`
 }
 
 // ListTagsResponse is the response struct for api ListTags
 type ListTagsResponse struct {
 	*responses.BaseResponse
-	RequestId string             `json:"RequestId" xml:"RequestId"`
-	TagInfos  TagInfosInListTags `json:"TagInfos" xml:"TagInfos"`
+	RequestId string            `json:"RequestId" xml:"RequestId"`
+	TagInfos  ListTagsTagInfos0 `json:"TagInfos" xml:"TagInfos"`
+}
+
+type ListTagsTagInfos0 struct {
+	TagInfo []ListTagsTagInfo1 `json:"TagInfo" xml:"TagInfo"`
+}
+
+type ListTagsTagInfo1 struct {
+	TagName string `json:"TagName" xml:"TagName"`
 }
 
 // CreateListTagsRequest creates a request to invoke ListTags API
@@ -91,7 +100,7 @@ func CreateListTagsRequest() (request *ListTagsRequest) {
 	request = &ListTagsRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Push", "2016-08-01", "ListTags", "", "")
+	request.InitWithApiInfo("Push", "2016-08-01", "ListTags", "push", "openAPI")
 	return
 }
 

+ 40 - 39
services/push/push.go

@@ -1,5 +1,3 @@
-package push
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package push
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package push
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,50 +76,51 @@ func (client *Client) PushWithCallback(request *PushRequest, callback func(respo
 // PushRequest is the request struct for api Push
 type PushRequest struct {
 	*requests.RpcRequest
-	AndroidNotificationBarType     requests.Integer `position:"Query" name:"AndroidNotificationBarType"`
-	SmsSendPolicy                  requests.Integer `position:"Query" name:"SmsSendPolicy"`
-	AndroidExtParameters           string           `position:"Query" name:"AndroidExtParameters"`
-	IOSBadge                       requests.Integer `position:"Query" name:"iOSBadge"`
-	IOSBadgeAutoIncrement          requests.Boolean `position:"Query" name:"iOSBadgeAutoIncrement"`
-	AndroidOpenType                string           `position:"Query" name:"AndroidOpenType"`
+	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"`
-	DeviceType                     string           `position:"Query" name:"DeviceType"`
-	PushTime                       string           `position:"Query" name:"PushTime"`
-	SmsDelaySecs                   requests.Integer `position:"Query" name:"SmsDelaySecs"`
+	JobKey                         string           `position:"Query" name:"JobKey"`
 	SendSpeed                      requests.Integer `position:"Query" name:"SendSpeed"`
-	AndroidPopupActivity           string           `position:"Query" name:"AndroidPopupActivity"`
-	IOSRemindBody                  string           `position:"Query" name:"iOSRemindBody"`
-	IOSExtParameters               string           `position:"Query" name:"iOSExtParameters"`
-	AndroidNotifyType              string           `position:"Query" name:"AndroidNotifyType"`
-	AndroidPopupTitle              string           `position:"Query" name:"AndroidPopupTitle"`
-	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"`
-	SmsTemplateName                string           `position:"Query" name:"SmsTemplateName"`
-	AndroidPopupBody               string           `position:"Query" name:"AndroidPopupBody"`
-	IOSNotificationCategory        string           `position:"Query" name:"iOSNotificationCategory"`
 	StoreOffline                   requests.Boolean `position:"Query" name:"StoreOffline"`
-	IOSSilentNotification          requests.Boolean `position:"Query" name:"iOSSilentNotification"`
-	SmsParams                      string           `position:"Query" name:"SmsParams"`
-	JobKey                         string           `position:"Query" name:"JobKey"`
-	Target                         string           `position:"Query" name:"Target"`
-	AndroidOpenUrl                 string           `position:"Query" name:"AndroidOpenUrl"`
-	AndroidNotificationChannel     string           `position:"Query" name:"AndroidNotificationChannel"`
-	AndroidRemind                  requests.Boolean `position:"Query" name:"AndroidRemind"`
+	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"`
-	AndroidXiaoMiNotifyBody        string           `position:"Query" name:"AndroidXiaoMiNotifyBody"`
-	IOSSubtitle                    string           `position:"Query" name:"iOSSubtitle"`
-	SmsSignName                    string           `position:"Query" name:"SmsSignName"`
-	IOSRemind                      requests.Boolean `position:"Query" name:"iOSRemind"`
-	AppKey                         requests.Integer `position:"Query" name:"AppKey"`
-	TargetValue                    string           `position:"Query" name:"TargetValue"`
 	AndroidMusic                   string           `position:"Query" name:"AndroidMusic"`
+	AndroidOpenUrl                 string           `position:"Query" name:"AndroidOpenUrl"`
 	AndroidXiaoMiActivity          string           `position:"Query" name:"AndroidXiaoMiActivity"`
 	AndroidXiaoMiNotifyTitle       string           `position:"Query" name:"AndroidXiaoMiNotifyTitle"`
-	PushType                       string           `position:"Query" name:"PushType"`
+	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"`
 }
 
 // PushResponse is the response struct for api Push
@@ -134,7 +135,7 @@ func CreatePushRequest() (request *PushRequest) {
 	request = &PushRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Push", "2016-08-01", "Push", "", "")
+	request.InitWithApiInfo("Push", "2016-08-01", "Push", "push", "openAPI")
 	return
 }
 

+ 5 - 4
services/push/push_message_to_android.go → services/push/push_message_to_android_.go

@@ -1,5 +1,3 @@
-package push
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package push
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package push
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,12 +76,13 @@ func (client *Client) PushMessageToAndroidWithCallback(request *PushMessageToAnd
 // PushMessageToAndroidRequest is the request struct for api PushMessageToAndroid
 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"`
-	Target      string           `position:"Query" name:"Target"`
 }
 
 // PushMessageToAndroidResponse is the response struct for api PushMessageToAndroid
@@ -96,7 +97,7 @@ func CreatePushMessageToAndroidRequest() (request *PushMessageToAndroidRequest)
 	request = &PushMessageToAndroidRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Push", "2016-08-01", "PushMessageToAndroid", "", "")
+	request.InitWithApiInfo("Push", "2016-08-01", "PushMessageToAndroid", "push", "openAPI")
 	return
 }
 

+ 5 - 4
services/push/push_message_toi_os.go → services/push/push_message_to_ios_.go

@@ -1,5 +1,3 @@
-package push
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package push
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package push
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,12 +76,13 @@ func (client *Client) PushMessageToiOSWithCallback(request *PushMessageToiOSRequ
 // PushMessageToiOSRequest is the request struct for api PushMessageToiOS
 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"`
-	Target      string           `position:"Query" name:"Target"`
 }
 
 // PushMessageToiOSResponse is the response struct for api PushMessageToiOS
@@ -96,7 +97,7 @@ func CreatePushMessageToiOSRequest() (request *PushMessageToiOSRequest) {
 	request = &PushMessageToiOSRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Push", "2016-08-01", "PushMessageToiOS", "", "")
+	request.InitWithApiInfo("Push", "2016-08-01", "PushMessageToiOS", "push", "openAPI")
 	return
 }
 

+ 6 - 5
services/push/push_notice_to_android.go → services/push/push_notice_to_android_.go

@@ -1,5 +1,3 @@
-package push
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package push
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package push
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,13 +76,14 @@ func (client *Client) PushNoticeToAndroidWithCallback(request *PushNoticeToAndro
 // PushNoticeToAndroidRequest is the request struct for api PushNoticeToAndroid
 type PushNoticeToAndroidRequest struct {
 	*requests.RpcRequest
-	ExtParameters string           `position:"Query" name:"ExtParameters"`
+	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"`
-	Target        string           `position:"Query" name:"Target"`
+	ExtParameters string           `position:"Query" name:"ExtParameters"`
 }
 
 // PushNoticeToAndroidResponse is the response struct for api PushNoticeToAndroid
@@ -97,7 +98,7 @@ func CreatePushNoticeToAndroidRequest() (request *PushNoticeToAndroidRequest) {
 	request = &PushNoticeToAndroidRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Push", "2016-08-01", "PushNoticeToAndroid", "", "")
+	request.InitWithApiInfo("Push", "2016-08-01", "PushNoticeToAndroid", "push", "openAPI")
 	return
 }
 

+ 7 - 6
services/push/push_notice_toi_os.go → services/push/push_notice_to_ios_.go

@@ -1,5 +1,3 @@
-package push
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package push
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package push
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,14 +76,15 @@ func (client *Client) PushNoticeToiOSWithCallback(request *PushNoticeToiOSReques
 // PushNoticeToiOSRequest is the request struct for api PushNoticeToiOS
 type PushNoticeToiOSRequest struct {
 	*requests.RpcRequest
-	ExtParameters string           `position:"Query" name:"ExtParameters"`
-	ApnsEnv       string           `position:"Query" name:"ApnsEnv"`
+	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"`
-	Target        string           `position:"Query" name:"Target"`
+	ExtParameters string           `position:"Query" name:"ExtParameters"`
 }
 
 // PushNoticeToiOSResponse is the response struct for api PushNoticeToiOS
@@ -98,7 +99,7 @@ func CreatePushNoticeToiOSRequest() (request *PushNoticeToiOSRequest) {
 	request = &PushNoticeToiOSRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Push", "2016-08-01", "PushNoticeToiOS", "", "")
+	request.InitWithApiInfo("Push", "2016-08-01", "PushNoticeToiOS", "push", "openAPI")
 	return
 }
 

+ 16 - 7
services/push/query_aliases.go

@@ -1,5 +1,3 @@
-package push
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package push
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package push
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,15 +76,24 @@ func (client *Client) QueryAliasesWithCallback(request *QueryAliasesRequest, cal
 // QueryAliasesRequest is the request struct for api QueryAliases
 type QueryAliasesRequest struct {
 	*requests.RpcRequest
-	AppKey   requests.Integer `position:"Query" name:"AppKey"`
-	DeviceId string           `position:"Query" name:"DeviceId"`
+	AccessKeyId string           `position:"Query" name:"AccessKeyId"`
+	AppKey      requests.Integer `position:"Query" name:"AppKey"`
+	DeviceId    string           `position:"Query" name:"DeviceId"`
 }
 
 // QueryAliasesResponse is the response struct for api QueryAliases
 type QueryAliasesResponse struct {
 	*responses.BaseResponse
-	RequestId  string     `json:"RequestId" xml:"RequestId"`
-	AliasInfos AliasInfos `json:"AliasInfos" xml:"AliasInfos"`
+	RequestId  string                  `json:"RequestId" xml:"RequestId"`
+	AliasInfos QueryAliasesAliasInfos0 `json:"AliasInfos" xml:"AliasInfos"`
+}
+
+type QueryAliasesAliasInfos0 struct {
+	AliasInfo []QueryAliasesAliasInfo1 `json:"AliasInfo" xml:"AliasInfo"`
+}
+
+type QueryAliasesAliasInfo1 struct {
+	AliasName string `json:"AliasName" xml:"AliasName"`
 }
 
 // CreateQueryAliasesRequest creates a request to invoke QueryAliases API
@@ -92,7 +101,7 @@ func CreateQueryAliasesRequest() (request *QueryAliasesRequest) {
 	request = &QueryAliasesRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Push", "2016-08-01", "QueryAliases", "", "")
+	request.InitWithApiInfo("Push", "2016-08-01", "QueryAliases", "push", "openAPI")
 	return
 }
 

+ 21 - 7
services/push/query_device_info.go

@@ -1,5 +1,3 @@
-package push
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package push
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package push
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,15 +76,29 @@ func (client *Client) QueryDeviceInfoWithCallback(request *QueryDeviceInfoReques
 // QueryDeviceInfoRequest is the request struct for api QueryDeviceInfo
 type QueryDeviceInfoRequest struct {
 	*requests.RpcRequest
-	AppKey   requests.Integer `position:"Query" name:"AppKey"`
-	DeviceId string           `position:"Query" name:"DeviceId"`
+	AccessKeyId string           `position:"Query" name:"AccessKeyId"`
+	AppKey      requests.Integer `position:"Query" name:"AppKey"`
+	DeviceId    string           `position:"Query" name:"DeviceId"`
 }
 
 // QueryDeviceInfoResponse is the response struct for api QueryDeviceInfo
 type QueryDeviceInfoResponse struct {
 	*responses.BaseResponse
-	RequestId  string     `json:"RequestId" xml:"RequestId"`
-	DeviceInfo DeviceInfo `json:"DeviceInfo" xml:"DeviceInfo"`
+	RequestId  string                     `json:"RequestId" xml:"RequestId"`
+	DeviceInfo QueryDeviceInfoDeviceInfo0 `json:"DeviceInfo" xml:"DeviceInfo"`
+}
+
+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"`
 }
 
 // CreateQueryDeviceInfoRequest creates a request to invoke QueryDeviceInfo API
@@ -92,7 +106,7 @@ func CreateQueryDeviceInfoRequest() (request *QueryDeviceInfoRequest) {
 	request = &QueryDeviceInfoRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Push", "2016-08-01", "QueryDeviceInfo", "", "")
+	request.InitWithApiInfo("Push", "2016-08-01", "QueryDeviceInfo", "push", "openAPI")
 	return
 }
 

+ 21 - 10
services/push/query_device_stat.go

@@ -1,5 +1,3 @@
-package push
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package push
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package push
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,18 +76,29 @@ func (client *Client) QueryDeviceStatWithCallback(request *QueryDeviceStatReques
 // QueryDeviceStatRequest is the request struct for api QueryDeviceStat
 type QueryDeviceStatRequest struct {
 	*requests.RpcRequest
-	EndTime    string           `position:"Query" name:"EndTime"`
-	AppKey     requests.Integer `position:"Query" name:"AppKey"`
-	StartTime  string           `position:"Query" name:"StartTime"`
-	DeviceType string           `position:"Query" name:"DeviceType"`
-	QueryType  string           `position:"Query" name:"QueryType"`
+	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"`
 }
 
 // QueryDeviceStatResponse is the response struct for api QueryDeviceStat
 type QueryDeviceStatResponse struct {
 	*responses.BaseResponse
-	RequestId      string                          `json:"RequestId" xml:"RequestId"`
-	AppDeviceStats AppDeviceStatsInQueryDeviceStat `json:"AppDeviceStats" xml:"AppDeviceStats"`
+	RequestId      string                         `json:"RequestId" xml:"RequestId"`
+	AppDeviceStats QueryDeviceStatAppDeviceStats0 `json:"AppDeviceStats" xml:"AppDeviceStats"`
+}
+
+type QueryDeviceStatAppDeviceStats0 struct {
+	AppDeviceStat []QueryDeviceStatAppDeviceStat1 `json:"AppDeviceStat" xml:"AppDeviceStat"`
+}
+
+type QueryDeviceStatAppDeviceStat1 struct {
+	Time       string `json:"Time" xml:"Time"`
+	Count      int64  `json:"Count" xml:"Count"`
+	DeviceType string `json:"DeviceType" xml:"DeviceType"`
 }
 
 // CreateQueryDeviceStatRequest creates a request to invoke QueryDeviceStat API
@@ -95,7 +106,7 @@ func CreateQueryDeviceStatRequest() (request *QueryDeviceStatRequest) {
 	request = &QueryDeviceStatRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Push", "2016-08-01", "QueryDeviceStat", "", "")
+	request.InitWithApiInfo("Push", "2016-08-01", "QueryDeviceStat", "push", "openAPI")
 	return
 }
 

+ 8 - 7
services/push/query_devices_by_account.go

@@ -1,5 +1,3 @@
-package push
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package push
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package push
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,15 +76,16 @@ func (client *Client) QueryDevicesByAccountWithCallback(request *QueryDevicesByA
 // QueryDevicesByAccountRequest is the request struct for api QueryDevicesByAccount
 type QueryDevicesByAccountRequest struct {
 	*requests.RpcRequest
-	AppKey  requests.Integer `position:"Query" name:"AppKey"`
-	Account string           `position:"Query" name:"Account"`
+	AccessKeyId string           `position:"Query" name:"AccessKeyId"`
+	AppKey      requests.Integer `position:"Query" name:"AppKey"`
+	Account     string           `position:"Query" name:"Account"`
 }
 
 // QueryDevicesByAccountResponse is the response struct for api QueryDevicesByAccount
 type QueryDevicesByAccountResponse struct {
 	*responses.BaseResponse
-	RequestId string                           `json:"RequestId" xml:"RequestId"`
-	DeviceIds DeviceIdsInQueryDevicesByAccount `json:"DeviceIds" xml:"DeviceIds"`
+	RequestId string   `json:"RequestId" xml:"RequestId"`
+	DeviceIds []string `json:"DeviceIds" xml:"DeviceIds"`
 }
 
 // CreateQueryDevicesByAccountRequest creates a request to invoke QueryDevicesByAccount API
@@ -92,7 +93,7 @@ func CreateQueryDevicesByAccountRequest() (request *QueryDevicesByAccountRequest
 	request = &QueryDevicesByAccountRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Push", "2016-08-01", "QueryDevicesByAccount", "", "")
+	request.InitWithApiInfo("Push", "2016-08-01", "QueryDevicesByAccount", "push", "openAPI")
 	return
 }
 

+ 8 - 7
services/push/query_devices_by_alias.go

@@ -1,5 +1,3 @@
-package push
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package push
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package push
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,15 +76,16 @@ func (client *Client) QueryDevicesByAliasWithCallback(request *QueryDevicesByAli
 // QueryDevicesByAliasRequest is the request struct for api QueryDevicesByAlias
 type QueryDevicesByAliasRequest struct {
 	*requests.RpcRequest
-	Alias  string           `position:"Query" name:"Alias"`
-	AppKey requests.Integer `position:"Query" name:"AppKey"`
+	AccessKeyId string           `position:"Query" name:"AccessKeyId"`
+	AppKey      requests.Integer `position:"Query" name:"AppKey"`
+	Alias       string           `position:"Query" name:"Alias"`
 }
 
 // QueryDevicesByAliasResponse is the response struct for api QueryDevicesByAlias
 type QueryDevicesByAliasResponse struct {
 	*responses.BaseResponse
-	RequestId string                         `json:"RequestId" xml:"RequestId"`
-	DeviceIds DeviceIdsInQueryDevicesByAlias `json:"DeviceIds" xml:"DeviceIds"`
+	RequestId string   `json:"RequestId" xml:"RequestId"`
+	DeviceIds []string `json:"DeviceIds" xml:"DeviceIds"`
 }
 
 // CreateQueryDevicesByAliasRequest creates a request to invoke QueryDevicesByAlias API
@@ -92,7 +93,7 @@ func CreateQueryDevicesByAliasRequest() (request *QueryDevicesByAliasRequest) {
 	request = &QueryDevicesByAliasRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Push", "2016-08-01", "QueryDevicesByAlias", "", "")
+	request.InitWithApiInfo("Push", "2016-08-01", "QueryDevicesByAlias", "push", "openAPI")
 	return
 }
 

+ 30 - 14
services/push/query_push_list.go

@@ -1,5 +1,3 @@
-package push
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package push
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package push
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,22 +76,38 @@ func (client *Client) QueryPushListWithCallback(request *QueryPushListRequest, c
 // QueryPushListRequest is the request struct for api QueryPushList
 type QueryPushListRequest struct {
 	*requests.RpcRequest
-	PageSize  requests.Integer `position:"Query" name:"PageSize"`
-	EndTime   string           `position:"Query" name:"EndTime"`
-	AppKey    requests.Integer `position:"Query" name:"AppKey"`
-	StartTime string           `position:"Query" name:"StartTime"`
-	Page      requests.Integer `position:"Query" name:"Page"`
-	PushType  string           `position:"Query" name:"PushType"`
+	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"`
 }
 
 // QueryPushListResponse is the response struct for api QueryPushList
 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 PushMessageInfosInQueryPushList `json:"PushMessageInfos" xml:"PushMessageInfos"`
+	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"`
+}
+
+type QueryPushListPushMessageInfos0 struct {
+	PushMessageInfo []QueryPushListPushMessageInfo1 `json:"PushMessageInfo" xml:"PushMessageInfo"`
+}
+
+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"`
 }
 
 // CreateQueryPushListRequest creates a request to invoke QueryPushList API
@@ -99,7 +115,7 @@ func CreateQueryPushListRequest() (request *QueryPushListRequest) {
 	request = &QueryPushListRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Push", "2016-08-01", "QueryPushList", "", "")
+	request.InitWithApiInfo("Push", "2016-08-01", "QueryPushList", "push", "openAPI")
 	return
 }
 

+ 26 - 7
services/push/query_push_stat_by_app.go

@@ -1,5 +1,3 @@
-package push
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package push
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package push
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,17 +76,36 @@ func (client *Client) QueryPushStatByAppWithCallback(request *QueryPushStatByApp
 // QueryPushStatByAppRequest is the request struct for api QueryPushStatByApp
 type QueryPushStatByAppRequest struct {
 	*requests.RpcRequest
-	Granularity string           `position:"Query" name:"Granularity"`
-	EndTime     string           `position:"Query" name:"EndTime"`
+	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"`
 }
 
 // QueryPushStatByAppResponse is the response struct for api QueryPushStatByApp
 type QueryPushStatByAppResponse struct {
 	*responses.BaseResponse
-	RequestId    string       `json:"RequestId" xml:"RequestId"`
-	AppPushStats AppPushStats `json:"AppPushStats" xml:"AppPushStats"`
+	RequestId    string                          `json:"RequestId" xml:"RequestId"`
+	AppPushStats QueryPushStatByAppAppPushStats0 `json:"AppPushStats" xml:"AppPushStats"`
+}
+
+type QueryPushStatByAppAppPushStats0 struct {
+	AppPushStat []QueryPushStatByAppAppPushStat1 `json:"AppPushStat" xml:"AppPushStat"`
+}
+
+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"`
 }
 
 // CreateQueryPushStatByAppRequest creates a request to invoke QueryPushStatByApp API
@@ -94,7 +113,7 @@ func CreateQueryPushStatByAppRequest() (request *QueryPushStatByAppRequest) {
 	request = &QueryPushStatByAppRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Push", "2016-08-01", "QueryPushStatByApp", "", "")
+	request.InitWithApiInfo("Push", "2016-08-01", "QueryPushStatByApp", "push", "openAPI")
 	return
 }
 

+ 26 - 7
services/push/query_push_stat_by_msg.go

@@ -1,5 +1,3 @@
-package push
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package push
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package push
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,15 +76,34 @@ func (client *Client) QueryPushStatByMsgWithCallback(request *QueryPushStatByMsg
 // QueryPushStatByMsgRequest is the request struct for api QueryPushStatByMsg
 type QueryPushStatByMsgRequest struct {
 	*requests.RpcRequest
-	MessageId requests.Integer `position:"Query" name:"MessageId"`
-	AppKey    requests.Integer `position:"Query" name:"AppKey"`
+	AccessKeyId string           `position:"Query" name:"AccessKeyId"`
+	AppKey      requests.Integer `position:"Query" name:"AppKey"`
+	MessageId   requests.Integer `position:"Query" name:"MessageId"`
 }
 
 // QueryPushStatByMsgResponse is the response struct for api QueryPushStatByMsg
 type QueryPushStatByMsgResponse struct {
 	*responses.BaseResponse
-	RequestId string    `json:"RequestId" xml:"RequestId"`
-	PushStats PushStats `json:"PushStats" xml:"PushStats"`
+	RequestId string                       `json:"RequestId" xml:"RequestId"`
+	PushStats QueryPushStatByMsgPushStats0 `json:"PushStats" xml:"PushStats"`
+}
+
+type QueryPushStatByMsgPushStats0 struct {
+	PushStat []QueryPushStatByMsgPushStat1 `json:"PushStat" xml:"PushStat"`
+}
+
+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"`
 }
 
 // CreateQueryPushStatByMsgRequest creates a request to invoke QueryPushStatByMsg API
@@ -92,7 +111,7 @@ func CreateQueryPushStatByMsgRequest() (request *QueryPushStatByMsgRequest) {
 	request = &QueryPushStatByMsgRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Push", "2016-08-01", "QueryPushStatByMsg", "", "")
+	request.InitWithApiInfo("Push", "2016-08-01", "QueryPushStatByMsg", "push", "openAPI")
 	return
 }
 

+ 17 - 8
services/push/query_tags.go

@@ -1,5 +1,3 @@
-package push
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package push
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package push
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,16 +76,25 @@ func (client *Client) QueryTagsWithCallback(request *QueryTagsRequest, callback
 // QueryTagsRequest is the request struct for api QueryTags
 type QueryTagsRequest struct {
 	*requests.RpcRequest
-	ClientKey string           `position:"Query" name:"ClientKey"`
-	AppKey    requests.Integer `position:"Query" name:"AppKey"`
-	KeyType   string           `position:"Query" name:"KeyType"`
+	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"`
 }
 
 // QueryTagsResponse is the response struct for api QueryTags
 type QueryTagsResponse struct {
 	*responses.BaseResponse
-	RequestId string              `json:"RequestId" xml:"RequestId"`
-	TagInfos  TagInfosInQueryTags `json:"TagInfos" xml:"TagInfos"`
+	RequestId string             `json:"RequestId" xml:"RequestId"`
+	TagInfos  QueryTagsTagInfos0 `json:"TagInfos" xml:"TagInfos"`
+}
+
+type QueryTagsTagInfos0 struct {
+	TagInfo []QueryTagsTagInfo1 `json:"TagInfo" xml:"TagInfo"`
+}
+
+type QueryTagsTagInfo1 struct {
+	TagName string `json:"TagName" xml:"TagName"`
 }
 
 // CreateQueryTagsRequest creates a request to invoke QueryTags API
@@ -93,7 +102,7 @@ func CreateQueryTagsRequest() (request *QueryTagsRequest) {
 	request = &QueryTagsRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Push", "2016-08-01", "QueryTags", "", "")
+	request.InitWithApiInfo("Push", "2016-08-01", "QueryTags", "push", "openAPI")
 	return
 }
 

+ 17 - 7
services/push/query_unique_device_stat.go

@@ -1,5 +1,3 @@
-package push
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package push
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package push
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,17 +76,27 @@ func (client *Client) QueryUniqueDeviceStatWithCallback(request *QueryUniqueDevi
 // QueryUniqueDeviceStatRequest is the request struct for api QueryUniqueDeviceStat
 type QueryUniqueDeviceStatRequest struct {
 	*requests.RpcRequest
-	Granularity string           `position:"Query" name:"Granularity"`
-	EndTime     string           `position:"Query" name:"EndTime"`
+	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"`
 }
 
 // QueryUniqueDeviceStatResponse is the response struct for api QueryUniqueDeviceStat
 type QueryUniqueDeviceStatResponse struct {
 	*responses.BaseResponse
-	RequestId      string                                `json:"RequestId" xml:"RequestId"`
-	AppDeviceStats AppDeviceStatsInQueryUniqueDeviceStat `json:"AppDeviceStats" xml:"AppDeviceStats"`
+	RequestId      string                               `json:"RequestId" xml:"RequestId"`
+	AppDeviceStats QueryUniqueDeviceStatAppDeviceStats0 `json:"AppDeviceStats" xml:"AppDeviceStats"`
+}
+
+type QueryUniqueDeviceStatAppDeviceStats0 struct {
+	AppDeviceStat []QueryUniqueDeviceStatAppDeviceStat1 `json:"AppDeviceStat" xml:"AppDeviceStat"`
+}
+
+type QueryUniqueDeviceStatAppDeviceStat1 struct {
+	Time  string `json:"Time" xml:"Time"`
+	Count int64  `json:"Count" xml:"Count"`
 }
 
 // CreateQueryUniqueDeviceStatRequest creates a request to invoke QueryUniqueDeviceStat API
@@ -94,7 +104,7 @@ func CreateQueryUniqueDeviceStatRequest() (request *QueryUniqueDeviceStatRequest
 	request = &QueryUniqueDeviceStatRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Push", "2016-08-01", "QueryUniqueDeviceStat", "", "")
+	request.InitWithApiInfo("Push", "2016-08-01", "QueryUniqueDeviceStat", "push", "openAPI")
 	return
 }
 

+ 6 - 5
services/push/remove_tag.go

@@ -1,5 +1,3 @@
-package push
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package push
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package push
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,8 +76,9 @@ func (client *Client) RemoveTagWithCallback(request *RemoveTagRequest, callback
 // RemoveTagRequest is the request struct for api RemoveTag
 type RemoveTagRequest struct {
 	*requests.RpcRequest
-	TagName string           `position:"Query" name:"TagName"`
-	AppKey  requests.Integer `position:"Query" name:"AppKey"`
+	AccessKeyId string           `position:"Query" name:"AccessKeyId"`
+	AppKey      requests.Integer `position:"Query" name:"AppKey"`
+	TagName     string           `position:"Query" name:"TagName"`
 }
 
 // RemoveTagResponse is the response struct for api RemoveTag
@@ -91,7 +92,7 @@ func CreateRemoveTagRequest() (request *RemoveTagRequest) {
 	request = &RemoveTagRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Push", "2016-08-01", "RemoveTag", "", "")
+	request.InitWithApiInfo("Push", "2016-08-01", "RemoveTag", "push", "openAPI")
 	return
 }
 

+ 0 - 21
services/push/struct_alias_info.go

@@ -1,21 +0,0 @@
-package push
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-// AliasInfo is a nested struct in push response
-type AliasInfo struct {
-	AliasName string `json:"AliasName" xml:"AliasName"`
-}

+ 0 - 21
services/push/struct_alias_infos.go

@@ -1,21 +0,0 @@
-package push
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-// AliasInfos is a nested struct in push response
-type AliasInfos struct {
-	AliasInfo []AliasInfo `json:"AliasInfo" xml:"AliasInfo"`
-}

+ 0 - 23
services/push/struct_app_device_stat.go

@@ -1,23 +0,0 @@
-package push
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-// AppDeviceStat is a nested struct in push response
-type AppDeviceStat struct {
-	Time       string `json:"Time" xml:"Time"`
-	Count      int    `json:"Count" xml:"Count"`
-	DeviceType string `json:"DeviceType" xml:"DeviceType"`
-}

+ 0 - 21
services/push/struct_app_device_stats_in_query_device_stat.go

@@ -1,21 +0,0 @@
-package push
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-// AppDeviceStatsInQueryDeviceStat is a nested struct in push response
-type AppDeviceStatsInQueryDeviceStat struct {
-	AppDeviceStat []AppDeviceStat `json:"AppDeviceStat" xml:"AppDeviceStat"`
-}

+ 0 - 21
services/push/struct_app_device_stats_in_query_unique_device_stat.go

@@ -1,21 +0,0 @@
-package push
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-// AppDeviceStatsInQueryUniqueDeviceStat is a nested struct in push response
-type AppDeviceStatsInQueryUniqueDeviceStat struct {
-	AppDeviceStat []AppDeviceStat `json:"AppDeviceStat" xml:"AppDeviceStat"`
-}

+ 0 - 31
services/push/struct_app_push_stat.go

@@ -1,31 +0,0 @@
-package push
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-// AppPushStat is a nested struct in push response
-type AppPushStat struct {
-	Time                   string `json:"Time" xml:"Time"`
-	AcceptCount            int    `json:"AcceptCount" xml:"AcceptCount"`
-	SentCount              int    `json:"SentCount" xml:"SentCount"`
-	ReceivedCount          int    `json:"ReceivedCount" xml:"ReceivedCount"`
-	OpenedCount            int    `json:"OpenedCount" xml:"OpenedCount"`
-	DeletedCount           int    `json:"DeletedCount" xml:"DeletedCount"`
-	SmsSentCount           int    `json:"SmsSentCount" xml:"SmsSentCount"`
-	SmsSkipCount           int    `json:"SmsSkipCount" xml:"SmsSkipCount"`
-	SmsFailedCount         int    `json:"SmsFailedCount" xml:"SmsFailedCount"`
-	SmsReceiveSuccessCount int    `json:"SmsReceiveSuccessCount" xml:"SmsReceiveSuccessCount"`
-	SmsReceiveFailedCount  int    `json:"SmsReceiveFailedCount" xml:"SmsReceiveFailedCount"`
-}

+ 0 - 21
services/push/struct_app_push_stats.go

@@ -1,21 +0,0 @@
-package push
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-// AppPushStats is a nested struct in push response
-type AppPushStats struct {
-	AppPushStat []AppPushStat `json:"AppPushStat" xml:"AppPushStat"`
-}

+ 0 - 22
services/push/struct_device_check_info.go

@@ -1,22 +0,0 @@
-package push
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-// DeviceCheckInfo is a nested struct in push response
-type DeviceCheckInfo struct {
-	DeviceId  string `json:"DeviceId" xml:"DeviceId"`
-	Available bool   `json:"Available" xml:"Available"`
-}

+ 0 - 21
services/push/struct_device_check_infos.go

@@ -1,21 +0,0 @@
-package push
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-// DeviceCheckInfos is a nested struct in push response
-type DeviceCheckInfos struct {
-	DeviceCheckInfo []DeviceCheckInfo `json:"DeviceCheckInfo" xml:"DeviceCheckInfo"`
-}

+ 0 - 21
services/push/struct_device_ids_in_query_devices_by_account.go

@@ -1,21 +0,0 @@
-package push
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-// DeviceIdsInQueryDevicesByAccount is a nested struct in push response
-type DeviceIdsInQueryDevicesByAccount struct {
-	DeviceId []string `json:"DeviceId" xml:"DeviceId"`
-}

+ 0 - 21
services/push/struct_device_ids_in_query_devices_by_alias.go

@@ -1,21 +0,0 @@
-package push
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-// DeviceIdsInQueryDevicesByAlias is a nested struct in push response
-type DeviceIdsInQueryDevicesByAlias struct {
-	DeviceId []string `json:"DeviceId" xml:"DeviceId"`
-}

+ 0 - 30
services/push/struct_device_info.go

@@ -1,30 +0,0 @@
-package push
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-// DeviceInfo is a nested struct in push response
-type DeviceInfo 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"`
-}

+ 0 - 28
services/push/struct_push_message_info.go

@@ -1,28 +0,0 @@
-package push
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-// PushMessageInfo is a nested struct in push response
-type PushMessageInfo struct {
-	MessageId  string `json:"MessageId" xml:"MessageId"`
-	PushTime   string `json:"PushTime" xml:"PushTime"`
-	Title      string `json:"Title" xml:"Title"`
-	AppKey     int    `json:"AppKey" xml:"AppKey"`
-	DeviceType string `json:"DeviceType" xml:"DeviceType"`
-	Body       string `json:"Body" xml:"Body"`
-	AppName    string `json:"AppName" xml:"AppName"`
-	Type       string `json:"Type" xml:"Type"`
-}

+ 0 - 21
services/push/struct_push_message_infos_in_list_push_records.go

@@ -1,21 +0,0 @@
-package push
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-// PushMessageInfosInListPushRecords is a nested struct in push response
-type PushMessageInfosInListPushRecords struct {
-	PushMessageInfo []PushMessageInfo `json:"PushMessageInfo" xml:"PushMessageInfo"`
-}

+ 0 - 21
services/push/struct_push_message_infos_in_query_push_list.go

@@ -1,21 +0,0 @@
-package push
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-// PushMessageInfosInQueryPushList is a nested struct in push response
-type PushMessageInfosInQueryPushList struct {
-	PushMessageInfo []PushMessageInfo `json:"PushMessageInfo" xml:"PushMessageInfo"`
-}

+ 0 - 31
services/push/struct_push_stat.go

@@ -1,31 +0,0 @@
-package push
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-// PushStat is a nested struct in push response
-type PushStat struct {
-	MessageId              string `json:"MessageId" xml:"MessageId"`
-	AcceptCount            int    `json:"AcceptCount" xml:"AcceptCount"`
-	SentCount              int    `json:"SentCount" xml:"SentCount"`
-	ReceivedCount          int    `json:"ReceivedCount" xml:"ReceivedCount"`
-	OpenedCount            int    `json:"OpenedCount" xml:"OpenedCount"`
-	DeletedCount           int    `json:"DeletedCount" xml:"DeletedCount"`
-	SmsSentCount           int    `json:"SmsSentCount" xml:"SmsSentCount"`
-	SmsSkipCount           int    `json:"SmsSkipCount" xml:"SmsSkipCount"`
-	SmsFailedCount         int    `json:"SmsFailedCount" xml:"SmsFailedCount"`
-	SmsReceiveSuccessCount int    `json:"SmsReceiveSuccessCount" xml:"SmsReceiveSuccessCount"`
-	SmsReceiveFailedCount  int    `json:"SmsReceiveFailedCount" xml:"SmsReceiveFailedCount"`
-}

+ 0 - 21
services/push/struct_push_stats.go

@@ -1,21 +0,0 @@
-package push
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-// PushStats is a nested struct in push response
-type PushStats struct {
-	PushStat []PushStat `json:"PushStat" xml:"PushStat"`
-}

+ 0 - 22
services/push/struct_summary_app_info.go

@@ -1,22 +0,0 @@
-package push
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-// SummaryAppInfo is a nested struct in push response
-type SummaryAppInfo struct {
-	AppName string `json:"AppName" xml:"AppName"`
-	AppKey  int    `json:"AppKey" xml:"AppKey"`
-}

+ 0 - 21
services/push/struct_summary_app_infos.go

@@ -1,21 +0,0 @@
-package push
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-// SummaryAppInfos is a nested struct in push response
-type SummaryAppInfos struct {
-	SummaryAppInfo []SummaryAppInfo `json:"SummaryAppInfo" xml:"SummaryAppInfo"`
-}

+ 0 - 21
services/push/struct_tag_info.go

@@ -1,21 +0,0 @@
-package push
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-// TagInfo is a nested struct in push response
-type TagInfo struct {
-	TagName string `json:"TagName" xml:"TagName"`
-}

+ 0 - 21
services/push/struct_tag_infos_in_list_tags.go

@@ -1,21 +0,0 @@
-package push
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-// TagInfosInListTags is a nested struct in push response
-type TagInfosInListTags struct {
-	TagInfo []TagInfo `json:"TagInfo" xml:"TagInfo"`
-}

+ 0 - 21
services/push/struct_tag_infos_in_query_tags.go

@@ -1,21 +0,0 @@
-package push
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-// TagInfosInQueryTags is a nested struct in push response
-type TagInfosInQueryTags struct {
-	TagInfo []TagInfo `json:"TagInfo" xml:"TagInfo"`
-}

+ 8 - 7
services/push/unbind_alias.go

@@ -1,5 +1,3 @@
-package push
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package push
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package push
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,10 +76,11 @@ func (client *Client) UnbindAliasWithCallback(request *UnbindAliasRequest, callb
 // UnbindAliasRequest is the request struct for api UnbindAlias
 type UnbindAliasRequest struct {
 	*requests.RpcRequest
-	AliasName string           `position:"Query" name:"AliasName"`
-	AppKey    requests.Integer `position:"Query" name:"AppKey"`
-	DeviceId  string           `position:"Query" name:"DeviceId"`
-	UnbindAll requests.Boolean `position:"Query" name:"UnbindAll"`
+	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"`
 }
 
 // UnbindAliasResponse is the response struct for api UnbindAlias
@@ -93,7 +94,7 @@ func CreateUnbindAliasRequest() (request *UnbindAliasRequest) {
 	request = &UnbindAliasRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Push", "2016-08-01", "UnbindAlias", "", "")
+	request.InitWithApiInfo("Push", "2016-08-01", "UnbindAlias", "push", "openAPI")
 	return
 }
 

+ 6 - 5
services/push/unbind_phone.go

@@ -1,5 +1,3 @@
-package push
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package push
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package push
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,8 +76,9 @@ func (client *Client) UnbindPhoneWithCallback(request *UnbindPhoneRequest, callb
 // UnbindPhoneRequest is the request struct for api UnbindPhone
 type UnbindPhoneRequest struct {
 	*requests.RpcRequest
-	AppKey   requests.Integer `position:"Query" name:"AppKey"`
-	DeviceId string           `position:"Query" name:"DeviceId"`
+	AccessKeyId string           `position:"Query" name:"AccessKeyId"`
+	AppKey      requests.Integer `position:"Query" name:"AppKey"`
+	DeviceId    string           `position:"Query" name:"DeviceId"`
 }
 
 // UnbindPhoneResponse is the response struct for api UnbindPhone
@@ -91,7 +92,7 @@ func CreateUnbindPhoneRequest() (request *UnbindPhoneRequest) {
 	request = &UnbindPhoneRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Push", "2016-08-01", "UnbindPhone", "", "")
+	request.InitWithApiInfo("Push", "2016-08-01", "UnbindPhone", "push", "openAPI")
 	return
 }
 

+ 8 - 7
services/push/unbind_tag.go

@@ -1,5 +1,3 @@
-package push
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package push
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package push
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,10 +76,11 @@ func (client *Client) UnbindTagWithCallback(request *UnbindTagRequest, callback
 // UnbindTagRequest is the request struct for api UnbindTag
 type UnbindTagRequest struct {
 	*requests.RpcRequest
-	TagName   string           `position:"Query" name:"TagName"`
-	ClientKey string           `position:"Query" name:"ClientKey"`
-	AppKey    requests.Integer `position:"Query" name:"AppKey"`
-	KeyType   string           `position:"Query" name:"KeyType"`
+	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"`
 }
 
 // UnbindTagResponse is the response struct for api UnbindTag
@@ -93,7 +94,7 @@ func CreateUnbindTagRequest() (request *UnbindTagRequest) {
 	request = &UnbindTagRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Push", "2016-08-01", "UnbindTag", "", "")
+	request.InitWithApiInfo("Push", "2016-08-01", "UnbindTag", "push", "openAPI")
 	return
 }