models.ad_objects_restore_status module

class models.ad_objects_restore_status.AdObjectsRestoreStatus(ad_objects_restore_info=None, num_objects_failed=None, num_objects_succeeded=None)[source]

Bases: object

Implementation of the ‘AdObjectsRestoreStatus’ model.

Represents the details about the status of restore of the AD objects. It also has details about the number of objects whose restore is successfull, failure or in progress.

Attributes:
ad_objects_restore_info (list of AdObjectRestoreInformation):

Specifies the status of all the AD Objects which were requested to be restored.

num_objects_failed (int): Specifies the number of AD Objects whose

restore is in progress.

num_objects_succeeded (int): Specifies the number of AD Objects whose

restore is successfull.

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.