Class V1PriorityLevelConfigurationCondition
java.lang.Object
io.kubernetes.client.openapi.models.V1PriorityLevelConfigurationCondition
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-02-04T19:05:53.712211Z[Etc/UTC]",
comments="Generator version: 7.6.0")
public class V1PriorityLevelConfigurationCondition
extends Object
PriorityLevelConfigurationCondition defines the condition of priority level.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Create an instance of V1PriorityLevelConfigurationCondition given an JSON string`lastTransitionTime` is the last time the condition transitioned from one status to another.`message` is a human-readable message indicating details about last transition.`reason` is a unique, one-word, CamelCase reason for the condition's last transition.`status` is the status of the condition.getType()
`type` is the type of the condition.int
hashCode()
lastTransitionTime
(OffsetDateTime lastTransitionTime) void
setLastTransitionTime
(OffsetDateTime lastTransitionTime) void
setMessage
(String message) void
void
void
toJson()
Convert an instance of V1PriorityLevelConfigurationCondition to an JSON stringtoString()
static void
validateJsonElement
(com.google.gson.JsonElement jsonElement) Validates the JSON Element 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
-
V1PriorityLevelConfigurationCondition
public V1PriorityLevelConfigurationCondition()
-
-
Method Details
-
lastTransitionTime
-
getLastTransitionTime
`lastTransitionTime` is the last time the condition transitioned from one status to another.- Returns:
- lastTransitionTime
-
setLastTransitionTime
-
message
-
getMessage
`message` is a human-readable message indicating details about last transition.- Returns:
- message
-
setMessage
-
reason
-
getReason
`reason` is a unique, one-word, CamelCase reason for the condition's last transition.- Returns:
- reason
-
setReason
-
status
-
getStatus
`status` is the status of the condition. Can be True, False, Unknown. Required.- Returns:
- status
-
setStatus
-
type
-
getType
`type` is the type of the condition. Required.- Returns:
- type
-
setType
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement
- JSON Element- Throws:
IOException
- if the JSON Element is invalid with respect to V1PriorityLevelConfigurationCondition
-
fromJson
Create an instance of V1PriorityLevelConfigurationCondition given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1PriorityLevelConfigurationCondition
- Throws:
IOException
- if the JSON string is invalid with respect to V1PriorityLevelConfigurationCondition
-
toJson
Convert an instance of V1PriorityLevelConfigurationCondition to an JSON string- Returns:
- JSON string
-