Package io.dialob.boot.controller
Record Class ReviewController.ReviewOptions
java.lang.Object
java.lang.Record
io.dialob.boot.controller.ReviewController.ReviewOptions
- Enclosing class:
ReviewController
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapiUrl()Returns the value of theapiUrlrecord component.org.springframework.security.web.csrf.CsrfTokencsrf()Returns the value of thecsrfrecord component.final booleanIndicates whether some other object is "equal to" this one.form()Returns the value of theformrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thequestionnaireIdrecord component.Returns the value of thesessionDatarecord component.tenantId()Returns the value of thetenantIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ReviewOptions
public ReviewOptions(String apiUrl, String questionnaireId, org.springframework.security.web.csrf.CsrfToken csrf, String form, String sessionData, String tenantId) Creates an instance of aReviewOptionsrecord class.- Parameters:
apiUrl- the value for theapiUrlrecord componentquestionnaireId- the value for thequestionnaireIdrecord componentcsrf- the value for thecsrfrecord componentform- the value for theformrecord componentsessionData- the value for thesessionDatarecord componenttenantId- the value for thetenantIdrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
apiUrl
Returns the value of theapiUrlrecord component.- Returns:
- the value of the
apiUrlrecord component
-
questionnaireId
Returns the value of thequestionnaireIdrecord component.- Returns:
- the value of the
questionnaireIdrecord component
-
csrf
public org.springframework.security.web.csrf.CsrfToken csrf()Returns the value of thecsrfrecord component.- Returns:
- the value of the
csrfrecord component
-
form
Returns the value of theformrecord component.- Returns:
- the value of the
formrecord component
-
sessionData
Returns the value of thesessionDatarecord component.- Returns:
- the value of the
sessionDatarecord component
-
tenantId
Returns the value of thetenantIdrecord component.- Returns:
- the value of the
tenantIdrecord component
-