Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.08 KB

File metadata and controls

30 lines (21 loc) · 1.08 KB

PortsByController

Properties

Name Type Description Notes
compute_nodes List[PortsByNode] The compute nodes that the ports are part of. [optional]
controller_id str The id of the controller that the ports are part of. [optional]

Example

from cyperf.models.ports_by_controller import PortsByController

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

# convert the object into a dict
ports_by_controller_dict = ports_by_controller_instance.to_dict()
# create an instance of PortsByController from a dict
ports_by_controller_from_dict = PortsByController.from_dict(ports_by_controller_dict)

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