Class V1FlowSchemaCondition
java.lang.Object
io.kubernetes.client.openapi.models.V1FlowSchemaCondition
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-04-23T13:45:09.091597Z[Etc/UTC]")
public class V1FlowSchemaCondition
extends Object
FlowSchemaCondition describes conditions for a FlowSchema.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic V1FlowSchemaConditionCreate an instance of V1FlowSchemaCondition 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.inthashCode()lastTransitionTime(OffsetDateTime lastTransitionTime) voidsetLastTransitionTime(OffsetDateTime lastTransitionTime) voidsetMessage(String message) voidvoidvoidtoJson()Convert an instance of V1FlowSchemaCondition 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
-
V1FlowSchemaCondition
public V1FlowSchemaCondition()
-
-
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
-
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 V1FlowSchemaCondition
-
fromJson
Create an instance of V1FlowSchemaCondition given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of V1FlowSchemaCondition
- Throws:
IOException- if the JSON string is invalid with respect to V1FlowSchemaCondition
-
toJson
Convert an instance of V1FlowSchemaCondition to an JSON string- Returns:
- JSON string
-