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 )� UdpOptionsz� Optional and valid only for UDP. Use to specify particular destination ports for UDP rules. If you specify UDP 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 UdpOptions 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 UdpOptions. :type destination_port_range: oci.core.models.PortRange :param source_port_range: The value to assign to the source_port_range property of this UdpOptions. :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/udp_options.py�__init__ s ��zUdpOptions.__init__c C s | j S )z� Gets the destination_port_range of this UdpOptions. :return: The destination_port_range of this UdpOptions. :rtype: oci.core.models.PortRange �r �r r r r r . s z!UdpOptions.destination_port_rangec C s || _ dS )z� Sets the destination_port_range of this UdpOptions. :param destination_port_range: The destination_port_range of this UdpOptions. :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 UdpOptions. :return: The source_port_range of this UdpOptions. :rtype: oci.core.models.PortRange �r r r r r r B s zUdpOptions.source_port_rangec C s || _ dS )z� Sets the source_port_range of this UdpOptions. :param source_port_range: The source_port_range of this UdpOptions. :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 zUdpOptions.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__Y s zUdpOptions.__eq__c C s | |k S r r r r r r �__ne___ s zUdpOptions.__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