浏览代码

Fix resolve wrong tagname IOS to iOS.

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

+ 3 - 0
ChangeLog.txt

@@ -1,3 +1,6 @@
+2019-07-18 Version: 1.60.69
+- Fix resolve wrong tagname IOS to iOS.
+
 2019-07-18 Version: 1.60.68
 - Add a new field named Input to SubmitAIJob api request to set the input file of AI job.
 - Change the field MediaId of SubmitAIJob api to non-mandatory.

+ 5 - 6
services/push/bind_alias.go

@@ -1,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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,9 @@ func (client *Client) BindAliasWithCallback(request *BindAliasRequest, callback
 // BindAliasRequest is the request struct for api BindAlias
 type BindAliasRequest struct {
 	*requests.RpcRequest
-	AccessKeyId string           `position:"Query" name:"AccessKeyId"`
-	AppKey      requests.Integer `position:"Query" name:"AppKey"`
-	DeviceId    string           `position:"Query" name:"DeviceId"`
-	AliasName   string           `position:"Query" name:"AliasName"`
+	AliasName string           `position:"Query" name:"AliasName"`
+	AppKey    requests.Integer `position:"Query" name:"AppKey"`
+	DeviceId  string           `position:"Query" name:"DeviceId"`
 }
 
 // BindAliasResponse is the response struct for api BindAlias

+ 3 - 4
services/push/bind_phone.go

@@ -1,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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,9 @@ func (client *Client) BindPhoneWithCallback(request *BindPhoneRequest, callback
 // BindPhoneRequest is the request struct for api BindPhone
 type BindPhoneRequest struct {
 	*requests.RpcRequest
-	AccessKeyId string           `position:"Query" name:"AccessKeyId"`
+	PhoneNumber string           `position:"Query" name:"PhoneNumber"`
 	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

+ 6 - 7
services/push/bind_tag.go

@@ -1,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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,11 +76,10 @@ func (client *Client) BindTagWithCallback(request *BindTagRequest, callback func
 // BindTagRequest is the request struct for api BindTag
 type BindTagRequest struct {
 	*requests.RpcRequest
-	AccessKeyId string           `position:"Query" name:"AccessKeyId"`
-	AppKey      requests.Integer `position:"Query" name:"AppKey"`
-	ClientKey   string           `position:"Query" name:"ClientKey"`
-	KeyType     string           `position:"Query" name:"KeyType"`
-	TagName     string           `position:"Query" name:"TagName"`
+	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"`
 }
 
 // BindTagResponse is the response struct for api BindTag

+ 4 - 5
services/push/cancel_push.go

@@ -1,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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,8 @@ func (client *Client) CancelPushWithCallback(request *CancelPushRequest, callbac
 // CancelPushRequest is the request struct for api CancelPush
 type CancelPushRequest struct {
 	*requests.RpcRequest
-	AccessKeyId string           `position:"Query" name:"AccessKeyId"`
-	AppKey      requests.Integer `position:"Query" name:"AppKey"`
-	MessageId   requests.Integer `position:"Query" name:"MessageId"`
+	MessageId requests.Integer `position:"Query" name:"MessageId"`
+	AppKey    requests.Integer `position:"Query" name:"AppKey"`
 }
 
 // CancelPushResponse is the response struct for api CancelPush

+ 4 - 5
services/push/check_device.go

@@ -1,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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,8 @@ func (client *Client) CheckDeviceWithCallback(request *CheckDeviceRequest, callb
 // CheckDeviceRequest is the request struct for api CheckDevice
 type CheckDeviceRequest struct {
 	*requests.RpcRequest
-	AccessKeyId string           `position:"Query" name:"AccessKeyId"`
-	AppKey      requests.Integer `position:"Query" name:"AppKey"`
-	DeviceId    string           `position:"Query" name:"DeviceId"`
+	AppKey   requests.Integer `position:"Query" name:"AppKey"`
+	DeviceId string           `position:"Query" name:"DeviceId"`
 }
 
 // CheckDeviceResponse is the response struct for api CheckDevice

+ 6 - 16
services/push/check_devices.go

@@ -1,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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,25 +76,15 @@ func (client *Client) CheckDevicesWithCallback(request *CheckDevicesRequest, cal
 // CheckDevicesRequest is the request struct for api CheckDevices
 type CheckDevicesRequest struct {
 	*requests.RpcRequest
-	AccessKeyId string           `position:"Query" name:"AccessKeyId"`
-	AppKey      requests.Integer `position:"Query" name:"AppKey"`
-	DeviceIds   string           `position:"Query" name:"DeviceIds"`
+	DeviceIds string           `position:"Query" name:"DeviceIds"`
+	AppKey    requests.Integer `position:"Query" name:"AppKey"`
 }
 
 // CheckDevicesResponse is the response struct for api CheckDevices
 type CheckDevicesResponse struct {
 	*responses.BaseResponse
-	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"`
+	RequestId        string           `json:"RequestId" xml:"RequestId"`
+	DeviceCheckInfos DeviceCheckInfos `json:"DeviceCheckInfos" xml:"DeviceCheckInfos"`
 }
 
 // CreateCheckDevicesRequest creates a request to invoke CheckDevices API

+ 2 - 2
services/push/client.go

@@ -1,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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"

+ 13 - 29
services/push/list_push_records.go

@@ -1,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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,38 +76,22 @@ func (client *Client) ListPushRecordsWithCallback(request *ListPushRecordsReques
 // ListPushRecordsRequest is the request struct for api ListPushRecords
 type ListPushRecordsRequest struct {
 	*requests.RpcRequest
-	AccessKeyId string           `position:"Query" name:"AccessKeyId"`
-	AppKey      requests.Integer `position:"Query" name:"AppKey"`
-	PushType    string           `position:"Query" name:"PushType"`
-	StartTime   string           `position:"Query" name:"StartTime"`
-	EndTime     string           `position:"Query" name:"EndTime"`
-	Page        requests.Integer `position:"Query" name:"Page"`
-	PageSize    requests.Integer `position:"Query" name:"PageSize"`
+	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"`
 }
 
 // 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 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"`
+	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"`
 }
 
 // CreateListPushRecordsRequest creates a request to invoke ListPushRecords API

+ 4 - 14
services/push/list_summary_apps.go

@@ -1,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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,23 +76,13 @@ 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 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"`
+	RequestId       string          `json:"RequestId" xml:"RequestId"`
+	SummaryAppInfos SummaryAppInfos `json:"SummaryAppInfos" xml:"SummaryAppInfos"`
 }
 
 // CreateListSummaryAppsRequest creates a request to invoke ListSummaryApps API

+ 5 - 14
services/push/list_tags.go

@@ -1,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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,23 +76,14 @@ func (client *Client) ListTagsWithCallback(request *ListTagsRequest, callback fu
 // ListTagsRequest is the request struct for api ListTags
 type ListTagsRequest struct {
 	*requests.RpcRequest
-	AccessKeyId string           `position:"Query" name:"AccessKeyId"`
-	AppKey      requests.Integer `position:"Query" name:"AppKey"`
+	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  ListTagsTagInfos0 `json:"TagInfos" xml:"TagInfos"`
-}
-
-type ListTagsTagInfos0 struct {
-	TagInfo []ListTagsTagInfo1 `json:"TagInfo" xml:"TagInfo"`
-}
-
-type ListTagsTagInfo1 struct {
-	TagName string `json:"TagName" xml:"TagName"`
+	RequestId string             `json:"RequestId" xml:"RequestId"`
+	TagInfos  TagInfosInListTags `json:"TagInfos" xml:"TagInfos"`
 }
 
 // CreateListTagsRequest creates a request to invoke ListTags API

+ 38 - 39
services/push/push.go

@@ -1,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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,51 +76,50 @@ func (client *Client) PushWithCallback(request *PushRequest, callback func(respo
 // PushRequest is the request struct for api Push
 type PushRequest struct {
 	*requests.RpcRequest
-	AccessKeyId                    string           `position:"Query" name:"AccessKeyId"`
-	AppKey                         requests.Integer `position:"Query" name:"AppKey"`
-	PushType                       string           `position:"Query" name:"PushType"`
-	DeviceType                     string           `position:"Query" name:"DeviceType"`
-	Target                         string           `position:"Query" name:"Target"`
-	TargetValue                    string           `position:"Query" name:"TargetValue"`
+	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"`
 	Title                          string           `position:"Query" name:"Title"`
 	Body                           string           `position:"Query" name:"Body"`
-	JobKey                         string           `position:"Query" name:"JobKey"`
-	SendSpeed                      requests.Integer `position:"Query" name:"SendSpeed"`
-	StoreOffline                   requests.Boolean `position:"Query" name:"StoreOffline"`
+	DeviceType                     string           `position:"Query" name:"DeviceType"`
 	PushTime                       string           `position:"Query" name:"PushTime"`
-	ExpireTime                     string           `position:"Query" name:"ExpireTime"`
-	IOSApnsEnv                     string           `position:"Query" name:"IOSApnsEnv"`
-	IOSRemind                      requests.Boolean `position:"Query" name:"IOSRemind"`
-	IOSRemindBody                  string           `position:"Query" name:"IOSRemindBody"`
-	IOSBadge                       requests.Integer `position:"Query" name:"IOSBadge"`
-	IOSBadgeAutoIncrement          requests.Boolean `position:"Query" name:"IOSBadgeAutoIncrement"`
-	IOSSilentNotification          requests.Boolean `position:"Query" name:"IOSSilentNotification"`
-	IOSMusic                       string           `position:"Query" name:"IOSMusic"`
-	IOSSubtitle                    string           `position:"Query" name:"IOSSubtitle"`
-	IOSNotificationCategory        string           `position:"Query" name:"IOSNotificationCategory"`
-	IOSMutableContent              requests.Boolean `position:"Query" name:"IOSMutableContent"`
-	IOSExtParameters               string           `position:"Query" name:"IOSExtParameters"`
-	AndroidNotifyType              string           `position:"Query" name:"AndroidNotifyType"`
-	AndroidOpenType                string           `position:"Query" name:"AndroidOpenType"`
-	AndroidActivity                string           `position:"Query" name:"AndroidActivity"`
-	AndroidMusic                   string           `position:"Query" name:"AndroidMusic"`
-	AndroidOpenUrl                 string           `position:"Query" name:"AndroidOpenUrl"`
-	AndroidXiaoMiActivity          string           `position:"Query" name:"AndroidXiaoMiActivity"`
-	AndroidXiaoMiNotifyTitle       string           `position:"Query" name:"AndroidXiaoMiNotifyTitle"`
-	AndroidXiaoMiNotifyBody        string           `position:"Query" name:"AndroidXiaoMiNotifyBody"`
+	SmsDelaySecs                   requests.Integer `position:"Query" name:"SmsDelaySecs"`
+	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"`
-	AndroidPopupBody               string           `position:"Query" name:"AndroidPopupBody"`
-	AndroidNotificationBarType     requests.Integer `position:"Query" name:"AndroidNotificationBarType"`
+	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"`
-	AndroidExtParameters           string           `position:"Query" name:"AndroidExtParameters"`
-	AndroidRemind                  requests.Boolean `position:"Query" name:"AndroidRemind"`
-	AndroidNotificationChannel     string           `position:"Query" name:"AndroidNotificationChannel"`
+	ExpireTime                     string           `position:"Query" name:"ExpireTime"`
 	SmsTemplateName                string           `position:"Query" name:"SmsTemplateName"`
-	SmsSignName                    string           `position:"Query" name:"SmsSignName"`
+	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"`
-	SmsDelaySecs                   requests.Integer `position:"Query" name:"SmsDelaySecs"`
-	SmsSendPolicy                  requests.Integer `position:"Query" name:"SmsSendPolicy"`
+	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"`
+	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"`
+	AndroidXiaoMiActivity          string           `position:"Query" name:"AndroidXiaoMiActivity"`
+	AndroidXiaoMiNotifyTitle       string           `position:"Query" name:"AndroidXiaoMiNotifyTitle"`
+	PushType                       string           `position:"Query" name:"PushType"`
 }
 
 // PushResponse is the response struct for api Push

+ 109 - 0
services/push/push_message_to_android.go

@@ -0,0 +1,109 @@
+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.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// PushMessageToAndroid invokes the push.PushMessageToAndroid API synchronously
+// api document: https://help.aliyun.com/api/push/pushmessagetoandroid.html
+func (client *Client) PushMessageToAndroid(request *PushMessageToAndroidRequest) (response *PushMessageToAndroidResponse, err error) {
+	response = CreatePushMessageToAndroidResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// PushMessageToAndroidWithChan invokes the push.PushMessageToAndroid API asynchronously
+// api document: https://help.aliyun.com/api/push/pushmessagetoandroid.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) PushMessageToAndroidWithChan(request *PushMessageToAndroidRequest) (<-chan *PushMessageToAndroidResponse, <-chan error) {
+	responseChan := make(chan *PushMessageToAndroidResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.PushMessageToAndroid(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// PushMessageToAndroidWithCallback invokes the push.PushMessageToAndroid API asynchronously
+// api document: https://help.aliyun.com/api/push/pushmessagetoandroid.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) PushMessageToAndroidWithCallback(request *PushMessageToAndroidRequest, callback func(response *PushMessageToAndroidResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *PushMessageToAndroidResponse
+		var err error
+		defer close(result)
+		response, err = client.PushMessageToAndroid(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// PushMessageToAndroidRequest is the request struct for api PushMessageToAndroid
+type PushMessageToAndroidRequest struct {
+	*requests.RpcRequest
+	AppKey      requests.Integer `position:"Query" name:"AppKey"`
+	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
+type PushMessageToAndroidResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	MessageId string `json:"MessageId" xml:"MessageId"`
+}
+
+// CreatePushMessageToAndroidRequest creates a request to invoke PushMessageToAndroid API
+func CreatePushMessageToAndroidRequest() (request *PushMessageToAndroidRequest) {
+	request = &PushMessageToAndroidRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Push", "2016-08-01", "PushMessageToAndroid", "push", "openAPI")
+	return
+}
+
+// CreatePushMessageToAndroidResponse creates a response to parse from PushMessageToAndroid response
+func CreatePushMessageToAndroidResponse() (response *PushMessageToAndroidResponse) {
+	response = &PushMessageToAndroidResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 109 - 0
services/push/push_message_toi_os.go

@@ -0,0 +1,109 @@
+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.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// PushMessageToiOS invokes the push.PushMessageToiOS API synchronously
+// api document: https://help.aliyun.com/api/push/pushmessagetoios.html
+func (client *Client) PushMessageToiOS(request *PushMessageToiOSRequest) (response *PushMessageToiOSResponse, err error) {
+	response = CreatePushMessageToiOSResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// PushMessageToiOSWithChan invokes the push.PushMessageToiOS API asynchronously
+// api document: https://help.aliyun.com/api/push/pushmessagetoios.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) PushMessageToiOSWithChan(request *PushMessageToiOSRequest) (<-chan *PushMessageToiOSResponse, <-chan error) {
+	responseChan := make(chan *PushMessageToiOSResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.PushMessageToiOS(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// PushMessageToiOSWithCallback invokes the push.PushMessageToiOS API asynchronously
+// api document: https://help.aliyun.com/api/push/pushmessagetoios.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) PushMessageToiOSWithCallback(request *PushMessageToiOSRequest, callback func(response *PushMessageToiOSResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *PushMessageToiOSResponse
+		var err error
+		defer close(result)
+		response, err = client.PushMessageToiOS(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// PushMessageToiOSRequest is the request struct for api PushMessageToiOS
+type PushMessageToiOSRequest struct {
+	*requests.RpcRequest
+	AppKey      requests.Integer `position:"Query" name:"AppKey"`
+	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
+type PushMessageToiOSResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	MessageId string `json:"MessageId" xml:"MessageId"`
+}
+
+// CreatePushMessageToiOSRequest creates a request to invoke PushMessageToiOS API
+func CreatePushMessageToiOSRequest() (request *PushMessageToiOSRequest) {
+	request = &PushMessageToiOSRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Push", "2016-08-01", "PushMessageToiOS", "push", "openAPI")
+	return
+}
+
+// CreatePushMessageToiOSResponse creates a response to parse from PushMessageToiOS response
+func CreatePushMessageToiOSResponse() (response *PushMessageToiOSResponse) {
+	response = &PushMessageToiOSResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 110 - 0
services/push/push_notice_to_android.go

@@ -0,0 +1,110 @@
+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.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// PushNoticeToAndroid invokes the push.PushNoticeToAndroid API synchronously
+// api document: https://help.aliyun.com/api/push/pushnoticetoandroid.html
+func (client *Client) PushNoticeToAndroid(request *PushNoticeToAndroidRequest) (response *PushNoticeToAndroidResponse, err error) {
+	response = CreatePushNoticeToAndroidResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// PushNoticeToAndroidWithChan invokes the push.PushNoticeToAndroid API asynchronously
+// api document: https://help.aliyun.com/api/push/pushnoticetoandroid.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) PushNoticeToAndroidWithChan(request *PushNoticeToAndroidRequest) (<-chan *PushNoticeToAndroidResponse, <-chan error) {
+	responseChan := make(chan *PushNoticeToAndroidResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.PushNoticeToAndroid(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// PushNoticeToAndroidWithCallback invokes the push.PushNoticeToAndroid API asynchronously
+// api document: https://help.aliyun.com/api/push/pushnoticetoandroid.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) PushNoticeToAndroidWithCallback(request *PushNoticeToAndroidRequest, callback func(response *PushNoticeToAndroidResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *PushNoticeToAndroidResponse
+		var err error
+		defer close(result)
+		response, err = client.PushNoticeToAndroid(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// PushNoticeToAndroidRequest is the request struct for api PushNoticeToAndroid
+type PushNoticeToAndroidRequest struct {
+	*requests.RpcRequest
+	ExtParameters string           `position:"Query" name:"ExtParameters"`
+	AppKey        requests.Integer `position:"Query" name:"AppKey"`
+	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"`
+}
+
+// PushNoticeToAndroidResponse is the response struct for api PushNoticeToAndroid
+type PushNoticeToAndroidResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	MessageId string `json:"MessageId" xml:"MessageId"`
+}
+
+// CreatePushNoticeToAndroidRequest creates a request to invoke PushNoticeToAndroid API
+func CreatePushNoticeToAndroidRequest() (request *PushNoticeToAndroidRequest) {
+	request = &PushNoticeToAndroidRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Push", "2016-08-01", "PushNoticeToAndroid", "push", "openAPI")
+	return
+}
+
+// CreatePushNoticeToAndroidResponse creates a response to parse from PushNoticeToAndroid response
+func CreatePushNoticeToAndroidResponse() (response *PushNoticeToAndroidResponse) {
+	response = &PushNoticeToAndroidResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 111 - 0
services/push/push_notice_toi_os.go

@@ -0,0 +1,111 @@
+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.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// PushNoticeToiOS invokes the push.PushNoticeToiOS API synchronously
+// api document: https://help.aliyun.com/api/push/pushnoticetoios.html
+func (client *Client) PushNoticeToiOS(request *PushNoticeToiOSRequest) (response *PushNoticeToiOSResponse, err error) {
+	response = CreatePushNoticeToiOSResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// PushNoticeToiOSWithChan invokes the push.PushNoticeToiOS API asynchronously
+// api document: https://help.aliyun.com/api/push/pushnoticetoios.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) PushNoticeToiOSWithChan(request *PushNoticeToiOSRequest) (<-chan *PushNoticeToiOSResponse, <-chan error) {
+	responseChan := make(chan *PushNoticeToiOSResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.PushNoticeToiOS(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// PushNoticeToiOSWithCallback invokes the push.PushNoticeToiOS API asynchronously
+// api document: https://help.aliyun.com/api/push/pushnoticetoios.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) PushNoticeToiOSWithCallback(request *PushNoticeToiOSRequest, callback func(response *PushNoticeToiOSResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *PushNoticeToiOSResponse
+		var err error
+		defer close(result)
+		response, err = client.PushNoticeToiOS(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// 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"`
+	AppKey        requests.Integer `position:"Query" name:"AppKey"`
+	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"`
+}
+
+// PushNoticeToiOSResponse is the response struct for api PushNoticeToiOS
+type PushNoticeToiOSResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	MessageId string `json:"MessageId" xml:"MessageId"`
+}
+
+// CreatePushNoticeToiOSRequest creates a request to invoke PushNoticeToiOS API
+func CreatePushNoticeToiOSRequest() (request *PushNoticeToiOSRequest) {
+	request = &PushNoticeToiOSRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Push", "2016-08-01", "PushNoticeToiOS", "push", "openAPI")
+	return
+}
+
+// CreatePushNoticeToiOSResponse creates a response to parse from PushNoticeToiOS response
+func CreatePushNoticeToiOSResponse() (response *PushNoticeToiOSResponse) {
+	response = &PushNoticeToiOSResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 6 - 15
services/push/query_aliases.go

@@ -1,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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,24 +76,15 @@ func (client *Client) QueryAliasesWithCallback(request *QueryAliasesRequest, cal
 // QueryAliasesRequest is the request struct for api QueryAliases
 type QueryAliasesRequest struct {
 	*requests.RpcRequest
-	AccessKeyId string           `position:"Query" name:"AccessKeyId"`
-	AppKey      requests.Integer `position:"Query" name:"AppKey"`
-	DeviceId    string           `position:"Query" name:"DeviceId"`
+	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 QueryAliasesAliasInfos0 `json:"AliasInfos" xml:"AliasInfos"`
-}
-
-type QueryAliasesAliasInfos0 struct {
-	AliasInfo []QueryAliasesAliasInfo1 `json:"AliasInfo" xml:"AliasInfo"`
-}
-
-type QueryAliasesAliasInfo1 struct {
-	AliasName string `json:"AliasName" xml:"AliasName"`
+	RequestId  string     `json:"RequestId" xml:"RequestId"`
+	AliasInfos AliasInfos `json:"AliasInfos" xml:"AliasInfos"`
 }
 
 // CreateQueryAliasesRequest creates a request to invoke QueryAliases API

+ 6 - 20
services/push/query_device_info.go

@@ -1,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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,29 +76,15 @@ func (client *Client) QueryDeviceInfoWithCallback(request *QueryDeviceInfoReques
 // QueryDeviceInfoRequest is the request struct for api QueryDeviceInfo
 type QueryDeviceInfoRequest struct {
 	*requests.RpcRequest
-	AccessKeyId string           `position:"Query" name:"AccessKeyId"`
-	AppKey      requests.Integer `position:"Query" name:"AppKey"`
-	DeviceId    string           `position:"Query" name:"DeviceId"`
+	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 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"`
+	RequestId  string     `json:"RequestId" xml:"RequestId"`
+	DeviceInfo DeviceInfo `json:"DeviceInfo" xml:"DeviceInfo"`
 }
 
 // CreateQueryDeviceInfoRequest creates a request to invoke QueryDeviceInfo API

+ 9 - 20
services/push/query_device_stat.go

@@ -1,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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,29 +76,18 @@ func (client *Client) QueryDeviceStatWithCallback(request *QueryDeviceStatReques
 // QueryDeviceStatRequest is the request struct for api QueryDeviceStat
 type QueryDeviceStatRequest struct {
 	*requests.RpcRequest
-	AccessKeyId string           `position:"Query" name:"AccessKeyId"`
-	AppKey      requests.Integer `position:"Query" name:"AppKey"`
-	StartTime   string           `position:"Query" name:"StartTime"`
-	EndTime     string           `position:"Query" name:"EndTime"`
-	DeviceType  string           `position:"Query" name:"DeviceType"`
-	QueryType   string           `position:"Query" name:"QueryType"`
+	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"`
 }
 
 // QueryDeviceStatResponse is the response struct for api QueryDeviceStat
 type QueryDeviceStatResponse struct {
 	*responses.BaseResponse
-	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"`
+	RequestId      string                          `json:"RequestId" xml:"RequestId"`
+	AppDeviceStats AppDeviceStatsInQueryDeviceStat `json:"AppDeviceStats" xml:"AppDeviceStats"`
 }
 
 // CreateQueryDeviceStatRequest creates a request to invoke QueryDeviceStat API

+ 6 - 7
services/push/query_devices_by_account.go

@@ -1,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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,15 @@ func (client *Client) QueryDevicesByAccountWithCallback(request *QueryDevicesByA
 // QueryDevicesByAccountRequest is the request struct for api QueryDevicesByAccount
 type QueryDevicesByAccountRequest struct {
 	*requests.RpcRequest
-	AccessKeyId string           `position:"Query" name:"AccessKeyId"`
-	AppKey      requests.Integer `position:"Query" name:"AppKey"`
-	Account     string           `position:"Query" name:"Account"`
+	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 []string `json:"DeviceIds" xml:"DeviceIds"`
+	RequestId string                           `json:"RequestId" xml:"RequestId"`
+	DeviceIds DeviceIdsInQueryDevicesByAccount `json:"DeviceIds" xml:"DeviceIds"`
 }
 
 // CreateQueryDevicesByAccountRequest creates a request to invoke QueryDevicesByAccount API

+ 6 - 7
services/push/query_devices_by_alias.go

@@ -1,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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,15 @@ func (client *Client) QueryDevicesByAliasWithCallback(request *QueryDevicesByAli
 // QueryDevicesByAliasRequest is the request struct for api QueryDevicesByAlias
 type QueryDevicesByAliasRequest struct {
 	*requests.RpcRequest
-	AccessKeyId string           `position:"Query" name:"AccessKeyId"`
-	AppKey      requests.Integer `position:"Query" name:"AppKey"`
-	Alias       string           `position:"Query" name:"Alias"`
+	Alias  string           `position:"Query" name:"Alias"`
+	AppKey requests.Integer `position:"Query" name:"AppKey"`
 }
 
 // QueryDevicesByAliasResponse is the response struct for api QueryDevicesByAlias
 type QueryDevicesByAliasResponse struct {
 	*responses.BaseResponse
-	RequestId string   `json:"RequestId" xml:"RequestId"`
-	DeviceIds []string `json:"DeviceIds" xml:"DeviceIds"`
+	RequestId string                         `json:"RequestId" xml:"RequestId"`
+	DeviceIds DeviceIdsInQueryDevicesByAlias `json:"DeviceIds" xml:"DeviceIds"`
 }
 
 // CreateQueryDevicesByAliasRequest creates a request to invoke QueryDevicesByAlias API

+ 13 - 29
services/push/query_push_list.go

@@ -1,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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,38 +76,22 @@ func (client *Client) QueryPushListWithCallback(request *QueryPushListRequest, c
 // QueryPushListRequest is the request struct for api QueryPushList
 type QueryPushListRequest struct {
 	*requests.RpcRequest
-	AccessKeyId string           `position:"Query" name:"AccessKeyId"`
-	AppKey      requests.Integer `position:"Query" name:"AppKey"`
-	PushType    string           `position:"Query" name:"PushType"`
-	StartTime   string           `position:"Query" name:"StartTime"`
-	EndTime     string           `position:"Query" name:"EndTime"`
-	Page        requests.Integer `position:"Query" name:"Page"`
-	PageSize    requests.Integer `position:"Query" name:"PageSize"`
+	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"`
 }
 
 // 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 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"`
+	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"`
 }
 
 // CreateQueryPushListRequest creates a request to invoke QueryPushList API

+ 6 - 25
services/push/query_push_stat_by_app.go

@@ -1,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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,36 +76,17 @@ func (client *Client) QueryPushStatByAppWithCallback(request *QueryPushStatByApp
 // QueryPushStatByAppRequest is the request struct for api QueryPushStatByApp
 type QueryPushStatByAppRequest struct {
 	*requests.RpcRequest
-	AccessKeyId string           `position:"Query" name:"AccessKeyId"`
+	Granularity string           `position:"Query" name:"Granularity"`
+	EndTime     string           `position:"Query" name:"EndTime"`
 	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 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"`
+	RequestId    string       `json:"RequestId" xml:"RequestId"`
+	AppPushStats AppPushStats `json:"AppPushStats" xml:"AppPushStats"`
 }
 
 // CreateQueryPushStatByAppRequest creates a request to invoke QueryPushStatByApp API

+ 6 - 25
services/push/query_push_stat_by_msg.go

@@ -1,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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,34 +76,15 @@ func (client *Client) QueryPushStatByMsgWithCallback(request *QueryPushStatByMsg
 // QueryPushStatByMsgRequest is the request struct for api QueryPushStatByMsg
 type QueryPushStatByMsgRequest struct {
 	*requests.RpcRequest
-	AccessKeyId string           `position:"Query" name:"AccessKeyId"`
-	AppKey      requests.Integer `position:"Query" name:"AppKey"`
-	MessageId   requests.Integer `position:"Query" name:"MessageId"`
+	MessageId requests.Integer `position:"Query" name:"MessageId"`
+	AppKey    requests.Integer `position:"Query" name:"AppKey"`
 }
 
 // QueryPushStatByMsgResponse is the response struct for api QueryPushStatByMsg
 type QueryPushStatByMsgResponse struct {
 	*responses.BaseResponse
-	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"`
+	RequestId string    `json:"RequestId" xml:"RequestId"`
+	PushStats PushStats `json:"PushStats" xml:"PushStats"`
 }
 
 // CreateQueryPushStatByMsgRequest creates a request to invoke QueryPushStatByMsg API

+ 7 - 16
services/push/query_tags.go

@@ -1,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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,25 +76,16 @@ func (client *Client) QueryTagsWithCallback(request *QueryTagsRequest, callback
 // QueryTagsRequest is the request struct for api QueryTags
 type QueryTagsRequest struct {
 	*requests.RpcRequest
-	AccessKeyId string           `position:"Query" name:"AccessKeyId"`
-	AppKey      requests.Integer `position:"Query" name:"AppKey"`
-	ClientKey   string           `position:"Query" name:"ClientKey"`
-	KeyType     string           `position:"Query" name:"KeyType"`
+	ClientKey string           `position:"Query" name:"ClientKey"`
+	AppKey    requests.Integer `position:"Query" name:"AppKey"`
+	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  QueryTagsTagInfos0 `json:"TagInfos" xml:"TagInfos"`
-}
-
-type QueryTagsTagInfos0 struct {
-	TagInfo []QueryTagsTagInfo1 `json:"TagInfo" xml:"TagInfo"`
-}
-
-type QueryTagsTagInfo1 struct {
-	TagName string `json:"TagName" xml:"TagName"`
+	RequestId string              `json:"RequestId" xml:"RequestId"`
+	TagInfos  TagInfosInQueryTags `json:"TagInfos" xml:"TagInfos"`
 }
 
 // CreateQueryTagsRequest creates a request to invoke QueryTags API

+ 6 - 16
services/push/query_unique_device_stat.go

@@ -1,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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,27 +76,17 @@ func (client *Client) QueryUniqueDeviceStatWithCallback(request *QueryUniqueDevi
 // QueryUniqueDeviceStatRequest is the request struct for api QueryUniqueDeviceStat
 type QueryUniqueDeviceStatRequest struct {
 	*requests.RpcRequest
-	AccessKeyId string           `position:"Query" name:"AccessKeyId"`
+	Granularity string           `position:"Query" name:"Granularity"`
+	EndTime     string           `position:"Query" name:"EndTime"`
 	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 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"`
+	RequestId      string                                `json:"RequestId" xml:"RequestId"`
+	AppDeviceStats AppDeviceStatsInQueryUniqueDeviceStat `json:"AppDeviceStats" xml:"AppDeviceStats"`
 }
 
 // CreateQueryUniqueDeviceStatRequest creates a request to invoke QueryUniqueDeviceStat API

+ 4 - 5
services/push/remove_tag.go

@@ -1,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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,8 @@ func (client *Client) RemoveTagWithCallback(request *RemoveTagRequest, callback
 // RemoveTagRequest is the request struct for api RemoveTag
 type RemoveTagRequest struct {
 	*requests.RpcRequest
-	AccessKeyId string           `position:"Query" name:"AccessKeyId"`
-	AppKey      requests.Integer `position:"Query" name:"AppKey"`
-	TagName     string           `position:"Query" name:"TagName"`
+	TagName string           `position:"Query" name:"TagName"`
+	AppKey  requests.Integer `position:"Query" name:"AppKey"`
 }
 
 // RemoveTagResponse is the response struct for api RemoveTag

+ 21 - 0
services/push/struct_alias_info.go

@@ -0,0 +1,21 @@
+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"`
+}

+ 21 - 0
services/push/struct_alias_infos.go

@@ -0,0 +1,21 @@
+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"`
+}

+ 23 - 0
services/push/struct_app_device_stat.go

@@ -0,0 +1,23 @@
+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      int64  `json:"Count" xml:"Count"`
+	DeviceType string `json:"DeviceType" xml:"DeviceType"`
+}

+ 21 - 0
services/push/struct_app_device_stats_in_query_device_stat.go

@@ -0,0 +1,21 @@
+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"`
+}

+ 21 - 0
services/push/struct_app_device_stats_in_query_unique_device_stat.go

@@ -0,0 +1,21 @@
+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"`
+}

+ 31 - 0
services/push/struct_app_push_stat.go

@@ -0,0 +1,31 @@
+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            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"`
+}

+ 21 - 0
services/push/struct_app_push_stats.go

@@ -0,0 +1,21 @@
+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"`
+}

+ 22 - 0
services/push/struct_device_check_info.go

@@ -0,0 +1,22 @@
+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"`
+}

+ 21 - 0
services/push/struct_device_check_infos.go

@@ -0,0 +1,21 @@
+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"`
+}

+ 21 - 0
services/push/struct_device_ids_in_query_devices_by_account.go

@@ -0,0 +1,21 @@
+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"`
+}

+ 21 - 0
services/push/struct_device_ids_in_query_devices_by_alias.go

@@ -0,0 +1,21 @@
+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"`
+}

+ 30 - 0
services/push/struct_device_info.go

@@ -0,0 +1,30 @@
+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"`
+}

+ 28 - 0
services/push/struct_push_message_info.go

@@ -0,0 +1,28 @@
+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     int64  `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"`
+}

+ 21 - 0
services/push/struct_push_message_infos_in_list_push_records.go

@@ -0,0 +1,21 @@
+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"`
+}

+ 21 - 0
services/push/struct_push_message_infos_in_query_push_list.go

@@ -0,0 +1,21 @@
+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"`
+}

+ 31 - 0
services/push/struct_push_stat.go

@@ -0,0 +1,31 @@
+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            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"`
+}

+ 21 - 0
services/push/struct_push_stats.go

@@ -0,0 +1,21 @@
+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"`
+}

+ 22 - 0
services/push/struct_summary_app_info.go

@@ -0,0 +1,22 @@
+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  int64  `json:"AppKey" xml:"AppKey"`
+}

+ 21 - 0
services/push/struct_summary_app_infos.go

@@ -0,0 +1,21 @@
+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"`
+}

+ 21 - 0
services/push/struct_tag_info.go

@@ -0,0 +1,21 @@
+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"`
+}

+ 21 - 0
services/push/struct_tag_infos_in_list_tags.go

@@ -0,0 +1,21 @@
+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"`
+}

+ 21 - 0
services/push/struct_tag_infos_in_query_tags.go

@@ -0,0 +1,21 @@
+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"`
+}

+ 6 - 7
services/push/unbind_alias.go

@@ -1,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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,11 +76,10 @@ func (client *Client) UnbindAliasWithCallback(request *UnbindAliasRequest, callb
 // UnbindAliasRequest is the request struct for api UnbindAlias
 type UnbindAliasRequest struct {
 	*requests.RpcRequest
-	AccessKeyId string           `position:"Query" name:"AccessKeyId"`
-	AppKey      requests.Integer `position:"Query" name:"AppKey"`
-	DeviceId    string           `position:"Query" name:"DeviceId"`
-	AliasName   string           `position:"Query" name:"AliasName"`
-	UnbindAll   requests.Boolean `position:"Query" name:"UnbindAll"`
+	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"`
 }
 
 // UnbindAliasResponse is the response struct for api UnbindAlias

+ 4 - 5
services/push/unbind_phone.go

@@ -1,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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,8 @@ func (client *Client) UnbindPhoneWithCallback(request *UnbindPhoneRequest, callb
 // UnbindPhoneRequest is the request struct for api UnbindPhone
 type UnbindPhoneRequest struct {
 	*requests.RpcRequest
-	AccessKeyId string           `position:"Query" name:"AccessKeyId"`
-	AppKey      requests.Integer `position:"Query" name:"AppKey"`
-	DeviceId    string           `position:"Query" name:"DeviceId"`
+	AppKey   requests.Integer `position:"Query" name:"AppKey"`
+	DeviceId string           `position:"Query" name:"DeviceId"`
 }
 
 // UnbindPhoneResponse is the response struct for api UnbindPhone

+ 6 - 7
services/push/unbind_tag.go

@@ -1,3 +1,5 @@
+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
@@ -13,8 +15,6 @@
 // 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,11 +76,10 @@ func (client *Client) UnbindTagWithCallback(request *UnbindTagRequest, callback
 // UnbindTagRequest is the request struct for api UnbindTag
 type UnbindTagRequest struct {
 	*requests.RpcRequest
-	AccessKeyId string           `position:"Query" name:"AccessKeyId"`
-	AppKey      requests.Integer `position:"Query" name:"AppKey"`
-	ClientKey   string           `position:"Query" name:"ClientKey"`
-	KeyType     string           `position:"Query" name:"KeyType"`
-	TagName     string           `position:"Query" name:"TagName"`
+	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"`
 }
 
 // UnbindTagResponse is the response struct for api UnbindTag