Ë
    [üàgÛ7  ã                   ó¢   — 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 - Video
    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                  ej                  ej                  ej                  ej                  fdedeeef   d	eee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                  ej                  ej                  fdedeeef   d	eeef   d
eeef   deeef   deeef   dd fd„Zdd„Zdd„Zdefd„Zˆ xZS )ÚCompositionSettingsInstancea_  
    :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the CompositionSettings resource.
    :ivar friendly_name: The string that you assigned to describe the resource and that will be shown in the console
    :ivar aws_credentials_sid: The SID of the stored Credential resource.
    :ivar aws_s3_url: The URL of the AWS S3 bucket where the compositions are stored. We only support DNS-compliant URLs like `https://documentation-example-twilio-bucket/compositions`, where `compositions` is the path in which you want the compositions to be stored. This URL accepts only URI-valid characters, as described in the [RFC 3986](https://tools.ietf.org/html/rfc3986#section-2).
    :ivar aws_storage_enabled: Whether all compositions are written to the `aws_s3_url`. When `false`, all compositions are stored in our cloud.
    :ivar encryption_key_sid: The SID of the Public Key resource used for encryption.
    :ivar encryption_enabled: Whether all compositions are stored in an encrypted form. The default is `false`.
    :ivar url: The absolute URL of the resource.
    ÚversionÚpayloadc                 ó’  •— t         ‰| �  |«       |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _	        |j                  d«      | _
        d | _        y )	NÚaccount_sidÚfriendly_nameÚaws_credentials_sidÚ
aws_s3_urlÚaws_storage_enabledÚencryption_key_sidÚencryption_enabledÚurl)ÚsuperÚ__init__Úgetr   r   r   r   r   r   r   r   Ú_context)Úselfr   r   Ú	__class__s      €úg/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/twilio/rest/video/v1/composition_settings.pyr   z$CompositionSettingsInstance.__init__#   s¡   ø€ Ü‰Ñ˜Ô!à*1¯+©+°mÓ*DˆÔØ,3¯K©K¸Ó,HˆÔØ29·+±+Ð>SÓ2TˆÔ Ø)0¯©°\Ó)BˆŒØ3:·;±;Ð?TÓ3UˆÔ Ø18·±Ð=QÓ1RˆÔØ29·+±+Ð>RÓ2SˆÔØ")§+¡+¨eÓ"4ˆŒà>Bˆ�ó    Úreturnc                 óf   — | j                   €t        | j                  «      | _         | j                   S )a  
        Generate an instance context for the instance, the context is capable of
        performing various actions. All instance actions are proxied to the context

        :returns: CompositionSettingsContext for this CompositionSettingsInstance
        )r   ÚCompositionSettingsContextÚ_version©r   s    r    Ú_proxyz"CompositionSettingsInstance._proxy1   s-   € ð �=‰=Ð Ü6Ø—‘óˆDŒMð �}‰}Ðr!   r   r   r   r   r   r   c                 óD   — | j                   j                  ||||||¬«      S )áI  
        Create the CompositionSettingsInstance

        :param friendly_name: A descriptive string that you create to describe the resource and show to the user in the console
        :param aws_credentials_sid: The SID of the stored Credential resource.
        :param encryption_key_sid: The SID of the Public Key resource to use for encryption.
        :param aws_s3_url: The URL of the AWS S3 bucket where the compositions should be stored. We only support DNS-compliant URLs like `https://documentation-example-twilio-bucket/compositions`, where `compositions` is the path in which you want the compositions to be stored. This URL accepts only URI-valid characters, as described in the [RFC 3986](https://tools.ietf.org/html/rfc3986#section-2).
        :param aws_storage_enabled: Whether all compositions should be written to the `aws_s3_url`. When `false`, all compositions are stored in our cloud.
        :param encryption_enabled: Whether all compositions should be stored in an encrypted form. The default is `false`.

        :returns: The created CompositionSettingsInstance
        ©r   r   r   r   r   )r'   Úcreate©r   r   r   r   r   r   r   s          r    r+   z"CompositionSettingsInstance.create?   s2   € ð* �{‰{×!Ñ!ØØ 3Ø1Ø!Ø 3Ø1ð "ó 
ð 	
r!   c              ƒ   ó`   K  — | j                   j                  ||||||¬«      ƒ d{  –—† S 7 Œ­w)ác  
        Asynchronous coroutine to create the CompositionSettingsInstance

        :param friendly_name: A descriptive string that you create to describe the resource and show to the user in the console
        :param aws_credentials_sid: The SID of the stored Credential resource.
        :param encryption_key_sid: The SID of the Public Key resource to use for encryption.
        :param aws_s3_url: The URL of the AWS S3 bucket where the compositions should be stored. We only support DNS-compliant URLs like `https://documentation-example-twilio-bucket/compositions`, where `compositions` is the path in which you want the compositions to be stored. This URL accepts only URI-valid characters, as described in the [RFC 3986](https://tools.ietf.org/html/rfc3986#section-2).
        :param aws_storage_enabled: Whether all compositions should be written to the `aws_s3_url`. When `false`, all compositions are stored in our cloud.
        :param encryption_enabled: Whether all compositions should be stored in an encrypted form. The default is `false`.

        :returns: The created CompositionSettingsInstance
        r*   N)r'   Úcreate_asyncr,   s          r    r/   z(CompositionSettingsInstance.create_async]   s@   è ø€ ð* —[‘[×-Ñ-ØØ 3Ø1Ø!Ø 3Ø1ð .ó 
÷ 
ð 	
ð 
ús   ‚%.§,¨.c                 ó6   — | j                   j                  «       S )ús
        Fetch the CompositionSettingsInstance


        :returns: The fetched CompositionSettingsInstance
        )r'   Úfetchr&   s    r    r2   z!CompositionSettingsInstance.fetch{   s   € ð �{‰{× Ñ Ó"Ð"r!   c              ƒ   óR   K  — | j                   j                  «       ƒ d{  –—† S 7 Œ­w)ú�
        Asynchronous coroutine to fetch the CompositionSettingsInstance


        :returns: The fetched CompositionSettingsInstance
        N)r'   Úfetch_asyncr&   s    r    r5   z'CompositionSettingsInstance.fetch_async„   s!   è ø€ ð —[‘[×,Ñ,Ó.×.Ð.Ð.ús   ‚' %¡'c                  ó   — y)úf
        Provide a friendly representation

        :returns: Machine friendly representation
        z-<Twilio.Video.V1.CompositionSettingsInstance>© r&   s    r    Ú__repr__z$CompositionSettingsInstance.__repr__�   s   € ð ?r!   )r"   r$   )r"   r   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   Ústrr   r   Úpropertyr'   r   Úunsetr   ÚobjectÚboolr+   r/   r2   r5   r9   Ú__classcell__©r   s   @r    r   r      s‡  ø„ ñ	ðC ð C°$°s¸C°x±.õ Cð òó ðð  39·,±,Ø17·±Ø)/¯©Ø39·<±<Ø28·,±,ñ
àð
ð # 3¨ ;Ñ/ð
ð " # v +Ñ.ð	
ð
 ˜#˜v˜+Ñ&ð
ð # 4¨ <Ñ0ð
ð " $¨ ,Ñ/ð
ð 
'ó
ðB 39·,±,Ø17·±Ø)/¯©Ø39·<±<Ø28·,±,ñ
àð
ð # 3¨ ;Ñ/ð
ð " # v +Ñ.ð	
ð
 ˜#˜v˜+Ñ&ð
ð # 4¨ <Ñ0ð
ð " $¨ ,Ñ/ð
ð 
'ó
ó<#ó/ð?˜#÷ ?r!   r   c                   óÔ  ‡ — e Zd Zdefˆ fd„Zej                  ej                  ej                  ej                  ej                  fdedeee	f   deee	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                  ej                  ej                  fdedeee	f   deee	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d	efd„Zd	efd„Zˆ xZS )r$   r   c                 ó2   •— t         ‰| �  |«       d| _        y)zw
        Initialize the CompositionSettingsContext

        :param version: Version that contains the resource
        z/CompositionSettings/DefaultN)r   r   Ú_uri©r   r   r   s     €r    r   z#CompositionSettingsContext.__init__™   s   ø€ ô 	‰Ñ˜Ô!à2ˆ�	r!   r   r   r   r   r   r   r"   c           
      ó  — t        j                  ||||t        j                  |«      t        j                  |«      dœ«      }| j                  j                  d| j                  |¬«      }t        | j                  |«      S )r)   ©ÚFriendlyNameÚAwsCredentialsSidÚEncryptionKeySidÚAwsS3UrlÚAwsStorageEnabledÚEncryptionEnabledÚPOST©ÚmethodÚuriÚdata)r   Úofr   Úboolean_to_stringr%   r+   rG   r   ©	r   r   r   r   r   r   r   rU   r   s	            r    r+   z!CompositionSettingsContext.create£   ss   € ô* �y‰yà -Ø%8Ø$6Ø&Ü%.×%@Ñ%@ÐATÓ%UÜ%.×%@Ñ%@ÐASÓ%Tñó	
ˆð —-‘-×&Ñ&¨f¸$¿)¹)È$Ð&ÓOˆä*¨4¯=©=¸'ÓBÐBr!   c           
   ƒ   ó  K  — t        j                  ||||t        j                  |«      t        j                  |«      dœ«      }| j                  j                  d| j                  |¬«      ƒ d{  –—† }t        | j                  |«      S 7 Œ­w)r.   rJ   rQ   rR   N)r   rV   r   rW   r%   r/   rG   r   rX   s	            r    r/   z'CompositionSettingsContext.create_asyncÇ   sˆ   è ø€ ô* �y‰yà -Ø%8Ø$6Ø&Ü%.×%@Ñ%@ÐATÓ%UÜ%.×%@Ñ%@ÐASÓ%Tñó	
ˆð Ÿ™×2Ñ2Ø˜tŸy™y¨tð 3ó 
÷ 
ˆô +¨4¯=©=¸'ÓBÐBð	
ús   ‚A.BÁ0BÁ1Bc                 ó²   — t        j                  i «      }d|d<   | j                  j                  d| j                  |¬«      }t        | j                  |«      S )r1   úapplication/jsonÚAcceptÚGET©rS   rT   Úheaders)r   rV   r%   r2   rG   r   ©r   r_   r   s      r    r2   z CompositionSettingsContext.fetchí   sQ   € ô —)‘)˜B“-ˆà.ˆ�Ñà—-‘-×%Ñ%¨U¸¿	¹	È7Ð%ÓSˆä*Ø�M‰MØó
ð 	
r!   c              ƒ   óÎ   K  — t        j                  i «      }d|d<   | j                  j                  d| j                  |¬«      ƒ d{  –—† }t        | j                  |«      S 7 Œ­w)r4   r[   r\   r]   r^   N)r   rV   r%   r5   rG   r   r`   s      r    r5   z&CompositionSettingsContext.fetch_async   sf   è ø€ ô —)‘)˜B“-ˆà.ˆ�ÑàŸ™×1Ñ1Ø˜dŸi™i°ð 2ó 
÷ 
ˆô +Ø�M‰MØó
ð 	
ð	
ús   ‚AA%ÁA#Á	A%c                  ó   — y)r7   z,<Twilio.Video.V1.CompositionSettingsContext>r8   r&   s    r    r9   z#CompositionSettingsContext.__repr__  s   € ð >r!   )r:   r;   r<   r   r   r   r@   r>   r   rA   rB   r   r+   r/   r2   r5   r9   rC   rD   s   @r    r$   r$   —   s}  ø„ ð3 õ 3ð 39·,±,Ø17·±Ø)/¯©Ø39·<±<Ø28·,±,ñ"Càð"Cð # 3¨ ;Ñ/ð"Cð " # v +Ñ.ð	"Cð
 ˜#˜v˜+Ñ&ð"Cð # 4¨ <Ñ0ð"Cð " $¨ ,Ñ/ð"Cð 
%ó"CðN 39·,±,Ø17·±Ø)/¯©Ø39·<±<Ø28·,±,ñ$Càð$Cð # 3¨ ;Ñ/ð$Cð " # v +Ñ.ð	$Cð
 ˜#˜v˜+Ñ&ð$Cð # 4¨ <Ñ0ð$Cð " $¨ ,Ñ/ð$Cð 
%ó$CðL
Ð2ó 
ð&
Ð#>ó 
ð*>˜#÷ >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 )ÚCompositionSettingsListr   c                 ó$   •— t         ‰| �  |«       y)zu
        Initialize the CompositionSettingsList

        :param version: Version that contains the resource

        N)r   r   rH   s     €r    r   z CompositionSettingsList.__init__!  s   ø€ ô 	‰Ñ˜Õ!r!   r"   c                 ó,   — t        | j                  «      S ©z:
        Constructs a CompositionSettingsContext

        ©r$   r%   r&   s    r    r   zCompositionSettingsList.get*  ó   € ô
 *¨$¯-©-Ó8Ð8r!   c                 ó,   — t        | j                  «      S rg   rh   r&   s    r    Ú__call__z CompositionSettingsList.__call__1  ri   r!   c                  ó   — y)r7   z)<Twilio.Video.V1.CompositionSettingsList>r8   r&   s    r    r9   z CompositionSettingsList.__repr__8  s   € ð ;r!   )r:   r;   r<   r   r   r$   r   rk   r>   r9   rC   rD   s   @r    rd   rd     s5   ø„ ð" õ "ð9Ð/ó 9ð9Ð4ó 9ð;˜#÷ ;r!   rd   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$   rd   r8   r!   r    ú<module>rs      sL   ðñ÷ .Ó -ß )Ý 8Ý :Ý 2Ý 'ô}?Ð"2ô }?ô@E> ô E>ôP;˜lõ ;r!   