Browse Source

PUSH SDK Auto Released By quanwei.lqw,Version:1.53.20

Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
haowei.yao 6 years ago
parent
commit
eefbad419e

+ 3 - 0
ChangeLog.txt

@@ -1,3 +1,6 @@
+2019-03-11 Version: 1.53.20
+1, Update aliyun-java-sdk-core version.
+
 2019-03-08 Version: 1.53.19
 1, Publish instance spec describe api.
 

+ 1 - 1
services/push/bind_alias.go

@@ -76,9 +76,9 @@ func (client *Client) BindAliasWithCallback(request *BindAliasRequest, callback
 // BindAliasRequest is the request struct for api BindAlias
 type BindAliasRequest struct {
 	*requests.RpcRequest
+	AliasName string           `position:"Query" name:"AliasName"`
 	AppKey    requests.Integer `position:"Query" name:"AppKey"`
 	DeviceId  string           `position:"Query" name:"DeviceId"`
-	AliasName string           `position:"Query" name:"AliasName"`
 }
 
 // BindAliasResponse is the response struct for api BindAlias

+ 1 - 1
services/push/bind_phone.go

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

+ 2 - 2
services/push/bind_tag.go

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

+ 1 - 1
services/push/cancel_push.go

@@ -76,8 +76,8 @@ func (client *Client) CancelPushWithCallback(request *CancelPushRequest, callbac
 // CancelPushRequest is the request struct for api CancelPush
 type CancelPushRequest struct {
 	*requests.RpcRequest
-	AppKey    requests.Integer `position:"Query" name:"AppKey"`
 	MessageId requests.Integer `position:"Query" name:"MessageId"`
+	AppKey    requests.Integer `position:"Query" name:"AppKey"`
 }
 
 // CancelPushResponse is the response struct for api CancelPush

+ 1 - 1
services/push/check_devices.go

@@ -76,8 +76,8 @@ func (client *Client) CheckDevicesWithCallback(request *CheckDevicesRequest, cal
 // CheckDevicesRequest is the request struct for api CheckDevices
 type CheckDevicesRequest struct {
 	*requests.RpcRequest
-	AppKey    requests.Integer `position:"Query" name:"AppKey"`
 	DeviceIds string           `position:"Query" name:"DeviceIds"`
+	AppKey    requests.Integer `position:"Query" name:"AppKey"`
 }
 
 // CheckDevicesResponse is the response struct for api CheckDevices

+ 3 - 3
services/push/list_push_records.go

@@ -76,12 +76,12 @@ func (client *Client) ListPushRecordsWithCallback(request *ListPushRecordsReques
 // ListPushRecordsRequest is the request struct for api ListPushRecords
 type ListPushRecordsRequest struct {
 	*requests.RpcRequest
+	PageSize  requests.Integer `position:"Query" name:"PageSize"`
+	EndTime   string           `position:"Query" name:"EndTime"`
 	AppKey    requests.Integer `position:"Query" name:"AppKey"`
-	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"`
+	PushType  string           `position:"Query" name:"PushType"`
 }
 
 // ListPushRecordsResponse is the response struct for api ListPushRecords

+ 34 - 34
services/push/push.go

@@ -76,50 +76,50 @@ func (client *Client) PushWithCallback(request *PushRequest, callback func(respo
 // PushRequest is the request struct for api Push
 type PushRequest struct {
 	*requests.RpcRequest
-	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"`
+	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"`
-	IOSBadge                       requests.Integer `position:"Query" name:"iOSBadge"`
-	IOSBadgeAutoIncrement          requests.Boolean `position:"Query" name:"iOSBadgeAutoIncrement"`
-	IOSSilentNotification          requests.Boolean `position:"Query" name:"iOSSilentNotification"`
-	IOSMusic                       string           `position:"Query" name:"iOSMusic"`
-	IOSSubtitle                    string           `position:"Query" name:"iOSSubtitle"`
-	IOSNotificationCategory        string           `position:"Query" name:"iOSNotificationCategory"`
-	IOSMutableContent              requests.Boolean `position:"Query" name:"iOSMutableContent"`
 	IOSExtParameters               string           `position:"Query" name:"iOSExtParameters"`
 	AndroidNotifyType              string           `position:"Query" name:"AndroidNotifyType"`
-	AndroidOpenType                string           `position:"Query" name:"AndroidOpenType"`
-	AndroidActivity                string           `position:"Query" name:"AndroidActivity"`
-	AndroidMusic                   string           `position:"Query" name:"AndroidMusic"`
-	AndroidOpenUrl                 string           `position:"Query" name:"AndroidOpenUrl"`
-	AndroidXiaoMiActivity          string           `position:"Query" name:"AndroidXiaoMiActivity"`
-	AndroidXiaoMiNotifyTitle       string           `position:"Query" name:"AndroidXiaoMiNotifyTitle"`
-	AndroidXiaoMiNotifyBody        string           `position:"Query" name:"AndroidXiaoMiNotifyBody"`
-	AndroidPopupActivity           string           `position:"Query" name:"AndroidPopupActivity"`
 	AndroidPopupTitle              string           `position:"Query" name:"AndroidPopupTitle"`
-	AndroidPopupBody               string           `position:"Query" name:"AndroidPopupBody"`
-	AndroidNotificationBarType     requests.Integer `position:"Query" name:"AndroidNotificationBarType"`
+	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

+ 1 - 1
services/push/push_message_to_android.go

@@ -77,11 +77,11 @@ func (client *Client) PushMessageToAndroidWithCallback(request *PushMessageToAnd
 type PushMessageToAndroidRequest struct {
 	*requests.RpcRequest
 	AppKey      requests.Integer `position:"Query" name:"AppKey"`
-	Target      string           `position:"Query" name:"Target"`
 	TargetValue string           `position:"Query" name:"TargetValue"`
 	Title       string           `position:"Query" name:"Title"`
 	Body        string           `position:"Query" name:"Body"`
 	JobKey      string           `position:"Query" name:"JobKey"`
+	Target      string           `position:"Query" name:"Target"`
 }
 
 // PushMessageToAndroidResponse is the response struct for api PushMessageToAndroid

+ 1 - 1
services/push/push_message_toi_os.go

@@ -77,11 +77,11 @@ func (client *Client) PushMessageToiOSWithCallback(request *PushMessageToiOSRequ
 type PushMessageToiOSRequest struct {
 	*requests.RpcRequest
 	AppKey      requests.Integer `position:"Query" name:"AppKey"`
-	Target      string           `position:"Query" name:"Target"`
 	TargetValue string           `position:"Query" name:"TargetValue"`
 	Title       string           `position:"Query" name:"Title"`
 	Body        string           `position:"Query" name:"Body"`
 	JobKey      string           `position:"Query" name:"JobKey"`
+	Target      string           `position:"Query" name:"Target"`
 }
 
 // PushMessageToiOSResponse is the response struct for api PushMessageToiOS

+ 2 - 2
services/push/push_notice_to_android.go

@@ -76,13 +76,13 @@ func (client *Client) PushNoticeToAndroidWithCallback(request *PushNoticeToAndro
 // PushNoticeToAndroidRequest is the request struct for api PushNoticeToAndroid
 type PushNoticeToAndroidRequest struct {
 	*requests.RpcRequest
+	ExtParameters string           `position:"Query" name:"ExtParameters"`
 	AppKey        requests.Integer `position:"Query" name:"AppKey"`
-	Target        string           `position:"Query" name:"Target"`
 	TargetValue   string           `position:"Query" name:"TargetValue"`
 	Title         string           `position:"Query" name:"Title"`
 	Body          string           `position:"Query" name:"Body"`
 	JobKey        string           `position:"Query" name:"JobKey"`
-	ExtParameters string           `position:"Query" name:"ExtParameters"`
+	Target        string           `position:"Query" name:"Target"`
 }
 
 // PushNoticeToAndroidResponse is the response struct for api PushNoticeToAndroid

+ 3 - 3
services/push/push_notice_toi_os.go

@@ -76,14 +76,14 @@ func (client *Client) PushNoticeToiOSWithCallback(request *PushNoticeToiOSReques
 // PushNoticeToiOSRequest is the request struct for api PushNoticeToiOS
 type PushNoticeToiOSRequest struct {
 	*requests.RpcRequest
+	ExtParameters string           `position:"Query" name:"ExtParameters"`
+	ApnsEnv       string           `position:"Query" name:"ApnsEnv"`
 	AppKey        requests.Integer `position:"Query" name:"AppKey"`
-	Target        string           `position:"Query" name:"Target"`
 	TargetValue   string           `position:"Query" name:"TargetValue"`
-	ApnsEnv       string           `position:"Query" name:"ApnsEnv"`
 	Title         string           `position:"Query" name:"Title"`
 	Body          string           `position:"Query" name:"Body"`
 	JobKey        string           `position:"Query" name:"JobKey"`
-	ExtParameters string           `position:"Query" name:"ExtParameters"`
+	Target        string           `position:"Query" name:"Target"`
 }
 
 // PushNoticeToiOSResponse is the response struct for api PushNoticeToiOS

+ 1 - 1
services/push/query_device_stat.go

@@ -76,9 +76,9 @@ func (client *Client) QueryDeviceStatWithCallback(request *QueryDeviceStatReques
 // QueryDeviceStatRequest is the request struct for api QueryDeviceStat
 type QueryDeviceStatRequest struct {
 	*requests.RpcRequest
+	EndTime    string           `position:"Query" name:"EndTime"`
 	AppKey     requests.Integer `position:"Query" name:"AppKey"`
 	StartTime  string           `position:"Query" name:"StartTime"`
-	EndTime    string           `position:"Query" name:"EndTime"`
 	DeviceType string           `position:"Query" name:"DeviceType"`
 	QueryType  string           `position:"Query" name:"QueryType"`
 }

+ 1 - 1
services/push/query_devices_by_alias.go

@@ -76,8 +76,8 @@ func (client *Client) QueryDevicesByAliasWithCallback(request *QueryDevicesByAli
 // QueryDevicesByAliasRequest is the request struct for api QueryDevicesByAlias
 type QueryDevicesByAliasRequest struct {
 	*requests.RpcRequest
-	AppKey requests.Integer `position:"Query" name:"AppKey"`
 	Alias  string           `position:"Query" name:"Alias"`
+	AppKey requests.Integer `position:"Query" name:"AppKey"`
 }
 
 // QueryDevicesByAliasResponse is the response struct for api QueryDevicesByAlias

+ 3 - 3
services/push/query_push_list.go

@@ -76,12 +76,12 @@ func (client *Client) QueryPushListWithCallback(request *QueryPushListRequest, c
 // QueryPushListRequest is the request struct for api QueryPushList
 type QueryPushListRequest struct {
 	*requests.RpcRequest
+	PageSize  requests.Integer `position:"Query" name:"PageSize"`
+	EndTime   string           `position:"Query" name:"EndTime"`
 	AppKey    requests.Integer `position:"Query" name:"AppKey"`
-	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"`
+	PushType  string           `position:"Query" name:"PushType"`
 }
 
 // QueryPushListResponse is the response struct for api QueryPushList

+ 2 - 2
services/push/query_push_stat_by_app.go

@@ -76,10 +76,10 @@ func (client *Client) QueryPushStatByAppWithCallback(request *QueryPushStatByApp
 // QueryPushStatByAppRequest is the request struct for api QueryPushStatByApp
 type QueryPushStatByAppRequest struct {
 	*requests.RpcRequest
+	Granularity string           `position:"Query" name:"Granularity"`
+	EndTime     string           `position:"Query" name:"EndTime"`
 	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

+ 1 - 1
services/push/query_push_stat_by_msg.go

@@ -76,8 +76,8 @@ func (client *Client) QueryPushStatByMsgWithCallback(request *QueryPushStatByMsg
 // QueryPushStatByMsgRequest is the request struct for api QueryPushStatByMsg
 type QueryPushStatByMsgRequest struct {
 	*requests.RpcRequest
-	AppKey    requests.Integer `position:"Query" name:"AppKey"`
 	MessageId requests.Integer `position:"Query" name:"MessageId"`
+	AppKey    requests.Integer `position:"Query" name:"AppKey"`
 }
 
 // QueryPushStatByMsgResponse is the response struct for api QueryPushStatByMsg

+ 1 - 1
services/push/query_tags.go

@@ -76,8 +76,8 @@ func (client *Client) QueryTagsWithCallback(request *QueryTagsRequest, callback
 // QueryTagsRequest is the request struct for api QueryTags
 type QueryTagsRequest struct {
 	*requests.RpcRequest
-	AppKey    requests.Integer `position:"Query" name:"AppKey"`
 	ClientKey string           `position:"Query" name:"ClientKey"`
+	AppKey    requests.Integer `position:"Query" name:"AppKey"`
 	KeyType   string           `position:"Query" name:"KeyType"`
 }
 

+ 2 - 2
services/push/query_unique_device_stat.go

@@ -76,10 +76,10 @@ func (client *Client) QueryUniqueDeviceStatWithCallback(request *QueryUniqueDevi
 // QueryUniqueDeviceStatRequest is the request struct for api QueryUniqueDeviceStat
 type QueryUniqueDeviceStatRequest struct {
 	*requests.RpcRequest
+	Granularity string           `position:"Query" name:"Granularity"`
+	EndTime     string           `position:"Query" name:"EndTime"`
 	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

+ 1 - 1
services/push/remove_tag.go

@@ -76,8 +76,8 @@ func (client *Client) RemoveTagWithCallback(request *RemoveTagRequest, callback
 // RemoveTagRequest is the request struct for api RemoveTag
 type RemoveTagRequest struct {
 	*requests.RpcRequest
-	AppKey  requests.Integer `position:"Query" name:"AppKey"`
 	TagName string           `position:"Query" name:"TagName"`
+	AppKey  requests.Integer `position:"Query" name:"AppKey"`
 }
 
 // RemoveTagResponse is the response struct for api RemoveTag

+ 1 - 1
services/push/unbind_alias.go

@@ -76,9 +76,9 @@ func (client *Client) UnbindAliasWithCallback(request *UnbindAliasRequest, callb
 // UnbindAliasRequest is the request struct for api UnbindAlias
 type UnbindAliasRequest struct {
 	*requests.RpcRequest
+	AliasName string           `position:"Query" name:"AliasName"`
 	AppKey    requests.Integer `position:"Query" name:"AppKey"`
 	DeviceId  string           `position:"Query" name:"DeviceId"`
-	AliasName string           `position:"Query" name:"AliasName"`
 	UnbindAll requests.Boolean `position:"Query" name:"UnbindAll"`
 }
 

+ 2 - 2
services/push/unbind_tag.go

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