ruạṛ
a O��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 @ sV e Zd ZdZdd� Zedd� �Zedd� �Zej dd� �Zd d � Z dd� Zd d� ZdS )�Applicationzx A protocol identifier (such as TCP, UDP, or ICMP) and protocol-specific parameters (such as a port range). c K s ddi| _ ddi| _d| _dS )a� Initializes a new Application 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.IcmpApplication` * :class:`~oci.network_firewall.models.UdpApplication` * :class:`~oci.network_firewall.models.TcpApplication` * :class:`~oci.network_firewall.models.Icmp6Application` 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 Application. :type type: str �type�strN)� swagger_types� attribute_map�_type)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/network_firewall/models/application.py�__init__ s ��zApplication.__init__c C s@ | d }|dkrdS |dkr dS |dkr,dS |dkr8d S d S 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 �ICMP�IcmpApplication�UDP�UdpApplication�TCP�TcpApplication�ICMP6�Icmp6Applicationr Nr )�object_dictionaryr r r r �get_subtype, s zApplication.get_subtypec C s | j S )z� **[Required]** Gets the type of this Application. Describes the type of Application. :return: The type of this Application. :rtype: str �r �r r r r r B s zApplication.typec C s || _ dS )z� Sets the type of this Application. Describes the type of Application. :param type: The type of this Application. :type: str Nr )r r r r r r N s c C s t | �S �N)r r r r r �__repr__Z s zApplication.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__] s zApplication.__eq__c C s | |k S r r r r r r �__ne__c s zApplication.__ne__N) �__name__� __module__�__qualname__�__doc__r �staticmethodr �propertyr �setterr r"