Record Class BrokerTypes.BrokerOverviewDashboard

java.lang.Object
java.lang.Record
app.ductape.sdk.brokers.types.BrokerTypes.BrokerOverviewDashboard
Enclosing class:
BrokerTypes

public static record BrokerTypes.BrokerOverviewDashboard(BrokerTypes.BrokerMessageStats stats, List<BrokerTypes.BrokerMessage> recentMessages, List<BrokerTypes.BrokerProducer> topProducers, List<BrokerTypes.BrokerConsumer> topConsumers, List<BrokerTypes.BrokerDailyActivity> dailyActivity, List<BrokerTypes.BrokerHourlyDistribution> hourlyDistribution) extends Record
  • Constructor Details

  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • stats

      Returns the value of the stats record component.
      Returns:
      the value of the stats record component
    • recentMessages

      public List<BrokerTypes.BrokerMessage> recentMessages()
      Returns the value of the recentMessages record component.
      Returns:
      the value of the recentMessages record component
    • topProducers

      public List<BrokerTypes.BrokerProducer> topProducers()
      Returns the value of the topProducers record component.
      Returns:
      the value of the topProducers record component
    • topConsumers

      public List<BrokerTypes.BrokerConsumer> topConsumers()
      Returns the value of the topConsumers record component.
      Returns:
      the value of the topConsumers record component
    • dailyActivity

      public List<BrokerTypes.BrokerDailyActivity> dailyActivity()
      Returns the value of the dailyActivity record component.
      Returns:
      the value of the dailyActivity record component
    • hourlyDistribution

      public List<BrokerTypes.BrokerHourlyDistribution> hourlyDistribution()
      Returns the value of the hourlyDistribution record component.
      Returns:
      the value of the hourlyDistribution record component