Ë
    [üàg~  ã                   ó®   — d Z ddlmZ ddlmZmZmZmZ ddlm	Z	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 - Messaging
    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.
é    ©Údate)ÚAnyÚDictÚOptionalÚUnion)Ú	serializeÚvalues)ÚInstanceContext)ÚInstanceResource)ÚListResource)ÚVersionc                   ó¸   ‡ — e Zd ZdZdedeeef   fˆ fd„Ze	dd„«       Z
ej                  fdeeef   dd fd„Zej                  fdeeef   dd fd	„Zdefd
„Zˆ xZS )ÚDeactivationsInstancezµ
    :ivar redirect_to: Returns an authenticated url that redirects to a file containing the deactivated numbers for the requested day. This url is valid for up to two minutes.
    ÚversionÚpayloadc                 ó^   •— t         ‰| �  |«       |j                  d«      | _        d | _        y )NÚredirect_to)ÚsuperÚ__init__Úgetr   Ú_context)Úselfr   r   Ú	__class__s      €úd/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/twilio/rest/messaging/v1/deactivations.pyr   zDeactivationsInstance.__init__   s(   ø€ Ü‰Ñ˜Ô!à*1¯+©+°mÓ*DˆÔà8<ˆ�ó    Úreturnc                 óf   — | j                   €t        | j                  «      | _         | 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: DeactivationsContext for this DeactivationsInstance
        )r   ÚDeactivationsContextÚ_version©r   s    r   Ú_proxyzDeactivationsInstance._proxy$   s-   € ð �=‰=Ð Ü0Ø—‘óˆDŒMð �}‰}Ðr   r   c                 ó:   — | j                   j                  |¬«      S )á0  
        Fetch the DeactivationsInstance

        :param date: The request will return a list of all United States Phone Numbers that were deactivated on the day specified by this parameter. This date should be specified in YYYY-MM-DD format.

        :returns: The fetched DeactivationsInstance
        r   )r"   Úfetch©r   r   s     r   r%   zDeactivationsInstance.fetch2   s#   € ð �{‰{× Ñ Øð !ó 
ð 	
r   c              ƒ   óV   K  — | j                   j                  |¬«      ƒ d{  –—† S 7 Œ­w)áJ  
        Asynchronous coroutine to fetch the DeactivationsInstance

        :param date: The request will return a list of all United States Phone Numbers that were deactivated on the day specified by this parameter. This date should be specified in YYYY-MM-DD format.

        :returns: The fetched DeactivationsInstance
        r   N)r"   Úfetch_asyncr&   s     r   r)   z!DeactivationsInstance.fetch_async@   s1   è ø€ ð —[‘[×,Ñ,Øð -ó 
÷ 
ð 	
ð 
ús   ‚ )¢'£)c                  ó   — y)úf
        Provide a friendly representation

        :returns: Machine friendly representation
        z+<Twilio.Messaging.V1.DeactivationsInstance>© r!   s    r   Ú__repr__zDeactivationsInstance.__repr__N   s   € ð =r   )r   r   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   Ústrr   r   Úpropertyr"   r
   Úunsetr   r   Úobjectr%   r)   r-   Ú__classcell__©r   s   @r   r   r      s‘   ø„ ñð= ð =°$°s¸C°x±.õ =ð òó ðð +1¯,©,ñ
Ø˜$ ˜,Ñ'ð
à	 ó
ð +1¯,©,ñ
Ø˜$ ˜,Ñ'ð
à	 ó
ð=˜#÷ =r   r   c                   ó”   ‡ — e Zd Zdefˆ fd„Zej                  fdeee	f   de
fd„Zej                  fdeee	f   de
fd„Zdefd„Zˆ xZS )r   r   c                 ó2   •— t         ‰| �  |«       d| _        y)zq
        Initialize the DeactivationsContext

        :param version: Version that contains the resource
        z/DeactivationsN)r   r   Ú_uri©r   r   r   s     €r   r   zDeactivationsContext.__init__Z   s   ø€ ô 	‰Ñ˜Ô!à$ˆ�	r   r   r   c                 ó  — t        j                  dt        j                  |«      i«      }t        j                  i «      }d|d<   | j                  j                  d| j                  ||¬«      }t        | j                  |«      S )r$   ÚDateúapplication/jsonÚAcceptÚGET©ÚmethodÚuriÚparamsÚheaders)r
   Úofr	   Úiso8601_dater    r%   r:   r   ©r   r   ÚdatarE   r   s        r   r%   zDeactivationsContext.fetchd   s   € ô �y‰yàœ	×.Ñ.¨tÓ4ðó
ˆô —)‘)˜B“-ˆà.ˆ�Ñà—-‘-×%Ñ%Ø˜dŸi™i°¸gð &ó 
ˆô %Ø�M‰MØó
ð 	
r   c              ƒ   ó$  K  — t        j                  dt        j                  |«      i«      }t        j                  i «      }d|d<   | j                  j                  d| j                  ||¬«      ƒ d{  –—† }t        | j                  |«      S 7 Œ­w)r(   r=   r>   r?   r@   rA   N)r
   rF   r	   rG   r    r)   r:   r   rH   s        r   r)   z DeactivationsContext.fetch_async€   s�   è ø€ ô �y‰yàœ	×.Ñ.¨tÓ4ðó
ˆô —)‘)˜B“-ˆà.ˆ�ÑàŸ™×1Ñ1Ø˜dŸi™i°¸gð 2ó 
÷ 
ˆô %Ø�M‰MØó
ð 	
ð	
ús   ‚A1BÁ3BÁ4Bc                  ó   — y)r+   z*<Twilio.Messaging.V1.DeactivationsContext>r,   r!   s    r   r-   zDeactivationsContext.__repr__ž   s   € ð <r   )r.   r/   r0   r   r   r
   r4   r   r   r5   r   r%   r)   r2   r-   r6   r7   s   @r   r   r   X   sh   ø„ ð% õ %ð 17·±ñ 
˜%  f Ñ-ð 
ÐAVó 
ð: +1¯,©,ñ
Ø˜$ ˜,Ñ'ð
à	ó
ð<<˜#÷ <r   r   c                   óH   ‡ — e Zd Zdefˆ fd„Zdefd„Zdefd„Zdefd„Z	ˆ xZ
S )ÚDeactivationsListr   c                 ó$   •— t         ‰| �  |«       y)zo
        Initialize the DeactivationsList

        :param version: Version that contains the resource

        N)r   r   r;   s     €r   r   zDeactivationsList.__init__ª   s   ø€ ô 	‰Ñ˜Õ!r   r   c                 ó,   — t        | j                  «      S ©z4
        Constructs a DeactivationsContext

        ©r   r    r!   s    r   r   zDeactivationsList.get³   ó   € ô
 $ D§M¡MÓ2Ð2r   c                 ó,   — t        | j                  «      S rP   rQ   r!   s    r   Ú__call__zDeactivationsList.__call__º   rR   r   c                  ó   — y)r+   z'<Twilio.Messaging.V1.DeactivationsList>r,   r!   s    r   r-   zDeactivationsList.__repr__Á   s   € ð 9r   )r.   r/   r0   r   r   r   r   rT   r2   r-   r6   r7   s   @r   rM   rM   ¨   s5   ø„ ð" õ "ð3Ð)ó 3ð3Ð.ó 3ð9˜#÷ 9r   rM   N)r1   Údatetimer   Útypingr   r   r   r   Útwilio.baser	   r
   Útwilio.base.instance_contextr   Útwilio.base.instance_resourcer   Útwilio.base.list_resourcer   Útwilio.base.versionr   r   r   rM   r,   r   r   ú<module>r]      sM   ðñõ ß -Ó -ß )Ý 8Ý :Ý 2Ý 'ô==Ð,ô ==ô@M<˜?ô M<ô`9˜õ 9r   