Skip to content

Commit 819bc9d

Browse files
committed
Add BatchGetMediaInfos.
1 parent 7dbed4c commit 819bc9d

11 files changed

+1741
-1
lines changed

CHANGELOG

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2024-12-19 Version: 2.16.30
2+
- Add BatchGetMediaInfos.
3+
- Modify UploadStreamByURL.
4+
15
2024-12-18 Version: 1.0.1
26
- Add Support Real time mock table.
37

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
19+
using System.Collections.Generic;
20+
21+
using Aliyun.Acs.Core;
22+
using Aliyun.Acs.Core.Http;
23+
using Aliyun.Acs.Core.Transform;
24+
using Aliyun.Acs.Core.Utils;
25+
using Aliyun.Acs.vod.Transform;
26+
using Aliyun.Acs.vod.Transform.V20170321;
27+
28+
namespace Aliyun.Acs.vod.Model.V20170321
29+
{
30+
public class BatchGetMediaInfosRequest : RpcAcsRequest<BatchGetMediaInfosResponse>
31+
{
32+
public BatchGetMediaInfosRequest()
33+
: base("vod", "2017-03-21", "BatchGetMediaInfos", "vod", "openAPI")
34+
{
35+
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
36+
{
37+
this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.vod.Endpoint.endpointMap, null);
38+
this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.vod.Endpoint.endpointRegionalType, null);
39+
}
40+
Method = MethodType.POST;
41+
}
42+
43+
private string mediaIds;
44+
45+
public string MediaIds
46+
{
47+
get
48+
{
49+
return mediaIds;
50+
}
51+
set
52+
{
53+
mediaIds = value;
54+
DictionaryUtil.Add(QueryParameters, "MediaIds", value);
55+
}
56+
}
57+
58+
public override bool CheckShowJsonItemName()
59+
{
60+
return false;
61+
}
62+
63+
public override BatchGetMediaInfosResponse GetResponse(UnmarshallerContext unmarshallerContext)
64+
{
65+
return BatchGetMediaInfosResponseUnmarshaller.Unmarshall(unmarshallerContext);
66+
}
67+
}
68+
}

0 commit comments

Comments
 (0)