o
    ëÉ¶dx
  ã                   @   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                   @   sJ   e Zd ZdZdd„ Zedd„ ƒZejdd„ ƒZdd„ Zd	d
„ Z	dd„ Z
dS )Ú
PurgeCachezy
    The list of cached resources to purge. If a resource is not specified, the purge targets all rules in a policy.
    c                 K   s   ddi| _ ddi| _d| _dS )aR  
        Initializes a new PurgeCache object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param resources:
            The value to assign to the resources property of this PurgeCache.
        :type resources: list[str]

        Ú	resourcesz	list[str]N)Zswagger_typesZattribute_mapÚ
_resources)ÚselfÚkwargs© r   ú?usr/lib/python3.10/site-packages/oci/waas/models/purge_cache.pyÚ__init__   s
   ÿÿ
zPurgeCache.__init__c                 C   s   | j S )a¨  
        Gets the resources of this PurgeCache.
        A resource to purge, specified by either a hostless absolute path starting with a single slash (Example: `/path/to/resource`) or by a relative path in which the first component will be interpreted as a domain protected by the WAAS policy (Example: `example.com/path/to/resource`).


        :return: The resources of this PurgeCache.
        :rtype: list[str]
        ©r   ©r	   r   r   r   r   &   s   
zPurgeCache.resourcesc                 C   s
   || _ dS )a°  
        Sets the resources of this PurgeCache.
        A resource to purge, specified by either a hostless absolute path starting with a single slash (Example: `/path/to/resource`) or by a relative path in which the first component will be interpreted as a domain protected by the WAAS policy (Example: `example.com/path/to/resource`).


        :param resources: The resources of this PurgeCache.
        :type: list[str]
        Nr   )r	   r   r   r   r   r   2   s   

c                 C   s   t | ƒS ©N)r   r   r   r   r   Ú__repr__>   s   zPurgeCache.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r	   Úotherr   r   r   Ú__eq__A   s   zPurgeCache.__eq__c                 C   s
   | |k S r   r   r   r   r   r   Ú__ne__G   s   
zPurgeCache.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Úpropertyr   Úsetterr   r   r   r   r   r   r   r      s    

r   N)Zoci.utilr   r   r   Zoci.decoratorsr   Úobjectr   r   r   r   r   Ú<module>   s   