Class V1ContainerStateWaiting
java.lang.Object
io.kubernetes.client.openapi.models.V1ContainerStateWaiting
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-04-23T13:45:09.091597Z[Etc/UTC]")
public class V1ContainerStateWaiting
extends Object
ContainerStateWaiting is a waiting state of a container.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
static V1ContainerStateWaiting
Create an instance of V1ContainerStateWaiting given an JSON stringMessage regarding why the container is not yet running.(brief) reason the container is not yet running.int
hashCode()
void
setMessage
(String message) void
toJson()
Convert an instance of V1ContainerStateWaiting 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_MESSAGE
- See Also:
-
SERIALIZED_NAME_REASON
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1ContainerStateWaiting
public V1ContainerStateWaiting()
-
-
Method Details
-
message
-
getMessage
Message regarding why the container is not yet running.- Returns:
- message
-
setMessage
-
reason
-
getReason
(brief) reason the container is not yet running.- Returns:
- reason
-
setReason
-
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 V1ContainerStateWaiting
-
fromJson
Create an instance of V1ContainerStateWaiting given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1ContainerStateWaiting
- Throws:
IOException
- if the JSON string is invalid with respect to V1ContainerStateWaiting
-
toJson
Convert an instance of V1ContainerStateWaiting to an JSON string- Returns:
- JSON string
-