Class V1ComponentCondition
java.lang.Object
io.kubernetes.client.openapi.models.V1ComponentCondition
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-04-23T13:45:09.091597Z[Etc/UTC]")
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 TypeMethodDescriptionboolean
static V1ComponentCondition
Create 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.int
hashCode()
void
void
setMessage
(String message) void
void
toJson()
Convert an instance of V1ComponentCondition 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_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
-
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 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
-