Skip to content

Commit 35a5e49

Browse files
committed
VOD SDK Auto Released By guzhaoyuan,Version:2.15.2
发布日志: 1, Add some new apis to manage VoD's App, such as CreateAppInfo, GetAppInfos, ListAppInfos, UpdateAppInfo, DeleteAppInfo, AttachAppPolicyToIdentity, DetachAppPolicyFromIdentity, ListAppPoliciesForIdentity and MoveAppResource. 2, Add new apis SetMessageCallback, GetMessageCallback and DeleteMessageCallback to manage message callback configuration. 3, Add new apis GetAttachedMedia, UpdateAttachedMediaInfos and DeleteAttachedMedia to manage attached media information. 4, Add a new api named DeleteMultipartUpload to clean up the fragmented files generated during the upload process. 5, Add a new field named AppId to some apis supporting the VoD App feature, such as CreateUploadVideo, SearchMedia, GetVideoInfo, GetVideoInfos; Add new fields named NonExistVideoIds and ForbiddenVideoIds to DeleteVideo api response; Add a new field named ForbiddenVideoIds to UpdateVideoInfos api response. 6, The Editing supports multi-region and multi-materials. Add new fields named StorageLocation and RegionId in Project struct to GetEditingProject api response; Add new fields named StorageLocation, RegionId and Duration in ProjectList struct to SearchEditingProject api response; Add a new field named MaterialType to GetEditingProjectMaterials api request. 7, Add new fields named TranscodeFileRegular, Clip and Rotate to GetTranscodeTemplateGroup api response to support the custom file path feature. 8, Add a new field named AttachedMedia to api response to support the attached media feature. 9, Add a new field named SubTotal to GetCategories response to show the number of sub category. 10, Add a new field named AdditionType to GetVideoInfo and GetVideoInfos api request to fetch the custom media info and the corresponding field is CustomMediaInfo.
1 parent 84b14f7 commit 35a5e49

28 files changed

+1114
-4
lines changed

aliyun-python-sdk-vod/ChangeLog.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
2019-04-11 Version: 2.15.2
2+
1, Add some new apis to manage VoD's App, such as CreateAppInfo, GetAppInfos, ListAppInfos, UpdateAppInfo, DeleteAppInfo, AttachAppPolicyToIdentity, DetachAppPolicyFromIdentity, ListAppPoliciesForIdentity and MoveAppResource.
3+
2, Add new apis SetMessageCallback, GetMessageCallback and DeleteMessageCallback to manage message callback configuration.
4+
3, Add new apis GetAttachedMedia, UpdateAttachedMediaInfos and DeleteAttachedMedia to manage attached media information.
5+
4, Add a new api named DeleteMultipartUpload to clean up the fragmented files generated during the upload process.
6+
5, Add a new field named AppId to some apis supporting the VoD App feature, such as CreateUploadVideo, SearchMedia, GetVideoInfo, GetVideoInfos; Add new fields named NonExistVideoIds and ForbiddenVideoIds to DeleteVideo api response; Add a new field named ForbiddenVideoIds to UpdateVideoInfos api response.
7+
6, The Editing supports multi-region and multi-materials. Add new fields named StorageLocation and RegionId in Project struct to GetEditingProject api response; Add new fields named StorageLocation, RegionId and Duration in ProjectList struct to SearchEditingProject api response; Add a new field named MaterialType to GetEditingProjectMaterials api request.
8+
7, Add new fields named TranscodeFileRegular, Clip and Rotate to GetTranscodeTemplateGroup api response to support the custom file path feature.
9+
8, Add a new field named AttachedMedia to api response to support the attached media feature.
10+
9, Add a new field named SubTotal to GetCategories response to show the number of sub category.
11+
10, Add a new field named AdditionType to GetVideoInfo and GetVideoInfos api request to fetch the custom media info and the corresponding field is CustomMediaInfo.
12+
113
2019-02-28 Version: 2.15.1
214
1, Add new apis named ListTranscodeTask, GetTranscodeTask, GetTranscodeSummary.
315
2, Add the new field named TranscodeTemplateIds and ForceDelGroup to DeleteTranscodeTemplateGroup api request, and add a new field named NonExistTranscodeTemplateIds to the api response.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "2.15.1"
1+
__version__ = "2.15.2"

aliyun-python-sdk-vod/aliyunsdkvod/request/v20170321/AddCategoryRequest.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,12 @@ def get_OwnerId(self):
4141
def set_OwnerId(self,OwnerId):
4242
self.add_query_param('OwnerId',OwnerId)
4343

44+
def get_Type(self):
45+
return self.get_query_params().get('Type')
46+
47+
def set_Type(self,Type):
48+
self.add_query_param('Type',Type)
49+
4450
def get_ParentId(self):
4551
return self.get_query_params().get('ParentId')
4652

aliyun-python-sdk-vod/aliyunsdkvod/request/v20170321/AddEditingProjectRequest.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@ def get_CoverURL(self):
2929
def set_CoverURL(self,CoverURL):
3030
self.add_query_param('CoverURL',CoverURL)
3131

32+
def get_Division(self):
33+
return self.get_query_params().get('Division')
34+
35+
def set_Division(self,Division):
36+
self.add_query_param('Division',Division)
37+
3238
def get_ResourceOwnerId(self):
3339
return self.get_query_params().get('ResourceOwnerId')
3440

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
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+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
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+
class AttachAppPolicyToIdentityRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'vod', '2017-03-21', 'AttachAppPolicyToIdentity','vod')
25+
26+
def get_IdentityName(self):
27+
return self.get_query_params().get('IdentityName')
28+
29+
def set_IdentityName(self,IdentityName):
30+
self.add_query_param('IdentityName',IdentityName)
31+
32+
def get_ResourceOwnerId(self):
33+
return self.get_query_params().get('ResourceOwnerId')
34+
35+
def set_ResourceOwnerId(self,ResourceOwnerId):
36+
self.add_query_param('ResourceOwnerId',ResourceOwnerId)
37+
38+
def get_IdentityType(self):
39+
return self.get_query_params().get('IdentityType')
40+
41+
def set_IdentityType(self,IdentityType):
42+
self.add_query_param('IdentityType',IdentityType)
43+
44+
def get_ResourceOwnerAccount(self):
45+
return self.get_query_params().get('ResourceOwnerAccount')
46+
47+
def set_ResourceOwnerAccount(self,ResourceOwnerAccount):
48+
self.add_query_param('ResourceOwnerAccount',ResourceOwnerAccount)
49+
50+
def get_AppId(self):
51+
return self.get_query_params().get('AppId')
52+
53+
def set_AppId(self,AppId):
54+
self.add_query_param('AppId',AppId)
55+
56+
def get_PolicyNames(self):
57+
return self.get_query_params().get('PolicyNames')
58+
59+
def set_PolicyNames(self,PolicyNames):
60+
self.add_query_param('PolicyNames',PolicyNames)
61+
62+
def get_OwnerId(self):
63+
return self.get_query_params().get('OwnerId')
64+
65+
def set_OwnerId(self,OwnerId):
66+
self.add_query_param('OwnerId',OwnerId)
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+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
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+
class CreateAppInfoRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'vod', '2017-03-21', 'CreateAppInfo','vod')
25+
26+
def get_ResourceOwnerId(self):
27+
return self.get_query_params().get('ResourceOwnerId')
28+
29+
def set_ResourceOwnerId(self,ResourceOwnerId):
30+
self.add_query_param('ResourceOwnerId',ResourceOwnerId)
31+
32+
def get_AppName(self):
33+
return self.get_query_params().get('AppName')
34+
35+
def set_AppName(self,AppName):
36+
self.add_query_param('AppName',AppName)
37+
38+
def get_ResourceOwnerAccount(self):
39+
return self.get_query_params().get('ResourceOwnerAccount')
40+
41+
def set_ResourceOwnerAccount(self,ResourceOwnerAccount):
42+
self.add_query_param('ResourceOwnerAccount',ResourceOwnerAccount)
43+
44+
def get_Description(self):
45+
return self.get_query_params().get('Description')
46+
47+
def set_Description(self,Description):
48+
self.add_query_param('Description',Description)
49+
50+
def get_ResourceRealOwnerId(self):
51+
return self.get_query_params().get('ResourceRealOwnerId')
52+
53+
def set_ResourceRealOwnerId(self,ResourceRealOwnerId):
54+
self.add_query_param('ResourceRealOwnerId',ResourceRealOwnerId)
55+
56+
def get_OwnerId(self):
57+
return self.get_query_params().get('OwnerId')
58+
59+
def set_OwnerId(self,OwnerId):
60+
self.add_query_param('OwnerId',OwnerId)

aliyun-python-sdk-vod/aliyunsdkvod/request/v20170321/CreateUploadAttachedMediaRequest.py

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,18 @@ def get_ResourceOwnerAccount(self):
3535
def set_ResourceOwnerAccount(self,ResourceOwnerAccount):
3636
self.add_query_param('ResourceOwnerAccount',ResourceOwnerAccount)
3737

38+
def get_CateIds(self):
39+
return self.get_query_params().get('CateIds')
40+
41+
def set_CateIds(self,CateIds):
42+
self.add_query_param('CateIds',CateIds)
43+
44+
def get_Icon(self):
45+
return self.get_query_params().get('Icon')
46+
47+
def set_Icon(self,Icon):
48+
self.add_query_param('Icon',Icon)
49+
3850
def get_Description(self):
3951
return self.get_query_params().get('Description')
4052

@@ -99,4 +111,10 @@ def get_CateId(self):
99111
return self.get_query_params().get('CateId')
100112

101113
def set_CateId(self,CateId):
102-
self.add_query_param('CateId',CateId)
114+
self.add_query_param('CateId',CateId)
115+
116+
def get_AppId(self):
117+
return self.get_query_params().get('AppId')
118+
119+
def set_AppId(self,AppId):
120+
self.add_query_param('AppId',AppId)

aliyun-python-sdk-vod/aliyunsdkvod/request/v20170321/CreateUploadImageRequest.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,4 +93,10 @@ def get_CateId(self):
9393
return self.get_query_params().get('CateId')
9494

9595
def set_CateId(self,CateId):
96-
self.add_query_param('CateId',CateId)
96+
self.add_query_param('CateId',CateId)
97+
98+
def get_AppId(self):
99+
return self.get_query_params().get('AppId')
100+
101+
def set_AppId(self,AppId):
102+
self.add_query_param('AppId',AppId)

aliyun-python-sdk-vod/aliyunsdkvod/request/v20170321/CreateUploadVideoRequest.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,12 @@ def get_CateId(self):
113113
def set_CateId(self,CateId):
114114
self.add_query_param('CateId',CateId)
115115

116+
def get_AppId(self):
117+
return self.get_query_params().get('AppId')
118+
119+
def set_AppId(self,AppId):
120+
self.add_query_param('AppId',AppId)
121+
116122
def get_WorkflowId(self):
117123
return self.get_query_params().get('WorkflowId')
118124

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
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+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
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+
class DeleteAppInfoRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'vod', '2017-03-21', 'DeleteAppInfo','vod')
25+
26+
def get_ResourceOwnerId(self):
27+
return self.get_query_params().get('ResourceOwnerId')
28+
29+
def set_ResourceOwnerId(self,ResourceOwnerId):
30+
self.add_query_param('ResourceOwnerId',ResourceOwnerId)
31+
32+
def get_ResourceOwnerAccount(self):
33+
return self.get_query_params().get('ResourceOwnerAccount')
34+
35+
def set_ResourceOwnerAccount(self,ResourceOwnerAccount):
36+
self.add_query_param('ResourceOwnerAccount',ResourceOwnerAccount)
37+
38+
def get_AppId(self):
39+
return self.get_query_params().get('AppId')
40+
41+
def set_AppId(self,AppId):
42+
self.add_query_param('AppId',AppId)
43+
44+
def get_ResourceRealOwnerId(self):
45+
return self.get_query_params().get('ResourceRealOwnerId')
46+
47+
def set_ResourceRealOwnerId(self,ResourceRealOwnerId):
48+
self.add_query_param('ResourceRealOwnerId',ResourceRealOwnerId)
49+
50+
def get_OwnerId(self):
51+
return self.get_query_params().get('OwnerId')
52+
53+
def set_OwnerId(self,OwnerId):
54+
self.add_query_param('OwnerId',OwnerId)

0 commit comments

Comments
 (0)