Class MergedData

java.lang.Object
net.adambruce.dsn.now.model.merged.MergedData

public final class MergedData extends Object
Merged data from the DSN configuration and state endpoints.
  • Constructor Details

    • MergedData

      public MergedData(List<MergedStationData> stations, Instant timestamp)
      Creates a new MergedData instance.
      Parameters:
      stations - the DSN stations.
      timestamp - the timestamp of the DSN state response
  • Method Details

    • getStations

      public List<MergedStationData> getStations()
      the DSN stations.
      Returns:
      the DSN stations
    • getTimestamp

      public Instant getTimestamp()
      the timestamp of the DSN state response
      Returns:
      the timestamp of the DSN state response
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object