public class GetMezzanineInfoRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
additionType
The type of additional information.
|
Long |
authTimeout
The validity period of the mezzanine file URL.
|
String |
outputType
The type of the mezzanine file URL.
|
String |
videoId
The ID of the video.
|
| 构造器和说明 |
|---|
GetMezzanineInfoRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static GetMezzanineInfoRequest |
build(Map<String,?> map) |
String |
getAdditionType() |
Long |
getAuthTimeout() |
String |
getOutputType() |
String |
getVideoId() |
GetMezzanineInfoRequest |
setAdditionType(String additionType) |
GetMezzanineInfoRequest |
setAuthTimeout(Long authTimeout) |
GetMezzanineInfoRequest |
setOutputType(String outputType) |
GetMezzanineInfoRequest |
setVideoId(String videoId) |
@NameInMap(value="AdditionType") public String additionType
The type of additional information. Separate multiple values with commas (,). By default, only the basic information is returned. Valid values:
* **video**: video stream information
* **audio**: audio stream information
@NameInMap(value="AuthTimeout") public Long authTimeout
The validity period of the mezzanine file URL. Unit: seconds. Default value: **1800**. Minimum value: **1**.
* If the OutputType parameter is set to **cdn**:
* The mezzanine file URL has a validity period only if URL signing is enabled. Otherwise, the mezzanine file URL is permanently valid.
* Minimum value: **1**.
* Maximum Value: unlimited.
* Default value: If you do not set this parameter, the default validity period that is specified in URL signing is used.
* If the OutputType parameter is set to **oss**:
* The mezzanine file URL has a validity period only if the permissions on the Object Storage Service (OSS) bucket are private. Otherwise, the mezzanine file URL is permanently valid.
* Minimum value: **1**.
* Maximum value: **2592000** (30 days). The maximum value is limited to reduce security risks of the origin.
* Default value: If you do not set this parameter, the default value is **3600**.
@NameInMap(value="OutputType") public String outputType
The type of the mezzanine file URL. Valid values:
- **oss**: OSS URL
- **cdn** (default): Content Delivery Network (CDN) URL
> If the mezzanine file is stored in a bucket of the in type, only an OSS URL is returned.
@NameInMap(value="VideoId") public String videoId
The ID of the video.
public static GetMezzanineInfoRequest build(Map<String,?> map) throws Exception
Exceptionpublic GetMezzanineInfoRequest setAdditionType(String additionType)
public String getAdditionType()
public GetMezzanineInfoRequest setAuthTimeout(Long authTimeout)
public Long getAuthTimeout()
public GetMezzanineInfoRequest setOutputType(String outputType)
public String getOutputType()
public GetMezzanineInfoRequest setVideoId(String videoId)
public String getVideoId()
Copyright © 2024. All rights reserved.