Package org.onyx.api

Class Feed<T>

java.lang.Object
org.onyx.api.Feed<T>
All Implemented Interfaces:
Iterable<T>

public class Feed<T> extends Object implements Iterable<T>
  • Field Details

    • id

      @Expose public String id
      Unique identifier of the feed.
    • type

      @Expose public String type
      Type of feed, "action" or "transaction".
    • filter

      @Expose public String filter
      The query filter used in /stream-feed-items.
    • filterParams

      @SerializedName("filter_params") @Expose public List<Object> filterParams
      A list of parameters to be interpolated into the filter expression.
    • cursor

      @Expose public String cursor
      Indicates the last transaction consumed by this feed.
    • exception

      public ChainException exception
      When set, contains the exception thrown by the iterator that caused it to exit prematurely.
  • Constructor Details

    • Feed

      public Feed()
  • Method Details