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 Jan 15, 2024
1 parent 97aea83 commit 3b3d819
Show file tree
Hide file tree
Showing 8 changed files with 243 additions and 1 deletion.
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-01-15 Version: 3.9.44
- Update to support new apis.

2023-12-26 Version: 3.9.43
- 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.43'
__version__ = '3.9.44'
Original file line number Diff line number Diff line change
@@ -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 DeleteLiveMessageGroupMessageRequest(RpcRequest):

def __init__(self):
RpcRequest.__init__(self, 'live', '2016-11-01', 'DeleteLiveMessageGroupMessage','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_GroupId(self): # String
return self.get_query_params().get('GroupId')

def set_GroupId(self, GroupId): # String
self.add_query_param('GroupId', GroupId)
def get_MessageId(self): # String
return self.get_query_params().get('MessageId')

def set_MessageId(self, MessageId): # String
self.add_query_param('MessageId', MessageId)
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_DeleterId(self): # String
return self.get_query_params().get('DeleterId')

def set_DeleterId(self, DeleterId): # String
self.add_query_param('DeleterId', DeleterId)
def get_DeleterInfo(self): # String
return self.get_query_params().get('DeleterInfo')

def set_DeleterInfo(self, DeleterInfo): # String
self.add_query_param('DeleterInfo', DeleterInfo)
Original file line number Diff line number Diff line change
@@ -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 DeleteLiveMessageUserMessageRequest(RpcRequest):

def __init__(self):
RpcRequest.__init__(self, 'live', '2016-11-01', 'DeleteLiveMessageUserMessage','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_MessageId(self): # String
return self.get_query_params().get('MessageId')

def set_MessageId(self, MessageId): # String
self.add_query_param('MessageId', MessageId)
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_ReceiverId(self): # String
return self.get_query_params().get('ReceiverId')

def set_ReceiverId(self, ReceiverId): # String
self.add_query_param('ReceiverId', ReceiverId)
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_DeleterId(self): # String
return self.get_query_params().get('DeleterId')

def set_DeleterId(self, DeleterId): # String
self.add_query_param('DeleterId', DeleterId)
def get_DeleterInfo(self): # String
return self.get_query_params().get('DeleterInfo')

def set_DeleterInfo(self, DeleterInfo): # String
self.add_query_param('DeleterInfo', DeleterInfo)
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# 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 MiguLivePullToPushStartRequest(RpcRequest):

def __init__(self):
RpcRequest.__init__(self, 'live', '2016-11-01', 'MiguLivePullToPushStart','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_MiguData(self): # String
return self.get_query_params().get('MiguData')

def set_MiguData(self, MiguData): # String
self.add_query_param('MiguData', MiguData)
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_OwnerId(self): # Long
return self.get_query_params().get('OwnerId')

def set_OwnerId(self, OwnerId): # Long
self.add_query_param('OwnerId', OwnerId)
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# 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 MiguLivePullToPushStatusRequest(RpcRequest):

def __init__(self):
RpcRequest.__init__(self, 'live', '2016-11-01', 'MiguLivePullToPushStatus','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_MiguData(self): # String
return self.get_query_params().get('MiguData')

def set_MiguData(self, MiguData): # String
self.add_query_param('MiguData', MiguData)
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_OwnerId(self): # Long
return self.get_query_params().get('OwnerId')

def set_OwnerId(self, OwnerId): # Long
self.add_query_param('OwnerId', OwnerId)
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ def get_Mode(self): # Integer

def set_Mode(self, Mode): # Integer
self.add_query_param('Mode', Mode)
def get_UserData(self): # String
return self.get_query_params().get('UserData')

def set_UserData(self, UserData): # String
self.add_query_param('UserData', UserData)
def get_AppName(self): # String
return self.get_query_params().get('AppName')

Expand All @@ -66,6 +71,11 @@ def get_Command(self): # String

def set_Command(self, Command): # String
self.add_query_param('Command', Command)
def get_SnapshotType(self): # Integer
return self.get_query_params().get('SnapshotType')

def set_SnapshotType(self, SnapshotType): # Integer
self.add_query_param('SnapshotType', SnapshotType)
def get_Interval(self): # Integer
return self.get_query_params().get('Interval')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ def get_StaticsIncrease(self): # Long

def set_StaticsIncrease(self, StaticsIncrease): # Long
self.add_query_param('StaticsIncrease', StaticsIncrease)
def get_NoCache(self): # Boolean
return self.get_query_params().get('NoCache')

def set_NoCache(self, NoCache): # Boolean
self.add_query_param('NoCache', NoCache)
def get_MsgType(self): # Long
return self.get_query_params().get('MsgType')

Expand Down

0 comments on commit 3b3d819

Please sign in to comment.