Skip to content

Commit 7fd8267

Browse files
committed
Supported new features etc.
1 parent c12f9fc commit 7fd8267

15 files changed

+296
-7
lines changed

aliyun-python-sdk-voicenavigator/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2021-11-25 Version: 1.1.2
2+
- Supported new features etc.
3+
14
2020-12-02 Version: 1.1.1
25
- Update version.
36

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

aliyun-python-sdk-voicenavigator/aliyunsdkvoicenavigator/request/v20180612/BeginDialogueRequest.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,10 @@ def get_CalledNumber(self):
5959
return self.get_query_params().get('CalledNumber')
6060

6161
def set_CalledNumber(self,CalledNumber):
62-
self.add_query_param('CalledNumber',CalledNumber)
62+
self.add_query_param('CalledNumber',CalledNumber)
63+
64+
def get_InstanceOwnerId(self):
65+
return self.get_query_params().get('InstanceOwnerId')
66+
67+
def set_InstanceOwnerId(self,InstanceOwnerId):
68+
self.add_query_param('InstanceOwnerId',InstanceOwnerId)

aliyun-python-sdk-voicenavigator/aliyunsdkvoicenavigator/request/v20180612/CollectedNumberRequest.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,10 @@ def get_InstanceId(self):
4747
return self.get_query_params().get('InstanceId')
4848

4949
def set_InstanceId(self,InstanceId):
50-
self.add_query_param('InstanceId',InstanceId)
50+
self.add_query_param('InstanceId',InstanceId)
51+
52+
def get_InstanceOwnerId(self):
53+
return self.get_query_params().get('InstanceOwnerId')
54+
55+
def set_InstanceOwnerId(self,InstanceOwnerId):
56+
self.add_query_param('InstanceOwnerId',InstanceOwnerId)
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
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 aliyunsdkvoicenavigator.endpoint import endpoint_data
22+
23+
class CreateDownloadUrlRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'VoiceNavigator', '2018-06-12', 'CreateDownloadUrl','voicebot')
27+
self.set_method('GET')
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_DownloadTaskId(self):
35+
return self.get_query_params().get('DownloadTaskId')
36+
37+
def set_DownloadTaskId(self,DownloadTaskId):
38+
self.add_query_param('DownloadTaskId',DownloadTaskId)
39+
40+
def get_FileId(self):
41+
return self.get_query_params().get('FileId')
42+
43+
def set_FileId(self,FileId):
44+
self.add_query_param('FileId',FileId)
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
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 aliyunsdkvoicenavigator.endpoint import endpoint_data
22+
23+
class DescribeAsrVadConfigRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'VoiceNavigator', '2018-06-12', 'DescribeAsrVadConfig','voicebot')
27+
self.set_method('GET')
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_InstanceId(self):
35+
return self.get_query_params().get('InstanceId')
36+
37+
def set_InstanceId(self,InstanceId):
38+
self.add_query_param('InstanceId',InstanceId)

aliyun-python-sdk-voicenavigator/aliyunsdkvoicenavigator/request/v20180612/DescribeTTSConfigRequest.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,10 @@ def get_InstanceId(self):
3535
return self.get_query_params().get('InstanceId')
3636

3737
def set_InstanceId(self,InstanceId):
38-
self.add_query_param('InstanceId',InstanceId)
38+
self.add_query_param('InstanceId',InstanceId)
39+
40+
def get_InstanceOwnerId(self):
41+
return self.get_query_params().get('InstanceOwnerId')
42+
43+
def set_InstanceOwnerId(self,InstanceOwnerId):
44+
self.add_query_param('InstanceOwnerId',InstanceOwnerId)
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
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 aliyunsdkvoicenavigator.endpoint import endpoint_data
22+
23+
class DescribeVoiceConfigRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'VoiceNavigator', '2018-06-12', 'DescribeVoiceConfig','voicebot')
27+
self.set_method('GET')
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_InstanceId(self):
35+
return self.get_query_params().get('InstanceId')
36+
37+
def set_InstanceId(self,InstanceId):
38+
self.add_query_param('InstanceId',InstanceId)
39+
40+
def get_InstanceOwnerId(self):
41+
return self.get_query_params().get('InstanceOwnerId')
42+
43+
def set_InstanceOwnerId(self,InstanceOwnerId):
44+
self.add_query_param('InstanceOwnerId',InstanceOwnerId)

aliyun-python-sdk-voicenavigator/aliyunsdkvoicenavigator/request/v20180612/DialogueRequest.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,12 @@ def get_AdditionalContext(self):
6161
def set_AdditionalContext(self,AdditionalContext):
6262
self.add_query_param('AdditionalContext',AdditionalContext)
6363

64+
def get_InstanceOwnerId(self):
65+
return self.get_query_params().get('InstanceOwnerId')
66+
67+
def set_InstanceOwnerId(self,InstanceOwnerId):
68+
self.add_query_param('InstanceOwnerId',InstanceOwnerId)
69+
6470
def get_Utterance(self):
6571
return self.get_query_params().get('Utterance')
6672

aliyun-python-sdk-voicenavigator/aliyunsdkvoicenavigator/request/v20180612/EndDialogueRequest.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,10 @@ def get_InstanceId(self):
4141
return self.get_query_params().get('InstanceId')
4242

4343
def set_InstanceId(self,InstanceId):
44-
self.add_query_param('InstanceId',InstanceId)
44+
self.add_query_param('InstanceId',InstanceId)
45+
46+
def get_InstanceOwnerId(self):
47+
return self.get_query_params().get('InstanceOwnerId')
48+
49+
def set_InstanceOwnerId(self,InstanceOwnerId):
50+
self.add_query_param('InstanceOwnerId',InstanceOwnerId)

0 commit comments

Comments
 (0)