models.ad_attribute module

class models.ad_attribute.AdAttribute(ad_attribute_flags=None, destination_value=None, error_message=None, name=None, same_value=None, source_value=None)[source]

Bases: object

Implementation of the ‘AdAttribute’ model.

Represnts the information about the AD attribute of the object. It also contains information regarding whether it is system attribute and whether the attribute is equal on both Snapshot and Production AD.

Attributes:
ad_attribute_flags (list of AdAttributeFlagEnum): Specifies the flags

related to the attribute of the AD object. ‘kEqual’ indicates the attribute value of AD object from Snapshot and Production AD are equal. ‘kNotEqual’ indicates the attribute value of AD object from Snapshot and Production AD are not equal. ‘kNotFound’ indicates attribute of the AD object is missing from both Snapshot and Production AD. ‘kSystem’ indicates this is system attribute. This can only be updated by the AD internal component. ‘kMultiValue’ indicates that the attribute is mutli-value attribute. This attribute supports mutli-value merge during attribute restore operation.

destination_value (AttributeValue): Represents the information about

the values of attribute of the ADObject.

error_message (string): Specifies the error message regarding the

attribute

name (string): Specifies the name of the attribute of the AD object. same_value (AttributeValue): Represents the information about the

values of attribute of the ADObject.

source_value (AttributeValue): Represents the information about the

values of attribute of the ADObject.

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.