Skip to content

Commit

Permalink
Update to support new apis.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Aug 22, 2024
1 parent 3f1f4cb commit 63d219d
Show file tree
Hide file tree
Showing 15 changed files with 87 additions and 467 deletions.
3 changes: 3 additions & 0 deletions aliyun-python-sdk-live/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2024-08-22 Version: 3.9.60
- Update to support new apis.

2024-08-13 Version: 3.9.59
- Update to support new apis.

Expand Down
2 changes: 1 addition & 1 deletion aliyun-python-sdk-live/aliyunsdklive/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '3.9.59'
__version__ = '3.9.60'
Original file line number Diff line number Diff line change
Expand Up @@ -20,39 +20,36 @@
from aliyunsdkcore.request import RpcRequest
from aliyunsdklive.endpoint import endpoint_data

class DescribeMeterLiveInteractionDauRequest(RpcRequest):
class AddLiveMessageGroupBandRequest(RpcRequest):

def __init__(self):
RpcRequest.__init__(self, 'live', '2016-11-01', 'DescribeMeterLiveInteractionDau','live')
RpcRequest.__init__(self, 'live', '2016-11-01', 'AddLiveMessageGroupBand','live')
self.set_protocol_type('https')
self.set_method('POST')

if hasattr(self, "endpoint_map"):
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
if hasattr(self, "endpoint_regional"):
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())

def get_StartTs(self): # Long
return self.get_query_params().get('StartTs')
def get_BannedUsers(self): # Array
return self.get_query_params().get('BannedUsers')

def set_StartTs(self, StartTs): # Long
self.add_query_param('StartTs', StartTs)
def get_ServiceArea(self): # String
return self.get_query_params().get('ServiceArea')
def set_BannedUsers(self, BannedUsers): # Array
for index1, value1 in enumerate(BannedUsers):
self.add_query_param('BannedUsers.' + str(index1 + 1), value1)
def get_GroupId(self): # String
return self.get_query_params().get('GroupId')

def set_ServiceArea(self, ServiceArea): # String
self.add_query_param('ServiceArea', ServiceArea)
def set_GroupId(self, GroupId): # String
self.add_query_param('GroupId', GroupId)
def get_DataCenter(self): # String
return self.get_query_params().get('DataCenter')

def set_DataCenter(self, DataCenter): # String
self.add_query_param('DataCenter', DataCenter)
def get_AppId(self): # String
return self.get_query_params().get('AppId')

def set_AppId(self, AppId): # String
self.add_query_param('AppId', AppId)
def get_EndTs(self): # Long
return self.get_query_params().get('EndTs')

def set_EndTs(self, EndTs): # Long
self.add_query_param('EndTs', EndTs)
def get_Interval(self): # Long
return self.get_query_params().get('Interval')

def set_Interval(self, Interval): # Long
self.add_query_param('Interval', Interval)
Original file line number Diff line number Diff line change
Expand Up @@ -20,34 +20,36 @@
from aliyunsdkcore.request import RpcRequest
from aliyunsdklive.endpoint import endpoint_data

class SetCasterTimedEventRequest(RpcRequest):
class BanLiveMessageGroupRequest(RpcRequest):

def __init__(self):
RpcRequest.__init__(self, 'live', '2016-11-01', 'SetCasterTimedEvent','live')
RpcRequest.__init__(self, 'live', '2016-11-01', 'BanLiveMessageGroup','live')
self.set_protocol_type('https')
self.set_method('POST')

if hasattr(self, "endpoint_map"):
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
if hasattr(self, "endpoint_regional"):
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())

def get_EventName(self): # String
return self.get_query_params().get('EventName')
def get_GroupId(self): # String
return self.get_query_params().get('GroupId')

def set_EventName(self, EventName): # String
self.add_query_param('EventName', EventName)
def get_StartTimeUTC(self): # String
return self.get_query_params().get('StartTimeUTC')
def set_GroupId(self, GroupId): # String
self.add_query_param('GroupId', GroupId)
def get_ExceptUsers(self): # Array
return self.get_query_params().get('ExceptUsers')

def set_StartTimeUTC(self, StartTimeUTC): # String
self.add_query_param('StartTimeUTC', StartTimeUTC)
def get_CasterId(self): # String
return self.get_query_params().get('CasterId')
def set_ExceptUsers(self, ExceptUsers): # Array
for index1, value1 in enumerate(ExceptUsers):
self.add_query_param('ExceptUsers.' + str(index1 + 1), value1)
def get_DataCenter(self): # String
return self.get_query_params().get('DataCenter')

def set_CasterId(self, CasterId): # String
self.add_query_param('CasterId', CasterId)
def get_OwnerId(self): # Long
return self.get_query_params().get('OwnerId')
def set_DataCenter(self, DataCenter): # String
self.add_query_param('DataCenter', DataCenter)
def get_AppId(self): # String
return self.get_query_params().get('AppId')

def set_OwnerId(self, OwnerId): # Long
self.add_query_param('OwnerId', OwnerId)
def set_AppId(self, AppId): # String
self.add_query_param('AppId', AppId)
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ def get_ClientToken(self): # String

def set_ClientToken(self, ClientToken): # String
self.add_query_param('ClientToken', ClientToken)
def get_ResourceGroupId(self): # String
return self.get_query_params().get('ResourceGroupId')

def set_ResourceGroupId(self, ResourceGroupId): # String
self.add_query_param('ResourceGroupId', ResourceGroupId)
def get_CasterName(self): # String
return self.get_query_params().get('CasterName')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ def get_PageNum(self): # Integer

def set_PageNum(self, PageNum): # Integer
self.add_query_param('PageNum', PageNum)
def get_ResourceGroupId(self): # String
return self.get_query_params().get('ResourceGroupId')

def set_ResourceGroupId(self, ResourceGroupId): # String
self.add_query_param('ResourceGroupId', ResourceGroupId)
def get_CasterName(self): # String
return self.get_query_params().get('CasterName')

Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -20,34 +20,36 @@
from aliyunsdkcore.request import RpcRequest
from aliyunsdklive.endpoint import endpoint_data

class DescribeLiveDomainTranscodeDataRequest(RpcRequest):
class RemoveLiveMessageGroupBandRequest(RpcRequest):

def __init__(self):
RpcRequest.__init__(self, 'live', '2016-11-01', 'DescribeLiveDomainTranscodeData','live')
RpcRequest.__init__(self, 'live', '2016-11-01', 'RemoveLiveMessageGroupBand','live')
self.set_protocol_type('https')
self.set_method('POST')

if hasattr(self, "endpoint_map"):
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
if hasattr(self, "endpoint_regional"):
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())

def get_StartTime(self): # String
return self.get_query_params().get('StartTime')
def get_GroupId(self): # String
return self.get_query_params().get('GroupId')

def set_StartTime(self, StartTime): # String
self.add_query_param('StartTime', StartTime)
def get_DomainName(self): # String
return self.get_query_params().get('DomainName')
def set_GroupId(self, GroupId): # String
self.add_query_param('GroupId', GroupId)
def get_DataCenter(self): # String
return self.get_query_params().get('DataCenter')

def set_DomainName(self, DomainName): # String
self.add_query_param('DomainName', DomainName)
def get_EndTime(self): # String
return self.get_query_params().get('EndTime')
def set_DataCenter(self, DataCenter): # String
self.add_query_param('DataCenter', DataCenter)
def get_UnbannedUsers(self): # Array
return self.get_query_params().get('UnbannedUsers')

def set_EndTime(self, EndTime): # String
self.add_query_param('EndTime', EndTime)
def get_OwnerId(self): # Long
return self.get_query_params().get('OwnerId')
def set_UnbannedUsers(self, UnbannedUsers): # Array
for index1, value1 in enumerate(UnbannedUsers):
self.add_query_param('UnbannedUsers.' + str(index1 + 1), value1)
def get_AppId(self): # String
return self.get_query_params().get('AppId')

def set_OwnerId(self, OwnerId): # Long
self.add_query_param('OwnerId', OwnerId)
def set_AppId(self, AppId): # String
self.add_query_param('AppId', AppId)
Loading

0 comments on commit 63d219d

Please sign in to comment.