Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.52 KB

ConditionBase.md

File metadata and controls

34 lines (25 loc) · 1.52 KB

ConditionBase

Base condition structure following Kubernetes API conventions. Use with allOf to add a specific type enum.

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.

Example

from flightctl.models.condition_base import ConditionBase

# TODO update the JSON string below
json = "{}"
# create an instance of ConditionBase from a JSON string
condition_base_instance = ConditionBase.from_json(json)
# print the JSON string representation of the object
print(ConditionBase.to_json())

# convert the object into a dict
condition_base_dict = condition_base_instance.to_dict()
# create an instance of ConditionBase from a dict
condition_base_from_dict = ConditionBase.from_dict(condition_base_dict)

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