ruạṛ
a ���fo � @ 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 )�TcpApplicationz< TCP Application used on the firewall policy rules. c K s8 dddd�| _ dddd�| _d| _d| _d| _d| _dS ) a Initializes a new TcpApplication object with values from keyword arguments. The default value of the :py:attr:`~oci.network_firewall.models.TcpApplication.type` attribute of this class is ``TCP`` 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 TcpApplication. :type type: str :param minimum_port: The value to assign to the minimum_port property of this TcpApplication. :type minimum_port: int :param maximum_port: The value to assign to the maximum_port property of this TcpApplication. :type maximum_port: int �str�int)�type�minimum_port�maximum_portr ZminimumPortZmaximumPortNZTCP)Z swagger_typesZ attribute_mapZ_type� _minimum_port� _maximum_port)�self�kwargs� r �O/usr/lib/python3.9/site-packages/oci/network_firewall/models/tcp_application.py�__init__ s ��zTcpApplication.__init__c C s | j S )z� **[Required]** Gets the minimum_port of this TcpApplication. The minimum port in the range (inclusive), or the sole port of a single-port range. :return: The minimum_port of this TcpApplication. :rtype: int �r �r r r r r 6 s zTcpApplication.minimum_portc C s || _ dS )z� Sets the minimum_port of this TcpApplication. The minimum port in the range (inclusive), or the sole port of a single-port range. :param minimum_port: The minimum_port of this TcpApplication. :type: int Nr )r r r r r r B s c C s | j S )z� Gets the maximum_port of this TcpApplication. The maximum port in the range (inclusive), which may be absent for a single-port range. :return: The maximum_port of this TcpApplication. :rtype: int �r r r r r r N s zTcpApplication.maximum_portc C s || _ dS )z� Sets the maximum_port of this TcpApplication. The maximum port in the range (inclusive), which may be absent for a single-port range. :param maximum_port: The maximum_port of this TcpApplication. :type: int Nr )r r r r r r Z s c C s t | �S �N)r r r r r �__repr__f s zTcpApplication.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__i s zTcpApplication.__eq__c C s | |k S r r r r r r �__ne__o s zTcpApplication.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r s $ r N) Zapplicationr Zoci.utilr r r Zoci.decoratorsr r r r r r �<module> s
cải xoăn