Class V1NamespaceStatus
java.lang.Object
io.kubernetes.client.openapi.models.V1NamespaceStatus
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-04-23T13:45:09.091597Z[Etc/UTC]")
public class V1NamespaceStatus
extends Object
NamespaceStatus is information about the current status of a Namespace.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddConditionsItem
(V1NamespaceCondition conditionsItem) conditions
(List<V1NamespaceCondition> conditions) boolean
static V1NamespaceStatus
Create an instance of V1NamespaceStatus given an JSON stringRepresents the latest available observations of a namespace's current state.getPhase()
Phase is the current lifecycle phase of the namespace.int
hashCode()
void
setConditions
(List<V1NamespaceCondition> conditions) void
toJson()
Convert an instance of V1NamespaceStatus 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_CONDITIONS
- See Also:
-
SERIALIZED_NAME_PHASE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1NamespaceStatus
public V1NamespaceStatus()
-
-
Method Details
-
conditions
-
addConditionsItem
-
getConditions
Represents the latest available observations of a namespace's current state.- Returns:
- conditions
-
setConditions
-
phase
-
getPhase
Phase is the current lifecycle phase of the namespace. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/- Returns:
- phase
-
setPhase
-
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 V1NamespaceStatus
-
fromJson
Create an instance of V1NamespaceStatus given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1NamespaceStatus
- Throws:
IOException
- if the JSON string is invalid with respect to V1NamespaceStatus
-
toJson
Convert an instance of V1NamespaceStatus to an JSON string- Returns:
- JSON string
-