
    g7                         S r SSKJrJrJrJr  SSKJrJr  SSK	J
r
  SSKJr  SSKJr  SSKJr   " S S	\5      r " S
 S\
5      r " S S\5      rg)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                     ^  \ rS rSrSrS\S\\\4   4U 4S jjr	\
SS j5       r\R                  \R                  \R                  \R                  \R                  4S\S	\\\4   S
\\\4   S\\\4   S\\\4   S\\\4   SS 4S jjr\R                  \R                  \R                  \R                  \R                  4S\S	\\\4   S
\\\4   S\\\4   S\\\4   S\\\4   SS 4S jjrSS jrSS jrS\4S jrSrU =r$ )CompositionSettingsInstance   a;  
: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U ]  U5        UR                  S5      U l        UR                  S5      U l        UR                  S5      U l        UR                  S5      U l        UR                  S5      U l        UR                  S5      U l        UR                  S5      U l	        UR                  S5      U l
        S U l        g )	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      q/Users/Alptekin/Desktop/izin_takip/venv/lib/python3.13/site-packages/twilio/rest/video/v1/composition_settings.pyr   $CompositionSettingsInstance.__init__#   s    !*1++m*D,3KK,H29++>S2T )0\)B3:;;?T3U 18=Q1R29++>R2S")++e"4>B    returnc                 h    U R                   c  [        U R                  5      U l         U R                   $ )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: CompositionSettingsContext for this CompositionSettingsInstance
)r   CompositionSettingsContext_versionr   s    r!   _proxy"CompositionSettingsInstance._proxy1   s-     == 6DM }}r#   r   r   r   r   r   r   c           	      >    U R                   R                  UUUUUUS9$ )  
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.   "CompositionSettingsInstance.create?   s2    * {{!! 31! 31 " 
 	
r#   c           	      Z   #    U R                   R                  UUUUUUS9I Sh  vN $  N7f)  
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!   r3   (CompositionSettingsInstance.create_async]   s?     * [[-- 31! 31 . 
 
 	
 
s   "+)+c                 6    U R                   R                  5       $ )[
Fetch the CompositionSettingsInstance


:returns: The fetched CompositionSettingsInstance
)r)   fetchr(   s    r!   r7   !CompositionSettingsInstance.fetch{   s     {{  ""r#   c                 R   #    U R                   R                  5       I Sh  vN $  N7f)u
Asynchronous coroutine to fetch the CompositionSettingsInstance


:returns: The fetched CompositionSettingsInstance
N)r)   fetch_asyncr(   s    r!   r;   'CompositionSettingsInstance.fetch_async   s       [[,,....s   '%'c                     g)N
Provide a friendly representation

:returns: Machine friendly representation
z-<Twilio.Video.V1.CompositionSettingsInstance> r(   s    r!   __repr__$CompositionSettingsInstance.__repr__   s     ?r#   )	r   r   r   r   r   r   r   r   r   )r$   r&   )r$   r   )__name__
__module____qualname____firstlineno____doc__r   r   strr   r   propertyr)   r   unsetr   objectboolr.   r3   r7   r;   r@   __static_attributes____classcell__r    s   @r!   r   r      s   	C C$sCx. C    39,,17)/39<<28,,

 #3;/
 "#v+.	

 #v+&
 #4<0
 "$,/
 
'
B 39,,17)/39<<28,,

 #3;/
 "#v+.	

 #v+&
 #4<0
 "$,/
 
'
<#/?# ? ?r#   r   c                     ^  \ rS rSrS\4U 4S jjr\R                  \R                  \R                  \R                  \R                  4S\S\	\\
4   S\	\\
4   S\	\\
4   S\	\\
4   S	\	\\
4   S
\4S jjr\R                  \R                  \R                  \R                  \R                  4S\S\	\\
4   S\	\\
4   S\	\\
4   S\	\\
4   S	\	\\
4   S
\4S jjrS
\4S jrS
\4S jrS
\4S jrSrU =r$ )r&      r   c                 2   > [         TU ]  U5        SU l        g)z_
Initialize the CompositionSettingsContext

:param version: Version that contains the resource
z/CompositionSettings/DefaultN)r   r   _urir   r   r    s     r!   r   #CompositionSettingsContext.__init__   s     	!2	r#   r   r   r   r   r   r   r$   c           
         [         R                  " UUUU[        R                  " U5      [        R                  " U5      S.5      nU R                  R                  SU R                  US9n[        U R                  U5      $ )r,   FriendlyNameAwsCredentialsSidEncryptionKeySidAwsS3UrlAwsStorageEnabledEncryptionEnabledPOSTmethoduridata)r   ofr   boolean_to_stringr'   r.   rR   r   	r   r   r   r   r   r   r   ra   r   s	            r!   r.   !CompositionSettingsContext.create   ss    * yy -%8$6&%.%@%@AT%U%.%@%@AS%T	
 --&&f$))$&O*4=='BBr#   c           
        #    [         R                  " UUUU[        R                  " U5      [        R                  " U5      S.5      nU R                  R                  SU R                  US9I Sh  vN n[        U R                  U5      $  N7f)r2   rV   r]   r^   N)r   rb   r   rc   r'   r3   rR   r   rd   s	            r!   r3   'CompositionSettingsContext.create_async   s     * yy -%8$6&%.%@%@AT%U%.%@%@AS%T	
 22tyyt 3 
 
 +4=='BB	
s   A.B0B1Bc                     [         R                  " 0 5      nSUS'   U R                  R                  SU R                  US9n[        U R                  U5      $ )r6   application/jsonAcceptGETr_   r`   headers)r   rb   r'   r7   rR   r   r   rm   r   s      r!   r7    CompositionSettingsContext.fetch   sQ     ))B-.--%%U		7%S*MM
 	
r#   c                    #    [         R                  " 0 5      nSUS'   U R                  R                  SU R                  US9I Sh  vN n[        U R                  U5      $  N7f)r:   ri   rj   rk   rl   N)r   rb   r'   r;   rR   r   rn   s      r!   r;   &CompositionSettingsContext.fetch_async   se      ))B-.11dii 2 
 
 +MM
 	
	
s   AA#A!A#c                     g)r>   z,<Twilio.Video.V1.CompositionSettingsContext>r?   r(   s    r!   r@   #CompositionSettingsContext.__repr__  s     >r#   )rR   )rB   rC   rD   rE   r   r   r   rI   rG   r   rJ   rK   r   r.   r3   r7   r;   r@   rL   rM   rN   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                   Z   ^  \ rS rSrS\4U 4S jjrS\4S jrS\4S jrS\	4S jr
SrU =r$ )	CompositionSettingsListi  r   c                 $   > [         TU ]  U5        g)z]
Initialize the CompositionSettingsList

:param version: Version that contains the resource

N)r   r   rS   s     r!   r    CompositionSettingsList.__init__!  s     	!r#   r$   c                 ,    [        U R                  5      $ z*
Constructs a CompositionSettingsContext

r&   r'   r(   s    r!   r   CompositionSettingsList.get*      
 *$--88r#   c                 ,    [        U R                  5      $ ry   rz   r(   s    r!   __call__ CompositionSettingsList.__call__1  r|   r#   c                     g)r>   z)<Twilio.Video.V1.CompositionSettingsList>r?   r(   s    r!   r@    CompositionSettingsList.__repr__8  s     ;r#   r?   )rB   rC   rD   rE   r   r   r&   r   r~   rG   r@   rL   rM   rN   s   @r!   ru   ru     s:    " "9/ 994 9;# ; ;r#   ru   N)rF   typingr   r   r   r   twilio.baser   r   twilio.base.instance_contextr	   twilio.base.instance_resourcer
   twilio.base.list_resourcer   twilio.base.versionr   r   r&   ru   r?   r#   r!   <module>r      sL    . - ) 8 : 2 '}?"2 }?@E> E>P;l ;r#   