Record Class AppJavalinServlet.RestConfiguration
java.lang.Object
java.lang.Record
net.tangly.app.api.AppJavalinServlet.RestConfiguration
- Enclosing class:
AppJavalinServlet
public static record AppJavalinServlet.RestConfiguration(String openApiName, String openApiUrl, String openApiEmail, String openApiLicense, String openApiLicenseIdentifier, String openApiServerUrl, String openApiServerDescription, String openApiTermsOfService, String openApiServerVersion)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionRestConfiguration(String openApiName, String openApiUrl, String openApiEmail, String openApiLicense, String openApiLicenseIdentifier, String openApiServerUrl, String openApiServerDescription, String openApiTermsOfService, String openApiServerVersion) Creates an instance of aRestConfigurationrecord 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 theopenApiEmailrecord component.Returns the value of theopenApiLicenserecord component.Returns the value of theopenApiLicenseIdentifierrecord component.Returns the value of theopenApiNamerecord component.Returns the value of theopenApiServerDescriptionrecord component.Returns the value of theopenApiServerUrlrecord component.Returns the value of theopenApiServerVersionrecord component.Returns the value of theopenApiTermsOfServicerecord component.Returns the value of theopenApiUrlrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
RestConfiguration
public RestConfiguration(String openApiName, String openApiUrl, String openApiEmail, String openApiLicense, String openApiLicenseIdentifier, String openApiServerUrl, String openApiServerDescription, String openApiTermsOfService, String openApiServerVersion) Creates an instance of aRestConfigurationrecord class.- Parameters:
openApiName- the value for theopenApiNamerecord componentopenApiUrl- the value for theopenApiUrlrecord componentopenApiEmail- the value for theopenApiEmailrecord componentopenApiLicense- the value for theopenApiLicenserecord componentopenApiLicenseIdentifier- the value for theopenApiLicenseIdentifierrecord componentopenApiServerUrl- the value for theopenApiServerUrlrecord componentopenApiServerDescription- the value for theopenApiServerDescriptionrecord componentopenApiTermsOfService- the value for theopenApiTermsOfServicerecord componentopenApiServerVersion- the value for theopenApiServerVersionrecord 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). -
openApiName
Returns the value of theopenApiNamerecord component.- Returns:
- the value of the
openApiNamerecord component
-
openApiUrl
Returns the value of theopenApiUrlrecord component.- Returns:
- the value of the
openApiUrlrecord component
-
openApiEmail
Returns the value of theopenApiEmailrecord component.- Returns:
- the value of the
openApiEmailrecord component
-
openApiLicense
Returns the value of theopenApiLicenserecord component.- Returns:
- the value of the
openApiLicenserecord component
-
openApiLicenseIdentifier
Returns the value of theopenApiLicenseIdentifierrecord component.- Returns:
- the value of the
openApiLicenseIdentifierrecord component
-
openApiServerUrl
Returns the value of theopenApiServerUrlrecord component.- Returns:
- the value of the
openApiServerUrlrecord component
-
openApiServerDescription
Returns the value of theopenApiServerDescriptionrecord component.- Returns:
- the value of the
openApiServerDescriptionrecord component
-
openApiTermsOfService
Returns the value of theopenApiTermsOfServicerecord component.- Returns:
- the value of the
openApiTermsOfServicerecord component
-
openApiServerVersion
Returns the value of theopenApiServerVersionrecord component.- Returns:
- the value of the
openApiServerVersionrecord component
-