package com.novelot.naonao;

/*************************************
 * 类名称：Class Name
 * 类描述：Do What
 *
 * @version: 2.3.2
 * @author: 刘云龙
 * @time: 2017/5/8
 **********************************/

class ChatMessage {


    /**
     * voice :
     * text : qqq
     */

    private String voice;
    private String text;

    public String getVoice() {
        return voice;
    }

    public void setVoice(String voice) {
        this.voice = voice;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    @Override
    public String toString() {
        return String.format("{ \"voice\":\"%s\" , \"text\":\"%s\" }", voice == null ? "" : voice, text == null ? "" : text);
    }
}
