
    i?1i                     d    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e      Z	 G d d	e      Z
y
)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                   P     e Zd Z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
 xZS )	ArchivedCallContextversionr   sidc                 z    t         |   |       ||d| _         dj                  di | j                  | _        y)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__s       l/home/www/therecruiter.miabetepe.com/venv/lib/python3.12/site-packages/twilio/rest/voice/v1/archived_call.pyr   zArchivedCallContext.__init__   sA     	! 
 :299KDNNK	    returnc                 P    | j                   j                  d| j                        S )zo
        Deletes the ArchivedCallInstance


        :returns: True if delete succeeds, False otherwise
        DELETEmethoduri)_versiondeleter   r   s    r   r   zArchivedCallContext.delete)   s*     }}##		 $ 
 	
r   c                 l   K   | j                   j                  d| j                         d{   S 7 w)z
        Asynchronous coroutine that deletes the ArchivedCallInstance


        :returns: True if delete succeeds, False otherwise
        r   r   N)r   delete_asyncr   r   s    r   r!   z ArchivedCallContext.delete_async5   s8      ]]//		 0 
 
 	
 
s   +424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)r   ).0kvs      r   	<genexpr>z/ArchivedCallContext.__repr__.<locals>.<genexpr>G   s     SDAq7>>!Q/Ss   !z(<Twilio.Voice.V1.ArchivedCallContext {}>)joinr   itemsr   )r   contexts     r   __repr__zArchivedCallContext.__repr__A   s6     ((SDNN<P<P<RSS9@@IIr   )__name__
__module____qualname__r   r   strr   boolr   r!   r-   __classcell__r   s   @r   r   r      sG    L Lt L# L"

 



D 

J# Jr   r   c                   X     e Zd Zdef fdZdededefdZdededefdZ	defdZ
 xZS )	ArchivedCallListr	   c                 $    t         |   |       y)zn
        Initialize the ArchivedCallList

        :param version: Version that contains the resource

        N)r   r   )r   r	   r   s     r   r   zArchivedCallList.__init__L   s     	!r   r   r
   r   c                 2    t        | j                  ||      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
   s      r   getzArchivedCallList.getU        #4==tEEr   c                 2    t        | j                  ||      S r9   r:   r;   s      r   __call__zArchivedCallList.__call__^   r=   r   c                      y)r#   z"<Twilio.Voice.V1.ArchivedCallList>r   r   s    r   r-   zArchivedCallList.__repr__g   s     4r   )r.   r/   r0   r   r   r   r1   r   r<   r?   r-   r3   r4   s   @r   r6   r6   K   sY    " "F F3 F+> FFT F F0C F4# 4r   r6   N)__doc__datetimer   twilio.base.instance_contextr   twilio.base.list_resourcer   twilio.base.versionr   r   r6   r   r   r   <module>rF      s3     8 2 '1J/ 1Jh"4| "4r   