models.attribute_value module

class models.attribute_value.AttributeValue(flags=None, values=None)[source]

Bases: object

Implementation of the ‘AttributeValue’ model.

Represents the information about the values of attribute of the ADObject.

flags (list of FlagEnum): Specifies the flags related to the attribute

values of the AD object. ‘kError’ indicates error in conversion of AD Object value to string. The value in the AdAttributValue contains the error message. ‘kTruncated’ indicates the multi valued attribute is truncated when value exceeded ‘truncate_multivalues’ value specified in the request. ‘kCSV’ indicates content in ‘values’ is a comma separated value (CSV) format of a complex object.

values (list of string): Specifies list of values for the attribute.

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.