Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 1.45 KB

NodePowerUsageModel.md

File metadata and controls

39 lines (30 loc) · 1.45 KB

NodePowerUsageModel

Properties

Name Type Description Notes
flavors List[str] [optional]
nexgen_name str [optional]
openstack_id str
openstack_name str [optional]
organizations List[int] [optional]
power_usages PowerUsageModel [optional]
projects List[str] [optional]
provision_date datetime [optional]
status str [optional]
stocks List[NodeStocksPayload] [optional]
sunset_date datetime [optional]

Example

from hyperstack.models.node_power_usage_model import NodePowerUsageModel

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

# convert the object into a dict
node_power_usage_model_dict = node_power_usage_model_instance.to_dict()
# create an instance of NodePowerUsageModel from a dict
node_power_usage_model_from_dict = NodePowerUsageModel.from_dict(node_power_usage_model_dict)

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