Class OrchestrationKeyResponse
java.lang.Object
co.ankatech.keymanagement.client.keymanagement.model.OrchestrationKeyResponse
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class OrchestrationKeyResponse
extends Object
Response from key creation. Returns key identity + algorithm + lifecycle status.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic OrchestrationKeyResponseCreate an instance of OrchestrationKeyResponse given an JSON stringCryptographic algorithmKey creation timestampgetKid()Human-readable key identifierKey status reported by the cryptographic servicegetUuid()The created key's identity (key_aliases.id): the value a use-case asset records as keyIdentity and the audit trail as the key identity.inthashCode()voidsetAlgorithm(String algorithm) voidsetCreatedAt(String createdAt) voidvoidvoidtoJson()Convert an instance of OrchestrationKeyResponse 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_ALGORITHM
- See Also:
-
SERIALIZED_NAME_CREATED_AT
- See Also:
-
SERIALIZED_NAME_KID
- See Also:
-
SERIALIZED_NAME_STATUS
- See Also:
-
SERIALIZED_NAME_UUID
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
OrchestrationKeyResponse
public OrchestrationKeyResponse()
-
-
Method Details
-
algorithm
-
getAlgorithm
Cryptographic algorithm- Returns:
- algorithm
-
setAlgorithm
-
createdAt
-
getCreatedAt
Key creation timestamp- Returns:
- createdAt
-
setCreatedAt
-
kid
-
getKid
Human-readable key identifier- Returns:
- kid
-
setKid
-
status
-
getStatus
Key status reported by the cryptographic service- Returns:
- status
-
setStatus
-
uuid
-
getUuid
The created key's identity (key_aliases.id): the value a use-case asset records as keyIdentity and the audit trail as the key identity.- Returns:
- uuid
-
setUuid
-
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 OrchestrationKeyResponse
-
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 OrchestrationKeyResponse
-
fromJson
Create an instance of OrchestrationKeyResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of OrchestrationKeyResponse
- Throws:
IOException- if the JSON string is invalid with respect to OrchestrationKeyResponse
-
toJson
Convert an instance of OrchestrationKeyResponse to an JSON string- Returns:
- JSON string
-