Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.07 KB

File metadata and controls

33 lines (24 loc) · 1.07 KB

FlavorObjectFields

Properties

Name Type Description Notes
cpu int [optional]
disk int [optional]
gpu str [optional]
gpu_count int [optional]
ram float [optional]

Example

from hyperstack.models.flavor_object_fields import FlavorObjectFields

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

# convert the object into a dict
flavor_object_fields_dict = flavor_object_fields_instance.to_dict()
# create an instance of FlavorObjectFields from a dict
flavor_object_fields_from_dict = FlavorObjectFields.from_dict(flavor_object_fields_dict)

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