All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.chinanetcenter.api.entity.Avinfo Maven / Gradle / Ivy

There is a newer version: 2.0.10
Show newest version
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