com.axlabs.neow3j.protocol.notifications.NotificationParams Maven / Gradle / Ivy
package com.axlabs.neow3j.protocol.notifications;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
/**
* Generic class for a notification param. Contains a subscription id and a data item.
*
* @param type of data return by a particular subscription
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class NotificationParams {
private T result;
private String subsciption;
public T getResult() {
return result;
}
public String getSubsciption() {
return subsciption;
}
}