Skip to content

Commit

Permalink
SubmitTranscodeJobs Add SessionId.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Nov 28, 2024
1 parent f074b76 commit ccba0f5
Show file tree
Hide file tree
Showing 8 changed files with 52 additions and 1 deletion.
3 changes: 3 additions & 0 deletions aliyun-java-sdk-vod/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2024-11-28 Version: 2.16.28
- SubmitTranscodeJobs Add SessionId.

2024-10-11 Version: 2.16.27
- GetPlayInfo Add EncryptMode.

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.27</version>
<version>2.16.28</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
Expand Up @@ -107,6 +107,8 @@ public static class Video {

private String restoreExpiration;

private String userData;

private List<Thumbnail> thumbnailList;

private List<String> snapshots;
Expand Down Expand Up @@ -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<Thumbnail> getThumbnailList() {
return this.thumbnailList;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ public static class Video {

private String restoreExpiration;

private String userData;

private List<Thumbnail> thumbnailList;

private List<String> snapshots;
Expand Down Expand Up @@ -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<Thumbnail> getThumbnailList() {
return this.thumbnailList;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
public class SubmitTranscodeJobsRequest extends RpcAcsRequest<SubmitTranscodeJobsResponse> {


private String sessionId;

private String userData;

private String videoId;
Expand All @@ -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;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ public class UpdateVideoInfoRequest extends RpcAcsRequest<UpdateVideoInfoRespons

private String coverURL;

private String userData;

private Long cateId;

private String videoId;
Expand Down Expand Up @@ -78,6 +80,17 @@ public void setCoverURL(String coverURL) {
}
}

public String getUserData() {
return this.userData;
}

public void setUserData(String userData) {
this.userData = userData;
if(userData != null){
putQueryParameter("UserData", userData);
}
}

public Long getCateId() {
return this.cateId;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ public static GetVideoInfoResponse unmarshall(GetVideoInfoResponse getVideoInfoR
video.setStorageClass(_ctx.stringValue("GetVideoInfoResponse.Video.StorageClass"));
video.setRestoreStatus(_ctx.stringValue("GetVideoInfoResponse.Video.RestoreStatus"));
video.setRestoreExpiration(_ctx.stringValue("GetVideoInfoResponse.Video.RestoreExpiration"));
video.setUserData(_ctx.stringValue("GetVideoInfoResponse.Video.UserData"));

List<String> snapshots = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("GetVideoInfoResponse.Video.Snapshots.Length"); i++) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<String> snapshots = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("GetVideoInfosResponse.VideoList["+ i +"].Snapshots.Length"); j++) {
Expand Down

0 comments on commit ccba0f5

Please sign in to comment.