Class V1CertificateSigningRequestCondition
java.lang.Object
io.kubernetes.client.openapi.models.V1CertificateSigningRequestCondition
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-10-04T19:37:38.574271Z[Etc/UTC]",
comments="Generator version: 7.6.0")
public class V1CertificateSigningRequestCondition
extends Object
CertificateSigningRequestCondition describes a condition of a CertificateSigningRequest object
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Create an instance of V1CertificateSigningRequestCondition given an JSON stringlastTransitionTime is the time the condition last transitioned from one status to another.lastUpdateTime is the time of the last update to this conditionmessage contains a human readable message with details about the request statereason indicates a brief reason for the request statestatus of the condition, one of True, False, Unknown.getType()
type of the condition.int
hashCode()
lastTransitionTime
(OffsetDateTime lastTransitionTime) lastUpdateTime
(OffsetDateTime lastUpdateTime) void
setLastTransitionTime
(OffsetDateTime lastTransitionTime) void
setLastUpdateTime
(OffsetDateTime lastUpdateTime) void
setMessage
(String message) void
void
void
toJson()
Convert an instance of V1CertificateSigningRequestCondition to an JSON stringtoString()
static void
validateJsonElement
(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_LAST_TRANSITION_TIME
- See Also:
-
SERIALIZED_NAME_LAST_UPDATE_TIME
- See Also:
-
SERIALIZED_NAME_MESSAGE
- See Also:
-
SERIALIZED_NAME_REASON
- See Also:
-
SERIALIZED_NAME_STATUS
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1CertificateSigningRequestCondition
public V1CertificateSigningRequestCondition()
-
-
Method Details
-
lastTransitionTime
-
getLastTransitionTime
lastTransitionTime is the time the condition last transitioned from one status to another. If unset, when a new condition type is added or an existing condition's status is changed, the server defaults this to the current time.- Returns:
- lastTransitionTime
-
setLastTransitionTime
-
lastUpdateTime
-
getLastUpdateTime
lastUpdateTime is the time of the last update to this condition- Returns:
- lastUpdateTime
-
setLastUpdateTime
-
message
-
getMessage
message contains a human readable message with details about the request state- Returns:
- message
-
setMessage
-
reason
-
getReason
reason indicates a brief reason for the request state- Returns:
- reason
-
setReason
-
status
-
getStatus
status of the condition, one of True, False, Unknown. Approved, Denied, and Failed conditions may not be \"False\" or \"Unknown\".- Returns:
- status
-
setStatus
-
type
-
getType
type of the condition. Known conditions are \"Approved\", \"Denied\", and \"Failed\". An \"Approved\" condition is added via the /approval subresource, indicating the request was approved and should be issued by the signer. A \"Denied\" condition is added via the /approval subresource, indicating the request was denied and should not be issued by the signer. A \"Failed\" condition is added via the /status subresource, indicating the signer failed to issue the certificate. Approved and Denied conditions are mutually exclusive. Approved, Denied, and Failed conditions cannot be removed once added. Only one condition of a given type is allowed.- Returns:
- type
-
setType
-
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 V1CertificateSigningRequestCondition
-
fromJson
Create an instance of V1CertificateSigningRequestCondition given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1CertificateSigningRequestCondition
- Throws:
IOException
- if the JSON string is invalid with respect to V1CertificateSigningRequestCondition
-
toJson
Convert an instance of V1CertificateSigningRequestCondition to an JSON string- Returns:
- JSON string
-