ruạṛ
a ���f� � @ 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 ZdZdZdZdd� Zedd� �Ze dd � �Z e jd d � �Z e dd� �Zejd d� �Ze dd� �Z e jdd� �Z dd� Zdd� Zdd� ZdS )�ApplicationSummaryzP Summary object for application element in the network firewall policy. �ICMP�ICMP_V6c K s2 dddd�| _ dddd�| _d| _d| _d| _dS )ap Initializes a new ApplicationSummary object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class: * :class:`~oci.network_firewall.models.Icmp6ApplicationSummary` * :class:`~oci.network_firewall.models.IcmpApplicationSummary` The following keyword arguments are supported (corresponding to the getters/setters of this class): :param type: The value to assign to the type property of this ApplicationSummary. Allowed values for this property are: "ICMP", "ICMP_V6", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type type: str :param name: The value to assign to the name property of this ApplicationSummary. :type name: str :param parent_resource_id: The value to assign to the parent_resource_id property of this ApplicationSummary. :type parent_resource_id: str �str)�type�name�parent_resource_idr r ZparentResourceIdN)Z swagger_typesZ attribute_map�_type�_name�_parent_resource_id)�self�kwargs� r �S/usr/lib/python3.9/site-packages/oci/network_firewall/models/application_summary.py�__init__ s ��zApplicationSummary.__init__c C s( | d }|dkrdS |dkr dS dS dS )z� Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. r r ZIcmp6ApplicationSummaryr ZIcmpApplicationSummaryr Nr )Zobject_dictionaryr r r r �get_subtypeC s zApplicationSummary.get_subtypec C s | j S )aw **[Required]** Gets the type of this ApplicationSummary. Describes the type of Application. Allowed values for this property are: "ICMP", "ICMP_V6", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The type of this ApplicationSummary. :rtype: str )r �r r r r r S s zApplicationSummary.typec C s ddg}t ||�sd}|| _dS )z� Sets the type of this ApplicationSummary. Describes the type of Application. :param type: The type of this ApplicationSummary. :type: str r r ZUNKNOWN_ENUM_VALUEN)r r )r r Zallowed_valuesr r r r b s c C s | j S )z� **[Required]** Gets the name of this ApplicationSummary. Name of the application. :return: The name of this ApplicationSummary. :rtype: str �r r r r r r q s zApplicationSummary.namec C s || _ dS )z� Sets the name of this ApplicationSummary. Name of the application. :param name: The name of this ApplicationSummary. :type: str Nr )r r r r r r } s c C s | j S )z� **[Required]** Gets the parent_resource_id of this ApplicationSummary. OCID of the Network Firewall Policy this application belongs to. :return: The parent_resource_id of this ApplicationSummary. :rtype: str �r r r r r r � s z%ApplicationSummary.parent_resource_idc C s || _ dS )z� Sets the parent_resource_id of this ApplicationSummary. OCID of the Network Firewall Policy this application belongs to. :param parent_resource_id: The parent_resource_id of this ApplicationSummary. :type: str Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s zApplicationSummary.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zApplicationSummary.__eq__c C s | |k S r r r r r r �__ne__� s zApplicationSummary.__ne__N)�__name__� __module__�__qualname__�__doc__Z TYPE_ICMPZTYPE_ICMP_V6r �staticmethodr �propertyr �setterr r r r r r r r r r s* ) r N)Zoci.utilr r r Zoci.decoratorsr �objectr r r r r �<module> s
cải xoăn