
    i?1if                         d Z ddlmZ ddl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  G d d	e
      Z G d
 de      Zy)a  
    This code was generated by
   ___ _ _ _ _ _    _ ____    ____ ____ _    ____ ____ _  _ ____ ____ ____ ___ __   __
    |  | | | | |    | |  | __ |  | |__| | __ | __ |___ |\ | |___ |__/ |__|  | |  | |__/
    |  |_|_| | |___ | |__|    |__| |  | |    |__] |___ | \| |___ |  \ |  |  | |__| |  \

    Twilio - Autopilot
    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Optional)deserializevalues)InstanceResource)ListResource)Versionc                   B     e Zd ZdZdedeeef   f fdZdefdZ	 xZ
S )RestoreAssistantInstancea%  
    :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Assistant resource.
    :ivar sid: The unique string that we created to identify the Assistant resource.
    :ivar date_created: The date and time in GMT when the 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 the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
    :ivar unique_name: An application-defined string that uniquely identifies the resource. It can be used in place of the resource's `sid` in the URL to address the resource.
    :ivar friendly_name: The string that you assigned to describe the resource. It is not unique and can be up to 255 characters long.
    :ivar needs_model_build: Whether model needs to be rebuilt.
    :ivar latest_model_build_sid: Reserved.
    :ivar log_queries: Whether queries should be logged and kept after training. Can be: `true` or `false` and defaults to `true`. If `true`, queries are stored for 30 days, and then deleted. If `false`, no queries are stored.
    :ivar development_stage: A string describing the state of the assistant.
    :ivar callback_url: Reserved.
    :ivar callback_events: Reserved.
    versionpayloadc                    t         |   |       |j                  d      | _        |j                  d      | _        t        j                  |j                  d            | _        t        j                  |j                  d            | _        |j                  d      | _	        |j                  d      | _
        |j                  d      | _        |j                  d      | _        |j                  d	      | _        |j                  d
      | _        |j                  d      | _        |j                  d      | _        y )Naccount_sidsiddate_createddate_updatedunique_namefriendly_nameneeds_model_buildlatest_model_build_sidlog_queriesdevelopment_stagecallback_urlcallback_events)super__init__getr   r   r   iso8601_datetimer   r   r   r   r   r   r   r   r   r   )selfr   r   	__class__s      t/home/www/therecruiter.miabetepe.com/venv/lib/python3.12/site-packages/twilio/rest/autopilot/v1/restore_assistant.pyr   z!RestoreAssistantInstance.__init__*   s   !*1++m*D")++e"40;0L0LKK'1
 1<0L0LKK'1
 +2++m*D,3KK,H18=P1Q5<[[$6
# ,3;;}+E07<O0P+2;;~+F.5kk:K.L    returnc                      y)f
        Provide a friendly representation

        :returns: Machine friendly representation
        z.<Twilio.Autopilot.V1.RestoreAssistantInstance> r!   s    r#   __repr__z!RestoreAssistantInstance.__repr__@   s     @r$   )__name__
__module____qualname____doc__r   r   strr   r   r*   __classcell__r"   s   @r#   r   r      s4    M M$sCx. M,@# @r$   r   c                   P     e Zd Zdef 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 )RestoreAssistantListr   c                 2    t         |   |       d| _        y)zr
        Initialize the RestoreAssistantList

        :param version: Version that contains the resource

        z/Assistants/RestoreN)r   r   _uri)r!   r   r"   s     r#   r   zRestoreAssistantList.__init__K   s     	!)	r$   	assistantr%   c                     t        j                  d|i      }| j                  j                  d| j                  |      }t        | j                  |      S )z
        Update the RestoreAssistantInstance

        :param assistant: The Twilio-provided string that uniquely identifies the Assistant resource to restore.

        :returns: The created RestoreAssistantInstance
        	AssistantPOSTmethoduridata)r   of_versionupdater5   r   r!   r6   r=   r   s       r#   r@   zRestoreAssistantList.updateV   sW     yyY
 --&&		 ' 
 (w??r$   c                    K   t        j                  d|i      }| j                  j                  d| j                  |       d{   }t        | j                  |      S 7 w)z
        Asynchronously update the RestoreAssistantInstance

        :param assistant: The Twilio-provided string that uniquely identifies the Assistant resource to restore.

        :returns: The created RestoreAssistantInstance
        r8   r9   r:   N)r   r>   r?   update_asyncr5   r   rA   s       r#   rC   z!RestoreAssistantList.update_asyncl   se      yyY
 22		 3 
 
 (w??
s   AA"A A"c                      y)r'   z*<Twilio.Autopilot.V1.RestoreAssistantList>r(   r)   s    r#   r*   zRestoreAssistantList.__repr__   s     <r$   )r+   r,   r-   r   r   r/   r   r@   rC   r*   r0   r1   s   @r#   r3   r3   J   sI    	* 	*@ @(@ @,@C @4L @,<# <r$   r3   N)r.   r   typingr   r   r   twilio.baser   r   twilio.base.instance_resourcer	   twilio.base.list_resourcer
   twilio.base.versionr   r   r3   r(   r$   r#   <module>rJ      s=     & & + : 2 '.@/ .@b><< ><r$   