models.ad_object_restore_status module

class models.ad_object_restore_status.ADObjectRestoreStatus(dest_guid=None, object_flags=None, property_status_vec=None, source_guid=None, status=None, timetaken_ms=None)[source]

Bases: object

Implementation of the ‘ADObjectRestoreStatus’ model.

TODO: type model description here.

Attributes:
dest_guid (string): Destination guid string of the AD object that is

newly created on production AD corresponding to ‘source_guid’. If the object was restored from production AD recycle Bin, this value can be empty or set to same value as ‘source_guid’. If this value is non-empty and is different from source_guid, implying production AD object is a new object created in production AD as part of restore.

object_flags (int): Object result flags of type ADObjectFlags. property_status_vec (list of

ADObjectRestoreStatusADAttributeRestoreStatus): AD object attribute(property) restore status vector.

source_guid (string): Source guid of AD object that was restored. This

will not be empty. This is populated from the source of request argument.

status (ErrorProto): TODO: type description here. timetaken_ms (int): Time taken in milliseconds to restore the

individual object or attribute update. If this object restore was part of a batch, it shows the time taken once the operation was dispatched to AD for the object. This time can be useful in answering why some objects took long time to restore. Note that this time is not the elapsed time when the request was made from Magneto.

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.