Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1.49 KB

Condition.md

File metadata and controls

35 lines (26 loc) · 1.49 KB

Condition

Condition contains details for one aspect of the current state of this API Resource.

Properties

Name Type Description Notes
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 A human-readable message describing the condition, including details or progress. Consumers should not parse this field.
reason str A brief, machine-readable reason for the condition's last transition. Use a stable CamelCase identifier and put human-readable details in message.
type ConditionType

Example

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)

[Back to Model list] [Back to API list] [Back to README]