com.qcloud.cos.model.ciModel.mediaInfo.MediaInfoObjcet Maven / Gradle / Ivy
package com.qcloud.cos.model.ciModel.mediaInfo;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import java.io.Serializable;
/**
* MediaInfo 格式详情实体类 详情见:https://cloud.tencent.com/document/product/460/38935
*/
public class MediaInfoObjcet implements Serializable {
@XStreamAlias("Format")
private MediaFormat format;
@XStreamAlias("Stream")
private MediaStream stream;
public MediaFormat getFormat() {
if (format == null) {
format = new MediaFormat();
}
return format;
}
public void setFormat(MediaFormat format) {
this.format = format;
}
public MediaStream getStream() {
if (stream == null) {
stream = new MediaStream();
}
return stream;
}
public void setStream(MediaStream stream) {
this.stream = stream;
}
@Override
public String toString() {
return "MediaInfoObjcet{" +
"format=" + format +
", stream=" + stream +
'}';
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy