Skip to content

Commit 671da6e

Browse files
committed
Add video compose api.
1 parent d72e8c0 commit 671da6e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+142
-95
lines changed

aliyun-net-sdk-vcs/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2020-07-08 Version: 1.0.7
2+
- Add video compose api.
3+
14
2020-07-08 Version: 1.0.6.1
25
- Add video summarization related API.
36

aliyun-net-sdk-vcs/Vcs/Model/V20200515/AddDataSourceRequest.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
using Aliyun.Acs.Core.Http;
2323
using Aliyun.Acs.Core.Transform;
2424
using Aliyun.Acs.Core.Utils;
25+
using Aliyun.Acs.Vcs;
2526
using Aliyun.Acs.Vcs.Transform;
2627
using Aliyun.Acs.Vcs.Transform.V20200515;
2728

@@ -30,7 +31,7 @@ namespace Aliyun.Acs.Vcs.Model.V20200515
3031
public class AddDataSourceRequest : RpcAcsRequest<AddDataSourceResponse>
3132
{
3233
public AddDataSourceRequest()
33-
: base("Vcs", "2020-05-15", "AddDataSource", "vcs", "openAPI")
34+
: base("Vcs", "2020-05-15", "AddDataSource")
3435
{
3536
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
3637
{

aliyun-net-sdk-vcs/Vcs/Model/V20200515/AddDeviceRequest.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
using Aliyun.Acs.Core.Http;
2323
using Aliyun.Acs.Core.Transform;
2424
using Aliyun.Acs.Core.Utils;
25+
using Aliyun.Acs.Vcs;
2526
using Aliyun.Acs.Vcs.Transform;
2627
using Aliyun.Acs.Vcs.Transform.V20200515;
2728

@@ -30,7 +31,7 @@ namespace Aliyun.Acs.Vcs.Model.V20200515
3031
public class AddDeviceRequest : RpcAcsRequest<AddDeviceResponse>
3132
{
3233
public AddDeviceRequest()
33-
: base("Vcs", "2020-05-15", "AddDevice", "vcs", "openAPI")
34+
: base("Vcs", "2020-05-15", "AddDevice")
3435
{
3536
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
3637
{

aliyun-net-sdk-vcs/Vcs/Model/V20200515/AddMonitorRequest.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
using Aliyun.Acs.Core.Http;
2323
using Aliyun.Acs.Core.Transform;
2424
using Aliyun.Acs.Core.Utils;
25+
using Aliyun.Acs.Vcs;
2526
using Aliyun.Acs.Vcs.Transform;
2627
using Aliyun.Acs.Vcs.Transform.V20200515;
2728

@@ -30,7 +31,7 @@ namespace Aliyun.Acs.Vcs.Model.V20200515
3031
public class AddMonitorRequest : RpcAcsRequest<AddMonitorResponse>
3132
{
3233
public AddMonitorRequest()
33-
: base("Vcs", "2020-05-15", "AddMonitor", "vcs", "openAPI")
34+
: base("Vcs", "2020-05-15", "AddMonitor")
3435
{
3536
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
3637
{

aliyun-net-sdk-vcs/Vcs/Model/V20200515/CreateCorpRequest.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
using Aliyun.Acs.Core.Http;
2323
using Aliyun.Acs.Core.Transform;
2424
using Aliyun.Acs.Core.Utils;
25+
using Aliyun.Acs.Vcs;
2526
using Aliyun.Acs.Vcs.Transform;
2627
using Aliyun.Acs.Vcs.Transform.V20200515;
2728

@@ -30,7 +31,7 @@ namespace Aliyun.Acs.Vcs.Model.V20200515
3031
public class CreateCorpRequest : RpcAcsRequest<CreateCorpResponse>
3132
{
3233
public CreateCorpRequest()
33-
: base("Vcs", "2020-05-15", "CreateCorp", "vcs", "openAPI")
34+
: base("Vcs", "2020-05-15", "CreateCorp")
3435
{
3536
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
3637
{

aliyun-net-sdk-vcs/Vcs/Model/V20200515/CreateVideoComposeTaskRequest.cs

Lines changed: 26 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
using Aliyun.Acs.Core.Http;
2323
using Aliyun.Acs.Core.Transform;
2424
using Aliyun.Acs.Core.Utils;
25+
using Aliyun.Acs.Vcs;
2526
using Aliyun.Acs.Vcs.Transform;
2627
using Aliyun.Acs.Vcs.Transform.V20200515;
2728

@@ -30,7 +31,7 @@ namespace Aliyun.Acs.Vcs.Model.V20200515
3031
public class CreateVideoComposeTaskRequest : RpcAcsRequest<CreateVideoComposeTaskResponse>
3132
{
3233
public CreateVideoComposeTaskRequest()
33-
: base("Vcs", "2020-05-15", "CreateVideoComposeTask", "vcs", "openAPI")
34+
: base("Vcs", "2020-05-15", "CreateVideoComposeTask")
3435
{
3536
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
3637
{
@@ -44,16 +45,16 @@ public CreateVideoComposeTaskRequest()
4445

4546
private string domainName;
4647

47-
private string picUrlList;
48+
private int? videoFrameRate;
4849

49-
private string audioUrl;
50+
private string imageFileNames;
51+
52+
private string audioFileName;
5053

5154
private string bucketName;
5255

5356
private string imageParameters;
5457

55-
private string videoRate;
56-
5758
private string videoFormat;
5859

5960
public string CorpId
@@ -82,68 +83,68 @@ public string DomainName
8283
}
8384
}
8485

85-
public string PicUrlList
86+
public int? VideoFrameRate
8687
{
8788
get
8889
{
89-
return picUrlList;
90+
return videoFrameRate;
9091
}
9192
set
9293
{
93-
picUrlList = value;
94-
DictionaryUtil.Add(BodyParameters, "PicUrlList", value);
94+
videoFrameRate = value;
95+
DictionaryUtil.Add(BodyParameters, "VideoFrameRate", value.ToString());
9596
}
9697
}
9798

98-
public string AudioUrl
99+
public string ImageFileNames
99100
{
100101
get
101102
{
102-
return audioUrl;
103+
return imageFileNames;
103104
}
104105
set
105106
{
106-
audioUrl = value;
107-
DictionaryUtil.Add(BodyParameters, "AudioUrl", value);
107+
imageFileNames = value;
108+
DictionaryUtil.Add(BodyParameters, "ImageFileNames", value);
108109
}
109110
}
110111

111-
public string BucketName
112+
public string AudioFileName
112113
{
113114
get
114115
{
115-
return bucketName;
116+
return audioFileName;
116117
}
117118
set
118119
{
119-
bucketName = value;
120-
DictionaryUtil.Add(BodyParameters, "BucketName", value);
120+
audioFileName = value;
121+
DictionaryUtil.Add(BodyParameters, "AudioFileName", value);
121122
}
122123
}
123124

124-
public string ImageParameters
125+
public string BucketName
125126
{
126127
get
127128
{
128-
return imageParameters;
129+
return bucketName;
129130
}
130131
set
131132
{
132-
imageParameters = value;
133-
DictionaryUtil.Add(BodyParameters, "ImageParameters", value);
133+
bucketName = value;
134+
DictionaryUtil.Add(BodyParameters, "BucketName", value);
134135
}
135136
}
136137

137-
public string VideoRate
138+
public string ImageParameters
138139
{
139140
get
140141
{
141-
return videoRate;
142+
return imageParameters;
142143
}
143144
set
144145
{
145-
videoRate = value;
146-
DictionaryUtil.Add(BodyParameters, "VideoRate", value);
146+
imageParameters = value;
147+
DictionaryUtil.Add(BodyParameters, "ImageParameters", value);
147148
}
148149
}
149150

aliyun-net-sdk-vcs/Vcs/Model/V20200515/CreateVideoComposeTaskResponse.cs

Lines changed: 11 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ public class CreateVideoComposeTaskResponse : AcsResponse
3131

3232
private string requestId;
3333

34-
private CreateVideoComposeTask_Data data;
34+
private string domainName;
35+
36+
private string bucketName;
3537

3638
public string Code
3739
{
@@ -69,47 +71,27 @@ public string RequestId
6971
}
7072
}
7173

72-
public CreateVideoComposeTask_Data Data
74+
public string DomainName
7375
{
7476
get
7577
{
76-
return data;
78+
return domainName;
7779
}
7880
set
7981
{
80-
data = value;
82+
domainName = value;
8183
}
8284
}
8385

84-
public class CreateVideoComposeTask_Data
86+
public string BucketName
8587
{
86-
87-
private int? domainName;
88-
89-
private int? bucketName;
90-
91-
public int? DomainName
88+
get
9289
{
93-
get
94-
{
95-
return domainName;
96-
}
97-
set
98-
{
99-
domainName = value;
100-
}
90+
return bucketName;
10191
}
102-
103-
public int? BucketName
92+
set
10493
{
105-
get
106-
{
107-
return bucketName;
108-
}
109-
set
110-
{
111-
bucketName = value;
112-
}
94+
bucketName = value;
11395
}
11496
}
11597
}

aliyun-net-sdk-vcs/Vcs/Model/V20200515/CreateVideoSummaryTaskRequest.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
using Aliyun.Acs.Core.Http;
2323
using Aliyun.Acs.Core.Transform;
2424
using Aliyun.Acs.Core.Utils;
25+
using Aliyun.Acs.Vcs;
2526
using Aliyun.Acs.Vcs.Transform;
2627
using Aliyun.Acs.Vcs.Transform.V20200515;
2728

@@ -30,7 +31,7 @@ namespace Aliyun.Acs.Vcs.Model.V20200515
3031
public class CreateVideoSummaryTaskRequest : RpcAcsRequest<CreateVideoSummaryTaskResponse>
3132
{
3233
public CreateVideoSummaryTaskRequest()
33-
: base("Vcs", "2020-05-15", "CreateVideoSummaryTask", "vcs", "openAPI")
34+
: base("Vcs", "2020-05-15", "CreateVideoSummaryTask")
3435
{
3536
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
3637
{

aliyun-net-sdk-vcs/Vcs/Model/V20200515/DeleteDataSourceRequest.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
using Aliyun.Acs.Core.Http;
2323
using Aliyun.Acs.Core.Transform;
2424
using Aliyun.Acs.Core.Utils;
25+
using Aliyun.Acs.Vcs;
2526
using Aliyun.Acs.Vcs.Transform;
2627
using Aliyun.Acs.Vcs.Transform.V20200515;
2728

@@ -30,7 +31,7 @@ namespace Aliyun.Acs.Vcs.Model.V20200515
3031
public class DeleteDataSourceRequest : RpcAcsRequest<DeleteDataSourceResponse>
3132
{
3233
public DeleteDataSourceRequest()
33-
: base("Vcs", "2020-05-15", "DeleteDataSource", "vcs", "openAPI")
34+
: base("Vcs", "2020-05-15", "DeleteDataSource")
3435
{
3536
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
3637
{

aliyun-net-sdk-vcs/Vcs/Model/V20200515/DeleteDeviceRequest.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
using Aliyun.Acs.Core.Http;
2323
using Aliyun.Acs.Core.Transform;
2424
using Aliyun.Acs.Core.Utils;
25+
using Aliyun.Acs.Vcs;
2526
using Aliyun.Acs.Vcs.Transform;
2627
using Aliyun.Acs.Vcs.Transform.V20200515;
2728

@@ -30,7 +31,7 @@ namespace Aliyun.Acs.Vcs.Model.V20200515
3031
public class DeleteDeviceRequest : RpcAcsRequest<DeleteDeviceResponse>
3132
{
3233
public DeleteDeviceRequest()
33-
: base("Vcs", "2020-05-15", "DeleteDevice", "vcs", "openAPI")
34+
: base("Vcs", "2020-05-15", "DeleteDevice")
3435
{
3536
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
3637
{

0 commit comments

Comments
 (0)