models.preferred_domain_controller module

class models.preferred_domain_controller.PreferredDomainController(domain_controllers=None, domain_name=None)[source]

Bases: object

Implementation of the ‘PreferredDomainController’ model.

Specifies Preferred domain controllers (DCs) for an Active Directory domain.

Attributes:
domain_controllers (list of string): List of Domain controllers DCs in

FQDN format that are mapped to an Active Directory Domain name.

domain_name (string): Specifies the Domain name or the trusted domain

of an Active Directory.

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.