Record Class RenamePasskeyRequest
java.lang.Object
java.lang.Record
com.irurueta.authserver.authorization.api.web.v1.generated.model.RenamePasskeyRequest
- Record Components:
label- New name of the passkey; it must contain a non-blank character.
@Generated(value="org.openapitools.codegen.languages.SpringCodegen",
date="2026-11-08T20:21:45.782821081Z[Etc/UTC]",
comments="Generator version: 7.27.0")
public record RenamePasskeyRequest(@NotNull @Pattern(regexp="[\\s\\S]*\\S[\\s\\S]*") @Size(min=1,max=100) String label)
extends Record
The new label of a passkey
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRenamePasskeyRequest(@NotNull @Pattern(regexp="[\\s\\S]*\\S[\\s\\S]*") @Size(min=1,max=100) String label) Creates an instance of aRenamePasskeyRequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@NotNull @Pattern(regexp="[\\s\\S]*\\S[\\s\\S]*") @Size(min=1,max=100) Stringlabel()Returns the value of thelabelrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
Constructor Details
-
RenamePasskeyRequest
public RenamePasskeyRequest(@NotNull @Pattern(regexp="[\\s\\S]*\\S[\\s\\S]*") @Size(min=1,max=100) @NotNull @Pattern(regexp="[\\s\\S]*\\S[\\s\\S]*") @Size(min=1,max=100) String label) Creates an instance of aRenamePasskeyRequestrecord class.- Parameters:
label- the value for thelabelrecord 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). -
label
@NotNull @Pattern(regexp="[\\s\\S]*\\S[\\s\\S]*") @Size(min=1, max=100) public @NotNull @Pattern(regexp="[\\s\\S]*\\S[\\s\\S]*") @Size(min=1,max=100) String label()Returns the value of thelabelrecord component.- Returns:
- the value of the
labelrecord component
-