o
    ëÉ¶dv>  ã                   @   s8   d dl mZmZmZ d dlmZ eG dd„ deƒƒZdS )é    )Úformatted_flat_dictÚNONE_SENTINELÚ#value_allowed_none_or_none_sentinel)Úinit_model_state_from_kwargsc                   @   s€  e Zd ZdZdZdZdZdZdZdZ	dd	„ Z
ed
d„ ƒZejdd„ ƒZedd„ ƒZejdd„ ƒZedd„ ƒZejdd„ ƒZedd„ ƒZejdd„ ƒZedd„ ƒZejdd„ ƒZedd„ ƒZejdd„ ƒZedd„ ƒZejdd„ ƒZedd „ ƒZejd!d „ ƒZed"d#„ ƒZejd$d#„ ƒZed%d&„ ƒZejd'd&„ ƒZed(d)„ ƒZejd*d)„ ƒZed+d,„ ƒZejd-d,„ ƒZd.d/„ Zd0d1„ Zd2d3„ Zd4S )5ÚResolverSummaryaa  
    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Œ   dddddddddddddœ| _ ddd	d
dddddddddœ| _d| _d| _d| _d| _d| _d| _d| _d| _	d| _
d| _d| _d| _dS )aÈ  
        Initializes a new ResolverSummary 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 ResolverSummary.
        :type compartment_id: str

        :param attached_vcn_id:
            The value to assign to the attached_vcn_id property of this ResolverSummary.
        :type attached_vcn_id: str

        :param display_name:
            The value to assign to the display_name property of this ResolverSummary.
        :type display_name: str

        :param freeform_tags:
            The value to assign to the freeform_tags property of this ResolverSummary.
        :type freeform_tags: dict(str, str)

        :param defined_tags:
            The value to assign to the defined_tags property of this ResolverSummary.
        :type defined_tags: dict(str, dict(str, object))

        :param id:
            The value to assign to the id property of this ResolverSummary.
        :type id: str

        :param time_created:
            The value to assign to the time_created property of this ResolverSummary.
        :type time_created: datetime

        :param time_updated:
            The value to assign to the time_updated property of this ResolverSummary.
        :type time_updated: datetime

        :param lifecycle_state:
            The value to assign to the lifecycle_state property of this ResolverSummary.
            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 ResolverSummary.
        :type _self: str

        :param default_view_id:
            The value to assign to the default_view_id property of this ResolverSummary.
        :type default_view_id: str

        :param is_protected:
            The value to assign to the is_protected property of this ResolverSummary.
        :type is_protected: bool

        Ústrzdict(str, str)zdict(str, dict(str, object))ÚdatetimeÚbool)Úcompartment_idÚattached_vcn_idÚdisplay_nameÚfreeform_tagsÚdefined_tagsÚidÚtime_createdÚtime_updatedÚlifecycle_stateÚ_selfÚdefault_view_idÚis_protectedZcompartmentIdZattachedVcnIdZdisplayNameZfreeformTagsZdefinedTagsr   ZtimeCreatedZtimeUpdatedZlifecycleStateÚselfZdefaultViewIdZisProtectedN)Zswagger_typesZattribute_mapÚ_compartment_idÚ_attached_vcn_idÚ_display_nameÚ_freeform_tagsÚ_defined_tagsÚ_idÚ_time_createdÚ_time_updatedÚ_lifecycle_stateÚ_ResolverSummary__selfÚ_default_view_idÚ_is_protected)r   Úkwargs© r*   úCusr/lib/python3.10/site-packages/oci/dns/models/resolver_summary.pyÚ__init__0   sL   9ôô
zResolverSummary.__init__c                 C   ó   | j S )zÐ
        **[Required]** Gets the compartment_id of this ResolverSummary.
        The OCID of the owning compartment.


        :return: The compartment_id of this ResolverSummary.
        :rtype: str
        ©r   ©r   r*   r*   r+   r   “   ó   
zResolverSummary.compartment_idc                 C   ó
   || _ dS )zÎ
        Sets the compartment_id of this ResolverSummary.
        The OCID of the owning compartment.


        :param compartment_id: The compartment_id of this ResolverSummary.
        :type: str
        Nr.   )r   r   r*   r*   r+   r   Ÿ   ó   

c                 C   r-   )z½
        Gets the attached_vcn_id of this ResolverSummary.
        The OCID of the attached VCN.


        :return: The attached_vcn_id of this ResolverSummary.
        :rtype: str
        ©r   r/   r*   r*   r+   r   «   r0   zResolverSummary.attached_vcn_idc                 C   r1   )zË
        Sets the attached_vcn_id of this ResolverSummary.
        The OCID of the attached VCN.


        :param attached_vcn_id: The attached_vcn_id of this ResolverSummary.
        :type: str
        Nr3   )r   r   r*   r*   r+   r   ·   r2   c                 C   r-   )zÊ
        **[Required]** Gets the display_name of this ResolverSummary.
        The display name of the resolver.


        :return: The display_name of this ResolverSummary.
        :rtype: str
        ©r   r/   r*   r*   r+   r   Ã   r0   zResolverSummary.display_namec                 C   r1   )zÆ
        Sets the display_name of this ResolverSummary.
        The display name of the resolver.


        :param display_name: The display_name of this ResolverSummary.
        :type: str
        Nr4   )r   r   r*   r*   r+   r   Ï   r2   c                 C   r-   )aä  
        **[Required]** Gets the freeform_tags of this ResolverSummary.
        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 ResolverSummary.
        :rtype: dict(str, str)
        ©r    r/   r*   r*   r+   r   Û   ó   zResolverSummary.freeform_tagsc                 C   r1   )aá  
        Sets the freeform_tags of this ResolverSummary.
        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


        :param freeform_tags: The freeform_tags of this ResolverSummary.
        :type: dict(str, str)
        Nr5   )r   r   r*   r*   r+   r   í   ó   
c                 C   r-   )aÚ  
        **[Required]** Gets the defined_tags of this ResolverSummary.
        Defined tags for this resource. Each key is predefined and scoped to a namespace.
        For more information, see `Resource Tags`__.


        **Example:** `{"Operations": {"CostCenter": "42"}}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :return: The defined_tags of this ResolverSummary.
        :rtype: dict(str, dict(str, object))
        ©r!   r/   r*   r*   r+   r   ÿ   r6   zResolverSummary.defined_tagsc                 C   r1   )aÖ  
        Sets the defined_tags of this ResolverSummary.
        Defined tags for this resource. Each key is predefined and scoped to a namespace.
        For more information, see `Resource Tags`__.


        **Example:** `{"Operations": {"CostCenter": "42"}}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :param defined_tags: The defined_tags of this ResolverSummary.
        :type: dict(str, dict(str, object))
        Nr8   )r   r   r*   r*   r+   r     r7   c                 C   r-   )z®
        **[Required]** Gets the id of this ResolverSummary.
        The OCID of the resolver.


        :return: The id of this ResolverSummary.
        :rtype: str
        ©r"   r/   r*   r*   r+   r   #  r0   zResolverSummary.idc                 C   r1   )z 
        Sets the id of this ResolverSummary.
        The OCID of the resolver.


        :param id: The id of this ResolverSummary.
        :type: str
        Nr9   )r   r   r*   r*   r+   r   /  r2   c                 C   r-   )aZ  
        **[Required]** Gets the time_created of this ResolverSummary.
        The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format
        with a Z offset, as defined by RFC 3339.

        **Example:** `2016-07-22T17:23:59:60Z`


        :return: The time_created of this ResolverSummary.
        :rtype: datetime
        ©r#   r/   r*   r*   r+   r   ;  ó   zResolverSummary.time_createdc                 C   r1   )aV  
        Sets the time_created of this ResolverSummary.
        The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format
        with a Z offset, as defined by RFC 3339.

        **Example:** `2016-07-22T17:23:59:60Z`


        :param time_created: The time_created of this ResolverSummary.
        :type: datetime
        Nr:   )r   r   r*   r*   r+   r   J  ó   
c                 C   r-   )a_  
        **[Required]** Gets the time_updated of this ResolverSummary.
        The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ"
        format with a Z offset, as defined by RFC 3339.

        **Example:** `2016-07-22T17:23:59:60Z`


        :return: The time_updated of this ResolverSummary.
        :rtype: datetime
        ©r$   r/   r*   r*   r+   r   Y  r;   zResolverSummary.time_updatedc                 C   r1   )a[  
        Sets the time_updated of this ResolverSummary.
        The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ"
        format with a Z offset, as defined by RFC 3339.

        **Example:** `2016-07-22T17:23:59:60Z`


        :param time_updated: The time_updated of this ResolverSummary.
        :type: datetime
        Nr=   )r   r   r*   r*   r+   r   h  r<   c                 C   r-   )a·  
        **[Required]** Gets the lifecycle_state of this ResolverSummary.
        The current state of the resource.

        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'.


        :return: The lifecycle_state of this ResolverSummary.
        :rtype: str
        )r%   r/   r*   r*   r+   r   w  r;   zResolverSummary.lifecycle_statec                 C   s    g d¢}t ||ƒsd}|| _dS )zÐ
        Sets the lifecycle_state of this ResolverSummary.
        The current state of the resource.


        :param lifecycle_state: The lifecycle_state of this ResolverSummary.
        :type: str
        )r   r   r	   r
   r   r   ZUNKNOWN_ENUM_VALUEN)r   r%   )r   r   Zallowed_valuesr*   r*   r+   r   †  s   


c                 C   r-   )zÆ
        **[Required]** Gets the _self of this ResolverSummary.
        The canonical absolute URL of the resource.


        :return: The _self of this ResolverSummary.
        :rtype: str
        ©r&   r/   r*   r*   r+   r   •  r0   zResolverSummary._selfc                 C   r1   )z»
        Sets the _self of this ResolverSummary.
        The canonical absolute URL of the resource.


        :param _self: The _self of this ResolverSummary.
        :type: str
        Nr>   )r   r   r*   r*   r+   r   ¡  r2   c                 C   r-   )z½
        Gets the default_view_id of this ResolverSummary.
        The OCID of the default view.


        :return: The default_view_id of this ResolverSummary.
        :rtype: str
        ©r'   r/   r*   r*   r+   r   ­  r0   zResolverSummary.default_view_idc                 C   r1   )zË
        Sets the default_view_id of this ResolverSummary.
        The OCID of the default view.


        :param default_view_id: The default_view_id of this ResolverSummary.
        :type: str
        Nr?   )r   r   r*   r*   r+   r   ¹  r2   c                 C   r-   )a  
        **[Required]** Gets the is_protected of this ResolverSummary.
        A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.


        :return: The is_protected of this ResolverSummary.
        :rtype: bool
        ©r(   r/   r*   r*   r+   r   Å  r0   zResolverSummary.is_protectedc                 C   r1   )a	  
        Sets the is_protected of this ResolverSummary.
        A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.


        :param is_protected: The is_protected of this ResolverSummary.
        :type: bool
        Nr@   )r   r   r*   r*   r+   r   Ñ  r2   c                 C   s   t | ƒS ©N)r   r/   r*   r*   r+   Ú__repr__Ý  s   zResolverSummary.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr*   r*   r+   Ú__eq__à  s   zResolverSummary.__eq__c                 C   s
   | |k S rA   r*   rD   r*   r*   r+   Ú__ne__æ  s   
zResolverSummary.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ZLIFECYCLE_STATE_ACTIVEZLIFECYCLE_STATE_CREATINGZLIFECYCLE_STATE_DELETEDZLIFECYCLE_STATE_DELETINGZLIFECYCLE_STATE_FAILEDZLIFECYCLE_STATE_UPDATINGr,   Úpropertyr   Úsetterr   r   r   r   r   r   r   r   r   r   r   rB   rF   rG   r*   r*   r*   r+   r      sx    c























r   N)Zoci.utilr   r   r   Zoci.decoratorsr   Úobjectr   r*   r*   r*   r+   Ú<module>   s   