a
    !f                     @   sX   d Z ddlmZ ddlmZ ddlmZ ddlmZ G dd deZ	G dd	 d	eZ
d
S )a  
    This code was generated by
   ___ _ _ _ _ _    _ ____    ____ ____ _    ____ ____ _  _ ____ ____ ____ ___ __   __
    |  | | | | |    | |  | __ |  | |__| | __ | __ |___ |\ | |___ |__/ |__|  | |  | |__/
    |  |_|_| | |___ | |__|    |__| |  | |    |__] |___ | \| |___ |  \ |  |  | |__| |  \

    Twilio - Voice
    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.
    )date)InstanceContext)ListResource)Versionc                       sP   e Zd Zeeed fddZedddZedddZ	edd	d
Z
  ZS )ArchivedCallContext)versionr   sidc                    s0   t  | ||d| _djf i | j| _dS )a  
        Initialize the ArchivedCallContext

        :param version: Version that contains the resource
        :param date: The date of the Call in UTC.
        :param sid: The Twilio-provided Call SID that uniquely identifies the Call resource to delete
        r   r   z/Archives/{date}/Calls/{sid}N)super__init__	_solutionformat_uri)selfr   r   r   	__class__ c/var/www/html/python-backend/venv/lib/python3.9/site-packages/twilio/rest/voice/v1/archived_call.pyr      s
    zArchivedCallContext.__init__returnc                 C   s   | j jd| jdS )zo
        Deletes the ArchivedCallInstance


        :returns: True if delete succeeds, False otherwise
        DELETEmethoduri)_versiondeleter   r   r   r   r   r   )   s    zArchivedCallContext.deletec                    s   | j jd| jdI dH S )z
        Asynchronous coroutine that deletes the ArchivedCallInstance


        :returns: True if delete succeeds, False otherwise
        r   r   N)r   delete_asyncr   r   r   r   r   r   5   s    z ArchivedCallContext.delete_asyncc                 C   s$   d dd | j D }d|S )f
        Provide a friendly representation

        :returns: Machine friendly representation
         c                 s   s   | ]\}}d  ||V  qdS )z{}={}N)r   ).0kvr   r   r   	<genexpr>G       z/ArchivedCallContext.__repr__.<locals>.<genexpr>z(<Twilio.Voice.V1.ArchivedCallContext {}>)joinr   itemsr   )r   contextr   r   r   __repr__A   s    zArchivedCallContext.__repr__)__name__
__module____qualname__r   r   strr   boolr   r   r(   __classcell__r   r   r   r   r      s   r   c                       sT   e Zd Zed fddZeeedddZeeedddZ	ed	d
dZ
  ZS )ArchivedCallList)r   c                    s   t  | dS )zn
        Initialize the ArchivedCallList

        :param version: Version that contains the resource

        N)r
   r   )r   r   r   r   r   r   L   s    zArchivedCallList.__init__)r   r   r   c                 C   s   t | j||dS z
        Constructs a ArchivedCallContext

        :param date: The date of the Call in UTC.
        :param sid: The Twilio-provided Call SID that uniquely identifies the Call resource to delete
        r	   r   r   r   r   r   r   r   r   getU   s    zArchivedCallList.getc                 C   s   t | j||dS r0   r1   r2   r   r   r   __call__^   s    zArchivedCallList.__call__r   c                 C   s   dS )r   z"<Twilio.Voice.V1.ArchivedCallList>r   r   r   r   r   r(   g   s    zArchivedCallList.__repr__)r)   r*   r+   r   r   r   r,   r   r3   r4   r(   r.   r   r   r   r   r/   K   s   			r/   N)__doc__datetimer   Ztwilio.base.instance_contextr   Ztwilio.base.list_resourcer   Ztwilio.base.versionr   r   r/   r   r   r   r   <module>   s   4