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
ConstructorDescriptionRestConfiguration
(String openApiName, String openApiUrl, String openApiEmail, String openApiLicense, String openApiLicenseIdentifier, String openApiServerUrl, String openApiServerDescription, String openApiTermsOfService, String openApiServerVersion) Creates an instance of aRestConfiguration
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.Returns the value of theopenApiEmail
record component.Returns the value of theopenApiLicense
record component.Returns the value of theopenApiLicenseIdentifier
record component.Returns the value of theopenApiName
record component.Returns the value of theopenApiServerDescription
record component.Returns the value of theopenApiServerUrl
record component.Returns the value of theopenApiServerVersion
record component.Returns the value of theopenApiTermsOfService
record component.Returns the value of theopenApiUrl
record component.final String
toString()
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 aRestConfiguration
record class.- Parameters:
openApiName
- the value for theopenApiName
record componentopenApiUrl
- the value for theopenApiUrl
record componentopenApiEmail
- the value for theopenApiEmail
record componentopenApiLicense
- the value for theopenApiLicense
record componentopenApiLicenseIdentifier
- the value for theopenApiLicenseIdentifier
record componentopenApiServerUrl
- the value for theopenApiServerUrl
record componentopenApiServerDescription
- the value for theopenApiServerDescription
record componentopenApiTermsOfService
- the value for theopenApiTermsOfService
record componentopenApiServerVersion
- the value for theopenApiServerVersion
record 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 theopenApiName
record component.- Returns:
- the value of the
openApiName
record component
-
openApiUrl
Returns the value of theopenApiUrl
record component.- Returns:
- the value of the
openApiUrl
record component
-
openApiEmail
Returns the value of theopenApiEmail
record component.- Returns:
- the value of the
openApiEmail
record component
-
openApiLicense
Returns the value of theopenApiLicense
record component.- Returns:
- the value of the
openApiLicense
record component
-
openApiLicenseIdentifier
Returns the value of theopenApiLicenseIdentifier
record component.- Returns:
- the value of the
openApiLicenseIdentifier
record component
-
openApiServerUrl
Returns the value of theopenApiServerUrl
record component.- Returns:
- the value of the
openApiServerUrl
record component
-
openApiServerDescription
Returns the value of theopenApiServerDescription
record component.- Returns:
- the value of the
openApiServerDescription
record component
-
openApiTermsOfService
Returns the value of theopenApiTermsOfService
record component.- Returns:
- the value of the
openApiTermsOfService
record component
-
openApiServerVersion
Returns the value of theopenApiServerVersion
record component.- Returns:
- the value of the
openApiServerVersion
record component
-