Class SkippedEntry
java.lang.Object
co.ankatech.keymanagement.client.keymanagement.model.SkippedEntry
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class SkippedEntry
extends Object
An entry skipped because it already exists (an idempotent re-import).
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic SkippedEntryCreate an instance of SkippedEntry given an JSON stringEntry type: - PRIVATE_KEY: a private-key entry that already exists - TRUSTED_CERTIFICATE: a trusted-certificate entry that already existsgetKid()Identifier that already exists in the tenant.Reason the entry was skipped.The entry's alias in the original keystore file.inthashCode()voidsetEntryType(String entryType) voidvoidvoidsetSourceAlias(String sourceAlias) sourceAlias(String sourceAlias) toJson()Convert an instance of SkippedEntry 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_ENTRY_TYPE
- See Also:
-
SERIALIZED_NAME_KID
- See Also:
-
SERIALIZED_NAME_REASON
- See Also:
-
SERIALIZED_NAME_SOURCE_ALIAS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
SkippedEntry
public SkippedEntry()
-
-
Method Details
-
entryType
-
getEntryType
Entry type: - PRIVATE_KEY: a private-key entry that already exists - TRUSTED_CERTIFICATE: a trusted-certificate entry that already exists- Returns:
- entryType
-
setEntryType
-
kid
-
getKid
Identifier that already exists in the tenant.- Returns:
- kid
-
setKid
-
reason
-
getReason
Reason the entry was skipped.- Returns:
- reason
-
setReason
-
sourceAlias
-
getSourceAlias
The entry's alias in the original keystore file.- Returns:
- sourceAlias
-
setSourceAlias
-
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 SkippedEntry
-
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 SkippedEntry
-
fromJson
Create an instance of SkippedEntry given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SkippedEntry
- Throws:
IOException- if the JSON string is invalid with respect to SkippedEntry
-
toJson
Convert an instance of SkippedEntry to an JSON string- Returns:
- JSON string
-