models.ad_object_meta_data module

class models.ad_object_meta_data.AdObjectMetaData(distinguished_name=None, domain=None, email=None, guid=None, name=None, object_type=None, sam_account_name=None)[source]

Bases: object

Implementation of the ‘AdObjectMetaData’ model.

Specifies details about the AD objects.

distinguished_name (string): Specifies the Distinguished name of the

AD object.

domain (string): Domain of the AD object. email (string): Specifies the email of the AD object of type user or


guid (string): Specifies the Guid of the AD object. name (string): Specifies the name of the AD object. object_type (string): Specifies the type of the AD Object. The type

may be user, computer, group or ou.

sam_account_name (string): Specifies the sam account name of the AD


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.