models_v2.trusted_domain_params_2 module

class models_v2.trusted_domain_params_2.TrustedDomainParams2(enabled=None, trusted_domains=None, blacklisted_domains=None)[source]

Bases: object

Implementation of the ‘TrustedDomainParams2’ model.

Specifies the params of trusted domain info of an Active Directory.

Attributes:

enabled (bool): Specifies if trusted domain discovery is enabled. trusted_domains (list of TrustedDomain): Specifies a list of trusted

domains.

blacklisted_domains (list of string): Specifies a list of domains to

add to blacklist. These domains will be blacklisted in trusted domain discorvery.

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.