ruạṛ
a ���f� � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�Application� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ sd e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zd d� Z dd � Z dd� ZdS )�IcmpApplicationz= ICMP Application used on the firewall policy rules. c K sL dddddd�| _ dddddd�| _d | _d | _d | _d | _d | _d | _d S )ac Initializes a new IcmpApplication object with values from keyword arguments. The default value of the :py:attr:`~oci.network_firewall.models.IcmpApplication.type` attribute of this class is ``ICMP`` and it should not be changed. 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 IcmpApplication. Allowed values for this property are: "ICMP", "ICMP_V6" :type type: str :param name: The value to assign to the name property of this IcmpApplication. :type name: str :param parent_resource_id: The value to assign to the parent_resource_id property of this IcmpApplication. :type parent_resource_id: str :param icmp_type: The value to assign to the icmp_type property of this IcmpApplication. :type icmp_type: int :param icmp_code: The value to assign to the icmp_code property of this IcmpApplication. :type icmp_code: int �str�int)�type�nameZparent_resource_id� icmp_type� icmp_coder r ZparentResourceIdZicmpTypeZicmpCodeNZICMP)Z swagger_typesZ attribute_mapZ_type�_nameZ_parent_resource_id� _icmp_type� _icmp_code)�self�kwargs� r �P/usr/lib/python3.9/site-packages/oci/network_firewall/models/icmp_application.py�__init__ s$ � �zIcmpApplication.__init__c C s | j S )a **[Required]** Gets the icmp_type of this IcmpApplication. The value of the ICMP message Type field as defined by `RFC 792`__. __ https://www.rfc-editor.org/rfc/rfc792.html :return: The icmp_type of this IcmpApplication. :rtype: int �r �r r r r r E s zIcmpApplication.icmp_typec C s || _ dS )a Sets the icmp_type of this IcmpApplication. The value of the ICMP message Type field as defined by `RFC 792`__. __ https://www.rfc-editor.org/rfc/rfc792.html :param icmp_type: The icmp_type of this IcmpApplication. :type: int Nr )r r r r r r S s c C s | j S )a Gets the icmp_code of this IcmpApplication. The value of the ICMP message Code (subtype) field as defined by `RFC 792`__. __ https://www.rfc-editor.org/rfc/rfc792.html :return: The icmp_code of this IcmpApplication. :rtype: int �r r r r r r a s zIcmpApplication.icmp_codec C s || _ dS )a Sets the icmp_code of this IcmpApplication. The value of the ICMP message Code (subtype) field as defined by `RFC 792`__. __ https://www.rfc-editor.org/rfc/rfc792.html :param icmp_code: The icmp_code of this IcmpApplication. :type: int Nr )r r r r r r o s c C s t | �S �N)r r r r r �__repr__} s zIcmpApplication.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zIcmpApplication.__eq__c C s | |k S r r r r r r �__ne__� s zIcmpApplication.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r s 3 r N) Zapplicationr Zoci.utilr r r Zoci.decoratorsr r r r r r �<module> s
cải xoăn