Ë
    [üà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 - 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.
é    )Údatetime)ÚAnyÚDictÚOptional)ÚdeserializeÚvalues)ÚInstanceContext)ÚInstanceResource)ÚListResource)ÚVersionc                   ór   ‡ — 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d„Zdd	„Zdefd
„Zˆ xZS )ÚRequestManagedCertInstancea  
    :ivar domain_sid: The unique string that we created to identify the Domain resource.
    :ivar date_updated: Date that this Domain was last updated.
    :ivar date_created: Date that this Domain was registered to the Twilio platform to create a new Domain object.
    :ivar date_expires: Date that the private certificate associated with this domain expires. This is the expiration date of your existing cert.
    :ivar domain_name: Full url path for this domain.
    :ivar certificate_sid: The unique string that we created to identify this Certificate resource.
    :ivar url:
    :ivar managed: A boolean flag indicating if the certificate is managed by Twilio.
    :ivar requesting: A boolean flag indicating if a managed certificate needs to be fulfilled by Twilio.
    ÚversionÚpayloadÚ
domain_sidc                 ó^  •— t         ‰| �  |«       |j                  d«      | _        t	        j
                  |j                  d«      «      | _        t	        j
                  |j                  d«      «      | _        t	        j
                  |j                  d«      «      | _        |j                  d«      | _	        |j                  d«      | _
        |j                  d«      | _        |j                  d«      | _        |j                  d	«      | _        d|xs | j                  i| _        d | _        y )
Nr   Údate_updatedÚdate_createdÚdate_expiresÚdomain_nameÚcertificate_sidÚurlÚmanagedÚ
requesting)ÚsuperÚ__init__Úgetr   r   Úiso8601_datetimer   r   r   r   r   r   r   r   Ú	_solutionÚ_context)Úselfr   r   r   Ú	__class__s       €úk/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/twilio/rest/messaging/v1/request_managed_cert.pyr   z#RequestManagedCertInstance.__init__%   sû   ø€ ô 	‰Ñ˜Ô!à)0¯©°\Ó)BˆŒÜ0;×0LÑ0LØ�K‰K˜Ó'ó1
ˆÔô 1<×0LÑ0LØ�K‰K˜Ó'ó1
ˆÔô 1<×0LÑ0LØ�K‰K˜Ó'ó1
ˆÔð +2¯+©+°mÓ*DˆÔØ.5¯k©kÐ:KÓ.LˆÔØ")§+¡+¨eÓ"4ˆŒØ'.§{¡{°9Ó'=ˆŒØ*1¯+©+°lÓ*CˆŒð ˜*Ò7¨¯©ð
ˆŒð >Bˆ�ó    Ú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: RequestManagedCertContext for this RequestManagedCertInstance
        r   ©r   )r    ÚRequestManagedCertContextÚ_versionr   ©r!   s    r#   Ú_proxyz!RequestManagedCertInstance._proxyB   s9   € ð �=‰=Ð Ü5Ø—‘ØŸ>™>¨,Ñ7ôˆDŒMð �}‰}Ðr$   c                 ó6   — | j                   j                  «       S )úr
        Update the RequestManagedCertInstance


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


        :returns: The updated RequestManagedCertInstance
        N)r+   Úupdate_asyncr*   s    r#   r1   z'RequestManagedCertInstance.update_asyncZ   s!   è ø€ ð —[‘[×-Ñ-Ó/×/Ð/Ð/ús   ‚' %¡'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>z6RequestManagedCertInstance.__repr__.<locals>.<genexpr>i   ó   è ø€ ÒS±D°A°q˜7Ÿ>™>¨!¨Q×/ÑSùó   ‚!z3<Twilio.Messaging.V1.RequestManagedCertInstance {}>©Újoinr   Úitemsr8   ©r!   Úcontexts     r#   Ú__repr__z#RequestManagedCertInstance.__repr__c   s6   € ð —(‘(ÑS¸D¿N¹N×<PÑ<PÓ<RÔSÓSˆØD×KÑKÈGÓTÐTr$   )N)r%   r(   )r%   r   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   Ústrr   r   r   Úpropertyr+   r.   r1   rE   Ú__classcell__©r"   s   @r#   r   r      sj   ø„ ñ
ð  %)ñ	BàðBð �c˜3�h‘ðBð ˜S‘Mõ	Bð: òó ðó$ó0ðU˜#÷ Ur$   r   c                   óL   ‡ — 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	ˆ xZ
S )r(   r   r   c                 óx   •— t         ‰| �  |«       d|i| _         dj                  di | j                  ¤Ž| _        y)zì
        Initialize the RequestManagedCertContext

        :param version: Version that contains the resource
        :param domain_sid: Unique string used to identify the domain that this certificate should be associated with.
        r   z7/LinkShortening/Domains/{domain_sid}/RequestManagedCertN© )r   r   r   r8   Ú_uri)r!   r   r   r"   s      €r#   r   z"RequestManagedCertContext.__init__o   sF   ø€ ô 	‰Ñ˜Ô!ð ˜*ð
ˆŒð UÐM×TÑTñ 
Ø�n‰nñ
ˆ�	r$   r%   c                 óü   — t        j                  i «      }t        j                  i «      }d|d<   | j                  j                  d| j                  ||¬«      }t        | j                  || j                  d   ¬«      S )r-   úapplication/jsonÚAcceptÚPOST©ÚmethodÚuriÚdataÚheadersr   r'   )r   Úofr)   r.   rQ   r   r   ©r!   rY   rZ   r   s       r#   r.   z RequestManagedCertContext.update€   sq   € ô �y‰y˜‹}ˆÜ—)‘)˜B“-ˆà.ˆ�Ñà—-‘-×&Ñ&Ø˜tŸy™y¨t¸Wð 'ó 
ˆô *Ø�M‰M˜7¨t¯~©~¸lÑ/Kô
ð 	
r$   c              ƒ   ó  K  — t        j                  i «      }t        j                  i «      }d|d<   | j                  j                  d| j                  ||¬«      ƒ d{  –—† }t        | j                  || j                  d   ¬«      S 7 Œ)­w)r0   rS   rT   rU   rV   Nr   r'   )r   r[   r)   r1   rQ   r   r   r\   s       r#   r1   z&RequestManagedCertContext.update_async•   s   è ø€ ô �y‰y˜‹}ˆÜ—)‘)˜B“-ˆà.ˆ�ÑàŸ™×2Ñ2Ø˜tŸy™y¨t¸Wð 3ó 
÷ 
ˆô *Ø�M‰M˜7¨t¯~©~¸lÑ/Kô
ð 	
ð	
ús   ‚AB
ÁBÁ*B
c                 ó„   — dj                  d„ | j                  j                  «       D «       «      }dj                  |«      S )r3   r4   c              3   óF   K  — | ]  \  }}d j                  ||«      –— Œ y­wr6   r7   r9   s      r#   r=   z5RequestManagedCertContext.__repr__.<locals>.<genexpr>°   r>   r?   z2<Twilio.Messaging.V1.RequestManagedCertContext {}>r@   rC   s     r#   rE   z"RequestManagedCertContext.__repr__ª   s6   € ð —(‘(ÑS¸D¿N¹N×<PÑ<PÓ<RÔSÓSˆØC×JÑJÈ7ÓSÐSr$   )rF   rG   rH   r   rJ   r   r   r.   r1   rE   rL   rM   s   @r#   r(   r(   m   s>   ø„ ð
 ð 
°Sõ 
ð"
Ð2ó 
ð*
Ð$>ó 
ð*T˜#÷ T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fd„Z	ˆ xZ
S )ÚRequestManagedCertListr   c                 ó$   •— t         ‰| �  |«       y)zt
        Initialize the RequestManagedCertList

        :param version: Version that contains the resource

        N)r   r   )r!   r   r"   s     €r#   r   zRequestManagedCertList.__init__¶   s   ø€ ô 	‰Ñ˜Õ!r$   r   r%   c                 ó0   — t        | j                  |¬«      S ©z¯
        Constructs a RequestManagedCertContext

        :param domain_sid: Unique string used to identify the domain that this certificate should be associated with.
        r'   ©r(   r)   ©r!   r   s     r#   r   zRequestManagedCertList.get¿   ó   € ô )¨¯©À:ÔNÐNr$   c                 ó0   — t        | j                  |¬«      S rd   re   rf   s     r#   Ú__call__zRequestManagedCertList.__call__Ç   rg   r$   c                  ó   — y)r3   z,<Twilio.Messaging.V1.RequestManagedCertList>rP   r*   s    r#   rE   zRequestManagedCertList.__repr__Ï   s   € ð >r$   )rF   rG   rH   r   r   rJ   r(   r   ri   rE   rL   rM   s   @r#   ra   ra   ´   sI   ø„ ð" õ "ðO˜cð OÐ&?ó OðO 3ð OÐ+Dó Oð>˜#÷ >r$   ra   N)rI   r   Útypingr   r   r   Útwilio.baser   r   Útwilio.base.instance_contextr	   Útwilio.base.instance_resourcer
   Útwilio.base.list_resourcer   Útwilio.base.versionr   r   r(   ra   rP   r$   r#   ú<module>rq      sS   ðñõ ß &Ñ &ß +Ý 8Ý :Ý 2Ý 'ôRUÐ!1ô RUôjDT ô DTôN!>˜\õ !>r$   