Record Class MfaController.SanitizedMethod
java.lang.Object
java.lang.Record
eu.rarogsoftware.rarog.platform.app.rest.security.MfaController.SanitizedMethod
- Enclosing class:
- MfaController
-
Constructor Summary
ConstructorsConstructorDescriptionSanitizedMethod(MfaMethod method) SanitizedMethod(String imageUrl, String name, String nameKey, String descriptionKey, String resource, Long order) Creates an instance of aSanitizedMethodrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedescriptionKeyrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.imageUrl()Returns the value of theimageUrlrecord component.name()Returns the value of thenamerecord component.nameKey()Returns the value of thenameKeyrecord component.order()Returns the value of theorderrecord component.resource()Returns the value of theresourcerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SanitizedMethod
SanitizedMethod(MfaMethod method) -
SanitizedMethod
SanitizedMethod(String imageUrl, String name, String nameKey, String descriptionKey, String resource, Long order) Creates an instance of aSanitizedMethodrecord class.- Parameters:
imageUrl- the value for theimageUrlrecord componentname- the value for thenamerecord componentnameKey- the value for thenameKeyrecord componentdescriptionKey- the value for thedescriptionKeyrecord componentresource- the value for theresourcerecord componentorder- the value for theorderrecord 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). -
imageUrl
Returns the value of theimageUrlrecord component.- Returns:
- the value of the
imageUrlrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
nameKey
Returns the value of thenameKeyrecord component.- Returns:
- the value of the
nameKeyrecord component
-
descriptionKey
Returns the value of thedescriptionKeyrecord component.- Returns:
- the value of the
descriptionKeyrecord component
-
resource
Returns the value of theresourcerecord component.- Returns:
- the value of the
resourcerecord component
-
order
Returns the value of theorderrecord component.- Returns:
- the value of the
orderrecord component
-