Class AccountAuthenticatorUpdateRequest
java.lang.Object
co.ankatech.keymanagement.client.auth.model.AccountAuthenticatorUpdateRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class AccountAuthenticatorUpdateRequest
extends Object
The new name of one of your passkeys
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondisplayName(String displayName) booleanCreate an instance of AccountAuthenticatorUpdateRequest given an JSON stringThe new name of the passkey, at most 100 charactersinthashCode()voidsetDisplayName(String displayName) toJson()Convert an instance of AccountAuthenticatorUpdateRequest 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:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
AccountAuthenticatorUpdateRequest
public AccountAuthenticatorUpdateRequest()
-
-
Method Details
-
displayName
-
getDisplayName
The new name of the passkey, at most 100 characters- Returns:
- displayName
-
setDisplayName
-
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 AccountAuthenticatorUpdateRequest
-
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 AccountAuthenticatorUpdateRequest
-
fromJson
Create an instance of AccountAuthenticatorUpdateRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AccountAuthenticatorUpdateRequest
- Throws:
IOException- if the JSON string is invalid with respect to AccountAuthenticatorUpdateRequest
-
toJson
Convert an instance of AccountAuthenticatorUpdateRequest to an JSON string- Returns:
- JSON string
-