ruạṛ
a ���f�G � @ 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 @ s� e Zd ZdZdZdZdZdZdZdZ dd � Z ed d� �Zej dd� �Zed d� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd � �Zej d!d � �Zed"d#� �Zej d$d#� �Zed%d&� �Zej d'd&� �Zed(d)� �Zej d*d)� �Zed+d,� �Zej d-d,� �Zed.d/� �Zej d0d/� �Zed1d2� �Zej d3d2� �Zed4d5� �Zej d6d5� �Zd7d8� Zd9d:� Zd;d<� Zd=S )>�Resolveraa An OCI DNS resolver. If the resolver has an attached VCN, the VCN will attempt to answer queries based on the attached views in priority order. If the query does not match any of the attached views, the query will be evaluated against the default view. If the default view does not match, the rules will be evaluated in priority order. If no rules match the query, answers come from Internet DNS. A resolver may have a maximum of 10 resolver endpoints. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API. �ACTIVE�CREATING�DELETED�DELETING�FAILED�UPDATINGc K s� dddddddddddddddd �| _ d ddd dddddddddddd �| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _dS )aa Initializes a new Resolver object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param compartment_id: The value to assign to the compartment_id property of this Resolver. :type compartment_id: str :param attached_vcn_id: The value to assign to the attached_vcn_id property of this Resolver. :type attached_vcn_id: str :param display_name: The value to assign to the display_name property of this Resolver. :type display_name: str :param freeform_tags: The value to assign to the freeform_tags property of this Resolver. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this Resolver. :type defined_tags: dict(str, dict(str, object)) :param id: The value to assign to the id property of this Resolver. :type id: str :param time_created: The value to assign to the time_created property of this Resolver. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this Resolver. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this Resolver. Allowed values for this property are: "ACTIVE", "CREATING", "DELETED", "DELETING", "FAILED", "UPDATING", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param _self: The value to assign to the _self property of this Resolver. :type _self: str :param default_view_id: The value to assign to the default_view_id property of this Resolver. :type default_view_id: str :param is_protected: The value to assign to the is_protected property of this Resolver. :type is_protected: bool :param endpoints: The value to assign to the endpoints property of this Resolver. :type endpoints: list[oci.dns.models.ResolverEndpointSummary] :param attached_views: The value to assign to the attached_views property of this Resolver. :type attached_views: list[oci.dns.models.AttachedView] :param rules: The value to assign to the rules property of this Resolver. :type rules: list[oci.dns.models.ResolverRule] �strzdict(str, str)zdict(str, dict(str, object))Zdatetime�boolzlist[ResolverEndpointSummary]zlist[AttachedView]zlist[ResolverRule])�compartment_id�attached_vcn_id�display_name� freeform_tags�defined_tags�id�time_created�time_updated�lifecycle_state�_self�default_view_id�is_protected� endpoints�attached_views�rulesZ compartmentIdZ attachedVcnIdZdisplayNameZfreeformTagsZdefinedTagsr ZtimeCreatedZtimeUpdatedZlifecycleState�selfZ defaultViewIdZisProtectedr Z attachedViewsr N)Z swagger_typesZ attribute_map�_compartment_id�_attached_vcn_id� _display_name�_freeform_tags� _defined_tags�_id� _time_created� _time_updated�_lifecycle_state�_Resolver__self�_default_view_id� _is_protected� _endpoints�_attached_views�_rules)r �kwargs� r/ �;/usr/lib/python3.9/site-packages/oci/dns/models/resolver.py�__init__0 s^ E��zResolver.__init__c C s | j S )z� **[Required]** Gets the compartment_id of this Resolver. The OCID of the owning compartment. :return: The compartment_id of this Resolver. :rtype: str �r �r r/ r/ r0 r � s zResolver.compartment_idc C s || _ dS )z� Sets the compartment_id of this Resolver. The OCID of the owning compartment. :param compartment_id: The compartment_id of this Resolver. :type: str Nr2 )r r r/ r/ r0 r � s c C s | j S )z� Gets the attached_vcn_id of this Resolver. The OCID of the attached VCN. :return: The attached_vcn_id of this Resolver. :rtype: str �r r3 r/ r/ r0 r � s zResolver.attached_vcn_idc C s || _ dS )z� Sets the attached_vcn_id of this Resolver. The OCID of the attached VCN. :param attached_vcn_id: The attached_vcn_id of this Resolver. :type: str Nr4 )r r r/ r/ r0 r � s c C s | j S )z� **[Required]** Gets the display_name of this Resolver. The display name of the resolver. :return: The display_name of this Resolver. :rtype: str �r! r3 r/ r/ r0 r � s zResolver.display_namec C s || _ dS )z� Sets the display_name of this Resolver. The display name of the resolver. :param display_name: The display_name of this Resolver. :type: str Nr5 )r r r/ r/ r0 r � s c C s | j S )a� **[Required]** Gets the freeform_tags of this Resolver. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see `Resource Tags`__. **Example:** `{"Department": "Finance"}` __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm :return: The freeform_tags of this Resolver. :rtype: dict(str, str) �r"