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 aSanitizedMethod
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedescriptionKey
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.imageUrl()
Returns the value of theimageUrl
record component.name()
Returns the value of thename
record component.nameKey()
Returns the value of thenameKey
record component.order()
Returns the value of theorder
record component.resource()
Returns the value of theresource
record component.final String
toString()
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 aSanitizedMethod
record class.- Parameters:
imageUrl
- the value for theimageUrl
record componentname
- the value for thename
record componentnameKey
- the value for thenameKey
record componentdescriptionKey
- the value for thedescriptionKey
record componentresource
- the value for theresource
record componentorder
- the value for theorder
record 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 theimageUrl
record component.- Returns:
- the value of the
imageUrl
record component
-
name
Returns the value of thename
record component.- Returns:
- the value of the
name
record component
-
nameKey
Returns the value of thenameKey
record component.- Returns:
- the value of the
nameKey
record component
-
descriptionKey
Returns the value of thedescriptionKey
record component.- Returns:
- the value of the
descriptionKey
record component
-
resource
Returns the value of theresource
record component.- Returns:
- the value of the
resource
record component
-
order
Returns the value of theorder
record component.- Returns:
- the value of the
order
record component
-