Class V1ComponentCondition
java.lang.Object
io.kubernetes.client.openapi.models.V1ComponentCondition
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-10-04T19:37:38.574271Z[Etc/UTC]",
comments="Generator version: 7.6.0")
public class V1ComponentCondition
extends Object
Information about the condition of a component.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic V1ComponentConditionCreate an instance of V1ComponentCondition given an JSON stringgetError()Condition error code for a component.Message about the condition for a component.Status of the condition for a component.getType()Type of condition for a component.inthashCode()voidvoidsetMessage(String message) voidvoidtoJson()Convert an instance of V1ComponentCondition to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_ERROR
- See Also:
-
SERIALIZED_NAME_MESSAGE
- See Also:
-
SERIALIZED_NAME_STATUS
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1ComponentCondition
public V1ComponentCondition()
-
-
Method Details
-
error
-
getError
Condition error code for a component. For example, a health check error code.- Returns:
- error
-
setError
-
message
-
getMessage
Message about the condition for a component. For example, information about a health check.- Returns:
- message
-
setMessage
-
status
-
getStatus
Status of the condition for a component. Valid values for \"Healthy\": \"True\", \"False\", or \"Unknown\".- Returns:
- status
-
setStatus
-
type
-
getType
Type of condition for a component. Valid value: \"Healthy\"- 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 V1ComponentCondition
-
fromJson
Create an instance of V1ComponentCondition given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of V1ComponentCondition
- Throws:
IOException- if the JSON string is invalid with respect to V1ComponentCondition
-
toJson
Convert an instance of V1ComponentCondition to an JSON string- Returns:
- JSON string
-