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

com.dingtalk.baymax.framework.sdk.mercury.domain.BaseMessage Maven / Gradle / Ivy

There is a newer version: 1.0.2
Show newest version
package com.dingtalk.baymax.framework.sdk.mercury.domain;

import java.io.Serializable;
import java.util.Map;

/**
 * 消息基类
 *
 * @author xiaoxuan.lp
 */
public abstract class BaseMessage implements Serializable {

    private String content;

    private Map additionalKwargs;

    /**
     * 消息的类型,用于序列化
     *
     * @return
     */
    public abstract String getType();

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Map getAdditionalKwargs() {
        return additionalKwargs;
    }

    public void setAdditionalKwargs(Map additionalKwargs) {
        this.additionalKwargs = additionalKwargs;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy