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 @ sd e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zd d� Z dd � Z dd� ZdS )� TcpOptionsz� Optional and valid only for TCP. Use to specify particular destination ports for TCP rules. If you specify TCP as the protocol but omit this object, then all destination ports are allowed. c K s( ddd�| _ ddd�| _d| _d| _dS )a= Initializes a new TcpOptions object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param destination_port_range: The value to assign to the destination_port_range property of this TcpOptions. :type destination_port_range: oci.core.models.PortRange :param source_port_range: The value to assign to the source_port_range property of this TcpOptions. :type source_port_range: oci.core.models.PortRange Z PortRange)�destination_port_range�source_port_rangeZdestinationPortRangeZsourcePortRangeN)Z swagger_typesZ attribute_map�_destination_port_range�_source_port_range)�self�kwargs� r �?/usr/lib/python3.9/site-packages/oci/core/models/tcp_options.py�__init__ s ��zTcpOptions.__init__c C s | j S )z� Gets the destination_port_range of this TcpOptions. :return: The destination_port_range of this TcpOptions. :rtype: oci.core.models.PortRange �r �r r r r r . s z!TcpOptions.destination_port_rangec C s || _ dS )z� Sets the destination_port_range of this TcpOptions. :param destination_port_range: The destination_port_range of this TcpOptions. :type: oci.core.models.PortRange Nr )r r r r r r 8 s c C s | j S )z� Gets the source_port_range of this TcpOptions. :return: The source_port_range of this TcpOptions. :rtype: oci.core.models.PortRange �r r r r r r B s zTcpOptions.source_port_rangec C s || _ dS )z� Sets the source_port_range of this TcpOptions. :param source_port_range: The source_port_range of this TcpOptions. :type: oci.core.models.PortRange Nr )r r r r r r L s c C s t | �S �N)r r r r r �__repr__V s zTcpOptions.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__Y s zTcpOptions.__eq__c C s | |k S r r r r r r �__ne___ s zTcpOptions.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr 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