
    i?1i4                         d Z ddlmZ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 - Studio
    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)InstanceResource)ListResource)Versionc                   V     e Zd Z G d de      Z	 dedeeef   f fdZ	defdZ
 xZS )FlowValidateInstancec                       e Zd ZdZdZy)FlowValidateInstance.Statusdraft	publishedN)__name__
__module____qualname__DRAFT	PUBLISHED     m/home/www/therecruiter.miabetepe.com/venv/lib/python3.12/site-packages/twilio/rest/studio/v2/flow_validate.pyStatusr      s    	r   r   versionpayloadc                 P    t         |   |       |j                  d      | _        y )Nvalid)super__init__getr   )selfr   r   	__class__s      r   r    zFlowValidateInstance.__init__!   s     !%,[[%9
r   returnc                      y)f
        Provide a friendly representation

        :returns: Machine friendly representation
        z'<Twilio.Studio.V2.FlowValidateInstance>r   r"   s    r   __repr__zFlowValidateInstance.__repr__&   s     9r   )r   r   r   objectr   r   r   strr   r    r(   __classcell__r#   s   @r   r   r      s;       : :$sCx. :
9# 9r   r   c                        e Zd Zdef fdZej                  fdedddede	eef   de
f
d	Zej                  fdedddede	eef   de
f
d
ZdefdZ xZS )FlowValidateListr   c                 2    t         |   |       d| _        y)zn
        Initialize the FlowValidateList

        :param version: Version that contains the resource

        z/Flows/ValidateN)r   r    _uri)r"   r   r#   s     r   r    zFlowValidateList.__init__1   s     	!%	r   friendly_namestatusr   
definitioncommit_messager$   c                     t        j                  ||t        j                  |      |d      }| j                  j                  d| j                  |      }t        | j                  |      S )a\  
        Update the FlowValidateInstance

        :param friendly_name: The string that you assigned to describe the Flow.
        :param status:
        :param definition: JSON representation of flow definition.
        :param commit_message: Description of change made in the revision.

        :returns: The created FlowValidateInstance
        FriendlyNamer   
DefinitionCommitMessagePOSTmethoduridata)r   ofr   r)   _versionupdater0   r   r"   r1   r2   r3   r4   r>   r   s          r   rA   zFlowValidateList.update<   si    " yy - '..z:!/	
 --&&		 ' 
 $DMM7;;r   c                    K   t        j                  ||t        j                  |      |d      }| j                  j                  d| j                  |       d{   }t        | j                  |      S 7 w)ak  
        Asynchronously update the FlowValidateInstance

        :param friendly_name: The string that you assigned to describe the Flow.
        :param status:
        :param definition: JSON representation of flow definition.
        :param commit_message: Description of change made in the revision.

        :returns: The created FlowValidateInstance
        r6   r:   r;   N)r   r?   r   r)   r@   update_asyncr0   r   rB   s          r   rD   zFlowValidateList.update_async^   sw     " yy - '..z:!/	
 22		 3 
 
 $DMM7;;
s   AA8A6A8c                      y)r&   z#<Twilio.Studio.V2.FlowValidateList>r   r'   s    r   r(   zFlowValidateList.__repr__   s     5r   )r   r   r   r   r    r   unsetr*   r)   r   r   rA   rD   r(   r+   r,   s   @r   r.   r.   0   s    	& 	&  .4\\ < < . < 	 <
 c6k* < 
 <N .4\\ < < . < 	 <
 c6k* < 
 <D5# 5r   r.   N)__doc__typingr   r   r   r   twilio.baser   r   twilio.base.instance_resourcer	   twilio.base.list_resourcer
   twilio.base.versionr   r   r.   r   r   r   <module>rM      s9    . - ) : 2 '9+ 90V5| V5r   