Skip to content

Commit fe2a977

Browse files
committed
Generated 2025-02-28 for AIPodcast.
1 parent 2f1c149 commit fe2a977

File tree

11 files changed

+215
-0
lines changed

11 files changed

+215
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2025-04-02 Version: 1.0.0
2+
- Generated 2025-02-28 for `AIPodcast`.
3+

aliyun-python-sdk-aipodcast/LICENSE

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-aipodcast
3+
=============================================================
4+
5+
.. This is the aipodcast 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-aipodcast/aliyunsdkaipodcast/request/__init__.py

Whitespace-only changes.
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
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 RoaRequest
21+
22+
class PodcastTaskResultQueryRequest(RoaRequest):
23+
24+
def __init__(self):
25+
RoaRequest.__init__(self, 'AIPodcast', '2025-02-28', 'PodcastTaskResultQuery')
26+
self.set_protocol_type('https')
27+
self.set_uri_pattern('/podcast/task')
28+
self.set_method('POST')
29+
30+
def get_taskId(self): # String
31+
return self.get_body_params().get('taskId')
32+
33+
def set_taskId(self, taskId): # String
34+
self.add_body_params('taskId', taskId)
35+
def get_workspaceId(self): # String
36+
return self.get_body_params().get('workspaceId')
37+
38+
def set_workspaceId(self, workspaceId): # String
39+
self.add_body_params('workspaceId', workspaceId)
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
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 RoaRequest
21+
import json
22+
23+
class PodcastTaskSubmitRequest(RoaRequest):
24+
25+
def __init__(self):
26+
RoaRequest.__init__(self, 'AIPodcast', '2025-02-28', 'PodcastTaskSubmit')
27+
self.set_protocol_type('https')
28+
self.set_uri_pattern('/podcast/task/submit')
29+
self.set_method('POST')
30+
31+
def get_counts(self): # Integer
32+
return self.get_body_params().get('counts')
33+
34+
def set_counts(self, counts): # Integer
35+
self.add_body_params('counts', counts)
36+
def get_fileUrls(self): # Array
37+
return self.get_body_params().get('fileUrls')
38+
39+
def set_fileUrls(self, fileUrls): # Array
40+
self.add_body_params("fileUrls", json.dumps(fileUrls))
41+
def get_text(self): # String
42+
return self.get_body_params().get('text')
43+
44+
def set_text(self, text): # String
45+
self.add_body_params('text', text)
46+
def get_voices(self): # Array
47+
return self.get_body_params().get('voices')
48+
49+
def set_voices(self, voices): # Array
50+
self.add_body_params("voices", json.dumps(voices))
51+
def get_topic(self): # String
52+
return self.get_body_params().get('topic')
53+
54+
def set_topic(self, topic): # String
55+
self.add_body_params('topic', topic)
56+
def get_workspaceId(self): # String
57+
return self.get_body_params().get('workspaceId')
58+
59+
def set_workspaceId(self, workspaceId): # String
60+
self.add_body_params('workspaceId', workspaceId)

aliyun-python-sdk-aipodcast/aliyunsdkaipodcast/request/v20250228/__init__.py

Whitespace-only changes.

aliyun-python-sdk-aipodcast/setup.cfg

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)