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

com.dingtalk.baymax.framework.sdk.mercury.prompt.PromptValue Maven / Gradle / Ivy

package com.dingtalk.baymax.framework.sdk.mercury.prompt;

import com.dingtalk.baymax.framework.sdk.mercury.domain.BaseMessage;

import java.io.Serializable;
import java.util.List;

/**
 * 提示值对象
 *
 * @author xiaoxuan.lp
 *
 * 添加toString抽象方法
 *
 * @author xiaoyan.wjw
 */
public abstract class PromptValue implements Serializable {

    /**
     * 作为字符串返回提示
     *
     * @return
     */
    @Override
    public abstract String toString();

    /**
     * 作为消息返回提示
     *
     * @return
     */
    public abstract List toMessages();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy