Record Class KafkaClusterResponse.TopicPage
java.lang.Object
java.lang.Record
io.micronaut.controlpanel.panels.kafka.KafkaClusterResponse.TopicPage
- Enclosing class:
KafkaClusterResponse
@Introspected
public static record KafkaClusterResponse.TopicPage(int start, int length, int recordsTotal, int recordsFiltered, List<KafkaClusterResponse.TopicSummary> topics)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionTopicPage(int start, int length, int recordsTotal, int recordsFiltered, List<KafkaClusterResponse.TopicSummary> topics) Creates an instance of aTopicPagerecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intlength()Returns the value of thelengthrecord component.intReturns the value of therecordsFilteredrecord component.intReturns the value of therecordsTotalrecord component.intstart()Returns the value of thestartrecord component.topics()Returns the value of thetopicsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
TopicPage
public TopicPage(int start, int length, int recordsTotal, int recordsFiltered, List<KafkaClusterResponse.TopicSummary> topics) Creates an instance of aTopicPagerecord class.- Parameters:
start- the value for thestartrecord componentlength- the value for thelengthrecord componentrecordsTotal- the value for therecordsTotalrecord componentrecordsFiltered- the value for therecordsFilteredrecord componenttopics- the value for thetopicsrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
start
public int start()Returns the value of thestartrecord component.- Returns:
- the value of the
startrecord component
-
length
public int length()Returns the value of thelengthrecord component.- Returns:
- the value of the
lengthrecord component
-
recordsTotal
public int recordsTotal()Returns the value of therecordsTotalrecord component.- Returns:
- the value of the
recordsTotalrecord component
-
recordsFiltered
public int recordsFiltered()Returns the value of therecordsFilteredrecord component.- Returns:
- the value of the
recordsFilteredrecord component
-
topics
Returns the value of thetopicsrecord component.- Returns:
- the value of the
topicsrecord component
-