cn.hyperchain.sdk.response.filemgr.FilePushResponse 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.filemgr;
import cn.hyperchain.sdk.response.Response;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
public class FilePushResponse extends Response {
private static final Gson gson = new GsonBuilder().excludeFieldsWithoutExposeAnnotation().create();
@Override
public String toString() {
return "FilePushResponse{" +
"namespace='" + namespace + '\'' +
", jsonrpc='" + jsonrpc + '\'' +
", id='" + id + '\'' +
", code=" + code +
", message='" + message + '\'' +
'}';
}
public String toJson() {
return gson.toJson(this);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy