com.chinanetcenter.api.entity.Avinfo Maven / Gradle / Ivy
package com.chinanetcenter.api.entity;
import com.chinanetcenter.api.util.JsonMapper;
import java.util.List;
/**
* Created by fuyz on 2015/7/29.
*/
public class Avinfo {
private Format format;
private List streams;
public Format getFormat() {
return format;
}
public void setFormat(Format format) {
this.format = format;
}
public List getStreams() {
return streams;
}
public void setStreams(List streams) {
this.streams = streams;
}
public String toJson(){
JsonMapper jsonMapper = new JsonMapper();
return jsonMapper.toJson(this);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy