Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 933 Bytes

File metadata and controls

30 lines (21 loc) · 933 Bytes

DrainModeIn

Properties

Name Type Description Notes
enabled bool If the drain mode is enabled
reason str The reason for drain mode

Example

from compute_api_client.models.drain_mode_in import DrainModeIn

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

# convert the object into a dict
drain_mode_in_dict = drain_mode_in_instance.to_dict()
# create an instance of DrainModeIn from a dict
drain_mode_in_from_dict = DrainModeIn.from_dict(drain_mode_in_dict)

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