models.custom_unix_id_attributes module

class models.custom_unix_id_attributes.CustomUnixIdAttributes(gid_attr_name=None, uid_attr_name=None)[source]

Bases: object

Implementation of the ‘CustomUnixIdAttributes’ model.

Specifies the custom attributes when mapping type is set to ‘kCustomAttributes’. It defines the attribute names to derive the mapping for a user of an Active Directory domain.

Attributes:
gid_attr_name (string): Specifies the custom field name in Active

Directory user properties to get the GID.

uid_attr_name (string): Specifies the custom field name in Active

Directory user properties to get the UID.

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.