models_v2.device_tree_non_leaf_node module

class models_v2.device_tree_non_leaf_node.DeviceTreeNonLeafNode(mtype=None, device_length=None, device_id=None, children_nodes=None)[source]

Bases: object

Implementation of the ‘DeviceTreeNonLeafNode’ model.

Specifies the parameters of a non leaf node in device tree.

Attributes:

mtype (Type9Enum): Specifies the children nodes combine type. device_length (long|int): Specifies the length of device. device_id (long|int): Specifies the id of device. children_nodes (list of DeviceTreeNode): Specifies a list of children

nodes.

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.