ruạṛ
a ���fe � @ 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 )�IcmpProtocolParametersz� Defines the configuration for the `ICMP`__ protocol parameters. __ https://www.iana.org/assignments/icmp-parameters/icmp-parameters.xhtml c K s8 dddd�| _ dddd�| _d| _d| _d| _d| _dS ) ad Initializes a new IcmpProtocolParameters object with values from keyword arguments. The default value of the :py:attr:`~oci.vn_monitoring.models.IcmpProtocolParameters.type` attribute of this class is ``ICMP`` 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 IcmpProtocolParameters. Allowed values for this property are: "TCP", "UDP", "ICMP" :type type: str :param icmp_code: The value to assign to the icmp_code property of this IcmpProtocolParameters. :type icmp_code: int :param icmp_type: The value to assign to the icmp_type property of this IcmpProtocolParameters. :type icmp_type: int �str�int)�type� icmp_code� icmp_typer ZicmpCodeZicmpTypeNZICMP)Z swagger_typesZ attribute_mapZ_type� _icmp_code� _icmp_type)�self�kwargs� r �U/usr/lib/python3.9/site-packages/oci/vn_monitoring/models/icmp_protocol_parameters.py�__init__ s ��zIcmpProtocolParameters.__init__c C s | j S )a Gets the icmp_code of this IcmpProtocolParameters. The `ICMP`__ code. __ https://www.iana.org/assignments/icmp-parameters/icmp-parameters.xhtml :return: The icmp_code of this IcmpProtocolParameters. :rtype: int �r �r r r r r 9 s z IcmpProtocolParameters.icmp_codec C s || _ dS )a Sets the icmp_code of this IcmpProtocolParameters. The `ICMP`__ code. __ https://www.iana.org/assignments/icmp-parameters/icmp-parameters.xhtml :param icmp_code: The icmp_code of this IcmpProtocolParameters. :type: int Nr )r r r r r r G s c C s | j S )a **[Required]** Gets the icmp_type of this IcmpProtocolParameters. The `ICMP`__ type. __ https://www.iana.org/assignments/icmp-parameters/icmp-parameters.xhtml :return: The icmp_type of this IcmpProtocolParameters. :rtype: int �r r r r r r U s z IcmpProtocolParameters.icmp_typec C s || _ dS )a Sets the icmp_type of this IcmpProtocolParameters. The `ICMP`__ type. __ https://www.iana.org/assignments/icmp-parameters/icmp-parameters.xhtml :param icmp_type: The icmp_type of this IcmpProtocolParameters. :type: int Nr )r r r r r r c s c C s t | �S �N)r r r r r �__repr__q s zIcmpProtocolParameters.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__t s zIcmpProtocolParameters.__eq__c C s | |k S r r r r r r �__ne__z s zIcmpProtocolParameters.__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