models.device_tree_child_device module

class models.device_tree_child_device.DeviceTreeChildDevice(device=None, device_type=None, partition_slice=None)[source]

Bases: object

Implementation of the ‘DeviceTree_ChildDevice’ model.

TODO: type model description here.

Attributes:

device (DeviceTree): TODO: type description here. device_type (int): This specifies how the parent device is using this

child device.

partition_slice (DeviceTreePartitionSlice): TODO: type description

here.

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.