Record Class TableApisProviderInterface.TableApiVersion
java.lang.Object
java.lang.Record
com.kingsrook.qqq.middleware.javalin.specs.v1.TableApisProviderInterface.TableApiVersion
- Record Components:
version- the version, as it appears in URLssemanticVersion- its semantic version, when the API declares onetableSpecPath- root-relative path of the table's OpenAPI document (JSON) in this version
- Enclosing interface:
TableApisProviderInterface
public static record TableApisProviderInterface.TableApiVersion(String version, String semanticVersion, String tableSpecPath)
extends Record
One version of an API.
-
Constructor Summary
ConstructorsConstructorDescriptionTableApiVersion(String version, String semanticVersion, String tableSpecPath) Creates an instance of aTableApiVersionrecord 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.Returns the value of thesemanticVersionrecord component.Returns the value of thetableSpecPathrecord component.final StringtoString()Returns a string representation of this record class.version()Returns the value of theversionrecord component.
-
Constructor Details
-
TableApiVersion
Creates an instance of aTableApiVersionrecord class.- Parameters:
version- the value for theversionrecord componentsemanticVersion- the value for thesemanticVersionrecord componenttableSpecPath- the value for thetableSpecPathrecord 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). -
version
-
semanticVersion
Returns the value of thesemanticVersionrecord component.- Returns:
- the value of the
semanticVersionrecord component
-
tableSpecPath
Returns the value of thetableSpecPathrecord component.- Returns:
- the value of the
tableSpecPathrecord component
-