
    g                     |    S r SSKJrJrJrJr  SSKJr  SSKJ	r	  SSK
Jr  SSKJr   " S S\	5      r " S	 S
\5      rg)a  
 This code was generated by
___ _ _ _ _ _    _ ____    ____ ____ _    ____ ____ _  _ ____ ____ ____ ___ __   __
 |  | | | | |    | |  | __ |  | |__| | __ | __ |___ |\ | |___ |__/ |__|  | |  | |__/
 |  |_|_| | |___ | |__|    |__| |  | |    |__] |___ | \| |___ |  \ |  |  | |__| |  \

 Twilio - Flex
 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)values)InstanceResource)ListResource)Versionc                   P   ^  \ rS rSrSrS\S\\\4   4U 4S jjr	S\4S jr
SrU =r$ )	WebChannelsInstance   a  
:ivar conversation_sid: The unique string representing the [Conversation resource](https://www.twilio.com/docs/conversations/api/conversation-resource) created.
:ivar identity: The unique string representing the User created and should be authorized to participate in the Conversation. For more details, see [User Identity & Access Tokens](https://www.twilio.com/docs/conversations/identity).
versionpayloadc                 |   > [         TU ]  U5        UR                  S5      U l        UR                  S5      U l        g )Nconversation_sididentity)super__init__getr   r   )selfr   r   	__class__s      l/Users/Alptekin/Desktop/izin_takip/venv/lib/python3.13/site-packages/twilio/rest/flex_api/v2/web_channels.pyr   WebChannelsInstance.__init__   s2    !/6{{;M/N'.{{:'>    returnc                     g)N
Provide a friendly representation

:returns: Machine friendly representation
z'<Twilio.FlexApi.V2.WebChannelsInstance> r   s    r   __repr__WebChannelsInstance.__repr__#   s     9r   )r   r   )__name__
__module____qualname____firstlineno____doc__r
   r   strr   r   r    __static_attributes____classcell__r   s   @r   r   r      s4    
? ?$sCx. ?9# 9 9r   r   c                     ^  \ rS rSrS\4U 4S jjr\R                  \R                  \R                  \R                  4S\S\	\\
4   S\	\\
4   S\	\\
4   S\	\\
4   S	\4S
 jjr\R                  \R                  \R                  \R                  4S\S\	\\
4   S\	\\
4   S\	\\
4   S\	\\
4   S	\4S jjrS	\4S jrSrU =r$ )WebChannelsList-   r   c                 2   > [         TU ]  U5        SU l        g)zU
Initialize the WebChannelsList

:param version: Version that contains the resource

z	/WebChatsN)r   r   _uri)r   r   r   s     r   r   WebChannelsList.__init__/   s     	!	r   address_sid
ui_versionchat_friendly_namecustomer_friendly_namepre_engagement_datar   c                     [         R                  " UUUUS.5      n[         R                  " USS.5      nSUS'   SUS'   U R                  R                  SU R                  XgS9n[        U R                  U5      $ )	a  
Create the WebChannelsInstance

:param address_sid: The SID of the Conversations Address. See [Address Configuration Resource](https://www.twilio.com/docs/conversations/api/address-configuration-resource) for configuration details. When a conversation is created on the Flex backend, the callback URL will be set to the corresponding Studio Flow SID or webhook URL in your address configuration.
:param ui_version: The Ui-Version HTTP request header
:param chat_friendly_name: The Conversation's friendly name. See the [Conversation resource](https://www.twilio.com/docs/conversations/api/conversation-resource) for an example.
:param customer_friendly_name: The Conversation participant's friendly name. See the [Conversation Participant Resource](https://www.twilio.com/docs/conversations/api/conversation-participant-resource) for an example.
:param pre_engagement_data: The pre-engagement data.

:returns: The created WebChannelsInstance

AddressSidChatFriendlyNameCustomerFriendlyNamePreEngagementData!application/x-www-form-urlencodedz
Ui-VersionContent-Typer>   application/jsonAcceptPOSTmethoduridataheaders)r   of_versioncreater/   r   	r   r1   r2   r3   r4   r5   rE   rF   r   s	            r   rI   WebChannelsList.create:   s    ( yy)$6(>%8	
 ))( C
 #F.--&&tyyt ' 
 #4=='::r   c                   #    [         R                  " UUUUS.5      n[         R                  " USS.5      nSUS'   SUS'   U R                  R                  SU R                  XgS9I S	h  vN n[        U R                  U5      $  N7f)
a  
Asynchronously create the WebChannelsInstance

:param address_sid: The SID of the Conversations Address. See [Address Configuration Resource](https://www.twilio.com/docs/conversations/api/address-configuration-resource) for configuration details. When a conversation is created on the Flex backend, the callback URL will be set to the corresponding Studio Flow SID or webhook URL in your address configuration.
:param ui_version: The Ui-Version HTTP request header
:param chat_friendly_name: The Conversation's friendly name. See the [Conversation resource](https://www.twilio.com/docs/conversations/api/conversation-resource) for an example.
:param customer_friendly_name: The Conversation participant's friendly name. See the [Conversation Participant Resource](https://www.twilio.com/docs/conversations/api/conversation-participant-resource) for an example.
:param pre_engagement_data: The pre-engagement data.

:returns: The created WebChannelsInstance
r7   r<   r=   r>   r?   r@   rA   rB   N)r   rG   rH   create_asyncr/   r   rJ   s	            r   rM   WebChannelsList.create_asyncg   s     ( yy)$6(>%8	
 ))( C
 #F.22tyyt 3 
 
 #4=='::	
s   A'B)B*Bc                     g)r   z#<Twilio.FlexApi.V2.WebChannelsList>r   r   s    r   r    WebChannelsList.__repr__   s     5r   )r/   )r"   r#   r$   r%   r
   r   r   unsetr'   r   objectr   rI   rM   r    r(   r)   r*   s   @r   r,   r,   -   s$   	  	  *0175;\\28,,+;+; #v+&+; "#v+.	+;
 !&c6k 2+; #3;/+; 
+;` *0175;\\28,,+;+; #v+&+; "#v+.	+;
 !&c6k 2+; #3;/+; 
+;Z5# 5 5r   r,   N)r&   typingr   r   r   r   twilio.baser   twilio.base.instance_resourcer   twilio.base.list_resourcer	   twilio.base.versionr
   r   r,   r   r   r   <module>rX      s9    . -  : 2 '9* 9,m5l m5r   