models_v2.non_leaf_node_params module

class models_v2.non_leaf_node_params.NonLeafNodeParams(mtype=None, device_length=None, device_id=None, children_nodes=None)[source]

Bases: object

Implementation of the ‘NonLeafNodeParams’ model.

Specifies the parameters for a non leaf node.


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


classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary


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.


object: An instance of this structure class.