public class GetVideoListRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
Long |
cateId
The ID of the category.
|
String |
endTime
The end of the time range to query.
|
Integer |
pageNo
The number of the page to return.
|
Integer |
pageSize
The number of entries to return on each page.
|
String |
sortBy
The sorting method of the results.
|
String |
startTime
The beginning of the time range to query.
|
String |
status
The status of the video.
|
String |
storageLocation
The storage address of the media file.
|
| 构造器和说明 |
|---|
GetVideoListRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static GetVideoListRequest |
build(Map<String,?> map) |
Long |
getCateId() |
String |
getEndTime() |
Integer |
getPageNo() |
Integer |
getPageSize() |
String |
getSortBy() |
String |
getStartTime() |
String |
getStatus() |
String |
getStorageLocation() |
GetVideoListRequest |
setCateId(Long cateId) |
GetVideoListRequest |
setEndTime(String endTime) |
GetVideoListRequest |
setPageNo(Integer pageNo) |
GetVideoListRequest |
setPageSize(Integer pageSize) |
GetVideoListRequest |
setSortBy(String sortBy) |
GetVideoListRequest |
setStartTime(String startTime) |
GetVideoListRequest |
setStatus(String status) |
GetVideoListRequest |
setStorageLocation(String storageLocation) |
@NameInMap(value="CateId") public Long cateId
The ID of the category. You can use one of the following methods to obtain the category ID:
* Log on to the [ApsaraVideo VOD console](https://vod.console.aliyun.com). In the left-side navigation pane, choose **Configuration Management** > **Media Management** > **Categories** to view the category ID.
* Obtain the value of CateId from the response to the [AddCategory](~~56401~~) operation.
* Obtain the value of CateId from the response to the [GetCategories](~~56406~~) operation.
@NameInMap(value="EndTime") public String endTime
The end of the time range to query. The end time must be later than the start time. Specify the time in the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time must be in UTC.
@NameInMap(value="PageNo") public Integer pageNo
The number of the page to return. Default value: **1**.
@NameInMap(value="PageSize") public Integer pageSize
The number of entries to return on each page. Default value: **10**. Maximum value: **100**.
@NameInMap(value="SortBy") public String sortBy
The sorting method of the results. Valid values:
* **CreationTime:Desc** (default): The results are sorted in reverse chronological order based on the creation time.
* **CreationTime:Asc**: The results are sorted in chronological order based on the creation time.
@NameInMap(value="StartTime") public String startTime
The beginning of the time range to query. Specify the time in the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time must be in UTC.
@NameInMap(value="Status") public String status
The status of the video. You can specify multiple video statuses and separate them with commas (,). Valid values:
* **Uploading**: The video is being uploaded.
* **UploadFail**: The video failed to be uploaded.
* **UploadSucc**: The video has been uploaded.
* **Transcoding**: The video is being transcoded.
* **TranscodeFail**: The video failed to be transcoded.
* **checking**: The video is being reviewed.
* **Blocked**: The video is blocked.
* **Normal**: The video is normal.
* **ProduceFail**: The video failed to be produced.
For more information about each video status, see the "Status: the status of a video" section of the [Basic data types](~~52839#section-p7c-jgy-070~~) topic.
@NameInMap(value="StorageLocation") public String storageLocation
The storage address of the media file.
public static GetVideoListRequest build(Map<String,?> map) throws Exception
Exceptionpublic GetVideoListRequest setCateId(Long cateId)
public Long getCateId()
public GetVideoListRequest setEndTime(String endTime)
public String getEndTime()
public GetVideoListRequest setPageNo(Integer pageNo)
public Integer getPageNo()
public GetVideoListRequest setPageSize(Integer pageSize)
public Integer getPageSize()
public GetVideoListRequest setSortBy(String sortBy)
public String getSortBy()
public GetVideoListRequest setStartTime(String startTime)
public String getStartTime()
public GetVideoListRequest setStatus(String status)
public String getStatus()
public GetVideoListRequest setStorageLocation(String storageLocation)
public String getStorageLocation()
Copyright © 2024. All rights reserved.