Class AuthorizationChallengePath
java.lang.Object
co.ankatech.keymanagement.client.auth.model.AuthorizationChallengePath
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class AuthorizationChallengePath
extends Object
An alternative that would admit
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumThe kind of the path. passkey-enrolment is taken with passkey-registration-options and passkey-registration; totp-enrolment with totp-enrolment and totp-enrolment-verification, after a password the person proved or chose; federated with the action federated and this path's idp_id, in the browser. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddMissingPropertiesItem(String missingPropertiesItem) addRequiredPropertiesItem(String requiredPropertiesItem) displayName(String displayName) booleanstatic AuthorizationChallengePathCreate an instance of AuthorizationChallengePath given an JSON stringtype=federated only: the name the person recognises the identity provider bygetIdpId()type=federated only: the identity provider to sign in through, presented as idp_id with the action federatedThe required properties the passkey just used lacksThe capability properties the authenticator must holdgetType()The kind of the path. passkey-enrolment is taken with passkey-registration-options and passkey-registration; totp-enrolment with totp-enrolment and totp-enrolment-verification, after a password the person proved or chose; federated with the action federated and this path's idp_id, in the browser.The wire value oftype: what the server sent, verbatim.inthashCode()missingProperties(List<String> missingProperties) requiredProperties(List<String> requiredProperties) voidsetDisplayName(String displayName) voidvoidsetMissingProperties(List<String> missingProperties) voidsetRequiredProperties(List<String> requiredProperties) voidtoJson()Convert an instance of AuthorizationChallengePath 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_TYPE
- See Also:
-
SERIALIZED_NAME_REQUIRED_PROPERTIES
- See Also:
-
SERIALIZED_NAME_MISSING_PROPERTIES
- See Also:
-
SERIALIZED_NAME_IDP_ID
- See Also:
-
SERIALIZED_NAME_DISPLAY_NAME
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
AuthorizationChallengePath
public AuthorizationChallengePath()
-
-
Method Details
-
getTypeAsString
The wire value oftype: what the server sent, verbatim.- For a value this release declares, the same wire value the enum names.
- For a value it does not declare (one a later server added), the server's wire value verbatim,
while
getType()readsUNKNOWN_DEFAULT_OPEN_API; writing this model sends that wire value back, never the sentinel. - For an absent member,
null.
- Returns:
- the wire value, or
nullwhen the member is absent
-
type
-
getType
The kind of the path. passkey-enrolment is taken with passkey-registration-options and passkey-registration; totp-enrolment with totp-enrolment and totp-enrolment-verification, after a password the person proved or chose; federated with the action federated and this path's idp_id, in the browser.- Returns:
- type
-
setType
-
requiredProperties
-
addRequiredPropertiesItem
-
getRequiredProperties
The capability properties the authenticator must hold- Returns:
- requiredProperties
-
setRequiredProperties
-
missingProperties
-
addMissingPropertiesItem
-
getMissingProperties
The required properties the passkey just used lacks- Returns:
- missingProperties
-
setMissingProperties
-
idpId
-
getIdpId
type=federated only: the identity provider to sign in through, presented as idp_id with the action federated- Returns:
- idpId
-
setIdpId
-
displayName
-
getDisplayName
type=federated only: the name the person recognises the identity provider by- 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 AuthorizationChallengePath
-
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 AuthorizationChallengePath
-
fromJson
Create an instance of AuthorizationChallengePath given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AuthorizationChallengePath
- Throws:
IOException- if the JSON string is invalid with respect to AuthorizationChallengePath
-
toJson
Convert an instance of AuthorizationChallengePath to an JSON string- Returns:
- JSON string
-