Skip to content

Commit 3156178

Browse files
committed
Update to support new apis.
1 parent fced33a commit 3156178

12 files changed

+15
-427
lines changed

aliyun-python-sdk-live/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2024-07-05 Version: 3.9.56
2+
- Update to support new apis.
3+
14
2024-06-18 Version: 3.9.55
25
- Update to support new apis.
36

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '3.9.55'
1+
__version__ = '3.9.56'

aliyun-python-sdk-live/aliyunsdklive/request/v20161101/AddLiveAIProduceRulesRequest.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,3 @@ def get_Domain(self): # String
6666

6767
def set_Domain(self, Domain): # String
6868
self.add_query_param('Domain', Domain)
69-
def get_IsOrigin(self): # Boolean
70-
return self.get_query_params().get('IsOrigin')
71-
72-
def set_IsOrigin(self, IsOrigin): # Boolean
73-
self.add_query_param('IsOrigin', IsOrigin)

aliyun-python-sdk-live/aliyunsdklive/request/v20161101/DeleteRoomRequest.py

Lines changed: 0 additions & 48 deletions
This file was deleted.

aliyun-python-sdk-live/aliyunsdklive/request/v20161101/DescribeForbidPushStreamRoomListRequest.py

Lines changed: 0 additions & 58 deletions
This file was deleted.

aliyun-python-sdk-live/aliyunsdklive/request/v20161101/DescribeRoomKickoutUserListRequest.py

Lines changed: 0 additions & 63 deletions
This file was deleted.

aliyun-python-sdk-live/aliyunsdklive/request/v20161101/DescribeRoomStatusRequest.py

Lines changed: 0 additions & 48 deletions
This file was deleted.

aliyun-python-sdk-live/aliyunsdklive/request/v20161101/ForbidPushStreamRequest.py

Lines changed: 0 additions & 58 deletions
This file was deleted.

aliyun-python-sdk-live/aliyunsdklive/request/v20161101/AllowPushStreamRequest.py renamed to aliyun-python-sdk-live/aliyunsdklive/request/v20161101/RecoverLiveMessageDeletedGroupRequest.py

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,27 +20,28 @@
2020
from aliyunsdkcore.request import RpcRequest
2121
from aliyunsdklive.endpoint import endpoint_data
2222

23-
class AllowPushStreamRequest(RpcRequest):
23+
class RecoverLiveMessageDeletedGroupRequest(RpcRequest):
2424

2525
def __init__(self):
26-
RpcRequest.__init__(self, 'live', '2016-11-01', 'AllowPushStream','live')
26+
RpcRequest.__init__(self, 'live', '2016-11-01', 'RecoverLiveMessageDeletedGroup','live')
27+
self.set_protocol_type('https')
2728
self.set_method('POST')
2829

2930
if hasattr(self, "endpoint_map"):
3031
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
3132
if hasattr(self, "endpoint_regional"):
3233
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
3334

34-
def get_OwnerId(self): # Long
35-
return self.get_query_params().get('OwnerId')
35+
def get_GroupId(self): # String
36+
return self.get_query_params().get('GroupId')
3637

37-
def set_OwnerId(self, OwnerId): # Long
38-
self.add_query_param('OwnerId', OwnerId)
39-
def get_RoomId(self): # String
40-
return self.get_query_params().get('RoomId')
38+
def set_GroupId(self, GroupId): # String
39+
self.add_query_param('GroupId', GroupId)
40+
def get_DataCenter(self): # String
41+
return self.get_query_params().get('DataCenter')
4142

42-
def set_RoomId(self, RoomId): # String
43-
self.add_query_param('RoomId', RoomId)
43+
def set_DataCenter(self, DataCenter): # String
44+
self.add_query_param('DataCenter', DataCenter)
4445
def get_AppId(self): # String
4546
return self.get_query_params().get('AppId')
4647

0 commit comments

Comments
 (0)