Skip to content

Commit 08c17bf

Browse files
committed
Update Dyvmsapi SDK.
1 parent 63e7324 commit 08c17bf

File tree

3 files changed

+61
-1
lines changed

3 files changed

+61
-1
lines changed

aliyun-python-sdk-dyvmsapi/ChangeLog.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2021-08-20 Version: 3.1.1
2+
- Update Dyvmsapi SDK.
3+
- Add GetCallInfo.
4+
15
2021-07-30 Version: 3.1.0
26
- Update Dyvmsapi SDK.
37

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '3.1.0'
1+
__version__ = '3.1.1'
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
from aliyunsdkdyvmsapi.endpoint import endpoint_data
22+
23+
class GetCallInfoRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'Dyvmsapi', '2017-05-25', 'GetCallInfo','dyvms')
27+
self.set_method('POST')
28+
if hasattr(self, "endpoint_map"):
29+
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
30+
if hasattr(self, "endpoint_regional"):
31+
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
32+
33+
34+
def get_RtcId(self):
35+
return self.get_query_params().get('RtcId')
36+
37+
def set_RtcId(self,RtcId):
38+
self.add_query_param('RtcId',RtcId)
39+
40+
def get_ResourceOwnerId(self):
41+
return self.get_query_params().get('ResourceOwnerId')
42+
43+
def set_ResourceOwnerId(self,ResourceOwnerId):
44+
self.add_query_param('ResourceOwnerId',ResourceOwnerId)
45+
46+
def get_ResourceOwnerAccount(self):
47+
return self.get_query_params().get('ResourceOwnerAccount')
48+
49+
def set_ResourceOwnerAccount(self,ResourceOwnerAccount):
50+
self.add_query_param('ResourceOwnerAccount',ResourceOwnerAccount)
51+
52+
def get_OwnerId(self):
53+
return self.get_query_params().get('OwnerId')
54+
55+
def set_OwnerId(self,OwnerId):
56+
self.add_query_param('OwnerId',OwnerId)

0 commit comments

Comments
 (0)