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

com.dingtalk.open.app.stream.protocol.ProtocolRequest Maven / Gradle / Ivy

There is a newer version: 1.3.7
Show newest version
package com.dingtalk.open.app.stream.protocol;

import java.util.Map;

/**
 * @author feiyin
 * @date 2023/3/7
 */
public class ProtocolRequest {
    /**
     * 版本号
     */
    private String specVersion;
    /**
     * 类型
     */
    private CommandType type;
    /**
     * 头信息
     */
    private Map headers;
    /**
     * 数据
     */
    private String data;

    public String getSpecVersion() {
        return specVersion;
    }

    public void setSpecVersion(String specVersion) {
        this.specVersion = specVersion;
    }

    public CommandType getType() {
        return type;
    }

    public void setType(CommandType type) {
        this.type = type;
    }

    public Map getHeaders() {
        return headers;
    }

    public void setHeaders(Map headers) {
        this.headers = headers;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy