Record Class JsonSchemaRecordsManifest.SourceMetadata
java.lang.Object
java.lang.Record
io.micronaut.jsonschema.generator.records.JsonSchemaRecordsManifest.SourceMetadata
- Record Components:
sourceName- Configured source nameprovider- Discovery provider idmetadata- Sanitized metadata
- Enclosing class:
JsonSchemaRecordsManifest
-
Constructor Summary
Constructors -
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.metadata()Returns the value of themetadatarecord component.provider()Returns the value of theproviderrecord component.Returns the value of thesourceNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SourceMetadata
Creates an instance of aSourceMetadatarecord class.- Parameters:
sourceName- the value for thesourceNamerecord componentprovider- the value for theproviderrecord componentmetadata- the value for themetadatarecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
sourceName
Returns the value of thesourceNamerecord component.- Returns:
- the value of the
sourceNamerecord component
-
provider
-
metadata
-