From ccba0f5ccc00fd06c567c833b3e714cc227f72fb Mon Sep 17 00:00:00 2001 From: sdk-team Date: Thu, 28 Nov 2024 12:43:57 +0000 Subject: [PATCH] SubmitTranscodeJobs Add SessionId. --- aliyun-java-sdk-vod/ChangeLog.txt | 3 +++ aliyun-java-sdk-vod/pom.xml | 2 +- .../vod/model/v20170321/GetVideoInfoResponse.java | 10 ++++++++++ .../vod/model/v20170321/GetVideoInfosResponse.java | 10 ++++++++++ .../model/v20170321/SubmitTranscodeJobsRequest.java | 13 +++++++++++++ .../vod/model/v20170321/UpdateVideoInfoRequest.java | 13 +++++++++++++ .../v20170321/GetVideoInfoResponseUnmarshaller.java | 1 + .../GetVideoInfosResponseUnmarshaller.java | 1 + 8 files changed, 52 insertions(+), 1 deletion(-) diff --git a/aliyun-java-sdk-vod/ChangeLog.txt b/aliyun-java-sdk-vod/ChangeLog.txt index 632436d540..f7c40a3506 100644 --- a/aliyun-java-sdk-vod/ChangeLog.txt +++ b/aliyun-java-sdk-vod/ChangeLog.txt @@ -1,3 +1,6 @@ +2024-11-28 Version: 2.16.28 +- SubmitTranscodeJobs Add SessionId. + 2024-10-11 Version: 2.16.27 - GetPlayInfo Add EncryptMode. diff --git a/aliyun-java-sdk-vod/pom.xml b/aliyun-java-sdk-vod/pom.xml index 6a092f9e05..2a5c8512d2 100644 --- a/aliyun-java-sdk-vod/pom.xml +++ b/aliyun-java-sdk-vod/pom.xml @@ -4,7 +4,7 @@ com.aliyun aliyun-java-sdk-vod jar - 2.16.27 + 2.16.28 aliyun-java-sdk-vod http://www.aliyun.com Aliyun Open API SDK for Java diff --git a/aliyun-java-sdk-vod/src/main/java/com/aliyuncs/vod/model/v20170321/GetVideoInfoResponse.java b/aliyun-java-sdk-vod/src/main/java/com/aliyuncs/vod/model/v20170321/GetVideoInfoResponse.java index 9ce183d376..e06069603b 100644 --- a/aliyun-java-sdk-vod/src/main/java/com/aliyuncs/vod/model/v20170321/GetVideoInfoResponse.java +++ b/aliyun-java-sdk-vod/src/main/java/com/aliyuncs/vod/model/v20170321/GetVideoInfoResponse.java @@ -107,6 +107,8 @@ public static class Video { private String restoreExpiration; + private String userData; + private List thumbnailList; private List snapshots; @@ -311,6 +313,14 @@ public void setRestoreExpiration(String restoreExpiration) { this.restoreExpiration = restoreExpiration; } + public String getUserData() { + return this.userData; + } + + public void setUserData(String userData) { + this.userData = userData; + } + public List getThumbnailList() { return this.thumbnailList; } diff --git a/aliyun-java-sdk-vod/src/main/java/com/aliyuncs/vod/model/v20170321/GetVideoInfosResponse.java b/aliyun-java-sdk-vod/src/main/java/com/aliyuncs/vod/model/v20170321/GetVideoInfosResponse.java index fa991ebf49..2860f9b128 100644 --- a/aliyun-java-sdk-vod/src/main/java/com/aliyuncs/vod/model/v20170321/GetVideoInfosResponse.java +++ b/aliyun-java-sdk-vod/src/main/java/com/aliyuncs/vod/model/v20170321/GetVideoInfosResponse.java @@ -101,6 +101,8 @@ public static class Video { private String restoreExpiration; + private String userData; + private List thumbnailList; private List snapshots; @@ -281,6 +283,14 @@ public void setRestoreExpiration(String restoreExpiration) { this.restoreExpiration = restoreExpiration; } + public String getUserData() { + return this.userData; + } + + public void setUserData(String userData) { + this.userData = userData; + } + public List getThumbnailList() { return this.thumbnailList; } diff --git a/aliyun-java-sdk-vod/src/main/java/com/aliyuncs/vod/model/v20170321/SubmitTranscodeJobsRequest.java b/aliyun-java-sdk-vod/src/main/java/com/aliyuncs/vod/model/v20170321/SubmitTranscodeJobsRequest.java index ebe2806007..b6bc3cbfae 100644 --- a/aliyun-java-sdk-vod/src/main/java/com/aliyuncs/vod/model/v20170321/SubmitTranscodeJobsRequest.java +++ b/aliyun-java-sdk-vod/src/main/java/com/aliyuncs/vod/model/v20170321/SubmitTranscodeJobsRequest.java @@ -25,6 +25,8 @@ public class SubmitTranscodeJobsRequest extends RpcAcsRequest { + private String sessionId; + private String userData; private String videoId; @@ -47,6 +49,17 @@ public SubmitTranscodeJobsRequest() { } catch (Exception e) {} } + public String getSessionId() { + return this.sessionId; + } + + public void setSessionId(String sessionId) { + this.sessionId = sessionId; + if(sessionId != null){ + putQueryParameter("SessionId", sessionId); + } + } + public String getUserData() { return this.userData; } diff --git a/aliyun-java-sdk-vod/src/main/java/com/aliyuncs/vod/model/v20170321/UpdateVideoInfoRequest.java b/aliyun-java-sdk-vod/src/main/java/com/aliyuncs/vod/model/v20170321/UpdateVideoInfoRequest.java index 9a001b4296..6caf2aa0b3 100644 --- a/aliyun-java-sdk-vod/src/main/java/com/aliyuncs/vod/model/v20170321/UpdateVideoInfoRequest.java +++ b/aliyun-java-sdk-vod/src/main/java/com/aliyuncs/vod/model/v20170321/UpdateVideoInfoRequest.java @@ -31,6 +31,8 @@ public class UpdateVideoInfoRequest extends RpcAcsRequest snapshots = new ArrayList(); for (int i = 0; i < _ctx.lengthValue("GetVideoInfoResponse.Video.Snapshots.Length"); i++) { diff --git a/aliyun-java-sdk-vod/src/main/java/com/aliyuncs/vod/transform/v20170321/GetVideoInfosResponseUnmarshaller.java b/aliyun-java-sdk-vod/src/main/java/com/aliyuncs/vod/transform/v20170321/GetVideoInfosResponseUnmarshaller.java index 73a4ce492d..87c7b658d8 100644 --- a/aliyun-java-sdk-vod/src/main/java/com/aliyuncs/vod/transform/v20170321/GetVideoInfosResponseUnmarshaller.java +++ b/aliyun-java-sdk-vod/src/main/java/com/aliyuncs/vod/transform/v20170321/GetVideoInfosResponseUnmarshaller.java @@ -60,6 +60,7 @@ public static GetVideoInfosResponse unmarshall(GetVideoInfosResponse getVideoInf video.setStorageClass(_ctx.stringValue("GetVideoInfosResponse.VideoList["+ i +"].StorageClass")); video.setRestoreStatus(_ctx.stringValue("GetVideoInfosResponse.VideoList["+ i +"].RestoreStatus")); video.setRestoreExpiration(_ctx.stringValue("GetVideoInfosResponse.VideoList["+ i +"].RestoreExpiration")); + video.setUserData(_ctx.stringValue("GetVideoInfosResponse.VideoList["+ i +"].UserData")); List snapshots = new ArrayList(); for (int j = 0; j < _ctx.lengthValue("GetVideoInfosResponse.VideoList["+ i +"].Snapshots.Length"); j++) {