ruạṛ
a ���fl � @ 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 )�IcmpOptionsa; Optional and valid only for ICMP and ICMPv6. Use to specify a particular ICMP type and code as defined in: - `ICMP Parameters`__ - `ICMPv6 Parameters`__ If you specify ICMP or ICMPv6 as the protocol but omit this object, then all ICMP types and codes are allowed. If you do provide this object, the type is required and the code is optional. To enable MTU negotiation for ingress internet traffic via IPv4, make sure to allow type 3 ("Destination Unreachable") code 4 ("Fragmentation Needed and Don't Fragment was Set"). If you need to specify multiple codes for a single type, create a separate security list rule for each. __ http://www.iana.org/assignments/icmp-parameters/icmp-parameters.xhtml __ https://www.iana.org/assignments/icmpv6-parameters/icmpv6-parameters.xhtml c K s( ddd�| _ ddd�| _d| _d| _dS )a� Initializes a new IcmpOptions object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param code: The value to assign to the code property of this IcmpOptions. :type code: int :param type: The value to assign to the type property of this IcmpOptions. :type type: int �int)�code�typer r N)Z swagger_typesZ attribute_map�_code�_type)�self�kwargs� r �@/usr/lib/python3.9/site-packages/oci/core/models/icmp_options.py�__init__ s ��zIcmpOptions.__init__c C s | j S )z� Gets the code of this IcmpOptions. The ICMP code (optional). :return: The code of this IcmpOptions. :rtype: int �r �r r r r r 9 s zIcmpOptions.codec C s || _ dS )z� Sets the code of this IcmpOptions. The ICMP code (optional). :param code: The code of this IcmpOptions. :type: int Nr )r r r r r r E s c C s | j S )z� **[Required]** Gets the type of this IcmpOptions. The ICMP type. :return: The type of this IcmpOptions. :rtype: int �r r r r r r Q s zIcmpOptions.typec C s || _ dS )z� Sets the type of this IcmpOptions. The ICMP type. :param type: The type of this IcmpOptions. :type: int Nr )r r r r r r ] s c C s t | �S �N)r r r r r �__repr__i s zIcmpOptions.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__l s zIcmpOptions.__eq__c C s | |k S r r r r r r �__ne__r s zIcmpOptions.__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