Ë
    [üàg´!  ã                   óš   — d Z ddlmZmZmZ ddlmZ ddlmZ ddl	m
Z
 ddlmZ ddlmZ  G d„ d	e
«      Z G d
„ de«      Z G d„ de«      Zy)aé  
    This code was generated by
   ___ _ _ _ _ _    _ ____    ____ ____ _    ____ ____ _  _ ____ ____ ____ ___ __   __
    |  | | | | |    | |  | __ |  | |__| | __ | __ |___ |\ | |___ |__/ |__|  | |  | |__/
    |  |_|_| | |___ | |__|    |__| |  | |    |__] |___ | \| |___ |  \ |  |  | |__| |  \

    Twilio - Verify
    This is the public Twilio REST API.

    NOTE: This class is auto generated by OpenAPI Generator.
    https://openapi-generator.tech
    Do not edit the class manually.
é    )ÚAnyÚDictÚOptional)Úvalues)ÚInstanceContext)ÚInstanceResource)ÚListResource)ÚVersionc                   óŠ   ‡ — e Zd ZdZ	 ddedeeef   dee   fˆ fd„Z	e
dd„«       Zdefd„Zdefd	„Zdd
„Zdd„Zdefd„Zˆ xZS )ÚSafelistInstancezÉ
    :ivar sid: The unique string that we created to identify the SafeList resource.
    :ivar phone_number: The phone number in SafeList.
    :ivar url: The absolute URL of the SafeList resource.
    ÚversionÚpayloadÚphone_numberc                 óä   •— t         ‰| �  |«       |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        d|xs | j                  i| _        d | _        y )NÚsidr   Úurl)ÚsuperÚ__init__Úgetr   r   r   Ú	_solutionÚ_context)Úselfr   r   r   Ú	__class__s       €ú\/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/twilio/rest/verify/v2/safelist.pyr   zSafelistInstance.__init__   sg   ø€ ô 	‰Ñ˜Ô!à")§+¡+¨eÓ"4ˆŒØ+2¯;©;°~Ó+FˆÔØ")§+¡+¨eÓ"4ˆŒð ˜LÒ=¨D×,=Ñ,=ð
ˆŒð 48ˆ�ó    Úreturnc                 ó„   — | j                   €)t        | j                  | j                  d   ¬«      | _         | j                   S )zë
        Generate an instance context for the instance, the context is capable of
        performing various actions. All instance actions are proxied to the context

        :returns: SafelistContext for this SafelistInstance
        r   ©r   )r   ÚSafelistContextÚ_versionr   ©r   s    r   Ú_proxyzSafelistInstance._proxy/   s9   € ð �=‰=Ð Ü+Ø—‘Ø!Ÿ^™^¨NÑ;ôˆDŒMð �}‰}Ðr   c                 ó6   — | j                   j                  «       S )úk
        Deletes the SafelistInstance


        :returns: True if delete succeeds, False otherwise
        )r"   Údeleter!   s    r   r%   zSafelistInstance.delete>   s   € ð �{‰{×!Ñ!Ó#Ð#r   c              ƒ   óR   K  — | j                   j                  «       ƒ d{  –—† S 7 Œ­w)ú‡
        Asynchronous coroutine that deletes the SafelistInstance


        :returns: True if delete succeeds, False otherwise
        N)r"   Údelete_asyncr!   s    r   r(   zSafelistInstance.delete_asyncG   s!   è ø€ ð —[‘[×-Ñ-Ó/×/Ð/Ð/úó   ‚' %¡'c                 ó6   — | j                   j                  «       S )ú]
        Fetch the SafelistInstance


        :returns: The fetched SafelistInstance
        )r"   Úfetchr!   s    r   r,   zSafelistInstance.fetchP   s   € ð �{‰{× Ñ Ó"Ð"r   c              ƒ   óR   K  — | j                   j                  «       ƒ d{  –—† S 7 Œ­w)úw
        Asynchronous coroutine to fetch the SafelistInstance


        :returns: The fetched SafelistInstance
        N)r"   Úfetch_asyncr!   s    r   r/   zSafelistInstance.fetch_asyncY   s!   è ø€ ð —[‘[×,Ñ,Ó.×.Ð.Ð.úr)   c                 ó„   — dj                  d„ | j                  j                  «       D «       «      }dj                  |«      S )úf
        Provide a friendly representation

        :returns: Machine friendly representation
        ú c              3   óF   K  — | ]  \  }}d j                  ||«      –— Œ y­w©z{}={}N©Úformat©Ú.0ÚkÚvs      r   ú	<genexpr>z,SafelistInstance.__repr__.<locals>.<genexpr>h   ó   è ø€ ÒS±D°A°q˜7Ÿ>™>¨!¨Q×/ÑSùó   ‚!z&<Twilio.Verify.V2.SafelistInstance {}>©Újoinr   Úitemsr6   ©r   Úcontexts     r   Ú__repr__zSafelistInstance.__repr__b   s6   € ð —(‘(ÑS¸D¿N¹N×<PÑ<PÓ<RÔSÓSˆØ7×>Ñ>¸wÓGÐGr   )N)r   r   )r   r   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r
   r   Ústrr   r   r   Úpropertyr"   Úboolr%   r(   r,   r/   rC   Ú__classcell__©r   s   @r   r   r      s~   ø„ ñð '+ñ	8àð8ð �c˜3�h‘ð8ð ˜s‘mõ	8ð" òó ðð$˜ó $ð0 Dó 0ó#ó/ðH˜#÷ Hr   r   c                   ód   ‡ — e Zd Zdedefˆ fd„Zdefd„Zdefd„Zde	fd„Z
de	fd„Zdefd	„Zˆ xZS )
r   r   r   c                 óx   •— t         ‰| �  |«       d|i| _         dj                  di | j                  ¤Ž| _        y)a  
        Initialize the SafelistContext

        :param version: Version that contains the resource
        :param phone_number: The phone number to be fetched from SafeList. Phone numbers must be in [E.164 format](https://www.twilio.com/docs/glossary/what-e164).
        r   z /SafeList/Numbers/{phone_number}N© )r   r   r   r6   Ú_uri)r   r   r   r   s      €r   r   zSafelistContext.__init__n   s@   ø€ ô 	‰Ñ˜Ô!ð ˜Lð
ˆŒð >Ð6×=Ñ=ÑOÀÇÁÑOˆ�	r   r   c                 ó|   — t        j                  i «      }| j                  j                  d| j                  |¬«      S )r$   ÚDELETE©ÚmethodÚuriÚheaders)r   Úofr    r%   rP   ©r   rV   s     r   r%   zSafelistContext.delete}   s1   € ô —)‘)˜B“-ˆà�}‰}×#Ñ#¨8¸¿¹ÈGÐ#ÓTÐTr   c              ƒ   ó˜   K  — t        j                  i «      }| j                  j                  d| j                  |¬«      ƒ d{  –—† S 7 Œ­w)r'   rR   rS   N)r   rW   r    r(   rP   rX   s     r   r(   zSafelistContext.delete_async‰   sF   è ø€ ô —)‘)˜B“-ˆà—]‘]×/Ñ/Ø §¡°Gð 0ó 
÷ 
ð 	
ð 
ús   ‚AA
ÁAÁA
c                 óÐ   — t        j                  i «      }d|d<   | j                  j                  d| j                  |¬«      }t        | j                  || j                  d   ¬«      S )r+   úapplication/jsonÚAcceptÚGETrS   r   r   )r   rW   r    r,   rP   r   r   ©r   rV   r   s      r   r,   zSafelistContext.fetch—   s]   € ô —)‘)˜B“-ˆà.ˆ�Ñà—-‘-×%Ñ%¨U¸¿	¹	È7Ð%ÓSˆäØ�M‰MØØŸ™¨Ñ7ô
ð 	
r   c              ƒ   óì   K  — t        j                  i «      }d|d<   | j                  j                  d| j                  |¬«      ƒ d{  –—† }t        | j                  || j                  d   ¬«      S 7 Œ)­w)r.   r[   r\   r]   rS   Nr   r   )r   rW   r    r/   rP   r   r   r^   s      r   r/   zSafelistContext.fetch_async«   sr   è ø€ ô —)‘)˜B“-ˆà.ˆ�ÑàŸ™×1Ñ1Ø˜dŸi™i°ð 2ó 
÷ 
ˆô  Ø�M‰MØØŸ™¨Ñ7ô
ð 	
ð	
ús   ‚AA4ÁA2Á	*A4c                 ó„   — dj                  d„ | j                  j                  «       D «       «      }dj                  |«      S )r1   r2   c              3   óF   K  — | ]  \  }}d j                  ||«      –— Œ y­wr4   r5   r7   s      r   r;   z+SafelistContext.__repr__.<locals>.<genexpr>Ç   r<   r=   z%<Twilio.Verify.V2.SafelistContext {}>r>   rA   s     r   rC   zSafelistContext.__repr__Á   s6   € ð —(‘(ÑS¸D¿N¹N×<PÑ<PÓ<RÔSÓSˆØ6×=Ñ=¸gÓFÐFr   )rD   rE   rF   r
   rH   r   rJ   r%   r(   r   r,   r/   rC   rK   rL   s   @r   r   r   l   s[   ø„ ðP ð P°sõ Pð
U˜ó 
Uð
 Dó 
ð
Ð'ó 
ð(
Ð#3ó 
ð,G˜#÷ Gr   r   c                   óp   ‡ — e Zd Zdefˆ fd„Zdedefd„Zdedefd„Zdede	fd„Z
dede	fd„Zdefd	„Zˆ xZS )
ÚSafelistListr   c                 ó2   •— t         ‰| �  |«       d| _        y)zj
        Initialize the SafelistList

        :param version: Version that contains the resource

        z/SafeList/NumbersN)r   r   rP   )r   r   r   s     €r   r   zSafelistList.__init__Í   s   ø€ ô 	‰Ñ˜Ô!à'ˆ�	r   r   r   c                 óð   — t        j                  d|i«      }t        j                  ddi«      }d|d<   d|d<   | j                  j                  d| j                  ||¬«      }t        | j                  |«      S )zþ
        Create the SafelistInstance

        :param phone_number: The phone number to be added in SafeList. Phone numbers must be in [E.164 format](https://www.twilio.com/docs/glossary/what-e164).

        :returns: The created SafelistInstance
        ÚPhoneNumberúContent-Typeú!application/x-www-form-urlencodedr[   r\   ÚPOST©rT   rU   ÚdatarV   )r   rW   r    ÚcreaterP   r   ©r   r   rk   rV   r   s        r   rl   zSafelistList.createØ   s   € ô �y‰yà˜|ðó
ˆô
 —)‘)˜^Ð-PÐQÓRˆà"Eˆ�Ñà.ˆ�Ñà—-‘-×&Ñ&Ø˜tŸy™y¨t¸Wð 'ó 
ˆô   §¡¨wÓ7Ð7r   c              ƒ   ó  K  — t        j                  d|i«      }t        j                  ddi«      }d|d<   d|d<   | j                  j                  d| j                  ||¬«      ƒ d{  –—† }t        | j                  |«      S 7 Œ­w)	a  
        Asynchronously create the SafelistInstance

        :param phone_number: The phone number to be added in SafeList. Phone numbers must be in [E.164 format](https://www.twilio.com/docs/glossary/what-e164).

        :returns: The created SafelistInstance
        rf   rg   rh   r[   r\   ri   rj   N)r   rW   r    Úcreate_asyncrP   r   rm   s        r   ro   zSafelistList.create_asyncò   s�   è ø€ ô �y‰yà˜|ðó
ˆô
 —)‘)˜^Ð-PÐQÓRˆà"Eˆ�Ñà.ˆ�ÑàŸ™×2Ñ2Ø˜tŸy™y¨t¸Wð 3ó 
÷ 
ˆô   §¡¨wÓ7Ð7ð	
ús   ‚A%BÁ'BÁ(Bc                 ó0   — t        | j                  |¬«      S ©zÓ
        Constructs a SafelistContext

        :param phone_number: The phone number to be fetched from SafeList. Phone numbers must be in [E.164 format](https://www.twilio.com/docs/glossary/what-e164).
        r   ©r   r    ©r   r   s     r   r   zSafelistList.get  ó   € ô ˜tŸ}™}¸<ÔHÐHr   c                 ó0   — t        | j                  |¬«      S rq   rr   rs   s     r   Ú__call__zSafelistList.__call__  rt   r   c                  ó   — y)r1   z<Twilio.Verify.V2.SafelistList>rO   r!   s    r   rC   zSafelistList.__repr__  s   € ð 1r   )rD   rE   rF   r
   r   rH   r   rl   ro   r   r   rv   rC   rK   rL   s   @r   rc   rc   Ë   so   ø„ ð	( õ 	(ð8 3ð 8Ð+;ó 8ð48¨sð 8Ð7Gó 8ð4I ð I¨ó IðI Sð I¨_ó Ið1˜#÷ 1r   rc   N)rG   Útypingr   r   r   Útwilio.baser   Útwilio.base.instance_contextr   Útwilio.base.instance_resourcer   Útwilio.base.list_resourcer	   Útwilio.base.versionr
   r   r   rc   rO   r   r   ú<module>r~      sR   ðñ÷ 'Ñ &Ý Ý 8Ý :Ý 2Ý 'ôRHÐ'ô RHôj\G�oô \Gô~W1�<õ W1r   