Skip to content

Commit

Permalink
LIVE SDK Auto Released By renrang.yl,Version:3.7.2
Browse files Browse the repository at this point in the history
发布日志:
1, Add API DescribeLiveDomainBpsData,DescribeLiveDomainTrafficData.
  • Loading branch information
jxyowen committed Oct 30, 2018
1 parent e8926a0 commit 1662096
Show file tree
Hide file tree
Showing 8 changed files with 198 additions and 26 deletions.
4 changes: 4 additions & 0 deletions aliyun-python-sdk-live/ChangeLog.txt
@@ -1,3 +1,7 @@
2018-10-30 Version: 3.7.2
1, Add API DescribeLiveDomainBpsData,DescribeLiveDomainTrafficData.


2018-09-17 Version: 3.7.1
1, Add field for AddCasterVideoResource, DescribeCasterVideoResources, ModifyCasterVideoResource.

Expand Down
2 changes: 1 addition & 1 deletion aliyun-python-sdk-live/aliyunsdklive/__init__.py
@@ -1 +1 @@
__version__ = "3.7.1"
__version__ = "3.7.2"
Expand Up @@ -51,4 +51,10 @@ def get_OwnerId(self):
return self.get_query_params().get('OwnerId')

def set_OwnerId(self,OwnerId):
self.add_query_param('OwnerId',OwnerId)
self.add_query_param('OwnerId',OwnerId)

def get_Interval(self):
return self.get_query_params().get('Interval')

def set_Interval(self,Interval):
self.add_query_param('Interval',Interval)
@@ -0,0 +1,66 @@
# 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 DescribeLiveDomainBpsDataRequest(RpcRequest):

def __init__(self):
RpcRequest.__init__(self, 'live', '2016-11-01', 'DescribeLiveDomainBpsData','live')

def get_DomainName(self):
return self.get_query_params().get('DomainName')

def set_DomainName(self,DomainName):
self.add_query_param('DomainName',DomainName)

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

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

def get_Interval(self):
return self.get_query_params().get('Interval')

def set_Interval(self,Interval):
self.add_query_param('Interval',Interval)

def get_LocationNameEn(self):
return self.get_query_params().get('LocationNameEn')

def set_LocationNameEn(self,LocationNameEn):
self.add_query_param('LocationNameEn',LocationNameEn)

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

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

def get_IspNameEn(self):
return self.get_query_params().get('IspNameEn')

def set_IspNameEn(self,IspNameEn):
self.add_query_param('IspNameEn',IspNameEn)

def get_OwnerId(self):
return self.get_query_params().get('OwnerId')

def set_OwnerId(self,OwnerId):
self.add_query_param('OwnerId',OwnerId)
@@ -0,0 +1,66 @@
# 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 DescribeLiveDomainTrafficDataRequest(RpcRequest):

def __init__(self):
RpcRequest.__init__(self, 'live', '2016-11-01', 'DescribeLiveDomainTrafficData','live')

def get_DomainName(self):
return self.get_query_params().get('DomainName')

def set_DomainName(self,DomainName):
self.add_query_param('DomainName',DomainName)

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

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

def get_Interval(self):
return self.get_query_params().get('Interval')

def set_Interval(self,Interval):
self.add_query_param('Interval',Interval)

def get_LocationNameEn(self):
return self.get_query_params().get('LocationNameEn')

def set_LocationNameEn(self,LocationNameEn):
self.add_query_param('LocationNameEn',LocationNameEn)

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

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

def get_IspNameEn(self):
return self.get_query_params().get('IspNameEn')

def set_IspNameEn(self,IspNameEn):
self.add_query_param('IspNameEn',IspNameEn)

def get_OwnerId(self):
return self.get_query_params().get('OwnerId')

def set_OwnerId(self,OwnerId):
self.add_query_param('OwnerId',OwnerId)
Expand Up @@ -23,6 +23,18 @@ class DescribeRoomListRequest(RpcRequest):
def __init__(self):
RpcRequest.__init__(self, 'live', '2016-11-01', 'DescribeRoomList','live')

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

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

def get_AnchorId(self):
return self.get_query_params().get('AnchorId')

def set_AnchorId(self,AnchorId):
self.add_query_param('AnchorId',AnchorId)

def get_PageNum(self):
return self.get_query_params().get('PageNum')

Expand All @@ -47,12 +59,24 @@ def get_Order(self):
def set_Order(self,Order):
self.add_query_param('Order',Order)

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

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

def get_OwnerId(self):
return self.get_query_params().get('OwnerId')

def set_OwnerId(self,OwnerId):
self.add_query_param('OwnerId',OwnerId)

def get_RoomId(self):
return self.get_query_params().get('RoomId')

def set_RoomId(self,RoomId):
self.add_query_param('RoomId',RoomId)

def get_AppId(self):
return self.get_query_params().get('AppId')

Expand Down
Expand Up @@ -23,30 +23,18 @@ class ForbidLiveStreamRequest(RpcRequest):
def __init__(self):
RpcRequest.__init__(self, 'live', '2016-11-01', 'ForbidLiveStream','live')

def get_AppName(self):
return self.get_query_params().get('AppName')

def set_AppName(self,AppName):
self.add_query_param('AppName',AppName)

def get_StreamName(self):
return self.get_query_params().get('StreamName')

def set_StreamName(self,StreamName):
self.add_query_param('StreamName',StreamName)

def get_ControlStreamAction(self):
return self.get_query_params().get('ControlStreamAction')

def set_ControlStreamAction(self,ControlStreamAction):
self.add_query_param('ControlStreamAction',ControlStreamAction)

def get_ResumeTime(self):
return self.get_query_params().get('ResumeTime')

def set_ResumeTime(self,ResumeTime):
self.add_query_param('ResumeTime',ResumeTime)

def get_AppName(self):
return self.get_query_params().get('AppName')

def set_AppName(self,AppName):
self.add_query_param('AppName',AppName)

def get_LiveStreamType(self):
return self.get_query_params().get('LiveStreamType')

Expand All @@ -69,4 +57,16 @@ def get_Oneshot(self):
return self.get_query_params().get('Oneshot')

def set_Oneshot(self,Oneshot):
self.add_query_param('Oneshot',Oneshot)
self.add_query_param('Oneshot',Oneshot)

def get_StreamName(self):
return self.get_query_params().get('StreamName')

def set_StreamName(self,StreamName):
self.add_query_param('StreamName',StreamName)

def get_ControlStreamAction(self):
return self.get_query_params().get('ControlStreamAction')

def set_ControlStreamAction(self,ControlStreamAction):
self.add_query_param('ControlStreamAction',ControlStreamAction)
Expand Up @@ -23,11 +23,11 @@ class SetLiveStreamsNotifyUrlConfigRequest(RpcRequest):
def __init__(self):
RpcRequest.__init__(self, 'live', '2016-11-01', 'SetLiveStreamsNotifyUrlConfig','live')

def get_SecurityToken(self):
return self.get_query_params().get('SecurityToken')
def get_AuthKey(self):
return self.get_query_params().get('AuthKey')

def set_SecurityToken(self,SecurityToken):
self.add_query_param('SecurityToken',SecurityToken)
def set_AuthKey(self,AuthKey):
self.add_query_param('AuthKey',AuthKey)

def get_DomainName(self):
return self.get_query_params().get('DomainName')
Expand All @@ -45,4 +45,10 @@ def get_OwnerId(self):
return self.get_query_params().get('OwnerId')

def set_OwnerId(self,OwnerId):
self.add_query_param('OwnerId',OwnerId)
self.add_query_param('OwnerId',OwnerId)

def get_AuthType(self):
return self.get_query_params().get('AuthType')

def set_AuthType(self,AuthType):
self.add_query_param('AuthType',AuthType)

0 comments on commit 1662096

Please sign in to comment.