Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.13 KB

Volume.md

File metadata and controls

34 lines (25 loc) · 1.13 KB

Volume

A storage volume.

Properties

Name Type Description Notes
id str The storage volume ID (auto-generated) (read-only). [optional] [readonly]
name str The storage volume name.
description str The storage volume description. [optional]
type str The storage volume type. Can only be set at creation time, ignored on updates.
size int The storage volume size (in bytes), can only be increased.

Example

from kowabunga.models.volume import Volume

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

# convert the object into a dict
volume_dict = volume_instance.to_dict()
# create an instance of Volume from a dict
volume_from_dict = Volume.from_dict(volume_dict)

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