public static final class GetVideoListResponseBody.Video.Builder extends Object
构造器和说明 |
---|
Builder() |
限定符和类型 | 方法和说明 |
---|---|
GetVideoListResponseBody.Video.Builder |
appId(String appId)
The ID of the application.
|
GetVideoListResponseBody.Video |
build() |
GetVideoListResponseBody.Video.Builder |
cateId(Long cateId)
The category ID of the audio or video file.
|
GetVideoListResponseBody.Video.Builder |
cateName(String cateName)
The name of the category.
|
GetVideoListResponseBody.Video.Builder |
coverURL(String coverURL)
The thumbnail URL of the audio or video file.
|
GetVideoListResponseBody.Video.Builder |
creationTime(String creationTime)
The time when the audio or video file was created.
|
GetVideoListResponseBody.Video.Builder |
description(String description)
The description of the audio or video file.
|
GetVideoListResponseBody.Video.Builder |
duration(Float duration)
The duration of the audio or video file.
|
GetVideoListResponseBody.Video.Builder |
modificationTime(String modificationTime)
The time when the video was updated.
|
GetVideoListResponseBody.Video.Builder |
restoreExpiration(String restoreExpiration)
The period of time in which the audio or video file remains in the restored state.
|
GetVideoListResponseBody.Video.Builder |
restoreStatus(String restoreStatus)
The restoration status of the audio or video file.
|
GetVideoListResponseBody.Video.Builder |
size(Long size)
The size of the source file.
|
GetVideoListResponseBody.Video.Builder |
snapshots(GetVideoListResponseBody.Snapshots snapshots)
The URL array of video snapshots.
|
GetVideoListResponseBody.Video.Builder |
status(String status)
The status of the audio or video file.
|
GetVideoListResponseBody.Video.Builder |
storageClass(String storageClass)
The storage class of the audio or video file.
|
GetVideoListResponseBody.Video.Builder |
storageLocation(String storageLocation)
The storage address of the audio or video file.
|
GetVideoListResponseBody.Video.Builder |
tags(String tags)
The tags of the audio or video file.
|
GetVideoListResponseBody.Video.Builder |
title(String title)
The title of the audio or video file.
|
GetVideoListResponseBody.Video.Builder |
videoId(String videoId)
The ID of the audio or video file.
|
public GetVideoListResponseBody.Video.Builder appId(String appId)
public GetVideoListResponseBody.Video.Builder cateId(Long cateId)
public GetVideoListResponseBody.Video.Builder cateName(String cateName)
public GetVideoListResponseBody.Video.Builder coverURL(String coverURL)
public GetVideoListResponseBody.Video.Builder creationTime(String creationTime)
public GetVideoListResponseBody.Video.Builder description(String description)
public GetVideoListResponseBody.Video.Builder duration(Float duration)
public GetVideoListResponseBody.Video.Builder modificationTime(String modificationTime)
public GetVideoListResponseBody.Video.Builder restoreExpiration(String restoreExpiration)
public GetVideoListResponseBody.Video.Builder restoreStatus(String restoreStatus)
* **Processing** * **Success** * **Failed**
public GetVideoListResponseBody.Video.Builder size(Long size)
public GetVideoListResponseBody.Video.Builder snapshots(GetVideoListResponseBody.Snapshots snapshots)
public GetVideoListResponseBody.Video.Builder status(String status)
* **Uploading**: The video is being uploaded. * **UploadFail**: The video failed to be uploaded. * **UploadSucc**: The video is 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.
public GetVideoListResponseBody.Video.Builder storageClass(String storageClass)
* **Standard**: All media resources are stored as Standard objects. * **IA**: All media resources are stored as IA objects. * **Archive**: All media resources are stored as Archive objects. * **ColdArchive**: All media resources are stored as Cold Archive objects. * **SourceIA**: Only the source files are IA objects. * **SourceArchive**: Only the source files are Archive objects. * **SourceColdArchive**: Only the source files are Cold Archive objects. * **Changing**: The storage class of the audio or video file is being changed. * **SourceChanging**: The storage class of the source file is being changed.
public GetVideoListResponseBody.Video.Builder storageLocation(String storageLocation)
public GetVideoListResponseBody.Video.Builder tags(String tags)
public GetVideoListResponseBody.Video.Builder title(String title)
public GetVideoListResponseBody.Video.Builder videoId(String videoId)
public GetVideoListResponseBody.Video build()
Copyright © 2024. All rights reserved.