Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 1.25 KB

File metadata and controls

37 lines (28 loc) · 1.25 KB

HardwarePresetResponse

Properties

Name Type Description Notes
id int
name str
gpu_type str
num_gpu int
cpu int
memory int
accelerator_resource_key str
node_affinity_labels Dict[str, str]
accelerator_memory int [optional]

Example

from platform_api_python_client.models.hardware_preset_response import HardwarePresetResponse

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

# convert the object into a dict
hardware_preset_response_dict = hardware_preset_response_instance.to_dict()
# create an instance of HardwarePresetResponse from a dict
hardware_preset_response_from_dict = HardwarePresetResponse.from_dict(hardware_preset_response_dict)

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