Ë
    [üàgÆ%  ã                   ó¢   — d 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 - Insights
    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Ú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ej                  ej                  ej                  fd
eeef   deeef   deeef   dd fd„Zej                  ej                  ej                  fd
eeef   deeef   deeef   dd fd„Zdefd„Zˆ xZS )ÚSettingInstancea1  
    :ivar account_sid: The unique SID identifier of the Account.
    :ivar advanced_features: A boolean flag indicating whether Advanced Features for Voice Insights are enabled.
    :ivar voice_trace: A boolean flag indicating whether Voice Trace is enabled.
    :ivar url: The URL of this resource.
    ÚversionÚpayloadc                 óâ   •— t         ‰| �  |«       |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        d | _        y )NÚaccount_sidÚadvanced_featuresÚvoice_traceÚurl)ÚsuperÚ__init__Úgetr   r   r   r   Ú_context)Úselfr   r   Ú	__class__s      €ú]/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/twilio/rest/insights/v1/setting.pyr   zSettingInstance.__init__   s[   ø€ Ü‰Ñ˜Ô!à*1¯+©+°mÓ*DˆÔØ18·±Ð=PÓ1QˆÔØ+2¯;©;°}Ó+EˆÔØ")§+¡+¨eÓ"4ˆŒà26ˆ�ó    Ú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: SettingContext for this SettingInstance
        )r   ÚSettingContextÚ_version©r   s    r   Ú_proxyzSettingInstance._proxy)   s-   € ð �=‰=Ð Ü*Ø—‘óˆDŒMð �}‰}Ðr   Úsubaccount_sidc                 ó:   — | j                   j                  |¬«      S )ú§
        Fetch the SettingInstance

        :param subaccount_sid: The unique SID identifier of the Subaccount.

        :returns: The fetched SettingInstance
        ©r$   )r#   Úfetch©r   r$   s     r   r(   zSettingInstance.fetch7   s#   € ð �{‰{× Ñ Ø)ð !ó 
ð 	
r   c              ƒ   óV   K  — | j                   j                  |¬«      ƒ d{  –—† S 7 Œ­w)úÁ
        Asynchronous coroutine to fetch the SettingInstance

        :param subaccount_sid: The unique SID identifier of the Subaccount.

        :returns: The fetched SettingInstance
        r'   N)r#   Úfetch_asyncr)   s     r   r,   zSettingInstance.fetch_asyncE   s1   è ø€ ð —[‘[×,Ñ,Ø)ð -ó 
÷ 
ð 	
ð 
ús   ‚ )¢'£)r   r   c                 ó>   — | j                   j                  |||¬«      S )áK  
        Update the SettingInstance

        :param advanced_features: A boolean flag to enable Advanced Features for Voice Insights.
        :param voice_trace: A boolean flag to enable Voice Trace.
        :param subaccount_sid: The unique SID identifier of the Subaccount.

        :returns: The updated SettingInstance
        ©r   r   r$   )r#   Úupdate©r   r   r   r$   s       r   r0   zSettingInstance.updateS   s)   € ð �{‰{×!Ñ!Ø/Ø#Ø)ð "ó 
ð 	
r   c              ƒ   óZ   K  — | j                   j                  |||¬«      ƒ d{  –—† S 7 Œ­w)áe  
        Asynchronous coroutine to update the SettingInstance

        :param advanced_features: A boolean flag to enable Advanced Features for Voice Insights.
        :param voice_trace: A boolean flag to enable Voice Trace.
        :param subaccount_sid: The unique SID identifier of the Subaccount.

        :returns: The updated SettingInstance
        r/   N)r#   Úupdate_asyncr1   s       r   r4   zSettingInstance.update_asynch   s7   è ø€ ð —[‘[×-Ñ-Ø/Ø#Ø)ð .ó 
÷ 
ð 	
ð 
ús   ‚"+¤)¥+c                  ó   — y)úf
        Provide a friendly representation

        :returns: Machine friendly representation
        z$<Twilio.Insights.V1.SettingInstance>© r"   s    r   Ú__repr__zSettingInstance.__repr__}   s   € ð 6r   )r   r    )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   Ústrr   r   Úpropertyr#   r   Úunsetr   Úobjectr(   r,   Úboolr0   r4   r8   Ú__classcell__©r   s   @r   r   r      sK  ø„ ñð7 ð 7°$°s¸C°x±.õ 7ð òó ðð 4:·<±<ñ
Ø# C¨ KÑ0ð
à	ó
ð 4:·<±<ñ
Ø# C¨ KÑ0ð
à	ó
ð  28·±Ø+1¯<©<Ø-3¯\©\ñ	
à   v Ñ.ð
ð ˜4 ˜<Ñ(ð
ð ˜c 6˜kÑ*ð	
ð
 
ó
ð. 28·±Ø+1¯<©<Ø-3¯\©\ñ	
à   v Ñ.ð
ð ˜4 ˜<Ñ(ð
ð ˜c 6˜kÑ*ð	
ð
 
ó
ð*6˜#÷ 6r   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ej                  ej                  ej                  fdeee	f   deee	f   deee	f   de
fd	„Zej                  ej                  ej                  fdeee	f   deee	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)zk
        Initialize the SettingContext

        :param version: Version that contains the resource
        z/Voice/SettingsN)r   r   Ú_uri©r   r   r   s     €r   r   zSettingContext.__init__‰   s   ø€ ô 	‰Ñ˜Ô!à%ˆ�	r   r$   r   c                 óâ   — t        j                  d|i«      }t        j                  i «      }d|d<   | j                  j                  d| j                  ||¬«      }t        | j                  |«      S )r&   ÚSubaccountSidúapplication/jsonÚAcceptÚGET©ÚmethodÚuriÚparamsÚheaders)r   Úofr!   r(   rF   r   ©r   r$   ÚdatarQ   r   s        r   r(   zSettingContext.fetch“   st   € ô �y‰yà ðó
ˆô —)‘)˜B“-ˆà.ˆ�Ñà—-‘-×%Ñ%Ø˜dŸi™i°¸gð &ó 
ˆô Ø�M‰MØó
ð 	
r   c              ƒ   óþ   K  — t        j                  d|i«      }t        j                  i «      }d|d<   | j                  j                  d| j                  ||¬«      ƒ d{  –—† }t        | j                  |«      S 7 Œ­w)r+   rI   rJ   rK   rL   rM   N)r   rR   r!   r,   rF   r   rS   s        r   r,   zSettingContext.fetch_async±   s‚   è ø€ ô �y‰yà ðó
ˆô —)‘)˜B“-ˆà.ˆ�ÑàŸ™×1Ñ1Ø˜dŸi™i°¸gð 2ó 
÷ 
ˆô Ø�M‰MØó
ð 	
ð	
ús   ‚AA=Á A;Á!A=r   r   c                 ó<  — t        j                  t        j                  |«      t        j                  |«      |dœ«      }t        j                  i «      }d|d<   d|d<   | j                  j                  d| j                  ||¬«      }t        | j                  |«      S )r.   ©ÚAdvancedFeaturesÚ
VoiceTracerI   ú!application/x-www-form-urlencodedúContent-TyperJ   rK   ÚPOST©rN   rO   rT   rQ   )r   rR   r   Úboolean_to_stringr!   r0   rF   r   ©r   r   r   r$   rT   rQ   r   s          r   r0   zSettingContext.updateÏ   s“   € ô  �y‰yä$-×$?Ñ$?Ð@QÓ$RÜ'×9Ñ9¸+ÓFØ!/ñó
ˆô —)‘)˜B“-ˆà"Eˆ�Ñà.ˆ�Ñà—-‘-×&Ñ&Ø˜tŸy™y¨t¸Wð 'ó 
ˆô ˜tŸ}™}¨gÓ6Ð6r   c              ƒ   óX  K  — t        j                  t        j                  |«      t        j                  |«      |dœ«      }t        j                  i «      }d|d<   d|d<   | j                  j                  d| j                  ||¬«      ƒ d{  –—† }t        | j                  |«      S 7 Œ­w)	r3   rW   rZ   r[   rJ   rK   r\   r]   N)r   rR   r   r^   r!   r4   rF   r   r_   s          r   r4   zSettingContext.update_asyncò   s¡   è ø€ ô  �y‰yä$-×$?Ñ$?Ð@QÓ$RÜ'×9Ñ9¸+ÓFØ!/ñó
ˆô —)‘)˜B“-ˆà"Eˆ�Ñà.ˆ�ÑàŸ™×2Ñ2Ø˜tŸy™y¨t¸Wð 3ó 
÷ 
ˆô ˜tŸ}™}¨gÓ6Ð6ð	
ús   ‚BB*ÂB(ÂB*c                  ó   — y)r6   z#<Twilio.Insights.V1.SettingContext>r7   r"   s    r   r8   zSettingContext.__repr__  s   € ð 5r   )r9   r:   r;   r   r   r   r?   r   r=   r@   r   r(   r,   rA   r0   r4   r8   rB   rC   s   @r   r    r    ‡   s&  ø„ ð& õ &ð 4:·<±<ñ
Ø# C¨ KÑ0ð
à	ó
ð> 4:·<±<ñ
Ø# C¨ KÑ0ð
à	ó
ð@ 28·±Ø+1¯<©<Ø-3¯\©\ñ	!7à   v Ñ.ð!7ð ˜4 ˜<Ñ(ð!7ð ˜c 6˜kÑ*ð	!7ð
 
ó!7ðJ 28·±Ø+1¯<©<Ø-3¯\©\ñ	!7à   v Ñ.ð!7ð ˜4 ˜<Ñ(ð!7ð ˜c 6˜kÑ*ð	!7ð
 
ó!7ðF5˜#÷ 5r   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 )ÚSettingListr   c                 ó$   •— t         ‰| �  |«       y)zi
        Initialize the SettingList

        :param version: Version that contains the resource

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

        ©r    r!   r"   s    r   r   zSettingList.get*  ó   € ô
 ˜dŸm™mÓ,Ð,r   c                 ó,   — t        | j                  «      S rf   rg   r"   s    r   Ú__call__zSettingList.__call__1  rh   r   c                  ó   — y)r6   z <Twilio.Insights.V1.SettingList>r7   r"   s    r   r8   zSettingList.__repr__8  s   € ð 2r   )r9   r:   r;   r   r   r    r   rj   r=   r8   rB   rC   s   @r   rc   rc     s3   ø„ ð" õ "ð-�^ó -ð-˜.ó -ð2˜#÷ 2r   rc   N)r<   Útypingr   r   r   r   Útwilio.baser   r   Útwilio.base.instance_contextr	   Útwilio.base.instance_resourcer
   Útwilio.base.list_resourcer   Útwilio.base.versionr   r   r    rc   r7   r   r   ú<module>rr      sL   ðñ÷ .Ó -ß )Ý 8Ý :Ý 2Ý 'ôm6Ð&ô m6ô`U5�_ô U5ôp2�,õ 2r   