public class GetVideoInfoRequest
extends com.aliyun.tea.TeaModel
| 构造器和说明 |
|---|
GetVideoInfoRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static GetVideoInfoRequest |
build(Map<String,?> map) |
String |
getVideoId() |
GetVideoInfoRequest |
setVideoId(String videoId) |
@NameInMap(value="VideoId") public String videoId
The ID of the media file. You can use one of the following methods to obtain the ID of the file:
* 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, view the ID of the audio or video file. This method is applicable to files that are uploaded by using the ApsaraVideo VOD console.
* Obtain the value of VideoId from the response to the [CreateUploadVideo](~~55407~~) operation that you called to obtain an upload URL and credential.
* Obtain the value of VideoId from the response to the [SearchMedia](~~86044~~) operation that you called to query the media ID after the media file is uploaded.
public static GetVideoInfoRequest build(Map<String,?> map) throws Exception
Exceptionpublic GetVideoInfoRequest setVideoId(String videoId)
public String getVideoId()
Copyright © 2024. All rights reserved.