Record Class VerifyPhoneRequest
java.lang.Object
java.lang.Record
com.irurueta.authserver.authorization.api.web.v1.generated.model.VerifyPhoneRequest
- Record Components:
code- The numeric verification code.
@Generated(value="org.openapitools.codegen.languages.SpringCodegen",
date="2026-11-08T20:21:45.782821081Z[Etc/UTC]",
comments="Generator version: 7.27.0")
public record VerifyPhoneRequest(@NotNull @Pattern(regexp="^[0-9]{4,10}$") String code)
extends Record
The code received by SMS
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionVerifyPhoneRequest(@NotNull @Pattern(regexp="^[0-9]{4,10}$") String code) Creates an instance of aVerifyPhoneRequestrecord class. -
Method Summary
Modifier and TypeMethodDescription@NotNull @Pattern(regexp="^[0-9]{4,10}$") Stringcode()Returns the value of thecoderecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
Constructor Details
-
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). -
code
@NotNull @Pattern(regexp="^[0-9]{4,10}$") public @NotNull @Pattern(regexp="^[0-9]{4,10}$") String code()Returns the value of thecoderecord component.- Returns:
- the value of the
coderecord component
-