ruạṛ
a O��f�c � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s e Zd ZdZdZdZdZdZdZdZ dd � Z ed d� �Zej dd� �Zed d� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd � �Zej d!d � �Zed"d#� �Zej d$d#� �Zed%d&� �Zej d'd&� �Zed(d)� �Zej d*d)� �Zed+d,� �Zej d-d,� �Zed.d/� �Zej d0d/� �Zed1d2� �Zej d3d2� �Zed4d5� �Zej d6d5� �Zed7d8� �Zej d9d8� �Zed:d;� �Zej d<d;� �Zed=d>� �Zej d?d>� �Zd@dA� ZdBdC� Z dDdE� Z!dFS )G�NetworkFirewallPolicyz0 Description of NetworkFirewall Policy. �CREATING�UPDATING�ACTIVE�DELETING�DELETED�FAILEDc K s� dddddddddddddd d dddd �| _ ddddddddddddddddddd �| _d | _d | _d | _d | _d | _d | _d | _d | _ d | _ d | _d | _d | _ d | _d | _d | _d | _d | _d | _d S )!a� Initializes a new NetworkFirewallPolicy object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param id: The value to assign to the id property of this NetworkFirewallPolicy. :type id: str :param compartment_id: The value to assign to the compartment_id property of this NetworkFirewallPolicy. :type compartment_id: str :param display_name: The value to assign to the display_name property of this NetworkFirewallPolicy. :type display_name: str :param time_created: The value to assign to the time_created property of this NetworkFirewallPolicy. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this NetworkFirewallPolicy. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this NetworkFirewallPolicy. Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param lifecycle_details: The value to assign to the lifecycle_details property of this NetworkFirewallPolicy. :type lifecycle_details: str :param mapped_secrets: The value to assign to the mapped_secrets property of this NetworkFirewallPolicy. :type mapped_secrets: dict(str, MappedSecret) :param application_lists: The value to assign to the application_lists property of this NetworkFirewallPolicy. :type application_lists: dict(str, list[Application]) :param url_lists: The value to assign to the url_lists property of this NetworkFirewallPolicy. :type url_lists: dict(str, list[UrlPattern]) :param ip_address_lists: The value to assign to the ip_address_lists property of this NetworkFirewallPolicy. :type ip_address_lists: dict(str, list[str]) :param security_rules: The value to assign to the security_rules property of this NetworkFirewallPolicy. :type security_rules: list[oci.network_firewall.models.SecurityRule] :param decryption_rules: The value to assign to the decryption_rules property of this NetworkFirewallPolicy. :type decryption_rules: list[oci.network_firewall.models.DecryptionRule] :param decryption_profiles: The value to assign to the decryption_profiles property of this NetworkFirewallPolicy. :type decryption_profiles: dict(str, DecryptionProfile) :param is_firewall_attached: The value to assign to the is_firewall_attached property of this NetworkFirewallPolicy. :type is_firewall_attached: bool :param freeform_tags: The value to assign to the freeform_tags property of this NetworkFirewallPolicy. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this NetworkFirewallPolicy. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this NetworkFirewallPolicy. :type system_tags: dict(str, dict(str, object)) �str�datetimezdict(str, MappedSecret)zdict(str, list[Application])zdict(str, list[UrlPattern])zdict(str, list[str])zlist[SecurityRule]zlist[DecryptionRule]zdict(str, DecryptionProfile)�boolzdict(str, str)zdict(str, dict(str, object)))�id�compartment_id�display_name�time_created�time_updated�lifecycle_state�lifecycle_details�mapped_secrets�application_lists� url_lists�ip_address_lists�security_rules�decryption_rules�decryption_profiles�is_firewall_attached� freeform_tags�defined_tags�system_tagsr � compartmentId�displayName�timeCreated�timeUpdated�lifecycleState�lifecycleDetails� mappedSecrets�applicationLists�urlLists�ipAddressLists� securityRules�decryptionRules�decryptionProfiles�isFirewallAttached�freeformTags�definedTags� systemTagsN)� swagger_types� attribute_map�_id�_compartment_id� _display_name� _time_created� _time_updated�_lifecycle_state�_lifecycle_details�_mapped_secrets�_application_lists� _url_lists�_ip_address_lists�_security_rules�_decryption_rules�_decryption_profiles�_is_firewall_attached�_freeform_tags� _defined_tags�_system_tags)�self�kwargs� rI ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/network_firewall/models/network_firewall_policy.py�__init__( sp Q��zNetworkFirewallPolicy.__init__c C s | j S )a0 **[Required]** Gets the id of this NetworkFirewallPolicy. The `OCID`__ of the resource - Network Firewall Policy. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The id of this NetworkFirewallPolicy. :rtype: str �r5 �rG rI rI rJ r � s zNetworkFirewallPolicy.idc C s || _ dS )a" Sets the id of this NetworkFirewallPolicy. The `OCID`__ of the resource - Network Firewall Policy. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param id: The id of this NetworkFirewallPolicy. :type: str NrL )rG r rI rI rJ r � s c C s | j S )aW **[Required]** Gets the compartment_id of this NetworkFirewallPolicy. The `OCID`__ of the compartment containing the NetworkFirewall Policy. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The compartment_id of this NetworkFirewallPolicy. :rtype: str �r6 rM rI rI rJ r � s z$NetworkFirewallPolicy.compartment_idc C s || _ dS )aU Sets the compartment_id of this NetworkFirewallPolicy. The `OCID`__ of the compartment containing the NetworkFirewall Policy. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this NetworkFirewallPolicy. :type: str NrN )rG r rI rI rJ r � s c C s | j S )a **[Required]** Gets the display_name of this NetworkFirewallPolicy. A user-friendly optional name for the firewall policy. Avoid entering confidential information. :return: The display_name of this NetworkFirewallPolicy. :rtype: str �r7 rM rI rI rJ r � s z"NetworkFirewallPolicy.display_namec C s || _ dS )a Sets the display_name of this NetworkFirewallPolicy. A user-friendly optional name for the firewall policy. Avoid entering confidential information. :param display_name: The display_name of this NetworkFirewallPolicy. :type: str NrO )rG r rI rI rJ r � s c C s | j S )a} **[Required]** Gets the time_created of this NetworkFirewallPolicy. The time instant at which the Network Firewall Policy was created in the format defined by `RFC3339`__. Example: `2016-08-25T21:10:29.600Z` __ https://tools.ietf.org/html/rfc3339 :return: The time_created of this NetworkFirewallPolicy. :rtype: datetime �r8 rM rI rI rJ r s z"NetworkFirewallPolicy.time_createdc C s || _ dS )ay Sets the time_created of this NetworkFirewallPolicy. The time instant at which the Network Firewall Policy was created in the format defined by `RFC3339`__. Example: `2016-08-25T21:10:29.600Z` __ https://tools.ietf.org/html/rfc3339 :param time_created: The time_created of this NetworkFirewallPolicy. :type: datetime NrP )rG r rI rI rJ r s c C s | j S )a} **[Required]** Gets the time_updated of this NetworkFirewallPolicy. The time instant at which the Network Firewall Policy was updated in the format defined by `RFC3339`__. Example: `2016-08-25T21:10:29.600Z` __ https://tools.ietf.org/html/rfc3339 :return: The time_updated of this NetworkFirewallPolicy. :rtype: datetime �r9 rM rI rI rJ r # s z"NetworkFirewallPolicy.time_updatedc C s || _ dS )ay Sets the time_updated of this NetworkFirewallPolicy. The time instant at which the Network Firewall Policy was updated in the format defined by `RFC3339`__. Example: `2016-08-25T21:10:29.600Z` __ https://tools.ietf.org/html/rfc3339 :param time_updated: The time_updated of this NetworkFirewallPolicy. :type: datetime NrQ )rG r rI rI rJ r 2 s c C s | j S )a� **[Required]** Gets the lifecycle_state of this NetworkFirewallPolicy. The current state of the Network Firewall Policy. Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The lifecycle_state of this NetworkFirewallPolicy. :rtype: str )r: rM rI rI rJ r A s z%NetworkFirewallPolicy.lifecycle_statec C s g d�}t ||�sd}|| _dS )z� Sets the lifecycle_state of this NetworkFirewallPolicy. The current state of the Network Firewall Policy. :param lifecycle_state: The lifecycle_state of this NetworkFirewallPolicy. :type: str )r r r r r r �UNKNOWN_ENUM_VALUEN)r r: )rG r �allowed_valuesrI rI rJ r P s c C s | j S )aA Gets the lifecycle_details of this NetworkFirewallPolicy. A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. :return: The lifecycle_details of this NetworkFirewallPolicy. :rtype: str �r; rM rI rI rJ r _ s z'NetworkFirewallPolicy.lifecycle_detailsc C s || _ dS )aQ Sets the lifecycle_details of this NetworkFirewallPolicy. A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. :param lifecycle_details: The lifecycle_details of this NetworkFirewallPolicy. :type: str NrT )rG r rI rI rJ r k s c C s | j S )a� Gets the mapped_secrets of this NetworkFirewallPolicy. Map defining secrets of the policy. The value of an entry is a "mapped secret" consisting of a purpose and source. The associated key is the identifier by which the mapped secret is referenced. :return: The mapped_secrets of this NetworkFirewallPolicy. :rtype: dict(str, MappedSecret) �r<