Skip to content

Latest commit

 

History

History
43 lines (34 loc) · 1.43 KB

File metadata and controls

43 lines (34 loc) · 1.43 KB

GetVolumeResponse

Properties

Name Type Description Notes
id int
name str
cluster_id int
backend str
access_mode VolumeAccessMode
status VolumeStatus
pvc_name str
created_at datetime
size_gb int
storage_class str
provider ObjectStorageProvider
bucket str
region str
prefix str [optional]
read_only bool

Example

from platform_api_python_client.models.get_volume_response import GetVolumeResponse

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

# convert the object into a dict
get_volume_response_dict = get_volume_response_instance.to_dict()
# create an instance of GetVolumeResponse from a dict
get_volume_response_from_dict = GetVolumeResponse.from_dict(get_volume_response_dict)

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