Package io.dialob.boot.controller
Record Class AdminController.AdminConfig
java.lang.Object
java.lang.Record
io.dialob.boot.controller.AdminController.AdminConfig
- Enclosing class:
AdminController
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecomposerUrlrecord component.org.springframework.security.web.csrf.CsrfTokencsrf()Returns the value of thecsrfrecord component.Returns the value of thedocumentationrecord component.final booleanIndicates whether some other object is "equal to" this one.fillUrl()Returns the value of thefillUrlrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thereviewUrlrecord component.tenantId()Returns the value of thetenantIdrecord component.final StringtoString()Returns a string representation of this record class.url()Returns the value of theurlrecord component.booleanReturns the value of theversioningrecord component.
-
Constructor Details
-
AdminConfig
public AdminConfig(String url, String documentation, String fillUrl, String reviewUrl, org.springframework.security.web.csrf.CsrfToken csrf, String composerUrl, String tenantId, boolean versioning) Creates an instance of aAdminConfigrecord class.- Parameters:
url- the value for theurlrecord componentdocumentation- the value for thedocumentationrecord componentfillUrl- the value for thefillUrlrecord componentreviewUrl- the value for thereviewUrlrecord componentcsrf- the value for thecsrfrecord componentcomposerUrl- the value for thecomposerUrlrecord componenttenantId- the value for thetenantIdrecord componentversioning- the value for theversioningrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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 '=='. -
url
Returns the value of theurlrecord component.- Returns:
- the value of the
urlrecord component
-
documentation
Returns the value of thedocumentationrecord component.- Returns:
- the value of the
documentationrecord component
-
fillUrl
Returns the value of thefillUrlrecord component.- Returns:
- the value of the
fillUrlrecord component
-
reviewUrl
Returns the value of thereviewUrlrecord component.- Returns:
- the value of the
reviewUrlrecord component
-
csrf
public org.springframework.security.web.csrf.CsrfToken csrf()Returns the value of thecsrfrecord component.- Returns:
- the value of the
csrfrecord component
-
composerUrl
Returns the value of thecomposerUrlrecord component.- Returns:
- the value of the
composerUrlrecord component
-
tenantId
Returns the value of thetenantIdrecord component.- Returns:
- the value of the
tenantIdrecord component
-
versioning
public boolean versioning()Returns the value of theversioningrecord component.- Returns:
- the value of the
versioningrecord component
-