Class KeyRotationExecutionsResponse
java.lang.Object
co.ankatech.keymanagement.client.keymanagement.model.KeyRotationExecutionsResponse
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class KeyRotationExecutionsResponse
extends Object
A key's automatic-rotation schedule and one page of its executions, latest due first. Only the key's own rotation obligation is returned.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanexecutions(ScheduleExecutionPageResponse executions) Create an instance of KeyRotationExecutionsResponse given an JSON stringOne page of the schedule's executions, latest due first; an empty page when the key has no schedule.getKid()Stable key idThe key's rotation schedule in the scheduling service; absent when automatic rotation was never configured for the key.inthashCode()schedule(ScheduleResponse schedule) voidsetExecutions(ScheduleExecutionPageResponse executions) voidvoidsetSchedule(ScheduleResponse schedule) toJson()Convert an instance of KeyRotationExecutionsResponse 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_EXECUTIONS
- See Also:
-
SERIALIZED_NAME_KID
- See Also:
-
SERIALIZED_NAME_SCHEDULE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
KeyRotationExecutionsResponse
public KeyRotationExecutionsResponse()
-
-
Method Details
-
executions
-
getExecutions
One page of the schedule's executions, latest due first; an empty page when the key has no schedule.- Returns:
- executions
-
setExecutions
-
kid
-
getKid
Stable key id- Returns:
- kid
-
setKid
-
schedule
-
getSchedule
The key's rotation schedule in the scheduling service; absent when automatic rotation was never configured for the key.- Returns:
- schedule
-
setSchedule
-
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 KeyRotationExecutionsResponse
-
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 KeyRotationExecutionsResponse
-
fromJson
Create an instance of KeyRotationExecutionsResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of KeyRotationExecutionsResponse
- Throws:
IOException- if the JSON string is invalid with respect to KeyRotationExecutionsResponse
-
toJson
Convert an instance of KeyRotationExecutionsResponse to an JSON string- Returns:
- JSON string
-