models.ad_root_topology_object module

class models.ad_root_topology_object.AdRootTopologyObject(child_objects=None, description=None, dest_guid=None, display_name=None, distinguished_name=None, error_message=None, object_class=None, source_guid=None)[source]

Bases: object

Implementation of the ‘AdRootTopologyObject’ model.

Represents a node in AD Topology tree.

Attributes:
child_objects (list of object): Specifies the array of children of

this object.

description (string): Specifies the ‘description’ of an object. dest_guid (string): Specifies the guid of matching ‘source_guid’ from

production AD. This is looked up based on source_guid or distinguishedName attribute value.

display_name (string): Specifies the display name of the object in AD

Topology tree.

distinguished_name (string): Specifies the distinguished name of the

object in AD Topology tree. Eg: CN=Jone Doe,OU=Users,DC=corp,DC=cohesity,DC=com

error_message (string): Specifies the AD error while fetching the

ADRootTopologyObject.

object_class (string): Specifies the LDAP class name such as

‘user’,’computer’, ‘organizationalUnit’.

source_guid (string): Specifies the guid string of the object in AD

snapshot database.

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.