Skip to content

Commit

Permalink
-Release GetJobDetail, ListJobInfo.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Dec 6, 2024
1 parent 2ea798f commit 2caecfb
Show file tree
Hide file tree
Showing 5 changed files with 96 additions and 1 deletion.
4 changes: 4 additions & 0 deletions aliyun-python-sdk-vod/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2024-12-06 Version: 2.16.28
-Release GetJobDetail, ListJobInfo.
-Modify GetTranscodeTask.

2024-11-28 Version: 2.16.27
- SubmitTranscodeJobs Add SessionId.

Expand Down
2 changes: 1 addition & 1 deletion aliyun-python-sdk-vod/aliyunsdkvod/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '2.16.27'
__version__ = '2.16.28'
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
#
# http://www.apache.org/licenses/LICENSE-2.0
#
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

from aliyunsdkcore.request import RpcRequest
from aliyunsdkvod.endpoint import endpoint_data

class GetJobDetailRequest(RpcRequest):

def __init__(self):
RpcRequest.__init__(self, 'vod', '2017-03-21', 'GetJobDetail','vod')
self.set_method('POST')

if hasattr(self, "endpoint_map"):
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
if hasattr(self, "endpoint_regional"):
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())

def get_JobType(self): # String
return self.get_query_params().get('JobType')

def set_JobType(self, JobType): # String
self.add_query_param('JobType', JobType)
def get_JobId(self): # String
return self.get_query_params().get('JobId')

def set_JobId(self, JobId): # String
self.add_query_param('JobId', JobId)
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,8 @@ def get_TranscodeTaskId(self): # String

def set_TranscodeTaskId(self, TranscodeTaskId): # String
self.add_query_param('TranscodeTaskId', TranscodeTaskId)
def get_JobIds(self): # String
return self.get_query_params().get('JobIds')

def set_JobIds(self, JobIds): # String
self.add_query_param('JobIds', JobIds)
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
#
# http://www.apache.org/licenses/LICENSE-2.0
#
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

from aliyunsdkcore.request import RpcRequest
from aliyunsdkvod.endpoint import endpoint_data

class ListJobInfoRequest(RpcRequest):

def __init__(self):
RpcRequest.__init__(self, 'vod', '2017-03-21', 'ListJobInfo','vod')
self.set_method('POST')

if hasattr(self, "endpoint_map"):
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
if hasattr(self, "endpoint_regional"):
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())

def get_MediaId(self): # String
return self.get_query_params().get('MediaId')

def set_MediaId(self, MediaId): # String
self.add_query_param('MediaId', MediaId)
def get_JobType(self): # String
return self.get_query_params().get('JobType')

def set_JobType(self, JobType): # String
self.add_query_param('JobType', JobType)

0 comments on commit 2caecfb

Please sign in to comment.