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 fffd49b commit 643b69e
Show file tree
Hide file tree
Showing 11 changed files with 1,125 additions and 49 deletions.
4 changes: 4 additions & 0 deletions aliyun-java-sdk-vod/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2024-12-06 Version: 2.16.29
-Release GetJobDetail, ListJobInfo.
-Modify GetTranscodeTask.

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

Expand Down
2 changes: 1 addition & 1 deletion aliyun-java-sdk-vod/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>com.aliyun</groupId>
<artifactId>aliyun-java-sdk-vod</artifactId>
<packaging>jar</packaging>
<version>2.16.28</version>
<version>2.16.29</version>
<name>aliyun-java-sdk-vod</name>
<url>http://www.aliyun.com</url>
<description>Aliyun Open API SDK for Java
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
/*
* Licensed 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.
*/

package com.aliyuncs.vod.model.v20170321;

import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.vod.Endpoint;

/**
* @author auto create
* @version
*/
public class GetJobDetailRequest extends RpcAcsRequest<GetJobDetailResponse> {


private String jobType;

private String jobId;
public GetJobDetailRequest() {
super("vod", "2017-03-21", "GetJobDetail", "vod");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}

public String getJobType() {
return this.jobType;
}

public void setJobType(String jobType) {
this.jobType = jobType;
if(jobType != null){
putQueryParameter("JobType", jobType);
}
}

public String getJobId() {
return this.jobId;
}

public void setJobId(String jobId) {
this.jobId = jobId;
if(jobId != null){
putQueryParameter("JobId", jobId);
}
}

@Override
public Class<GetJobDetailResponse> getResponseClass() {
return GetJobDetailResponse.class;
}

}
Loading

0 comments on commit 643b69e

Please sign in to comment.