cn.hyperchain.sdk.response.TCertResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of litesdk Show documentation
Show all versions of litesdk Show documentation
A Java client tool for Hyperchain
package cn.hyperchain.sdk.response;
import com.google.gson.JsonElement;
import com.google.gson.annotations.Expose;
public class TCertResponse extends Response {
@Expose
private JsonElement result;
public String getTCert() {
return result.getAsJsonObject().get("tcert").getAsString();
}
@Override
public String toString() {
return "TCertResponse{" +
"result=" + result +
", jsonrpc='" + jsonrpc + '\'' +
", id='" + id + '\'' +
", code=" + code +
", message='" + message + '\'' +
", namespace='" + namespace + '\'' +
'}';
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy