Class RotationAdmissibilityResponse

java.lang.Object
co.ankatech.keymanagement.client.keymanagement.model.RotationAdmissibilityResponse

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.23.0") public class RotationAdmissibilityResponse extends Object
Server-authoritative rotation admissibility preview for a source key.
  • Field Details

  • Constructor Details

    • RotationAdmissibilityResponse

      public RotationAdmissibilityResponse()
  • Method Details

    • candidates

      public RotationAdmissibilityResponse candidates(@Nullable List<CandidateVerdict> candidates)
    • addCandidatesItem

      public RotationAdmissibilityResponse addCandidatesItem(CandidateVerdict candidatesItem)
    • getCandidates

      @Nullable public List<CandidateVerdict> getCandidates()
      Per-candidate rotation admissibility verdicts (one entry per catalogue algorithm).
      Returns:
      candidates
    • setCandidates

      public void setCandidates(@Nullable List<CandidateVerdict> candidates)
    • sourceAlg

      public RotationAdmissibilityResponse sourceAlg(@Nullable String sourceAlg)
    • getSourceAlg

      @Nullable public String getSourceAlg()
      Source key current PRIMARY algorithm.
      Returns:
      sourceAlg
    • setSourceAlg

      public void setSourceAlg(@Nullable String sourceAlg)
    • sourceKid

      public RotationAdmissibilityResponse sourceKid(@Nullable String sourceKid)
    • getSourceKid

      @Nullable public String getSourceKid()
      Source Stable KID the verdicts were computed for.
      Returns:
      sourceKid
    • setSourceKid

      public void setSourceKid(@Nullable String sourceKid)
    • sourceLevel

      public RotationAdmissibilityResponse sourceLevel(@Nullable Integer sourceLevel)
    • getSourceLevel

      @Nullable public Integer getSourceLevel()
      Source weakest-link NIST security level (1-5), null when unresolvable.
      Returns:
      sourceLevel
    • setSourceLevel

      public void setSourceLevel(@Nullable Integer sourceLevel)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      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 RotationAdmissibilityResponse
    • 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 of validateJsonElement(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 RotationAdmissibilityResponse
    • fromJson

      public static RotationAdmissibilityResponse fromJson(String jsonString) throws IOException
      Create an instance of RotationAdmissibilityResponse given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of RotationAdmissibilityResponse
      Throws:
      IOException - if the JSON string is invalid with respect to RotationAdmissibilityResponse
    • toJson

      public String toJson()
      Convert an instance of RotationAdmissibilityResponse to an JSON string
      Returns:
      JSON string