Skip to content

Commit

Permalink
Add BatchGetMediaInfos.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Dec 19, 2024
1 parent 30e42ff commit 87465b1
Show file tree
Hide file tree
Showing 11 changed files with 1,354 additions and 2 deletions.
4 changes: 4 additions & 0 deletions aliyun-java-sdk-vod/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2024-12-19 Version: 2.16.30
- Add BatchGetMediaInfos.
- Modify UploadStreamByURL.

2024-12-06 Version: 2.16.29
-Release GetJobDetail, ListJobInfo.
-Modify GetTranscodeTask.
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.29</version>
<version>2.16.30</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
@@ -0,0 +1,54 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package com.aliyuncs.vod.model.v20170321;

import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.vod.Endpoint;

/**
* @author auto create
* @version
*/
public class BatchGetMediaInfosRequest extends RpcAcsRequest<BatchGetMediaInfosResponse> {


private String mediaIds;
public BatchGetMediaInfosRequest() {
super("vod", "2017-03-21", "BatchGetMediaInfos", "vod");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}

public String getMediaIds() {
return this.mediaIds;
}

public void setMediaIds(String mediaIds) {
this.mediaIds = mediaIds;
if(mediaIds != null){
putQueryParameter("MediaIds", mediaIds);
}
}

@Override
public Class<BatchGetMediaInfosResponse> getResponseClass() {
return BatchGetMediaInfosResponse.class;
}

}
Loading

0 comments on commit 87465b1

Please sign in to comment.