Class AccountAuthenticatorPasskeyRegistrationRequest
java.lang.Object
co.ankatech.keymanagement.client.auth.model.AccountAuthenticatorPasskeyRegistrationRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class AccountAuthenticatorPasskeyRegistrationRequest
extends Object
A passkey registration made with the options of createPasskeyRegistrationOptions
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncredential(AccountPasskeyRegistrationCredential credential) displayName(String displayName) booleanCreate an instance of AccountAuthenticatorPasskeyRegistrationRequest given an JSON stringThe WebAuthn registration responseThe name you give the passkey, at most 100 charactersinthashCode()voidsetCredential(AccountPasskeyRegistrationCredential credential) voidsetDisplayName(String displayName) toJson()Convert an instance of AccountAuthenticatorPasskeyRegistrationRequest to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues foundstatic voidvalidateJsonElementAsCandidate(com.google.gson.JsonElement jsonElement) Validates the JSON Element as a candidate of a oneOf schema: the checks ofvalidateJsonElement(JsonElement), and the element carries no member this model does not declare.
-
Field Details
-
SERIALIZED_NAME_DISPLAY_NAME
- See Also:
-
SERIALIZED_NAME_CREDENTIAL
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
AccountAuthenticatorPasskeyRegistrationRequest
public AccountAuthenticatorPasskeyRegistrationRequest()
-
-
Method Details
-
displayName
-
getDisplayName
The name you give the passkey, at most 100 characters- Returns:
- displayName
-
setDisplayName
-
credential
public AccountAuthenticatorPasskeyRegistrationRequest credential(@Nonnull AccountPasskeyRegistrationCredential credential) -
getCredential
The WebAuthn registration response- Returns:
- credential
-
setCredential
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to AccountAuthenticatorPasskeyRegistrationRequest
-
validateJsonElementAsCandidate
public static void validateJsonElementAsCandidate(com.google.gson.JsonElement jsonElement) throws IOException Validates the JSON Element as a candidate of a oneOf schema: the checks ofvalidateJsonElement(JsonElement), and the element carries no member this model does not declare. A oneOf schema without a discriminator tells its candidates apart by their member sets, so a candidate is matched on its closed member set.- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is not a AccountAuthenticatorPasskeyRegistrationRequest
-
fromJson
public static AccountAuthenticatorPasskeyRegistrationRequest fromJson(String jsonString) throws IOException Create an instance of AccountAuthenticatorPasskeyRegistrationRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AccountAuthenticatorPasskeyRegistrationRequest
- Throws:
IOException- if the JSON string is invalid with respect to AccountAuthenticatorPasskeyRegistrationRequest
-
toJson
Convert an instance of AccountAuthenticatorPasskeyRegistrationRequest to an JSON string- Returns:
- JSON string
-