Class V1alpha1MigrationCondition
java.lang.Object
io.kubernetes.client.openapi.models.V1alpha1MigrationCondition
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-04-23T13:45:09.091597Z[Etc/UTC]")
public class V1alpha1MigrationCondition
extends Object
Describes the state of a migration at a certain point.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic V1alpha1MigrationConditionCreate an instance of V1alpha1MigrationCondition given an JSON stringThe last time this condition was updated.A human readable message indicating details about the transition.The reason for the condition's last transition.Status of the condition, one of True, False, Unknown.getType()Type of the condition.inthashCode()lastUpdateTime(OffsetDateTime lastUpdateTime) voidsetLastUpdateTime(OffsetDateTime lastUpdateTime) voidsetMessage(String message) voidvoidvoidtoJson()Convert an instance of V1alpha1MigrationCondition to an JSON stringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
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
-
V1alpha1MigrationCondition
public V1alpha1MigrationCondition()
-
-
Method Details
-
lastUpdateTime
-
getLastUpdateTime
The last time this condition was updated.- Returns:
- lastUpdateTime
-
setLastUpdateTime
-
message
-
getMessage
A human readable message indicating details about the transition.- Returns:
- message
-
setMessage
-
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 V1alpha1MigrationCondition
-
fromJson
Create an instance of V1alpha1MigrationCondition given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of V1alpha1MigrationCondition
- Throws:
IOException- if the JSON string is invalid with respect to V1alpha1MigrationCondition
-
toJson
Convert an instance of V1alpha1MigrationCondition to an JSON string- Returns:
- JSON string
-