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

network.nerve.kit.model.dto.JsonRpcRequest Maven / Gradle / Ivy

There is a newer version: 1.2.5
Show newest version
package network.nerve.kit.model.dto;

import java.util.List;


public class JsonRpcRequest {

    private String id;

    private String jsonrpc;

    private String method;

    private List params;

    public JsonRpcRequest() {
        this.jsonrpc = "2.0";
        this.id = "1";
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getJsonrpc() {
        return jsonrpc;
    }

    public void setJsonrpc(String jsonrpc) {
        this.jsonrpc = jsonrpc;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public List getParams() {
        return params;
    }

    public void setParams(List params) {
        this.params = params;
    }
}