Class V1PodFailurePolicyOnPodConditionsPattern
java.lang.Object
io.kubernetes.client.openapi.models.V1PodFailurePolicyOnPodConditionsPattern
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-02-02T17:56:12.287571Z[Etc/UTC]")
public class V1PodFailurePolicyOnPodConditionsPattern
extends Object
PodFailurePolicyOnPodConditionsPattern describes a pattern for matching an actual pod condition type.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Create an instance of V1PodFailurePolicyOnPodConditionsPattern given an JSON stringSpecifies the required Pod condition status.getType()
Specifies the required Pod condition type.int
hashCode()
void
void
toJson()
Convert an instance of V1PodFailurePolicyOnPodConditionsPattern 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_STATUS
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1PodFailurePolicyOnPodConditionsPattern
public V1PodFailurePolicyOnPodConditionsPattern()
-
-
Method Details
-
status
-
getStatus
Specifies the required Pod condition status. To match a pod condition it is required that the specified status equals the pod condition status. Defaults to True.- Returns:
- status
-
setStatus
-
type
-
getType
Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type.- 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 V1PodFailurePolicyOnPodConditionsPattern
-
fromJson
public static V1PodFailurePolicyOnPodConditionsPattern fromJson(String jsonString) throws IOException Create an instance of V1PodFailurePolicyOnPodConditionsPattern given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1PodFailurePolicyOnPodConditionsPattern
- Throws:
IOException
- if the JSON string is invalid with respect to V1PodFailurePolicyOnPodConditionsPattern
-
toJson
Convert an instance of V1PodFailurePolicyOnPodConditionsPattern to an JSON string- Returns:
- JSON string
-