ruạṛ
a O��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 )�UdpProtocolParametersz@ Defines the configuration for UDP protocol parameters. c K s8 dddd�| _ dddd�| _d| _d| _d| _d| _dS ) ay Initializes a new UdpProtocolParameters object with values from keyword arguments. The default value of the :py:attr:`~oci.vn_monitoring.models.UdpProtocolParameters.type` attribute of this class is ``UDP`` 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 UdpProtocolParameters. 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 UdpProtocolParameters. :type source_port: int :param destination_port: The value to assign to the destination_port property of this UdpProtocolParameters. :type destination_port: int �str�int)�type�source_port�destination_portr � sourcePort�destinationPortN�UDP)� swagger_types� attribute_map�_type�_source_port�_destination_port)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/vn_monitoring/models/udp_protocol_parameters.py�__init__ s ��zUdpProtocolParameters.__init__c C s | j S )z� Gets the source_port of this UdpProtocolParameters. The source port to use in a `PathAnalyzerTest` resource. :return: The source_port of this UdpProtocolParameters. :rtype: int �r �r r r r r 5 s z!UdpProtocolParameters.source_portc C s || _ dS )z� Sets the source_port of this UdpProtocolParameters. The source port to use in a `PathAnalyzerTest` resource. :param source_port: The source_port of this UdpProtocolParameters. :type: int Nr )r r r r r r A s c C s | j S )z� **[Required]** Gets the destination_port of this UdpProtocolParameters. The destination port to use in a `PathAnalyzerTest` resource. :return: The destination_port of this UdpProtocolParameters. :rtype: int �r r r r r r M s z&UdpProtocolParameters.destination_portc C s || _ dS )z� Sets the destination_port of this UdpProtocolParameters. The destination port to use in a `PathAnalyzerTest` resource. :param destination_port: The destination_port of this UdpProtocolParameters. :type: int Nr )r r r r r r Y s c C s t | �S �N)r r r r r �__repr__e s zUdpProtocolParameters.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__h s zUdpProtocolParameters.__eq__c C s | |k S r r r! r r r �__ne__n s zUdpProtocolParameters.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r# r$ r r r r r s % r N) �protocol_parametersr �oci.utilr r r �oci.decoratorsr r r r r r �<module> s
cải xoăn