models.ad_protection_source module

class models.ad_protection_source.AdProtectionSource(domain_controller=None, domain_name=None, name=None, owner_id=None, mtype=None, uuid=None)[source]

Bases: object

Implementation of the ‘AdProtectionSource’ model.

Specifies an object representing an AD entity.

Attributes:
domain_controller (AdDomainController): Specifies information about an

AD domain controller.

domain_name (string): Specifies the domain name corresponding to the

domain controller.

name (string): Specifies the domain name of the AD entity. owner_id (long|int): Specifies the entity id of the owner entity. mtype (TypeAdProtectionSourceEnum): Specifies the type of the managed

object in AD Protection Source. Specifies the kind of AD protection source. ‘kRootContainer’ indicates the entity is a root container to an AD domain controller. ‘kDomainController’ indicates the domain controller hosted in this physical server.

uuid (string): Specifies the UUID for the AD entity.

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.