Skip to content

Commit a37c8ee

Browse files
Merge pull request #136 from jdcloud-apigateway/master
publish jdcloud-sdk-python 1.6.106
2 parents 26b6957 + 63b4f4f commit a37c8ee

25 files changed

Lines changed: 871 additions & 3 deletions

jdcloud_sdk/services/vod/ChangeLog.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
# 更新历史 #
2-
API版本:1.1.12
2+
API版本:1.2.0
33

44

55
|发布时间|版本号|更新|说明|
66
|---|---|---|---|
7+
|2021-06-30|1.2.0|视频剪辑功能支持|
78
|2021-05-26|1.1.12|转码模板组接口说明补充|
89
|2021-03-04|1.1.11|转码模板组接口相关|
910
|2021-02-25|1.1.10|分组、打包转码支持|* 增加分组转码、打包转码支持|
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
# coding=utf8
2+
3+
# Copyright 2018 JDCLOUD.COM
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
# NOTE: This class is auto generated by the jdcloud code generator program.
18+
19+
from jdcloud_sdk.core.jdcloudrequest import JDCloudRequest
20+
21+
22+
class CreateVeditJobRequest(JDCloudRequest):
23+
"""
24+
创建视频剪辑作业
25+
26+
"""
27+
28+
def __init__(self, parameters, header=None, version="v1"):
29+
super(CreateVeditJobRequest, self).__init__(
30+
'/veditJobs', 'POST', header, version)
31+
self.parameters = parameters
32+
33+
34+
class CreateVeditJobParameters(object):
35+
36+
def __init__(self, ):
37+
"""
38+
"""
39+
40+
self.projectName = None
41+
self.description = None
42+
self.timeline = None
43+
self.mediaMetadata = None
44+
self.userData = None
45+
46+
def setProjectName(self, projectName):
47+
"""
48+
:param projectName: (Optional) 工程名称
49+
"""
50+
self.projectName = projectName
51+
52+
def setDescription(self, description):
53+
"""
54+
:param description: (Optional) 工程描述
55+
"""
56+
self.description = description
57+
58+
def setTimeline(self, timeline):
59+
"""
60+
:param timeline: (Optional) 时间线信息
61+
"""
62+
self.timeline = timeline
63+
64+
def setMediaMetadata(self, mediaMetadata):
65+
"""
66+
:param mediaMetadata: (Optional) 剪辑合成媒资元数据
67+
"""
68+
self.mediaMetadata = mediaMetadata
69+
70+
def setUserData(self, userData):
71+
"""
72+
:param userData: (Optional) 用户数据,JSON格式的字符串
73+
"""
74+
self.userData = userData
75+
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# coding=utf8
2+
3+
# Copyright 2018 JDCLOUD.COM
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
# NOTE: This class is auto generated by the jdcloud code generator program.
18+
19+
from jdcloud_sdk.core.jdcloudrequest import JDCloudRequest
20+
21+
22+
class CreateVeditProjectRequest(JDCloudRequest):
23+
"""
24+
创建视频剪辑工程
25+
"""
26+
27+
def __init__(self, parameters, header=None, version="v1"):
28+
super(CreateVeditProjectRequest, self).__init__(
29+
'/veditProjects', 'POST', header, version)
30+
self.parameters = parameters
31+
32+
33+
class CreateVeditProjectParameters(object):
34+
35+
def __init__(self, ):
36+
"""
37+
"""
38+
39+
self.projectName = None
40+
self.description = None
41+
self.timeline = None
42+
43+
def setProjectName(self, projectName):
44+
"""
45+
:param projectName: (Optional) 工程名称
46+
"""
47+
self.projectName = projectName
48+
49+
def setDescription(self, description):
50+
"""
51+
:param description: (Optional) 工程描述
52+
"""
53+
self.description = description
54+
55+
def setTimeline(self, timeline):
56+
"""
57+
:param timeline: (Optional) 时间线信息
58+
"""
59+
self.timeline = timeline
60+
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# coding=utf8
2+
3+
# Copyright 2018 JDCLOUD.COM
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
# NOTE: This class is auto generated by the jdcloud code generator program.
18+
19+
from jdcloud_sdk.core.jdcloudrequest import JDCloudRequest
20+
21+
22+
class DeleteVeditProjectRequest(JDCloudRequest):
23+
"""
24+
删除视频剪辑工程
25+
"""
26+
27+
def __init__(self, parameters, header=None, version="v1"):
28+
super(DeleteVeditProjectRequest, self).__init__(
29+
'/veditProjects/{projectId}', 'DELETE', header, version)
30+
self.parameters = parameters
31+
32+
33+
class DeleteVeditProjectParameters(object):
34+
35+
def __init__(self, projectId, ):
36+
"""
37+
:param projectId: 视频剪辑工程ID
38+
"""
39+
40+
self.projectId = projectId
41+
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# coding=utf8
2+
3+
# Copyright 2018 JDCLOUD.COM
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
# NOTE: This class is auto generated by the jdcloud code generator program.
18+
19+
from jdcloud_sdk.core.jdcloudrequest import JDCloudRequest
20+
21+
22+
class GetVeditProjectRequest(JDCloudRequest):
23+
"""
24+
查询视频剪辑工程详情
25+
"""
26+
27+
def __init__(self, parameters, header=None, version="v1"):
28+
super(GetVeditProjectRequest, self).__init__(
29+
'/veditProjects/{projectId}', 'GET', header, version)
30+
self.parameters = parameters
31+
32+
33+
class GetVeditProjectParameters(object):
34+
35+
def __init__(self, projectId, ):
36+
"""
37+
:param projectId: 视频剪辑工程ID
38+
"""
39+
40+
self.projectId = projectId
41+
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
# coding=utf8
2+
3+
# Copyright 2018 JDCLOUD.COM
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
# NOTE: This class is auto generated by the jdcloud code generator program.
18+
19+
from jdcloud_sdk.core.jdcloudrequest import JDCloudRequest
20+
21+
22+
class ListVeditProjectsRequest(JDCloudRequest):
23+
"""
24+
查询视频剪辑工程列表。
25+
允许通过条件过滤查询,支持的过滤字段如下:
26+
- projectId[eq] 按照工程ID精确查询
27+
28+
"""
29+
30+
def __init__(self, parameters, header=None, version="v1"):
31+
super(ListVeditProjectsRequest, self).__init__(
32+
'/veditProjects', 'GET', header, version)
33+
self.parameters = parameters
34+
35+
36+
class ListVeditProjectsParameters(object):
37+
38+
def __init__(self, ):
39+
"""
40+
"""
41+
42+
self.pageNumber = None
43+
self.pageSize = None
44+
self.filters = None
45+
46+
def setPageNumber(self, pageNumber):
47+
"""
48+
:param pageNumber: (Optional) 页码;默认值为 1
49+
"""
50+
self.pageNumber = pageNumber
51+
52+
def setPageSize(self, pageSize):
53+
"""
54+
:param pageSize: (Optional) 分页大小;默认值为 10;取值范围 [10, 100]
55+
"""
56+
self.pageSize = pageSize
57+
58+
def setFilters(self, filters):
59+
"""
60+
:param filters: (Optional)
61+
"""
62+
self.filters = filters
63+
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# coding=utf8
2+
3+
# Copyright 2018 JDCLOUD.COM
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
# NOTE: This class is auto generated by the jdcloud code generator program.
18+
19+
from jdcloud_sdk.core.jdcloudrequest import JDCloudRequest
20+
21+
22+
class SubmitVeditJobRequest(JDCloudRequest):
23+
"""
24+
提交视频剪辑作业
25+
"""
26+
27+
def __init__(self, parameters, header=None, version="v1"):
28+
super(SubmitVeditJobRequest, self).__init__(
29+
'/veditJobs:submit', 'POST', header, version)
30+
self.parameters = parameters
31+
32+
33+
class SubmitVeditJobParameters(object):
34+
35+
def __init__(self, ):
36+
"""
37+
"""
38+
39+
self.projectId = None
40+
self.mediaMetadata = None
41+
self.userData = None
42+
43+
def setProjectId(self, projectId):
44+
"""
45+
:param projectId: (Optional) 工程ID
46+
"""
47+
self.projectId = projectId
48+
49+
def setMediaMetadata(self, mediaMetadata):
50+
"""
51+
:param mediaMetadata: (Optional) 合成媒资元数据
52+
"""
53+
self.mediaMetadata = mediaMetadata
54+
55+
def setUserData(self, userData):
56+
"""
57+
:param userData: (Optional) 用户数据,JSON格式字符串
58+
"""
59+
self.userData = userData
60+

0 commit comments

Comments
 (0)