Skip to content

Commit

Permalink
由释一发起的PUSH SDK自动发布, BUILD_ID=490, 版本号:3.10.0
Browse files Browse the repository at this point in the history
发布日志:
1, Add 'QueryDevicesByAccount' and 'QueryDevicesByAlias'  Api.
2, Remove 'QueryPushDetail' Api.
  • Loading branch information
Qingtang-SDK committed Mar 23, 2018
1 parent 0f9dd2d commit d474166
Show file tree
Hide file tree
Showing 6 changed files with 110 additions and 16 deletions.
4 changes: 4 additions & 0 deletions aliyun-python-sdk-push/ChangeLog.txt
@@ -1,3 +1,7 @@
2018-03-23 Version: 3.10.0
1, Add 'QueryDevicesByAccount' and 'QueryDevicesByAlias' Api.
2, Remove 'QueryPushDetail' Api.

2018-01-29 Version: 3.9.0
1, Add 'notificationChannel' parameter to Push API

Expand Down
2 changes: 1 addition & 1 deletion aliyun-python-sdk-push/aliyunsdkpush/__init__.py
@@ -1 +1 @@
__version__ = "3.9.0"
__version__ = "3.10.0"
Expand Up @@ -107,12 +107,6 @@ def get_iOSRemindBody(self):
def set_iOSRemindBody(self,iOSRemindBody):
self.add_query_param('iOSRemindBody',iOSRemindBody)

def get_BatchNumber(self):
return self.get_query_params().get('BatchNumber')

def set_BatchNumber(self,BatchNumber):
self.add_query_param('BatchNumber',BatchNumber)

def get_iOSExtParameters(self):
return self.get_query_params().get('iOSExtParameters')

Expand Down
Expand Up @@ -18,19 +18,19 @@
# under the License.

from aliyunsdkcore.request import RpcRequest
class QueryPushDetailRequest(RpcRequest):
class QueryDevicesByAccountRequest(RpcRequest):

def __init__(self):
RpcRequest.__init__(self, 'Push', '2016-08-01', 'QueryPushDetail')

def get_MessageId(self):
return self.get_query_params().get('MessageId')

def set_MessageId(self,MessageId):
self.add_query_param('MessageId',MessageId)
RpcRequest.__init__(self, 'Push', '2016-08-01', 'QueryDevicesByAccount')

def get_AppKey(self):
return self.get_query_params().get('AppKey')

def set_AppKey(self,AppKey):
self.add_query_param('AppKey',AppKey)
self.add_query_param('AppKey',AppKey)

def get_Account(self):
return self.get_query_params().get('Account')

def set_Account(self,Account):
self.add_query_param('Account',Account)
@@ -0,0 +1,36 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you 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.

from aliyunsdkcore.request import RpcRequest
class QueryDevicesByAliasRequest(RpcRequest):

def __init__(self):
RpcRequest.__init__(self, 'Push', '2016-08-01', 'QueryDevicesByAlias')

def get_Alias(self):
return self.get_query_params().get('Alias')

def set_Alias(self,Alias):
self.add_query_param('Alias',Alias)

def get_AppKey(self):
return self.get_query_params().get('AppKey')

def set_AppKey(self,AppKey):
self.add_query_param('AppKey',AppKey)
@@ -0,0 +1,60 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you 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.

from aliyunsdkcore.request import RpcRequest
class QueryPushListRequest(RpcRequest):

def __init__(self):
RpcRequest.__init__(self, 'Push', '2016-08-01', 'QueryPushList')

def get_PageSize(self):
return self.get_query_params().get('PageSize')

def set_PageSize(self,PageSize):
self.add_query_param('PageSize',PageSize)

def get_EndTime(self):
return self.get_query_params().get('EndTime')

def set_EndTime(self,EndTime):
self.add_query_param('EndTime',EndTime)

def get_AppKey(self):
return self.get_query_params().get('AppKey')

def set_AppKey(self,AppKey):
self.add_query_param('AppKey',AppKey)

def get_StartTime(self):
return self.get_query_params().get('StartTime')

def set_StartTime(self,StartTime):
self.add_query_param('StartTime',StartTime)

def get_Page(self):
return self.get_query_params().get('Page')

def set_Page(self,Page):
self.add_query_param('Page',Page)

def get_PushType(self):
return self.get_query_params().get('PushType')

def set_PushType(self,PushType):
self.add_query_param('PushType',PushType)

0 comments on commit d474166

Please sign in to comment.