Ë
    [üàg¢m  ã                   óà   — d Z ddlmZ ddlmZmZmZmZmZmZm	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 G d„ de«      Zy)aæ  
    This code was generated by
   ___ _ _ _ _ _    _ ____    ____ ____ _    ____ ____ _  _ ____ ____ ____ ___ __   __
    |  | | | | |    | |  | __ |  | |__| | __ | __ |___ |\ | |___ |__/ |__|  | |  | |__/
    |  |_|_| | |___ | |__|    |__| |  | |    |__] |___ | \| |___ |  \ |  |  | |__| |  \

    Twilio - Api
    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.
é    )Údatetime)ÚAnyÚDictÚListÚOptionalÚUnionÚIteratorÚAsyncIterator)ÚdeserializeÚ	serializeÚvalues)ÚInstanceContext)ÚInstanceResource)ÚListResource)ÚVersion)ÚPagec                   ó’   ‡ — e Zd ZdZ	 ddedeeef   dededee   f
ˆ fd„Z	e
dd	„«       Zdefd
„Zdefd„Zdd„Zdd„Zdefd„Zˆ xZS )ÚMediaInstanceal  
    :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) associated with this Media resource.
    :ivar content_type: The default [MIME type](https://en.wikipedia.org/wiki/Internet_media_type) of the media, for example `image/jpeg`, `image/png`, or `image/gif`.
    :ivar date_created: The date and time in GMT when this Media resource was created, specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
    :ivar date_updated: The date and time in GMT when this Media resource was last updated, specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
    :ivar parent_sid: The SID of the Message resource that is associated with this Media resource.
    :ivar sid: The unique string that identifies this Media resource.
    :ivar uri: The URI of this Media resource, relative to `https://api.twilio.com`.
    ÚversionÚpayloadÚaccount_sidÚmessage_sidÚsidc                 óä  •— t         ‰| �  |«       |j                  d«      | _        |j                  d«      | _        t        j                  |j                  d«      «      | _        t        j                  |j                  d«      «      | _        |j                  d«      | _	        |j                  d«      | _
        |j                  d«      | _        |||xs | j                  dœ| _        d | _        y )	Nr   Úcontent_typeÚdate_createdÚdate_updatedÚ
parent_sidr   Úuri©r   r   r   )ÚsuperÚ__init__Úgetr   r   r   Úrfc2822_datetimer   r   r   r   r   Ú	_solutionÚ_context)Úselfr   r   r   r   r   Ú	__class__s         €úi/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/twilio/rest/api/v2010/account/message/media.pyr"   zMediaInstance.__init__$   sË   ø€ ô 	‰Ñ˜Ô!à*1¯+©+°mÓ*DˆÔØ+2¯;©;°~Ó+FˆÔÜ0;×0LÑ0LØ�K‰K˜Ó'ó1
ˆÔô 1<×0LÑ0LØ�K‰K˜Ó'ó1
ˆÔð *1¯©°\Ó)BˆŒØ")§+¡+¨eÓ"4ˆŒØ")§+¡+¨eÓ"4ˆŒð 'Ø&Ø’?˜$Ÿ(™(ñ
ˆŒð
 15ˆ�ó    Úreturnc                 ó¼   — | j                   €Et        | j                  | j                  d   | 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: MediaContext for this MediaInstance
        r   r   r   r    )r&   ÚMediaContextÚ_versionr%   ©r'   s    r)   Ú_proxyzMediaInstance._proxyA   sQ   € ð �=‰=Ð Ü(Ø—‘Ø ŸN™N¨=Ñ9Ø ŸN™N¨=Ñ9Ø—N‘N 5Ñ)ô	ˆDŒMð �}‰}Ðr*   c                 ó6   — | j                   j                  «       S )úh
        Deletes the MediaInstance


        :returns: True if delete succeeds, False otherwise
        )r0   Údeleter/   s    r)   r3   zMediaInstance.deleteR   s   € ð �{‰{×!Ñ!Ó#Ð#r*   c              ƒ   óR   K  — | j                   j                  «       ƒ d{  –—† S 7 Œ­w)ú„
        Asynchronous coroutine that deletes the MediaInstance


        :returns: True if delete succeeds, False otherwise
        N)r0   Údelete_asyncr/   s    r)   r6   zMediaInstance.delete_async[   s!   è ø€ ð —[‘[×-Ñ-Ó/×/Ð/Ð/úó   ‚' %¡'c                 ó6   — | j                   j                  «       S )úW
        Fetch the MediaInstance


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


        :returns: The fetched MediaInstance
        N)r0   Úfetch_asyncr/   s    r)   r=   zMediaInstance.fetch_asyncm   s!   è ø€ ð —[‘[×,Ñ,Ó.×.Ð.Ð.úr7   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>z)MediaInstance.__repr__.<locals>.<genexpr>|   ó   è ø€ ÒS±D°A°q˜7Ÿ>™>¨!¨Q×/ÑSùó   ‚!z#<Twilio.Api.V2010.MediaInstance {}>©Újoinr%   ÚitemsrD   ©r'   Úcontexts     r)   Ú__repr__zMediaInstance.__repr__v   s6   € ð —(‘(ÑS¸D¿N¹N×<PÑ<PÓ<RÔSÓSˆØ4×;Ñ;¸GÓDÐDr*   )N)r+   r-   )r+   r   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   Ústrr   r   r"   Úpropertyr0   Úboolr3   r6   r:   r=   rQ   Ú__classcell__©r(   s   @r)   r   r      s’   ø„ ñð  "ñ5àð5ð �c˜3�h‘ð5ð ð	5ð
 ð5ð �c‰]õ5ð: òó ðð $˜ó $ð0 Dó 0ó#ó/ðE˜#÷ Er*   r   c                   ól   ‡ — e Zd Zde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   r   c                 ó|   •— t         ‰| �  |«       |||dœ| _         dj                  di | j                  ¤Ž| _        y)a¼  
        Initialize the MediaContext

        :param version: Version that contains the resource
        :param account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) associated with the Media resource.
        :param message_sid: The SID of the Message resource that is associated with the Media resource.
        :param sid: The Twilio-provided string that uniquely identifies the Media resource to fetch.
        r    z?/Accounts/{account_sid}/Messages/{message_sid}/Media/{sid}.jsonN© ©r!   r"   r%   rD   Ú_uri)r'   r   r   r   r   r(   s        €r)   r"   zMediaContext.__init__‚   sM   ø€ ô 	‰Ñ˜Ô!ð 'Ø&Øñ
ˆŒð UÐM×TÑTñ Ø—.‘.ñð 	�	r*   r+   c                 ó|   — t        j                  i «      }| j                  j                  d| j                  |¬«      S )r2   ÚDELETE©Úmethodr   Úheaders)r   Úofr.   r3   r_   ©r'   rd   s     r)   r3   zMediaContext.delete™   s1   € ô —)‘)˜B“-ˆà�}‰}×#Ñ#¨8¸¿¹ÈGÐ#ÓTÐTr*   c              ƒ   ó˜   K  — t        j                  i «      }| j                  j                  d| j                  |¬«      ƒ d{  –—† S 7 Œ­w)r5   ra   rb   N)r   re   r.   r6   r_   rf   s     r)   r6   zMediaContext.delete_async¥   sF   è ø€ ô —)‘)˜B“-ˆà—]‘]×/Ñ/Ø §¡°Gð 0ó 
÷ 
ð 	
ð 
ús   ‚AA
ÁAÁA
c                 ó  — t        j                  i «      }d|d<   | j                  j                  d| j                  |¬«      }t        | j                  || j                  d   | j                  d   | j                  d   ¬«      S )	r9   úapplication/jsonÚAcceptÚGETrb   r   r   r   r    )r   re   r.   r:   r_   r   r%   ©r'   rd   r   s      r)   r:   zMediaContext.fetch³   su   € ô —)‘)˜B“-ˆà.ˆ�Ñà—-‘-×%Ñ%¨U¸¿	¹	È7Ð%ÓSˆäØ�M‰MØØŸ™ }Ñ5ØŸ™ }Ñ5Ø—‘˜uÑ%ô
ð 	
r*   c              ƒ   ó$  K  — t        j                  i «      }d|d<   | j                  j                  d| j                  |¬«      ƒ d{  –—† }t        | j                  || j                  d   | j                  d   | j                  d   ¬	«      S 7 ŒE­w)
r<   ri   rj   rk   rb   Nr   r   r   r    )r   re   r.   r=   r_   r   r%   rl   s      r)   r=   zMediaContext.fetch_asyncÉ   sŠ   è ø€ ô —)‘)˜B“-ˆà.ˆ�ÑàŸ™×1Ñ1Ø˜dŸi™i°ð 2ó 
÷ 
ˆô Ø�M‰MØØŸ™ }Ñ5ØŸ™ }Ñ5Ø—‘˜uÑ%ô
ð 	
ð	
ús   ‚ABÁBÁ	ABc                 ó„   — dj                  d„ | j                  j                  «       D «       «      }dj                  |«      S )r?   r@   c              3   óF   K  — | ]  \  }}d j                  ||«      –— Œ y­wrB   rC   rE   s      r)   rI   z(MediaContext.__repr__.<locals>.<genexpr>ç   rJ   rK   z"<Twilio.Api.V2010.MediaContext {}>rL   rO   s     r)   rQ   zMediaContext.__repr__á   s6   € ð —(‘(ÑS¸D¿N¹N×<PÑ<PÓ<RÔSÓSˆØ3×:Ñ:¸7ÓCÐCr*   )rR   rS   rT   r   rV   r"   rX   r3   r6   r   r:   r=   rQ   rY   rZ   s   @r)   r-   r-   €   se   ø„ ð
 ð 
°cð 
Èð 
ÐRUõ 
ð.
U˜ó 
Uð
 Dó 
ð
�}ó 
ð,
 =ó 
ð0D˜#÷ Dr*   r-   c                   ó2   — e Zd Zdeeef   defd„Zdefd„Zy)Ú	MediaPager   r+   c                 óh   — t        | j                  || j                  d   | j                  d   ¬«      S )zk
        Build an instance of MediaInstance

        :param payload: Payload response from the API
        r   r   ©r   r   )r   r.   r%   )r'   r   s     r)   Úget_instancezMediaPage.get_instanceí   s3   € ô Ø�M‰MØØŸ™ }Ñ5ØŸ™ }Ñ5ô	
ð 	
r*   c                  ó   — y)r?   z<Twilio.Api.V2010.MediaPage>r]   r/   s    r)   rQ   zMediaPage.__repr__ú   ó   € ð .r*   N)	rR   rS   rT   r   rV   r   r   rt   rQ   r]   r*   r)   rq   rq   ë   s)   „ ð
 D¨¨c¨¡Nð 
°}ó 
ð.˜#ô .r*   rq   c                   ó¤  ‡ — e Zd Zdededefˆ fd„Zej                  ej                  ej                  ddfdee	e
f   dee	e
f   dee	e
f   d	ee   d
ee   dee   fd„Zej                  ej                  ej                  ddfdee	e
f   dee	e
f   dee	e
f   d	ee   d
ee   dee   fd„Zej                  ej                  ej                  ddfdee	e
f   dee	e
f   dee	e
f   d	ee   d
ee   dee   fd„Zej                  ej                  ej                  ddfdee	e
f   dee	e
f   dee	e
f   d	ee   d
ee   dee   fd„Zej                  ej                  ej                  ej                  ej                  ej                  f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ee
f   defd„Zej                  ej                  ej                  ej                  ej                  ej                  f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ee
f   defd„Zdedefd„Zdedefd„Zdedefd„Zdedefd„Zdefd„Zˆ xZS )Ú	MediaListr   r   r   c                 óz   •— t         ‰| �  |«       ||dœ| _         dj                  di | j                  ¤Ž| _        y)a_  
        Initialize the MediaList

        :param version: Version that contains the resource
        :param account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that is associated with the Media resources.
        :param message_sid: The SID of the Message resource that is associated with the Media resources.

        rs   z9/Accounts/{account_sid}/Messages/{message_sid}/Media.jsonNr]   r^   )r'   r   r   r   r(   s       €r)   r"   zMediaList.__init__  sG   ø€ ô 	‰Ñ˜Ô!ð 'Ø&ñ
ˆŒð WÐO×VÑVñ 
Ø�n‰nñ
ˆ�	r*   Nr   Údate_created_beforeÚdate_created_afterÚlimitÚ	page_sizer+   c                 ó¨   — | j                   j                  ||«      }| j                  ||||d   ¬«      }| j                   j                  ||d   «      S )a™  
        Streams MediaInstance records from the API as a generator stream.
        This operation lazily loads records as efficiently as possible until the limit
        is reached.
        The results are returned as a generator, so this operation is memory efficient.

        :param datetime date_created: Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date.
        :param datetime date_created_before: Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date.
        :param datetime date_created_after: Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date.
        :param limit: Upper limit for the number of records to return. stream()
                      guarantees to never return more than limit.  Default is no limit
        :param page_size: Number of records to fetch per request, when not set will use
                          the default value of 50 records.  If no page_size is defined
                          but a limit is defined, stream() will attempt to read the
                          limit with the most efficient page size, i.e. min(limit, 1000)

        :returns: Generator that will yield up to limit results
        r}   ©r   rz   r{   r}   r|   )r.   Úread_limitsÚpageÚstream©r'   r   rz   r{   r|   r}   Úlimitsr�   s           r)   r‚   zMediaList.stream  s[   € ð4 —‘×*Ñ*¨5°)Ó<ˆØ�y‰yØ%Ø 3Ø1Ø˜[Ñ)ð	 ó 
ˆð �}‰}×#Ñ# D¨&°©/Ó:Ð:r*   c              ƒ   óÄ   K  — | j                   j                  ||«      }| j                  ||||d   ¬«      ƒ d{  –—† }| j                   j                  ||d   «      S 7 Œ#­w)a¨  
        Asynchronously streams MediaInstance records from the API as a generator stream.
        This operation lazily loads records as efficiently as possible until the limit
        is reached.
        The results are returned as a generator, so this operation is memory efficient.

        :param datetime date_created: Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date.
        :param datetime date_created_before: Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date.
        :param datetime date_created_after: Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date.
        :param limit: Upper limit for the number of records to return. stream()
                      guarantees to never return more than limit.  Default is no limit
        :param page_size: Number of records to fetch per request, when not set will use
                          the default value of 50 records.  If no page_size is defined
                          but a limit is defined, stream() will attempt to read the
                          limit with the most efficient page size, i.e. min(limit, 1000)

        :returns: Generator that will yield up to limit results
        r}   r   Nr|   )r.   r€   Ú
page_asyncÚstream_asyncrƒ   s           r)   r‡   zMediaList.stream_async=  si   è ø€ ð4 —‘×*Ñ*¨5°)Ó<ˆØ—_‘_Ø%Ø 3Ø1Ø˜[Ñ)ð	 %ó 
÷ 
ˆð �}‰}×)Ñ)¨$°°w±Ó@Ð@ð
ús   ‚8A ºA»$A c           	      ó@   — t        | j                  |||||¬«      «      S )a6  
        Lists MediaInstance records from the API as a list.
        Unlike stream(), this operation is eager and will load `limit` records into
        memory before returning.

        :param datetime date_created: Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date.
        :param datetime date_created_before: Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date.
        :param datetime date_created_after: Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date.
        :param limit: Upper limit for the number of records to return. list() guarantees
                      never to return more than limit.  Default is no limit
        :param page_size: Number of records to fetch per request, when not set will use
                          the default value of 50 records.  If no page_size is defined
                          but a limit is defined, list() will attempt to read the limit
                          with the most efficient page size, i.e. min(limit, 1000)

        :returns: list that will contain up to limit results
        ©r   rz   r{   r|   r}   )Úlistr‚   )r'   r   rz   r{   r|   r}   s         r)   rŠ   zMediaList.lista  s1   € ô2 Ø�K‰KØ)Ø$7Ø#5ØØ#ð ó ó
ð 	
r*   c              ƒ   ó€   K  — | j                  |||||¬«      ƒ d{  –—† 2 �cg c3 d{  –—† }|‘Œ7 Œ7 Œ	6 c}S c c}w ­w)aE  
        Asynchronously lists MediaInstance records from the API as a list.
        Unlike stream(), this operation is eager and will load `limit` records into
        memory before returning.

        :param datetime date_created: Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date.
        :param datetime date_created_before: Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date.
        :param datetime date_created_after: Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date.
        :param limit: Upper limit for the number of records to return. list() guarantees
                      never to return more than limit.  Default is no limit
        :param page_size: Number of records to fetch per request, when not set will use
                          the default value of 50 records.  If no page_size is defined
                          but a limit is defined, list() will attempt to read the limit
                          with the most efficient page size, i.e. min(limit, 1000)

        :returns: list that will contain up to limit results
        r‰   N)r‡   )r'   r   rz   r{   r|   r}   Úrecords          r)   Ú
list_asynczMediaList.list_async„  s]   è ø€ ð6 '+×&7Ñ&7Ø)Ø$7Ø#5ØØ#ð '8ó '÷ !÷	
ô 	
àò ð!øð	
øò 	
ð 		
ùò 	
ùs0   ‚>œ1�>£9¥5©3
ª5­9±>³5µ9¶>Ú
page_tokenÚpage_numberc           	      óx  — t        j                  t        j                  |«      t        j                  |«      t        j                  |«      |||dœ«      }t        j                  ddi«      }d|d<   | j                  j                  d| j                  ||¬«      }	t        | j                  |	| j                  «      S )a’  
        Retrieve a single page of MediaInstance records from the API.
        Request is executed immediately

        :param date_created: Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date.
        :param date_created_before: Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date.
        :param date_created_after: Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date.
        :param page_token: PageToken provided by the API
        :param page_number: Page Number, this value is simply for client state
        :param page_size: Number of records to return, defaults to 50

        :returns: Page of MediaInstance
        ©ÚDateCreatedzDateCreated<zDateCreated>Ú	PageTokenr   ÚPageSizeúContent-Typeú!application/x-www-form-urlencodedri   rj   rk   ©rc   r   Úparamsrd   )	r   re   r   Úiso8601_datetimer.   r�   r_   rq   r%   ©
r'   r   rz   r{   rŽ   r�   r}   Údatard   Úresponses
             r)   r�   zMediaList.page¨  s«   € ô, �y‰yä(×9Ñ9¸,ÓGÜ )× :Ñ :Ð;NÓ OÜ )× :Ñ :Ð;MÓ NØ'Ø#Ø%ñó	
ˆô —)‘)˜^Ð-PÐQÓRˆà.ˆ�Ñà—=‘=×%Ñ%Ø˜dŸi™i°¸gð &ó 
ˆô ˜Ÿ™¨°$·.±.ÓAÐAr*   c           	   ƒ   ó”  K  — t        j                  t        j                  |«      t        j                  |«      t        j                  |«      |||dœ«      }t        j                  ddi«      }d|d<   | j                  j                  d| j                  ||¬«      ƒ d{  –—† }	t        | j                  |	| j                  «      S 7 Œ%­w)	a¡  
        Asynchronously retrieve a single page of MediaInstance records from the API.
        Request is executed immediately

        :param date_created: Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date.
        :param date_created_before: Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date.
        :param date_created_after: Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date.
        :param page_token: PageToken provided by the API
        :param page_number: Page Number, this value is simply for client state
        :param page_size: Number of records to return, defaults to 50

        :returns: Page of MediaInstance
        r‘   r•   r–   ri   rj   rk   r—   N)	r   re   r   r™   r.   r†   r_   rq   r%   rš   s
             r)   r†   zMediaList.page_asyncÒ  s¹   è ø€ ô, �y‰yä(×9Ñ9¸,ÓGÜ )× :Ñ :Ð;NÓ OÜ )× :Ñ :Ð;MÓ NØ'Ø#Ø%ñó	
ˆô —)‘)˜^Ð-PÐQÓRˆà.ˆ�ÑàŸ™×1Ñ1Ø˜dŸi™i°¸gð 2ó 
÷ 
ˆô ˜Ÿ™¨°$·.±.ÓAÐAð
ús   ‚BCÂ CÂ!&CÚ
target_urlc                 ó¤   — | j                   j                  j                  j                  d|«      }t	        | j                   || j
                  «      S )zï
        Retrieve a specific page of MediaInstance records from the API.
        Request is executed immediately

        :param target_url: API-generated URL for the requested results page

        :returns: Page of MediaInstance
        rk   )r.   ÚdomainÚtwilioÚrequestrq   r%   ©r'   rž   rœ   s      r)   Úget_pagezMediaList.get_pageü  s=   € ð —=‘=×'Ñ'×.Ñ.×6Ñ6°u¸jÓIˆÜ˜Ÿ™¨°$·.±.ÓAÐAr*   c              ƒ   óÀ   K  — | j                   j                  j                  j                  d|«      ƒ d{  –—† }t	        | j                   || j
                  «      S 7 Œ%­w)zþ
        Asynchronously retrieve a specific page of MediaInstance records from the API.
        Request is executed immediately

        :param target_url: API-generated URL for the requested results page

        :returns: Page of MediaInstance
        rk   N)r.   r    r¡   Úrequest_asyncrq   r%   r£   s      r)   Úget_page_asynczMediaList.get_page_async  sJ   è ø€ ð Ÿ™×-Ñ-×4Ñ4×BÑBÀ5È*ÓU×UˆÜ˜Ÿ™¨°$·.±.ÓAÐAð Vús   ‚4A¶A·&Ar   c                 óh   — t        | j                  | j                  d   | j                  d   |¬«      S ©z‘
        Constructs a MediaContext

        :param sid: The Twilio-provided string that uniquely identifies the Media resource to fetch.
        r   r   r    ©r-   r.   r%   ©r'   r   s     r)   r#   zMediaList.get  ó3   € ô Ø�M‰MØŸ™ }Ñ5ØŸ™ }Ñ5Øô	
ð 	
r*   c                 óh   — t        | j                  | j                  d   | j                  d   |¬«      S r©   rª   r«   s     r)   Ú__call__zMediaList.__call__!  r¬   r*   c                  ó   — y)r?   z<Twilio.Api.V2010.MediaList>r]   r/   s    r)   rQ   zMediaList.__repr__.  rv   r*   )rR   rS   rT   r   rV   r"   r   Úunsetr   r   Úobjectr   Úintr	   r   r‚   r
   r‡   r   rŠ   r�   rq   r�   r†   r¤   r§   r-   r#   r®   rQ   rY   rZ   s   @r)   rx   rx     s  ø„ ð
 ð 
°cð 
Èõ 
ð, 17·±Ø7=·|±|Ø6<·l±lØ#Ø#'ñ";à˜H fÐ,Ñ-ð";ð # 8¨VÐ#3Ñ4ð";ð " (¨FÐ"2Ñ3ð	";ð
 ˜‰}ð";ð ˜C‘=ð";ð 
�-Ñ	 ó";ðL 17·±Ø7=·|±|Ø6<·l±lØ#Ø#'ñ"Aà˜H fÐ,Ñ-ð"Að # 8¨VÐ#3Ñ4ð"Að " (¨FÐ"2Ñ3ð	"Að
 ˜‰}ð"Að ˜C‘=ð"Að 
�}Ñ	%ó"AðL 17·±Ø7=·|±|Ø6<·l±lØ#Ø#'ñ!
à˜H fÐ,Ñ-ð!
ð # 8¨VÐ#3Ñ4ð!
ð " (¨FÐ"2Ñ3ð	!
ð
 ˜‰}ð!
ð ˜C‘=ð!
ð 
ˆmÑ	ó!
ðJ 17·±Ø7=·|±|Ø6<·l±lØ#Ø#'ñ"
à˜H fÐ,Ñ-ð"
ð # 8¨VÐ#3Ñ4ð"
ð " (¨FÐ"2Ñ3ð	"
ð
 ˜‰}ð"
ð ˜C‘=ð"
ð 
ˆmÑ	ó"
ðL 17·±Ø7=·|±|Ø6<·l±lØ)/¯©Ø*0¯,©,Ø(.¯©ñ(Bà˜H fÐ,Ñ-ð(Bð # 8¨VÐ#3Ñ4ð(Bð " (¨FÐ"2Ñ3ð	(Bð
 ˜#˜v˜+Ñ&ð(Bð ˜3 ˜;Ñ'ð(Bð ˜˜f˜Ñ%ð(Bð 
ó(BðX 17·±Ø7=·|±|Ø6<·l±lØ)/¯©Ø*0¯,©,Ø(.¯©ñ(Bà˜H fÐ,Ñ-ð(Bð # 8¨VÐ#3Ñ4ð(Bð " (¨FÐ"2Ñ3ð	(Bð
 ˜#˜v˜+Ñ&ð(Bð ˜3 ˜;Ñ'ð(Bð ˜˜f˜Ñ%ð(Bð 
ó(BðT
B 3ð 
B¨9ó 
Bð
B¨sð 
B°yó 
Bð
�sð 
˜|ó 
ð
˜Cð 
 Ló 
ð.˜#÷ .r*   rx   N)rU   r   Útypingr   r   r   r   r   r	   r
   Útwilio.baser   r   r   Útwilio.base.instance_contextr   Útwilio.base.instance_resourcer   Útwilio.base.list_resourcer   Útwilio.base.versionr   Útwilio.base.pager   r   r-   rq   rx   r]   r*   r)   ú<module>rº      sj   ðñõ ß L× LÑ Lß 6Ñ 6Ý 8Ý :Ý 2Ý 'Ý !ôdEÐ$ô dEôNhD�?ô hDôV.�ô .ô0q.�õ q.r*   