
    gu                         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KJr   " S S	\5      r " S
 S\	5      r " S S\5      rg)a  
 This code was generated by
___ _ _ _ _ _    _ ____    ____ ____ _    ____ ____ _  _ ____ ____ ____ ___ __   __
 |  | | | | |    | |  | __ |  | |__| | __ | __ |___ |\ | |___ |__/ |__|  | |  | |__/
 |  |_|_| | |___ | |__|    |__| |  | |    |__] |___ | \| |___ |  \ |  |  | |__| |  \

 Twilio - Intelligence
 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ListOptional)values)InstanceContext)InstanceResource)ListResource)Versionc                      ^  \ rS rSrSr SS\S\\\4   S\	\   4U 4S jjjr
\SS j5       rSS	 jrSS
 jrS\4S jrSrU =r$ )OperatorAttachmentsInstance   z
:ivar service_sid: The unique SID identifier of the Service.
:ivar operator_sids: List of Operator SIDs attached to the service. Includes both Custom and Pre-built Operators.
:ivar url: The URL of this resource.
versionpayloadservice_sidc                    > [         TU ]  U5        UR                  S5      U l        UR                  S5      U l        UR                  S5      U l        SU=(       d    U R                  0U l        S U l        g )Nr   operator_sidsurl)super__init__getr   r   r   	_solution_context)selfr   r   r   	__class__s       x/Users/Alptekin/Desktop/izin_takip/venv/lib/python3.13/site-packages/twilio/rest/intelligence/v2/operator_attachments.pyr   $OperatorAttachmentsInstance.__init__   si     	!*1++m*D29++o2N")++e"4 ;:$*:*:
 ?C    returnc                     U R                   c&  [        U R                  U R                  S   S9U l         U R                   $ )z
Generate an instance context for the instance, the context is capable of
performing various actions. All instance actions are proxied to the context

:returns: OperatorAttachmentsContext for this OperatorAttachmentsInstance
r   r   )r   OperatorAttachmentsContext_versionr   r   s    r   _proxy"OperatorAttachmentsInstance._proxy/   s9     == 6 NN=9DM }}r   c                 6    U R                   R                  5       $ )[
Fetch the OperatorAttachmentsInstance


:returns: The fetched OperatorAttachmentsInstance
)r%   fetchr$   s    r   r)   !OperatorAttachmentsInstance.fetch>   s     {{  ""r   c                 R   #    U R                   R                  5       I Sh  vN $  N7f)u
Asynchronous coroutine to fetch the OperatorAttachmentsInstance


:returns: The fetched OperatorAttachmentsInstance
N)r%   fetch_asyncr$   s    r   r-   'OperatorAttachmentsInstance.fetch_asyncG   s       [[,,....s   '%'c                     SR                  S U R                  R                  5        5       5      nSR                  U5      $ )N
Provide a friendly representation

:returns: Machine friendly representation
 c              3   H   #    U  H  u  pS R                  X5      v   M     g7fz{}={}Nformat.0kvs      r   	<genexpr>7OperatorAttachmentsInstance.__repr__.<locals>.<genexpr>V         S<RDA7>>!//<R    "z7<Twilio.Intelligence.V2.OperatorAttachmentsInstance {}>joinr   itemsr5   r   contexts     r   __repr__$OperatorAttachmentsInstance.__repr__P   s7     ((SDNN<P<P<RSSHOOPWXXr   )r   r   r   r   r   )N)r   r"   )r   r   )__name__
__module____qualname____firstlineno____doc__r   r   strr   r   r   propertyr%   r)   r-   rC   __static_attributes____classcell__r   s   @r   r   r      sv     &*	CC c3hC c]	C C"  #/Y# Y Yr   r   c                   ^   ^  \ rS rSrS\S\4U 4S jjrS\4S jrS\4S jr	S\4S jr
S	rU =r$ )
r"   Z   r   r   c                 x   > [         TU ]  U5        SU0U l        SR                  " S0 U R                  D6U l        g)z
Initialize the OperatorAttachmentsContext

:param version: Version that contains the resource
:param service_sid: The unique SID identifier of the Service.
r   z!/Services/{service_sid}/OperatorsN )r   r   r   r5   _uri)r   r   r   r   s      r   r   #OperatorAttachmentsContext.__init__\   s=     	! ;
 8>>PP	r   r   c                     [         R                  " 0 5      nSUS'   U R                  R                  SU R                  US9n[        U R                  UU R                  S   S9$ )r(   application/jsonAcceptGETmethoduriheadersr   r!   )r   ofr#   r)   rS   r   r   r   r\   r   s      r   r)    OperatorAttachmentsContext.fetchk   s]     ))B-.--%%U		7%S*MM}5
 	
r   c                    #    [         R                  " 0 5      nSUS'   U R                  R                  SU R                  US9I Sh  vN n[        U R                  UU R                  S   S9$  N&7f)r,   rV   rW   rX   rY   Nr   r!   )r   r]   r#   r-   rS   r   r   r^   s      r   r-   &OperatorAttachmentsContext.fetch_async   sq      ))B-.11dii 2 
 
 +MM}5
 	
	
s   AA/A-'A/c                     SR                  S U R                  R                  5        5       5      nSR                  U5      $ )r0   r1   c              3   H   #    U  H  u  pS R                  X5      v   M     g7fr3   r4   r6   s      r   r:   6OperatorAttachmentsContext.__repr__.<locals>.<genexpr>   r<   r=   z6<Twilio.Intelligence.V2.OperatorAttachmentsContext {}>r>   rA   s     r   rC   #OperatorAttachmentsContext.__repr__   s6     ((SDNN<P<P<RSSGNNwWWr   )r   rS   )rE   rF   rG   rH   r   rJ   r   r   r)   r-   rC   rL   rM   rN   s   @r   r"   r"   Z   sG    Q Qc Q
2 
(
#> 
,X# X Xr   r"   c                   b   ^  \ rS rSrS\4U 4S jjrS\S\4S jrS\S\4S jr	S\4S jr
S	rU =r$ )
OperatorAttachmentsList   r   c                 $   > [         TU ]  U5        g)z]
Initialize the OperatorAttachmentsList

:param version: Version that contains the resource

N)r   r   )r   r   r   s     r   r    OperatorAttachmentsList.__init__   s     	!r   r   r   c                 *    [        U R                  US9$ zh
Constructs a OperatorAttachmentsContext

:param service_sid: The unique SID identifier of the Service.
r!   r"   r#   r   r   s     r   r   OperatorAttachmentsList.get        *$--[QQr   c                 *    [        U R                  US9$ rl   rm   rn   s     r   __call__ OperatorAttachmentsList.__call__   rp   r   c                     g)r0   z0<Twilio.Intelligence.V2.OperatorAttachmentsList>rR   r$   s    r   rC    OperatorAttachmentsList.__repr__   s     Br   rR   )rE   rF   rG   rH   r   r   rJ   r"   r   rr   rC   rL   rM   rN   s   @r   rg   rg      sQ    " "Rs R'A RRC R,F RB# B Br   rg   N)rI   typingr   r   r   r   twilio.baser   twilio.base.instance_contextr   twilio.base.instance_resourcer	   twilio.base.list_resourcer
   twilio.base.versionr   r   r"   rg   rR   r   r   <module>r|      sR    - ,  8 : 2 '@Y"2 @YFBX BXJ!Bl !Br   