Class V1APIServiceCondition
java.lang.Object
io.kubernetes.client.openapi.models.V1APIServiceCondition
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-10-04T19:37:38.574271Z[Etc/UTC]",
comments="Generator version: 7.6.0")
public class V1APIServiceCondition
extends Object
APIServiceCondition describes the state of an APIService at a particular point
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
static V1APIServiceCondition
Create an instance of V1APIServiceCondition given an JSON stringLast time the condition transitioned from one status to another.Human-readable message indicating details about last transition.Unique, one-word, CamelCase reason for the condition's last transition.Status is the status of the condition.getType()
Type is the type of the condition.int
hashCode()
lastTransitionTime
(OffsetDateTime lastTransitionTime) void
setLastTransitionTime
(OffsetDateTime lastTransitionTime) void
setMessage
(String message) void
void
void
toJson()
Convert an instance of V1APIServiceCondition 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_MESSAGE
- See Also:
-
SERIALIZED_NAME_REASON
- See Also:
-
SERIALIZED_NAME_STATUS
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1APIServiceCondition
public V1APIServiceCondition()
-
-
Method Details
-
lastTransitionTime
-
getLastTransitionTime
Last time the condition transitioned from one status to another.- Returns:
- lastTransitionTime
-
setLastTransitionTime
-
message
-
getMessage
Human-readable message indicating details about last transition.- Returns:
- message
-
setMessage
-
reason
-
getReason
Unique, one-word, CamelCase reason for the condition's last transition.- Returns:
- reason
-
setReason
-
status
-
getStatus
Status is the status of the condition. Can be True, False, Unknown.- Returns:
- status
-
setStatus
-
type
-
getType
Type is the type of the condition.- 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 V1APIServiceCondition
-
fromJson
Create an instance of V1APIServiceCondition given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1APIServiceCondition
- Throws:
IOException
- if the JSON string is invalid with respect to V1APIServiceCondition
-
toJson
Convert an instance of V1APIServiceCondition to an JSON string- Returns:
- JSON string
-