Ë
    [üàg8  ã                   óž   — d Z ddlmZ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 - Flex
    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)Ú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 )ÚInsightsSessionInstancea<  
    :ivar workspace_id: Unique ID to identify the user's workspace
    :ivar session_expiry: The session expiry date and time, given in ISO 8601 format.
    :ivar session_id: The unique ID for the session
    :ivar base_url: The base URL to fetch reports and dashboards
    :ivar url: The URL of this resource.
    ÚversionÚpayloadc                 ó  •— t         ‰| �  |«       |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        d | _        y )NÚworkspace_idÚsession_expiryÚ
session_idÚbase_urlÚurl)	ÚsuperÚ__init__Úgetr   r   r   r   r   Ú_context)Úselfr   r   Ú	__class__s      €úf/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/twilio/rest/flex_api/v1/insights_session.pyr   z InsightsSessionInstance.__init__    sj   ø€ Ü‰Ñ˜Ô!à+2¯;©;°~Ó+FˆÔØ-4¯[©[Ð9IÓ-JˆÔØ)0¯©°\Ó)BˆŒØ'.§{¡{°:Ó'>ˆŒØ")§+¡+¨eÓ"4ˆŒà:>ˆ�ó    Ú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: InsightsSessionContext for this InsightsSessionInstance
        )r   ÚInsightsSessionContextÚ_version©r   s    r   Ú_proxyzInsightsSessionInstance._proxy+   s-   € ð �=‰=Ð Ü2Ø—‘óˆDŒMð �}‰}Ðr   Úauthorizationc                 ó:   — | j                   j                  |¬«      S )ú°
        Create the InsightsSessionInstance

        :param authorization: The Authorization HTTP request header

        :returns: The created InsightsSessionInstance
        ©r$   )r#   Úcreate©r   r$   s     r   r(   zInsightsSessionInstance.create9   s#   € ð �{‰{×!Ñ!Ø'ð "ó 
ð 	
r   c              ƒ   óV   K  — | j                   j                  |¬«      ƒ d{  –—† S 7 Œ­w)úÊ
        Asynchronous coroutine to create the InsightsSessionInstance

        :param authorization: The Authorization HTTP request header

        :returns: The created InsightsSessionInstance
        r'   N)r#   Úcreate_asyncr)   s     r   r,   z$InsightsSessionInstance.create_asyncG   s1   è ø€ ð —[‘[×-Ñ-Ø'ð .ó 
÷ 
ð 	
ð 
ús   ‚ )¢'£)c                  ó   — y)úf
        Provide a friendly representation

        :returns: Machine friendly representation
        z+<Twilio.FlexApi.V1.InsightsSessionInstance>© r"   s    r   Ú__repr__z InsightsSessionInstance.__repr__U   s   € ð =r   )r   r    )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   Ústrr   r   Úpropertyr#   r   Úunsetr   Úobjectr(   r,   r0   Ú__classcell__©r   s   @r   r   r      s‘   ø„ ñð	? ð 	?°$°s¸C°x±.õ 	?ð òó ðð 39·,±,ñ
Ø" 3¨ ;Ñ/ð
à	"ó
ð 39·,±,ñ
Ø" 3¨ ;Ñ/ð
à	"ó
ð=˜#÷ =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)zs
        Initialize the InsightsSessionContext

        :param version: Version that contains the resource
        z/Insights/SessionN)r   r   Ú_uri©r   r   r   s     €r   r   zInsightsSessionContext.__init__a   s   ø€ ô 	‰Ñ˜Ô!à'ˆ�	r   r$   r   c                 ó¬   — t        j                  d|i«      }| j                  j                  d| j                  |¬«      }t        | j                  |«      S )r&   ÚAuthorizationÚPOST©ÚmethodÚuriÚdata)r   Úofr!   r(   r=   r   ©r   r$   rE   r   s       r   r(   zInsightsSessionContext.createk   sN   € ô �y‰yà ðó
ˆð —-‘-×&Ñ&¨f¸$¿)¹)È$Ð&ÓOˆä& t§}¡}°gÓ>Ð>r   c              ƒ   óÈ   K  — t        j                  d|i«      }| j                  j                  d| j                  |¬«      ƒ d{  –—† }t        | j                  |«      S 7 Œ­w)r+   r@   rA   rB   N)r   rF   r!   r,   r=   r   rG   s       r   r,   z#InsightsSessionContext.create_async   sc   è ø€ ô �y‰yà ðó
ˆð Ÿ™×2Ñ2Ø˜tŸy™y¨tð 3ó 
÷ 
ˆô ' t§}¡}°gÓ>Ð>ð	
ús   ‚AA"ÁA ÁA"c                  ó   — y)r.   z*<Twilio.FlexApi.V1.InsightsSessionContext>r/   r"   s    r   r0   zInsightsSessionContext.__repr__•   s   € ð <r   )r1   r2   r3   r   r   r   r7   r   r5   r8   r   r(   r,   r0   r9   r:   s   @r   r    r    _   si   ø„ ð( õ (ð 39·,±,ñ?Ø" 3¨ ;Ñ/ð?à	 ó?ð* 39·,±,ñ?Ø" 3¨ ;Ñ/ð?à	 ó?ð,<˜#÷ <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 )ÚInsightsSessionListr   c                 ó$   •— t         ‰| �  |«       y)zq
        Initialize the InsightsSessionList

        :param version: Version that contains the resource

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

        ©r    r!   r"   s    r   r   zInsightsSessionList.getª   ó   € ô
 & d§m¡mÓ4Ð4r   c                 ó,   — t        | j                  «      S rN   rO   r"   s    r   Ú__call__zInsightsSessionList.__call__±   rP   r   c                  ó   — y)r.   z'<Twilio.FlexApi.V1.InsightsSessionList>r/   r"   s    r   r0   zInsightsSessionList.__repr__¸   s   € ð 9r   )r1   r2   r3   r   r   r    r   rR   r5   r0   r9   r:   s   @r   rK   rK   Ÿ   s5   ø„ ð" õ "ð5Ð+ó 5ð5Ð0ó 5ð9˜#÷ 9r   rK   N)r4   Útypingr   r   r   r   Útwilio.baser   Útwilio.base.instance_contextr   Útwilio.base.instance_resourcer	   Útwilio.base.list_resourcer
   Útwilio.base.versionr   r   r    rK   r/   r   r   ú<module>rZ      sJ   ðñ÷ .Ó -Ý Ý 8Ý :Ý 2Ý 'ôE=Ð.ô E=ôP=<˜_ô =<ô@9˜,õ 9r   