Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.03 KB

File metadata and controls

36 lines (27 loc) · 1.03 KB

FlavorPayload

Properties

Name Type Description Notes
cpu int
disk int
gpu str
gpu_count int
is_public bool
name str
ram float
region_name str

Example

from hyperstack.models.flavor_payload import FlavorPayload

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

# convert the object into a dict
flavor_payload_dict = flavor_payload_instance.to_dict()
# create an instance of FlavorPayload from a dict
flavor_payload_from_dict = FlavorPayload.from_dict(flavor_payload_dict)

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