public class GetUploadDetailsRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
mediaIds
The ID of the media file, namely, the audio or video ID.
|
String |
mediaType
The type of the media file.
|
| 构造器和说明 |
|---|
GetUploadDetailsRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static GetUploadDetailsRequest |
build(Map<String,?> map) |
String |
getMediaIds() |
String |
getMediaType() |
GetUploadDetailsRequest |
setMediaIds(String mediaIds) |
GetUploadDetailsRequest |
setMediaType(String mediaType) |
@NameInMap(value="MediaIds") public String mediaIds
The ID of the media file, namely, the audio or video ID. You can specify a maximum of 20 IDs. Separate multiple IDs with commas (,). You can use one of the following methods to obtain the audio or video ID:
* Log on to the [ApsaraVideo VOD](https://vod.console.aliyun.com) console. In the left-side navigation pane, choose **Media Files** > **Audio/Video**. On the Video and Audio page, you can view the audio or video ID. Use this method if the audio or video file is uploaded by using the ApsaraVideo VOD console.
* View the value of the VideoId parameter returned by the [CreateUploadVideo](~~55407~~) operation that you called to obtain an upload URL and credential.
* View the value of the VideoId parameter returned by the [SearchMedia](~~86044~~) operation that you called to query media information after the audio or video file is uploaded.
@NameInMap(value="MediaType") public String mediaType
The type of the media file. Set the value to **video**, which indicates audio and video files.
public static GetUploadDetailsRequest build(Map<String,?> map) throws Exception
Exceptionpublic GetUploadDetailsRequest setMediaIds(String mediaIds)
public String getMediaIds()
public GetUploadDetailsRequest setMediaType(String mediaType)
public String getMediaType()
Copyright © 2024. All rights reserved.