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 934abc2 commit 4d0aa65
Show file tree
Hide file tree
Showing 8 changed files with 66 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG
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-11-26 Version: 2.1.11
- Add SmartqQueryAbility api.

Expand Down
14 changes: 14 additions & 0 deletions aliyun-net-sdk-vod/Vod/Model/V20170321/GetVideoInfoResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ public class GetVideoInfo_Video

private string restoreExpiration;

private string userData;

private List<GetVideoInfo_Thumbnail> thumbnailList;

private List<string> snapshots;
Expand Down Expand Up @@ -424,6 +426,18 @@ public string RestoreExpiration
}
}

public string UserData
{
get
{
return userData;
}
set
{
userData = value;
}
}

public List<GetVideoInfo_Thumbnail> ThumbnailList
{
get
Expand Down
14 changes: 14 additions & 0 deletions aliyun-net-sdk-vod/Vod/Model/V20170321/GetVideoInfosResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ public class GetVideoInfos_Video

private string restoreExpiration;

private string userData;

private List<GetVideoInfos_Thumbnail> thumbnailList;

private List<string> snapshots;
Expand Down Expand Up @@ -382,6 +384,18 @@ public string RestoreExpiration
}
}

public string UserData
{
get
{
return userData;
}
set
{
userData = value;
}
}

public List<GetVideoInfos_Thumbnail> ThumbnailList
{
get
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ public SubmitTranscodeJobsRequest()
Method = MethodType.POST;
}

private string sessionId;

private string userData;

private string videoId;
Expand All @@ -55,6 +57,20 @@ public SubmitTranscodeJobsRequest()

private string encryptConfig;

[JsonProperty(PropertyName = "SessionId")]
public string SessionId
{
get
{
return sessionId;
}
set
{
sessionId = value;
DictionaryUtil.Add(QueryParameters, "SessionId", value);
}
}

[JsonProperty(PropertyName = "UserData")]
public string UserData
{
Expand Down
16 changes: 16 additions & 0 deletions aliyun-net-sdk-vod/Vod/Model/V20170321/UpdateVideoInfoRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ public UpdateVideoInfoRequest()

private string coverURL;

private string userData;

private long? cateId;

private string videoId;
Expand Down Expand Up @@ -95,6 +97,20 @@ public string CoverURL
}
}

[JsonProperty(PropertyName = "UserData")]
public string UserData
{
get
{
return userData;
}
set
{
userData = value;
DictionaryUtil.Add(QueryParameters, "UserData", value);
}
}

[JsonProperty(PropertyName = "CateId")]
public long? CateId
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ public static GetVideoInfoResponse Unmarshall(UnmarshallerContext _ctx)
video.StorageClass = _ctx.StringValue("GetVideoInfo.Video.StorageClass");
video.RestoreStatus = _ctx.StringValue("GetVideoInfo.Video.RestoreStatus");
video.RestoreExpiration = _ctx.StringValue("GetVideoInfo.Video.RestoreExpiration");
video.UserData = _ctx.StringValue("GetVideoInfo.Video.UserData");

List<string> video_snapshots = new List<string>();
for (int i = 0; i < _ctx.Length("GetVideoInfo.Video.Snapshots.Length"); i++) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ public static GetVideoInfosResponse Unmarshall(UnmarshallerContext _ctx)
video.StorageClass = _ctx.StringValue("GetVideoInfos.VideoList["+ i +"].StorageClass");
video.RestoreStatus = _ctx.StringValue("GetVideoInfos.VideoList["+ i +"].RestoreStatus");
video.RestoreExpiration = _ctx.StringValue("GetVideoInfos.VideoList["+ i +"].RestoreExpiration");
video.UserData = _ctx.StringValue("GetVideoInfos.VideoList["+ i +"].UserData");

List<string> video_snapshots = new List<string>();
for (int j = 0; j < _ctx.Length("GetVideoInfos.VideoList["+ i +"].Snapshots.Length"); j++) {
Expand Down
2 changes: 1 addition & 1 deletion aliyun-net-sdk-vod/aliyun-net-sdk-vod.vs2017.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFrameworks>netstandard2.0;net45</TargetFrameworks>
<RootNamespace>Aliyun.Acs.vod</RootNamespace>
<Version>2.16.27</Version>
<Version>2.16.28</Version>
<Authors>Alibaba Cloud</Authors>
<Copyright>©2009-2019 Alibaba Cloud</Copyright>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
Expand Down

0 comments on commit 4d0aa65

Please sign in to comment.