ruạṛ
a ���f� � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�ResolverRule� )�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 )�ResolverForwardRulez$ ResolverForwardRule model. c K sL dddddd�| _ dddddd�| _d | _d | _d | _d | _d | _d | _d S )a Initializes a new ResolverForwardRule object with values from keyword arguments. The default value of the :py:attr:`~oci.dns.models.ResolverForwardRule.action` attribute of this class is ``FORWARD`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param client_address_conditions: The value to assign to the client_address_conditions property of this ResolverForwardRule. :type client_address_conditions: list[str] :param qname_cover_conditions: The value to assign to the qname_cover_conditions property of this ResolverForwardRule. :type qname_cover_conditions: list[str] :param action: The value to assign to the action property of this ResolverForwardRule. Allowed values for this property are: "FORWARD" :type action: str :param destination_addresses: The value to assign to the destination_addresses property of this ResolverForwardRule. :type destination_addresses: list[str] :param source_endpoint_name: The value to assign to the source_endpoint_name property of this ResolverForwardRule. :type source_endpoint_name: str z list[str]�str)Zclient_address_conditionsZqname_cover_conditions�action�destination_addresses�source_endpoint_nameZclientAddressConditionsZqnameCoverConditionsr ZdestinationAddressesZsourceEndpointNameNZFORWARD)Z swagger_typesZ attribute_mapZ_client_address_conditionsZ_qname_cover_conditions�_action�_destination_addresses�_source_endpoint_name)�self�kwargs� r �H/usr/lib/python3.9/site-packages/oci/dns/models/resolver_forward_rule.py�__init__ s$ � �zResolverForwardRule.__init__c C s | j S )a" **[Required]** Gets the destination_addresses of this ResolverForwardRule. IP addresses to which queries should be forwarded. Currently limited to a single address. :return: The destination_addresses of this ResolverForwardRule. :rtype: list[str] �r �r r r r r E s z)ResolverForwardRule.destination_addressesc C s || _ dS )a' Sets the destination_addresses of this ResolverForwardRule. IP addresses to which queries should be forwarded. Currently limited to a single address. :param destination_addresses: The destination_addresses of this ResolverForwardRule. :type: list[str] Nr )r r r r r r Q s c C s | j S )a\ Gets the source_endpoint_name of this ResolverForwardRule. Case-insensitive name of an endpoint, that is a sub-resource of the resolver, to use as the forwarding interface. The endpoint must have isForwarding set to true. :return: The source_endpoint_name of this ResolverForwardRule. :rtype: str �r r r r r r ] s z(ResolverForwardRule.source_endpoint_namec C s || _ dS )ao Sets the source_endpoint_name of this ResolverForwardRule. Case-insensitive name of an endpoint, that is a sub-resource of the resolver, to use as the forwarding interface. The endpoint must have isForwarding set to true. :param source_endpoint_name: The source_endpoint_name of this ResolverForwardRule. :type: str Nr )r r r r r r j s c C s t | �S �N)r r r r r �__repr__w s zResolverForwardRule.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__z s zResolverForwardRule.__eq__c C s | |k S r r r r r r �__ne__� s zResolverForwardRule.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r s 3 r N) Z resolver_ruler Zoci.utilr r r Zoci.decoratorsr r r r r r �<module> s
cải xoăn