Record Class KafkaClusterResponse.SchemaVersionDetail
java.lang.Object
java.lang.Record
io.micronaut.controlpanel.panels.kafka.KafkaClusterResponse.SchemaVersionDetail
- Enclosing class:
KafkaClusterResponse
-
Constructor Summary
ConstructorsConstructorDescriptionSchemaVersionDetail(String subject, int version, @Nullable Integer id, @Nullable String schemaType, @Nullable String schema, @Nullable String compatibility, List<KafkaClusterResponse.SchemaReference> references) Creates an instance of aSchemaVersionDetailrecord class. -
Method Summary
Modifier and TypeMethodDescription@Nullable StringReturns the value of thecompatibilityrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@Nullable Integerid()Returns the value of theidrecord component.Returns the value of thereferencesrecord component.@Nullable Stringschema()Returns the value of theschemarecord component.@Nullable StringReturns the value of theschemaTyperecord component.subject()Returns the value of thesubjectrecord component.final StringtoString()Returns a string representation of this record class.intversion()Returns the value of theversionrecord component.
-
Constructor Details
-
SchemaVersionDetail
public SchemaVersionDetail(String subject, int version, @Nullable Integer id, @Nullable String schemaType, @Nullable String schema, @Nullable String compatibility, List<KafkaClusterResponse.SchemaReference> references) Creates an instance of aSchemaVersionDetailrecord class.- Parameters:
subject- the value for thesubjectrecord componentversion- the value for theversionrecord componentid- the value for theidrecord componentschemaType- the value for theschemaTyperecord componentschema- the value for theschemarecord componentcompatibility- the value for thecompatibilityrecord componentreferences- the value for thereferencesrecord 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. -
subject
Returns the value of thesubjectrecord component.- Returns:
- the value of the
subjectrecord component
-
version
public int version()Returns the value of theversionrecord component.- Returns:
- the value of the
versionrecord component
-
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
schemaType
Returns the value of theschemaTyperecord component.- Returns:
- the value of the
schemaTyperecord component
-
schema
Returns the value of theschemarecord component.- Returns:
- the value of the
schemarecord component
-
compatibility
Returns the value of thecompatibilityrecord component.- Returns:
- the value of the
compatibilityrecord component
-
references
Returns the value of thereferencesrecord component.- Returns:
- the value of the
referencesrecord component
-