Skip to content

Commit 309a47b

Browse files
committed
Init.
1 parent 023cf12 commit 309a47b

File tree

11 files changed

+227
-0
lines changed

11 files changed

+227
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2024-10-22 Version: 1.0.0
2+
- Init.
3+
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Copyright 1999-present Alibaba Group Holding Ltd.
2+
3+
Licensed under the Apache License, Version 2.0 (the "License");
4+
you may not use this file except in compliance with the License.
5+
You may obtain a copy of the License at
6+
7+
http://www.apache.org/licenses/LICENSE-2.0
8+
9+
Unless required by applicable law or agreed to in writing, software
10+
distributed under the License is distributed on an "AS IS" BASIS,
11+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
See the License for the specific language governing permissions and
13+
limitations under the License.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
include LICENSE README.rst ChangeLog.txt
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
=============================================================
2+
aliyun-python-sdk-eduinterpreting
3+
=============================================================
4+
5+
.. This is the eduinterpreting module of Aliyun Python SDK.
6+
7+
Aliyun Python SDK is the official software development kit. It makes things easy to integrate your Python application, library, or script with Aliyun services.
8+
9+
This module works on Python versions:
10+
11+
3.7 and greater
12+
13+
**Documentation:**
14+
15+
Please visit `http://develop.aliyun.com/sdk/python <http://develop.aliyun.com/sdk/python>`_
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__version__ = '1.0.0'

aliyun-python-sdk-eduinterpreting/aliyunsdkeduinterpreting/request/__init__.py

Whitespace-only changes.
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
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+
22+
class RecognizeAudioRequest(RpcRequest):
23+
24+
def __init__(self):
25+
RpcRequest.__init__(self, 'EduInterpreting', '2024-08-28', 'RecognizeAudio')
26+
self.set_protocol_type('https')
27+
self.set_method('POST')
28+
29+
def get_OuterBizId(self): # String
30+
return self.get_body_params().get('OuterBizId')
31+
32+
def set_OuterBizId(self, OuterBizId): # String
33+
self.add_body_params('OuterBizId', OuterBizId)
34+
def get_EnableCallBack(self): # Boolean
35+
return self.get_query_params().get('EnableCallBack')
36+
37+
def set_EnableCallBack(self, EnableCallBack): # Boolean
38+
self.add_query_param('EnableCallBack', EnableCallBack)
39+
def get_CallbackUrl(self): # String
40+
return self.get_body_params().get('CallbackUrl')
41+
42+
def set_CallbackUrl(self, CallbackUrl): # String
43+
self.add_body_params('CallbackUrl', CallbackUrl)
44+
def get_AudioFileUrl(self): # String
45+
return self.get_body_params().get('AudioFileUrl')
46+
47+
def set_AudioFileUrl(self, AudioFileUrl): # String
48+
self.add_body_params('AudioFileUrl', AudioFileUrl)
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
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+
22+
class SubmitEvaluationTaskRequest(RpcRequest):
23+
24+
def __init__(self):
25+
RpcRequest.__init__(self, 'EduInterpreting', '2024-08-28', 'SubmitEvaluationTask')
26+
self.set_protocol_type('https')
27+
self.set_method('POST')
28+
29+
def get_MaterialText(self): # String
30+
return self.get_body_params().get('MaterialText')
31+
32+
def set_MaterialText(self, MaterialText): # String
33+
self.add_body_params('MaterialText', MaterialText)
34+
def get_SuggestedAnswer(self): # String
35+
return self.get_body_params().get('SuggestedAnswer')
36+
37+
def set_SuggestedAnswer(self, SuggestedAnswer): # String
38+
self.add_body_params('SuggestedAnswer', SuggestedAnswer)
39+
def get_OuterBizId(self): # String
40+
return self.get_body_params().get('OuterBizId')
41+
42+
def set_OuterBizId(self, OuterBizId): # String
43+
self.add_body_params('OuterBizId', OuterBizId)
44+
def get_Type(self): # String
45+
return self.get_body_params().get('Type')
46+
47+
def set_Type(self, Type): # String
48+
self.add_body_params('Type', Type)
49+
def get_AudioUrl(self): # String
50+
return self.get_body_params().get('AudioUrl')
51+
52+
def set_AudioUrl(self, AudioUrl): # String
53+
self.add_body_params('AudioUrl', AudioUrl)
54+
def get_Text(self): # String
55+
return self.get_body_params().get('Text')
56+
57+
def set_Text(self, Text): # String
58+
self.add_body_params('Text', Text)
59+
def get_CallbackUrl(self): # String
60+
return self.get_body_params().get('CallbackUrl')
61+
62+
def set_CallbackUrl(self, CallbackUrl): # String
63+
self.add_body_params('CallbackUrl', CallbackUrl)

aliyun-python-sdk-eduinterpreting/aliyunsdkeduinterpreting/request/v20240828/__init__.py

Whitespace-only changes.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[metadata]
2+
license_file = LICENSE
3+
4+
[bdist_wheel]
5+
universal = 1

0 commit comments

Comments
 (0)