Condition contains details for one aspect of the current state of this API Resource.
Name | Type | Description | Notes |
---|---|---|---|
type | ConditionType | ||
status | ConditionStatus | ||
observed_generation | int | The .metadata.generation that the condition was set based upon. | [optional] |
last_transition_time | datetime | The last time the condition transitioned from one status to another. | |
message | str | Human readable message indicating details about last transition. | |
reason | str | (brief) reason for the condition's last transition. |
from flightctl.models.condition import Condition
# TODO update the JSON string below
json = "{}"
# create an instance of Condition from a JSON string
condition_instance = Condition.from_json(json)
# print the JSON string representation of the object
print(Condition.to_json())
# convert the object into a dict
condition_dict = condition_instance.to_dict()
# create an instance of Condition from a dict
condition_from_dict = Condition.from_dict(condition_dict)