com.cisco.trex.stateless.model.Response Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of trex-java-sdk Show documentation
Show all versions of trex-java-sdk Show documentation
Java client SDK provides an implementation for TRex RPC APIs
package com.cisco.trex.stateless.model;
import com.google.gson.JsonElement;
public class Response {
private String id;
private String jsonrpc;
private JsonElement result;
public Response(String id, String jsonrpc, JsonElement result) {
this.id = id;
this.jsonrpc = jsonrpc;
this.result = result;
}
public String getId() {
return id;
}
public String getJsonrpc() {
return jsonrpc;
}
public JsonElement getResult() {
return result;
}
}