public static final class GetVideoInfoResponseBody.Video.Builder extends Object
构造器和说明 |
---|
Builder() |
public GetVideoInfoResponseBody.Video.Builder appId(String appId)
public GetVideoInfoResponseBody.Video.Builder auditStatus(String auditStatus)
* **Normal**: pass * **Blocked**: failed
public GetVideoInfoResponseBody.Video.Builder cateId(Long cateId)
public GetVideoInfoResponseBody.Video.Builder cateName(String cateName)
public GetVideoInfoResponseBody.Video.Builder coverURL(String coverURL)
public GetVideoInfoResponseBody.Video.Builder creationTime(String creationTime)
public GetVideoInfoResponseBody.Video.Builder customMediaInfo(String customMediaInfo)
public GetVideoInfoResponseBody.Video.Builder description(String description)
public GetVideoInfoResponseBody.Video.Builder duration(Float duration)
public GetVideoInfoResponseBody.Video.Builder modificationTime(String modificationTime)
public GetVideoInfoResponseBody.Video.Builder regionId(String regionId)
public GetVideoInfoResponseBody.Video.Builder restoreExpiration(String restoreExpiration)
public GetVideoInfoResponseBody.Video.Builder restoreStatus(String restoreStatus)
* **Processing** * **Success** * **Failed**
public GetVideoInfoResponseBody.Video.Builder size(Long size)
public GetVideoInfoResponseBody.Video.Builder snapshots(GetVideoInfoResponseBody.Snapshots snapshots)
public GetVideoInfoResponseBody.Video.Builder status(String status)
* **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. * **Blocked**: The video is blocked. * **Normal**: The video is normal.
public GetVideoInfoResponseBody.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 GetVideoInfoResponseBody.Video.Builder storageLocation(String storageLocation)
public GetVideoInfoResponseBody.Video.Builder tags(String tags)
public GetVideoInfoResponseBody.Video.Builder templateGroupId(String templateGroupId)
public GetVideoInfoResponseBody.Video.Builder title(String title)
public GetVideoInfoResponseBody.Video.Builder videoId(String videoId)
public GetVideoInfoResponseBody.Video build()
Copyright © 2024. All rights reserved.