models_v2.trusted_domain_params module¶
-
class
models_v2.trusted_domain_params.
TrustedDomainParams
(enabled=None, trusted_domains=None, blacklisted_domains=None)[source]¶ Bases:
object
Implementation of the ‘TrustedDomainParams’ model.
Specifies the params related to trusted domains.
- 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.