Ë
    [üà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 - Intelligence
    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   dee   fˆ fd„Z	e
dd„«       Zdd	„Zdd
„Zdefd„Zdefd„Zdefd„Zˆ xZS )ÚOperatorAttachmentInstancez²
    :ivar service_sid: The unique SID identifier of the Service.
    :ivar operator_sid: The unique SID identifier of the Operator.
    :ivar url: The URL of this resource.
    ÚversionÚpayloadÚservice_sidÚoperator_sidc                 ó  •— t         ‰| �  |«       |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        |xs | j                  |xs | j                  dœ| _        d | _        y )Nr   r   Úurl©r   r   )ÚsuperÚ__init__Úgetr   r   r   Ú	_solutionÚ_context)Úselfr   r   r   r   Ú	__class__s        €úm/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/twilio/rest/intelligence/v2/operator_attachment.pyr   z#OperatorAttachmentInstance.__init__   su   ø€ ô 	‰Ñ˜Ô!à*1¯+©+°mÓ*DˆÔØ+2¯;©;°~Ó+FˆÔØ")§+¡+¨eÓ"4ˆŒð 'Ò:¨$×*:Ñ*:Ø(Ò=¨D×,=Ñ,=ñ
ˆŒð >Bˆ�ó    Úreturnc                 ó    — | j                   €7t        | j                  | j                  d   | 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: OperatorAttachmentContext for this OperatorAttachmentInstance
        r   r   r   )r   ÚOperatorAttachmentContextÚ_versionr   ©r   s    r   Ú_proxyz!OperatorAttachmentInstance._proxy1   sE   € ð �=‰=Ð Ü5Ø—‘Ø ŸN™N¨=Ñ9Ø!Ÿ^™^¨NÑ;ôˆDŒMð
 �}‰}Ðr   c                 ó6   — | j                   j                  «       S )úr
        Create the OperatorAttachmentInstance


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


        :returns: The created OperatorAttachmentInstance
        N)r"   Úcreate_asyncr!   s    r   r)   z'OperatorAttachmentInstance.create_asyncJ   ó!   è ø€ ð —[‘[×-Ñ-Ó/×/Ð/Ð/úó   ‚' %¡'c                 ó6   — | j                   j                  «       S )úu
        Deletes the OperatorAttachmentInstance


        :returns: True if delete succeeds, False otherwise
        )r"   Údeleter!   s    r   r.   z!OperatorAttachmentInstance.deleteS   r&   r   c              ƒ   óR   K  — | j                   j                  «       ƒ d{  –—† S 7 Œ­w)ú‘
        Asynchronous coroutine that deletes the OperatorAttachmentInstance


        :returns: True if delete succeeds, False otherwise
        N)r"   Údelete_asyncr!   s    r   r1   z'OperatorAttachmentInstance.delete_async\   r*   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>z6OperatorAttachmentInstance.__repr__.<locals>.<genexpr>k   ó   è ø€ ÒS±D°A°q˜7Ÿ>™>¨!¨Q×/ÑSùó   ‚!z6<Twilio.Intelligence.V2.OperatorAttachmentInstance {}>©Újoinr   Úitemsr8   ©r   Úcontexts     r   Ú__repr__z#OperatorAttachmentInstance.__repr__e   s6   € ð —(‘(ÑS¸D¿N¹N×<PÑ<PÓ<RÔSÓSˆØG×NÑNÈwÓWÐWr   )NN)r   r   )r   r   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r
   r   Ústrr   r   r   Úpropertyr"   r%   r)   Úboolr.   r1   rE   Ú__classcell__©r   s   @r   r   r      s”   ø„ ñð &*Ø&*ñBàðBð �c˜3�h‘ðBð ˜c‘]ð	Bð
 ˜s‘mõBð& òó ðó$ó0ð$˜ó $ð0 Dó 0ðX˜#÷ Xr   r   c                   óh   ‡ — e Zd Zde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   r   c                 óz   •— t         ‰| �  |«       ||dœ| _         dj                  di | j                  ¤Ž| _        y)a0  
        Initialize the OperatorAttachmentContext

        :param version: Version that contains the resource
        :param service_sid: The unique SID identifier of the Service.
        :param operator_sid: The unique SID identifier of the Operator. Allows both Custom and Pre-built Operators.
        r   z0/Services/{service_sid}/Operators/{operator_sid}N© )r   r   r   r8   Ú_uri)r   r   r   r   r   s       €r   r   z"OperatorAttachmentContext.__init__q   sG   ø€ ô 	‰Ñ˜Ô!ð 'Ø(ñ
ˆŒð NÐF×MÑMñ 
Ø�n‰nñ
ˆ�	r   r   c                 óâ   — t        j                  i «      }| j                  j                  d| j                  |¬«      }t        | j                  || j                  d   | j                  d   ¬«      S )r$   ÚPOST©ÚmethodÚuriÚdatar   r   r   )r   Úofr    r%   rR   r   r   ©r   rX   r   s      r   r%   z OperatorAttachmentContext.create„   s_   € ô �y‰y˜‹}ˆà—-‘-×&Ñ&¨f¸$¿)¹)È$Ð&ÓOˆä)Ø�M‰MØØŸ™ }Ñ5ØŸ™¨Ñ7ô	
ð 	
r   c              ƒ   óþ   K  — t        j                  i «      }| j                  j                  d| j                  |¬«      ƒ d{  –—† }t        | j                  || j                  d   | j                  d   ¬«      S 7 Œ7­w)r(   rT   rU   Nr   r   r   )r   rY   r    r)   rR   r   r   rZ   s      r   r)   z&OperatorAttachmentContext.create_async–   st   è ø€ ô �y‰y˜‹}ˆàŸ™×2Ñ2Ø˜tŸy™y¨tð 3ó 
÷ 
ˆô *Ø�M‰MØØŸ™ }Ñ5ØŸ™¨Ñ7ô	
ð 	
ð	
ús   ‚AA=ÁA;Á8A=c                 ó|   — t        j                  i «      }| j                  j                  d| j                  |¬«      S )r-   ÚDELETE©rV   rW   Úheaders)r   rY   r    r.   rR   ©r   r_   s     r   r.   z OperatorAttachmentContext.deleteª   s1   € ô —)‘)˜B“-ˆà�}‰}×#Ñ#¨8¸¿¹ÈGÐ#ÓTÐTr   c              ƒ   ó˜   K  — t        j                  i «      }| j                  j                  d| j                  |¬«      ƒ d{  –—† S 7 Œ­w)r0   r]   r^   N)r   rY   r    r1   rR   r`   s     r   r1   z&OperatorAttachmentContext.delete_async¶   sF   è ø€ ô —)‘)˜B“-ˆà—]‘]×/Ñ/Ø §¡°Gð 0ó 
÷ 
ð 	
ð 
ús   ‚AA
ÁAÁA
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=   z5OperatorAttachmentContext.__repr__.<locals>.<genexpr>Ê   r>   r?   z5<Twilio.Intelligence.V2.OperatorAttachmentContext {}>r@   rC   s     r   rE   z"OperatorAttachmentContext.__repr__Ä   s6   € ð —(‘(ÑS¸D¿N¹N×<PÑ<PÓ<RÔSÓSˆØF×MÑMÈgÓVÐVr   )rF   rG   rH   r
   rJ   r   r   r%   r)   rL   r.   r1   rE   rM   rN   s   @r   r   r   o   s_   ø„ ð
 ð 
°cð 
Èõ 
ð&
Ð2ó 
ð$
Ð$>ó 
ð(
U˜ó 
Uð
 Dó 
ðW˜#÷ Wr   r   c                   óX   ‡ — e Zd Zdefˆ fd„Zdededefd„Zdededefd„Zdefd„Z	ˆ xZ
S )	ÚOperatorAttachmentListr   c                 ó$   •— t         ‰| �  |«       y)zt
        Initialize the OperatorAttachmentList

        :param version: Version that contains the resource

        N)r   r   )r   r   r   s     €r   r   zOperatorAttachmentList.__init__Ð   s   ø€ ô 	‰Ñ˜Õ!r   r   r   r   c                 ó2   — t        | j                  ||¬«      S ©zó
        Constructs a OperatorAttachmentContext

        :param service_sid: The unique SID identifier of the Service.
        :param operator_sid: The unique SID identifier of the Operator. Allows both Custom and Pre-built Operators.
        r   ©r   r    ©r   r   r   s      r   r   zOperatorAttachmentList.getÙ   s   € ô )Ø�M‰M {Àô
ð 	
r   c                 ó2   — t        | j                  ||¬«      S rh   ri   rj   s      r   Ú__call__zOperatorAttachmentList.__call__ä   s   € ô )Ø�M‰M {Àô
ð 	
r   c                  ó   — y)r3   z/<Twilio.Intelligence.V2.OperatorAttachmentList>rQ   r!   s    r   rE   zOperatorAttachmentList.__repr__ñ   s   € ð Ar   )rF   rG   rH   r
   r   rJ   r   r   rl   rE   rM   rN   s   @r   re   re   Î   sU   ø„ ð" õ "ð	
˜sð 	
°#ð 	
Ð:Só 	
ð
Øð
Ø.1ð
à	"ó
ðA˜#÷ Ar   re   N)rI   Útypingr   r   r   Útwilio.baser   Útwilio.base.instance_contextr   Útwilio.base.instance_resourcer   Útwilio.base.list_resourcer	   Útwilio.base.versionr
   r   r   re   rQ   r   r   ú<module>rt      sR   ðñ÷ 'Ñ &Ý Ý 8Ý :Ý 2Ý 'ôUXÐ!1ô UXôp\W ô \Wô~)A˜\õ )Ar   