Class V1alpha1StorageVersionCondition
java.lang.Object
io.kubernetes.client.openapi.models.V1alpha1StorageVersionCondition
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-02-02T17:56:12.287571Z[Etc/UTC]")
public class V1alpha1StorageVersionCondition
extends Object
Describes the state of the storageVersion at a certain point.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Create an instance of V1alpha1StorageVersionCondition given an JSON stringLast time the condition transitioned from one status to another.A human readable message indicating details about the transition.If set, this represents the .metadata.generation that the condition was set based upon.The reason for the condition's last transition.Status of the condition, one of True, False, Unknown.getType()
Type of the condition.int
hashCode()
lastTransitionTime
(OffsetDateTime lastTransitionTime) observedGeneration
(Long observedGeneration) void
setLastTransitionTime
(OffsetDateTime lastTransitionTime) void
setMessage
(String message) void
setObservedGeneration
(Long observedGeneration) void
void
void
toJson()
Convert an instance of V1alpha1StorageVersionCondition to an JSON stringtoString()
static void
validateJsonObject
(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_LAST_TRANSITION_TIME
- See Also:
-
SERIALIZED_NAME_MESSAGE
- See Also:
-
SERIALIZED_NAME_OBSERVED_GENERATION
- See Also:
-
SERIALIZED_NAME_REASON
- See Also:
-
SERIALIZED_NAME_STATUS
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1alpha1StorageVersionCondition
public V1alpha1StorageVersionCondition()
-
-
Method Details
-
lastTransitionTime
-
getLastTransitionTime
Last time the condition transitioned from one status to another.- Returns:
- lastTransitionTime
-
setLastTransitionTime
-
message
-
getMessage
A human readable message indicating details about the transition.- Returns:
- message
-
setMessage
-
observedGeneration
-
getObservedGeneration
If set, this represents the .metadata.generation that the condition was set based upon.- Returns:
- observedGeneration
-
setObservedGeneration
-
reason
-
getReason
The reason for the condition's last transition.- Returns:
- reason
-
setReason
-
status
-
getStatus
Status of the condition, one of True, False, Unknown.- Returns:
- status
-
setStatus
-
type
-
getType
Type of the condition.- Returns:
- type
-
setType
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonObject
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj
- JSON Object- Throws:
IOException
- if the JSON Object is invalid with respect to V1alpha1StorageVersionCondition
-
fromJson
Create an instance of V1alpha1StorageVersionCondition given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1alpha1StorageVersionCondition
- Throws:
IOException
- if the JSON string is invalid with respect to V1alpha1StorageVersionCondition
-
toJson
Convert an instance of V1alpha1StorageVersionCondition to an JSON string- Returns:
- JSON string
-