Class V1NamespaceCondition
java.lang.Object
io.kubernetes.client.openapi.models.V1NamespaceCondition
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-04-23T13:45:09.091597Z[Etc/UTC]")
public class V1NamespaceCondition
extends Object
NamespaceCondition contains details about state of namespace.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic V1NamespaceConditionCreate an instance of V1NamespaceCondition given an JSON stringTime is a wrapper around time.Time which supports correct marshaling to YAML and JSON.Get messageGet reasonStatus of the condition, one of True, False, Unknown.getType()Type of namespace controller condition.inthashCode()lastTransitionTime(OffsetDateTime lastTransitionTime) voidsetLastTransitionTime(OffsetDateTime lastTransitionTime) voidsetMessage(String message) voidvoidvoidtoJson()Convert an instance of V1NamespaceCondition 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_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
-
V1NamespaceCondition
public V1NamespaceCondition()
-
-
Method Details
-
lastTransitionTime
-
getLastTransitionTime
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.- Returns:
- lastTransitionTime
-
setLastTransitionTime
-
message
-
getMessage
Get message- Returns:
- message
-
setMessage
-
reason
-
getReason
Get reason- Returns:
- reason
-
setReason
-
status
-
getStatus
Status of the condition, one of True, False, Unknown.- Returns:
- status
-
setStatus
-
type
-
getType
Type of namespace controller 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 V1NamespaceCondition
-
fromJson
Create an instance of V1NamespaceCondition given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of V1NamespaceCondition
- Throws:
IOException- if the JSON string is invalid with respect to V1NamespaceCondition
-
toJson
Convert an instance of V1NamespaceCondition to an JSON string- Returns:
- JSON string
-