diff --git a/aliyun-python-sdk-live/ChangeLog.txt b/aliyun-python-sdk-live/ChangeLog.txt index 720dc23a75..2051510db8 100644 --- a/aliyun-python-sdk-live/ChangeLog.txt +++ b/aliyun-python-sdk-live/ChangeLog.txt @@ -1,3 +1,6 @@ +2023-12-13 Version: 3.9.42 +- Update to support new apis. + 2023-11-22 Version: 3.9.41 - Update to support new apis. diff --git a/aliyun-python-sdk-live/aliyunsdklive/__init__.py b/aliyun-python-sdk-live/aliyunsdklive/__init__.py index 071feac0f7..3fd3fc8938 100644 --- a/aliyun-python-sdk-live/aliyunsdklive/__init__.py +++ b/aliyun-python-sdk-live/aliyunsdklive/__init__.py @@ -1 +1 @@ -__version__ = '3.9.41' \ No newline at end of file +__version__ = '3.9.42' \ No newline at end of file diff --git a/aliyun-python-sdk-live/aliyunsdklive/request/v20161101/DescribeLiveDomainEdgeLogRequest.py b/aliyun-python-sdk-live/aliyunsdklive/request/v20161101/DescribeLiveDomainEdgeLogRequest.py new file mode 100644 index 0000000000..3af45f84e9 --- /dev/null +++ b/aliyun-python-sdk-live/aliyunsdklive/request/v20161101/DescribeLiveDomainEdgeLogRequest.py @@ -0,0 +1,63 @@ +# 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 +from aliyunsdklive.endpoint import endpoint_data + +class DescribeLiveDomainEdgeLogRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'live', '2016-11-01', 'DescribeLiveDomainEdgeLog','live') + 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 set_StartTime(self, StartTime): # String + self.add_query_param('StartTime', StartTime) + def get_PageNumber(self): # Long + return self.get_query_params().get('PageNumber') + + def set_PageNumber(self, PageNumber): # Long + self.add_query_param('PageNumber', PageNumber) + def get_PageSize(self): # Long + return self.get_query_params().get('PageSize') + + def set_PageSize(self, PageSize): # Long + self.add_query_param('PageSize', PageSize) + def get_DomainName(self): # String + return self.get_query_params().get('DomainName') + + 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_EndTime(self, EndTime): # String + self.add_query_param('EndTime', EndTime) + def get_OwnerId(self): # Long + return self.get_query_params().get('OwnerId') + + def set_OwnerId(self, OwnerId): # Long + self.add_query_param('OwnerId', OwnerId) diff --git a/aliyun-python-sdk-live/aliyunsdklive/request/v20161101/ListEventSubEventRequest.py b/aliyun-python-sdk-live/aliyunsdklive/request/v20161101/ListEventSubEventRequest.py new file mode 100644 index 0000000000..fd60817797 --- /dev/null +++ b/aliyun-python-sdk-live/aliyunsdklive/request/v20161101/ListEventSubEventRequest.py @@ -0,0 +1,64 @@ +# 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 +from aliyunsdklive.endpoint import endpoint_data + +class ListEventSubEventRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'live', '2016-11-01', 'ListEventSubEvent','live') + self.set_protocol_type('https') + self.set_method('GET') + + 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_SubscribeId(self): # String + return self.get_query_params().get('SubscribeId') + + def set_SubscribeId(self, SubscribeId): # String + self.add_query_param('SubscribeId', SubscribeId) + def get_EndTime(self): # Long + return self.get_query_params().get('EndTime') + + def set_EndTime(self, EndTime): # Long + self.add_query_param('EndTime', EndTime) + def get_StartTime(self): # Long + return self.get_query_params().get('StartTime') + + def set_StartTime(self, StartTime): # Long + self.add_query_param('StartTime', StartTime) + def get_PageNo(self): # Long + return self.get_query_params().get('PageNo') + + def set_PageNo(self, PageNo): # Long + self.add_query_param('PageNo', PageNo) + 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_PageSize(self): # Long + return self.get_query_params().get('PageSize') + + def set_PageSize(self, PageSize): # Long + self.add_query_param('PageSize', PageSize) diff --git a/aliyun-python-sdk-live/aliyunsdklive/request/v20161101/ListEventSubRequest.py b/aliyun-python-sdk-live/aliyunsdklive/request/v20161101/ListEventSubRequest.py new file mode 100644 index 0000000000..c2ee20292f --- /dev/null +++ b/aliyun-python-sdk-live/aliyunsdklive/request/v20161101/ListEventSubRequest.py @@ -0,0 +1,39 @@ +# 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 +from aliyunsdklive.endpoint import endpoint_data + +class ListEventSubRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'live', '2016-11-01', 'ListEventSub','live') + self.set_protocol_type('https') + self.set_method('GET') + + 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_AppId(self): # String + return self.get_query_params().get('AppId') + + def set_AppId(self, AppId): # String + self.add_query_param('AppId', AppId) diff --git a/aliyun-python-sdk-live/aliyunsdklive/request/v20161101/SendLiveMessageGroupRequest.py b/aliyun-python-sdk-live/aliyunsdklive/request/v20161101/SendLiveMessageGroupRequest.py index 0e12cb9741..ef9636a8c8 100644 --- a/aliyun-python-sdk-live/aliyunsdklive/request/v20161101/SendLiveMessageGroupRequest.py +++ b/aliyun-python-sdk-live/aliyunsdklive/request/v20161101/SendLiveMessageGroupRequest.py @@ -32,16 +32,41 @@ def __init__(self): if hasattr(self, "endpoint_regional"): setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional()) + def get_SenderMetaInfo(self): # String + return self.get_query_params().get('SenderMetaInfo') + + def set_SenderMetaInfo(self, SenderMetaInfo): # String + self.add_query_param('SenderMetaInfo', SenderMetaInfo) + def get_Body(self): # String + return self.get_query_params().get('Body') + + def set_Body(self, Body): # String + self.add_query_param('Body', Body) + def get_StaticsIncrease(self): # Long + return self.get_query_params().get('StaticsIncrease') + + def set_StaticsIncrease(self, StaticsIncrease): # Long + self.add_query_param('StaticsIncrease', StaticsIncrease) + def get_MsgType(self): # Long + return self.get_query_params().get('MsgType') + + def set_MsgType(self, MsgType): # Long + self.add_query_param('MsgType', MsgType) + def get_NoStorage(self): # Boolean + return self.get_query_params().get('NoStorage') + + def set_NoStorage(self, NoStorage): # Boolean + self.add_query_param('NoStorage', NoStorage) def get_GroupId(self): # String return self.get_query_params().get('GroupId') def set_GroupId(self, GroupId): # String self.add_query_param('GroupId', GroupId) - def get_SenderMetaInfo(self): # String - return self.get_query_params().get('SenderMetaInfo') + def get_Weight(self): # Long + return self.get_query_params().get('Weight') - def set_SenderMetaInfo(self, SenderMetaInfo): # String - self.add_query_param('SenderMetaInfo', SenderMetaInfo) + def set_Weight(self, Weight): # Long + self.add_query_param('Weight', Weight) def get_DataCenter(self): # String return self.get_query_params().get('DataCenter') @@ -52,11 +77,6 @@ def get_MsgTid(self): # String def set_MsgTid(self, MsgTid): # String self.add_query_param('MsgTid', MsgTid) - def get_Body(self): # String - return self.get_query_params().get('Body') - - def set_Body(self, Body): # String - self.add_query_param('Body', Body) def get_SenderId(self): # String return self.get_query_params().get('SenderId') @@ -67,8 +87,3 @@ def get_AppId(self): # String def set_AppId(self, AppId): # String self.add_query_param('AppId', AppId) - def get_MsgType(self): # Long - return self.get_query_params().get('MsgType') - - def set_MsgType(self, MsgType): # Long - self.add_query_param('MsgType', MsgType) diff --git a/aliyun-python-sdk-live/aliyunsdklive/request/v20161101/UpdateEventSubRequest.py b/aliyun-python-sdk-live/aliyunsdklive/request/v20161101/UpdateEventSubRequest.py new file mode 100644 index 0000000000..d7e6fde21a --- /dev/null +++ b/aliyun-python-sdk-live/aliyunsdklive/request/v20161101/UpdateEventSubRequest.py @@ -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 +from aliyunsdklive.endpoint import endpoint_data + +class UpdateEventSubRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'live', '2016-11-01', 'UpdateEventSub','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_SubscribeId(self): # String + return self.get_query_params().get('SubscribeId') + + def set_SubscribeId(self, SubscribeId): # String + self.add_query_param('SubscribeId', SubscribeId) + def get_Userss(self): # RepeatList + return self.get_query_params().get('Users') + + def set_Userss(self, Users): # RepeatList + for depth1 in range(len(Users)): + self.add_query_param('Users.' + str(depth1 + 1), Users[depth1]) + 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_CallbackUrl(self): # String + return self.get_query_params().get('CallbackUrl') + + def set_CallbackUrl(self, CallbackUrl): # String + self.add_query_param('CallbackUrl', CallbackUrl) + def get_ChannelId(self): # String + return self.get_query_params().get('ChannelId') + + def set_ChannelId(self, ChannelId): # String + self.add_query_param('ChannelId', ChannelId) + def get_Eventss(self): # RepeatList + return self.get_query_params().get('Events') + + def set_Eventss(self, Events): # RepeatList + for depth1 in range(len(Events)): + self.add_query_param('Events.' + str(depth1 + 1), Events[depth1])