com.axlabs.neow3j.protocol.notifications.Notification Maven / Gradle / Ivy
package com.axlabs.neow3j.protocol.notifications;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
/**
* Base class for notifications.
*
* @param type of data return by a particular subscription
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class Notification {
private String jsonrpc;
private String method;
private NotificationParams params;
public String getJsonrpc() {
return jsonrpc;
}
public String getMethod() {
return method;
}
public NotificationParams getParams() {
return params;
}
}