ruạṛ
a ���f� � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�ProtocolParameters� )�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 )�TcpProtocolParametersz@ Defines the configuration for TCP protocol parameters. c K s8 dddd�| _ dddd�| _d| _d| _d| _d| _dS ) ay Initializes a new TcpProtocolParameters object with values from keyword arguments. The default value of the :py:attr:`~oci.vn_monitoring.models.TcpProtocolParameters.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 TcpProtocolParameters. Allowed values for this property are: "TCP", "UDP", "ICMP" :type type: str :param source_port: The value to assign to the source_port property of this TcpProtocolParameters. :type source_port: int :param destination_port: The value to assign to the destination_port property of this TcpProtocolParameters. :type destination_port: int �str�int)�type�source_port�destination_portr Z sourcePortZdestinationPortNZTCP)Z swagger_typesZ attribute_mapZ_type�_source_port�_destination_port)�self�kwargs� r �T/usr/lib/python3.9/site-packages/oci/vn_monitoring/models/tcp_protocol_parameters.py�__init__ s ��zTcpProtocolParameters.__init__c C s | j S )z� Gets the source_port of this TcpProtocolParameters. The source port to use in a `PathAnalyzerTest` resource. :return: The source_port of this TcpProtocolParameters. :rtype: int �r �r r r r r 7 s z!TcpProtocolParameters.source_portc C s || _ dS )z� Sets the source_port of this TcpProtocolParameters. The source port to use in a `PathAnalyzerTest` resource. :param source_port: The source_port of this TcpProtocolParameters. :type: int Nr )r r r r r r C s c C s | j S )z� **[Required]** Gets the destination_port of this TcpProtocolParameters. The destination port to use in a `PathAnalyzerTest` resource. :return: The destination_port of this TcpProtocolParameters. :rtype: int �r r r r r r O s z&TcpProtocolParameters.destination_portc C s || _ dS )z� Sets the destination_port of this TcpProtocolParameters. The destination port to use in a `PathAnalyzerTest` resource. :param destination_port: The destination_port of this TcpProtocolParameters. :type: int Nr )r r r r r r [ s c C s t | �S �N)r r r r r �__repr__g s zTcpProtocolParameters.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__j s zTcpProtocolParameters.__eq__c C s | |k S r r r r r r �__ne__p s zTcpProtocolParameters.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r s % r N) Zprotocol_parametersr Zoci.utilr r r Zoci.decoratorsr r r r r r �<module> s
cải xoăn