com.aliyun.pds20220301.models.VideoPreviewPlayInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pds20220301 Show documentation
Show all versions of pds20220301 Show documentation
Alibaba Cloud pds (20220301) SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.pds20220301.models;
import com.aliyun.tea.*;
public class VideoPreviewPlayInfo extends TeaModel {
/**
* example:
* live_transcoding
*/
@NameInMap("category")
public String category;
@NameInMap("live_transcoding_task_list")
public java.util.List liveTranscodingTaskList;
@NameInMap("master_url")
public String masterUrl;
@NameInMap("meta")
public VideoPreviewPlayInfoMeta meta;
@NameInMap("offline_video_transcoding_list")
public java.util.List offlineVideoTranscodingList;
public static VideoPreviewPlayInfo build(java.util.Map map) throws Exception {
VideoPreviewPlayInfo self = new VideoPreviewPlayInfo();
return TeaModel.build(map, self);
}
public VideoPreviewPlayInfo setCategory(String category) {
this.category = category;
return this;
}
public String getCategory() {
return this.category;
}
public VideoPreviewPlayInfo setLiveTranscodingTaskList(java.util.List liveTranscodingTaskList) {
this.liveTranscodingTaskList = liveTranscodingTaskList;
return this;
}
public java.util.List getLiveTranscodingTaskList() {
return this.liveTranscodingTaskList;
}
public VideoPreviewPlayInfo setMasterUrl(String masterUrl) {
this.masterUrl = masterUrl;
return this;
}
public String getMasterUrl() {
return this.masterUrl;
}
public VideoPreviewPlayInfo setMeta(VideoPreviewPlayInfoMeta meta) {
this.meta = meta;
return this;
}
public VideoPreviewPlayInfoMeta getMeta() {
return this.meta;
}
public VideoPreviewPlayInfo setOfflineVideoTranscodingList(java.util.List offlineVideoTranscodingList) {
this.offlineVideoTranscodingList = offlineVideoTranscodingList;
return this;
}
public java.util.List getOfflineVideoTranscodingList() {
return this.offlineVideoTranscodingList;
}
public static class VideoPreviewPlayInfoLiveTranscodingTaskList extends TeaModel {
@NameInMap("keep_original_resolution")
public Boolean keepOriginalResolution;
@NameInMap("status")
public String status;
@NameInMap("template_id")
public String templateId;
@NameInMap("url")
public String url;
public static VideoPreviewPlayInfoLiveTranscodingTaskList build(java.util.Map map) throws Exception {
VideoPreviewPlayInfoLiveTranscodingTaskList self = new VideoPreviewPlayInfoLiveTranscodingTaskList();
return TeaModel.build(map, self);
}
public VideoPreviewPlayInfoLiveTranscodingTaskList setKeepOriginalResolution(Boolean keepOriginalResolution) {
this.keepOriginalResolution = keepOriginalResolution;
return this;
}
public Boolean getKeepOriginalResolution() {
return this.keepOriginalResolution;
}
public VideoPreviewPlayInfoLiveTranscodingTaskList setStatus(String status) {
this.status = status;
return this;
}
public String getStatus() {
return this.status;
}
public VideoPreviewPlayInfoLiveTranscodingTaskList setTemplateId(String templateId) {
this.templateId = templateId;
return this;
}
public String getTemplateId() {
return this.templateId;
}
public VideoPreviewPlayInfoLiveTranscodingTaskList setUrl(String url) {
this.url = url;
return this;
}
public String getUrl() {
return this.url;
}
}
public static class VideoPreviewPlayInfoMeta extends TeaModel {
@NameInMap("duration")
public Double duration;
@NameInMap("height")
public Long height;
@NameInMap("width")
public Long width;
public static VideoPreviewPlayInfoMeta build(java.util.Map map) throws Exception {
VideoPreviewPlayInfoMeta self = new VideoPreviewPlayInfoMeta();
return TeaModel.build(map, self);
}
public VideoPreviewPlayInfoMeta setDuration(Double duration) {
this.duration = duration;
return this;
}
public Double getDuration() {
return this.duration;
}
public VideoPreviewPlayInfoMeta setHeight(Long height) {
this.height = height;
return this;
}
public Long getHeight() {
return this.height;
}
public VideoPreviewPlayInfoMeta setWidth(Long width) {
this.width = width;
return this;
}
public Long getWidth() {
return this.width;
}
}
public static class VideoPreviewPlayInfoOfflineVideoTranscodingList extends TeaModel {
@NameInMap("keep_original_resolution")
public Boolean keepOriginalResolution;
@NameInMap("status")
public String status;
@NameInMap("template_id")
public String templateId;
@NameInMap("url")
public String url;
public static VideoPreviewPlayInfoOfflineVideoTranscodingList build(java.util.Map map) throws Exception {
VideoPreviewPlayInfoOfflineVideoTranscodingList self = new VideoPreviewPlayInfoOfflineVideoTranscodingList();
return TeaModel.build(map, self);
}
public VideoPreviewPlayInfoOfflineVideoTranscodingList setKeepOriginalResolution(Boolean keepOriginalResolution) {
this.keepOriginalResolution = keepOriginalResolution;
return this;
}
public Boolean getKeepOriginalResolution() {
return this.keepOriginalResolution;
}
public VideoPreviewPlayInfoOfflineVideoTranscodingList setStatus(String status) {
this.status = status;
return this;
}
public String getStatus() {
return this.status;
}
public VideoPreviewPlayInfoOfflineVideoTranscodingList setTemplateId(String templateId) {
this.templateId = templateId;
return this;
}
public String getTemplateId() {
return this.templateId;
}
public VideoPreviewPlayInfoOfflineVideoTranscodingList setUrl(String url) {
this.url = url;
return this;
}
public String getUrl() {
return this.url;
}
}
}