Record Class PhoneEnrolmentResponse
java.lang.Object
java.lang.Record
com.irurueta.authserver.authorization.api.web.v1.generated.model.PhoneEnrolmentResponse
- Record Components:
expiresIn- How long the verification code stays valid, as an ISO-8601 duration.
@Generated(value="org.openapitools.codegen.languages.SpringCodegen",
date="2026-11-08T20:21:45.782821081Z[Etc/UTC]",
comments="Generator version: 7.27.0")
public record PhoneEnrolmentResponse(@NotNull @Valid Duration expiresIn)
extends Record
Confirmation that a verification code was requested
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPhoneEnrolmentResponse(@NotNull @Valid Duration expiresIn) Creates an instance of aPhoneEnrolmentResponserecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.@NotNull @Valid DurationReturns the value of theexpiresInrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
expiresIn
The field for theexpiresInrecord component.
-
-
Constructor Details
-
PhoneEnrolmentResponse
Creates an instance of aPhoneEnrolmentResponserecord class.- Parameters:
expiresIn- the value for theexpiresInrecord 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). -
expiresIn
Returns the value of theexpiresInrecord component.- Returns:
- the value of the
expiresInrecord component
-