Ë
    [üàg=  ã                   óª   — d Z ddlmZ ddl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 - Accounts
    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.
é    )Údatetime)ÚAnyÚDictÚOptional)ÚdeserializeÚvalues)ÚInstanceContext)ÚInstanceResource)ÚListResource)ÚVersionc                   ód   ‡ — e Zd ZdZdedeeef   fˆ fd„Ze	d
d„«       Z
dd„Zdd„Zdefd	„Zˆ xZS )ÚAuthTokenPromotionInstancea}  
    :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that the secondary Auth Token was created for.
    :ivar auth_token: The promoted Auth Token that must be used to authenticate future API requests.
    :ivar date_created: The date and time in UTC when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
    :ivar date_updated: The date and time in GMT when the resource was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
    :ivar url: The URI for this resource, relative to `https://accounts.twilio.com`
    ÚversionÚpayloadc                 óZ  •— t         ‰| �  |«       |j                  d«      | _        |j                  d«      | _        t        j                  |j                  d«      «      | _        t        j                  |j                  d«      «      | _        |j                  d«      | _	        d | _
        y )NÚaccount_sidÚ
auth_tokenÚdate_createdÚdate_updatedÚurl)ÚsuperÚ__init__Úgetr   r   r   Úiso8601_datetimer   r   r   Ú_context)Úselfr   r   Ú	__class__s      €új/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/twilio/rest/accounts/v1/auth_token_promotion.pyr   z#AuthTokenPromotionInstance.__init__!   sŠ   ø€ Ü‰Ñ˜Ô!à*1¯+©+°mÓ*DˆÔØ)0¯©°\Ó)BˆŒÜ0;×0LÑ0LØ�K‰K˜Ó'ó1
ˆÔô 1<×0LÑ0LØ�K‰K˜Ó'ó1
ˆÔð #*§+¡+¨eÓ"4ˆŒà=Aˆ�ó    Ú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: AuthTokenPromotionContext for this AuthTokenPromotionInstance
        )r   ÚAuthTokenPromotionContextÚ_version©r   s    r   Ú_proxyz!AuthTokenPromotionInstance._proxy0   s-   € ð �=‰=Ð Ü5Ø—‘óˆDŒMð �}‰}Ðr   c                 ó6   — | j                   j                  «       S )úr
        Update the AuthTokenPromotionInstance


        :returns: The updated AuthTokenPromotionInstance
        )r%   Úupdater$   s    r   r(   z!AuthTokenPromotionInstance.update>   s   € ð �{‰{×!Ñ!Ó#Ð#r   c              ƒ   óR   K  — | j                   j                  «       ƒ d{  –—† S 7 Œ­w)úŒ
        Asynchronous coroutine to update the AuthTokenPromotionInstance


        :returns: The updated AuthTokenPromotionInstance
        N)r%   Úupdate_asyncr$   s    r   r+   z'AuthTokenPromotionInstance.update_asyncG   s!   è ø€ ð —[‘[×-Ñ-Ó/×/Ð/Ð/ús   ‚' %¡'c                  ó   — y)úf
        Provide a friendly representation

        :returns: Machine friendly representation
        z/<Twilio.Accounts.V1.AuthTokenPromotionInstance>© r$   s    r   Ú__repr__z#AuthTokenPromotionInstance.__repr__P   s   € ð Ar   )r    r"   )r    r   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   Ústrr   r   Úpropertyr%   r(   r+   r/   Ú__classcell__©r   s   @r   r   r      sR   ø„ ñðB ð B°$°s¸C°x±.õ Bð òó ðó$ó0ðA˜#÷ A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 )r"   r   c                 ó2   •— t         ‰| �  |«       d| _        y)zv
        Initialize the AuthTokenPromotionContext

        :param version: Version that contains the resource
        z/AuthTokens/PromoteN)r   r   Ú_uri©r   r   r   s     €r   r   z"AuthTokenPromotionContext.__init__\   s   ø€ ô 	‰Ñ˜Ô!à)ˆ�	r   r    c                 óÞ   — t        j                  i «      }t        j                  i «      }d|d<   | j                  j                  d| j                  ||¬«      }t        | j                  |«      S )r'   úapplication/jsonÚAcceptÚPOST©ÚmethodÚuriÚdataÚheaders)r   Úofr#   r(   r:   r   ©r   rC   rD   r   s       r   r(   z AuthTokenPromotionContext.updatef   sa   € ô �y‰y˜‹}ˆÜ—)‘)˜B“-ˆà.ˆ�Ñà—-‘-×&Ñ&Ø˜tŸy™y¨t¸Wð 'ó 
ˆô *¨$¯-©-¸ÓAÐAr   c              ƒ   óú   K  — t        j                  i «      }t        j                  i «      }d|d<   | j                  j                  d| j                  ||¬«      ƒ d{  –—† }t        | j                  |«      S 7 Œ­w)r*   r=   r>   r?   r@   N)r   rE   r#   r+   r:   r   rF   s       r   r+   z&AuthTokenPromotionContext.update_asyncy   so   è ø€ ô �y‰y˜‹}ˆÜ—)‘)˜B“-ˆà.ˆ�ÑàŸ™×2Ñ2Ø˜tŸy™y¨t¸Wð 3ó 
÷ 
ˆô *¨$¯-©-¸ÓAÐAð	
ús   ‚AA;ÁA9ÁA;c                  ó   — y)r-   z.<Twilio.Accounts.V1.AuthTokenPromotionContext>r.   r$   s    r   r/   z"AuthTokenPromotionContext.__repr__Œ   s   € ð @r   )r0   r1   r2   r   r   r   r(   r+   r4   r/   r6   r7   s   @r   r"   r"   Z   s;   ø„ ð* õ *ðBÐ2ó Bð&BÐ$>ó Bð&@˜#÷ @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 )ÚAuthTokenPromotionListr   c                 ó$   •— t         ‰| �  |«       y)zt
        Initialize the AuthTokenPromotionList

        :param version: Version that contains the resource

        N)r   r   r;   s     €r   r   zAuthTokenPromotionList.__init__˜   s   ø€ ô 	‰Ñ˜Õ!r   r    c                 ó,   — t        | j                  «      S ©z9
        Constructs a AuthTokenPromotionContext

        ©r"   r#   r$   s    r   r   zAuthTokenPromotionList.get¡   ó   € ô
 )¨¯©Ó7Ð7r   c                 ó,   — t        | j                  «      S rM   rN   r$   s    r   Ú__call__zAuthTokenPromotionList.__call__¨   rO   r   c                  ó   — y)r-   z+<Twilio.Accounts.V1.AuthTokenPromotionList>r.   r$   s    r   r/   zAuthTokenPromotionList.__repr__¯   s   € ð =r   )r0   r1   r2   r   r   r"   r   rQ   r4   r/   r6   r7   s   @r   rJ   rJ   –   s5   ø„ ð" õ "ð8Ð.ó 8ð8Ð3ó 8ð=˜#÷ =r   rJ   N)r3   r   Útypingr   r   r   Útwilio.baser   r   Útwilio.base.instance_contextr	   Útwilio.base.instance_resourcer
   Útwilio.base.list_resourcer   Útwilio.base.versionr   r   r"   rJ   r.   r   r   ú<module>rY      sO   ðñõ ß &Ñ &ß +Ý 8Ý :Ý 2Ý 'ô?AÐ!1ô ?AôD9@ ô 9@ôx=˜\õ =r   