models_v2.list_of_disks module

class models_v2.list_of_disks.ListOfDisks(disks_list=None)[source]

Bases: object

Implementation of the ‘List of Disks’ model.

Specifies the list of disks that belong to node.

Attributes:

disks_list (list of DiskDetails): Specifies the list of disks.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary

Args:

dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.

Returns:

object: An instance of this structure class.