public class ListSnapshotsRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
authTimeout
The validity period of the snapshot URL.
|
String |
pageNo
The number of the page to turn.
|
String |
pageSize
The number of entries to return on each page.
|
String |
snapshotType
The type of snapshots that are returned.
|
String |
videoId
The ID of the video.
|
| 构造器和说明 |
|---|
ListSnapshotsRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static ListSnapshotsRequest |
build(Map<String,?> map) |
String |
getAuthTimeout() |
String |
getPageNo() |
String |
getPageSize() |
String |
getSnapshotType() |
String |
getVideoId() |
ListSnapshotsRequest |
setAuthTimeout(String authTimeout) |
ListSnapshotsRequest |
setPageNo(String pageNo) |
ListSnapshotsRequest |
setPageSize(String pageSize) |
ListSnapshotsRequest |
setSnapshotType(String snapshotType) |
ListSnapshotsRequest |
setVideoId(String videoId) |
@NameInMap(value="AuthTimeout") public String authTimeout
The validity period of the snapshot URL. Unit: seconds. Default value: **3600**. Minimum value: **3600**.
* This parameter only takes effect when [URL authentication](~~57007~~) is enabled.
* If the specified validity period is less than **3600** seconds, the default value is **3600**.
* If an Object Storage Service (OSS) URL is returned, the maximum validity period is limited to **2592000** seconds (30 days) to reduce security risks of the origin.
@NameInMap(value="PageNo") public String pageNo
The number of the page to turn. Default value: **1**.
@NameInMap(value="PageSize") public String pageSize
The number of entries to return on each page. Default value: **20**. Maximum value: **100**.
@NameInMap(value="SnapshotType") public String snapshotType
The type of snapshots that are returned. Valid values:
* **CoverSnapshot**: thumbnail snapshot
* **NormalSnapshot**: normal snapshot
* **SpriteSnapshot**: sprite snapshot
* **SpriteOriginSnapshot**: sprite source snapshot
* **WebVttSnapshot**: WebVTT snapshot
@NameInMap(value="VideoId") public String videoId
The ID of the video.
public static ListSnapshotsRequest build(Map<String,?> map) throws Exception
Exceptionpublic ListSnapshotsRequest setAuthTimeout(String authTimeout)
public String getAuthTimeout()
public ListSnapshotsRequest setPageNo(String pageNo)
public String getPageNo()
public ListSnapshotsRequest setPageSize(String pageSize)
public String getPageSize()
public ListSnapshotsRequest setSnapshotType(String snapshotType)
public String getSnapshotType()
public ListSnapshotsRequest setVideoId(String videoId)
public String getVideoId()
Copyright © 2024. All rights reserved.