Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 1.09 KB

File metadata and controls

31 lines (23 loc) · 1.09 KB

Resource

Properties

Name Type Description Notes
requested object Запрошенное количество ресурса [optional]
allocatable object Доступное количество [optional]
capacity object Общее количество [optional]
used object Используемое количество [optional]

Example

from timeweb_cloud_api.models.resource import Resource

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

# convert the object into a dict
resource_dict = resource_instance.to_dict()
# create an instance of Resource from a dict
resource_form_dict = resource.from_dict(resource_dict)

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