models.filter_ip_config module¶
-
class
models.filter_ip_config.
FilterIpConfig
(allowed_ip_addresses=None, denied_ip_addresses=None)[source]¶ Bases:
object
Implementation of the ‘FilterIpConfig’ model.
Specifies the list of IP addresses that are allowed or denied at the job level. Allowed IPs and Denied IPs cannot be used together.
- Attributes:
- allowed_ip_addresses (list of string): Specifies the IP addresses that
should be used exclusively at the job level. Cannot be set if deniedIpAddresses is set.
- denied_ip_addresses (list of string): Specifies the IP addresses that
should not be used at the job level. Cannot be set if allowedIpAddresses is set.
-
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.